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)
- client: BillingClient
- paginator: ListBillingViewsPaginator
- item: ListBillingViewsResponseTypeDef
paginate#
Type annotations and code completion for ListBillingViewsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
activeTimeRange: ActiveTimeRangeTypeDef, # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListBillingViewsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListBillingViewsRequestListBillingViewsPaginateTypeDef = { # (1)
"activeTimeRange": ...,
}
parent.paginate(**kwargs)