Type definitions#
Auto-generated documentation for Pricing type annotations stubs module mypy-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,
- 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)
GetAttributeValuesRequestPaginateTypeDef#
# GetAttributeValuesRequestPaginateTypeDef definition
class GetAttributeValuesRequestPaginateTypeDef(TypedDict):
ServiceCode: str,
AttributeName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
GetAttributeValuesResponseTypeDef#
# GetAttributeValuesResponseTypeDef definition
class GetAttributeValuesResponseTypeDef(TypedDict):
AttributeValues: list[AttributeValueTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
GetPriceListFileUrlResponseTypeDef#
# GetPriceListFileUrlResponseTypeDef definition
class GetPriceListFileUrlResponseTypeDef(TypedDict):
Url: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetProductsResponseTypeDef#
# GetProductsResponseTypeDef definition
class GetProductsResponseTypeDef(TypedDict):
FormatVersion: str,
PriceList: list[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
NextToken: NotRequired[str],
DescribeServicesResponseTypeDef#
# DescribeServicesResponseTypeDef definition
class DescribeServicesResponseTypeDef(TypedDict):
Services: list[ServiceTypeDef], # (1)
FormatVersion: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
GetProductsRequestPaginateTypeDef#
# GetProductsRequestPaginateTypeDef definition
class GetProductsRequestPaginateTypeDef(TypedDict):
ServiceCode: str,
Filters: NotRequired[Sequence[FilterTypeDef]], # (1)
FormatVersion: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See FilterTypeDef
- See PaginatorConfigTypeDef
GetProductsRequestRequestTypeDef#
# GetProductsRequestRequestTypeDef definition
class GetProductsRequestRequestTypeDef(TypedDict):
ServiceCode: str,
Filters: NotRequired[Sequence[FilterTypeDef]], # (1)
FormatVersion: NotRequired[str],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
- See FilterTypeDef
ListPriceListsRequestPaginateTypeDef#
# ListPriceListsRequestPaginateTypeDef definition
class ListPriceListsRequestPaginateTypeDef(TypedDict):
ServiceCode: str,
EffectiveDate: TimestampTypeDef,
CurrencyCode: str,
RegionCode: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
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],