@aws-sdk/client-pricing 3.427.0 → 3.428.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -9
- package/dist-types/Pricing.d.ts +3 -9
- package/dist-types/PricingClient.d.ts +3 -9
- package/dist-types/commands/GetPriceListFileUrlCommand.d.ts +3 -4
- package/dist-types/commands/ListPriceListsCommand.d.ts +7 -8
- package/dist-types/index.d.ts +3 -9
- package/dist-types/models/models_0.d.ts +10 -16
- package/package.json +31 -31
package/README.md
CHANGED
|
@@ -32,15 +32,9 @@ available for an attribute. With the service code and an attribute name and valu
|
|
|
32
32
|
use <code>GetProducts</code> to find specific products that you're interested in, such as
|
|
33
33
|
an <code>AmazonEC2</code> instance, with a <code>Provisioned IOPS</code>
|
|
34
34
|
<code>volumeType</code>.</p>
|
|
35
|
-
<p>
|
|
36
|
-
<
|
|
37
|
-
|
|
38
|
-
<p>https://api.pricing.us-east-1.amazonaws.com</p>
|
|
39
|
-
</li>
|
|
40
|
-
<li>
|
|
41
|
-
<p>https://api.pricing.ap-south-1.amazonaws.com</p>
|
|
42
|
-
</li>
|
|
43
|
-
</ul>
|
|
35
|
+
<p>For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html">Using the
|
|
36
|
+
Amazon Web Services Price List API</a> in the <i>Billing User
|
|
37
|
+
Guide</i>.</p>
|
|
44
38
|
|
|
45
39
|
## Installing
|
|
46
40
|
|
package/dist-types/Pricing.d.ts
CHANGED
|
@@ -65,15 +65,9 @@ export interface Pricing {
|
|
|
65
65
|
* use <code>GetProducts</code> to find specific products that you're interested in, such as
|
|
66
66
|
* an <code>AmazonEC2</code> instance, with a <code>Provisioned IOPS</code>
|
|
67
67
|
* <code>volumeType</code>.</p>
|
|
68
|
-
* <p>
|
|
69
|
-
* <
|
|
70
|
-
*
|
|
71
|
-
* <p>https://api.pricing.us-east-1.amazonaws.com</p>
|
|
72
|
-
* </li>
|
|
73
|
-
* <li>
|
|
74
|
-
* <p>https://api.pricing.ap-south-1.amazonaws.com</p>
|
|
75
|
-
* </li>
|
|
76
|
-
* </ul>
|
|
68
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html">Using the
|
|
69
|
+
* Amazon Web Services Price List API</a> in the <i>Billing User
|
|
70
|
+
* Guide</i>.</p>
|
|
77
71
|
*/
|
|
78
72
|
export declare class Pricing extends PricingClient implements Pricing {
|
|
79
73
|
}
|
|
@@ -183,15 +183,9 @@ export interface PricingClientResolvedConfig extends PricingClientResolvedConfig
|
|
|
183
183
|
* use <code>GetProducts</code> to find specific products that you're interested in, such as
|
|
184
184
|
* an <code>AmazonEC2</code> instance, with a <code>Provisioned IOPS</code>
|
|
185
185
|
* <code>volumeType</code>.</p>
|
|
186
|
-
* <p>
|
|
187
|
-
* <
|
|
188
|
-
*
|
|
189
|
-
* <p>https://api.pricing.us-east-1.amazonaws.com</p>
|
|
190
|
-
* </li>
|
|
191
|
-
* <li>
|
|
192
|
-
* <p>https://api.pricing.ap-south-1.amazonaws.com</p>
|
|
193
|
-
* </li>
|
|
194
|
-
* </ul>
|
|
186
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html">Using the
|
|
187
|
+
* Amazon Web Services Price List API</a> in the <i>Billing User
|
|
188
|
+
* Guide</i>.</p>
|
|
195
189
|
*/
|
|
196
190
|
export declare class PricingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, PricingClientResolvedConfig> {
|
|
197
191
|
/**
|
|
@@ -28,10 +28,9 @@ export interface GetPriceListFileUrlCommandOutput extends GetPriceListFileUrlRes
|
|
|
28
28
|
* <b>This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Section 1.10).</b>
|
|
29
29
|
* </i>
|
|
30
30
|
* </p>
|
|
31
|
-
* <p>This returns the URL that you can retrieve your Price List file from. This URL is based
|
|
32
|
-
* the <code>PriceListArn</code> and <code>FileFormat</code> that you retrieve from the
|
|
33
|
-
*
|
|
34
|
-
* </a> response. </p>
|
|
31
|
+
* <p>This returns the URL that you can retrieve your Price List file from. This URL is based
|
|
32
|
+
* on the <code>PriceListArn</code> and <code>FileFormat</code> that you retrieve from the
|
|
33
|
+
* <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">ListPriceLists</a> response. </p>
|
|
35
34
|
* @example
|
|
36
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
36
|
* ```javascript
|
|
@@ -28,14 +28,13 @@ export interface ListPriceListsCommandOutput extends ListPriceListsResponse, __M
|
|
|
28
28
|
* <b>This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Section 1.10).</b>
|
|
29
29
|
* </i>
|
|
30
30
|
* </p>
|
|
31
|
-
* <p>This returns a list of Price List references that the requester if authorized to view,
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* </a> API.</p>
|
|
31
|
+
* <p>This returns a list of Price List references that the requester if authorized to view,
|
|
32
|
+
* given a <code>ServiceCode</code>, <code>CurrencyCode</code>, and an
|
|
33
|
+
* <code>EffectiveDate</code>. Use without a <code>RegionCode</code> filter to list Price
|
|
34
|
+
* List references from all available Amazon Web Services Regions. Use with a
|
|
35
|
+
* <code>RegionCode</code> filter to get the Price List reference that's specific to a
|
|
36
|
+
* specific Amazon Web Services Region. You can use the <code>PriceListArn</code> from the
|
|
37
|
+
* response to get your preferred Price List files through the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_GetPriceListFileUrl.html">GetPriceListFileUrl</a> API.</p>
|
|
39
38
|
* @example
|
|
40
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
40
|
* ```javascript
|
package/dist-types/index.d.ts
CHANGED
|
@@ -25,15 +25,9 @@
|
|
|
25
25
|
* use <code>GetProducts</code> to find specific products that you're interested in, such as
|
|
26
26
|
* an <code>AmazonEC2</code> instance, with a <code>Provisioned IOPS</code>
|
|
27
27
|
* <code>volumeType</code>.</p>
|
|
28
|
-
* <p>
|
|
29
|
-
* <
|
|
30
|
-
*
|
|
31
|
-
* <p>https://api.pricing.us-east-1.amazonaws.com</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>https://api.pricing.ap-south-1.amazonaws.com</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* </ul>
|
|
28
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html">Using the
|
|
29
|
+
* Amazon Web Services Price List API</a> in the <i>Billing User
|
|
30
|
+
* Guide</i>.</p>
|
|
37
31
|
*
|
|
38
32
|
* @packageDocumentation
|
|
39
33
|
*/
|
|
@@ -207,17 +207,13 @@ export interface GetPriceListFileUrlRequest {
|
|
|
207
207
|
/**
|
|
208
208
|
* @public
|
|
209
209
|
* <p>The unique identifier that maps to where your Price List files are located.
|
|
210
|
-
* <code>PriceListArn</code> can be obtained from the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">
|
|
211
|
-
* <code>ListPriceLists</code>
|
|
212
|
-
* </a> response. </p>
|
|
210
|
+
* <code>PriceListArn</code> can be obtained from the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">ListPriceLists</a> response. </p>
|
|
213
211
|
*/
|
|
214
212
|
PriceListArn: string | undefined;
|
|
215
213
|
/**
|
|
216
214
|
* @public
|
|
217
215
|
* <p>The format that you want to retrieve your Price List files in. The
|
|
218
|
-
* <code>FileFormat</code> can be obtained from the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">
|
|
219
|
-
* <code>ListPriceLists</code>
|
|
220
|
-
* </a> response. </p>
|
|
216
|
+
* <code>FileFormat</code> can be obtained from the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">ListPriceLists</a> response. </p>
|
|
221
217
|
*/
|
|
222
218
|
FileFormat: string | undefined;
|
|
223
219
|
}
|
|
@@ -335,13 +331,13 @@ export interface ListPriceListsRequest {
|
|
|
335
331
|
/**
|
|
336
332
|
* @public
|
|
337
333
|
* <p>The service code or the Savings Plan service code for the attributes that
|
|
338
|
-
* you want to retrieve. For example, to get the list of applicable Amazon EC2 price
|
|
339
|
-
*
|
|
340
|
-
* Reserved Instance (RI) pricing, use the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_DescribeServices.html#awscostmanagement-pricing_DescribeServices-request-FormatVersion">
|
|
341
|
-
*
|
|
342
|
-
*
|
|
343
|
-
* <p>To retrieve
|
|
344
|
-
*
|
|
334
|
+
* you want to retrieve. For example, to get the list of applicable Amazon EC2 price
|
|
335
|
+
* lists, use <code>AmazonEC2</code>. For a full list of service codes containing On-Demand
|
|
336
|
+
* and Reserved Instance (RI) pricing, use the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_DescribeServices.html#awscostmanagement-pricing_DescribeServices-request-FormatVersion">DescribeServices</a> API.</p>
|
|
337
|
+
* <p>To retrieve the Reserved Instance and Compute Savings Plan price lists,
|
|
338
|
+
* use <code>ComputeSavingsPlans</code>. </p>
|
|
339
|
+
* <p>To retrieve Machine Learning Savings Plans price lists, use
|
|
340
|
+
* <code>MachineLearningSavingsPlans</code>. </p>
|
|
345
341
|
*/
|
|
346
342
|
ServiceCode: string | undefined;
|
|
347
343
|
/**
|
|
@@ -354,9 +350,7 @@ export interface ListPriceListsRequest {
|
|
|
354
350
|
* <p>This is used to filter the Price List by Amazon Web Services Region. For example, to get
|
|
355
351
|
* the price list only for the <code>US East (N. Virginia)</code> Region, use
|
|
356
352
|
* <code>us-east-1</code>. If nothing is specified, you retrieve price lists for all
|
|
357
|
-
* applicable Regions. The available <code>RegionCode</code> list can be retrieved from <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_GetAttributeValues.html">
|
|
358
|
-
* <code>GetAttributeValues</code>
|
|
359
|
-
* </a> API.</p>
|
|
353
|
+
* applicable Regions. The available <code>RegionCode</code> list can be retrieved from <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_GetAttributeValues.html">GetAttributeValues</a> API.</p>
|
|
360
354
|
*/
|
|
361
355
|
RegionCode?: string;
|
|
362
356
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pricing",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pricing Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.428.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^2.0.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.2.
|
|
38
|
-
"@smithy/hash-node": "^2.0.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.0.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.0.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.0
|
|
42
|
-
"@smithy/middleware-retry": "^2.0.
|
|
43
|
-
"@smithy/middleware-serde": "^2.0.
|
|
44
|
-
"@smithy/middleware-stack": "^2.0.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.1.
|
|
47
|
-
"@smithy/protocol-http": "^3.0.
|
|
48
|
-
"@smithy/smithy-client": "^2.1.
|
|
49
|
-
"@smithy/types": "^2.3.
|
|
50
|
-
"@smithy/url-parser": "^2.0.
|
|
24
|
+
"@aws-sdk/client-sts": "3.428.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.428.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.428.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.428.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.428.0",
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.428.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.428.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.428.0",
|
|
32
|
+
"@aws-sdk/types": "3.428.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.428.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.428.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.428.0",
|
|
36
|
+
"@smithy/config-resolver": "^2.0.14",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.2.3",
|
|
38
|
+
"@smithy/hash-node": "^2.0.11",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.0.11",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.0.13",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.1.0",
|
|
42
|
+
"@smithy/middleware-retry": "^2.0.16",
|
|
43
|
+
"@smithy/middleware-serde": "^2.0.11",
|
|
44
|
+
"@smithy/middleware-stack": "^2.0.5",
|
|
45
|
+
"@smithy/node-config-provider": "^2.1.1",
|
|
46
|
+
"@smithy/node-http-handler": "^2.1.7",
|
|
47
|
+
"@smithy/protocol-http": "^3.0.7",
|
|
48
|
+
"@smithy/smithy-client": "^2.1.11",
|
|
49
|
+
"@smithy/types": "^2.3.5",
|
|
50
|
+
"@smithy/url-parser": "^2.0.11",
|
|
51
51
|
"@smithy/util-base64": "^2.0.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.0.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.1.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.0.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.0.
|
|
56
|
-
"@smithy/util-retry": "^2.0.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.0.15",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.0.19",
|
|
56
|
+
"@smithy/util-retry": "^2.0.4",
|
|
57
57
|
"@smithy/util-utf8": "^2.0.0",
|
|
58
58
|
"tslib": "^2.5.0"
|
|
59
59
|
},
|