Skip to content

Paginators#

Index > Pricing > Paginators

Auto-generated documentation for Pricing type annotations stubs module mypy-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 mypy_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 mypy_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)
  1. client: PricingClient
  2. paginator: DescribeServicesPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeServicesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: DescribeServicesRequestDescribeServicesPaginateTypeDef = {  # (1)
    "ServiceCode": ...,
}

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

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 mypy_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 mypy_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)
  1. client: PricingClient
  2. paginator: GetAttributeValuesPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See GetAttributeValuesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetAttributeValuesRequestGetAttributeValuesPaginateTypeDef = {  # (1)
    "ServiceCode": ...,
    "AttributeName": ...,
}

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

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 mypy_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 mypy_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)
  1. client: PricingClient
  2. paginator: GetProductsPaginator
  3. 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)
    ...
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef
  3. See GetProductsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: GetProductsRequestGetProductsPaginateTypeDef = {  # (1)
    "ServiceCode": ...,
}

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

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 mypy_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 mypy_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)
  1. client: PricingClient
  2. paginator: ListPriceListsPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListPriceListsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListPriceListsRequestListPriceListsPaginateTypeDef = {  # (1)
    "ServiceCode": ...,
    "EffectiveDate": ...,
    "CurrencyCode": ...,
}

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