Skip to content

Paginators#

Index > KafkaConnect > Paginators

Auto-generated documentation for KafkaConnect type annotations stubs module mypy-boto3-kafkaconnect.

ListConnectorsPaginator#

Type annotations and code completion for boto3.client("kafkaconnect").get_paginator("list_connectors"). boto3 documentation

# ListConnectorsPaginator usage example

from boto3.session import Session

from mypy_boto3_kafkaconnect.paginator import ListConnectorsPaginator

def get_list_connectors_paginator() -> ListConnectorsPaginator:
    return Session().client("kafkaconnect").get_paginator("list_connectors")
# ListConnectorsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_kafkaconnect.paginator import ListConnectorsPaginator

session = Session()

client = Session().client("kafkaconnect")  # (1)
paginator: ListConnectorsPaginator = client.get_paginator("list_connectors")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: KafkaConnectClient
  2. paginator: ListConnectorsPaginator
  3. item: ListConnectorsResponseTypeDef

paginate#

Type annotations and code completion for ListConnectorsPaginator.paginate method.

# paginate method definition

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

kwargs: ListConnectorsRequestPaginateTypeDef = {  # (1)
    "connectorNamePrefix": ...,
}

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

ListCustomPluginsPaginator#

Type annotations and code completion for boto3.client("kafkaconnect").get_paginator("list_custom_plugins"). boto3 documentation

# ListCustomPluginsPaginator usage example

from boto3.session import Session

from mypy_boto3_kafkaconnect.paginator import ListCustomPluginsPaginator

def get_list_custom_plugins_paginator() -> ListCustomPluginsPaginator:
    return Session().client("kafkaconnect").get_paginator("list_custom_plugins")
# ListCustomPluginsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_kafkaconnect.paginator import ListCustomPluginsPaginator

session = Session()

client = Session().client("kafkaconnect")  # (1)
paginator: ListCustomPluginsPaginator = client.get_paginator("list_custom_plugins")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: KafkaConnectClient
  2. paginator: ListCustomPluginsPaginator
  3. item: ListCustomPluginsResponseTypeDef

paginate#

Type annotations and code completion for ListCustomPluginsPaginator.paginate method.

# paginate method definition

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

kwargs: ListCustomPluginsRequestPaginateTypeDef = {  # (1)
    "namePrefix": ...,
}

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

ListWorkerConfigurationsPaginator#

Type annotations and code completion for boto3.client("kafkaconnect").get_paginator("list_worker_configurations"). boto3 documentation

# ListWorkerConfigurationsPaginator usage example

from boto3.session import Session

from mypy_boto3_kafkaconnect.paginator import ListWorkerConfigurationsPaginator

def get_list_worker_configurations_paginator() -> ListWorkerConfigurationsPaginator:
    return Session().client("kafkaconnect").get_paginator("list_worker_configurations")
# ListWorkerConfigurationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_kafkaconnect.paginator import ListWorkerConfigurationsPaginator

session = Session()

client = Session().client("kafkaconnect")  # (1)
paginator: ListWorkerConfigurationsPaginator = client.get_paginator("list_worker_configurations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: KafkaConnectClient
  2. paginator: ListWorkerConfigurationsPaginator
  3. item: ListWorkerConfigurationsResponseTypeDef

paginate#

Type annotations and code completion for ListWorkerConfigurationsPaginator.paginate method.

# paginate method definition

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

kwargs: ListWorkerConfigurationsRequestPaginateTypeDef = {  # (1)
    "namePrefix": ...,
}

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