@aws-sdk/client-savingsplans 3.533.0 → 3.535.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.
Files changed (23) hide show
  1. package/dist-types/Savingsplans.d.ts +4 -1
  2. package/dist-types/SavingsplansClient.d.ts +1 -1
  3. package/dist-types/commands/CreateSavingsPlanCommand.d.ts +2 -1
  4. package/dist-types/commands/DeleteQueuedSavingsPlanCommand.d.ts +2 -1
  5. package/dist-types/commands/DescribeSavingsPlanRatesCommand.d.ts +2 -1
  6. package/dist-types/commands/DescribeSavingsPlansCommand.d.ts +2 -1
  7. package/dist-types/commands/DescribeSavingsPlansOfferingRatesCommand.d.ts +2 -1
  8. package/dist-types/commands/DescribeSavingsPlansOfferingsCommand.d.ts +2 -1
  9. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -1
  10. package/dist-types/commands/TagResourceCommand.d.ts +2 -1
  11. package/dist-types/commands/UntagResourceCommand.d.ts +2 -1
  12. package/dist-types/models/models_0.d.ts +137 -137
  13. package/dist-types/ts3.4/Savingsplans.d.ts +3 -0
  14. package/dist-types/ts3.4/commands/CreateSavingsPlanCommand.d.ts +9 -0
  15. package/dist-types/ts3.4/commands/DeleteQueuedSavingsPlanCommand.d.ts +9 -0
  16. package/dist-types/ts3.4/commands/DescribeSavingsPlanRatesCommand.d.ts +9 -0
  17. package/dist-types/ts3.4/commands/DescribeSavingsPlansCommand.d.ts +9 -0
  18. package/dist-types/ts3.4/commands/DescribeSavingsPlansOfferingRatesCommand.d.ts +9 -0
  19. package/dist-types/ts3.4/commands/DescribeSavingsPlansOfferingsCommand.d.ts +9 -0
  20. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +9 -0
  21. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +9 -0
  22. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +9 -0
  23. package/package.json +40 -40
