Skip to content

Paginators#

Index > SNS > 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)
  1. client: SNSClient
  2. paginator: ListEndpointsByPlatformApplicationPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListEndpointsByPlatformApplicationResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListEndpointsByPlatformApplicationInputListEndpointsByPlatformApplicationPaginateTypeDef = {  # (1)
    "PlatformApplicationArn": ...,
}

parent.paginate(**kwargs)
  1. See ListEndpointsByPlatformApplicationInputListEndpointsByPlatformApplicationPaginateTypeDef

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)
  1. client: SNSClient
  2. paginator: ListOriginationNumbersPaginator
  3. item: ListOriginationNumbersResultTypeDef

paginate#

Type annotations and code completion for ListOriginationNumbersPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListOriginationNumbersResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListOriginationNumbersResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListOriginationNumbersRequestListOriginationNumbersPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

parent.paginate(**kwargs)
  1. See ListOriginationNumbersRequestListOriginationNumbersPaginateTypeDef

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)
  1. client: SNSClient
  2. paginator: ListPhoneNumbersOptedOutPaginator
  3. item: ListPhoneNumbersOptedOutResponseTypeDef

paginate#

Type annotations and code completion for ListPhoneNumbersOptedOutPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListPhoneNumbersOptedOutResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListPhoneNumbersOptedOutResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListPhoneNumbersOptedOutInputListPhoneNumbersOptedOutPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

parent.paginate(**kwargs)
  1. See ListPhoneNumbersOptedOutInputListPhoneNumbersOptedOutPaginateTypeDef

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)
  1. client: SNSClient
  2. paginator: ListPlatformApplicationsPaginator
  3. item: ListPlatformApplicationsResponseTypeDef

paginate#

Type annotations and code completion for ListPlatformApplicationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListPlatformApplicationsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListPlatformApplicationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListPlatformApplicationsInputListPlatformApplicationsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

parent.paginate(**kwargs)
  1. See ListPlatformApplicationsInputListPlatformApplicationsPaginateTypeDef

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)
  1. client: SNSClient
  2. paginator: ListSMSSandboxPhoneNumbersPaginator
  3. item: ListSMSSandboxPhoneNumbersResultTypeDef

paginate#

Type annotations and code completion for ListSMSSandboxPhoneNumbersPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListSMSSandboxPhoneNumbersResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListSMSSandboxPhoneNumbersResultTypeDef
# paginate method usage example with argument unpacking

kwargs: ListSMSSandboxPhoneNumbersInputListSMSSandboxPhoneNumbersPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

parent.paginate(**kwargs)
  1. See ListSMSSandboxPhoneNumbersInputListSMSSandboxPhoneNumbersPaginateTypeDef

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)
  1. client: SNSClient
  2. paginator: ListSubscriptionsByTopicPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListSubscriptionsByTopicResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListSubscriptionsByTopicInputListSubscriptionsByTopicPaginateTypeDef = {  # (1)
    "TopicArn": ...,
}

parent.paginate(**kwargs)
  1. See ListSubscriptionsByTopicInputListSubscriptionsByTopicPaginateTypeDef

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)
  1. client: SNSClient
  2. paginator: ListSubscriptionsPaginator
  3. item: ListSubscriptionsResponseTypeDef

paginate#

Type annotations and code completion for ListSubscriptionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListSubscriptionsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListSubscriptionsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListSubscriptionsInputListSubscriptionsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

parent.paginate(**kwargs)
  1. See ListSubscriptionsInputListSubscriptionsPaginateTypeDef

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)
  1. client: SNSClient
  2. paginator: ListTopicsPaginator
  3. item: ListTopicsResponseTypeDef

paginate#

Type annotations and code completion for ListTopicsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListTopicsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListTopicsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListTopicsInputListTopicsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

parent.paginate(**kwargs)
  1. See ListTopicsInputListTopicsPaginateTypeDef