Skip to content

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)
  1. client: CloudWatchObservabilityAccessManagerClient
  2. paginator: ListAttachedLinksPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAttachedLinksOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAttachedLinksInputListAttachedLinksPaginateTypeDef = {  # (1)
    "SinkIdentifier": ...,
}

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

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)
  1. client: CloudWatchObservabilityAccessManagerClient
  2. paginator: ListLinksPaginator
  3. item: ListLinksOutputTypeDef

paginate#

Type annotations and code completion for ListLinksPaginator.paginate method.

# paginate method definition

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

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

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

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)
  1. client: CloudWatchObservabilityAccessManagerClient
  2. paginator: ListSinksPaginator
  3. item: ListSinksOutputTypeDef

paginate#

Type annotations and code completion for ListSinksPaginator.paginate method.

# paginate method definition

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

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

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