@@ -31,18 +31,21 @@ export interface Savingsplans {
31
31
  /**
32
32
  * @see {@link DescribeSavingsPlansCommand}
33
33
  */
34
+ describeSavingsPlans(): Promise<DescribeSavingsPlansCommandOutput>;
34
35
  describeSavingsPlans(args: DescribeSavingsPlansCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSavingsPlansCommandOutput>;
35
36
  describeSavingsPlans(args: DescribeSavingsPlansCommandInput, cb: (err: any, data?: DescribeSavingsPlansCommandOutput) => void): void;
36
37
  describeSavingsPlans(args: DescribeSavingsPlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSavingsPlansCommandOutput) => void): void;
37
38
  /**
38
39
  * @see {@link DescribeSavingsPlansOfferingRatesCommand}
39
40
  */
41
+ describeSavingsPlansOfferingRates(): Promise<DescribeSavingsPlansOfferingRatesCommandOutput>;
40
42
  describeSavingsPlansOfferingRates(args: DescribeSavingsPlansOfferingRatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSavingsPlansOfferingRatesCommandOutput>;
41
43
  describeSavingsPlansOfferingRates(args: DescribeSavingsPlansOfferingRatesCommandInput, cb: (err: any, data?: DescribeSavingsPlansOfferingRatesCommandOutput) => void): void;
42
44
  describeSavingsPlansOfferingRates(args: DescribeSavingsPlansOfferingRatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSavingsPlansOfferingRatesCommandOutput) => void): void;
43
45
  /**
44
46
  * @see {@link DescribeSavingsPlansOfferingsCommand}
45
47
  */
48
+ describeSavingsPlansOfferings(): Promise<DescribeSavingsPlansOfferingsCommandOutput>;
46
49
  describeSavingsPlansOfferings(args: DescribeSavingsPlansOfferingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSavingsPlansOfferingsCommandOutput>;
47
50
  describeSavingsPlansOfferings(args: DescribeSavingsPlansOfferingsCommandInput, cb: (err: any, data?: DescribeSavingsPlansOfferingsCommandOutput) => void): void;
48
51
  describeSavingsPlansOfferings(args: DescribeSavingsPlansOfferingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSavingsPlansOfferingsCommandOutput) => void): void;
@@ -66,11 +69,11 @@ export interface Savingsplans {
66
69
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
67
70
  }
68
71
  /**
69
- * @public
70
72
  * <p>Savings Plans are a pricing model that offer significant savings on AWS usage (for
71
73
  * example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD
72
74
  * per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For
73
75
  * more information, see the <a href="https://docs.aws.amazon.com/savingsplans/latest/userguide/">AWS Savings Plans User Guide</a>.</p>
76
+ * @public
74
77
  */
75
78
  export declare class Savingsplans extends SavingsplansClient implements Savingsplans {
76
79
  }
@@ -160,11 +160,11 @@ export type SavingsplansClientResolvedConfigType = __SmithyResolvedConfiguration
160
160
  export interface SavingsplansClientResolvedConfig extends SavingsplansClientResolvedConfigType {
161
161
  }
162
162
  /**
163
- * @public
164
163
  * <p>Savings Plans are a pricing model that offer significant savings on AWS usage (for
165
164
  * example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD
166
165
  * per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For
167
166
  * more information, see the <a href="https://docs.aws.amazon.com/savingsplans/latest/userguide/">AWS Savings Plans User Guide</a>.</p>
167
+ * @public
168
168
  */
169
169
  export declare class SavingsplansClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SavingsplansClientResolvedConfig> {
170
170
  /**
@@ -22,10 +22,10 @@ export interface CreateSavingsPlanCommandOutput extends CreateSavingsPlanRespons
22
22
  }
23
23
  declare const CreateSavingsPlanCommand_base: {
24
24
  new (input: CreateSavingsPlanCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSavingsPlanCommandInput, CreateSavingsPlanCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: CreateSavingsPlanCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSavingsPlanCommandInput, CreateSavingsPlanCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Creates a Savings Plan.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -72,6 +72,7 @@ declare const CreateSavingsPlanCommand_base: {
72
72
  * @throws {@link SavingsplansServiceException}
73
73
  * <p>Base exception class for all service exceptions from Savingsplans service.</p>
74
74
  *
75
+ * @public
75
76
  */
76
77
  export declare class CreateSavingsPlanCommand extends CreateSavingsPlanCommand_base {
77
78
  }
@@ -22,10 +22,10 @@ export interface DeleteQueuedSavingsPlanCommandOutput extends DeleteQueuedSaving
22
22
  }
23
23
  declare const DeleteQueuedSavingsPlanCommand_base: {
24
24
  new (input: DeleteQueuedSavingsPlanCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteQueuedSavingsPlanCommandInput, DeleteQueuedSavingsPlanCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DeleteQueuedSavingsPlanCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteQueuedSavingsPlanCommandInput, DeleteQueuedSavingsPlanCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Deletes the queued purchase for the specified Savings Plan.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -63,6 +63,7 @@ declare const DeleteQueuedSavingsPlanCommand_base: {
63
63
  * @throws {@link SavingsplansServiceException}
64
64
  * <p>Base exception class for all service exceptions from Savingsplans service.</p>
65
65
  *
66
+ * @public
66
67
  */
67
68
  export declare class DeleteQueuedSavingsPlanCommand extends DeleteQueuedSavingsPlanCommand_base {
68
69
  }
@@ -22,10 +22,10 @@ export interface DescribeSavingsPlanRatesCommandOutput extends DescribeSavingsPl
22
22
  }
23
23
  declare const DescribeSavingsPlanRatesCommand_base: {
24
24
  new (input: DescribeSavingsPlanRatesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeSavingsPlanRatesCommandInput, DescribeSavingsPlanRatesCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: DescribeSavingsPlanRatesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeSavingsPlanRatesCommandInput, DescribeSavingsPlanRatesCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Describes the specified Savings Plans rates.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -87,6 +87,7 @@ declare const DescribeSavingsPlanRatesCommand_base: {
87
87
  * @throws {@link SavingsplansServiceException}
88
88
  * <p>Base exception class for all service exceptions from Savingsplans service.</p>
89
89
  *
90
+ * @public
90
91
  */
91
92
  export declare class DescribeSavingsPlanRatesCommand extends DescribeSavingsPlanRatesCommand_base {
92
93
  }
@@ -22,10 +22,10 @@ export interface DescribeSavingsPlansCommandOutput extends DescribeSavingsPlansR
22
22
  }
23
23
  declare const DescribeSavingsPlansCommand_base: {
24
24
  new (input: DescribeSavingsPlansCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeSavingsPlansCommandInput, DescribeSavingsPlansCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [DescribeSavingsPlansCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeSavingsPlansCommandInput, DescribeSavingsPlansCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Describes the specified Savings Plans.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -103,6 +103,7 @@ declare const DescribeSavingsPlansCommand_base: {
103
103
  * @throws {@link SavingsplansServiceException}
104
104
  * <p>Base exception class for all service exceptions from Savingsplans service.</p>
105
105
  *
106
+ * @public
106
107
  */
107
108
  export declare class DescribeSavingsPlansCommand extends DescribeSavingsPlansCommand_base {
108
109
  }
@@ -22,10 +22,10 @@ export interface DescribeSavingsPlansOfferingRatesCommandOutput extends Describe
22
22
  }
23
23
  declare const DescribeSavingsPlansOfferingRatesCommand_base: {
24
24
  new (input: DescribeSavingsPlansOfferingRatesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeSavingsPlansOfferingRatesCommandInput, DescribeSavingsPlansOfferingRatesCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [DescribeSavingsPlansOfferingRatesCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeSavingsPlansOfferingRatesCommandInput, DescribeSavingsPlansOfferingRatesCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Describes the specified Savings Plans offering rates.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -113,6 +113,7 @@ declare const DescribeSavingsPlansOfferingRatesCommand_base: {
113
113
  * @throws {@link SavingsplansServiceException}
114
114
  * <p>Base exception class for all service exceptions from Savingsplans service.</p>
115
115
  *
116
+ * @public
116
117
  */
117
118
  export declare class DescribeSavingsPlansOfferingRatesCommand extends DescribeSavingsPlansOfferingRatesCommand_base {
118
119
  }
@@ -22,10 +22,10 @@ export interface DescribeSavingsPlansOfferingsCommandOutput extends DescribeSavi
22
22
  }
23
23
  declare const DescribeSavingsPlansOfferingsCommand_base: {
24
24
  new (input: DescribeSavingsPlansOfferingsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeSavingsPlansOfferingsCommandInput, DescribeSavingsPlansOfferingsCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [DescribeSavingsPlansOfferingsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeSavingsPlansOfferingsCommandInput, DescribeSavingsPlansOfferingsCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Describes the specified Savings Plans offerings.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -118,6 +118,7 @@ declare const DescribeSavingsPlansOfferingsCommand_base: {
118
118
  * @throws {@link SavingsplansServiceException}
119
119
  * <p>Base exception class for all service exceptions from Savingsplans service.</p>
120
120
  *
121
+ * @public
121
122
  */
122
123
  export declare class DescribeSavingsPlansOfferingsCommand extends DescribeSavingsPlansOfferingsCommand_base {
123
124
  }
@@ -22,10 +22,10 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
22
22
  }
23
23
  declare const ListTagsForResourceCommand_base: {
24
24
  new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Lists the tags for the specified resource.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -64,6 +64,7 @@ declare const ListTagsForResourceCommand_base: {
64
64
  * @throws {@link SavingsplansServiceException}
65
65
  * <p>Base exception class for all service exceptions from Savingsplans service.</p>
66
66
  *
67
+ * @public
67
68
  */
68
69
  export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
69
70
  }
@@ -22,10 +22,10 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
22
22
  }
23
23
  declare const TagResourceCommand_base: {
24
24
  new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Adds the specified tags to the specified resource.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -66,6 +66,7 @@ declare const TagResourceCommand_base: {
66
66
  * @throws {@link SavingsplansServiceException}
67
67
  * <p>Base exception class for all service exceptions from Savingsplans service.</p>
68
68
  *
69
+ * @public
69
70
  */
70
71
  export declare class TagResourceCommand extends TagResourceCommand_base {
71
72
  }
@@ -22,10 +22,10 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
22
22
  }
23
23
  declare const UntagResourceCommand_base: {
24
24
  new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Removes the specified tags from the specified resource.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -63,6 +63,7 @@ declare const UntagResourceCommand_base: {
63
63
  * @throws {@link SavingsplansServiceException}
64
64
  * <p>Base exception class for all service exceptions from Savingsplans service.</p>
65
65
  *
66
+ * @public
66
67
  */
67
68
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
68
69
  }