Skip to content

Paginators#

Index > CloudWatchInternetMonitor > Paginators

Auto-generated documentation for CloudWatchInternetMonitor type annotations stubs module mypy-boto3-internetmonitor.

ListHealthEventsPaginator#

Type annotations and code completion for boto3.client("internetmonitor").get_paginator("list_health_events"). boto3 documentation

# ListHealthEventsPaginator usage example

from boto3.session import Session

from mypy_boto3_internetmonitor.paginator import ListHealthEventsPaginator

def get_list_health_events_paginator() -> ListHealthEventsPaginator:
    return Session().client("internetmonitor").get_paginator("list_health_events")
# ListHealthEventsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_internetmonitor.paginator import ListHealthEventsPaginator

session = Session()

client = Session().client("internetmonitor")  # (1)
paginator: ListHealthEventsPaginator = client.get_paginator("list_health_events")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CloudWatchInternetMonitorClient
  2. paginator: ListHealthEventsPaginator
  3. item: ListHealthEventsOutputTypeDef

paginate#

Type annotations and code completion for ListHealthEventsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    MonitorName: str,
    StartTime: TimestampTypeDef = ...,
    EndTime: TimestampTypeDef = ...,
    EventStatus: HealthEventStatusType = ...,  # (1)
    LinkedAccountId: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> PageIterator[ListHealthEventsOutputTypeDef]:  # (3)
    ...
  1. See HealthEventStatusType
  2. See PaginatorConfigTypeDef
  3. See ListHealthEventsOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListHealthEventsInputPaginateTypeDef = {  # (1)
    "MonitorName": ...,
}

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

ListInternetEventsPaginator#

Type annotations and code completion for boto3.client("internetmonitor").get_paginator("list_internet_events"). boto3 documentation

# ListInternetEventsPaginator usage example

from boto3.session import Session

from mypy_boto3_internetmonitor.paginator import ListInternetEventsPaginator

def get_list_internet_events_paginator() -> ListInternetEventsPaginator:
    return Session().client("internetmonitor").get_paginator("list_internet_events")
# ListInternetEventsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_internetmonitor.paginator import ListInternetEventsPaginator

session = Session()

client = Session().client("internetmonitor")  # (1)
paginator: ListInternetEventsPaginator = client.get_paginator("list_internet_events")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CloudWatchInternetMonitorClient
  2. paginator: ListInternetEventsPaginator
  3. item: ListInternetEventsOutputTypeDef

paginate#

Type annotations and code completion for ListInternetEventsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    StartTime: TimestampTypeDef = ...,
    EndTime: TimestampTypeDef = ...,
    EventStatus: str = ...,
    EventType: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> PageIterator[ListInternetEventsOutputTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListInternetEventsOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListInternetEventsInputPaginateTypeDef = {  # (1)
    "StartTime": ...,
}

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

ListMonitorsPaginator#

Type annotations and code completion for boto3.client("internetmonitor").get_paginator("list_monitors"). boto3 documentation

# ListMonitorsPaginator usage example

from boto3.session import Session

from mypy_boto3_internetmonitor.paginator import ListMonitorsPaginator

def get_list_monitors_paginator() -> ListMonitorsPaginator:
    return Session().client("internetmonitor").get_paginator("list_monitors")
# ListMonitorsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_internetmonitor.paginator import ListMonitorsPaginator

session = Session()

client = Session().client("internetmonitor")  # (1)
paginator: ListMonitorsPaginator = client.get_paginator("list_monitors")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: CloudWatchInternetMonitorClient
  2. paginator: ListMonitorsPaginator
  3. item: ListMonitorsOutputTypeDef

paginate#

Type annotations and code completion for ListMonitorsPaginator.paginate method.

# paginate method definition

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

kwargs: ListMonitorsInputPaginateTypeDef = {  # (1)
    "MonitorStatus": ...,
}

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