Skip to content

IoTAnalyticsClient#

Index > IoTAnalytics > IoTAnalyticsClient

Auto-generated documentation for IoTAnalytics type annotations stubs module mypy-boto3-iotanalytics.

IoTAnalyticsClient#

Type annotations and code completion for boto3.client("iotanalytics"). boto3 documentation

# IoTAnalyticsClient usage example

from boto3.session import Session
from mypy_boto3_iotanalytics.client import IoTAnalyticsClient

def get_iotanalytics_client() -> IoTAnalyticsClient:
    return Session().client("iotanalytics")

Exceptions#

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

# Exceptions.exceptions usage example

client = boto3.client("iotanalytics")

try:
    do_something(client)
except (
    client.exceptions.ClientError,
    client.exceptions.InternalFailureException,
    client.exceptions.InvalidRequestException,
    client.exceptions.LimitExceededException,
    client.exceptions.ResourceAlreadyExistsException,
    client.exceptions.ResourceNotFoundException,
    client.exceptions.ServiceUnavailableException,
    client.exceptions.ThrottlingException,
) as e:
    print(e)
# Exceptions.exceptions type checking example

from mypy_boto3_iotanalytics.client import Exceptions

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

Methods#

batch_put_message#

Sends messages to a channel.

Type annotations and code completion for boto3.client("iotanalytics").batch_put_message method. boto3 documentation

# batch_put_message method definition

def batch_put_message(
    self,
    *,
    channelName: str,
    messages: Sequence[MessageTypeDef],  # (1)
) -> BatchPutMessageResponseTypeDef:  # (2)
    ...
  1. See MessageTypeDef
  2. See BatchPutMessageResponseTypeDef
# batch_put_message method usage example with argument unpacking

kwargs: BatchPutMessageRequestRequestTypeDef = {  # (1)
    "channelName": ...,
    "messages": ...,
}

parent.batch_put_message(**kwargs)
  1. See BatchPutMessageRequestRequestTypeDef

can_paginate#

Check if an operation can be paginated.

Type annotations and code completion for boto3.client("iotanalytics").can_paginate method. boto3 documentation

# can_paginate method definition

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

cancel_pipeline_reprocessing#

Cancels the reprocessing of data through the pipeline.

Type annotations and code completion for boto3.client("iotanalytics").cancel_pipeline_reprocessing method. boto3 documentation

# cancel_pipeline_reprocessing method definition

def cancel_pipeline_reprocessing(
    self,
    *,
    pipelineName: str,
    reprocessingId: str,
) -> Dict[str, Any]:
    ...
# cancel_pipeline_reprocessing method usage example with argument unpacking

kwargs: CancelPipelineReprocessingRequestRequestTypeDef = {  # (1)
    "pipelineName": ...,
    "reprocessingId": ...,
}

parent.cancel_pipeline_reprocessing(**kwargs)
  1. See CancelPipelineReprocessingRequestRequestTypeDef

close#

Closes underlying endpoint connections.

Type annotations and code completion for boto3.client("iotanalytics").close method. boto3 documentation

# close method definition

def close(
    self,
) -> None:
    ...

create_channel#

Used to create a channel.

Type annotations and code completion for boto3.client("iotanalytics").create_channel method. boto3 documentation

# create_channel method definition

def create_channel(
    self,
    *,
    channelName: str,
    channelStorage: Union[ChannelStorageTypeDef, ChannelStorageOutputTypeDef] = ...,  # (1)
    retentionPeriod: RetentionPeriodTypeDef = ...,  # (2)
    tags: Sequence[TagTypeDef] = ...,  # (3)
) -> CreateChannelResponseTypeDef:  # (4)
    ...
  1. See ChannelStorageTypeDef ChannelStorageOutputTypeDef
  2. See RetentionPeriodTypeDef
  3. See TagTypeDef
  4. See CreateChannelResponseTypeDef
# create_channel method usage example with argument unpacking

kwargs: CreateChannelRequestRequestTypeDef = {  # (1)
    "channelName": ...,
}

parent.create_channel(**kwargs)
  1. See CreateChannelRequestRequestTypeDef

create_dataset#

Used to create a dataset.

Type annotations and code completion for boto3.client("iotanalytics").create_dataset method. boto3 documentation

# create_dataset method definition

