Skip to content

Paginators#

Index > VoiceID > Paginators

Auto-generated documentation for VoiceID type annotations stubs module mypy-boto3-voice-id.

ListDomainsPaginator#

Type annotations and code completion for boto3.client("voice-id").get_paginator("list_domains"). boto3 documentation

# ListDomainsPaginator usage example

from boto3.session import Session

from mypy_boto3_voice_id.paginator import ListDomainsPaginator

def get_list_domains_paginator() -> ListDomainsPaginator:
    return Session().client("voice-id").get_paginator("list_domains")
# ListDomainsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_voice_id.paginator import ListDomainsPaginator

session = Session()

client = Session().client("voice-id")  # (1)
paginator: ListDomainsPaginator = client.get_paginator("list_domains")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: VoiceIDClient
  2. paginator: ListDomainsPaginator
  3. item: ListDomainsResponseTypeDef

paginate#

Type annotations and code completion for ListDomainsPaginator.paginate method.

# paginate method definition

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

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

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

ListFraudsterRegistrationJobsPaginator#

Type annotations and code completion for boto3.client("voice-id").get_paginator("list_fraudster_registration_jobs").