Paginators#
Auto-generated documentation for Pricing type annotations stubs module types-boto3-pricing.
DescribeServicesPaginator#
Type annotations and code completion for boto3.client("pricing").get_paginator("describe_services")
.
boto3 documentation
# DescribeServicesPaginator usage example
from boto3.session import Session
from types_boto3_pricing.paginator import DescribeServicesPaginator
def get_describe_services_paginator() -> DescribeServicesPaginator:
return Session().client("pricing").get_paginator("describe_services")
# DescribeServicesPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_pricing.paginator import DescribeServicesPaginator
session = Session()
client = Session().client("pricing") # (1)
paginator: DescribeServicesPaginator = client.get_paginator("describe_services") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: PricingClient
- paginator: DescribeServicesPaginator
- item: DescribeServicesResponseTypeDef
paginate#
Type annotations and code completion for DescribeServicesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ServiceCode: str = ...,
FormatVersion: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[DescribeServicesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: DescribeServicesRequestPaginateTypeDef = { # (1)
"ServiceCode": ...,
}
parent.paginate(**kwargs)
GetAttributeValuesPaginator#
Type annotations and code completion for boto3.client("pricing").get_paginator("get_attribute_values")
.
boto3 documentation
# GetAttributeValuesPaginator usage example
from boto3.session import Session
from types_boto3_pricing.paginator import GetAttributeValuesPaginator
def get_get_attribute_values_paginator() -> GetAttributeValuesPaginator:
return Session().client("pricing").get_paginator("get_attribute_values")
# GetAttributeValuesPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_pricing.paginator import GetAttributeValuesPaginator
session = Session()
client = Session().client("pricing") # (1)
paginator: GetAttributeValuesPaginator = client.get_paginator("get_attribute_values") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: PricingClient
- paginator: GetAttributeValuesPaginator
- item: GetAttributeValuesResponseTypeDef
paginate#
Type annotations and code completion for GetAttributeValuesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ServiceCode: str,
AttributeName: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[GetAttributeValuesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: GetAttributeValuesRequestPaginateTypeDef = { # (1)
"ServiceCode": ...,
"AttributeName": ...,
}
parent.paginate(**kwargs)
GetProductsPaginator#
Type annotations and code completion for boto3.client("pricing").get_paginator("get_products")
.
boto3 documentation
# GetProductsPaginator usage example
from boto3.session import Session
from types_boto3_pricing.paginator import GetProductsPaginator
def get_get_products_paginator() -> GetProductsPaginator:
return Session().client("pricing").get_paginator("get_products")
# GetProductsPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_pricing.paginator import GetProductsPaginator
session = Session()
client = Session().client("pricing") # (1)
paginator: GetProductsPaginator = client.get_paginator("get_products") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: PricingClient
- paginator: GetProductsPaginator
- item: GetProductsResponseTypeDef
paginate#
Type annotations and code completion for GetProductsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ServiceCode: str,
Filters: Sequence[FilterTypeDef] = ..., # (1)
FormatVersion: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[GetProductsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: GetProductsRequestPaginateTypeDef = { # (1)
"ServiceCode": ...,
}
parent.paginate(**kwargs)
ListPriceListsPaginator#
Type annotations and code completion for boto3.client("pricing").get_paginator("list_price_lists")
.
boto3 documentation
# ListPriceListsPaginator usage example
from boto3.session import Session
from types_boto3_pricing.paginator import ListPriceListsPaginator
def get_list_price_lists_paginator() -> ListPriceListsPaginator:
return Session().client("pricing").get_paginator("list_price_lists")
# ListPriceListsPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_pricing.paginator import ListPriceListsPaginator
session = Session()
client = Session().client("pricing") # (1)
paginator: ListPriceListsPaginator = client.get_paginator("list_price_lists") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: PricingClient
- paginator: ListPriceListsPaginator
- item: ListPriceListsResponseTypeDef
paginate#
Type annotations and code completion for ListPriceListsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ServiceCode: str,
EffectiveDate: TimestampTypeDef,
CurrencyCode: str,
RegionCode: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListPriceListsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListPriceListsRequestPaginateTypeDef = { # (1)
"ServiceCode": ...,
"EffectiveDate": ...,
"CurrencyCode": ...,
}
parent.paginate(**kwargs)