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)
- client: SMSClient
- paginator: GetConnectorsPaginator
- item: GetConnectorsResponseTypeDef
paginate#
Type annotations and code completion for GetConnectorsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[GetConnectorsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetConnectorsRequestGetConnectorsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: SMSClient
- paginator: GetReplicationJobsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetReplicationJobsRequestGetReplicationJobsPaginateTypeDef = { # (1)
"replicationJobId": ...,
}
parent.paginate(**kwargs)
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)
- client: SMSClient
- paginator: GetReplicationRunsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetReplicationRunsRequestGetReplicationRunsPaginateTypeDef = { # (1)
"replicationJobId": ...,
}
parent.paginate(**kwargs)
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)
- client: SMSClient
- paginator: GetServersPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetServersRequestGetServersPaginateTypeDef = { # (1)
"vmServerAddressList": ...,
}
parent.paginate(**kwargs)
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)
- client: SMSClient
- paginator: ListAppsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListAppsRequestListAppsPaginateTypeDef = { # (1)
"appIds": ...,
}
parent.paginate(**kwargs)