Skip to content

Paginators#

Index > Billing > Paginators

Auto-generated documentation for Billing type annotations stubs module mypy-boto3-billing.

ListBillingViewsPaginator#

Type annotations and code completion for boto3.client("billing").get_paginator("list_billing_views"). boto3 documentation

# ListBillingViewsPaginator usage example

from boto3.session import Session

from mypy_boto3_billing.paginator import ListBillingViewsPaginator

def get_list_billing_views_paginator() -> ListBillingViewsPaginator:
    return Session().client("billing").get_paginator("list_billing_views")
# ListBillingViewsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_billing.paginator import ListBillingViewsPaginator

session = Session()

client = Session().client("billing")  # (1)
paginator: ListBillingViewsPaginator = client.get_paginator("list_billing_views")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BillingClient
  2. paginator: ListBillingViewsPaginator
  3. item: ListBillingViewsResponseTypeDef

paginate#

Type annotations and code completion for ListBillingViewsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    activeTimeRange: ActiveTimeRangeTypeDef = ...,  # (1)
    arns: Sequence[str] = ...,
    billingViewTypes: Sequence[BillingViewTypeType] = ...,  # (2)
    ownerAccountId: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> PageIterator[ListBillingViewsResponseTypeDef]:  # (4)
    ...
  1. See ActiveTimeRangeTypeDef
  2. See BillingViewTypeType
  3. See PaginatorConfigTypeDef
  4. See ListBillingViewsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListBillingViewsRequestPaginateTypeDef = {  # (1)
    "activeTimeRange": ...,
}

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

ListSourceViewsForBillingViewPaginator#

Type annotations and code completion for boto3.client("billing").get_paginator("list_source_views_for_billing_view"). boto3 documentation

# ListSourceViewsForBillingViewPaginator usage example

from boto3.session import Session

from mypy_boto3_billing.paginator import ListSourceViewsForBillingViewPaginator

def get_list_source_views_for_billing_view_paginator() -> ListSourceViewsForBillingViewPaginator:
    return Session().client("billing").get_paginator("list_source_views_for_billing_view")
# ListSourceViewsForBillingViewPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_billing.paginator import ListSourceViewsForBillingViewPaginator

session = Session()

client = Session().client("billing")  # (1)
paginator: ListSourceViewsForBillingViewPaginator = client.get_paginator("list_source_views_for_billing_view")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BillingClient
  2. paginator: ListSourceViewsForBillingViewPaginator
  3. item: ListSourceViewsForBillingViewResponseTypeDef

paginate#

Type annotations and code completion for ListSourceViewsForBillingViewPaginator.paginate method.

# paginate method definition

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

kwargs: ListSourceViewsForBillingViewRequestPaginateTypeDef = {  # (1)
    "arn": ...,
}

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