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)
arns: Sequence[str] = ...,
billingViewTypes: Sequence[BillingViewTypeType] = ..., # (2)
ownerAccountId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (3)
) -> PageIterator[ListBillingViewsResponseTypeDef]: # (4)
...
- See ActiveTimeRangeTypeDef
- See BillingViewTypeType
- See PaginatorConfigTypeDef
- See ListBillingViewsResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListBillingViewsRequestPaginateTypeDef = { # (1)
"activeTimeRange": ...,
}
parent.paginate(**kwargs)
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)
- client: BillingClient
- paginator: ListSourceViewsForBillingViewPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListSourceViewsForBillingViewRequestPaginateTypeDef = { # (1)
"arn": ...,
}
parent.paginate(**kwargs)