@aws-sdk/client-savingsplans 3.296.0 → 3.298.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-cjs/commands/CreateSavingsPlanCommand.js +2 -3
- package/dist-cjs/commands/DeleteQueuedSavingsPlanCommand.js +2 -3
- package/dist-cjs/commands/DescribeSavingsPlanRatesCommand.js +2 -3
- package/dist-cjs/commands/DescribeSavingsPlansCommand.js +2 -3
- package/dist-cjs/commands/DescribeSavingsPlansOfferingRatesCommand.js +2 -3
- package/dist-cjs/commands/DescribeSavingsPlansOfferingsCommand.js +2 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-cjs/commands/TagResourceCommand.js +2 -3
- package/dist-cjs/commands/UntagResourceCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -121
- package/dist-es/commands/CreateSavingsPlanCommand.js +2 -3
- package/dist-es/commands/DeleteQueuedSavingsPlanCommand.js +2 -3
- package/dist-es/commands/DescribeSavingsPlanRatesCommand.js +2 -3
- package/dist-es/commands/DescribeSavingsPlansCommand.js +2 -3
- package/dist-es/commands/DescribeSavingsPlansOfferingRatesCommand.js +2 -3
- package/dist-es/commands/DescribeSavingsPlansOfferingsCommand.js +2 -3
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -3
- package/dist-es/commands/TagResourceCommand.js +2 -3
- package/dist-es/commands/UntagResourceCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -90
- package/dist-types/Savingsplans.d.ts +10 -0
- package/dist-types/SavingsplansClient.d.ts +24 -4
- package/dist-types/commands/CreateSavingsPlanCommand.d.ts +16 -0
- package/dist-types/commands/DeleteQueuedSavingsPlanCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSavingsPlanRatesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSavingsPlansCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSavingsPlansOfferingRatesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSavingsPlansOfferingsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/models/SavingsplansServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +110 -121
- package/dist-types/ts3.4/models/models_0.d.ts +0 -88
- package/package.json +4 -3
|
@@ -10,6 +10,7 @@ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/Ta
|
|
|
10
10
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
11
11
|
import { SavingsplansClient } from "./SavingsplansClient";
|
|
12
12
|
/**
|
|
13
|
+
* @public
|
|
13
14
|
* <p>Savings Plans are a pricing model that offer significant savings on AWS usage (for
|
|
14
15
|
* example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD
|
|
15
16
|
* per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For
|
|
@@ -17,54 +18,63 @@ import { SavingsplansClient } from "./SavingsplansClient";
|
|
|
17
18
|
*/
|
|
18
19
|
export declare class Savingsplans extends SavingsplansClient {
|
|
19
20
|
/**
|
|
21
|
+
* @public
|
|
20
22
|
* <p>Creates a Savings Plan.</p>
|
|
21
23
|
*/
|
|
22
24
|
createSavingsPlan(args: CreateSavingsPlanCommandInput, options?: __HttpHandlerOptions): Promise<CreateSavingsPlanCommandOutput>;
|
|
23
25
|
createSavingsPlan(args: CreateSavingsPlanCommandInput, cb: (err: any, data?: CreateSavingsPlanCommandOutput) => void): void;
|
|
24
26
|
createSavingsPlan(args: CreateSavingsPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSavingsPlanCommandOutput) => void): void;
|
|
25
27
|
/**
|
|
28
|
+
* @public
|
|
26
29
|
* <p>Deletes the queued purchase for the specified Savings Plan.</p>
|
|
27
30
|
*/
|
|
28
31
|
deleteQueuedSavingsPlan(args: DeleteQueuedSavingsPlanCommandInput, options?: __HttpHandlerOptions): Promise<DeleteQueuedSavingsPlanCommandOutput>;
|
|
29
32
|
deleteQueuedSavingsPlan(args: DeleteQueuedSavingsPlanCommandInput, cb: (err: any, data?: DeleteQueuedSavingsPlanCommandOutput) => void): void;
|
|
30
33
|
deleteQueuedSavingsPlan(args: DeleteQueuedSavingsPlanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteQueuedSavingsPlanCommandOutput) => void): void;
|
|
31
34
|
/**
|
|
35
|
+
* @public
|
|
32
36
|
* <p>Describes the specified Savings Plans rates.</p>
|
|
33
37
|
*/
|
|
34
38
|
describeSavingsPlanRates(args: DescribeSavingsPlanRatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSavingsPlanRatesCommandOutput>;
|
|
35
39
|
describeSavingsPlanRates(args: DescribeSavingsPlanRatesCommandInput, cb: (err: any, data?: DescribeSavingsPlanRatesCommandOutput) => void): void;
|
|
36
40
|
describeSavingsPlanRates(args: DescribeSavingsPlanRatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSavingsPlanRatesCommandOutput) => void): void;
|
|
37
41
|
/**
|
|
42
|
+
* @public
|
|
38
43
|
* <p>Describes the specified Savings Plans.</p>
|
|
39
44
|
*/
|
|
40
45
|
describeSavingsPlans(args: DescribeSavingsPlansCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSavingsPlansCommandOutput>;
|
|
41
46
|
describeSavingsPlans(args: DescribeSavingsPlansCommandInput, cb: (err: any, data?: DescribeSavingsPlansCommandOutput) => void): void;
|
|
42
47
|
describeSavingsPlans(args: DescribeSavingsPlansCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSavingsPlansCommandOutput) => void): void;
|
|
43
48
|
/**
|
|
49
|
+
* @public
|
|
44
50
|
* <p>Describes the specified Savings Plans offering rates.</p>
|
|
45
51
|
*/
|
|
46
52
|
describeSavingsPlansOfferingRates(args: DescribeSavingsPlansOfferingRatesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSavingsPlansOfferingRatesCommandOutput>;
|
|
47
53
|
describeSavingsPlansOfferingRates(args: DescribeSavingsPlansOfferingRatesCommandInput, cb: (err: any, data?: DescribeSavingsPlansOfferingRatesCommandOutput) => void): void;
|
|
48
54
|
describeSavingsPlansOfferingRates(args: DescribeSavingsPlansOfferingRatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSavingsPlansOfferingRatesCommandOutput) => void): void;
|
|
49
55
|
/**
|
|
56
|
+
* @public
|
|
50
57
|
* <p>Describes the specified Savings Plans offerings.</p>
|
|
51
58
|
*/
|
|
52
59
|
describeSavingsPlansOfferings(args: DescribeSavingsPlansOfferingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSavingsPlansOfferingsCommandOutput>;
|
|
53
60
|
describeSavingsPlansOfferings(args: DescribeSavingsPlansOfferingsCommandInput, cb: (err: any, data?: DescribeSavingsPlansOfferingsCommandOutput) => void): void;
|
|
54
61
|
describeSavingsPlansOfferings(args: DescribeSavingsPlansOfferingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSavingsPlansOfferingsCommandOutput) => void): void;
|
|
55
62
|
/**
|
|
63
|
+
* @public
|
|
56
64
|
* <p>Lists the tags for the specified resource.</p>
|
|
57
65
|
*/
|
|
58
66
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
59
67
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
60
68
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
61
69
|
/**
|
|
70
|
+
* @public
|
|
62
71
|
* <p>Adds the specified tags to the specified resource.</p>
|
|
63
72
|
*/
|
|
64
73
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
65
74
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
66
75
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
67
76
|
/**
|
|
77
|
+
* @public
|
|
68
78
|
* <p>Removes the specified tags from the specified resource.</p>
|
|
69
79
|
*/
|
|
70
80
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
@@ -17,15 +17,24 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
|
|
|
17
17
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
18
18
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
19
19
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
20
23
|
export type ServiceInputTypes = CreateSavingsPlanCommandInput | DeleteQueuedSavingsPlanCommandInput | DescribeSavingsPlanRatesCommandInput | DescribeSavingsPlansCommandInput | DescribeSavingsPlansOfferingRatesCommandInput | DescribeSavingsPlansOfferingsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
21
27
|
export type ServiceOutputTypes = CreateSavingsPlanCommandOutput | DeleteQueuedSavingsPlanCommandOutput | DescribeSavingsPlanRatesCommandOutput | DescribeSavingsPlansCommandOutput | DescribeSavingsPlansOfferingRatesCommandOutput | DescribeSavingsPlansOfferingsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
22
31
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
23
32
|
/**
|
|
24
33
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
25
34
|
*/
|
|
26
35
|
requestHandler?: __HttpHandler;
|
|
27
36
|
/**
|
|
28
|
-
* A constructor for a class implementing the {@link
|
|
37
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
29
38
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
30
39
|
* @internal
|
|
31
40
|
*/
|
|
@@ -115,23 +124,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
115
124
|
*/
|
|
116
125
|
logger?: __Logger;
|
|
117
126
|
/**
|
|
118
|
-
* The {@link
|
|
127
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
119
128
|
*/
|
|
120
129
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
121
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
122
134
|
type SavingsplansClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
123
135
|
/**
|
|
124
|
-
*
|
|
136
|
+
* @public
|
|
137
|
+
*
|
|
138
|
+
* The configuration interface of SavingsplansClient class constructor that set the region, credentials and other options.
|
|
125
139
|
*/
|
|
126
140
|
export interface SavingsplansClientConfig extends SavingsplansClientConfigType {
|
|
127
141
|
}
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
128
145
|
type SavingsplansClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
129
146
|
/**
|
|
130
|
-
*
|
|
147
|
+
* @public
|
|
148
|
+
*
|
|
149
|
+
* The resolved configuration interface of SavingsplansClient class. This is resolved and normalized from the {@link SavingsplansClientConfig | constructor configuration interface}.
|
|
131
150
|
*/
|
|
132
151
|
export interface SavingsplansClientResolvedConfig extends SavingsplansClientResolvedConfigType {
|
|
133
152
|
}
|
|
134
153
|
/**
|
|
154
|
+
* @public
|
|
135
155
|
* <p>Savings Plans are a pricing model that offer significant savings on AWS usage (for
|
|
136
156
|
* example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD
|
|
137
157
|
* per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { CreateSavingsPlanRequest, CreateSavingsPlanResponse } from "../models/models_0";
|
|
5
5
|
import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link CreateSavingsPlanCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface CreateSavingsPlanCommandInput extends CreateSavingsPlanRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link CreateSavingsPlanCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface CreateSavingsPlanCommandOutput extends CreateSavingsPlanResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Creates a Savings Plan.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface CreateSavingsPlanCommandOutput extends CreateSavingsPlanRespons
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param CreateSavingsPlanCommandInput - {@link CreateSavingsPlanCommandInput}
|
|
34
|
+
* @returns {@link CreateSavingsPlanCommandOutput}
|
|
28
35
|
* @see {@link CreateSavingsPlanCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link CreateSavingsPlanCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SavingsplansClientResolvedConfig | config} for SavingsplansClient's `config` shape.
|
|
@@ -46,11 +53,20 @@ export interface CreateSavingsPlanCommandOutput extends CreateSavingsPlanRespons
|
|
|
46
53
|
export declare class CreateSavingsPlanCommand extends $Command<CreateSavingsPlanCommandInput, CreateSavingsPlanCommandOutput, SavingsplansClientResolvedConfig> {
|
|
47
54
|
readonly input: CreateSavingsPlanCommandInput;
|
|
48
55
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
49
59
|
constructor(input: CreateSavingsPlanCommandInput);
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSavingsPlanCommandInput, CreateSavingsPlanCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
54
67
|
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
55
71
|
private deserialize;
|
|
56
72
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DeleteQueuedSavingsPlanRequest, DeleteQueuedSavingsPlanResponse } from "../models/models_0";
|
|
5
5
|
import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DeleteQueuedSavingsPlanCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DeleteQueuedSavingsPlanCommandInput extends DeleteQueuedSavingsPlanRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DeleteQueuedSavingsPlanCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DeleteQueuedSavingsPlanCommandOutput extends DeleteQueuedSavingsPlanResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Deletes the queued purchase for the specified Savings Plan.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface DeleteQueuedSavingsPlanCommandOutput extends DeleteQueuedSaving
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DeleteQueuedSavingsPlanCommandInput - {@link DeleteQueuedSavingsPlanCommandInput}
|
|
34
|
+
* @returns {@link DeleteQueuedSavingsPlanCommandOutput}
|
|
28
35
|
* @see {@link DeleteQueuedSavingsPlanCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DeleteQueuedSavingsPlanCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SavingsplansClientResolvedConfig | config} for SavingsplansClient's `config` shape.
|
|
@@ -46,11 +53,20 @@ export interface DeleteQueuedSavingsPlanCommandOutput extends DeleteQueuedSaving
|
|
|
46
53
|
export declare class DeleteQueuedSavingsPlanCommand extends $Command<DeleteQueuedSavingsPlanCommandInput, DeleteQueuedSavingsPlanCommandOutput, SavingsplansClientResolvedConfig> {
|
|
47
54
|
readonly input: DeleteQueuedSavingsPlanCommandInput;
|
|
48
55
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
49
59
|
constructor(input: DeleteQueuedSavingsPlanCommandInput);
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteQueuedSavingsPlanCommandInput, DeleteQueuedSavingsPlanCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
54
67
|
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
55
71
|
private deserialize;
|
|
56
72
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DescribeSavingsPlanRatesRequest, DescribeSavingsPlanRatesResponse } from "../models/models_0";
|
|
5
5
|
import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeSavingsPlanRatesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeSavingsPlanRatesCommandInput extends DescribeSavingsPlanRatesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeSavingsPlanRatesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeSavingsPlanRatesCommandOutput extends DescribeSavingsPlanRatesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Describes the specified Savings Plans rates.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface DescribeSavingsPlanRatesCommandOutput extends DescribeSavingsPl
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DescribeSavingsPlanRatesCommandInput - {@link DescribeSavingsPlanRatesCommandInput}
|
|
34
|
+
* @returns {@link DescribeSavingsPlanRatesCommandOutput}
|
|
28
35
|
* @see {@link DescribeSavingsPlanRatesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DescribeSavingsPlanRatesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SavingsplansClientResolvedConfig | config} for SavingsplansClient's `config` shape.
|
|
@@ -40,11 +47,20 @@ export interface DescribeSavingsPlanRatesCommandOutput extends DescribeSavingsPl
|
|
|
40
47
|
export declare class DescribeSavingsPlanRatesCommand extends $Command<DescribeSavingsPlanRatesCommandInput, DescribeSavingsPlanRatesCommandOutput, SavingsplansClientResolvedConfig> {
|
|
41
48
|
readonly input: DescribeSavingsPlanRatesCommandInput;
|
|
42
49
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
43
53
|
constructor(input: DescribeSavingsPlanRatesCommandInput);
|
|
44
54
|
/**
|
|
45
55
|
* @internal
|
|
46
56
|
*/
|
|
47
57
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSavingsPlanRatesCommandInput, DescribeSavingsPlanRatesCommandOutput>;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
48
61
|
private serialize;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
49
65
|
private deserialize;
|
|
50
66
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DescribeSavingsPlansRequest, DescribeSavingsPlansResponse } from "../models/models_0";
|
|
5
5
|
import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeSavingsPlansCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeSavingsPlansCommandInput extends DescribeSavingsPlansRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeSavingsPlansCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeSavingsPlansCommandOutput extends DescribeSavingsPlansResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Describes the specified Savings Plans.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface DescribeSavingsPlansCommandOutput extends DescribeSavingsPlansR
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DescribeSavingsPlansCommandInput - {@link DescribeSavingsPlansCommandInput}
|
|
34
|
+
* @returns {@link DescribeSavingsPlansCommandOutput}
|
|
28
35
|
* @see {@link DescribeSavingsPlansCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DescribeSavingsPlansCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SavingsplansClientResolvedConfig | config} for SavingsplansClient's `config` shape.
|
|
@@ -40,11 +47,20 @@ export interface DescribeSavingsPlansCommandOutput extends DescribeSavingsPlansR
|
|
|
40
47
|
export declare class DescribeSavingsPlansCommand extends $Command<DescribeSavingsPlansCommandInput, DescribeSavingsPlansCommandOutput, SavingsplansClientResolvedConfig> {
|
|
41
48
|
readonly input: DescribeSavingsPlansCommandInput;
|
|
42
49
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
43
53
|
constructor(input: DescribeSavingsPlansCommandInput);
|
|
44
54
|
/**
|
|
45
55
|
* @internal
|
|
46
56
|
*/
|
|
47
57
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSavingsPlansCommandInput, DescribeSavingsPlansCommandOutput>;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
48
61
|
private serialize;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
49
65
|
private deserialize;
|
|
50
66
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DescribeSavingsPlansOfferingRatesRequest, DescribeSavingsPlansOfferingRatesResponse } from "../models/models_0";
|
|
5
5
|
import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeSavingsPlansOfferingRatesCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeSavingsPlansOfferingRatesCommandInput extends DescribeSavingsPlansOfferingRatesRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeSavingsPlansOfferingRatesCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeSavingsPlansOfferingRatesCommandOutput extends DescribeSavingsPlansOfferingRatesResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Describes the specified Savings Plans offering rates.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface DescribeSavingsPlansOfferingRatesCommandOutput extends Describe
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DescribeSavingsPlansOfferingRatesCommandInput - {@link DescribeSavingsPlansOfferingRatesCommandInput}
|
|
34
|
+
* @returns {@link DescribeSavingsPlansOfferingRatesCommandOutput}
|
|
28
35
|
* @see {@link DescribeSavingsPlansOfferingRatesCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DescribeSavingsPlansOfferingRatesCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SavingsplansClientResolvedConfig | config} for SavingsplansClient's `config` shape.
|
|
@@ -40,11 +47,20 @@ export interface DescribeSavingsPlansOfferingRatesCommandOutput extends Describe
|
|
|
40
47
|
export declare class DescribeSavingsPlansOfferingRatesCommand extends $Command<DescribeSavingsPlansOfferingRatesCommandInput, DescribeSavingsPlansOfferingRatesCommandOutput, SavingsplansClientResolvedConfig> {
|
|
41
48
|
readonly input: DescribeSavingsPlansOfferingRatesCommandInput;
|
|
42
49
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
43
53
|
constructor(input: DescribeSavingsPlansOfferingRatesCommandInput);
|
|
44
54
|
/**
|
|
45
55
|
* @internal
|
|
46
56
|
*/
|
|
47
57
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSavingsPlansOfferingRatesCommandInput, DescribeSavingsPlansOfferingRatesCommandOutput>;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
48
61
|
private serialize;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
49
65
|
private deserialize;
|
|
50
66
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { DescribeSavingsPlansOfferingsRequest, DescribeSavingsPlansOfferingsResponse } from "../models/models_0";
|
|
5
5
|
import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link DescribeSavingsPlansOfferingsCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface DescribeSavingsPlansOfferingsCommandInput extends DescribeSavingsPlansOfferingsRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link DescribeSavingsPlansOfferingsCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface DescribeSavingsPlansOfferingsCommandOutput extends DescribeSavingsPlansOfferingsResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Describes the specified Savings Plans offerings.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface DescribeSavingsPlansOfferingsCommandOutput extends DescribeSavi
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param DescribeSavingsPlansOfferingsCommandInput - {@link DescribeSavingsPlansOfferingsCommandInput}
|
|
34
|
+
* @returns {@link DescribeSavingsPlansOfferingsCommandOutput}
|
|
28
35
|
* @see {@link DescribeSavingsPlansOfferingsCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link DescribeSavingsPlansOfferingsCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SavingsplansClientResolvedConfig | config} for SavingsplansClient's `config` shape.
|
|
@@ -40,11 +47,20 @@ export interface DescribeSavingsPlansOfferingsCommandOutput extends DescribeSavi
|
|
|
40
47
|
export declare class DescribeSavingsPlansOfferingsCommand extends $Command<DescribeSavingsPlansOfferingsCommandInput, DescribeSavingsPlansOfferingsCommandOutput, SavingsplansClientResolvedConfig> {
|
|
41
48
|
readonly input: DescribeSavingsPlansOfferingsCommandInput;
|
|
42
49
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
50
|
+
/**
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
43
53
|
constructor(input: DescribeSavingsPlansOfferingsCommandInput);
|
|
44
54
|
/**
|
|
45
55
|
* @internal
|
|
46
56
|
*/
|
|
47
57
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSavingsPlansOfferingsCommandInput, DescribeSavingsPlansOfferingsCommandOutput>;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
48
61
|
private serialize;
|
|
62
|
+
/**
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
49
65
|
private deserialize;
|
|
50
66
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
5
|
import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link ListTagsForResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link ListTagsForResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Lists the tags for the specified resource.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
34
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
28
35
|
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SavingsplansClientResolvedConfig | config} for SavingsplansClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
43
50
|
export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, SavingsplansClientResolvedConfig> {
|
|
44
51
|
readonly input: ListTagsForResourceCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: ListTagsForResourceCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
5
|
import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link TagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link TagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Adds the specified tags to the specified resource.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
34
|
+
* @returns {@link TagResourceCommandOutput}
|
|
28
35
|
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SavingsplansClientResolvedConfig | config} for SavingsplansClient's `config` shape.
|
|
@@ -46,11 +53,20 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
46
53
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, SavingsplansClientResolvedConfig> {
|
|
47
54
|
readonly input: TagResourceCommandInput;
|
|
48
55
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
49
59
|
constructor(input: TagResourceCommandInput);
|
|
50
60
|
/**
|
|
51
61
|
* @internal
|
|
52
62
|
*/
|
|
53
63
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
54
67
|
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
55
71
|
private deserialize;
|
|
56
72
|
}
|
|
@@ -4,16 +4,21 @@ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as
|
|
|
4
4
|
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
5
|
import { SavingsplansClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SavingsplansClient";
|
|
6
6
|
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
7
9
|
* The input for {@link UntagResourceCommand}.
|
|
8
10
|
*/
|
|
9
11
|
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
10
12
|
}
|
|
11
13
|
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
12
16
|
* The output of {@link UntagResourceCommand}.
|
|
13
17
|
*/
|
|
14
18
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
15
19
|
}
|
|
16
20
|
/**
|
|
21
|
+
* @public
|
|
17
22
|
* <p>Removes the specified tags from the specified resource.</p>
|
|
18
23
|
* @example
|
|
19
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -25,6 +30,8 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
25
30
|
* const response = await client.send(command);
|
|
26
31
|
* ```
|
|
27
32
|
*
|
|
33
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
34
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
28
35
|
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
29
36
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
30
37
|
* @see {@link SavingsplansClientResolvedConfig | config} for SavingsplansClient's `config` shape.
|
|
@@ -43,11 +50,20 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
43
50
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, SavingsplansClientResolvedConfig> {
|
|
44
51
|
readonly input: UntagResourceCommandInput;
|
|
45
52
|
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
53
|
+
/**
|
|
54
|
+
* @public
|
|
55
|
+
*/
|
|
46
56
|
constructor(input: UntagResourceCommandInput);
|
|
47
57
|
/**
|
|
48
58
|
* @internal
|
|
49
59
|
*/
|
|
50
60
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SavingsplansClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
51
64
|
private serialize;
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
52
68
|
private deserialize;
|
|
53
69
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
2
|
/**
|
|
3
|
+
* @public
|
|
4
|
+
*
|
|
3
5
|
* Base exception class for all service exceptions from Savingsplans service.
|
|
4
6
|
*/
|
|
5
7
|
export declare class SavingsplansServiceException extends __ServiceException {
|