Skip to content

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)
  1. client: CloudWatchLogsClient
  2. paginator: DescribeConfigurationTemplatesPaginator
  3. 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)
    ...
  1. See DeliveryDestinationTypeType
  2. See PaginatorConfigTypeDef
  3. See DescribeConfigurationTemplatesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeConfigurationTemplatesRequestDescribeConfigurationTemplatesPaginateTypeDef = {  # (1)
    "service": ...,
}

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

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)
  1. client: CloudWatchLogsClient
  2. paginator: DescribeDeliveriesPaginator
  3. item: DescribeDeliveriesResponseTypeDef

paginate#

Type annotations and code completion for DescribeDeliveriesPaginator.paginate method.

# paginate method definition

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

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

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

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)
  1. client: CloudWatchLogsClient
  2. paginator: DescribeDeliveryDestinationsPaginator
  3. item: DescribeDeliveryDestinationsResponseTypeDef

paginate#

Type annotations and code completion for DescribeDeliveryDestinationsPaginator.paginate method.

# paginate method definition

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

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

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

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