Paginators#
Index > CloudWatchObservabilityAccessManager > Paginators
Auto-generated documentation for CloudWatchObservabilityAccessManager type annotations stubs module mypy-boto3-oam.
ListAttachedLinksPaginator#
Type annotations and code completion for boto3.client("oam").get_paginator("list_attached_links")
.
boto3 documentation
# ListAttachedLinksPaginator usage example
from boto3.session import Session
from mypy_boto3_oam.paginator import ListAttachedLinksPaginator
def get_list_attached_links_paginator() -> ListAttachedLinksPaginator:
return Session().client("oam").get_paginator("list_attached_links")
# ListAttachedLinksPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_oam.paginator import ListAttachedLinksPaginator
session = Session()
client = Session().client("oam") # (1)
paginator: ListAttachedLinksPaginator = client.get_paginator("list_attached_links") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchObservabilityAccessManagerClient
- paginator: ListAttachedLinksPaginator
- item: ListAttachedLinksOutputTypeDef
paginate#
Type annotations and code completion for ListAttachedLinksPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
SinkIdentifier: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListAttachedLinksOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListAttachedLinksInputPaginateTypeDef = { # (1)
"SinkIdentifier": ...,
}
parent.paginate(**kwargs)
ListLinksPaginator#
Type annotations and code completion for boto3.client("oam").get_paginator("list_links")
.
boto3 documentation
# ListLinksPaginator usage example
from boto3.session import Session
from mypy_boto3_oam.paginator import ListLinksPaginator
def get_list_links_paginator() -> ListLinksPaginator:
return Session().client("oam").get_paginator("list_links")
# ListLinksPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_oam.paginator import ListLinksPaginator
session = Session()
client = Session().client("oam") # (1)
paginator: ListLinksPaginator = client.get_paginator("list_links") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchObservabilityAccessManagerClient
- paginator: ListLinksPaginator
- item: ListLinksOutputTypeDef
paginate#
Type annotations and code completion for ListLinksPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListLinksOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListLinksInputPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListSinksPaginator#
Type annotations and code completion for boto3.client("oam").get_paginator("list_sinks")
.
boto3 documentation
# ListSinksPaginator usage example
from boto3.session import Session
from mypy_boto3_oam.paginator import ListSinksPaginator
def get_list_sinks_paginator() -> ListSinksPaginator:
return Session().client("oam").get_paginator("list_sinks")
# ListSinksPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_oam.paginator import ListSinksPaginator
session = Session()
client = Session().client("oam") # (1)
paginator: ListSinksPaginator = client.get_paginator("list_sinks") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudWatchObservabilityAccessManagerClient
- paginator: ListSinksPaginator
- item: ListSinksOutputTypeDef
paginate#
Type annotations and code completion for ListSinksPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListSinksOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListSinksInputPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)