Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- describeServices_formatVersion :: Lens' DescribeServices (Maybe Text)
- describeServices_maxResults :: Lens' DescribeServices (Maybe Natural)
- describeServices_nextToken :: Lens' DescribeServices (Maybe Text)
- describeServices_serviceCode :: Lens' DescribeServices (Maybe Text)
- describeServicesResponse_formatVersion :: Lens' DescribeServicesResponse (Maybe Text)
- describeServicesResponse_nextToken :: Lens' DescribeServicesResponse (Maybe Text)
- describeServicesResponse_services :: Lens' DescribeServicesResponse (Maybe [PricingService])
- describeServicesResponse_httpStatus :: Lens' DescribeServicesResponse Int
- getAttributeValues_maxResults :: Lens' GetAttributeValues (Maybe Natural)
- getAttributeValues_nextToken :: Lens' GetAttributeValues (Maybe Text)
- getAttributeValues_serviceCode :: Lens' GetAttributeValues Text
- getAttributeValues_attributeName :: Lens' GetAttributeValues Text
- getAttributeValuesResponse_attributeValues :: Lens' GetAttributeValuesResponse (Maybe [AttributeValue])
- getAttributeValuesResponse_nextToken :: Lens' GetAttributeValuesResponse (Maybe Text)
- getAttributeValuesResponse_httpStatus :: Lens' GetAttributeValuesResponse Int
- getProducts_filters :: Lens' GetProducts (Maybe [Filter])
- getProducts_formatVersion :: Lens' GetProducts (Maybe Text)
- getProducts_maxResults :: Lens' GetProducts (Maybe Natural)
- getProducts_nextToken :: Lens' GetProducts (Maybe Text)
- getProducts_serviceCode :: Lens' GetProducts Text
- getProductsResponse_formatVersion :: Lens' GetProductsResponse (Maybe Text)
- getProductsResponse_nextToken :: Lens' GetProductsResponse (Maybe Text)
- getProductsResponse_priceList :: Lens' GetProductsResponse (Maybe [Text])
- getProductsResponse_httpStatus :: Lens' GetProductsResponse Int
- attributeValue_value :: Lens' AttributeValue (Maybe Text)
- filter_type :: Lens' Filter FilterType
- filter_field :: Lens' Filter Text
- filter_value :: Lens' Filter Text
- pricingService_attributeNames :: Lens' PricingService (Maybe [Text])
- pricingService_serviceCode :: Lens' PricingService Text
Operations
DescribeServices
describeServices_formatVersion :: Lens' DescribeServices (Maybe Text) Source #
The format version that you want the response to be in.
Valid values are: aws_v1
describeServices_maxResults :: Lens' DescribeServices (Maybe Natural) Source #
The maximum number of results that you want returned in the response.
describeServices_nextToken :: Lens' DescribeServices (Maybe Text) Source #
The pagination token that indicates the next set of results that you want to retrieve.
describeServices_serviceCode :: Lens' DescribeServices (Maybe Text) Source #
The code for the service whose information you want to retrieve, such as
AmazonEC2
. You can use the ServiceCode
to filter the results in a
GetProducts
call. To retrieve a list of all services, leave this
blank.
describeServicesResponse_formatVersion :: Lens' DescribeServicesResponse (Maybe Text) Source #
The format version of the response. For example, aws_v1
.
describeServicesResponse_nextToken :: Lens' DescribeServicesResponse (Maybe Text) Source #
The pagination token for the next set of retrievable results.
describeServicesResponse_services :: Lens' DescribeServicesResponse (Maybe [PricingService]) Source #
The service metadata for the service or services in the response.
describeServicesResponse_httpStatus :: Lens' DescribeServicesResponse Int Source #
The response's http status code.
GetAttributeValues
getAttributeValues_maxResults :: Lens' GetAttributeValues (Maybe Natural) Source #
The maximum number of results to return in response.
getAttributeValues_nextToken :: Lens' GetAttributeValues (Maybe Text) Source #
The pagination token that indicates the next set of results that you want to retrieve.
getAttributeValues_serviceCode :: Lens' GetAttributeValues Text Source #
The service code for the service whose attributes you want to retrieve.
For example, if you want the retrieve an EC2 attribute, use AmazonEC2
.
getAttributeValues_attributeName :: Lens' GetAttributeValues Text Source #
The name of the attribute that you want to retrieve the values for, such
as volumeType
.
getAttributeValuesResponse_attributeValues :: Lens' GetAttributeValuesResponse (Maybe [AttributeValue]) Source #
The list of values for an attribute. For example,
Throughput Optimized HDD
and Provisioned IOPS
are two available
values for the AmazonEC2
volumeType
.
getAttributeValuesResponse_nextToken :: Lens' GetAttributeValuesResponse (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
getAttributeValuesResponse_httpStatus :: Lens' GetAttributeValuesResponse Int Source #
The response's http status code.
GetProducts
getProducts_filters :: Lens' GetProducts (Maybe [Filter]) Source #
The list of filters that limit the returned products. only products that match all filters are returned.
getProducts_formatVersion :: Lens' GetProducts (Maybe Text) Source #
The format version that you want the response to be in.
Valid values are: aws_v1
getProducts_maxResults :: Lens' GetProducts (Maybe Natural) Source #
The maximum number of results to return in the response.
getProducts_nextToken :: Lens' GetProducts (Maybe Text) Source #
The pagination token that indicates the next set of results that you want to retrieve.
getProducts_serviceCode :: Lens' GetProducts Text Source #
The code for the service whose products you want to retrieve.
getProductsResponse_formatVersion :: Lens' GetProductsResponse (Maybe Text) Source #
The format version of the response. For example, aws_v1.
getProductsResponse_nextToken :: Lens' GetProductsResponse (Maybe Text) Source #
The pagination token that indicates the next set of results to retrieve.
getProductsResponse_priceList :: Lens' GetProductsResponse (Maybe [Text]) Source #
The list of products that match your filters. The list contains both the product metadata and the price information.
getProductsResponse_httpStatus :: Lens' GetProductsResponse Int Source #
The response's http status code.
Types
AttributeValue
attributeValue_value :: Lens' AttributeValue (Maybe Text) Source #
The specific value of an attributeName
.
Filter
filter_type :: Lens' Filter FilterType Source #
The type of filter that you want to use.
Valid values are: TERM_MATCH
. TERM_MATCH
returns only products that
match both the given filter field and the given value.
filter_field :: Lens' Filter Text Source #
The product metadata field that you want to filter on. You can filter by just the service code to see all products for a specific service, filter by just the attribute name to see a specific attribute for multiple services, or use both a service code and an attribute name to retrieve only products that match both fields.
Valid values include: ServiceCode
, and all attribute names
For example, you can filter by the AmazonEC2
service code and the
volumeType
attribute name to get the prices for only Amazon EC2
volumes.
filter_value :: Lens' Filter Text Source #
The service code or attribute value that you want to filter by. If you
are filtering by service code this is the actual service code, such as
AmazonEC2
. If you are filtering by attribute name, this is the
attribute value that you want the returned products to match, such as a
Provisioned IOPS
volume.
PricingService
pricingService_attributeNames :: Lens' PricingService (Maybe [Text]) Source #
The attributes that are available for this service.
pricingService_serviceCode :: Lens' PricingService Text Source #
The code for the Amazon Web Services service.