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)
- client: KafkaConnectClient
- paginator: ListConnectorsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListConnectorsRequestListConnectorsPaginateTypeDef = { # (1)
"connectorNamePrefix": ...,
}
parent.paginate(**kwargs)
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)
- client: KafkaConnectClient
- paginator: ListCustomPluginsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListCustomPluginsRequestListCustomPluginsPaginateTypeDef = { # (1)
"namePrefix": ...,
}
parent.paginate(**kwargs)
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)
- client: KafkaConnectClient
- paginator: ListWorkerConfigurationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListWorkerConfigurationsRequestListWorkerConfigurationsPaginateTypeDef = { # (1)
"namePrefix": ...,
}
parent.paginate(**kwargs)