Skip to content

Pricing module

Index > Pricing

Auto-generated documentation for Pricing type annotations stubs module types-aiobotocore-pricing.

How to install

From PyPI with pip

Install types-aioboto3 for Pricing service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[pricing]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[pricing]'


# standalone installation
python -m pip install types-aiobotocore-pricing

How to uninstall

python -m pip uninstall -y types-aiobotocore-pricing

Usage

Code samples can be found in Examples.

PricingClient

Type annotations and code completion for session.client("pricing") as PricingClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_pricing.client import PricingClient


session = Session()
async with session.client("pricing") as client:
    client: PricingClient

Paginators

Type annotations and code completion for paginators from session.client("pricing").get_paginator("...").

Usage example
from types_aiobotocore_pricing.paginator import DescribeServicesPaginator

def get_describe_services_paginator() -> DescribeServicesPaginator:
    return client.get_paginator("describe_services"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_pricing.literals import DescribeServicesPaginatorName

def get_value() -> DescribeServicesPaginatorName:
    return "describe_services"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_pricing.type_defs import AttributeValueTypeDef

def get_value() -> AttributeValueTypeDef:
    return {
        "Value": ...,
    }