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)
- client: CloudWatchInternetMonitorClient
- paginator: ListHealthEventsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListHealthEventsInputPaginateTypeDef = { # (1)
"MonitorName": ...,
}
parent.paginate(**kwargs)
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)
- client: CloudWatchInternetMonitorClient
- paginator: ListInternetEventsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListInternetEventsInputPaginateTypeDef = { # (1)
"StartTime": ...,
}
parent.paginate(**kwargs)
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)
- client: CloudWatchInternetMonitorClient
- paginator: ListMonitorsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListMonitorsInputPaginateTypeDef = { # (1)
"MonitorStatus": ...,
}
parent.paginate(**kwargs)