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: ListClusterOperationsResponsePaginatorTypeDef

paginate#

Type annotations and code completion for ListClusterOperationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ClusterArn: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListClusterOperationsResponsePaginatorTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListClusterOperationsResponsePaginatorTypeDef
# 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: ListClustersResponsePaginatorTypeDef

paginate#

Type annotations and code completion for ListClustersPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ClusterNameFilter: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListClustersResponsePaginatorTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListClustersResponsePaginatorTypeDef
# 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: ListClustersV2ResponsePaginatorTypeDef

paginate#

Type annotations and code completion for ListClustersV2Paginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ClusterNameFilter: str = ...,
    ClusterTypeFilter: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListClustersV2ResponsePaginatorTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListClustersV2ResponsePaginatorTypeDef
# 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"). boto3 documentation

# ListConfigurationRevisionsPaginator usage example

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListConfigurationRevisionsPaginator

def get_list_configuration_revisions_paginator() -> ListConfigurationRevisionsPaginator:
    return Session().client("kafka").get_paginator("list_configuration_revisions")
# ListConfigurationRevisionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListConfigurationRevisionsPaginator

session = Session()

client = Session().client("kafka")  # (1)
paginator: ListConfigurationRevisionsPaginator = client.get_paginator("list_configuration_revisions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: KafkaClient
  2. paginator: ListConfigurationRevisionsPaginator
  3. item: ListConfigurationRevisionsResponseTypeDef

paginate#

Type annotations and code completion for ListConfigurationRevisionsPaginator.paginate method.

# paginate method definition

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

kwargs: ListConfigurationRevisionsRequestListConfigurationRevisionsPaginateTypeDef = {  # (1)
    "Arn": ...,
}

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

ListConfigurationsPaginator#

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

# ListConfigurationsPaginator usage example

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListConfigurationsPaginator

def get_list_configurations_paginator() -> ListConfigurationsPaginator:
    return Session().client("kafka").get_paginator("list_configurations")
# ListConfigurationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListConfigurationsPaginator

session = Session()

client = Session().client("kafka")  # (1)
paginator: ListConfigurationsPaginator = client.get_paginator("list_configurations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: KafkaClient
  2. paginator: ListConfigurationsPaginator
  3. item: ListConfigurationsResponseTypeDef

paginate#

Type annotations and code completion for ListConfigurationsPaginator.paginate method.

# paginate method definition

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

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

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

ListKafkaVersionsPaginator#

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

# ListKafkaVersionsPaginator usage example

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListKafkaVersionsPaginator

def get_list_kafka_versions_paginator() -> ListKafkaVersionsPaginator:
    return Session().client("kafka").get_paginator("list_kafka_versions")
# ListKafkaVersionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListKafkaVersionsPaginator

session = Session()

client = Session().client("kafka")  # (1)
paginator: ListKafkaVersionsPaginator = client.get_paginator("list_kafka_versions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: KafkaClient
  2. paginator: ListKafkaVersionsPaginator
  3. item: ListKafkaVersionsResponseTypeDef

paginate#

Type annotations and code completion for ListKafkaVersionsPaginator.paginate method.

# paginate method definition

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

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

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

ListNodesPaginator#

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

# ListNodesPaginator usage example

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListNodesPaginator

def get_list_nodes_paginator() -> ListNodesPaginator:
    return Session().client("kafka").get_paginator("list_nodes")
# ListNodesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListNodesPaginator

session = Session()

client = Session().client("kafka")  # (1)
paginator: ListNodesPaginator = client.get_paginator("list_nodes")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: KafkaClient
  2. paginator: ListNodesPaginator
  3. item: ListNodesResponseTypeDef

paginate#

Type annotations and code completion for ListNodesPaginator.paginate method.

# paginate method definition

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

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

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

ListReplicatorsPaginator#

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

# ListReplicatorsPaginator usage example

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListReplicatorsPaginator

def get_list_replicators_paginator() -> ListReplicatorsPaginator:
    return Session().client("kafka").get_paginator("list_replicators")
# ListReplicatorsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_kafka.paginator import ListReplicatorsPaginator

session = Session()

client = Session().client("kafka")  # (1)
paginator: ListReplicatorsPaginator = client.get_paginator("list_replicators")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: KafkaClient
  2. paginator: ListReplicatorsPaginator
  3. item: ListReplicatorsResponseTypeDef

paginate#

Type annotations and code completion for ListReplicatorsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ReplicatorNameFilter: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListReplicatorsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListReplicatorsResponseTypeDef