@aws-sdk/client-pricing 3.325.0 → 3.326.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 +15 -0
- package/dist-types/commands/GetAttributeValuesCommand.d.ts +11 -0
- package/dist-types/commands/GetPriceListFileUrlCommand.d.ts +6 -0
- package/dist-types/commands/GetProductsCommand.d.ts +10 -0
- package/dist-types/commands/ListPriceListsCommand.d.ts +16 -0
- package/package.json +3 -3
|
@@ -40,6 +40,19 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new DescribeServicesCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // DescribeServicesResponse
|
|
44
|
+
* // Services: [ // ServiceList
|
|
45
|
+
* // { // Service
|
|
46
|
+
* // ServiceCode: "STRING_VALUE", // required
|
|
47
|
+
* // AttributeNames: [ // AttributeNameList
|
|
48
|
+
* // "STRING_VALUE",
|
|
49
|
+
* // ],
|
|
50
|
+
* // },
|
|
51
|
+
* // ],
|
|
52
|
+
* // FormatVersion: "STRING_VALUE",
|
|
53
|
+
* // NextToken: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
43
56
|
* ```
|
|
44
57
|
*
|
|
45
58
|
* @param DescribeServicesCommandInput - {@link DescribeServicesCommandInput}
|
|
@@ -63,6 +76,8 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
|
|
|
63
76
|
* @throws {@link NotFoundException} (client fault)
|
|
64
77
|
* <p>The requested resource can't be found.</p>
|
|
65
78
|
*
|
|
79
|
+
* @throws {@link PricingServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from Pricing service.</p>
|
|
66
81
|
*
|
|
67
82
|
* @example To retrieve a list of services and service codes
|
|
68
83
|
* ```javascript
|
|
@@ -37,6 +37,15 @@ export interface GetAttributeValuesCommandOutput extends GetAttributeValuesRespo
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new GetAttributeValuesCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // { // GetAttributeValuesResponse
|
|
41
|
+
* // AttributeValues: [ // AttributeValueList
|
|
42
|
+
* // { // AttributeValue
|
|
43
|
+
* // Value: "STRING_VALUE",
|
|
44
|
+
* // },
|
|
45
|
+
* // ],
|
|
46
|
+
* // NextToken: "STRING_VALUE",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
40
49
|
* ```
|
|
41
50
|
*
|
|
42
51
|
* @param GetAttributeValuesCommandInput - {@link GetAttributeValuesCommandInput}
|
|
@@ -60,6 +69,8 @@ export interface GetAttributeValuesCommandOutput extends GetAttributeValuesRespo
|
|
|
60
69
|
* @throws {@link NotFoundException} (client fault)
|
|
61
70
|
* <p>The requested resource can't be found.</p>
|
|
62
71
|
*
|
|
72
|
+
* @throws {@link PricingServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from Pricing service.</p>
|
|
63
74
|
*
|
|
64
75
|
* @example To retrieve a list of attribute values
|
|
65
76
|
* ```javascript
|
|
@@ -40,6 +40,10 @@ export interface GetPriceListFileUrlCommandOutput extends GetPriceListFileUrlRes
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new GetPriceListFileUrlCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // GetPriceListFileUrlResponse
|
|
44
|
+
* // Url: "STRING_VALUE",
|
|
45
|
+
* // };
|
|
46
|
+
*
|
|
43
47
|
* ```
|
|
44
48
|
*
|
|
45
49
|
* @param GetPriceListFileUrlCommandInput - {@link GetPriceListFileUrlCommandInput}
|
|
@@ -60,6 +64,8 @@ export interface GetPriceListFileUrlCommandOutput extends GetPriceListFileUrlRes
|
|
|
60
64
|
* @throws {@link NotFoundException} (client fault)
|
|
61
65
|
* <p>The requested resource can't be found.</p>
|
|
62
66
|
*
|
|
67
|
+
* @throws {@link PricingServiceException}
|
|
68
|
+
* <p>Base exception class for all service exceptions from Pricing service.</p>
|
|
63
69
|
*
|
|
64
70
|
*/
|
|
65
71
|
export declare class GetPriceListFileUrlCommand extends $Command<GetPriceListFileUrlCommandInput, GetPriceListFileUrlCommandOutput, PricingClientResolvedConfig> {
|
|
@@ -41,6 +41,14 @@ export interface GetProductsCommandOutput extends GetProductsResponse, __Metadat
|
|
|
41
41
|
* };
|
|
42
42
|
* const command = new GetProductsCommand(input);
|
|
43
43
|
* const response = await client.send(command);
|
|
44
|
+
* // { // GetProductsResponse
|
|
45
|
+
* // FormatVersion: "STRING_VALUE",
|
|
46
|
+
* // PriceList: [ // PriceListJsonItems
|
|
47
|
+
* // "STRING_VALUE",
|
|
48
|
+
* // ],
|
|
49
|
+
* // NextToken: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
44
52
|
* ```
|
|
45
53
|
*
|
|
46
54
|
* @param GetProductsCommandInput - {@link GetProductsCommandInput}
|
|
@@ -64,6 +72,8 @@ export interface GetProductsCommandOutput extends GetProductsResponse, __Metadat
|
|
|
64
72
|
* @throws {@link NotFoundException} (client fault)
|
|
65
73
|
* <p>The requested resource can't be found.</p>
|
|
66
74
|
*
|
|
75
|
+
* @throws {@link PricingServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Pricing service.</p>
|
|
67
77
|
*
|
|
68
78
|
*/
|
|
69
79
|
export declare class GetProductsCommand extends $Command<GetProductsCommandInput, GetProductsCommandOutput, PricingClientResolvedConfig> {
|
|
@@ -48,6 +48,20 @@ export interface ListPriceListsCommandOutput extends ListPriceListsResponse, __M
|
|
|
48
48
|
* };
|
|
49
49
|
* const command = new ListPriceListsCommand(input);
|
|
50
50
|
* const response = await client.send(command);
|
|
51
|
+
* // { // ListPriceListsResponse
|
|
52
|
+
* // PriceLists: [ // PriceLists
|
|
53
|
+
* // { // PriceList
|
|
54
|
+
* // PriceListArn: "STRING_VALUE",
|
|
55
|
+
* // RegionCode: "STRING_VALUE",
|
|
56
|
+
* // CurrencyCode: "STRING_VALUE",
|
|
57
|
+
* // FileFormats: [ // FileFormats
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // NextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
51
65
|
* ```
|
|
52
66
|
*
|
|
53
67
|
* @param ListPriceListsCommandInput - {@link ListPriceListsCommandInput}
|
|
@@ -74,6 +88,8 @@ export interface ListPriceListsCommandOutput extends ListPriceListsResponse, __M
|
|
|
74
88
|
* @throws {@link NotFoundException} (client fault)
|
|
75
89
|
* <p>The requested resource can't be found.</p>
|
|
76
90
|
*
|
|
91
|
+
* @throws {@link PricingServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from Pricing service.</p>
|
|
77
93
|
*
|
|
78
94
|
*/
|
|
79
95
|
export declare class ListPriceListsCommand extends $Command<ListPriceListsCommandInput, ListPriceListsCommandOutput, PricingClientResolvedConfig> {
|
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.326.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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.326.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.326.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|