@aws-sdk/client-savingsplans 3.321.1 → 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.
@@ -38,6 +38,10 @@ export interface CreateSavingsPlanCommandOutput extends CreateSavingsPlanRespons
38
38
  * };
39
39
  * const command = new CreateSavingsPlanCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // CreateSavingsPlanResponse
42
+ * // savingsPlanId: "STRING_VALUE",
43
+ * // };
44
+ *
41
45
  * ```
42
46
  *
43
47
  * @param CreateSavingsPlanCommandInput - {@link CreateSavingsPlanCommandInput}
@@ -58,6 +62,8 @@ export interface CreateSavingsPlanCommandOutput extends CreateSavingsPlanRespons
58
62
  * @throws {@link ValidationException} (client fault)
59
63
  * <p>One of the input parameters is not valid.</p>
60
64
  *
65
+ * @throws {@link SavingsplansServiceException}
66
+ * <p>Base exception class for all service exceptions from Savingsplans service.</p>
61
67
  *
62
68
  */
63
69
  export declare class CreateSavingsPlanCommand extends $Command<CreateSavingsPlanCommandInput, CreateSavingsPlanCommandOutput, SavingsplansClientResolvedConfig> {
@@ -31,6 +31,8 @@ export interface DeleteQueuedSavingsPlanCommandOutput extends DeleteQueuedSaving
31
31
  * };
32
32
  * const command = new DeleteQueuedSavingsPlanCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // {};
35
+ *
34
36
  * ```
35
37
  *
36
38
  * @param DeleteQueuedSavingsPlanCommandInput - {@link DeleteQueuedSavingsPlanCommandInput}
@@ -51,6 +53,8 @@ export interface DeleteQueuedSavingsPlanCommandOutput extends DeleteQueuedSaving
51
53
  * @throws {@link ValidationException} (client fault)
52
54
  * <p>One of the input parameters is not valid.</p>
53
55
  *
56
+ * @throws {@link SavingsplansServiceException}
57
+ * <p>Base exception class for all service exceptions from Savingsplans service.</p>
54
58
  *
55
59
  */
56
60
  export declare class DeleteQueuedSavingsPlanCommand extends $Command<DeleteQueuedSavingsPlanCommandInput, DeleteQueuedSavingsPlanCommandOutput, SavingsplansClientResolvedConfig> {
@@ -41,6 +41,28 @@ export interface DescribeSavingsPlanRatesCommandOutput extends DescribeSavingsPl
41
41
  * };
42
42
  * const command = new DescribeSavingsPlanRatesCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // DescribeSavingsPlanRatesResponse
45
+ * // savingsPlanId: "STRING_VALUE",
46
+ * // searchResults: [ // SavingsPlanRateList
47
+ * // { // SavingsPlanRate
48
+ * // rate: "STRING_VALUE",
49
+ * // currency: "STRING_VALUE",
50
+ * // unit: "STRING_VALUE",
51
+ * // productType: "STRING_VALUE",
52
+ * // serviceCode: "STRING_VALUE",
53
+ * // usageType: "STRING_VALUE",
54
+ * // operation: "STRING_VALUE",
55
+ * // properties: [ // SavingsPlanRatePropertyList
56
+ * // { // SavingsPlanRateProperty
57
+ * // name: "STRING_VALUE",
58
+ * // value: "STRING_VALUE",
59
+ * // },
60
+ * // ],
61
+ * // },
62
+ * // ],
63
+ * // nextToken: "STRING_VALUE",
64
+ * // };
65
+ *
44
66
  * ```
45
67
  *
46
68
  * @param DescribeSavingsPlanRatesCommandInput - {@link DescribeSavingsPlanRatesCommandInput}
@@ -55,6 +77,8 @@ export interface DescribeSavingsPlanRatesCommandOutput extends DescribeSavingsPl
55
77
  * @throws {@link ValidationException} (client fault)
56
78
  * <p>One of the input parameters is not valid.</p>
57
79
  *
80
+ * @throws {@link SavingsplansServiceException}
81
+ * <p>Base exception class for all service exceptions from Savingsplans service.</p>
58
82
  *
59
83
  */
60
84
  export declare class DescribeSavingsPlanRatesCommand extends $Command<DescribeSavingsPlanRatesCommandInput, DescribeSavingsPlanRatesCommandOutput, SavingsplansClientResolvedConfig> {
@@ -49,6 +49,36 @@ export interface DescribeSavingsPlansCommandOutput extends DescribeSavingsPlansR
49
49
  * };
50
50
  * const command = new DescribeSavingsPlansCommand(input);
51
51
  * const response = await client.send(command);
52
+ * // { // DescribeSavingsPlansResponse
53
+ * // savingsPlans: [ // SavingsPlanList
54
+ * // { // SavingsPlan
55
+ * // offeringId: "STRING_VALUE",
56
+ * // savingsPlanId: "STRING_VALUE",
57
+ * // savingsPlanArn: "STRING_VALUE",
58
+ * // description: "STRING_VALUE",
59
+ * // start: "STRING_VALUE",
60
+ * // end: "STRING_VALUE",
61
+ * // state: "STRING_VALUE",
62
+ * // region: "STRING_VALUE",
63
+ * // ec2InstanceFamily: "STRING_VALUE",
64
+ * // savingsPlanType: "STRING_VALUE",
65
+ * // paymentOption: "STRING_VALUE",
66
+ * // productTypes: [ // SavingsPlanProductTypeList
67
+ * // "STRING_VALUE",
68
+ * // ],
69
+ * // currency: "STRING_VALUE",
70
+ * // commitment: "STRING_VALUE",
71
+ * // upfrontPaymentAmount: "STRING_VALUE",
72
+ * // recurringPaymentAmount: "STRING_VALUE",
73
+ * // termDurationInSeconds: Number("long"),
74
+ * // tags: { // TagMap
75
+ * // "<keys>": "STRING_VALUE",
76
+ * // },
77
+ * // },
78
+ * // ],
79
+ * // nextToken: "STRING_VALUE",
80
+ * // };
81
+ *
52
82
  * ```
