Paginators#
Auto-generated documentation for Invoicing type annotations stubs module mypy-boto3-invoicing.
ListInvoiceUnitsPaginator#
Type annotations and code completion for boto3.client("invoicing").get_paginator("list_invoice_units")
.
boto3 documentation
# ListInvoiceUnitsPaginator usage example
from boto3.session import Session
from mypy_boto3_invoicing.paginator import ListInvoiceUnitsPaginator
def get_list_invoice_units_paginator() -> ListInvoiceUnitsPaginator:
return Session().client("invoicing").get_paginator("list_invoice_units")
# ListInvoiceUnitsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_invoicing.paginator import ListInvoiceUnitsPaginator
session = Session()
client = Session().client("invoicing") # (1)
paginator: ListInvoiceUnitsPaginator = client.get_paginator("list_invoice_units") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: InvoicingClient
- paginator: ListInvoiceUnitsPaginator
- item: ListInvoiceUnitsResponseTypeDef
paginate#
Type annotations and code completion for ListInvoiceUnitsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filters: FiltersTypeDef = ..., # (1)
AsOf: TimestampTypeDef = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListInvoiceUnitsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListInvoiceUnitsRequestListInvoiceUnitsPaginateTypeDef = { # (1)
"Filters": ...,
}
parent.paginate(**kwargs)