Skip to content

Paginators#

Index > PartnerCentralChannelAPI > Paginators

Auto-generated documentation for PartnerCentralChannelAPI type annotations stubs module mypy-boto3-partnercentral-channel.

ListChannelHandshakesPaginator#

Type annotations and code completion for boto3.client("partnercentral-channel").get_paginator("list_channel_handshakes"). boto3 documentation

# ListChannelHandshakesPaginator usage example

from boto3.session import Session

from mypy_boto3_partnercentral_channel.paginator import ListChannelHandshakesPaginator

def get_list_channel_handshakes_paginator() -> ListChannelHandshakesPaginator:
    return Session().client("partnercentral-channel").get_paginator("list_channel_handshakes")
# ListChannelHandshakesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_partnercentral_channel.paginator import ListChannelHandshakesPaginator

session = Session()

client = Session().client("partnercentral-channel")  # (1)
paginator: ListChannelHandshakesPaginator = client.get_paginator("list_channel_handshakes")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: PartnerCentralChannelAPIClient
  2. paginator: ListChannelHandshakesPaginator
  3. item: PageIterator[ListChannelHandshakesResponseTypeDef]

paginate#

Type annotations and code completion for ListChannelHandshakesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    handshakeType: HandshakeTypeType,  # (1)
    catalog: str,
    participantType: ParticipantTypeType,  # (2)
    statuses: Sequence[HandshakeStatusType] = ...,  # (3)
    associatedResourceIdentifiers: Sequence[str] = ...,
    handshakeTypeFilters: ListChannelHandshakesTypeFiltersTypeDef = ...,  # (4)
    handshakeTypeSort: ListChannelHandshakesTypeSortTypeDef = ...,  # (5)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (6)
) -> botocore.paginate.PageIterator[ListChannelHandshakesResponseTypeDef]:  # (7)
    ...
  1. See HandshakeTypeType
  2. See ParticipantTypeType
  3. See Sequence[HandshakeStatusType]
  4. See ListChannelHandshakesTypeFiltersTypeDef
  5. See ListChannelHandshakesTypeSortTypeDef
  6. See PaginatorConfigTypeDef
  7. See PageIterator[ListChannelHandshakesResponseTypeDef]
# paginate method usage example with argument unpacking

kwargs: ListChannelHandshakesRequestPaginateTypeDef = {  # (1)
    "handshakeType": ...,
    "catalog": ...,
    "participantType": ...,
}

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

ListProgramManagementAccountsPaginator#

Type annotations and code completion for boto3.client("partnercentral-channel").get_paginator("list_program_management_accounts"). boto3 documentation

# ListProgramManagementAccountsPaginator usage example

from boto3.session import Session

from mypy_boto3_partnercentral_channel.paginator import ListProgramManagementAccountsPaginator

def get_list_program_management_accounts_paginator() -> ListProgramManagementAccountsPaginator:
    return Session().client("partnercentral-channel").get_paginator("list_program_management_accounts")
# ListProgramManagementAccountsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_partnercentral_channel.paginator import ListProgramManagementAccountsPaginator

session = Session()

client = Session().client("partnercentral-channel")  # (1)
paginator: ListProgramManagementAccountsPaginator = client.get_paginator("list_program_management_accounts")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: PartnerCentralChannelAPIClient
  2. paginator: ListProgramManagementAccountsPaginator
  3. item: PageIterator[ListProgramManagementAccountsResponseTypeDef]

paginate#

Type annotations and code completion for ListProgramManagementAccountsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    catalog: str,
    displayNames: Sequence[str] = ...,
    programs: Sequence[ProgramType] = ...,  # (1)
    accountIds: Sequence[str] = ...,
    statuses: Sequence[ProgramManagementAccountStatusType] = ...,  # (2)
    sort: ListProgramManagementAccountsSortBaseTypeDef = ...,  # (3)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (4)
) -> botocore.paginate.PageIterator[ListProgramManagementAccountsResponseTypeDef]:  # (5)
    ...
  1. See Sequence[ProgramType]
  2. See Sequence[ProgramManagementAccountStatusType]
  3. See ListProgramManagementAccountsSortBaseTypeDef
  4. See PaginatorConfigTypeDef
  5. See PageIterator[ListProgramManagementAccountsResponseTypeDef]
# paginate method usage example with argument unpacking

kwargs: ListProgramManagementAccountsRequestPaginateTypeDef = {  # (1)
    "catalog": ...,
}

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

ListRelationshipsPaginator#

Type annotations and code completion for boto3.client("partnercentral-channel").get_paginator("list_relationships"). boto3 documentation

# ListRelationshipsPaginator usage example

from boto3.session import Session

from mypy_boto3_partnercentral_channel.paginator import ListRelationshipsPaginator

def get_list_relationships_paginator() -> ListRelationshipsPaginator:
    return Session().client("partnercentral-channel").get_paginator("list_relationships")
# ListRelationshipsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_partnercentral_channel.paginator import ListRelationshipsPaginator

session = Session()

client = Session().client("partnercentral-channel")  # (1)
paginator: ListRelationshipsPaginator = client.get_paginator("list_relationships")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: PartnerCentralChannelAPIClient
  2. paginator: ListRelationshipsPaginator
  3. item: PageIterator[ListRelationshipsResponseTypeDef]

paginate#

Type annotations and code completion for ListRelationshipsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    catalog: str,
    associatedAccountIds: Sequence[str] = ...,
    associationTypes: Sequence[AssociationTypeType] = ...,  # (1)
    displayNames: Sequence[str] = ...,
    programManagementAccountIdentifiers: Sequence[str] = ...,
    sort: ListRelationshipsSortBaseTypeDef = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> botocore.paginate.PageIterator[ListRelationshipsResponseTypeDef]:  # (4)
    ...
  1. See Sequence[AssociationTypeType]
  2. See ListRelationshipsSortBaseTypeDef
  3. See PaginatorConfigTypeDef
  4. See PageIterator[ListRelationshipsResponseTypeDef]
# paginate method usage example with argument unpacking

kwargs: ListRelationshipsRequestPaginateTypeDef = {  # (1)
    "catalog": ...,
}

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