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