Skip to content

TimestreamInfluxDBClient#

Index > TimestreamInfluxDB > TimestreamInfluxDBClient

Auto-generated documentation for TimestreamInfluxDB type annotations stubs module mypy-boto3-timestream-influxdb.

TimestreamInfluxDBClient#

Type annotations and code completion for boto3.client("timestream-influxdb"). boto3 documentation

# TimestreamInfluxDBClient usage example

from boto3.session import Session
from mypy_boto3_timestream_influxdb.client import TimestreamInfluxDBClient

def get_timestream-influxdb_client() -> TimestreamInfluxDBClient:
    return Session().client("timestream-influxdb")

Exceptions#

boto3 client exceptions are generated in runtime. This class provides code completion for boto3.client("timestream-influxdb").exceptions structure.

# Exceptions.exceptions usage example

client = boto3.client("timestream-influxdb")

try:
    do_something(client)
except (
    client.exceptions.AccessDeniedException,
    client.exceptions.ClientError,
    client.exceptions.ConflictException,
    client.exceptions.InternalServerException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceQuotaExceededException,
    client.exceptions.ThrottlingException,
    client.exceptions.ValidationException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_timestream_influxdb.client import Exceptions

def handle_error(exc: Exceptions.AccessDeniedException) -> None:
    ...

Methods#

can_paginate#

Type annotations and code completion for boto3.client("timestream-influxdb").can_paginate method. boto3 documentation

# can_paginate method definition

def can_paginate(
    self,
    operation_name: str,
) -> bool:
    ...

generate_presigned_url#

Type annotations and code completion for boto3.client("timestream-influxdb").generate_presigned_url method. boto3 documentation

# generate_presigned_url method definition

def generate_presigned_url(
    self,
    ClientMethod: str,
    Params: Mapping[str, Any] = ...,
    ExpiresIn: int = 3600,
    HttpMethod: str = ...,
) -> str:
    ...

create_db_cluster#

Creates a new Timestream for InfluxDB cluster.

Type annotations and code completion for boto3.client("timestream-influxdb").create_db_cluster method. boto3 documentation

# create_db_cluster method definition

def create_db_cluster(
    self,
    *,
    name: str,
    password: str,
    dbInstanceType: DbInstanceTypeType,  # (1)
    allocatedStorage: int,
    vpcSubnetIds: Sequence[str],
    vpcSecurityGroupIds: Sequence[str],
    deploymentType: ClusterDeploymentTypeType,  # (2)
    username: str = ...,
    organization: str = ...,
    bucket: str = ...,
    port: int = ...,
    dbParameterGroupIdentifier: str = ...,
    dbStorageType: DbStorageTypeType = ...,  # (3)
    networkType: NetworkTypeType = ...,  # (4)
    publiclyAccessible: bool = ...,
    failoverMode: FailoverModeType = ...,  # (5)
    logDeliveryConfiguration: LogDeliveryConfigurationTypeDef = ...,  # (6)
    tags: Mapping[str, str] = ...,
) -> CreateDbClusterOutputTypeDef:  # (7)
    ...
  1. See DbInstanceTypeType
  2. See ClusterDeploymentTypeType
  3. See DbStorageTypeType
  4. See NetworkTypeType
  5. See FailoverModeType
  6. See LogDeliveryConfigurationTypeDef
  7. See CreateDbClusterOutputTypeDef
# create_db_cluster method usage example with argument unpacking

kwargs: CreateDbClusterInputTypeDef = {  # (1)
    "name": ...,
    "password": ...,
    "dbInstanceType": ...,
    "allocatedStorage": ...,
    "vpcSubnetIds": ...,
    "vpcSecurityGroupIds": ...,
    "deploymentType": ...,
}

parent.create_db_cluster(**kwargs)
  1. See CreateDbClusterInputTypeDef

create_db_instance#

Creates a new Timestream for InfluxDB DB instance.

Type annotations and code completion for boto3.client("timestream-influxdb").create_db_instance method. boto3 documentation

# create_db_instance method definition

def create_db_instance(
    self,
    *,
    name: str,
    password: str,
    dbInstanceType: DbInstanceTypeType,  # (1)
    vpcSubnetIds: Sequence[str],
    vpcSecurityGroupIds: Sequence[str],
    allocatedStorage: int,
    username: str = ...,
    organization: str = ...,
    bucket: str = ...,
    publiclyAccessible: bool = ...,
    dbStorageType: DbStorageTypeType = ...,  # (2)
    dbParameterGroupIdentifier: str = ...,
    deploymentType: DeploymentTypeType = ...,  # (3)
    logDeliveryConfiguration: LogDeliveryConfigurationTypeDef = ...,  # (4)
    tags: Mapping[str, str] = ...,
    port: int = ...,
    networkType: NetworkTypeType = ...,  # (5)
) -> CreateDbInstanceOutputTypeDef:  # (6)
    ...
  1. See DbInstanceTypeType
  2. See DbStorageTypeType
  3. See DeploymentTypeType
  4. See LogDeliveryConfigurationTypeDef
  5. See NetworkTypeType
  6. See CreateDbInstanceOutputTypeDef
# create_db_instance method usage example with argument unpacking

kwargs: CreateDbInstanceInputTypeDef = {  # (1)
    "name": ...,
    "password": ...,
    "dbInstanceType": ...,
    "vpcSubnetIds": ...,
    "vpcSecurityGroupIds": ...,
    "allocatedStorage": ...,
}

parent.create_db_instance(**kwargs)
  1. See CreateDbInstanceInputTypeDef

create_db_parameter_group#

Creates a new Timestream for InfluxDB DB parameter group to associate with DB instances.

Type annotations and code completion for boto3.client("timestream-influxdb").create_db_parameter_group method. boto3 documentation

# create_db_parameter_group method definition

def create_db_parameter_group(
    self,
    *,
    name: str,
    description: str = ...,
    parameters: ParametersTypeDef = ...,  # (1)
    tags: Mapping[str, str] = ...,
) -> CreateDbParameterGroupOutputTypeDef:  # (2)
    ...
  1. See ParametersTypeDef
  2. See CreateDbParameterGroupOutputTypeDef
# create_db_parameter_group method usage example with argument unpacking

kwargs: CreateDbParameterGroupInputTypeDef = {  # (1)
    "name": ...,
}

parent.create_db_parameter_group(**kwargs)
  1. See CreateDbParameterGroupInputTypeDef

delete_db_cluster#

Deletes a Timestream for InfluxDB cluster.

Type annotations and code completion for boto3.client("timestream-influxdb").delete_db_cluster method. boto3 documentation

# delete_db_cluster method definition

def delete_db_cluster(
    self,
    *,
    dbClusterId: str,
) -> DeleteDbClusterOutputTypeDef:  # (1)
    ...
  1. See DeleteDbClusterOutputTypeDef
# delete_db_cluster method usage example with argument unpacking

kwargs: DeleteDbClusterInputTypeDef = {  # (1)
    "dbClusterId": ...,
}

parent.delete_db_cluster(**kwargs)
  1. See DeleteDbClusterInputTypeDef

delete_db_instance#

Deletes a Timestream for InfluxDB DB instance.

Type annotations and code completion for boto3.client("timestream-influxdb").delete_db_instance method. boto3 documentation

# delete_db_instance method definition

def delete_db_instance(
    self,
    *,
    identifier: str,
) -> DeleteDbInstanceOutputTypeDef:  # (1)
    ...
  1. See DeleteDbInstanceOutputTypeDef
# delete_db_instance method usage example with argument unpacking

kwargs: DeleteDbInstanceInputTypeDef = {  # (1)
    "identifier": ...,
}

parent.delete_db_instance(**kwargs)
  1. See DeleteDbInstanceInputTypeDef

get_db_cluster#

Retrieves information about a Timestream for InfluxDB cluster.

Type annotations and code completion for boto3.client("timestream-influxdb").get_db_cluster method. boto3 documentation

# get_db_cluster method definition

def get_db_cluster(
    self,
    *,
    dbClusterId: str,
) -> GetDbClusterOutputTypeDef:  # (1)
    ...
  1. See GetDbClusterOutputTypeDef
# get_db_cluster method usage example with argument unpacking

kwargs: GetDbClusterInputTypeDef = {  # (1)
    "dbClusterId": ...,
}

parent.get_db_cluster(**kwargs)
  1. See GetDbClusterInputTypeDef

get_db_instance#

Returns a Timestream for InfluxDB DB instance.

Type annotations and code completion for boto3.client("timestream-influxdb").get_db_instance method. boto3 documentation

# get_db_instance method definition

def get_db_instance(
    self,
    *,
    identifier: str,
) -> GetDbInstanceOutputTypeDef:  # (1)
    ...
  1. See GetDbInstanceOutputTypeDef
# get_db_instance method usage example with argument unpacking

kwargs: GetDbInstanceInputTypeDef = {  # (1)
    "identifier": ...,
}

parent.get_db_instance(**kwargs)
  1. See GetDbInstanceInputTypeDef

get_db_parameter_group#

Returns a Timestream for InfluxDB DB parameter group.

Type annotations and code completion for boto3.client("timestream-influxdb").get_db_parameter_group method. boto3 documentation

# get_db_parameter_group method definition

def get_db_parameter_group(
    self,
    *,
    identifier: str,
) -> GetDbParameterGroupOutputTypeDef:  # (1)
    ...
  1. See GetDbParameterGroupOutputTypeDef
# get_db_parameter_group method usage example with argument unpacking

kwargs: GetDbParameterGroupInputTypeDef = {  # (1)
    "identifier": ...,
}

parent.get_db_parameter_group(**kwargs)
  1. See GetDbParameterGroupInputTypeDef

list_db_clusters#

Returns a list of Timestream for InfluxDB DB clusters.

Type annotations and code completion for boto3.client("timestream-influxdb").list_db_clusters method. boto3 documentation

# list_db_clusters method definition

def list_db_clusters(
    self,
    *,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListDbClustersOutputTypeDef:  # (1)
    ...
  1. See ListDbClustersOutputTypeDef
# list_db_clusters method usage example with argument unpacking

kwargs: ListDbClustersInputTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_db_clusters(**kwargs)
  1. See ListDbClustersInputTypeDef

list_db_instances#

Returns a list of Timestream for InfluxDB DB instances.

Type annotations and code completion for boto3.client("timestream-influxdb").list_db_instances method. boto3 documentation

# list_db_instances method definition

def list_db_instances(
    self,
    *,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListDbInstancesOutputTypeDef:  # (1)
    ...
  1. See ListDbInstancesOutputTypeDef
# list_db_instances method usage example with argument unpacking

kwargs: ListDbInstancesInputTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_db_instances(**kwargs)
  1. See ListDbInstancesInputTypeDef

list_db_instances_for_cluster#

Returns a list of Timestream for InfluxDB clusters.

Type annotations and code completion for boto3.client("timestream-influxdb").list_db_instances_for_cluster method. boto3 documentation

# list_db_instances_for_cluster method definition

def list_db_instances_for_cluster(
    self,
    *,
    dbClusterId: str,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListDbInstancesForClusterOutputTypeDef:  # (1)
    ...
  1. See ListDbInstancesForClusterOutputTypeDef
# list_db_instances_for_cluster method usage example with argument unpacking

kwargs: ListDbInstancesForClusterInputTypeDef = {  # (1)
    "dbClusterId": ...,
}

parent.list_db_instances_for_cluster(**kwargs)
  1. See ListDbInstancesForClusterInputTypeDef

list_db_parameter_groups#

Returns a list of Timestream for InfluxDB DB parameter groups.

Type annotations and code completion for boto3.client("timestream-influxdb").list_db_parameter_groups method. boto3 documentation

# list_db_parameter_groups method definition

def list_db_parameter_groups(
    self,
    *,
    nextToken: str = ...,
    maxResults: int = ...,
) -> ListDbParameterGroupsOutputTypeDef:  # (1)
    ...
  1. See ListDbParameterGroupsOutputTypeDef
# list_db_parameter_groups method usage example with argument unpacking

kwargs: ListDbParameterGroupsInputTypeDef = {  # (1)
    "nextToken": ...,
}

parent.list_db_parameter_groups(**kwargs)
  1. See ListDbParameterGroupsInputTypeDef

list_tags_for_resource#

A list of tags applied to the resource.

Type annotations and code completion for boto3.client("timestream-influxdb").list_tags_for_resource method. boto3 documentation

# list_tags_for_resource method definition

def list_tags_for_resource(
    self,
    *,
    resourceArn: str,
) -> ListTagsForResourceResponseTypeDef:  # (1)
    ...
  1. See ListTagsForResourceResponseTypeDef
# list_tags_for_resource method usage example with argument unpacking

kwargs: ListTagsForResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
}

parent.list_tags_for_resource(**kwargs)
  1. See ListTagsForResourceRequestTypeDef

tag_resource#

Tags are composed of a Key/Value pairs.

Type annotations and code completion for boto3.client("timestream-influxdb").tag_resource method. boto3 documentation

# tag_resource method definition

def tag_resource(
    self,
    *,
    resourceArn: str,
    tags: Mapping[str, str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# tag_resource method usage example with argument unpacking

kwargs: TagResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tags": ...,
}

parent.tag_resource(**kwargs)
  1. See TagResourceRequestTypeDef

untag_resource#

Removes the tag from the specified resource.

Type annotations and code completion for boto3.client("timestream-influxdb").untag_resource method. boto3 documentation

# untag_resource method definition

def untag_resource(
    self,
    *,
    resourceArn: str,
    tagKeys: Sequence[str],
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# untag_resource method usage example with argument unpacking

kwargs: UntagResourceRequestTypeDef = {  # (1)
    "resourceArn": ...,
    "tagKeys": ...,
}

parent.untag_resource(**kwargs)
  1. See UntagResourceRequestTypeDef

update_db_cluster#

Updates a Timestream for InfluxDB cluster.

Type annotations and code completion for boto3.client("timestream-influxdb").update_db_cluster method. boto3 documentation

# update_db_cluster method definition

def update_db_cluster(
    self,
    *,
    dbClusterId: str,
    logDeliveryConfiguration: LogDeliveryConfigurationTypeDef = ...,  # (1)
    dbParameterGroupIdentifier: str = ...,
    port: int = ...,
    dbInstanceType: DbInstanceTypeType = ...,  # (2)
    failoverMode: FailoverModeType = ...,  # (3)
) -> UpdateDbClusterOutputTypeDef:  # (4)
    ...
  1. See LogDeliveryConfigurationTypeDef
  2. See DbInstanceTypeType
  3. See FailoverModeType
  4. See UpdateDbClusterOutputTypeDef
# update_db_cluster method usage example with argument unpacking

kwargs: UpdateDbClusterInputTypeDef = {  # (1)
    "dbClusterId": ...,
}

parent.update_db_cluster(**kwargs)
  1. See UpdateDbClusterInputTypeDef

update_db_instance#

Updates a Timestream for InfluxDB DB instance.

Type annotations and code completion for boto3.client("timestream-influxdb").update_db_instance method. boto3 documentation

# update_db_instance method definition

def update_db_instance(
    self,
    *,
    identifier: str,
    logDeliveryConfiguration: LogDeliveryConfigurationTypeDef = ...,  # (1)
    dbParameterGroupIdentifier: str = ...,
    port: int = ...,
    dbInstanceType: DbInstanceTypeType = ...,  # (2)
    deploymentType: DeploymentTypeType = ...,  # (3)
    dbStorageType: DbStorageTypeType = ...,  # (4)
    allocatedStorage: int = ...,
) -> UpdateDbInstanceOutputTypeDef:  # (5)
    ...
  1. See LogDeliveryConfigurationTypeDef
  2. See DbInstanceTypeType
  3. See DeploymentTypeType
  4. See DbStorageTypeType
  5. See UpdateDbInstanceOutputTypeDef
# update_db_instance method usage example with argument unpacking

kwargs: UpdateDbInstanceInputTypeDef = {  # (1)
    "identifier": ...,
}

parent.update_db_instance(**kwargs)
  1. See UpdateDbInstanceInputTypeDef

get_paginator#

Type annotations and code completion for boto3.client("timestream-influxdb").get_paginator method with overloads.