Paginators#
Auto-generated documentation for SNS type annotations stubs module mypy-boto3-sns.
ListEndpointsByPlatformApplicationPaginator#
Type annotations and code completion for boto3.client("sns").get_paginator("list_endpoints_by_platform_application")
.
boto3 documentation
# ListEndpointsByPlatformApplicationPaginator usage example
from boto3.session import Session
from mypy_boto3_sns.paginator import ListEndpointsByPlatformApplicationPaginator
def get_list_endpoints_by_platform_application_paginator() -> ListEndpointsByPlatformApplicationPaginator:
return Session().client("sns").get_paginator("list_endpoints_by_platform_application")
# ListEndpointsByPlatformApplicationPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_sns.paginator import ListEndpointsByPlatformApplicationPaginator
session = Session()
client = Session().client("sns") # (1)
paginator: ListEndpointsByPlatformApplicationPaginator = client.get_paginator("list_endpoints_by_platform_application") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: SNSClient
- paginator: ListEndpointsByPlatformApplicationPaginator
- item: ListEndpointsByPlatformApplicationResponseTypeDef
paginate#
Type annotations and code completion for ListEndpointsByPlatformApplicationPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PlatformApplicationArn: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListEndpointsByPlatformApplicationResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListEndpointsByPlatformApplicationInputPaginateTypeDef = { # (1)
"PlatformApplicationArn": ...,
}
parent.paginate(**kwargs)
ListOriginationNumbersPaginator#
Type annotations and code completion for boto3.client("sns").get_paginator("list_origination_numbers")
.
boto3 documentation
# ListOriginationNumbersPaginator usage example
from boto3.session import Session
from mypy_boto3_sns.paginator import ListOriginationNumbersPaginator
def get_list_origination_numbers_paginator() -> ListOriginationNumbersPaginator:
return Session().client("sns").get_paginator("list_origination_numbers")
# ListOriginationNumbersPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_sns.paginator import ListOriginationNumbersPaginator
session = Session()
client = Session().client("sns") # (1)
paginator: ListOriginationNumbersPaginator = client.get_paginator("list_origination_numbers") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: SNSClient
- paginator: ListOriginationNumbersPaginator
- item: ListOriginationNumbersResultTypeDef
paginate#
Type annotations and code completion for ListOriginationNumbersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListOriginationNumbersResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListOriginationNumbersRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListPhoneNumbersOptedOutPaginator#
Type annotations and code completion for boto3.client("sns").get_paginator("list_phone_numbers_opted_out")
.
boto3 documentation
# ListPhoneNumbersOptedOutPaginator usage example
from boto3.session import Session
from mypy_boto3_sns.paginator import ListPhoneNumbersOptedOutPaginator
def get_list_phone_numbers_opted_out_paginator() -> ListPhoneNumbersOptedOutPaginator:
return Session().client("sns").get_paginator("list_phone_numbers_opted_out")
# ListPhoneNumbersOptedOutPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_sns.paginator import ListPhoneNumbersOptedOutPaginator
session = Session()
client = Session().client("sns") # (1)
paginator: ListPhoneNumbersOptedOutPaginator = client.get_paginator("list_phone_numbers_opted_out") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: SNSClient
- paginator: ListPhoneNumbersOptedOutPaginator
- item: ListPhoneNumbersOptedOutResponseTypeDef
paginate#
Type annotations and code completion for ListPhoneNumbersOptedOutPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListPhoneNumbersOptedOutResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListPhoneNumbersOptedOutInputPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListPlatformApplicationsPaginator#
Type annotations and code completion for boto3.client("sns").get_paginator("list_platform_applications")
.
boto3 documentation
# ListPlatformApplicationsPaginator usage example
from boto3.session import Session
from mypy_boto3_sns.paginator import ListPlatformApplicationsPaginator
def get_list_platform_applications_paginator() -> ListPlatformApplicationsPaginator:
return Session().client("sns").get_paginator("list_platform_applications")
# ListPlatformApplicationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_sns.paginator import ListPlatformApplicationsPaginator
session = Session()
client = Session().client("sns") # (1)
paginator: ListPlatformApplicationsPaginator = client.get_paginator("list_platform_applications") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: SNSClient
- paginator: ListPlatformApplicationsPaginator
- item: ListPlatformApplicationsResponseTypeDef
paginate#
Type annotations and code completion for ListPlatformApplicationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListPlatformApplicationsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListPlatformApplicationsInputPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListSMSSandboxPhoneNumbersPaginator#
Type annotations and code completion for boto3.client("sns").get_paginator("list_sms_sandbox_phone_numbers")
.
boto3 documentation
# ListSMSSandboxPhoneNumbersPaginator usage example
from boto3.session import Session
from mypy_boto3_sns.paginator import ListSMSSandboxPhoneNumbersPaginator
def get_list_sms_sandbox_phone_numbers_paginator() -> ListSMSSandboxPhoneNumbersPaginator:
return Session().client("sns").get_paginator("list_sms_sandbox_phone_numbers")
# ListSMSSandboxPhoneNumbersPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_sns.paginator import ListSMSSandboxPhoneNumbersPaginator
session = Session()
client = Session().client("sns") # (1)
paginator: ListSMSSandboxPhoneNumbersPaginator = client.get_paginator("list_sms_sandbox_phone_numbers") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: SNSClient
- paginator: ListSMSSandboxPhoneNumbersPaginator
- item: ListSMSSandboxPhoneNumbersResultTypeDef
paginate#
Type annotations and code completion for ListSMSSandboxPhoneNumbersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListSMSSandboxPhoneNumbersResultTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListSMSSandboxPhoneNumbersInputPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListSubscriptionsByTopicPaginator#
Type annotations and code completion for boto3.client("sns").get_paginator("list_subscriptions_by_topic")
.
boto3 documentation
# ListSubscriptionsByTopicPaginator usage example
from boto3.session import Session
from mypy_boto3_sns.paginator import ListSubscriptionsByTopicPaginator
def get_list_subscriptions_by_topic_paginator() -> ListSubscriptionsByTopicPaginator:
return Session().client("sns").get_paginator("list_subscriptions_by_topic")
# ListSubscriptionsByTopicPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_sns.paginator import ListSubscriptionsByTopicPaginator
session = Session()
client = Session().client("sns") # (1)
paginator: ListSubscriptionsByTopicPaginator = client.get_paginator("list_subscriptions_by_topic") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: SNSClient
- paginator: ListSubscriptionsByTopicPaginator
- item: ListSubscriptionsByTopicResponseTypeDef
paginate#
Type annotations and code completion for ListSubscriptionsByTopicPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
TopicArn: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListSubscriptionsByTopicResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListSubscriptionsByTopicInputPaginateTypeDef = { # (1)
"TopicArn": ...,
}
parent.paginate(**kwargs)
ListSubscriptionsPaginator#
Type annotations and code completion for boto3.client("sns").get_paginator("list_subscriptions")
.
boto3 documentation
# ListSubscriptionsPaginator usage example
from boto3.session import Session
from mypy_boto3_sns.paginator import ListSubscriptionsPaginator
def get_list_subscriptions_paginator() -> ListSubscriptionsPaginator:
return Session().client("sns").get_paginator("list_subscriptions")
# ListSubscriptionsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_sns.paginator import ListSubscriptionsPaginator
session = Session()
client = Session().client("sns") # (1)
paginator: ListSubscriptionsPaginator = client.get_paginator("list_subscriptions") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: SNSClient
- paginator: ListSubscriptionsPaginator
- item: ListSubscriptionsResponseTypeDef
paginate#
Type annotations and code completion for ListSubscriptionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListSubscriptionsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListSubscriptionsInputPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListTopicsPaginator#
Type annotations and code completion for boto3.client("sns").get_paginator("list_topics")
.
boto3 documentation
# ListTopicsPaginator usage example
from boto3.session import Session
from mypy_boto3_sns.paginator import ListTopicsPaginator
def get_list_topics_paginator() -> ListTopicsPaginator:
return Session().client("sns").get_paginator("list_topics")
# ListTopicsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_sns.paginator import ListTopicsPaginator
session = Session()
client = Session().client("sns") # (1)
paginator: ListTopicsPaginator = client.get_paginator("list_topics") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: SNSClient
- paginator: ListTopicsPaginator
- item: ListTopicsResponseTypeDef
paginate#
Type annotations and code completion for ListTopicsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListTopicsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListTopicsInputPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)