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