@aws-sdk/client-pricing 3.299.0 → 3.300.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/dist-types/commands/DescribeServicesCommand.d.ts +6 -0
- package/dist-types/commands/GetAttributeValuesCommand.d.ts +6 -0
- package/dist-types/commands/GetPriceListFileUrlCommand.d.ts +4 -0
- package/dist-types/commands/GetProductsCommand.d.ts +13 -0
- package/dist-types/commands/ListPriceListsCommand.d.ts +8 -0
- package/package.json +8 -8
|
@@ -32,6 +32,12 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
|
|
|
32
32
|
* import { PricingClient, DescribeServicesCommand } from "@aws-sdk/client-pricing"; // ES Modules import
|
|
33
33
|
* // const { PricingClient, DescribeServicesCommand } = require("@aws-sdk/client-pricing"); // CommonJS import
|
|
34
34
|
* const client = new PricingClient(config);
|
|
35
|
+
* const input = {
|
|
36
|
+
* ServiceCode: "STRING_VALUE",
|
|
37
|
+
* FormatVersion: "STRING_VALUE",
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* };
|
|
35
41
|
* const command = new DescribeServicesCommand(input);
|
|
36
42
|
* const response = await client.send(command);
|
|
37
43
|
* ```
|
|
@@ -29,6 +29,12 @@ export interface GetAttributeValuesCommandOutput extends GetAttributeValuesRespo
|
|
|
29
29
|
* import { PricingClient, GetAttributeValuesCommand } from "@aws-sdk/client-pricing"; // ES Modules import
|
|
30
30
|
* // const { PricingClient, GetAttributeValuesCommand } = require("@aws-sdk/client-pricing"); // CommonJS import
|
|
31
31
|
* const client = new PricingClient(config);
|
|
32
|
+
* const input = {
|
|
33
|
+
* ServiceCode: "STRING_VALUE", // required
|
|
34
|
+
* AttributeName: "STRING_VALUE", // required
|
|
35
|
+
* NextToken: "STRING_VALUE",
|
|
36
|
+
* MaxResults: Number("int"),
|
|
37
|
+
* };
|
|
32
38
|
* const command = new GetAttributeValuesCommand(input);
|
|
33
39
|
* const response = await client.send(command);
|
|
34
40
|
* ```
|
|
@@ -34,6 +34,10 @@ export interface GetPriceListFileUrlCommandOutput extends GetPriceListFileUrlRes
|
|
|
34
34
|
* import { PricingClient, GetPriceListFileUrlCommand } from "@aws-sdk/client-pricing"; // ES Modules import
|
|
35
35
|
* // const { PricingClient, GetPriceListFileUrlCommand } = require("@aws-sdk/client-pricing"); // CommonJS import
|
|
36
36
|
* const client = new PricingClient(config);
|
|
37
|
+
* const input = {
|
|
38
|
+
* PriceListArn: "STRING_VALUE", // required
|
|
39
|
+
* FileFormat: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
37
41
|
* const command = new GetPriceListFileUrlCommand(input);
|
|
38
42
|
* const response = await client.send(command);
|
|
39
43
|
* ```
|
|
@@ -26,6 +26,19 @@ export interface GetProductsCommandOutput extends GetProductsResponse, __Metadat
|
|
|
26
26
|
* import { PricingClient, GetProductsCommand } from "@aws-sdk/client-pricing"; // ES Modules import
|
|
27
27
|
* // const { PricingClient, GetProductsCommand } = require("@aws-sdk/client-pricing"); // CommonJS import
|
|
28
28
|
* const client = new PricingClient(config);
|
|
29
|
+
* const input = {
|
|
30
|
+
* ServiceCode: "STRING_VALUE", // required
|
|
31
|
+
* Filters: [
|
|
32
|
+
* {
|
|
33
|
+
* Type: "TERM_MATCH", // required
|
|
34
|
+
* Field: "STRING_VALUE", // required
|
|
35
|
+
* Value: "STRING_VALUE", // required
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* FormatVersion: "STRING_VALUE",
|
|
39
|
+
* NextToken: "STRING_VALUE",
|
|
40
|
+
* MaxResults: Number("int"),
|
|
41
|
+
* };
|
|
29
42
|
* const command = new GetProductsCommand(input);
|
|
30
43
|
* const response = await client.send(command);
|
|
31
44
|
* ```
|
|
@@ -38,6 +38,14 @@ export interface ListPriceListsCommandOutput extends ListPriceListsResponse, __M
|
|
|
38
38
|
* import { PricingClient, ListPriceListsCommand } from "@aws-sdk/client-pricing"; // ES Modules import
|
|
39
39
|
* // const { PricingClient, ListPriceListsCommand } = require("@aws-sdk/client-pricing"); // CommonJS import
|
|
40
40
|
* const client = new PricingClient(config);
|
|
41
|
+
* const input = {
|
|
42
|
+
* ServiceCode: "STRING_VALUE", // required
|
|
43
|
+
* EffectiveDate: new Date("TIMESTAMP"), // required
|
|
44
|
+
* RegionCode: "STRING_VALUE",
|
|
45
|
+
* CurrencyCode: "STRING_VALUE", // required
|
|
46
|
+
* NextToken: "STRING_VALUE",
|
|
47
|
+
* MaxResults: Number("int"),
|
|
48
|
+
* };
|
|
41
49
|
* const command = new ListPriceListsCommand(input);
|
|
42
50
|
* const response = await client.send(command);
|
|
43
51
|
* ```
|
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.300.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,9 +21,9 @@
|
|
|
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/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.300.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.300.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.300.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
33
33
|
"@aws-sdk/middleware-logger": "3.296.0",
|
|
34
34
|
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.300.0",
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.296.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.299.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.296.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.299.0",
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.300.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.296.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.296.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.296.0",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.300.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.296.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.296.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.299.0",
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.300.0",
|
|
55
55
|
"@aws-sdk/util-utf8": "3.295.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|