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)
...
# batch_put_message method usage example with argument unpacking
kwargs: BatchPutMessageRequestRequestTypeDef = { # (1)
"channelName": ...,
"messages": ...,
}
parent.batch_put_message(**kwargs)
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)
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)
...
- See ChannelStorageTypeDef ChannelStorageOutputTypeDef
- See RetentionPeriodTypeDef
- See TagTypeDef
- See CreateChannelResponseTypeDef
# create_channel method usage example with argument unpacking
kwargs: CreateChannelRequestRequestTypeDef = { # (1)
"channelName": ...,
}
parent.create_channel(**kwargs)
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)
...
- See DatasetActionTypeDef DatasetActionOutputTypeDef
- See DatasetTriggerTypeDef
- See DatasetContentDeliveryRuleTypeDef
- See RetentionPeriodTypeDef
- See VersioningConfigurationTypeDef
- See TagTypeDef
- See LateDataRuleTypeDef
- See CreateDatasetResponseTypeDef
# create_dataset method usage example with argument unpacking
kwargs: CreateDatasetRequestRequestTypeDef = { # (1)
"datasetName": ...,
"actions": ...,
}
parent.create_dataset(**kwargs)
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.