Paginators#
Index > CloudWatchLogs > Paginators
Auto-generated documentation for CloudWatchLogs type annotations stubs module mypy-boto3-logs.
DescribeConfigurationTemplatesPaginator#
Type annotations and code completion for boto3.client("logs").get_paginator("describe_configuration_templates")
.
boto3 documentation
# DescribeConfigurationTemplatesPaginator usage example
from boto3.session import Session
from mypy_boto3_logs.paginator import DescribeConfigurationTemplatesPaginator
def get_describe_configuration_templates_paginator() -> DescribeConfigurationTemplatesPaginator:
return Session().client("logs").get_paginator("describe_configuration_templates")
# DescribeConfigurationTemplatesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_logs.paginator import DescribeConfigurationTemplatesPaginator
session = Session()
client = Session().client("logs") # (1)
paginator: DescribeConfigurationTemplatesPaginator = client.get_paginator("describe_configuration_templates") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchLogsClient
- paginator: DescribeConfigurationTemplatesPaginator
- item: DescribeConfigurationTemplatesResponseTypeDef
paginate#
Type annotations and code completion for DescribeConfigurationTemplatesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
service: str = ...,
logTypes: Sequence[str] = ...,
resourceTypes: Sequence[str] = ...,
deliveryDestinationTypes: Sequence[DeliveryDestinationTypeType] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[DescribeConfigurationTemplatesResponseTypeDef]: # (3)
...
- See DeliveryDestinationTypeType
- See PaginatorConfigTypeDef
- See DescribeConfigurationTemplatesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: DescribeConfigurationTemplatesRequestDescribeConfigurationTemplatesPaginateTypeDef = { # (1)
"service": ...,
}
parent.paginate(**kwargs)
DescribeDeliveriesPaginator#
Type annotations and code completion for boto3.client("logs").get_paginator("describe_deliveries")
.
boto3 documentation
# DescribeDeliveriesPaginator usage example
from boto3.session import Session
from mypy_boto3_logs.paginator import DescribeDeliveriesPaginator
def get_describe_deliveries_paginator() -> DescribeDeliveriesPaginator:
return Session().client("logs").get_paginator("describe_deliveries")
# DescribeDeliveriesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_logs.paginator import DescribeDeliveriesPaginator
session = Session()
client = Session().client("logs") # (1)
paginator: DescribeDeliveriesPaginator = client.get_paginator("describe_deliveries") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchLogsClient
- paginator: DescribeDeliveriesPaginator
- item: DescribeDeliveriesResponseTypeDef
paginate#
Type annotations and code completion for DescribeDeliveriesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[DescribeDeliveriesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeDeliveriesRequestDescribeDeliveriesPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
DescribeDeliveryDestinationsPaginator#
Type annotations and code completion for boto3.client("logs").get_paginator("describe_delivery_destinations")
.
boto3 documentation
# DescribeDeliveryDestinationsPaginator usage example
from boto3.session import Session
from mypy_boto3_logs.paginator import DescribeDeliveryDestinationsPaginator
def get_describe_delivery_destinations_paginator() -> DescribeDeliveryDestinationsPaginator:
return Session().client("logs").get_paginator("describe_delivery_destinations")
# DescribeDeliveryDestinationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_logs.paginator import DescribeDeliveryDestinationsPaginator
session = Session()
client = Session().client("logs") # (1)
paginator: DescribeDeliveryDestinationsPaginator = client.get_paginator("describe_delivery_destinations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchLogsClient
- paginator: DescribeDeliveryDestinationsPaginator
- item: DescribeDeliveryDestinationsResponseTypeDef
paginate#
Type annotations and code completion for DescribeDeliveryDestinationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[DescribeDeliveryDestinationsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeDeliveryDestinationsRequestDescribeDeliveryDestinationsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
DescribeDeliverySourcesPaginator#
Type annotations and code completion for boto3.client("logs").get_paginator("describe_delivery_sources")
.
boto3 documentation
# DescribeDeliverySourcesPaginator usage example
from boto3.session import Session
from mypy_boto3_logs.paginator import DescribeDeliverySo