53
83
  *
54
84
  * @param DescribeSavingsPlansCommandInput - {@link DescribeSavingsPlansCommandInput}
@@ -63,6 +93,8 @@ export interface DescribeSavingsPlansCommandOutput extends DescribeSavingsPlansR
63
93
  * @throws {@link ValidationException} (client fault)
64
94
  * <p>One of the input parameters is not valid.</p>
65
95
  *
96
+ * @throws {@link SavingsplansServiceException}
97
+ * <p>Base exception class for all service exceptions from Savingsplans service.</p>
66
98
  *
67
99
  */
68
100
  export declare class DescribeSavingsPlansCommand extends $Command<DescribeSavingsPlansCommandInput, DescribeSavingsPlansCommandOutput, SavingsplansClientResolvedConfig> {
@@ -61,6 +61,34 @@ export interface DescribeSavingsPlansOfferingRatesCommandOutput extends Describe
61
61
  * };
62
62
  * const command = new DescribeSavingsPlansOfferingRatesCommand(input);
63
63
  * const response = await client.send(command);
64
+ * // { // DescribeSavingsPlansOfferingRatesResponse
65
+ * // searchResults: [ // SavingsPlanOfferingRatesList
66
+ * // { // SavingsPlanOfferingRate
67
+ * // savingsPlanOffering: { // ParentSavingsPlanOffering
68
+ * // offeringId: "STRING_VALUE",
69
+ * // paymentOption: "STRING_VALUE",
70
+ * // planType: "STRING_VALUE",
71
+ * // durationSeconds: Number("long"),
72
+ * // currency: "STRING_VALUE",
73
+ * // planDescription: "STRING_VALUE",
74
+ * // },
75
+ * // rate: "STRING_VALUE",
76
+ * // unit: "STRING_VALUE",
77
+ * // productType: "STRING_VALUE",
78
+ * // serviceCode: "STRING_VALUE",
79
+ * // usageType: "STRING_VALUE",
80
+ * // operation: "STRING_VALUE",
81
+ * // properties: [ // SavingsPlanOfferingRatePropertyList
82
+ * // { // SavingsPlanOfferingRateProperty
83
+ * // name: "STRING_VALUE",
84
+ * // value: "STRING_VALUE",
85
+ * // },
86
+ * // ],
87
+ * // },
88
+ * // ],
89
+ * // nextToken: "STRING_VALUE",
90
+ * // };
91
+ *
64
92
  * ```
65
93
  *
66
94
  * @param DescribeSavingsPlansOfferingRatesCommandInput - {@link DescribeSavingsPlansOfferingRatesCommandInput}
@@ -75,6 +103,8 @@ export interface DescribeSavingsPlansOfferingRatesCommandOutput extends Describe
75
103
  * @throws {@link ValidationException} (client fault)
76
104
  * <p>One of the input parameters is not valid.</p>
77
105
  *
106
+ * @throws {@link SavingsplansServiceException}
107
+ * <p>Base exception class for all service exceptions from Savingsplans service.</p>
78
108
  *
79
109
  */
80
110
  export declare class DescribeSavingsPlansOfferingRatesCommand extends $Command<DescribeSavingsPlansOfferingRatesCommandInput, DescribeSavingsPlansOfferingRatesCommandOutput, SavingsplansClientResolvedConfig> {
@@ -68,6 +68,32 @@ export interface DescribeSavingsPlansOfferingsCommandOutput extends DescribeSavi
68
68
  * };
69
69
  * const command = new DescribeSavingsPlansOfferingsCommand(input);
70
70
  * const response = await client.send(command);
71
+ * // { // DescribeSavingsPlansOfferingsResponse
72
+ * // searchResults: [ // SavingsPlanOfferingsList
73
+ * // { // SavingsPlanOffering
74
+ * // offeringId: "STRING_VALUE",
75
+ * // productTypes: [ // SavingsPlanProductTypeList
76
+ * // "STRING_VALUE",
77
+ * // ],
78
+ * // planType: "STRING_VALUE",
79
+ * // description: "STRING_VALUE",
80
+ * // paymentOption: "STRING_VALUE",
81
+ * // durationSeconds: Number("long"),
82
+ * // currency: "STRING_VALUE",
83
+ * // serviceCode: "STRING_VALUE",
84
+ * // usageType: "STRING_VALUE",
85
+ * // operation: "STRING_VALUE",
86
+ * // properties: [ // SavingsPlanOfferingPropertyList
87
+ * // { // SavingsPlanOfferingProperty
88
+ * // name: "STRING_VALUE",
89
+ * // value: "STRING_VALUE",
90
+ * // },
91
+ * // ],
92
+ * // },
93
+ * // ],
94
+ * // nextToken: "STRING_VALUE",
95
+ * // };
96
+ *
71
97
  * ```
