Typed dictionaries
Auto-generated documentation for Pricing type annotations stubs module types-aiobotocore-pricing.
AttributeValueTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import AttributeValueTypeDef
def get_value() -> AttributeValueTypeDef:
return {
"Value": ...,
}
PaginatorConfigTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
Definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
DescribeServicesRequestRequestTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import DescribeServicesRequestRequestTypeDef
def get_value() -> DescribeServicesRequestRequestTypeDef:
return {
"ServiceCode": ...,
}
Definition
class DescribeServicesRequestRequestTypeDef(TypedDict):
ServiceCode: NotRequired[str],
FormatVersion: NotRequired[str],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
ResponseMetadataTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
Definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
ServiceTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import ServiceTypeDef
def get_value() -> ServiceTypeDef:
return {
"ServiceCode": ...,
}
Definition
class ServiceTypeDef(TypedDict):
ServiceCode: str,
AttributeNames: NotRequired[List[str]],
FilterTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import FilterTypeDef
def get_value() -> FilterTypeDef:
return {
"Type": ...,
"Field": ...,
"Value": ...,
}
- See FilterTypeType
GetAttributeValuesRequestRequestTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import GetAttributeValuesRequestRequestTypeDef
def get_value() -> GetAttributeValuesRequestRequestTypeDef:
return {
"ServiceCode": ...,
"AttributeName": ...,
}
Definition
class GetAttributeValuesRequestRequestTypeDef(TypedDict):
ServiceCode: str,
AttributeName: str,
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
DescribeServicesRequestDescribeServicesPaginateTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import DescribeServicesRequestDescribeServicesPaginateTypeDef
def get_value() -> DescribeServicesRequestDescribeServicesPaginateTypeDef:
return {
"ServiceCode": ...,
}
Definition
class DescribeServicesRequestDescribeServicesPaginateTypeDef(TypedDict):
ServiceCode: NotRequired[str],
FormatVersion: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
GetAttributeValuesRequestGetAttributeValuesPaginateTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import GetAttributeValuesRequestGetAttributeValuesPaginateTypeDef
def get_value() -> GetAttributeValuesRequestGetAttributeValuesPaginateTypeDef:
return {
"ServiceCode": ...,
"AttributeName": ...,
}
Definition
class GetAttributeValuesRequestGetAttributeValuesPaginateTypeDef(TypedDict):
ServiceCode: str,
AttributeName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
GetAttributeValuesResponseTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import GetAttributeValuesResponseTypeDef
def get_value() -> GetAttributeValuesResponseTypeDef:
return {
"AttributeValues": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class GetAttributeValuesResponseTypeDef(TypedDict):
AttributeValues: List[AttributeValueTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetProductsResponseTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import GetProductsResponseTypeDef
def get_value() -> GetProductsResponseTypeDef:
return {
"FormatVersion": ...,
"PriceList": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class GetProductsResponseTypeDef(TypedDict):
FormatVersion: str,
PriceList: List[str],
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DescribeServicesResponseTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import DescribeServicesResponseTypeDef
def get_value() -> DescribeServicesResponseTypeDef:
return {
"Services": ...,
"FormatVersion": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeServicesResponseTypeDef(TypedDict):
Services: List[ServiceTypeDef], # (1)
FormatVersion: str,
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetProductsRequestGetProductsPaginateTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import GetProductsRequestGetProductsPaginateTypeDef
def get_value() -> GetProductsRequestGetProductsPaginateTypeDef:
return {
"ServiceCode": ...,
}
Definition
class GetProductsRequestGetProductsPaginateTypeDef(TypedDict):
ServiceCode: str,
Filters: NotRequired[Sequence[FilterTypeDef]], # (1)
FormatVersion: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See FilterTypeDef
- See PaginatorConfigTypeDef
GetProductsRequestRequestTypeDef
Usage Example
from types_aiobotocore_pricing.type_defs import GetProductsRequestRequestTypeDef
def get_value() -> GetProductsRequestRequestTypeDef:
return {
"ServiceCode": ...,
}
Definition
class GetProductsRequestRequestTypeDef(TypedDict):
ServiceCode: str,
Filters: NotRequired[Sequence[FilterTypeDef]], # (1)
FormatVersion: NotRequired[str],
NextToken: NotRequired[str],
MaxResults: NotRequired[int],
- See FilterTypeDef