@aws-sdk/client-savingsplans 3.296.0 → 3.297.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/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 -1
- package/package.json +3 -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 {
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { SavingsplansServiceException as __BaseException } from "./SavingsplansServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
3
6
|
export interface CreateSavingsPlanRequest {
|
|
4
7
|
/**
|
|
5
8
|
* <p>The ID of the offering.</p>
|
|
@@ -28,6 +31,9 @@ export interface CreateSavingsPlanRequest {
|
|
|
28
31
|
*/
|
|
29
32
|
tags?: Record<string, string>;
|
|
30
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
31
37
|
export interface CreateSavingsPlanResponse {
|
|
32
38
|
/**
|
|
33
39
|
* <p>The ID of the Savings Plan.</p>
|
|
@@ -35,6 +41,7 @@ export interface CreateSavingsPlanResponse {
|
|
|
35
41
|
savingsPlanId?: string;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
44
|
+
* @public
|
|
38
45
|
* <p>An unexpected error occurred.</p>
|
|
39
46
|
*/
|
|
40
47
|
export declare class InternalServerException extends __BaseException {
|
|
@@ -46,6 +53,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
46
53
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
47
54
|
}
|
|
48
55
|
/**
|
|
56
|
+
* @public
|
|
49
57
|
* <p>The specified resource was not found.</p>
|
|
50
58
|
*/
|
|
51
59
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
@@ -57,6 +65,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
57
65
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
58
66
|
}
|
|
59
67
|
/**
|
|
68
|
+
* @public
|
|
60
69
|
* <p>A service quota has been exceeded.</p>
|
|
61
70
|
*/
|
|
62
71
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
@@ -68,6 +77,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
68
77
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
69
78
|
}
|
|
70
79
|
/**
|
|
80
|
+
* @public
|
|
71
81
|
* <p>One of the input parameters is not valid.</p>
|
|
72
82
|
*/
|
|
73
83
|
export declare class ValidationException extends __BaseException {
|
|
@@ -78,14 +88,23 @@ export declare class ValidationException extends __BaseException {
|
|
|
78
88
|
*/
|
|
79
89
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
80
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
81
94
|
export interface DeleteQueuedSavingsPlanRequest {
|
|
82
95
|
/**
|
|
83
96
|
* <p>The ID of the Savings Plan.</p>
|
|
84
97
|
*/
|
|
85
98
|
savingsPlanId: string | undefined;
|
|
86
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
87
103
|
export interface DeleteQueuedSavingsPlanResponse {
|
|
88
104
|
}
|
|
105
|
+
/**
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
89
108
|
export declare enum SavingsPlanRateFilterName {
|
|
90
109
|
INSTANCE_TYPE = "instanceType",
|
|
91
110
|
OPERATION = "operation",
|
|
@@ -97,6 +116,7 @@ export declare enum SavingsPlanRateFilterName {
|
|
|
97
116
|
USAGE_TYPE = "usageType"
|
|
98
117
|
}
|
|
99
118
|
/**
|
|
119
|
+
* @public
|
|
100
120
|
* <p>Information about a filter.</p>
|
|
101
121
|
*/
|
|
102
122
|
export interface SavingsPlanRateFilter {
|
|
@@ -109,6 +129,9 @@ export interface SavingsPlanRateFilter {
|
|
|
109
129
|
*/
|
|
110
130
|
values?: string[];
|
|
111
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
112
135
|
export interface DescribeSavingsPlanRatesRequest {
|
|
113
136
|
/**
|
|
114
137
|
* <p>The ID of the Savings Plan.</p>
|
|
@@ -128,13 +151,22 @@ export interface DescribeSavingsPlanRatesRequest {
|
|
|
128
151
|
*/
|
|
129
152
|
maxResults?: number;
|
|
130
153
|
}
|
|
154
|
+
/**
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
131
157
|
export type CurrencyCode = "CNY" | "USD";
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
132
161
|
export declare enum SavingsPlanProductType {
|
|
133
162
|
EC2 = "EC2",
|
|
134
163
|
FARGATE = "Fargate",
|
|
135
164
|
LAMBDA = "Lambda",
|
|
136
165
|
SAGEMAKER = "SageMaker"
|
|
137
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
138
170
|
export declare enum SavingsPlanRatePropertyKey {
|
|
139
171
|
INSTANCE_FAMILY = "instanceFamily",
|
|
140
172
|
INSTANCE_TYPE = "instanceType",
|
|
@@ -143,6 +175,7 @@ export declare enum SavingsPlanRatePropertyKey {
|
|
|
143
175
|
TENANCY = "tenancy"
|
|
144
176
|
}
|
|
145
177
|
/**
|
|
178
|
+
* @public
|
|
146
179
|
* <p>Information about a property.</p>
|
|
147
180
|
*/
|
|
148
181
|
export interface SavingsPlanRateProperty {
|
|
@@ -155,6 +188,9 @@ export interface SavingsPlanRateProperty {
|
|
|
155
188
|
*/
|
|
156
189
|
value?: string;
|
|
157
190
|
}
|
|
191
|
+
/**
|
|
192
|
+
* @public
|
|
193
|
+
*/
|
|
158
194
|
export declare enum SavingsPlanRateServiceCode {
|
|
159
195
|
EC2 = "AmazonEC2",
|
|
160
196
|
FARGATE = "AmazonECS",
|
|
@@ -162,12 +198,16 @@ export declare enum SavingsPlanRateServiceCode {
|
|
|
162
198
|
LAMBDA = "AWSLambda",
|
|
163
199
|
SAGEMAKER = "AmazonSageMaker"
|
|
164
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* @public
|
|
203
|
+
*/
|
|
165
204
|
export declare enum SavingsPlanRateUnit {
|
|
166
205
|
HOURS = "Hrs",
|
|
167
206
|
LAMBDA_GB_SECOND = "Lambda-GB-Second",
|
|
168
207
|
REQUEST = "Request"
|
|
169
208
|
}
|
|
170
209
|
/**
|
|
210
|
+
* @public
|
|
171
211
|
* <p>Information about a Savings Plan rate.</p>
|
|
172
212
|
*/
|
|
173
213
|
export interface SavingsPlanRate {
|
|
@@ -204,6 +244,9 @@ export interface SavingsPlanRate {
|
|
|
204
244
|
*/
|
|
205
245
|
properties?: SavingsPlanRateProperty[];
|
|
206
246
|
}
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
207
250
|
export interface DescribeSavingsPlanRatesResponse {
|
|
208
251
|
/**
|
|
209
252
|
* <p>The ID of the Savings Plan.</p>
|
|
@@ -219,6 +262,9 @@ export interface DescribeSavingsPlanRatesResponse {
|
|
|
219
262
|
*/
|
|
220
263
|
nextToken?: string;
|
|
221
264
|
}
|
|
265
|
+
/**
|
|
266
|
+
* @public
|
|
267
|
+
*/
|
|
222
268
|
export declare enum SavingsPlansFilterName {
|
|
223
269
|
COMMITMENT = "commitment",
|
|
224
270
|
EC2_INSTANCE_FAMILY = "ec2-instance-family",
|
|
@@ -231,6 +277,7 @@ export declare enum SavingsPlansFilterName {
|
|
|
231
277
|
UPFRONT = "upfront"
|
|
232
278
|
}
|
|
233
279
|
/**
|
|
280
|
+
* @public
|
|
234
281
|
* <p>Information about a filter.</p>
|
|
235
282
|
*/
|
|
236
283
|
export interface SavingsPlanFilter {
|
|
@@ -243,6 +290,9 @@ export interface SavingsPlanFilter {
|
|
|
243
290
|
*/
|
|
244
291
|
values?: string[];
|
|
245
292
|
}
|
|
293
|
+
/**
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
246
296
|
export declare enum SavingsPlanState {
|
|
247
297
|
ACTIVE = "active",
|
|
248
298
|
PAYMENT_FAILED = "payment-failed",
|
|
@@ -251,6 +301,9 @@ export declare enum SavingsPlanState {
|
|
|
251
301
|
QUEUED_DELETED = "queued-deleted",
|
|
252
302
|
RETIRED = "retired"
|
|
253
303
|
}
|
|
304
|
+
/**
|
|
305
|
+
* @public
|
|
306
|
+
*/
|
|
254
307
|
export interface DescribeSavingsPlansRequest {
|
|
255
308
|
/**
|
|
256
309
|
* <p>The Amazon Resource Names (ARN) of the Savings Plans.</p>
|
|
@@ -278,17 +331,24 @@ export interface DescribeSavingsPlansRequest {
|
|
|
278
331
|
*/
|
|
279
332
|
filters?: SavingsPlanFilter[];
|
|
280
333
|
}
|
|
334
|
+
/**
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
281
337
|
export declare enum SavingsPlanPaymentOption {
|
|
282
338
|
ALL_UPFRONT = "All Upfront",
|
|
283
339
|
NO_UPFRONT = "No Upfront",
|
|
284
340
|
PARTIAL_UPFRONT = "Partial Upfront"
|
|
285
341
|
}
|
|
342
|
+
/**
|
|
343
|
+
* @public
|
|
344
|
+
*/
|
|
286
345
|
export declare enum SavingsPlanType {
|
|
287
346
|
COMPUTE = "Compute",
|
|
288
347
|
EC2_INSTANCE = "EC2Instance",
|
|
289
348
|
SAGEMAKER = "SageMaker"
|
|
290
349
|
}
|
|
291
350
|
/**
|
|
351
|
+
* @public
|
|
292
352
|
* <p>Information about a Savings Plan.</p>
|
|
293
353
|
*/
|
|
294
354
|
export interface SavingsPlan {
|
|
@@ -365,6 +425,9 @@ export interface SavingsPlan {
|
|
|
365
425
|
*/
|
|
366
426
|
tags?: Record<string, string>;
|
|
367
427
|
}
|
|
428
|
+
/**
|
|
429
|
+
* @public
|
|
430
|
+
*/
|
|
368
431
|
export interface DescribeSavingsPlansResponse {
|
|
369
432
|
/**
|
|
370
433
|
* <p>Information about the Savings Plans.</p>
|
|
@@ -376,6 +439,9 @@ export interface DescribeSavingsPlansResponse {
|
|
|
376
439
|
*/
|
|
377
440
|
nextToken?: string;
|
|
378
441
|
}
|
|
442
|
+
/**
|
|
443
|
+
* @public
|
|
444
|
+
*/
|
|
379
445
|
export declare enum SavingsPlanRateFilterAttribute {
|
|
380
446
|
INSTANCE_FAMILY = "instanceFamily",
|
|
381
447
|
INSTANCE_TYPE = "instanceType",
|
|
@@ -385,6 +451,7 @@ export declare enum SavingsPlanRateFilterAttribute {
|
|
|
385
451
|
TENANCY = "tenancy"
|
|
386
452
|
}
|
|
387
453
|
/**
|
|
454
|
+
* @public
|
|
388
455
|
* <p>Information about a filter.</p>
|
|
389
456
|
*/
|
|
390
457
|
export interface SavingsPlanOfferingRateFilterElement {
|
|
@@ -397,6 +464,9 @@ export interface SavingsPlanOfferingRateFilterElement {
|
|
|
397
464
|
*/
|
|
398
465
|
values?: string[];
|
|
399
466
|
}
|
|
467
|
+
/**
|
|
468
|
+
* @public
|
|
469
|
+
*/
|
|
400
470
|
export interface DescribeSavingsPlansOfferingRatesRequest {
|
|
401
471
|
/**
|
|
402
472
|
* <p>The IDs of the offerings.</p>
|
|
@@ -441,6 +511,7 @@ export interface DescribeSavingsPlansOfferingRatesRequest {
|
|
|
441
511
|
maxResults?: number;
|
|
442
512
|
}
|
|
443
513
|
/**
|
|
514
|
+
* @public
|
|
444
515
|
* <p>Information about a property.</p>
|
|
445
516
|
*/
|
|
446
517
|
export interface SavingsPlanOfferingRateProperty {
|
|
@@ -454,6 +525,7 @@ export interface SavingsPlanOfferingRateProperty {
|
|
|
454
525
|
value?: string;
|
|
455
526
|
}
|
|
456
527
|
/**
|
|
528
|
+
* @public
|
|
457
529
|
* <p>Information about a Savings Plan offering.</p>
|
|
458
530
|
*/
|
|
459
531
|
export interface ParentSavingsPlanOffering {
|
|
@@ -483,6 +555,7 @@ export interface ParentSavingsPlanOffering {
|
|
|
483
555
|
planDescription?: string;
|
|
484
556
|
}
|
|
485
557
|
/**
|
|
558
|
+
* @public
|
|
486
559
|
* <p>Information about a Savings Plan offering rate.</p>
|
|
487
560
|
*/
|
|
488
561
|
export interface SavingsPlanOfferingRate {
|
|
@@ -519,6 +592,9 @@ export interface SavingsPlanOfferingRate {
|
|
|
519
592
|
*/
|
|
520
593
|
properties?: SavingsPlanOfferingRateProperty[];
|
|
521
594
|
}
|
|
595
|
+
/**
|
|
596
|
+
* @public
|
|
597
|
+
*/
|
|
522
598
|
export interface DescribeSavingsPlansOfferingRatesResponse {
|
|
523
599
|
/**
|
|
524
600
|
* <p>Information about the Savings Plans offering rates.</p>
|
|
@@ -530,11 +606,15 @@ export interface DescribeSavingsPlansOfferingRatesResponse {
|
|
|
530
606
|
*/
|
|
531
607
|
nextToken?: string;
|
|
532
608
|
}
|
|
609
|
+
/**
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
533
612
|
export declare enum SavingsPlanOfferingFilterAttribute {
|
|
534
613
|
instanceFamily = "instanceFamily",
|
|
535
614
|
region = "region"
|
|
536
615
|
}
|
|
537
616
|
/**
|
|
617
|
+
* @public
|
|
538
618
|
* <p>Information about a filter.</p>
|
|
539
619
|
*/
|
|
540
620
|
export interface SavingsPlanOfferingFilterElement {
|
|
@@ -547,6 +627,9 @@ export interface SavingsPlanOfferingFilterElement {
|
|
|
547
627
|
*/
|
|
548
628
|
values?: string[];
|
|
549
629
|
}
|
|
630
|
+
/**
|
|
631
|
+
* @public
|
|
632
|
+
*/
|
|
550
633
|
export interface DescribeSavingsPlansOfferingsRequest {
|
|
551
634
|
/**
|
|
552
635
|
* <p>The IDs of the offerings.</p>
|
|
@@ -602,11 +685,15 @@ export interface DescribeSavingsPlansOfferingsRequest {
|
|
|
602
685
|
*/
|
|
603
686
|
maxResults?: number;
|
|
604
687
|
}
|
|
688
|
+
/**
|
|
689
|
+
* @public
|
|
690
|
+
*/
|
|
605
691
|
export declare enum SavingsPlanOfferingPropertyKey {
|
|
606
692
|
INSTANCE_FAMILY = "instanceFamily",
|
|
607
693
|
REGION = "region"
|
|
608
694
|
}
|
|
609
695
|
/**
|
|
696
|
+
* @public
|
|
610
697
|
* <p>Information about a property.</p>
|
|
611
698
|
*/
|
|
612
699
|
export interface SavingsPlanOfferingProperty {
|
|
@@ -620,6 +707,7 @@ export interface SavingsPlanOfferingProperty {
|
|
|
620
707
|
value?: string;
|
|
621
708
|
}
|
|
622
709
|
/**
|
|
710
|
+
* @public
|
|
623
711
|
* <p>Information about a Savings Plan offering.</p>
|
|
624
712
|
*/
|
|
625
713
|
export interface SavingsPlanOffering {
|
|
@@ -668,6 +756,9 @@ export interface SavingsPlanOffering {
|
|
|
668
756
|
*/
|
|
669
757
|
properties?: SavingsPlanOfferingProperty[];
|
|
670
758
|
}
|
|
759
|
+
/**
|
|
760
|
+
* @public
|
|
761
|
+
*/
|
|
671
762
|
export interface DescribeSavingsPlansOfferingsResponse {
|
|
672
763
|
/**
|
|
673
764
|
* <p>Information about the Savings Plans offerings.</p>
|
|
@@ -679,30 +770,45 @@ export interface DescribeSavingsPlansOfferingsResponse {
|
|
|
679
770
|
*/
|
|
680
771
|
nextToken?: string;
|
|
681
772
|
}
|
|
773
|
+
/**
|
|
774
|
+
* @public
|
|
775
|
+
*/
|
|
682
776
|
export interface ListTagsForResourceRequest {
|
|
683
777
|
/**
|
|
684
778
|
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
685
779
|
*/
|
|
686
780
|
resourceArn: string | undefined;
|
|
687
781
|
}
|
|
782
|
+
/**
|
|
783
|
+
* @public
|
|
784
|
+
*/
|
|
688
785
|
export interface ListTagsForResourceResponse {
|
|
689
786
|
/**
|
|
690
787
|
* <p>Information about the tags.</p>
|
|
691
788
|
*/
|
|
692
789
|
tags?: Record<string, string>;
|
|
693
790
|
}
|
|
791
|
+
/**
|
|
792
|
+
* @public
|
|
793
|
+
*/
|
|
694
794
|
export interface TagResourceRequest {
|
|
695
795
|
/**
|
|
696
796
|
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
697
797
|
*/
|
|
698
798
|
resourceArn: string | undefined;
|
|
699
799
|
/**
|
|
700
|
-
* <p>One or more tags. For example, { "tags": {"key1":"value1", "key2":"value2"} }.</p>
|
|
800
|
+
* <p>One or more tags. For example, \{ "tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
|
|
701
801
|
*/
|
|
702
802
|
tags: Record<string, string> | undefined;
|
|
703
803
|
}
|
|
804
|
+
/**
|
|
805
|
+
* @public
|
|
806
|
+
*/
|
|
704
807
|
export interface TagResourceResponse {
|
|
705
808
|
}
|
|
809
|
+
/**
|
|
810
|
+
* @public
|
|
811
|
+
*/
|
|
706
812
|
export interface UntagResourceRequest {
|
|
707
813
|
/**
|
|
708
814
|
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
@@ -713,6 +819,9 @@ export interface UntagResourceRequest {
|
|
|
713
819
|
*/
|
|
714
820
|
tagKeys: string[] | undefined;
|
|
715
821
|
}
|
|
822
|
+
/**
|
|
823
|
+
* @public
|
|
824
|
+
*/
|
|
716
825
|
export interface UntagResourceResponse {
|
|
717
826
|
}
|
|
718
827
|
/**
|
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.
|
|
4
|
+
"version": "3.297.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",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.297.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.297.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.296.0",
|