Skip to content

Paginators#

Index > SMS > Paginators

Auto-generated documentation for SMS type annotations stubs module mypy-boto3-sms.

GetConnectorsPaginator#

Type annotations and code completion for boto3.client("sms").get_paginator("get_connectors"). boto3 documentation

# GetConnectorsPaginator usage example

from boto3.session import Session

from mypy_boto3_sms.paginator import GetConnectorsPaginator

def get_get_connectors_paginator() -> GetConnectorsPaginator:
    return Session().client("sms").get_paginator("get_connectors")
# GetConnectorsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_sms.paginator import GetConnectorsPaginator

session = Session()

client = Session().client("sms")  # (1)
paginator: GetConnectorsPaginator = client.get_paginator("get_connectors")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SMSClient
  2. paginator: GetConnectorsPaginator
  3. item: GetConnectorsResponseTypeDef

paginate#

Type annotations and code completion for GetConnectorsPaginator.paginate method.

# paginate method definition

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

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

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

GetReplicationJobsPaginator#

Type annotations and code completion for boto3.client("sms").get_paginator("get_replication_jobs"). boto3 documentation

# GetReplicationJobsPaginator usage example

from boto3.session import Session

from mypy_boto3_sms.paginator import GetReplicationJobsPaginator

def get_get_replication_jobs_paginator() -> GetReplicationJobsPaginator:
    return Session().client("sms").get_paginator("get_replication_jobs")
# GetReplicationJobsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_sms.paginator import GetReplicationJobsPaginator

session = Session()

client = Session().client("sms")  # (1)
paginator: GetReplicationJobsPaginator = client.get_paginator("get_replication_jobs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SMSClient
  2. paginator: GetReplicationJobsPaginator
  3. item: GetReplicationJobsResponseTypeDef

paginate#

Type annotations and code completion for GetReplicationJobsPaginator.paginate method.

# paginate method definition

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

kwargs: GetReplicationJobsRequestGetReplicationJobsPaginateTypeDef = {  # (1)
    "replicationJobId": ...,
}

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

GetReplicationRunsPaginator#

Type annotations and code completion for boto3.client("sms").get_paginator("get_replication_runs"). boto3 documentation

# GetReplicationRunsPaginator usage example

from boto3.session import Session

from mypy_boto3_sms.paginator import GetReplicationRunsPaginator

def get_get_replication_runs_paginator() -> GetReplicationRunsPaginator:
    return Session().client("sms").get_paginator("get_replication_runs")
# GetReplicationRunsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_sms.paginator import GetReplicationRunsPaginator

session = Session()

client = Session().client("sms")  # (1)
paginator: GetReplicationRunsPaginator = client.get_paginator("get_replication_runs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SMSClient
  2. paginator: GetReplicationRunsPaginator
  3. item: GetReplicationRunsResponseTypeDef

paginate#

Type annotations and code completion for GetReplicationRunsPaginator.paginate method.

# paginate method definition

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

kwargs: GetReplicationRunsRequestGetReplicationRunsPaginateTypeDef = {  # (1)
    "replicationJobId": ...,
}

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

GetServersPaginator#

Type annotations and code completion for boto3.client("sms").get_paginator("get_servers"). boto3 documentation

# GetServersPaginator usage example

from boto3.session import Session

from mypy_boto3_sms.paginator import GetServersPaginator

def get_get_servers_paginator() -> GetServersPaginator:
    return Session().client("sms").get_paginator("get_servers")
# GetServersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_sms.paginator import GetServersPaginator

session = Session()

client = Session().client("sms")  # (1)
paginator: GetServersPaginator = client.get_paginator("get_servers")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SMSClient
  2. paginator: GetServersPaginator
  3. item: GetServersResponseTypeDef

paginate#

Type annotations and code completion for GetServersPaginator.paginate method.

# paginate method definition

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

kwargs: GetServersRequestGetServersPaginateTypeDef = {  # (1)
    "vmServerAddressList": ...,
}

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

ListAppsPaginator#

Type annotations and code completion for boto3.client("sms").get_paginator("list_apps"). boto3 documentation

# ListAppsPaginator usage example

from boto3.session import Session

from mypy_boto3_sms.paginator import ListAppsPaginator

def get_list_apps_paginator() -> ListAppsPaginator:
    return Session().client("sms").get_paginator("list_apps")
# ListAppsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_sms.paginator import ListAppsPaginator

session = Session()

client = Session().client("sms")  # (1)
paginator: ListAppsPaginator = client.get_paginator("list_apps")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: SMSClient
  2. paginator: ListAppsPaginator
  3. item: ListAppsResponseTypeDef

paginate#

Type annotations and code completion for ListAppsPaginator.paginate method.

# paginate method definition

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

kwargs: ListAppsRequestListAppsPaginateTypeDef = {  # (1)
    "appIds": ...,
}

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