Paginators#
Auto-generated documentation for Polly type annotations stubs module types-boto3-polly.
DescribeVoicesPaginator#
Type annotations and code completion for boto3.client("polly").get_paginator("describe_voices").
 boto3 documentation
# DescribeVoicesPaginator usage example
from boto3.session import Session
from types_boto3_polly.paginator import DescribeVoicesPaginator
def get_describe_voices_paginator() -> DescribeVoicesPaginator:
    return Session().client("polly").get_paginator("describe_voices")# DescribeVoicesPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_polly.paginator import DescribeVoicesPaginator
session = Session()
client = Session().client("polly")  # (1)
paginator: DescribeVoicesPaginator = client.get_paginator("describe_voices")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)- client: PollyClient
- paginator: DescribeVoicesPaginator
- item: PageIterator[DescribeVoicesOutputTypeDef]
paginate#
Type annotations and code completion for DescribeVoicesPaginator.paginate method.
# paginate method definition
def paginate(
    self,
    *,
    Engine: EngineType = ...,  # (1)
    LanguageCode: LanguageCodeType = ...,  # (2)
    IncludeAdditionalLanguageCodes: bool = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> botocore.paginate.PageIterator[DescribeVoicesOutputTypeDef]:  # (4)
    ...- See EngineType
- See LanguageCodeType
- See PaginatorConfigTypeDef
- See PageIterator[DescribeVoicesOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: DescribeVoicesInputPaginateTypeDef = {  # (1)
    "Engine": ...,
}
parent.paginate(**kwargs)ListLexiconsPaginator#
Type annotations and code completion for boto3.client("polly").get_paginator("list_lexicons").
 boto3 documentation
# ListLexiconsPaginator usage example
from boto3.session import Session
from types_boto3_polly.paginator import ListLexiconsPaginator
def get_list_lexicons_paginator() -> ListLexiconsPaginator:
    return Session().client("polly").get_paginator("list_lexicons")# ListLexiconsPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_polly.paginator import ListLexiconsPaginator
session = Session()
client = Session().client("polly")  # (1)
paginator: ListLexiconsPaginator = client.get_paginator("list_lexicons")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)- client: PollyClient
- paginator: ListLexiconsPaginator
- item: PageIterator[ListLexiconsOutputTypeDef]
paginate#
Type annotations and code completion for ListLexiconsPaginator.paginate method.
# paginate method definition
def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> botocore.paginate.PageIterator[ListLexiconsOutputTypeDef]:  # (2)
    ...- See PaginatorConfigTypeDef
- See PageIterator[ListLexiconsOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListLexiconsInputPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}
parent.paginate(**kwargs)ListSpeechSynthesisTasksPaginator#
Type annotations and code completion for boto3.client("polly").get_paginator("list_speech_synthesis_tasks").
 boto3 documentation
# ListSpeechSynthesisTasksPaginator usage example
from boto3.session import Session
from types_boto3_polly.paginator import ListSpeechSynthesisTasksPaginator
def get_list_speech_synthesis_tasks_paginator() -> ListSpeechSynthesisTasksPaginator:
    return Session().client("polly").get_paginator("list_speech_synthesis_tasks")# ListSpeechSynthesisTasksPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_polly.paginator import ListSpeechSynthesisTasksPaginator
session = Session()
client = Session().client("polly")  # (1)
paginator: ListSpeechSynthesisTasksPaginator = client.get_paginator("list_speech_synthesis_tasks")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)- client: PollyClient
- paginator: ListSpeechSynthesisTasksPaginator
- item: PageIterator[ListSpeechSynthesisTasksOutputTypeDef]
paginate#
Type annotations and code completion for ListSpeechSynthesisTasksPaginator.paginate method.
# paginate method definition
def paginate(
    self,
    *,
    Status: TaskStatusType = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> botocore.paginate.PageIterator[ListSpeechSynthesisTasksOutputTypeDef]:  # (3)
    ...- See TaskStatusType
- See PaginatorConfigTypeDef
- See PageIterator[ListSpeechSynthesisTasksOutputTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListSpeechSynthesisTasksInputPaginateTypeDef = {  # (1)
    "Status": ...,
}
parent.paginate(**kwargs)