AppSync / Paginator / ListChannelNamespaces
ListChannelNamespaces#
- class AppSync.Paginator.ListChannelNamespaces#
paginator = client.get_paginator('list_channel_namespaces')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
AppSync.Client.list_channel_namespaces()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( apiId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
apiId (string) –
[REQUIRED]
The
Api
ID.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
NextToken
will 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
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'channelNamespaces': [ { 'apiId': 'string', 'name': 'string', 'subscribeAuthModes': [ { 'authType': 'API_KEY'|'AWS_IAM'|'AMAZON_COGNITO_USER_POOLS'|'OPENID_CONNECT'|'AWS_LAMBDA' }, ], 'publishAuthModes': [ { 'authType': 'API_KEY'|'AWS_IAM'|'AMAZON_COGNITO_USER_POOLS'|'OPENID_CONNECT'|'AWS_LAMBDA' }, ], 'codeHandlers': 'string', 'tags': { 'string': 'string' }, 'channelNamespaceArn': 'string', 'created': datetime(2015, 1, 1), 'lastModified': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
channelNamespaces (list) –
The
ChannelNamespace
objects.(dict) –
Describes a channel namespace associated with an
Api
. TheChannelNamespace
contains the definitions for code handlers for theApi
.apiId (string) –
The
Api
ID.name (string) –
The name of the channel namespace. This name must be unique within the
Api
.subscribeAuthModes (list) –
The authorization mode to use for subscribing to messages on the channel namespace. This configuration overrides the default ``Api``authorization configuration.
(dict) –
Describes an authorization configuration. Use
AuthMode
to specify the publishing and subscription authorization configuration for an Event API.authType (string) –
The authorization type.
publishAuthModes (list) –
The authorization mode to use for publishing messages on the channel namespace. This configuration overrides the default ``Api``authorization configuration.
(dict) –
Describes an authorization configuration. Use
AuthMode
to specify the publishing and subscription authorization configuration for an Event API.authType (string) –
The authorization type.
codeHandlers (string) –
The event handler functions that run custom business logic to process published events and subscribe requests.
tags (dict) –
A map with keys of
TagKey
objects and values ofTagValue
objects.(string) –
The key for the tag.
(string) –
The value for the tag.
channelNamespaceArn (string) –
The Amazon Resource Name (ARN) for the
ChannelNamespace
.created (datetime) –
The date and time that the
ChannelNamespace
was created.lastModified (datetime) –
The date and time that the
ChannelNamespace
was last changed.
NextToken (string) –
A token to resume pagination.