IoTAnalytics.Paginator.
ListChannels
¶paginator = client.get_paginator('list_channels')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from IoTAnalytics.Client.list_channels()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken
will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
{
'channelSummaries': [
{
'channelName': 'string',
'channelStorage': {
'serviceManagedS3': {},
'customerManagedS3': {
'bucket': 'string',
'keyPrefix': 'string',
'roleArn': 'string'
}
},
'status': 'CREATING'|'ACTIVE'|'DELETING',
'creationTime': datetime(2015, 1, 1),
'lastUpdateTime': datetime(2015, 1, 1),
'lastMessageArrivalTime': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
A list of ChannelSummary
objects.
A summary of information about a channel.
The name of the channel.
Where channel data is stored.
Used to store channel data in an S3 bucket managed by IoT Analytics.
Used to store channel data in an S3 bucket that you manage.
The name of the S3 bucket in which channel data is stored.
(Optional) The prefix used to create the keys of the channel data objects. Each object in an S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a forward slash (/).
The ARN of the role that grants IoT Analytics permission to interact with your Amazon S3 resources.
The status of the channel.
When the channel was created.
The last time the channel was updated.
The last time when a new message arrived in the channel.
IoT Analytics updates this value at most once per minute for one channel. Hence, the lastMessageArrivalTime
value is an approximation.
This feature only applies to messages that arrived in the data store after October 23, 2020.
A token to resume pagination.