Skip to content

Type definitions#

Index > Pricing > Type definitions

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

TimestampTypeDef#

# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AttributeValueTypeDef#

# AttributeValueTypeDef definition

class AttributeValueTypeDef(TypedDict):
    Value: NotRequired[str],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

DescribeServicesRequestRequestTypeDef#

# DescribeServicesRequestRequestTypeDef definition

class DescribeServicesRequestRequestTypeDef(TypedDict):
    ServiceCode: NotRequired[str],
    FormatVersion: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

ServiceTypeDef#

# ServiceTypeDef definition

class ServiceTypeDef(TypedDict):
    ServiceCode: str,
    AttributeNames: NotRequired[list[str]],

FilterTypeDef#

# FilterTypeDef definition

class FilterTypeDef(TypedDict):
    Type: FilterTypeType,  # (1)
    Field: str,
    Value: str,
  1. See FilterTypeType

GetAttributeValuesRequestRequestTypeDef#

# GetAttributeValuesRequestRequestTypeDef definition

class GetAttributeValuesRequestRequestTypeDef(TypedDict):
    ServiceCode: str,
    AttributeName: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

GetPriceListFileUrlRequestRequestTypeDef#

# GetPriceListFileUrlRequestRequestTypeDef definition

class GetPriceListFileUrlRequestRequestTypeDef(TypedDict):
    PriceListArn: str,
    FileFormat: str,

PriceListTypeDef#

# PriceListTypeDef definition

class PriceListTypeDef(TypedDict):
    PriceListArn: NotRequired[str],
    RegionCode: NotRequired[str],
    CurrencyCode: NotRequired[str],
    FileFormats: NotRequired[list[str]],

DescribeServicesRequestPaginateTypeDef#

# DescribeServicesRequestPaginateTypeDef definition

class DescribeServicesRequestPaginateTypeDef(TypedDict):
    ServiceCode: NotRequired[str],
    FormatVersion: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetAttributeValuesRequestPaginateTypeDef#

# GetAttributeValuesRequestPaginateTypeDef definition

class GetAttributeValuesRequestPaginateTypeDef(TypedDict):
    ServiceCode: str,
    AttributeName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

GetAttributeValuesResponseTypeDef#

# GetAttributeValuesResponseTypeDef definition

class GetAttributeValuesResponseTypeDef(TypedDict):
    AttributeValues: list[AttributeValueTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See AttributeValueTypeDef
  2. See ResponseMetadataTypeDef

GetPriceListFileUrlResponseTypeDef#

# GetPriceListFileUrlResponseTypeDef definition

class GetPriceListFileUrlResponseTypeDef(TypedDict):
    Url: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetProductsResponseTypeDef#

# GetProductsResponseTypeDef definition

class GetProductsResponseTypeDef(TypedDict):
    FormatVersion: str,
    PriceList: list[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    NextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

DescribeServicesResponseTypeDef#

# DescribeServicesResponseTypeDef definition

class DescribeServicesResponseTypeDef(TypedDict):
    Services: list[ServiceTypeDef],  # (1)
    FormatVersion: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See ServiceTypeDef
  2. See ResponseMetadataTypeDef

GetProductsRequestPaginateTypeDef#

# GetProductsRequestPaginateTypeDef definition

class GetProductsRequestPaginateTypeDef(TypedDict):
    ServiceCode: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    FormatVersion: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See FilterTypeDef
  2. See PaginatorConfigTypeDef

GetProductsRequestRequestTypeDef#

# GetProductsRequestRequestTypeDef definition

class GetProductsRequestRequestTypeDef(TypedDict):
    ServiceCode: str,
    Filters: NotRequired[Sequence[FilterTypeDef]],  # (1)
    FormatVersion: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See FilterTypeDef

ListPriceListsRequestPaginateTypeDef#

# ListPriceListsRequestPaginateTypeDef definition

class ListPriceListsRequestPaginateTypeDef(TypedDict):
    ServiceCode: str,
    EffectiveDate: TimestampTypeDef,
    CurrencyCode: str,
    RegionCode: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListPriceListsRequestRequestTypeDef#

# ListPriceListsRequestRequestTypeDef definition

class ListPriceListsRequestRequestTypeDef(TypedDict):
    ServiceCode: str,
    EffectiveDate: TimestampTypeDef,
    CurrencyCode: str,
    RegionCode: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListPriceListsResponseTypeDef#

# ListPriceListsResponseTypeDef definition

class ListPriceListsResponseTypeDef(TypedDict):
    PriceLists: list[PriceListTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See PriceListTypeDef
  2. See ResponseMetadataTypeDef