Paginators#
Index > ChimeSDKVoice > Paginators
Auto-generated documentation for ChimeSDKVoice type annotations stubs module mypy-boto3-chime-sdk-voice.
ListSipMediaApplicationsPaginator#
Type annotations and code completion for boto3.client("chime-sdk-voice").get_paginator("list_sip_media_applications")
.
boto3 documentation
# ListSipMediaApplicationsPaginator usage example
from boto3.session import Session
from mypy_boto3_chime_sdk_voice.paginator import ListSipMediaApplicationsPaginator
def get_list_sip_media_applications_paginator() -> ListSipMediaApplicationsPaginator:
return Session().client("chime-sdk-voice").get_paginator("list_sip_media_applications")
# ListSipMediaApplicationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_chime_sdk_voice.paginator import ListSipMediaApplicationsPaginator
session = Session()
client = Session().client("chime-sdk-voice") # (1)
paginator: ListSipMediaApplicationsPaginator = client.get_paginator("list_sip_media_applications") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ChimeSDKVoiceClient
- paginator: ListSipMediaApplicationsPaginator
- item: ListSipMediaApplicationsResponseTypeDef
paginate#
Type annotations and code completion for ListSipMediaApplicationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListSipMediaApplicationsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListSipMediaApplicationsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListSipRulesPaginator#
Type annotations and code completion for boto3.client("chime-sdk-voice").get_paginator("list_sip_rules")
.
boto3 documentation
# ListSipRulesPaginator usage example
from boto3.session import Session
from mypy_boto3_chime_sdk_voice.paginator import ListSipRulesPaginator
def get_list_sip_rules_paginator() -> ListSipRulesPaginator:
return Session().client("chime-sdk-voice").get_paginator("list_sip_rules")
# ListSipRulesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_chime_sdk_voice.paginator import ListSipRulesPaginator
session = Session()
client = Session().client("chime-sdk-voice") # (1)
paginator: ListSipRulesPaginator = client.get_paginator("list_sip_rules") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ChimeSDKVoiceClient
- paginator: ListSipRulesPaginator
- item: ListSipRulesResponseTypeDef
paginate#
Type annotations and code completion for ListSipRulesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
SipMediaApplicationId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListSipRulesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListSipRulesRequestPaginateTypeDef = { # (1)
"SipMediaApplicationId": ...,
}
parent.paginate(**kwargs)