def create_dataset(
    self,
    *,
    datasetName: str,
    actions: Sequence[Union[DatasetActionTypeDef, DatasetActionOutputTypeDef]],  # (1)
    triggers: Sequence[DatasetTriggerTypeDef] = ...,  # (2)
    contentDeliveryRules: Sequence[DatasetContentDeliveryRuleTypeDef] = ...,  # (3)
    retentionPeriod: RetentionPeriodTypeDef = ...,  # (4)
    versioningConfiguration: VersioningConfigurationTypeDef = ...,  # (5)
    tags: Sequence[TagTypeDef] = ...,  # (6)
    lateDataRules: Sequence[LateDataRuleTypeDef] = ...,  # (7)
) -> CreateDatasetResponseTypeDef:  # (8)
    ...
  1. See DatasetActionTypeDef DatasetActionOutputTypeDef
  2. See DatasetTriggerTypeDef
  3. See DatasetContentDeliveryRuleTypeDef
  4. See RetentionPeriodTypeDef
  5. See VersioningConfigurationTypeDef
  6. See TagTypeDef
  7. See LateDataRuleTypeDef
  8. See CreateDatasetResponseTypeDef
# create_dataset method usage example with argument unpacking

kwargs: CreateDatasetRequestRequestTypeDef = {  # (1)
    "datasetName": ...,
    "actions": ...,
}

parent.create_dataset(**kwargs)
  1. See CreateDatasetRequestRequestTypeDef

create_dataset_content#

Creates the content of a dataset by applying a queryAction (a SQL query) or a containerAction (executing a containerized application).

Type annotations and code completion for boto3.client("iotanalytics").create_dataset_content method. boto3 documentation

# create_dataset_content method definition

def create_dataset_content(
    self,
    *,
    datasetName: str,
    versionId: str = ...,
) -> CreateDatasetContentResponseTypeDef:  # (1)
    ...
  1. See CreateDatasetContentResponseTypeDef
# create_dataset_content method usage example with argument unpacking

kwargs: CreateDatasetContentRequestRequestTypeDef = {  # (1)
    "datasetName": ...,
}

parent.create_dataset_content(**kwargs)
  1. See CreateDatasetContentRequestRequestTypeDef

create_datastore#

Creates a data store, which is a repository for messages.

Type annotations and code completion for boto3.client("iotanalytics").create_datastore method. boto3 documentation

# create_datastore method definition

def create_datastore(
    self,
    *,
    datastoreName: str,
    datastoreStorage: Union[DatastoreStorageTypeDef, DatastoreStorageOutputTypeDef] = ...,  # (1)
    retentionPeriod: RetentionPeriodTypeDef = ...,  # (2)
    tags: Sequence[TagTypeDef] = ...,  # (3)
    fileFormatConfiguration: Union[FileFormatConfigurationTypeDef, FileFormatConfigurationOutputTypeDef] = ...,  # (4)
    datastorePartitions: Union[DatastorePartitionsTypeDef, DatastorePartitionsExtraOutputTypeDef] = ...,  # (5)
) -> CreateDatastoreResponseTypeDef:  # (6)
    ...
  1. See DatastoreStorageTypeDef DatastoreStorageOutputTypeDef
  2. See RetentionPeriodTypeDef
  3. See TagTypeDef
  4. See FileFormatConfigurationTypeDef FileFormatConfigurationOutputTypeDef
  5. See DatastorePartitionsTypeDef DatastorePartitionsExtraOutputTypeDef
  6. See CreateDatastoreResponseTypeDef
# create_datastore method usage example with argument unpacking

kwargs: CreateDatastoreRequestRequestTypeDef = {  # (1)
    "datastoreName": ...,
}

parent.create_datastore(**kwargs)
  1. See CreateDatastoreRequestRequestTypeDef

create_pipeline#

Creates a pipeline.

Type annotations and code completion for boto3.client("iotanalytics").create_pipeline method. boto3 documentation

# create_pipeline method definition

def create_pipeline(
    self,
    *,
    pipelineName: str,
    pipelineActivities: Sequence[Union[PipelineActivityTypeDef, PipelineActivityOutputTypeDef]],  # (1)
    tags: Sequence[TagTypeDef] = ...,  # (2)
) -> CreatePipelineResponseTypeDef:  # (3)
    ...
  1. See PipelineActivityTypeDef PipelineActivityOutputTypeDef
  2. See TagTypeDef
  3. See CreatePipelineResponseTypeDef
# create_pipeline method usage example with argument unpacking

kwargs: CreatePipelineRequestRequestTypeDef = {  # (1)
    "pipelineName": ...,
    "pipelineActivities": ...,
}

parent.create_pipeline(**kwargs)
  1. See CreatePipelineRequestRequestTypeDef

delete_channel#

Deletes the specified channel.

Type annotations and code completion for boto3.client("iotanalytics").delete_channel method. boto3 documentation

# delete_channel method definition

def delete_channel(
    self,
    *,
    channelName: str,
) -> EmptyResponseMetadataTypeDef:  # (1)
    ...
  1. See EmptyResponseMetadataTypeDef
# delete_channel method usage example with argument unpacking

kwargs: DeleteChannelRequestRequestTypeDef = {  # (1)
    "channelName":