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]],
DescribeServicesRequestDescribeServicesPaginateTypeDef#
# DescribeServicesRequestDescribeServicesPaginateTypeDef definition
class DescribeServicesRequestDescribeServicesPaginateTypeDef(TypedDict):
ServiceCode: NotRequired[str],
FormatVersion: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
GetAttributeValuesRequestGetAttributeValuesPaginateTypeDef#
# GetAttributeValuesRequestGetAttributeValuesPaginateTypeDef definition
class GetAttributeValuesRequestGetAttributeValuesPaginateTypeDef(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],
GetProductsRequestGetProductsPaginateTypeDef#
# GetProductsRequestGetProductsPaginateTypeDef definition
class GetProductsRequestGetProductsPaginateTypeDef(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
ListPriceListsRequestListPriceListsPaginateTypeDef#
# ListPriceListsRequestListPriceListsPaginateTypeDef definition
class ListPriceListsRequestListPriceListsPaginateTypeDef(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],