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

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")
Usage example
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.

Method definition
def paginate(
    self,
    *,
    ServiceCode: str = ...,
    FormatVersion: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[DescribeServicesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See DescribeServicesResponseTypeDef
Usage example with kwargs
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

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")
Usage example
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.

Method definition
def paginate(
    self,
    *,
    ServiceCode: str,
    AttributeName: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[GetAttributeValuesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See GetAttributeValuesResponseTypeDef
Usage example with kwargs
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

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")
Usage example
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.

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
Usage example with kwargs
kwargs: GetProductsRequestGetProductsPaginateTypeDef = {  # (1)
    "ServiceCode": ...,
}

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