169 lines
10 KiB
JSON
169 lines
10 KiB
JSON
{
|
|
"version": "2.0",
|
|
"service": "<p>AWS Price List Service API (AWS Price List Service) is a centralized and convenient way to programmatically query Amazon Web Services for services, products, and pricing information. The AWS Price List Service uses standardized product attributes such as <code>Location</code>, <code>Storage Class</code>, and <code>Operating System</code>, and provides prices at the SKU level. You can use the AWS Price List Service to build cost control and scenario planning tools, reconcile billing data, forecast future spend for budgeting purposes, and provide cost benefit analysis that compare your internal workloads with AWS.</p> <p>Use <code>GetServices</code> without a service code to retrieve the service codes for all AWS services, then <code>GetServices</code> with a service code to retreive the attribute names for that service. After you have the service code and attribute names, you can use <code>GetAttributeValues</code> to see what values are available for an attribute. With the service code and an attribute name and value, you can use <code>GetProducts</code> to find specific products that you're interested in, such as an <code>AmazonEC2</code> instance, with a <code>Provisioned IOPS</code> <code>volumeType</code>.</p> <p>Service Endpoint</p> <p>AWS Price List Service API provides the following two endpoints:</p> <ul> <li> <p>https://api.pricing.us-east-1.amazonaws.com</p> </li> <li> <p>https://api.pricing.ap-south-1.amazonaws.com</p> </li> </ul>",
|
|
"operations": {
|
|
"DescribeServices": "<p>Returns the metadata for one service or a list of the metadata for all services. Use this without a service code to get the service codes for all services. Use it with a service code, such as <code>AmazonEC2</code>, to get information specific to that service, such as the attribute names available for that service. For example, some of the attribute names available for EC2 are <code>volumeType</code>, <code>maxIopsVolume</code>, <code>operation</code>, <code>locationType</code>, and <code>instanceCapacity10xlarge</code>.</p>",
|
|
"GetAttributeValues": "<p>Returns a list of attribute values. Attibutes are similar to the details in a Price List API offer file. For a list of available attributes, see <a href=\"http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/reading-an-offer.html#pps-defs\">Offer File Definitions</a> in the <a href=\"http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html\">AWS Billing and Cost Management User Guide</a>.</p>",
|
|
"GetProducts": "<p>Returns a list of all products that match the filter criteria.</p>"
|
|
},
|
|
"shapes": {
|
|
"AttributeNameList": {
|
|
"base": null,
|
|
"refs": {
|
|
"Service$AttributeNames": "<p>The attributes that are available for this service.</p>"
|
|
}
|
|
},
|
|
"AttributeValue": {
|
|
"base": "<p>The values of a given attribute, such as <code>Throughput Optimized HDD</code> or <code>Provisioned IOPS</code> for the <code>Amazon EC2</code> <code>volumeType</code> attribute.</p>",
|
|
"refs": {
|
|
"AttributeValueList$member": null
|
|
}
|
|
},
|
|
"AttributeValueList": {
|
|
"base": null,
|
|
"refs": {
|
|
"GetAttributeValuesResponse$AttributeValues": "<p>The list of values for an attribute. For example, <code>Throughput Optimized HDD</code> and <code>Provisioned IOPS</code> are two available values for the <code>AmazonEC2</code> <code>volumeType</code>.</p>"
|
|
}
|
|
},
|
|
"BoxedInteger": {
|
|
"base": null,
|
|
"refs": {
|
|
"DescribeServicesRequest$MaxResults": "<p>The maximum number of results that you want returned in the response.</p>",
|
|
"GetAttributeValuesRequest$MaxResults": "<p>The maximum number of results to return in response.</p>",
|
|
"GetProductsRequest$MaxResults": "<p>The maximum number of results to return in the response.</p>"
|
|
}
|
|
},
|
|
"DescribeServicesRequest": {
|
|
"base": null,
|
|
"refs": {
|
|
}
|
|
},
|
|
"DescribeServicesResponse": {
|
|
"base": null,
|
|
"refs": {
|
|
}
|
|
},
|
|
"ExpiredNextTokenException": {
|
|
"base": "<p>The pagination token expired. Try again without a pagination token.</p>",
|
|
"refs": {
|
|
}
|
|
},
|
|
"Filter": {
|
|
"base": "<p>The constraints that you want all returned products to match.</p>",
|
|
"refs": {
|
|
"Filters$member": null
|
|
}
|
|
},
|
|
"FilterType": {
|
|
"base": null,
|
|
"refs": {
|
|
"Filter$Type": "<p>The type of filter that you want to use.</p> <p>Valid values are: <code>TERM_MATCH</code>. <code>TERM_MATCH</code> returns only products that match both the given filter field and the given value.</p>"
|
|
}
|
|
},
|
|
"Filters": {
|
|
"base": null,
|
|
"refs": {
|
|
"GetProductsRequest$Filters": "<p>The list of filters that limit the returned products. only products that match all filters are returned.</p>"
|
|
}
|
|
},
|
|
"GetAttributeValuesRequest": {
|
|
"base": null,
|
|
"refs": {
|
|
}
|
|
},
|
|
"GetAttributeValuesResponse": {
|
|
"base": null,
|
|
"refs": {
|
|
}
|
|
},
|
|
"GetProductsRequest": {
|
|
"base": null,
|
|
"refs": {
|
|
}
|
|
},
|
|
"GetProductsResponse": {
|
|
"base": null,
|
|
"refs": {
|
|
}
|
|
},
|
|
"InternalErrorException": {
|
|
"base": "<p>An error on the server occurred during the processing of your request. Try again later.</p>",
|
|
"refs": {
|
|
}
|
|
},
|
|
"InvalidNextTokenException": {
|
|
"base": "<p>The pagination token is invalid. Try again without a pagination token.</p>",
|
|
"refs": {
|
|
}
|
|
},
|
|
"InvalidParameterException": {
|
|
"base": "<p>One or more parameters had an invalid value.</p>",
|
|
"refs": {
|
|
}
|
|
},
|
|
"NotFoundException": {
|
|
"base": "<p>The requested resource can't be found.</p>",
|
|
"refs": {
|
|
}
|
|
},
|
|
"PriceList": {
|
|
"base": null,
|
|
"refs": {
|
|
"GetProductsResponse$PriceList": "<p>The list of products that match your filters. The list contains both the product metadata and the price information.</p>"
|
|
}
|
|
},
|
|
"PriceListItemJSON": {
|
|
"base": null,
|
|
"refs": {
|
|
"PriceList$member": null
|
|
}
|
|
},
|
|
"Service": {
|
|
"base": "<p>The metadata for a service, such as the service code and available attribute names.</p>",
|
|
"refs": {
|
|
"ServiceList$member": null
|
|
}
|
|
},
|
|
"ServiceList": {
|
|
"base": null,
|
|
"refs": {
|
|
"DescribeServicesResponse$Services": "<p>The service metadata for the service or services in the response.</p>"
|
|
}
|
|
},
|
|
"String": {
|
|
"base": null,
|
|
"refs": {
|
|
"AttributeNameList$member": null,
|
|
"AttributeValue$Value": "<p>The specific value of an <code>attributeName</code>.</p>",
|
|
"DescribeServicesRequest$ServiceCode": "<p>The code for the service whose information you want to retrieve, such as <code>AmazonEC2</code>. You can use the <code>ServiceCode</code> to filter the results in a <code>GetProducts</code> call. To retrieve a list of all services, leave this blank.</p>",
|
|
"DescribeServicesRequest$FormatVersion": "<p>The format version that you want the response to be in.</p> <p>Valid values are: <code>aws_v1</code> </p>",
|
|
"DescribeServicesRequest$NextToken": "<p>The pagination token that indicates the next set of results that you want to retrieve.</p>",
|
|
"DescribeServicesResponse$FormatVersion": "<p>The format version of the response. For example, <code>aws_v1</code>.</p>",
|
|
"DescribeServicesResponse$NextToken": "<p>The pagination token for the next set of retreivable results.</p>",
|
|
"Filter$Field": "<p>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.</p> <p>Valid values include: <code>ServiceCode</code>, and all attribute names</p> <p>For example, you can filter by the <code>AmazonEC2</code> service code and the <code>volumeType</code> attribute name to get the prices for only Amazon EC2 volumes.</p>",
|
|
"Filter$Value": "<p>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 <code>AmazonEC2</code>. If you are filtering by attribute name, this is the attribute value that you want the returned products to match, such as a <code>Provisioned IOPS</code> volume.</p>",
|
|
"GetAttributeValuesRequest$ServiceCode": "<p>The service code for the service whose attributes you want to retrieve. For example, if you want the retrieve an EC2 attribute, use <code>AmazonEC2</code>.</p>",
|
|
"GetAttributeValuesRequest$AttributeName": "<p>The name of the attribute that you want to retrieve the values for, such as <code>volumeType</code>.</p>",
|
|
"GetAttributeValuesRequest$NextToken": "<p>The pagination token that indicates the next set of results that you want to retrieve.</p>",
|
|
"GetAttributeValuesResponse$NextToken": "<p>The pagination token that indicates the next set of results to retrieve.</p>",
|
|
"GetProductsRequest$ServiceCode": "<p>The code for the service whose products you want to retrieve. </p>",
|
|
"GetProductsRequest$FormatVersion": "<p>The format version that you want the response to be in.</p> <p>Valid values are: <code>aws_v1</code> </p>",
|
|
"GetProductsRequest$NextToken": "<p>The pagination token that indicates the next set of results that you want to retrieve.</p>",
|
|
"GetProductsResponse$FormatVersion": "<p>The format version of the response. For example, aws_v1.</p>",
|
|
"GetProductsResponse$NextToken": "<p>The pagination token that indicates the next set of results to retrieve.</p>",
|
|
"Service$ServiceCode": "<p>The code for the AWS service.</p>"
|
|
}
|
|
},
|
|
"errorMessage": {
|
|
"base": null,
|
|
"refs": {
|
|
"ExpiredNextTokenException$Message": null,
|
|
"InternalErrorException$Message": null,
|
|
"InvalidNextTokenException$Message": null,
|
|
"InvalidParameterException$Message": null,
|
|
"NotFoundException$Message": null
|
|
}
|
|
}
|
|
}
|
|
}
|