Skip to content

Paginators#

Index > Kafka > Paginators

Auto-generated documentation for Kafka type annotations stubs module mypy-boto3-kafka.

ListClientVpcConnectionsPaginator#

Type annotations and code completion for boto3.client("kafka").get_paginator("list_client_vpc_connections"). boto3 documentation

# ListClientVpcConnectionsPaginator usage example

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListClientVpcConnectionsPaginator

def get_list_client_vpc_connections_paginator() -> ListClientVpcConnectionsPaginator:
    return Session().client("kafka").get_paginator("list_client_vpc_connections")
# ListClientVpcConnectionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListClientVpcConnectionsPaginator

session = Session()

client = Session().client("kafka")  # (1)
paginator: ListClientVpcConnectionsPaginator = client.get_paginator("list_client_vpc_connections")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: KafkaClient
  2. paginator: ListClientVpcConnectionsPaginator
  3. item: ListClientVpcConnectionsResponseTypeDef

paginate#

Type annotations and code completion for ListClientVpcConnectionsPaginator.paginate method.

# paginate method definition

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

kwargs: ListClientVpcConnectionsRequestListClientVpcConnectionsPaginateTypeDef = {  # (1)
    "ClusterArn": ...,
}

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

ListClusterOperationsPaginator#

Type annotations and code completion for boto3.client("kafka").get_paginator("list_cluster_operations"). boto3 documentation

# ListClusterOperationsPaginator usage example

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListClusterOperationsPaginator

def get_list_cluster_operations_paginator() -> ListClusterOperationsPaginator:
    return Session().client("kafka").get_paginator("list_cluster_operations")
# ListClusterOperationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListClusterOperationsPaginator

session = Session()

client = Session().client("kafka")  # (1)
paginator: ListClusterOperationsPaginator = client.get_paginator("list_cluster_operations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: KafkaClient
  2. paginator: ListClusterOperationsPaginator
  3. item: ListClusterOperationsResponseTypeDef

paginate#

Type annotations and code completion for ListClusterOperationsPaginator.paginate method.

# paginate method definition

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

kwargs: ListClusterOperationsRequestListClusterOperationsPaginateTypeDef = {  # (1)
    "ClusterArn": ...,
}

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

ListClusterOperationsV2Paginator#

Type annotations and code completion for boto3.client("kafka").get_paginator("list_cluster_operations_v2"). boto3 documentation

# ListClusterOperationsV2Paginator usage example

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListClusterOperationsV2Paginator

def get_list_cluster_operations_v2_paginator() -> ListClusterOperationsV2Paginator:
    return Session().client("kafka").get_paginator("list_cluster_operations_v2")
# ListClusterOperationsV2Paginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListClusterOperationsV2Paginator

session = Session()

client = Session().client("kafka")  # (1)
paginator: ListClusterOperationsV2Paginator = client.get_paginator("list_cluster_operations_v2")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: KafkaClient
  2. paginator: ListClusterOperationsV2Paginator
  3. item: ListClusterOperationsV2ResponseTypeDef

paginate#

Type annotations and code completion for ListClusterOperationsV2Paginator.paginate method.

# paginate method definition

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

kwargs: ListClusterOperationsV2RequestListClusterOperationsV2PaginateTypeDef = {  # (1)
    "ClusterArn": ...,
}

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

ListClustersPaginator#

Type annotations and code completion for boto3.client("kafka").get_paginator("list_clusters"). boto3 documentation

# ListClustersPaginator usage example

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListClustersPaginator

def get_list_clusters_paginator() -> ListClustersPaginator:
    return Session().client("kafka").get_paginator("list_clusters")
# ListClustersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListClustersPaginator

session = Session()

client = Session().client("kafka")  # (1)
paginator: ListClustersPaginator = client.get_paginator("list_clusters")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: KafkaClient
  2. paginator: ListClustersPaginator
  3. item: ListClustersResponseTypeDef

paginate#

Type annotations and code completion for ListClustersPaginator.paginate method.

# paginate method definition

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

kwargs: ListClustersRequestListClustersPaginateTypeDef = {  # (1)
    "ClusterNameFilter": ...,
}

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

ListClustersV2Paginator#

Type annotations and code completion for boto3.client("kafka").get_paginator("list_clusters_v2"). boto3 documentation

# ListClustersV2Paginator usage example

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListClustersV2Paginator

def get_list_clusters_v2_paginator() -> ListClustersV2Paginator:
    return Session().client("kafka").get_paginator("list_clusters_v2")
# ListClustersV2Paginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListClustersV2Paginator

session = Session()

client = Session().client("kafka")  # (1)
paginator: ListClustersV2Paginator = client.get_paginator("list_clusters_v2")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: KafkaClient
  2. paginator: ListClustersV2Paginator
  3. item: ListClustersV2ResponseTypeDef

paginate#

Type annotations and code completion for ListClustersV2Paginator.paginate method.

# paginate method definition

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

kwargs: ListClustersV2RequestListClustersV2PaginateTypeDef = {  # (1)
    "ClusterNameFilter": ...,
}

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

ListConfigurationRevisionsPaginator#

Type annotations and code completion for boto3.client("kafka").get_paginator("list_configuration_revisions").