|
154 | 154 | "documentation":"<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>"
|
155 | 155 | },
|
156 | 156 | "FormatVersion":{
|
157 |
| - "shape":"String", |
| 157 | + "shape":"FormatVersion", |
158 | 158 | "documentation":"<p>The format version that you want the response to be in.</p> <p>Valid values are: <code>aws_v1</code> </p>"
|
159 | 159 | },
|
160 | 160 | "NextToken":{
|
|
175 | 175 | "documentation":"<p>The service metadata for the service or services in the response.</p>"
|
176 | 176 | },
|
177 | 177 | "FormatVersion":{
|
178 |
| - "shape":"String", |
| 178 | + "shape":"FormatVersion", |
179 | 179 | "documentation":"<p>The format version of the response. For example, <code>aws_v1</code>.</p>"
|
180 | 180 | },
|
181 | 181 | "NextToken":{
|
|
193 | 193 | "documentation":"<p>The pagination token expired. Try again without a pagination token.</p>",
|
194 | 194 | "exception":true
|
195 | 195 | },
|
| 196 | + "Field":{ |
| 197 | + "type":"string", |
| 198 | + "max":1024, |
| 199 | + "min":1 |
| 200 | + }, |
196 | 201 | "FileFormat":{
|
197 | 202 | "type":"string",
|
198 | 203 | "max":255,
|
|
215 | 220 | "documentation":"<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>"
|
216 | 221 | },
|
217 | 222 | "Field":{
|
218 |
| - "shape":"String", |
| 223 | + "shape":"Field", |
219 | 224 | "documentation":"<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>"
|
220 | 225 | },
|
221 | 226 | "Value":{
|
222 |
| - "shape":"String", |
| 227 | + "shape":"Value", |
223 | 228 | "documentation":"<p>The service code or attribute value that you want to filter by. If you're filtering by service code this is the actual service code, such as <code>AmazonEC2</code>. If you're 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>"
|
224 | 229 | }
|
225 | 230 | },
|
|
231 | 236 | },
|
232 | 237 | "Filters":{
|
233 | 238 | "type":"list",
|
234 |
| - "member":{"shape":"Filter"} |
| 239 | + "member":{"shape":"Filter"}, |
| 240 | + "max":50, |
| 241 | + "min":0 |
| 242 | + }, |
| 243 | + "FormatVersion":{ |
| 244 | + "type":"string", |
| 245 | + "max":32, |
| 246 | + "min":1 |
235 | 247 | },
|
236 | 248 | "GetAttributeValuesRequest":{
|
237 | 249 | "type":"structure",
|
|
310 | 322 | "documentation":"<p>The list of filters that limit the returned products. only products that match all filters are returned.</p>"
|
311 | 323 | },
|
312 | 324 | "FormatVersion":{
|
313 |
| - "shape":"String", |
| 325 | + "shape":"FormatVersion", |
314 | 326 | "documentation":"<p>The format version that you want the response to be in.</p> <p>Valid values are: <code>aws_v1</code> </p>"
|
315 | 327 | },
|
316 | 328 | "NextToken":{
|
|
327 | 339 | "type":"structure",
|
328 | 340 | "members":{
|
329 | 341 | "FormatVersion":{
|
330 |
| - "shape":"String", |
| 342 | + "shape":"FormatVersion", |
331 | 343 | "documentation":"<p>The format version of the response. For example, aws_v1.</p>"
|
332 | 344 | },
|
333 | 345 | "PriceList":{
|
|
514 | 526 | "exception":true,
|
515 | 527 | "retryable":{"throttling":true}
|
516 | 528 | },
|
| 529 | + "Value":{ |
| 530 | + "type":"string", |
| 531 | + "max":1024, |
| 532 | + "min":1 |
| 533 | + }, |
517 | 534 | "errorMessage":{"type":"string"}
|
518 | 535 | },
|
519 | 536 | "documentation":"<p>The Amazon Web Services Price List API is a centralized and convenient way to programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List 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 Amazon Web Services Price List to do the following:</p> <ul> <li> <p>Build cost control and scenario planning tools</p> </li> <li> <p>Reconcile billing data</p> </li> <li> <p>Forecast future spend for budgeting purposes</p> </li> <li> <p>Provide cost benefit analysis that compare your internal workloads with Amazon Web Services</p> </li> </ul> <p>Use <code>GetServices</code> without a service code to retrieve the service codes for all Amazon Web Services services, then <code>GetServices</code> with a service code to retrieve 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>For more information, see <a href=\"https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html\">Using the Amazon Web Services Price List API</a> in the <i>Billing User Guide</i>.</p>"
|
|
0 commit comments