72
98
  *
73
99
  * @param DescribeSavingsPlansOfferingsCommandInput - {@link DescribeSavingsPlansOfferingsCommandInput}
@@ -82,6 +108,8 @@ export interface DescribeSavingsPlansOfferingsCommandOutput extends DescribeSavi
82
108
  * @throws {@link ValidationException} (client fault)
83
109
  * <p>One of the input parameters is not valid.</p>
84
110
  *
111
+ * @throws {@link SavingsplansServiceException}
112
+ * <p>Base exception class for all service exceptions from Savingsplans service.</p>
85
113
  *
86
114
  */
87
115
  export declare class DescribeSavingsPlansOfferingsCommand extends $Command<DescribeSavingsPlansOfferingsCommandInput, DescribeSavingsPlansOfferingsCommandOutput, SavingsplansClientResolvedConfig> {
@@ -31,6 +31,12 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
31
31
  * };
32
32
  * const command = new ListTagsForResourceCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // ListTagsForResourceResponse
35
+ * // tags: { // TagMap
36
+ * // "<keys>": "STRING_VALUE",
37
+ * // },
38
+ * // };
39
+ *
34
40
  * ```
35
41
  *
36
42
  * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
@@ -48,6 +54,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
48
54
  * @throws {@link ValidationException} (client fault)
49
55
  * <p>One of the input parameters is not valid.</p>
50
56
  *
57
+ * @throws {@link SavingsplansServiceException}
58
+ * <p>Base exception class for all service exceptions from Savingsplans service.</p>
51
59
  *
52
60
  */
53
61
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SavingsplansClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
34
34
  * };
35
35
  * const command = new TagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param TagResourceCommandInput - {@link TagResourceCommandInput}
@@ -54,6 +56,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
54
56
  * @throws {@link ValidationException} (client fault)
55
57
  * <p>One of the input parameters is not valid.</p>
56
58
  *
59
+ * @throws {@link SavingsplansServiceException}
60
+ * <p>Base exception class for all service exceptions from Savingsplans service.</p>
57
61
  *
58
62
  */
59
63
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SavingsplansClientResolvedConfig> {
@@ -34,6 +34,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
34
34
  * };
35
35
  * const command = new UntagResourceCommand(input);
36
36
  * const response = await client.send(command);
37
+ * // {};
38
+ *
37
39
  * ```
38
40
  *
39
41
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -51,6 +53,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
51
53
  * @throws {@link ValidationException} (client fault)
52
54
  * <p>One of the input parameters is not valid.</p>
53
55
  *
56
+ * @throws {@link SavingsplansServiceException}
57
+ * <p>Base exception class for all service exceptions from Savingsplans service.</p>
54
58
  *
55
59
  */
56
60
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SavingsplansClientResolvedConfig> {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-savingsplans",
3
3
  "description": "AWS SDK for JavaScript Savingsplans Client for Node.js, Browser and React Native",
4
- "version": "3.321.1",
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,33 +21,33 @@
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.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
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",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",