@aws-sdk/client-pricing 3.112.0 → 3.118.1
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/CHANGELOG.md +27 -0
- package/README.md +4 -4
- package/dist-types/Pricing.d.ts +5 -5
- package/dist-types/PricingClient.d.ts +4 -4
- package/dist-types/commands/GetAttributeValuesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +2 -2
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.118.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.118.0...v3.118.1) (2022-06-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-pricing
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.118.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.117.0...v3.118.0) (2022-06-24)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-pricing
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.116.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.115.0...v3.116.0) (2022-06-22)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **client-pricing:** This release introduces 1 update to the GetProducts API. The serviceCode attribute is now required when you use the GetProductsRequest. ([bdf3c9a](https://github.com/aws/aws-sdk-js-v3/commit/bdf3c9a8f500633688564e4bf4b82d36fd0e2e77))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.112.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.111.0...v3.112.0) (2022-06-16)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-pricing
|
package/README.md
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript Pricing Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>Amazon Web Services Price List
|
|
13
|
-
programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List
|
|
12
|
+
<p>Amazon Web Services Price List API is a centralized and convenient way to
|
|
13
|
+
programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List
|
|
14
14
|
uses standardized product attributes such as <code>Location</code>, <code>Storage
|
|
15
15
|
Class</code>, and <code>Operating System</code>, and provides prices at the SKU
|
|
16
|
-
level. You can use the Amazon Web Services Price List
|
|
16
|
+
level. You can use the Amazon Web Services Price List to build cost control and scenario planning tools, reconcile
|
|
17
17
|
billing data, forecast future spend for budgeting purposes, and provide cost benefit
|
|
18
18
|
analysis that compare your internal workloads with Amazon Web Services.</p>
|
|
19
19
|
<p>Use <code>GetServices</code> without a service code to retrieve the service codes for all AWS services, then
|
|
@@ -24,7 +24,7 @@ you can use <code>GetProducts</code> to find specific products that you're inter
|
|
|
24
24
|
an <code>AmazonEC2</code> instance, with a <code>Provisioned IOPS</code>
|
|
25
25
|
<code>volumeType</code>.</p>
|
|
26
26
|
<p>Service Endpoint</p>
|
|
27
|
-
<p>Amazon Web Services Price List
|
|
27
|
+
<p>Amazon Web Services Price List service API provides the following two endpoints:</p>
|
|
28
28
|
<ul>
|
|
29
29
|
<li>
|
|
30
30
|
<p>https://api.pricing.us-east-1.amazonaws.com</p>
|
package/dist-types/Pricing.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ import { GetAttributeValuesCommandInput, GetAttributeValuesCommandOutput } from
|
|
|
4
4
|
import { GetProductsCommandInput, GetProductsCommandOutput } from "./commands/GetProductsCommand";
|
|
5
5
|
import { PricingClient } from "./PricingClient";
|
|
6
6
|
/**
|
|
7
|
-
* <p>Amazon Web Services Price List
|
|
8
|
-
* programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List
|
|
7
|
+
* <p>Amazon Web Services Price List API is a centralized and convenient way to
|
|
8
|
+
* programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List
|
|
9
9
|
* uses standardized product attributes such as <code>Location</code>, <code>Storage
|
|
10
10
|
* Class</code>, and <code>Operating System</code>, and provides prices at the SKU
|
|
11
|
-
* level. You can use the Amazon Web Services Price List
|
|
11
|
+
* level. You can use the Amazon Web Services Price List to build cost control and scenario planning tools, reconcile
|
|
12
12
|
* billing data, forecast future spend for budgeting purposes, and provide cost benefit
|
|
13
13
|
* analysis that compare your internal workloads with Amazon Web Services.</p>
|
|
14
14
|
* <p>Use <code>GetServices</code> without a service code to retrieve the service codes for all AWS services, then
|
|
@@ -19,7 +19,7 @@ import { PricingClient } from "./PricingClient";
|
|
|
19
19
|
* an <code>AmazonEC2</code> instance, with a <code>Provisioned IOPS</code>
|
|
20
20
|
* <code>volumeType</code>.</p>
|
|
21
21
|
* <p>Service Endpoint</p>
|
|
22
|
-
* <p>Amazon Web Services Price List
|
|
22
|
+
* <p>Amazon Web Services Price List service API provides the following two endpoints:</p>
|
|
23
23
|
* <ul>
|
|
24
24
|
* <li>
|
|
25
25
|
* <p>https://api.pricing.us-east-1.amazonaws.com</p>
|
|
@@ -46,7 +46,7 @@ export declare class Pricing extends PricingClient {
|
|
|
46
46
|
* <p>Returns a list of attribute values. Attributes are similar to the details
|
|
47
47
|
* in a Price List API offer file. For a list of available attributes, see
|
|
48
48
|
* <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/reading-an-offer.html#pps-defs">Offer File Definitions</a>
|
|
49
|
-
* in the <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html">
|
|
49
|
+
* in the <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html">Billing and Cost Management User Guide</a>.</p>
|
|
50
50
|
*/
|
|
51
51
|
getAttributeValues(args: GetAttributeValuesCommandInput, options?: __HttpHandlerOptions): Promise<GetAttributeValuesCommandOutput>;
|
|
52
52
|
getAttributeValues(args: GetAttributeValuesCommandInput, cb: (err: any, data?: GetAttributeValuesCommandOutput) => void): void;
|
|
@@ -129,11 +129,11 @@ declare type PricingClientResolvedConfigType = __SmithyResolvedConfiguration<__H
|
|
|
129
129
|
export interface PricingClientResolvedConfig extends PricingClientResolvedConfigType {
|
|
130
130
|
}
|
|
131
131
|
/**
|
|
132
|
-
* <p>Amazon Web Services Price List
|
|
133
|
-
* programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List
|
|
132
|
+
* <p>Amazon Web Services Price List API is a centralized and convenient way to
|
|
133
|
+
* programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List
|
|
134
134
|
* uses standardized product attributes such as <code>Location</code>, <code>Storage
|
|
135
135
|
* Class</code>, and <code>Operating System</code>, and provides prices at the SKU
|
|
136
|
-
* level. You can use the Amazon Web Services Price List
|
|
136
|
+
* level. You can use the Amazon Web Services Price List to build cost control and scenario planning tools, reconcile
|
|
137
137
|
* billing data, forecast future spend for budgeting purposes, and provide cost benefit
|
|
138
138
|
* analysis that compare your internal workloads with Amazon Web Services.</p>
|
|
139
139
|
* <p>Use <code>GetServices</code> without a service code to retrieve the service codes for all AWS services, then
|
|
@@ -144,7 +144,7 @@ export interface PricingClientResolvedConfig extends PricingClientResolvedConfig
|
|
|
144
144
|
* an <code>AmazonEC2</code> instance, with a <code>Provisioned IOPS</code>
|
|
145
145
|
* <code>volumeType</code>.</p>
|
|
146
146
|
* <p>Service Endpoint</p>
|
|
147
|
-
* <p>Amazon Web Services Price List
|
|
147
|
+
* <p>Amazon Web Services Price List service API provides the following two endpoints:</p>
|
|
148
148
|
* <ul>
|
|
149
149
|
* <li>
|
|
150
150
|
* <p>https://api.pricing.us-east-1.amazonaws.com</p>
|
|
@@ -10,7 +10,7 @@ export interface GetAttributeValuesCommandOutput extends GetAttributeValuesRespo
|
|
|
10
10
|
* <p>Returns a list of attribute values. Attributes are similar to the details
|
|
11
11
|
* in a Price List API offer file. For a list of available attributes, see
|
|
12
12
|
* <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/reading-an-offer.html#pps-defs">Offer File Definitions</a>
|
|
13
|
-
* in the <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html">
|
|
13
|
+
* in the <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html">Billing and Cost Management User Guide</a>.</p>
|
|
14
14
|
* @example
|
|
15
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
16
|
* ```javascript
|
|
@@ -53,7 +53,7 @@ export interface Service {
|
|
|
53
53
|
/**
|
|
54
54
|
* <p>The code for the Amazon Web Services service.</p>
|
|
55
55
|
*/
|
|
56
|
-
ServiceCode
|
|
56
|
+
ServiceCode: string | undefined;
|
|
57
57
|
/**
|
|
58
58
|
* <p>The attributes that are available for this service.</p>
|
|
59
59
|
*/
|
|
@@ -230,7 +230,7 @@ export interface GetProductsRequest {
|
|
|
230
230
|
/**
|
|
231
231
|
* <p>The code for the service whose products you want to retrieve. </p>
|
|
232
232
|
*/
|
|
233
|
-
ServiceCode
|
|
233
|
+
ServiceCode: string | undefined;
|
|
234
234
|
/**
|
|
235
235
|
* <p>The list of filters that limit the returned products. only products that match all filters
|
|
236
236
|
* are returned.</p>
|
|
@@ -26,7 +26,7 @@ export declare namespace DescribeServicesRequest {
|
|
|
26
26
|
|
|
27
27
|
export interface Service {
|
|
28
28
|
|
|
29
|
-
ServiceCode
|
|
29
|
+
ServiceCode: string | undefined;
|
|
30
30
|
|
|
31
31
|
AttributeNames?: string[];
|
|
32
32
|
}
|
|
@@ -128,7 +128,7 @@ export declare namespace Filter {
|
|
|
128
128
|
}
|
|
129
129
|
export interface GetProductsRequest {
|
|
130
130
|
|
|
131
|
-
ServiceCode
|
|
131
|
+
ServiceCode: string | undefined;
|
|
132
132
|
|
|
133
133
|
Filters?: Filter[];
|
|
134
134
|
|
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.118.1",
|
|
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",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.118.1",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.110.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.118.1",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.110.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.110.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.110.0",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.110.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.110.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.110.0",
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.118.1",
|
|
32
32
|
"@aws-sdk/middleware-serde": "3.110.0",
|
|
33
33
|
"@aws-sdk/middleware-signing": "3.110.0",
|
|
34
34
|
"@aws-sdk/middleware-stack": "3.110.0",
|
|
35
35
|
"@aws-sdk/middleware-user-agent": "3.110.0",
|
|
36
36
|
"@aws-sdk/node-config-provider": "3.110.0",
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.118.1",
|
|
38
38
|
"@aws-sdk/protocol-http": "3.110.0",
|
|
39
39
|
"@aws-sdk/smithy-client": "3.110.0",
|
|
40
40
|
"@aws-sdk/types": "3.110.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@aws-sdk/util-defaults-mode-browser": "3.110.0",
|
|
47
47
|
"@aws-sdk/util-defaults-mode-node": "3.110.0",
|
|
48
48
|
"@aws-sdk/util-user-agent-browser": "3.110.0",
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.118.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|