@aws-sdk/client-savingsplans 3.378.0 → 3.382.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,4 +1,7 @@
|
|
|
1
1
|
import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
2
5
|
export interface ClientInputEndpointParameters {
|
|
3
6
|
region?: string | Provider<string>;
|
|
4
7
|
useDualstackEndpoint?: boolean | Provider<boolean>;
|
package/dist-types/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
export * from "./SavingsplansClient";
|
|
10
10
|
export * from "./Savingsplans";
|
|
11
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
11
12
|
export * from "./commands";
|
|
12
13
|
export * from "./models";
|
|
13
14
|
export { SavingsplansServiceException } from "./models/SavingsplansServiceException";
|
|
@@ -5,28 +5,34 @@ import { SavingsplansServiceException as __BaseException } from "./SavingsplansS
|
|
|
5
5
|
*/
|
|
6
6
|
export interface CreateSavingsPlanRequest {
|
|
7
7
|
/**
|
|
8
|
+
* @public
|
|
8
9
|
* <p>The ID of the offering.</p>
|
|
9
10
|
*/
|
|
10
11
|
savingsPlanOfferingId: string | undefined;
|
|
11
12
|
/**
|
|
13
|
+
* @public
|
|
12
14
|
* <p>The hourly commitment, in USD. This is a value between 0.001 and 1 million. You cannot specify more
|
|
13
15
|
* than five digits after the decimal point.</p>
|
|
14
16
|
*/
|
|
15
17
|
commitment: string | undefined;
|
|
16
18
|
/**
|
|
19
|
+
* @public
|
|
17
20
|
* <p>The up-front payment amount. This is a whole number between 50 and 99 percent of the total value of the Savings Plan.
|
|
18
21
|
* This parameter is supported only if the payment option is <code>Partial Upfront</code>.</p>
|
|
19
22
|
*/
|
|
20
23
|
upfrontPaymentAmount?: string;
|
|
21
24
|
/**
|
|
25
|
+
* @public
|
|
22
26
|
* <p>The time at which to purchase the Savings Plan, in UTC format (YYYY-MM-DDTHH:MM:SSZ).</p>
|
|
23
27
|
*/
|
|
24
28
|
purchaseTime?: Date;
|
|
25
29
|
/**
|
|
30
|
+
* @public
|
|
26
31
|
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
27
32
|
*/
|
|
28
33
|
clientToken?: string;
|
|
29
34
|
/**
|
|
35
|
+
* @public
|
|
30
36
|
* <p>One or more tags.</p>
|
|
31
37
|
*/
|
|
32
38
|
tags?: Record<string, string>;
|
|
@@ -36,6 +42,7 @@ export interface CreateSavingsPlanRequest {
|
|
|
36
42
|
*/
|
|
37
43
|
export interface CreateSavingsPlanResponse {
|
|
38
44
|
/**
|
|
45
|
+
* @public
|
|
39
46
|
* <p>The ID of the Savings Plan.</p>
|
|
40
47
|
*/
|
|
41
48
|
savingsPlanId?: string;
|
|
@@ -93,6 +100,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
93
100
|
*/
|
|
94
101
|
export interface DeleteQueuedSavingsPlanRequest {
|
|
95
102
|
/**
|
|
103
|
+
* @public
|
|
96
104
|
* <p>The ID of the Savings Plan.</p>
|
|
97
105
|
*/
|
|
98
106
|
savingsPlanId: string | undefined;
|
|
@@ -126,10 +134,12 @@ export type SavingsPlanRateFilterName = (typeof SavingsPlanRateFilterName)[keyof
|
|
|
126
134
|
*/
|
|
127
135
|
export interface SavingsPlanRateFilter {
|
|
128
136
|
/**
|
|
137
|
+
* @public
|
|
129
138
|
* <p>The filter name.</p>
|
|
130
139
|
*/
|
|
131
140
|
name?: SavingsPlanRateFilterName | string;
|
|
132
141
|
/**
|
|
142
|
+
* @public
|
|
133
143
|
* <p>The filter values.</p>
|
|
134
144
|
*/
|
|
135
145
|
values?: string[];
|
|
@@ -139,18 +149,22 @@ export interface SavingsPlanRateFilter {
|
|
|
139
149
|
*/
|
|
140
150
|
export interface DescribeSavingsPlanRatesRequest {
|
|
141
151
|
/**
|
|
152
|
+
* @public
|
|
142
153
|
* <p>The ID of the Savings Plan.</p>
|
|
143
154
|
*/
|
|
144
155
|
savingsPlanId: string | undefined;
|
|
145
156
|
/**
|
|
157
|
+
* @public
|
|
146
158
|
* <p>The filters.</p>
|
|
147
159
|
*/
|
|
148
160
|
filters?: SavingsPlanRateFilter[];
|
|
149
161
|
/**
|
|
162
|
+
* @public
|
|
150
163
|
* <p>The token for the next page of results.</p>
|
|
151
164
|
*/
|
|
152
165
|
nextToken?: string;
|
|
153
166
|
/**
|
|
167
|
+
* @public
|
|
154
168
|
* <p>The maximum number of results to return with a single call. To retrieve additional results, make another
|
|
155
169
|
* call with the returned token value.</p>
|
|
156
170
|
*/
|
|
@@ -203,10 +217,12 @@ export type SavingsPlanRatePropertyKey = (typeof SavingsPlanRatePropertyKey)[key
|
|
|
203
217
|
*/
|
|
204
218
|
export interface SavingsPlanRateProperty {
|
|
205
219
|
/**
|
|
220
|
+
* @public
|
|
206
221
|
* <p>The property name.</p>
|
|
207
222
|
*/
|
|
208
223
|
name?: SavingsPlanRatePropertyKey | string;
|
|
209
224
|
/**
|
|
225
|
+
* @public
|
|
210
226
|
* <p>The property value.</p>
|
|
211
227
|
*/
|
|
212
228
|
value?: string;
|
|
@@ -245,34 +261,42 @@ export type SavingsPlanRateUnit = (typeof SavingsPlanRateUnit)[keyof typeof Savi
|
|
|
245
261
|
*/
|
|
246
262
|
export interface SavingsPlanRate {
|
|
247
263
|
/**
|
|
264
|
+
* @public
|
|
248
265
|
* <p>The rate.</p>
|
|
249
266
|
*/
|
|
250
267
|
rate?: string;
|
|
251
268
|
/**
|
|
269
|
+
* @public
|
|
252
270
|
* <p>The currency.</p>
|
|
253
271
|
*/
|
|
254
272
|
currency?: CurrencyCode | string;
|
|
255
273
|
/**
|
|
274
|
+
* @public
|
|
256
275
|
* <p>The unit.</p>
|
|
257
276
|
*/
|
|
258
277
|
unit?: SavingsPlanRateUnit | string;
|
|
259
278
|
/**
|
|
279
|
+
* @public
|
|
260
280
|
* <p>The product type.</p>
|
|
261
281
|
*/
|
|
262
282
|
productType?: SavingsPlanProductType | string;
|
|
263
283
|
/**
|
|
284
|
+
* @public
|
|
264
285
|
* <p>The service.</p>
|
|
265
286
|
*/
|
|
266
287
|
serviceCode?: SavingsPlanRateServiceCode | string;
|
|
267
288
|
/**
|
|
289
|
+
* @public
|
|
268
290
|
* <p>The usage details of the line item in the billing report.</p>
|
|
269
291
|
*/
|
|
270
292
|
usageType?: string;
|
|
271
293
|
/**
|
|
294
|
+
* @public
|
|
272
295
|
* <p>The specific AWS operation for the line item in the billing report.</p>
|
|
273
296
|
*/
|
|
274
297
|
operation?: string;
|
|
275
298
|
/**
|
|
299
|
+
* @public
|
|
276
300
|
* <p>The properties.</p>
|
|
277
301
|
*/
|
|
278
302
|
properties?: SavingsPlanRateProperty[];
|
|
@@ -282,14 +306,17 @@ export interface SavingsPlanRate {
|
|
|
282
306
|
*/
|
|
283
307
|
export interface DescribeSavingsPlanRatesResponse {
|
|
284
308
|
/**
|
|
309
|
+
* @public
|
|
285
310
|
* <p>The ID of the Savings Plan.</p>
|
|
286
311
|
*/
|
|
287
312
|
savingsPlanId?: string;
|
|
288
313
|
/**
|
|
314
|
+
* @public
|
|
289
315
|
* <p>Information about the Savings Plans rates.</p>
|
|
290
316
|
*/
|
|
291
317
|
searchResults?: SavingsPlanRate[];
|
|
292
318
|
/**
|
|
319
|
+
* @public
|
|
293
320
|
* <p>The token to use to retrieve the next page of results. This value is null when there are no more
|
|
294
321
|
* results to return. </p>
|
|
295
322
|
*/
|
|
@@ -320,10 +347,12 @@ export type SavingsPlansFilterName = (typeof SavingsPlansFilterName)[keyof typeo
|
|
|
320
347
|
*/
|
|
321
348
|
export interface SavingsPlanFilter {
|
|
322
349
|
/**
|
|
350
|
+
* @public
|
|
323
351
|
* <p>The filter name.</p>
|
|
324
352
|
*/
|
|
325
353
|
name?: SavingsPlansFilterName | string;
|
|
326
354
|
/**
|
|
355
|
+
* @public
|
|
327
356
|
* <p>The filter value.</p>
|
|
328
357
|
*/
|
|
329
358
|
values?: string[];
|
|
@@ -349,27 +378,33 @@ export type SavingsPlanState = (typeof SavingsPlanState)[keyof typeof SavingsPla
|
|
|
349
378
|
*/
|
|
350
379
|
export interface DescribeSavingsPlansRequest {
|
|
351
380
|
/**
|
|
381
|
+
* @public
|
|
352
382
|
* <p>The Amazon Resource Names (ARN) of the Savings Plans.</p>
|
|
353
383
|
*/
|
|
354
384
|
savingsPlanArns?: string[];
|
|
355
385
|
/**
|
|
386
|
+
* @public
|
|
356
387
|
* <p>The IDs of the Savings Plans.</p>
|
|
357
388
|
*/
|
|
358
389
|
savingsPlanIds?: string[];
|
|
359
390
|
/**
|
|
391
|
+
* @public
|
|
360
392
|
* <p>The token for the next page of results.</p>
|
|
361
393
|
*/
|
|
362
394
|
nextToken?: string;
|
|
363
395
|
/**
|
|
396
|
+
* @public
|
|
364
397
|
* <p>The maximum number of results to return with a single call. To retrieve additional results, make another
|
|
365
398
|
* call with the returned token value.</p>
|
|
366
399
|
*/
|
|
367
400
|
maxResults?: number;
|
|
368
401
|
/**
|
|
402
|
+
* @public
|
|
369
403
|
* <p>The states.</p>
|
|
370
404
|
*/
|
|
371
405
|
states?: (SavingsPlanState | string)[];
|
|
372
406
|
/**
|
|
407
|
+
* @public
|
|
373
408
|
* <p>The filters.</p>
|
|
374
409
|
*/
|
|
375
410
|
filters?: SavingsPlanFilter[];
|
|
@@ -406,74 +441,92 @@ export type SavingsPlanType = (typeof SavingsPlanType)[keyof typeof SavingsPlanT
|
|
|
406
441
|
*/
|
|
407
442
|
export interface SavingsPlan {
|
|
408
443
|
/**
|
|
444
|
+
* @public
|
|
409
445
|
* <p>The ID of the offering.</p>
|
|
410
446
|
*/
|
|
411
447
|
offeringId?: string;
|
|
412
448
|
/**
|
|
449
|
+
* @public
|
|
413
450
|
* <p>The ID of the Savings Plan.</p>
|
|
414
451
|
*/
|
|
415
452
|
savingsPlanId?: string;
|
|
416
453
|
/**
|
|
454
|
+
* @public
|
|
417
455
|
* <p>The Amazon Resource Name (ARN) of the Savings Plan.</p>
|
|
418
456
|
*/
|
|
419
457
|
savingsPlanArn?: string;
|
|
420
458
|
/**
|
|
459
|
+
* @public
|
|
421
460
|
* <p>The description.</p>
|
|
422
461
|
*/
|
|
423
462
|
description?: string;
|
|
424
463
|
/**
|
|
464
|
+
* @public
|
|
425
465
|
* <p>The start time.</p>
|
|
426
466
|
*/
|
|
427
467
|
start?: string;
|
|
428
468
|
/**
|
|
469
|
+
* @public
|
|
429
470
|
* <p>The end time.</p>
|
|
430
471
|
*/
|
|
431
472
|
end?: string;
|
|
432
473
|
/**
|
|
474
|
+
* @public
|
|
433
475
|
* <p>The state.</p>
|
|
434
476
|
*/
|
|
435
477
|
state?: SavingsPlanState | string;
|
|
436
478
|
/**
|
|
479
|
+
* @public
|
|
437
480
|
* <p>The AWS Region.</p>
|
|
438
481
|
*/
|
|
439
482
|
region?: string;
|
|
440
483
|
/**
|
|
484
|
+
* @public
|
|
441
485
|
* <p>The EC2 instance family.</p>
|
|
442
486
|
*/
|
|
443
487
|
ec2InstanceFamily?: string;
|
|
444
488
|
/**
|
|
489
|
+
* @public
|
|
445
490
|
* <p>The plan type.</p>
|
|
446
491
|
*/
|
|
447
492
|
savingsPlanType?: SavingsPlanType | string;
|
|
448
493
|
/**
|
|
494
|
+
* @public
|
|
449
495
|
* <p>The payment option.</p>
|
|
450
496
|
*/
|
|
451
497
|
paymentOption?: SavingsPlanPaymentOption | string;
|
|
452
498
|
/**
|
|
499
|
+
* @public
|
|
453
500
|
* <p>The product types.</p>
|
|
454
501
|
*/
|
|
455
502
|
productTypes?: (SavingsPlanProductType | string)[];
|
|
456
503
|
/**
|
|
504
|
+
* @public
|
|
457
505
|
* <p>The currency.</p>
|
|
458
506
|
*/
|
|
459
507
|
currency?: CurrencyCode | string;
|
|
460
508
|
/**
|
|
509
|
+
* @public
|
|
461
510
|
* <p>The hourly commitment, in USD.</p>
|
|
462
511
|
*/
|
|
463
512
|
commitment?: string;
|
|
464
513
|
/**
|
|
514
|
+
* @public
|
|
465
515
|
* <p>The up-front payment amount.</p>
|
|
466
516
|
*/
|
|
467
517
|
upfrontPaymentAmount?: string;
|
|
468
518
|
/**
|
|
519
|
+
* @public
|
|
469
520
|
* <p>The recurring payment amount.</p>
|
|
470
521
|
*/
|
|
471
522
|
recurringPaymentAmount?: string;
|
|
472
523
|
/**
|
|
524
|
+
* @public
|
|
473
525
|
* <p>The duration of the term, in seconds.</p>
|
|
474
526
|
*/
|
|
475
527
|
termDurationInSeconds?: number;
|
|
476
528
|
/**
|
|
529
|
+
* @public
|
|
477
530
|
* <p>One or more tags.</p>
|
|
478
531
|
*/
|
|
479
532
|
tags?: Record<string, string>;
|
|
@@ -483,10 +536,12 @@ export interface SavingsPlan {
|
|
|
483
536
|
*/
|
|
484
537
|
export interface DescribeSavingsPlansResponse {
|
|
485
538
|
/**
|
|
539
|
+
* @public
|
|
486
540
|
* <p>Information about the Savings Plans.</p>
|
|
487
541
|
*/
|
|
488
542
|
savingsPlans?: SavingsPlan[];
|
|
489
543
|
/**
|
|
544
|
+
* @public
|
|
490
545
|
* <p>The token to use to retrieve the next page of results. This value is null when there are no more
|
|
491
546
|
* results to return.</p>
|
|
492
547
|
*/
|
|
@@ -514,10 +569,12 @@ export type SavingsPlanRateFilterAttribute = (typeof SavingsPlanRateFilterAttrib
|
|
|
514
569
|
*/
|
|
515
570
|
export interface SavingsPlanOfferingRateFilterElement {
|
|
516
571
|
/**
|
|
572
|
+
* @public
|
|
517
573
|
* <p>The filter name.</p>
|
|
518
574
|
*/
|
|
519
575
|
name?: SavingsPlanRateFilterAttribute | string;
|
|
520
576
|
/**
|
|
577
|
+
* @public
|
|
521
578
|
* <p>The filter values.</p>
|
|
522
579
|
*/
|
|
523
580
|
values?: string[];
|
|
@@ -527,42 +584,52 @@ export interface SavingsPlanOfferingRateFilterElement {
|
|
|
527
584
|
*/
|
|
528
585
|
export interface DescribeSavingsPlansOfferingRatesRequest {
|
|
529
586
|
/**
|
|
587
|
+
* @public
|
|
530
588
|
* <p>The IDs of the offerings.</p>
|
|
531
589
|
*/
|
|
532
590
|
savingsPlanOfferingIds?: string[];
|
|
533
591
|
/**
|
|
592
|
+
* @public
|
|
534
593
|
* <p>The payment options.</p>
|
|
535
594
|
*/
|
|
536
595
|
savingsPlanPaymentOptions?: (SavingsPlanPaymentOption | string)[];
|
|
537
596
|
/**
|
|
597
|
+
* @public
|
|
538
598
|
* <p>The plan types.</p>
|
|
539
599
|
*/
|
|
540
600
|
savingsPlanTypes?: (SavingsPlanType | string)[];
|
|
541
601
|
/**
|
|
602
|
+
* @public
|
|
542
603
|
* <p>The AWS products.</p>
|
|
543
604
|
*/
|
|
544
605
|
products?: (SavingsPlanProductType | string)[];
|
|
545
606
|
/**
|
|
607
|
+
* @public
|
|
546
608
|
* <p>The services.</p>
|
|
547
609
|
*/
|
|
548
610
|
serviceCodes?: (SavingsPlanRateServiceCode | string)[];
|
|
549
611
|
/**
|
|
612
|
+
* @public
|
|
550
613
|
* <p>The usage details of the line item in the billing report.</p>
|
|
551
614
|
*/
|
|
552
615
|
usageTypes?: string[];
|
|
553
616
|
/**
|
|
617
|
+
* @public
|
|
554
618
|
* <p>The specific AWS operation for the line item in the billing report.</p>
|
|
555
619
|
*/
|
|
556
620
|
operations?: string[];
|
|
557
621
|
/**
|
|
622
|
+
* @public
|
|
558
623
|
* <p>The filters.</p>
|
|
559
624
|
*/
|
|
560
625
|
filters?: SavingsPlanOfferingRateFilterElement[];
|
|
561
626
|
/**
|
|
627
|
+
* @public
|
|
562
628
|
* <p>The token for the next page of results.</p>
|
|
563
629
|
*/
|
|
564
630
|
nextToken?: string;
|
|
565
631
|
/**
|
|
632
|
+
* @public
|
|
566
633
|
* <p>The maximum number of results to return with a single call. To retrieve additional results, make another
|
|
567
634
|
* call with the returned token value.</p>
|
|
568
635
|
*/
|
|
@@ -574,10 +641,12 @@ export interface DescribeSavingsPlansOfferingRatesRequest {
|
|
|
574
641
|
*/
|
|
575
642
|
export interface SavingsPlanOfferingRateProperty {
|
|
576
643
|
/**
|
|
644
|
+
* @public
|
|
577
645
|
* <p>The property name.</p>
|
|
578
646
|
*/
|
|
579
647
|
name?: string;
|
|
580
648
|
/**
|
|
649
|
+
* @public
|
|
581
650
|
* <p>The property value.</p>
|
|
582
651
|
*/
|
|
583
652
|
value?: string;
|
|
@@ -588,26 +657,32 @@ export interface SavingsPlanOfferingRateProperty {
|
|
|
588
657
|
*/
|
|
589
658
|
export interface ParentSavingsPlanOffering {
|
|
590
659
|
/**
|
|
660
|
+
* @public
|
|
591
661
|
* <p>The ID of the offering.</p>
|
|
592
662
|
*/
|
|
593
663
|
offeringId?: string;
|
|
594
664
|
/**
|
|
665
|
+
* @public
|
|
595
666
|
* <p>The payment option.</p>
|
|
596
667
|
*/
|
|
597
668
|
paymentOption?: SavingsPlanPaymentOption | string;
|
|
598
669
|
/**
|
|
670
|
+
* @public
|
|
599
671
|
* <p>The plan type.</p>
|
|
600
672
|
*/
|
|
601
673
|
planType?: SavingsPlanType | string;
|
|
602
674
|
/**
|
|
675
|
+
* @public
|
|
603
676
|
* <p>The duration, in seconds.</p>
|
|
604
677
|
*/
|
|
605
678
|
durationSeconds?: number;
|
|
606
679
|
/**
|
|
680
|
+
* @public
|
|
607
681
|
* <p>The currency.</p>
|
|
608
682
|
*/
|
|
609
683
|
currency?: CurrencyCode | string;
|
|
610
684
|
/**
|
|
685
|
+
* @public
|
|
611
686
|
* <p>The description.</p>
|
|
612
687
|
*/
|
|
613
688
|
planDescription?: string;
|
|
@@ -618,34 +693,42 @@ export interface ParentSavingsPlanOffering {
|
|
|
618
693
|
*/
|
|
619
694
|
export interface SavingsPlanOfferingRate {
|
|
620
695
|
/**
|
|
696
|
+
* @public
|
|
621
697
|
* <p>The Savings Plan offering.</p>
|
|
622
698
|
*/
|
|
623
699
|
savingsPlanOffering?: ParentSavingsPlanOffering;
|
|
624
700
|
/**
|
|
701
|
+
* @public
|
|
625
702
|
* <p>The Savings Plan rate.</p>
|
|
626
703
|
*/
|
|
627
704
|
rate?: string;
|
|
628
705
|
/**
|
|
706
|
+
* @public
|
|
629
707
|
* <p>The unit.</p>
|
|
630
708
|
*/
|
|
631
709
|
unit?: SavingsPlanRateUnit | string;
|
|
632
710
|
/**
|
|
711
|
+
* @public
|
|
633
712
|
* <p>The product type.</p>
|
|
634
713
|
*/
|
|
635
714
|
productType?: SavingsPlanProductType | string;
|
|
636
715
|
/**
|
|
716
|
+
* @public
|
|
637
717
|
* <p>The service.</p>
|
|
638
718
|
*/
|
|
639
719
|
serviceCode?: SavingsPlanRateServiceCode | string;
|
|
640
720
|
/**
|
|
721
|
+
* @public
|
|
641
722
|
* <p>The usage details of the line item in the billing report.</p>
|
|
642
723
|
*/
|
|
643
724
|
usageType?: string;
|
|
644
725
|
/**
|
|
726
|
+
* @public
|
|
645
727
|
* <p>The specific AWS operation for the line item in the billing report.</p>
|
|
646
728
|
*/
|
|
647
729
|
operation?: string;
|
|
648
730
|
/**
|
|
731
|
+
* @public
|
|
649
732
|
* <p>The properties.</p>
|
|
650
733
|
*/
|
|
651
734
|
properties?: SavingsPlanOfferingRateProperty[];
|
|
@@ -655,10 +738,12 @@ export interface SavingsPlanOfferingRate {
|
|
|
655
738
|
*/
|
|
656
739
|
export interface DescribeSavingsPlansOfferingRatesResponse {
|
|
657
740
|
/**
|
|
741
|
+
* @public
|
|
658
742
|
* <p>Information about the Savings Plans offering rates.</p>
|
|
659
743
|
*/
|
|
660
744
|
searchResults?: SavingsPlanOfferingRate[];
|
|
661
745
|
/**
|
|
746
|
+
* @public
|
|
662
747
|
* <p>The token to use to retrieve the next page of results. This value is null when there are no more
|
|
663
748
|
* results to return.</p>
|
|
664
749
|
*/
|
|
@@ -682,10 +767,12 @@ export type SavingsPlanOfferingFilterAttribute = (typeof SavingsPlanOfferingFilt
|
|
|
682
767
|
*/
|
|
683
768
|
export interface SavingsPlanOfferingFilterElement {
|
|
684
769
|
/**
|
|
770
|
+
* @public
|
|
685
771
|
* <p>The filter name.</p>
|
|
686
772
|
*/
|
|
687
773
|
name?: SavingsPlanOfferingFilterAttribute | string;
|
|
688
774
|
/**
|
|
775
|
+
* @public
|
|
689
776
|
* <p>The filter values.</p>
|
|
690
777
|
*/
|
|
691
778
|
values?: string[];
|
|
@@ -695,54 +782,67 @@ export interface SavingsPlanOfferingFilterElement {
|
|
|
695
782
|
*/
|
|
696
783
|
export interface DescribeSavingsPlansOfferingsRequest {
|
|
697
784
|
/**
|
|
785
|
+
* @public
|
|
698
786
|
* <p>The IDs of the offerings.</p>
|
|
699
787
|
*/
|
|
700
788
|
offeringIds?: string[];
|
|
701
789
|
/**
|
|
790
|
+
* @public
|
|
702
791
|
* <p>The payment options.</p>
|
|
703
792
|
*/
|
|
704
793
|
paymentOptions?: (SavingsPlanPaymentOption | string)[];
|
|
705
794
|
/**
|
|
795
|
+
* @public
|
|
706
796
|
* <p>The product type.</p>
|
|
707
797
|
*/
|
|
708
798
|
productType?: SavingsPlanProductType | string;
|
|
709
799
|
/**
|
|
800
|
+
* @public
|
|
710
801
|
* <p>The plan type.</p>
|
|
711
802
|
*/
|
|
712
803
|
planTypes?: (SavingsPlanType | string)[];
|
|
713
804
|
/**
|
|
805
|
+
* @public
|
|
714
806
|
* <p>The durations, in seconds.</p>
|
|
715
807
|
*/
|
|
716
808
|
durations?: number[];
|
|
717
809
|
/**
|
|
810
|
+
* @public
|
|
718
811
|
* <p>The currencies.</p>
|
|
719
812
|
*/
|
|
720
813
|
currencies?: (CurrencyCode | string)[];
|
|
721
814
|
/**
|
|
815
|
+
* @public
|
|
722
816
|
* <p>The descriptions.</p>
|
|
723
817
|
*/
|
|
724
818
|
descriptions?: string[];
|
|
725
819
|
/**
|
|
820
|
+
* @public
|
|
726
821
|
* <p>The services.</p>
|
|
727
822
|
*/
|
|
728
823
|
serviceCodes?: string[];
|
|
729
824
|
/**
|
|
825
|
+
* @public
|
|
730
826
|
* <p>The usage details of the line item in the billing report.</p>
|
|
731
827
|
*/
|
|
732
828
|
usageTypes?: string[];
|
|
733
829
|
/**
|
|
830
|
+
* @public
|
|
734
831
|
* <p>The specific AWS operation for the line item in the billing report.</p>
|
|
735
832
|
*/
|
|
736
833
|
operations?: string[];
|
|
737
834
|
/**
|
|
835
|
+
* @public
|
|
738
836
|
* <p>The filters.</p>
|
|
739
837
|
*/
|
|
740
838
|
filters?: SavingsPlanOfferingFilterElement[];
|
|
741
839
|
/**
|
|
840
|
+
* @public
|
|
742
841
|
* <p>The token for the next page of results.</p>
|
|
743
842
|
*/
|
|
744
843
|
nextToken?: string;
|
|
745
844
|
/**
|
|
845
|
+
* @public
|
|
746
846
|
* <p>The maximum number of results to return with a single call. To retrieve additional results, make another
|
|
747
847
|
* call with the returned token value.</p>
|
|
748
848
|
*/
|
|
@@ -766,10 +866,12 @@ export type SavingsPlanOfferingPropertyKey = (typeof SavingsPlanOfferingProperty
|
|
|
766
866
|
*/
|
|
767
867
|
export interface SavingsPlanOfferingProperty {
|
|
768
868
|
/**
|
|
869
|
+
* @public
|
|
769
870
|
* <p>The property name.</p>
|
|
770
871
|
*/
|
|
771
872
|
name?: SavingsPlanOfferingPropertyKey | string;
|
|
772
873
|
/**
|
|
874
|
+
* @public
|
|
773
875
|
* <p>The property value.</p>
|
|
774
876
|
*/
|
|
775
877
|
value?: string;
|
|
@@ -780,46 +882,57 @@ export interface SavingsPlanOfferingProperty {
|
|
|
780
882
|
*/
|
|
781
883
|
export interface SavingsPlanOffering {
|
|
782
884
|
/**
|
|
885
|
+
* @public
|
|
783
886
|
* <p>The ID of the offering.</p>
|
|
784
887
|
*/
|
|
785
888
|
offeringId?: string;
|
|
786
889
|
/**
|
|
890
|
+
* @public
|
|
787
891
|
* <p>The product type.</p>
|
|
788
892
|
*/
|
|
789
893
|
productTypes?: (SavingsPlanProductType | string)[];
|
|
790
894
|
/**
|
|
895
|
+
* @public
|
|
791
896
|
* <p>The plan type.</p>
|
|
792
897
|
*/
|
|
793
898
|
planType?: SavingsPlanType | string;
|
|
794
899
|
/**
|
|
900
|
+
* @public
|
|
795
901
|
* <p>The description.</p>
|
|
796
902
|
*/
|
|
797
903
|
description?: string;
|
|
798
904
|
/**
|
|
905
|
+
* @public
|
|
799
906
|
* <p>The payment option.</p>
|
|
800
907
|
*/
|
|
801
908
|
paymentOption?: SavingsPlanPaymentOption | string;
|
|
802
909
|
/**
|
|
910
|
+
* @public
|
|
803
911
|
* <p>The duration, in seconds.</p>
|
|
804
912
|
*/
|
|
805
913
|
durationSeconds?: number;
|
|
806
914
|
/**
|
|
915
|
+
* @public
|
|
807
916
|
* <p>The currency.</p>
|
|
808
917
|
*/
|
|
809
918
|
currency?: CurrencyCode | string;
|
|
810
919
|
/**
|
|
920
|
+
* @public
|
|
811
921
|
* <p>The service.</p>
|
|
812
922
|
*/
|
|
813
923
|
serviceCode?: string;
|
|
814
924
|
/**
|
|
925
|
+
* @public
|
|
815
926
|
* <p>The usage details of the line item in the billing report.</p>
|
|
816
927
|
*/
|
|
817
928
|
usageType?: string;
|
|
818
929
|
/**
|
|
930
|
+
* @public
|
|
819
931
|
* <p>The specific AWS operation for the line item in the billing report.</p>
|
|
820
932
|
*/
|
|
821
933
|
operation?: string;
|
|
822
934
|
/**
|
|
935
|
+
* @public
|
|
823
936
|
* <p>The properties.</p>
|
|
824
937
|
*/
|
|
825
938
|
properties?: SavingsPlanOfferingProperty[];
|
|
@@ -829,10 +942,12 @@ export interface SavingsPlanOffering {
|
|
|
829
942
|
*/
|
|
830
943
|
export interface DescribeSavingsPlansOfferingsResponse {
|
|
831
944
|
/**
|
|
945
|
+
* @public
|
|
832
946
|
* <p>Information about the Savings Plans offerings.</p>
|
|
833
947
|
*/
|
|
834
948
|
searchResults?: SavingsPlanOffering[];
|
|
835
949
|
/**
|
|
950
|
+
* @public
|
|
836
951
|
* <p>The token to use to retrieve the next page of results. This value is null when there are no more
|
|
837
952
|
* results to return.</p>
|
|
838
953
|
*/
|
|
@@ -843,6 +958,7 @@ export interface DescribeSavingsPlansOfferingsResponse {
|
|
|
843
958
|
*/
|
|
844
959
|
export interface ListTagsForResourceRequest {
|
|
845
960
|
/**
|
|
961
|
+
* @public
|
|
846
962
|
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
847
963
|
*/
|
|
848
964
|
resourceArn: string | undefined;
|
|
@@ -852,6 +968,7 @@ export interface ListTagsForResourceRequest {
|
|
|
852
968
|
*/
|
|
853
969
|
export interface ListTagsForResourceResponse {
|
|
854
970
|
/**
|
|
971
|
+
* @public
|
|
855
972
|
* <p>Information about the tags.</p>
|
|
856
973
|
*/
|
|
857
974
|
tags?: Record<string, string>;
|
|
@@ -861,10 +978,12 @@ export interface ListTagsForResourceResponse {
|
|
|
861
978
|
*/
|
|
862
979
|
export interface TagResourceRequest {
|
|
863
980
|
/**
|
|
981
|
+
* @public
|
|
864
982
|
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
865
983
|
*/
|
|
866
984
|
resourceArn: string | undefined;
|
|
867
985
|
/**
|
|
986
|
+
* @public
|
|
868
987
|
* <p>One or more tags. For example, \{ "tags": \{"key1":"value1", "key2":"value2"\} \}.</p>
|
|
869
988
|
*/
|
|
870
989
|
tags: Record<string, string> | undefined;
|
|
@@ -879,10 +998,12 @@ export interface TagResourceResponse {
|
|
|
879
998
|
*/
|
|
880
999
|
export interface UntagResourceRequest {
|
|
881
1000
|
/**
|
|
1001
|
+
* @public
|
|
882
1002
|
* <p>The Amazon Resource Name (ARN) of the resource.</p>
|
|
883
1003
|
*/
|
|
884
1004
|
resourceArn: string | undefined;
|
|
885
1005
|
/**
|
|
1006
|
+
* @public
|
|
886
1007
|
* <p>The tag keys.</p>
|
|
887
1008
|
*/
|
|
888
1009
|
tagKeys: string[] | undefined;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * from "./SavingsplansClient";
|
|
2
2
|
export * from "./Savingsplans";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
3
4
|
export * from "./commands";
|
|
4
5
|
export * from "./models";
|
|
5
6
|
export { SavingsplansServiceException } from "./models/SavingsplansServiceException";
|
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.382.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",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
|
-
"@aws-sdk/middleware-signing": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.0.1",
|