IoTDataPlane / Paginator / ListSubscriptions
ListSubscriptionsΒΆ
- class IoTDataPlane.Paginator.ListSubscriptionsΒΆ
paginator = client.get_paginator('list_subscriptions')
- paginate(**kwargs)ΒΆ
Creates an iterator that will paginate through responses from
IoTDataPlane.Client.list_subscriptions().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( clientId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
clientId (string) β
[REQUIRED]
The unique identifier of the MQTT client to list subscriptions for. The client ID canβt start with a dollar sign ($).
MQTT client IDs must be URL encoded (percent-encoded) when they contain characters that are not valid in HTTP requests, such as spaces, forward slashes (/), and UTF-8 characters.
PaginationConfig (dict) β
A dictionary that provides parameters to control pagination.
MaxItems (integer) β
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
NextTokenwill be provided in the output that you can use to resume pagination.PageSize (integer) β
The size of each page.
StartingToken (string) β
A token to specify where to start paginating. This is the
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'subscriptions': [ { 'topicFilter': 'string', 'qos': 123 }, ], 'NextToken': 'string' }
Response Structure
(dict) β
subscriptions (list) β
A list of topic filters and their associated Quality of Service (QoS) levels that the client is subscribed to.
(dict) β
Contains information about a subscription for an MQTT client, including the topic filter and Quality of Service (QoS) level.
topicFilter (string) β
The topic filter pattern that the client is subscribed to. May include MQTT wildcards such as + (single-level) and # (multi-level).
qos (integer) β
The Quality of Service (QoS) level for the subscription. Valid values are 0 (at most once) and 1 (at least once).
NextToken (string) β
A token to resume pagination.