@aws-sdk/client-savingsplans 3.169.0 → 3.170.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/CHANGELOG.md +8 -0
- package/dist-types/ts3.4/Savingsplans.d.ts +172 -50
- package/dist-types/ts3.4/SavingsplansClient.d.ts +184 -82
- package/dist-types/ts3.4/commands/CreateSavingsPlanCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/DeleteQueuedSavingsPlanCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/DescribeSavingsPlanRatesCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/DescribeSavingsPlansCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/DescribeSavingsPlansOfferingRatesCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/DescribeSavingsPlansOfferingsCommand.d.ts +41 -17
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -17
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -17
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -17
- package/dist-types/ts3.4/commands/index.d.ts +9 -9
- package/dist-types/ts3.4/endpoints.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +5 -5
- package/dist-types/ts3.4/models/SavingsplansServiceException.d.ts +8 -6
- package/dist-types/ts3.4/models/index.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +521 -485
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +113 -29
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +66 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +66 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +67 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -11
- package/package.json +34 -34
|
@@ -1,485 +1,521 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { SavingsplansServiceException as __BaseException } from "./SavingsplansServiceException";
|
|
3
|
-
export interface CreateSavingsPlanRequest {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export declare class ResourceNotFoundException extends __BaseException {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
export
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
}
|
|
134
|
-
export interface DescribeSavingsPlanRatesResponse {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
export interface
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
export interface
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
export declare const
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
export declare const
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
export declare const
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
export declare const
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
export declare const
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
export declare const SavingsPlanFilterSensitiveLog: (obj: SavingsPlan) => any;
|
|
450
|
-
|
|
451
|
-
export declare const DescribeSavingsPlansResponseFilterSensitiveLog: (
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
export declare const
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
export declare const
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
export declare const
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
export declare const
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
export declare const
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
export declare const
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
export declare const
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
export declare const
|
|
484
|
-
|
|
485
|
-
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { SavingsplansServiceException as __BaseException } from "./SavingsplansServiceException";
|
|
3
|
+
export interface CreateSavingsPlanRequest {
|
|
4
|
+
savingsPlanOfferingId: string | undefined;
|
|
5
|
+
|
|
6
|
+
commitment: string | undefined;
|
|
7
|
+
|
|
8
|
+
upfrontPaymentAmount?: string;
|
|
9
|
+
|
|
10
|
+
purchaseTime?: Date;
|
|
11
|
+
|
|
12
|
+
clientToken?: string;
|
|
13
|
+
|
|
14
|
+
tags?: Record<string, string>;
|
|
15
|
+
}
|
|
16
|
+
export interface CreateSavingsPlanResponse {
|
|
17
|
+
savingsPlanId?: string;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export declare class InternalServerException extends __BaseException {
|
|
21
|
+
readonly name: "InternalServerException";
|
|
22
|
+
readonly $fault: "server";
|
|
23
|
+
|
|
24
|
+
constructor(
|
|
25
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
26
|
+
);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
30
|
+
readonly name: "ResourceNotFoundException";
|
|
31
|
+
readonly $fault: "client";
|
|
32
|
+
|
|
33
|
+
constructor(
|
|
34
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
39
|
+
readonly name: "ServiceQuotaExceededException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
|
|
42
|
+
constructor(
|
|
43
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export declare class ValidationException extends __BaseException {
|
|
48
|
+
readonly name: "ValidationException";
|
|
49
|
+
readonly $fault: "client";
|
|
50
|
+
|
|
51
|
+
constructor(
|
|
52
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
export interface DeleteQueuedSavingsPlanRequest {
|
|
56
|
+
savingsPlanId: string | undefined;
|
|
57
|
+
}
|
|
58
|
+
export interface DeleteQueuedSavingsPlanResponse {}
|
|
59
|
+
export declare enum SavingsPlanRateFilterName {
|
|
60
|
+
INSTANCE_TYPE = "instanceType",
|
|
61
|
+
OPERATION = "operation",
|
|
62
|
+
PRODUCT_DESCRIPTION = "productDescription",
|
|
63
|
+
PRODUCT_TYPE = "productType",
|
|
64
|
+
REGION = "region",
|
|
65
|
+
SERVICE_CODE = "serviceCode",
|
|
66
|
+
TENANCY = "tenancy",
|
|
67
|
+
USAGE_TYPE = "usageType",
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export interface SavingsPlanRateFilter {
|
|
71
|
+
name?: SavingsPlanRateFilterName | string;
|
|
72
|
+
|
|
73
|
+
values?: string[];
|
|
74
|
+
}
|
|
75
|
+
export interface DescribeSavingsPlanRatesRequest {
|
|
76
|
+
savingsPlanId: string | undefined;
|
|
77
|
+
|
|
78
|
+
filters?: SavingsPlanRateFilter[];
|
|
79
|
+
|
|
80
|
+
nextToken?: string;
|
|
81
|
+
|
|
82
|
+
maxResults?: number;
|
|
83
|
+
}
|
|
84
|
+
export declare type CurrencyCode = "CNY" | "USD";
|
|
85
|
+
export declare enum SavingsPlanProductType {
|
|
86
|
+
EC2 = "EC2",
|
|
87
|
+
FARGATE = "Fargate",
|
|
88
|
+
LAMBDA = "Lambda",
|
|
89
|
+
SAGEMAKER = "SageMaker",
|
|
90
|
+
}
|
|
91
|
+
export declare enum SavingsPlanRatePropertyKey {
|
|
92
|
+
INSTANCE_FAMILY = "instanceFamily",
|
|
93
|
+
INSTANCE_TYPE = "instanceType",
|
|
94
|
+
PRODUCT_DESCRIPTION = "productDescription",
|
|
95
|
+
REGION = "region",
|
|
96
|
+
TENANCY = "tenancy",
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export interface SavingsPlanRateProperty {
|
|
100
|
+
name?: SavingsPlanRatePropertyKey | string;
|
|
101
|
+
|
|
102
|
+
value?: string;
|
|
103
|
+
}
|
|
104
|
+
export declare enum SavingsPlanRateServiceCode {
|
|
105
|
+
EC2 = "AmazonEC2",
|
|
106
|
+
FARGATE = "AmazonECS",
|
|
107
|
+
FARGATE_EKS = "AmazonEKS",
|
|
108
|
+
LAMBDA = "AWSLambda",
|
|
109
|
+
SAGEMAKER = "AmazonSageMaker",
|
|
110
|
+
}
|
|
111
|
+
export declare enum SavingsPlanRateUnit {
|
|
112
|
+
HOURS = "Hrs",
|
|
113
|
+
LAMBDA_GB_SECOND = "Lambda-GB-Second",
|
|
114
|
+
REQUEST = "Request",
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export interface SavingsPlanRate {
|
|
118
|
+
rate?: string;
|
|
119
|
+
|
|
120
|
+
currency?: CurrencyCode | string;
|
|
121
|
+
|
|
122
|
+
unit?: SavingsPlanRateUnit | string;
|
|
123
|
+
|
|
124
|
+
productType?: SavingsPlanProductType | string;
|
|
125
|
+
|
|
126
|
+
serviceCode?: SavingsPlanRateServiceCode | string;
|
|
127
|
+
|
|
128
|
+
usageType?: string;
|
|
129
|
+
|
|
130
|
+
operation?: string;
|
|
131
|
+
|
|
132
|
+
properties?: SavingsPlanRateProperty[];
|
|
133
|
+
}
|
|
134
|
+
export interface DescribeSavingsPlanRatesResponse {
|
|
135
|
+
savingsPlanId?: string;
|
|
136
|
+
|
|
137
|
+
searchResults?: SavingsPlanRate[];
|
|
138
|
+
|
|
139
|
+
nextToken?: string;
|
|
140
|
+
}
|
|
141
|
+
export declare enum SavingsPlansFilterName {
|
|
142
|
+
COMMITMENT = "commitment",
|
|
143
|
+
EC2_INSTANCE_FAMILY = "ec2-instance-family",
|
|
144
|
+
END = "end",
|
|
145
|
+
PAYMENT_OPTION = "payment-option",
|
|
146
|
+
REGION = "region",
|
|
147
|
+
SAVINGS_PLAN_TYPE = "savings-plan-type",
|
|
148
|
+
START = "start",
|
|
149
|
+
TERM = "term",
|
|
150
|
+
UPFRONT = "upfront",
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export interface SavingsPlanFilter {
|
|
154
|
+
name?: SavingsPlansFilterName | string;
|
|
155
|
+
|
|
156
|
+
values?: string[];
|
|
157
|
+
}
|
|
158
|
+
export declare enum SavingsPlanState {
|
|
159
|
+
ACTIVE = "active",
|
|
160
|
+
PAYMENT_FAILED = "payment-failed",
|
|
161
|
+
PAYMENT_PENDING = "payment-pending",
|
|
162
|
+
QUEUED = "queued",
|
|
163
|
+
QUEUED_DELETED = "queued-deleted",
|
|
164
|
+
RETIRED = "retired",
|
|
165
|
+
}
|
|
166
|
+
export interface DescribeSavingsPlansRequest {
|
|
167
|
+
savingsPlanArns?: string[];
|
|
168
|
+
|
|
169
|
+
savingsPlanIds?: string[];
|
|
170
|
+
|
|
171
|
+
nextToken?: string;
|
|
172
|
+
|
|
173
|
+
maxResults?: number;
|
|
174
|
+
|
|
175
|
+
states?: (SavingsPlanState | string)[];
|
|
176
|
+
|
|
177
|
+
filters?: SavingsPlanFilter[];
|
|
178
|
+
}
|
|
179
|
+
export declare enum SavingsPlanPaymentOption {
|
|
180
|
+
ALL_UPFRONT = "All Upfront",
|
|
181
|
+
NO_UPFRONT = "No Upfront",
|
|
182
|
+
PARTIAL_UPFRONT = "Partial Upfront",
|
|
183
|
+
}
|
|
184
|
+
export declare enum SavingsPlanType {
|
|
185
|
+
COMPUTE = "Compute",
|
|
186
|
+
EC2_INSTANCE = "EC2Instance",
|
|
187
|
+
SAGEMAKER = "SageMaker",
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
export interface SavingsPlan {
|
|
191
|
+
offeringId?: string;
|
|
192
|
+
|
|
193
|
+
savingsPlanId?: string;
|
|
194
|
+
|
|
195
|
+
savingsPlanArn?: string;
|
|
196
|
+
|
|
197
|
+
description?: string;
|
|
198
|
+
|
|
199
|
+
start?: string;
|
|
200
|
+
|
|
201
|
+
end?: string;
|
|
202
|
+
|
|
203
|
+
state?: SavingsPlanState | string;
|
|
204
|
+
|
|
205
|
+
region?: string;
|
|
206
|
+
|
|
207
|
+
ec2InstanceFamily?: string;
|
|
208
|
+
|
|
209
|
+
savingsPlanType?: SavingsPlanType | string;
|
|
210
|
+
|
|
211
|
+
paymentOption?: SavingsPlanPaymentOption | string;
|
|
212
|
+
|
|
213
|
+
productTypes?: (SavingsPlanProductType | string)[];
|
|
214
|
+
|
|
215
|
+
currency?: CurrencyCode | string;
|
|
216
|
+
|
|
217
|
+
commitment?: string;
|
|
218
|
+
|
|
219
|
+
upfrontPaymentAmount?: string;
|
|
220
|
+
|
|
221
|
+
recurringPaymentAmount?: string;
|
|
222
|
+
|
|
223
|
+
termDurationInSeconds?: number;
|
|
224
|
+
|
|
225
|
+
tags?: Record<string, string>;
|
|
226
|
+
}
|
|
227
|
+
export interface DescribeSavingsPlansResponse {
|
|
228
|
+
savingsPlans?: SavingsPlan[];
|
|
229
|
+
|
|
230
|
+
nextToken?: string;
|
|
231
|
+
}
|
|
232
|
+
export declare enum SavingsPlanRateFilterAttribute {
|
|
233
|
+
INSTANCE_FAMILY = "instanceFamily",
|
|
234
|
+
INSTANCE_TYPE = "instanceType",
|
|
235
|
+
PRODUCT_DESCRIPTION = "productDescription",
|
|
236
|
+
PRODUCT_ID = "productId",
|
|
237
|
+
REGION = "region",
|
|
238
|
+
TENANCY = "tenancy",
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export interface SavingsPlanOfferingRateFilterElement {
|
|
242
|
+
name?: SavingsPlanRateFilterAttribute | string;
|
|
243
|
+
|
|
244
|
+
values?: string[];
|
|
245
|
+
}
|
|
246
|
+
export interface DescribeSavingsPlansOfferingRatesRequest {
|
|
247
|
+
savingsPlanOfferingIds?: string[];
|
|
248
|
+
|
|
249
|
+
savingsPlanPaymentOptions?: (SavingsPlanPaymentOption | string)[];
|
|
250
|
+
|
|
251
|
+
savingsPlanTypes?: (SavingsPlanType | string)[];
|
|
252
|
+
|
|
253
|
+
products?: (SavingsPlanProductType | string)[];
|
|
254
|
+
|
|
255
|
+
serviceCodes?: (SavingsPlanRateServiceCode | string)[];
|
|
256
|
+
|
|
257
|
+
usageTypes?: string[];
|
|
258
|
+
|
|
259
|
+
operations?: string[];
|
|
260
|
+
|
|
261
|
+
filters?: SavingsPlanOfferingRateFilterElement[];
|
|
262
|
+
|
|
263
|
+
nextToken?: string;
|
|
264
|
+
|
|
265
|
+
maxResults?: number;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export interface SavingsPlanOfferingRateProperty {
|
|
269
|
+
name?: string;
|
|
270
|
+
|
|
271
|
+
value?: string;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export interface ParentSavingsPlanOffering {
|
|
275
|
+
offeringId?: string;
|
|
276
|
+
|
|
277
|
+
paymentOption?: SavingsPlanPaymentOption | string;
|
|
278
|
+
|
|
279
|
+
planType?: SavingsPlanType | string;
|
|
280
|
+
|
|
281
|
+
durationSeconds?: number;
|
|
282
|
+
|
|
283
|
+
currency?: CurrencyCode | string;
|
|
284
|
+
|
|
285
|
+
planDescription?: string;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export interface SavingsPlanOfferingRate {
|
|
289
|
+
savingsPlanOffering?: ParentSavingsPlanOffering;
|
|
290
|
+
|
|
291
|
+
rate?: string;
|
|
292
|
+
|
|
293
|
+
unit?: SavingsPlanRateUnit | string;
|
|
294
|
+
|
|
295
|
+
productType?: SavingsPlanProductType | string;
|
|
296
|
+
|
|
297
|
+
serviceCode?: SavingsPlanRateServiceCode | string;
|
|
298
|
+
|
|
299
|
+
usageType?: string;
|
|
300
|
+
|
|
301
|
+
operation?: string;
|
|
302
|
+
|
|
303
|
+
properties?: SavingsPlanOfferingRateProperty[];
|
|
304
|
+
}
|
|
305
|
+
export interface DescribeSavingsPlansOfferingRatesResponse {
|
|
306
|
+
searchResults?: SavingsPlanOfferingRate[];
|
|
307
|
+
|
|
308
|
+
nextToken?: string;
|
|
309
|
+
}
|
|
310
|
+
export declare enum SavingsPlanOfferingFilterAttribute {
|
|
311
|
+
instanceFamily = "instanceFamily",
|
|
312
|
+
region = "region",
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export interface SavingsPlanOfferingFilterElement {
|
|
316
|
+
name?: SavingsPlanOfferingFilterAttribute | string;
|
|
317
|
+
|
|
318
|
+
values?: string[];
|
|
319
|
+
}
|
|
320
|
+
export interface DescribeSavingsPlansOfferingsRequest {
|
|
321
|
+
offeringIds?: string[];
|
|
322
|
+
|
|
323
|
+
paymentOptions?: (SavingsPlanPaymentOption | string)[];
|
|
324
|
+
|
|
325
|
+
productType?: SavingsPlanProductType | string;
|
|
326
|
+
|
|
327
|
+
planTypes?: (SavingsPlanType | string)[];
|
|
328
|
+
|
|
329
|
+
durations?: number[];
|
|
330
|
+
|
|
331
|
+
currencies?: (CurrencyCode | string)[];
|
|
332
|
+
|
|
333
|
+
descriptions?: string[];
|
|
334
|
+
|
|
335
|
+
serviceCodes?: string[];
|
|
336
|
+
|
|
337
|
+
usageTypes?: string[];
|
|
338
|
+
|
|
339
|
+
operations?: string[];
|
|
340
|
+
|
|
341
|
+
filters?: SavingsPlanOfferingFilterElement[];
|
|
342
|
+
|
|
343
|
+
nextToken?: string;
|
|
344
|
+
|
|
345
|
+
maxResults?: number;
|
|
346
|
+
}
|
|
347
|
+
export declare enum SavingsPlanOfferingPropertyKey {
|
|
348
|
+
INSTANCE_FAMILY = "instanceFamily",
|
|
349
|
+
REGION = "region",
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
export interface SavingsPlanOfferingProperty {
|
|
353
|
+
name?: SavingsPlanOfferingPropertyKey | string;
|
|
354
|
+
|
|
355
|
+
value?: string;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export interface SavingsPlanOffering {
|
|
359
|
+
offeringId?: string;
|
|
360
|
+
|
|
361
|
+
productTypes?: (SavingsPlanProductType | string)[];
|
|
362
|
+
|
|
363
|
+
planType?: SavingsPlanType | string;
|
|
364
|
+
|
|
365
|
+
description?: string;
|
|
366
|
+
|
|
367
|
+
paymentOption?: SavingsPlanPaymentOption | string;
|
|
368
|
+
|
|
369
|
+
durationSeconds?: number;
|
|
370
|
+
|
|
371
|
+
currency?: CurrencyCode | string;
|
|
372
|
+
|
|
373
|
+
serviceCode?: string;
|
|
374
|
+
|
|
375
|
+
usageType?: string;
|
|
376
|
+
|
|
377
|
+
operation?: string;
|
|
378
|
+
|
|
379
|
+
properties?: SavingsPlanOfferingProperty[];
|
|
380
|
+
}
|
|
381
|
+
export interface DescribeSavingsPlansOfferingsResponse {
|
|
382
|
+
searchResults?: SavingsPlanOffering[];
|
|
383
|
+
|
|
384
|
+
nextToken?: string;
|
|
385
|
+
}
|
|
386
|
+
export interface ListTagsForResourceRequest {
|
|
387
|
+
resourceArn: string | undefined;
|
|
388
|
+
}
|
|
389
|
+
export interface ListTagsForResourceResponse {
|
|
390
|
+
tags?: Record<string, string>;
|
|
391
|
+
}
|
|
392
|
+
export interface TagResourceRequest {
|
|
393
|
+
resourceArn: string | undefined;
|
|
394
|
+
|
|
395
|
+
tags: Record<string, string> | undefined;
|
|
396
|
+
}
|
|
397
|
+
export interface TagResourceResponse {}
|
|
398
|
+
export interface UntagResourceRequest {
|
|
399
|
+
resourceArn: string | undefined;
|
|
400
|
+
|
|
401
|
+
tagKeys: string[] | undefined;
|
|
402
|
+
}
|
|
403
|
+
export interface UntagResourceResponse {}
|
|
404
|
+
|
|
405
|
+
export declare const CreateSavingsPlanRequestFilterSensitiveLog: (
|
|
406
|
+
obj: CreateSavingsPlanRequest
|
|
407
|
+
) => any;
|
|
408
|
+
|
|
409
|
+
export declare const CreateSavingsPlanResponseFilterSensitiveLog: (
|
|
410
|
+
obj: CreateSavingsPlanResponse
|
|
411
|
+
) => any;
|
|
412
|
+
|
|
413
|
+
export declare const DeleteQueuedSavingsPlanRequestFilterSensitiveLog: (
|
|
414
|
+
obj: DeleteQueuedSavingsPlanRequest
|
|
415
|
+
) => any;
|
|
416
|
+
|
|
417
|
+
export declare const DeleteQueuedSavingsPlanResponseFilterSensitiveLog: (
|
|
418
|
+
obj: DeleteQueuedSavingsPlanResponse
|
|
419
|
+
) => any;
|
|
420
|
+
|
|
421
|
+
export declare const SavingsPlanRateFilterFilterSensitiveLog: (
|
|
422
|
+
obj: SavingsPlanRateFilter
|
|
423
|
+
) => any;
|
|
424
|
+
|
|
425
|
+
export declare const DescribeSavingsPlanRatesRequestFilterSensitiveLog: (
|
|
426
|
+
obj: DescribeSavingsPlanRatesRequest
|
|
427
|
+
) => any;
|
|
428
|
+
|
|
429
|
+
export declare const SavingsPlanRatePropertyFilterSensitiveLog: (
|
|
430
|
+
obj: SavingsPlanRateProperty
|
|
431
|
+
) => any;
|
|
432
|
+
|
|
433
|
+
export declare const SavingsPlanRateFilterSensitiveLog: (
|
|
434
|
+
obj: SavingsPlanRate
|
|
435
|
+
) => any;
|
|
436
|
+
|
|
437
|
+
export declare const DescribeSavingsPlanRatesResponseFilterSensitiveLog: (
|
|
438
|
+
obj: DescribeSavingsPlanRatesResponse
|
|
439
|
+
) => any;
|
|
440
|
+
|
|
441
|
+
export declare const SavingsPlanFilterFilterSensitiveLog: (
|
|
442
|
+
obj: SavingsPlanFilter
|
|
443
|
+
) => any;
|
|
444
|
+
|
|
445
|
+
export declare const DescribeSavingsPlansRequestFilterSensitiveLog: (
|
|
446
|
+
obj: DescribeSavingsPlansRequest
|
|
447
|
+
) => any;
|
|
448
|
+
|
|
449
|
+
export declare const SavingsPlanFilterSensitiveLog: (obj: SavingsPlan) => any;
|
|
450
|
+
|
|
451
|
+
export declare const DescribeSavingsPlansResponseFilterSensitiveLog: (
|
|
452
|
+
obj: DescribeSavingsPlansResponse
|
|
453
|
+
) => any;
|
|
454
|
+
|
|
455
|
+
export declare const SavingsPlanOfferingRateFilterElementFilterSensitiveLog: (
|
|
456
|
+
obj: SavingsPlanOfferingRateFilterElement
|
|
457
|
+
) => any;
|
|
458
|
+
|
|
459
|
+
export declare const DescribeSavingsPlansOfferingRatesRequestFilterSensitiveLog: (
|
|
460
|
+
obj: DescribeSavingsPlansOfferingRatesRequest
|
|
461
|
+
) => any;
|
|
462
|
+
|
|
463
|
+
export declare const SavingsPlanOfferingRatePropertyFilterSensitiveLog: (
|
|
464
|
+
obj: SavingsPlanOfferingRateProperty
|
|
465
|
+
) => any;
|
|
466
|
+
|
|
467
|
+
export declare const ParentSavingsPlanOfferingFilterSensitiveLog: (
|
|
468
|
+
obj: ParentSavingsPlanOffering
|
|
469
|
+
) => any;
|
|
470
|
+
|
|
471
|
+
export declare const SavingsPlanOfferingRateFilterSensitiveLog: (
|
|
472
|
+
obj: SavingsPlanOfferingRate
|
|
473
|
+
) => any;
|
|
474
|
+
|
|
475
|
+
export declare const DescribeSavingsPlansOfferingRatesResponseFilterSensitiveLog: (
|
|
476
|
+
obj: DescribeSavingsPlansOfferingRatesResponse
|
|
477
|
+
) => any;
|
|
478
|
+
|
|
479
|
+
export declare const SavingsPlanOfferingFilterElementFilterSensitiveLog: (
|
|
480
|
+
obj: SavingsPlanOfferingFilterElement
|
|
481
|
+
) => any;
|
|
482
|
+
|
|
483
|
+
export declare const DescribeSavingsPlansOfferingsRequestFilterSensitiveLog: (
|
|
484
|
+
obj: DescribeSavingsPlansOfferingsRequest
|
|
485
|
+
) => any;
|
|
486
|
+
|
|
487
|
+
export declare const SavingsPlanOfferingPropertyFilterSensitiveLog: (
|
|
488
|
+
obj: SavingsPlanOfferingProperty
|
|
489
|
+
) => any;
|
|
490
|
+
|
|
491
|
+
export declare const SavingsPlanOfferingFilterSensitiveLog: (
|
|
492
|
+
obj: SavingsPlanOffering
|
|
493
|
+
) => any;
|
|
494
|
+
|
|
495
|
+
export declare const DescribeSavingsPlansOfferingsResponseFilterSensitiveLog: (
|
|
496
|
+
obj: DescribeSavingsPlansOfferingsResponse
|
|
497
|
+
) => any;
|
|
498
|
+
|
|
499
|
+
export declare const ListTagsForResourceRequestFilterSensitiveLog: (
|
|
500
|
+
obj: ListTagsForResourceRequest
|
|
501
|
+
) => any;
|
|
502
|
+
|
|
503
|
+
export declare const ListTagsForResourceResponseFilterSensitiveLog: (
|
|
504
|
+
obj: ListTagsForResourceResponse
|
|
505
|
+
) => any;
|
|
506
|
+
|
|
507
|
+
export declare const TagResourceRequestFilterSensitiveLog: (
|
|
508
|
+
obj: TagResourceRequest
|
|
509
|
+
) => any;
|
|
510
|
+
|
|
511
|
+
export declare const TagResourceResponseFilterSensitiveLog: (
|
|
512
|
+
obj: TagResourceResponse
|
|
513
|
+
) => any;
|
|
514
|
+
|
|
515
|
+
export declare const UntagResourceRequestFilterSensitiveLog: (
|
|
516
|
+
obj: UntagResourceRequest
|
|
517
|
+
) => any;
|
|
518
|
+
|
|
519
|
+
export declare const UntagResourceResponseFilterSensitiveLog: (
|
|
520
|
+
obj: UntagResourceResponse
|
|
521
|
+
) => any;
|