@aws-sdk/client-savingsplans 3.687.0 → 3.692.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.
@@ -22,24 +22,24 @@ export interface CreateSavingsPlanRequest {
22
22
  * payment option is <code>Partial Upfront</code>.</p>
23
23
  * @public
24
24
  */
25
- upfrontPaymentAmount?: string;
25
+ upfrontPaymentAmount?: string | undefined;
26
26
  /**
27
27
  * <p>The purchase time of the Savings Plan in UTC format
28
28
  * (YYYY-MM-DDTHH:MM:SSZ).</p>
29
29
  * @public
30
30
  */
31
- purchaseTime?: Date;
31
+ purchaseTime?: Date | undefined;
32
32
  /**
33
33
  * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the
34
34
  * request.</p>
35
35
  * @public
36
36
  */
37
- clientToken?: string;
37
+ clientToken?: string | undefined;
38
38
  /**
39
39
  * <p>One or more tags.</p>
40
40
  * @public
41
41
  */
42
- tags?: Record<string, string>;
42
+ tags?: Record<string, string> | undefined;
43
43
  }
44
44
  /**
45
45
  * @public
@@ -49,7 +49,7 @@ export interface CreateSavingsPlanResponse {
49
49
  * <p>The ID of the Savings Plan.</p>
50
50
  * @public
51
51
  */
52
- savingsPlanId?: string;
52
+ savingsPlanId?: string | undefined;
53
53
  }
54
54
  /**
55
55
  * <p>An unexpected error occurred.</p>
@@ -141,12 +141,12 @@ export interface SavingsPlanRateFilter {
141
141
  * <p>The filter name.</p>
142
142
  * @public
143
143
  */
144
- name?: SavingsPlanRateFilterName;
144
+ name?: SavingsPlanRateFilterName | undefined;
145
145
  /**
146
146
  * <p>The filter values.</p>
147
147
  * @public
148
148
  */
149
- values?: string[];
149
+ values?: string[] | undefined;
150
150
  }
151
151
  /**
152
152
  * @public
@@ -161,18 +161,18 @@ export interface DescribeSavingsPlanRatesRequest {
161
161
  * <p>The filters.</p>
162
162
  * @public
163
163
  */
164
- filters?: SavingsPlanRateFilter[];
164
+ filters?: SavingsPlanRateFilter[] | undefined;
165
165
  /**
166
166
  * <p>The token for the next page of results.</p>
167
167
  * @public
168
168
  */
169
- nextToken?: string;
169
+ nextToken?: string | undefined;
170
170
  /**
171
171
  * <p>The maximum number of results to return with a single call. To retrieve additional
172
172
  * results, make another call with the returned token value.</p>
173
173
  * @public
174
174
  */
175
- maxResults?: number;
175
+ maxResults?: number | undefined;
176
176
  }
177
177
  /**
178
178
  * @public
@@ -224,12 +224,12 @@ export interface SavingsPlanRateProperty {
224
224
  * <p>The property name.</p>
225
225
  * @public
226
226
  */
227
- name?: SavingsPlanRatePropertyKey;
227
+ name?: SavingsPlanRatePropertyKey | undefined;
228
228
  /**
229
229
  * <p>The property value.</p>
230
230
  * @public
231
231
  */
232
- value?: string;
232
+ value?: string | undefined;
233
233
  }
234
234
  /**
235
235
  * @public
@@ -268,43 +268,43 @@ export interface SavingsPlanRate {
268
268
  * <p>The rate.</p>
269
269
  * @public
270
270
  */
271
- rate?: string;
271
+ rate?: string | undefined;
272
272
  /**
273
273
  * <p>The currency.</p>
274
274
  * @public
275
275
  */
276
- currency?: CurrencyCode;
276
+ currency?: CurrencyCode | undefined;
277
277
  /**
278
278
  * <p>The unit.</p>
279
279
  * @public
280
280
  */
281
- unit?: SavingsPlanRateUnit;
281
+ unit?: SavingsPlanRateUnit | undefined;
282
282
  /**
283
283
  * <p>The product type.</p>
284
284
  * @public
285
285
  */
286
- productType?: SavingsPlanProductType;
286
+ productType?: SavingsPlanProductType | undefined;
287
287
  /**
288
288
  * <p>The service.</p>
289
289
  * @public
290
290
  */
291
- serviceCode?: SavingsPlanRateServiceCode;
291
+ serviceCode?: SavingsPlanRateServiceCode | undefined;
292
292
  /**
293
293
  * <p>The usage details of the line item in the billing report.</p>
294
294
  * @public
295
295
  */
296
- usageType?: string;
296
+ usageType?: string | undefined;
297
297
  /**
298
298
  * <p>The specific Amazon Web Services operation for the line item in the billing
299
299
  * report.</p>
300
300
  * @public
301
301
  */
302
- operation?: string;
302
+ operation?: string | undefined;
303
303
  /**
304
304
  * <p>The properties.</p>
305
305
  * @public
306
306
  */
307
- properties?: SavingsPlanRateProperty[];
307
+ properties?: SavingsPlanRateProperty[] | undefined;
308
308
  }
309
309
  /**
310
310
  * @public
@@ -314,18 +314,18 @@ export interface DescribeSavingsPlanRatesResponse {
314
314
  * <p>The ID of the Savings Plan.</p>
315
315
  * @public
316
316
  */
317
- savingsPlanId?: string;
317
+ savingsPlanId?: string | undefined;
318
318
  /**
319
319
  * <p>Information about the Savings Plan rates.</p>
320
320
  * @public
321
321
  */
322
- searchResults?: SavingsPlanRate[];
322
+ searchResults?: SavingsPlanRate[] | undefined;
323
323
  /**
324
324
  * <p>The token to use to retrieve the next page of results. This value is null when there are
325
325
  * no more results to return.</p>
326
326
  * @public
327
327
  */
328
- nextToken?: string;
328
+ nextToken?: string | undefined;
329
329
  }
330
330
  /**
331
331
  * @public
@@ -355,12 +355,12 @@ export interface SavingsPlanFilter {
355
355
  * <p>The filter name.</p>
356
356
  * @public
357
357
  */
358
- name?: SavingsPlansFilterName;
358
+ name?: SavingsPlansFilterName | undefined;
359
359
  /**
360
360
  * <p>The filter value.</p>
361
361
  * @public
362
362
  */
363
- values?: string[];
363
+ values?: string[] | undefined;
364
364
  }
365
365
  /**
366
366
  * @public
@@ -388,33 +388,33 @@ export interface DescribeSavingsPlansRequest {
388
388
  * <p>The Amazon Resource Names (ARN) of the Savings Plans.</p>
389
389
  * @public
390
390
  */
391
- savingsPlanArns?: string[];
391
+ savingsPlanArns?: string[] | undefined;
392
392
  /**
393
393
  * <p>The IDs of the Savings Plans.</p>
394
394
  * @public
395
395
  */
396
- savingsPlanIds?: string[];
396
+ savingsPlanIds?: string[] | undefined;
397
397
  /**
398
398
  * <p>The token for the next page of results.</p>
399
399
  * @public
400
400
  */
401
- nextToken?: string;
401
+ nextToken?: string | undefined;
402
402
  /**
403
403
  * <p>The maximum number of results to return with a single call. To retrieve additional
404
404
  * results, make another call with the returned token value.</p>
405
405
  * @public
406
406
  */
407
- maxResults?: number;
407
+ maxResults?: number | undefined;
408
408
  /**
409
409
  * <p>The current states of the Savings Plans.</p>
410
410
  * @public
411
411
  */
412
- states?: SavingsPlanState[];
412
+ states?: SavingsPlanState[] | undefined;
413
413
  /**
414
414
  * <p>The filters.</p>
415
415
  * @public
416
416
  */
417
- filters?: SavingsPlanFilter[];
417
+ filters?: SavingsPlanFilter[] | undefined;
418
418
  }
419
419
  /**
420
420
  * @public
@@ -451,98 +451,98 @@ export interface SavingsPlan {
451
451
  * <p>The ID of the offering.</p>
452
452
  * @public
453
453
  */
454
- offeringId?: string;
454
+ offeringId?: string | undefined;
455
455
  /**
456
456
  * <p>The ID of the Savings Plan.</p>
457
457
  * @public
458
458
  */
459
- savingsPlanId?: string;
459
+ savingsPlanId?: string | undefined;
460
460
  /**
461
461
  * <p>The Amazon Resource Name (ARN) of the Savings Plan.</p>
462
462
  * @public
463
463
  */
464
- savingsPlanArn?: string;
464
+ savingsPlanArn?: string | undefined;
465
465
  /**
466
466
  * <p>The description.</p>
467
467
  * @public
468
468
  */
469
- description?: string;
469
+ description?: string | undefined;
470
470
  /**
471
471
  * <p>The start time.</p>
472
472
  * @public
473
473
  */
474
- start?: string;
474
+ start?: string | undefined;
475
475
  /**
476
476
  * <p>The end time.</p>
477
477
  * @public
478
478
  */
479
- end?: string;
479
+ end?: string | undefined;
480
480
  /**
481
481
  * <p>The current state.</p>
482
482
  * @public
483
483
  */
484
- state?: SavingsPlanState;
484
+ state?: SavingsPlanState | undefined;
485
485
  /**
486
486
  * <p>The Amazon Web Services Region.</p>
487
487
  * @public
488
488
  */
489
- region?: string;
489
+ region?: string | undefined;
490
490
  /**
491
491
  * <p>The EC2 instance family.</p>
492
492
  * @public
493
493
  */
494
- ec2InstanceFamily?: string;
494
+ ec2InstanceFamily?: string | undefined;
495
495
  /**
496
496
  * <p>The plan type.</p>
497
497
  * @public
498
498
  */
499
- savingsPlanType?: SavingsPlanType;
499
+ savingsPlanType?: SavingsPlanType | undefined;
500
500
  /**
501
501
  * <p>The payment option.</p>
502
502
  * @public
503
503
  */
504
- paymentOption?: SavingsPlanPaymentOption;
504
+ paymentOption?: SavingsPlanPaymentOption | undefined;
505
505
  /**
506
506
  * <p>The product types.</p>
507
507
  * @public
508
508
  */
509
- productTypes?: SavingsPlanProductType[];
509
+ productTypes?: SavingsPlanProductType[] | undefined;
510
510
  /**
511
511
  * <p>The currency.</p>
512
512
  * @public
513
513
  */
514
- currency?: CurrencyCode;
514
+ currency?: CurrencyCode | undefined;
515
515
  /**
516
516
  * <p>The hourly commitment amount in the specified currency.</p>
517
517
  * @public
518
518
  */
519
- commitment?: string;
519
+ commitment?: string | undefined;
520
520
  /**
521
521
  * <p>The up-front payment amount.</p>
522
522
  * @public
523
523
  */
524
- upfrontPaymentAmount?: string;
524
+ upfrontPaymentAmount?: string | undefined;
525
525
  /**
526
526
  * <p>The recurring payment amount.</p>
527
527
  * @public
528
528
  */
529
- recurringPaymentAmount?: string;
529
+ recurringPaymentAmount?: string | undefined;
530
530
  /**
531
531
  * <p>The duration of the term, in seconds.</p>
532
532
  * @public
533
533
  */
534
- termDurationInSeconds?: number;
534
+ termDurationInSeconds?: number | undefined;
535
535
  /**
536
536
  * <p>One or more tags.</p>
537
537
  * @public
538
538
  */
539
- tags?: Record<string, string>;
539
+ tags?: Record<string, string> | undefined;
540
540
  /**
541
541
  * <p>The time until when a return for the Savings Plan can be requested. If the
542
542
  * Savings Plan is not returnable, the field reflects the Savings Plan start time.</p>
543
543
  * @public
544
544
  */
545
- returnableUntil?: string;
545
+ returnableUntil?: string | undefined;
546
546
  }
547
547
  /**
548
548
  * @public
@@ -552,13 +552,13 @@ export interface DescribeSavingsPlansResponse {
552
552
  * <p>Information about the Savings Plans.</p>
553
553
  * @public
554
554
  */
555
- savingsPlans?: SavingsPlan[];
555
+ savingsPlans?: SavingsPlan[] | undefined;
556
556
  /**
557
557
  * <p>The token to use to retrieve the next page of results. This value is null when there are
558
558
  * no more results to return.</p>
559
559
  * @public
560
560
  */
561
- nextToken?: string;
561
+ nextToken?: string | undefined;
562
562
  }
563
563
  /**
564
564
  * @public
@@ -585,12 +585,12 @@ export interface SavingsPlanOfferingRateFilterElement {
585
585
  * <p>The filter name.</p>
586
586
  * @public
587
587
  */
588
- name?: SavingsPlanRateFilterAttribute;
588
+ name?: SavingsPlanRateFilterAttribute | undefined;
589
589
  /**
590
590
  * <p>The filter values.</p>
591
591
  * @public
592
592
  */
593
- values?: string[];
593
+ values?: string[] | undefined;
594
594
  }
595
595
  /**
596
596
  * @public
@@ -600,54 +600,54 @@ export interface DescribeSavingsPlansOfferingRatesRequest {
600
600
  * <p>The IDs of the offerings.</p>
601
601
  * @public
602
602
  */
603
- savingsPlanOfferingIds?: string[];
603
+ savingsPlanOfferingIds?: string[] | undefined;
604
604
  /**
605
605
  * <p>The payment options.</p>
606
606
  * @public
607
607
  */
608
- savingsPlanPaymentOptions?: SavingsPlanPaymentOption[];
608
+ savingsPlanPaymentOptions?: SavingsPlanPaymentOption[] | undefined;
609
609
  /**
610
610
  * <p>The plan types.</p>
611
611
  * @public
612
612
  */
613
- savingsPlanTypes?: SavingsPlanType[];
613
+ savingsPlanTypes?: SavingsPlanType[] | undefined;
614
614
  /**
615
615
  * <p>The Amazon Web Services products.</p>
616
616
  * @public
617
617
  */
618
- products?: SavingsPlanProductType[];
618
+ products?: SavingsPlanProductType[] | undefined;
619
619
  /**
620
620
  * <p>The services.</p>
621
621
  * @public
622
622
  */
623
- serviceCodes?: SavingsPlanRateServiceCode[];
623
+ serviceCodes?: SavingsPlanRateServiceCode[] | undefined;
624
624
  /**
625
625
  * <p>The usage details of the line item in the billing report.</p>
626
626
  * @public
627
627
  */
628
- usageTypes?: string[];
628
+ usageTypes?: string[] | undefined;
629
629
  /**
630
630
  * <p>The specific Amazon Web Services operation for the line item in the billing
631
631
  * report.</p>
632
632
  * @public
633
633
  */
634
- operations?: string[];
634
+ operations?: string[] | undefined;
635
635
  /**
636
636
  * <p>The filters.</p>
637
637
  * @public
638
638
  */
639
- filters?: SavingsPlanOfferingRateFilterElement[];
639
+ filters?: SavingsPlanOfferingRateFilterElement[] | undefined;
640
640
  /**
641
641
  * <p>The token for the next page of results.</p>
642
642
  * @public
643
643
  */
644
- nextToken?: string;
644
+ nextToken?: string | undefined;
645
645
  /**
646
646
  * <p>The maximum number of results to return with a single call. To retrieve additional
647
647
  * results, make another call with the returned token value.</p>
648
648
  * @public
649
649
  */
650
- maxResults?: number;
650
+ maxResults?: number | undefined;
651
651
  }
652
652
  /**
653
653
  * <p>Information about a Savings Plan offering rate property.</p>
@@ -658,12 +658,12 @@ export interface SavingsPlanOfferingRateProperty {
658
658
  * <p>The property name.</p>
659
659
  * @public
660
660
  */
661
- name?: string;
661
+ name?: string | undefined;
662
662
  /**
663
663
  * <p>The property value.</p>
664
664
  * @public
665
665
  */
666
- value?: string;
666
+ value?: string | undefined;
667
667
  }
668
668
  /**
669
669
  * <p>Information about a Savings Plan offering.</p>
@@ -674,32 +674,32 @@ export interface ParentSavingsPlanOffering {
674
674
  * <p>The ID of the offering.</p>
675
675
  * @public
676
676
  */
677
- offeringId?: string;
677
+ offeringId?: string | undefined;
678
678
  /**
679
679
  * <p>The payment option.</p>
680
680
  * @public
681
681
  */
682
- paymentOption?: SavingsPlanPaymentOption;
682
+ paymentOption?: SavingsPlanPaymentOption | undefined;
683
683
  /**
684
684
  * <p>The plan type.</p>
685
685
  * @public
686
686
  */
687
- planType?: SavingsPlanType;
687
+ planType?: SavingsPlanType | undefined;
688
688
  /**
689
689
  * <p>The duration, in seconds.</p>
690
690
  * @public
691
691
  */
692
- durationSeconds?: number;
692
+ durationSeconds?: number | undefined;
693
693
  /**
694
694
  * <p>The currency.</p>
695
695
  * @public
696
696
  */
697
- currency?: CurrencyCode;
697
+ currency?: CurrencyCode | undefined;
698
698
  /**
699
699
  * <p>The description.</p>
700
700
  * @public
701
701
  */
702
- planDescription?: string;
702
+ planDescription?: string | undefined;
703
703
  }
704
704
  /**
705
705
  * <p>Information about a Savings Plan offering rate.</p>
@@ -710,43 +710,43 @@ export interface SavingsPlanOfferingRate {
710
710
  * <p>The Savings Plan offering.</p>
711
711
  * @public
712
712
  */
713
- savingsPlanOffering?: ParentSavingsPlanOffering;
713
+ savingsPlanOffering?: ParentSavingsPlanOffering | undefined;
714
714
  /**
715
715
  * <p>The Savings Plan rate.</p>
716
716
  * @public
717
717
  */
718
- rate?: string;
718
+ rate?: string | undefined;
719
719
  /**
720
720
  * <p>The unit.</p>
721
721
  * @public
722
722
  */
723
- unit?: SavingsPlanRateUnit;
723
+ unit?: SavingsPlanRateUnit | undefined;
724
724
  /**
725
725
  * <p>The product type.</p>
726
726
  * @public
727
727
  */
728
- productType?: SavingsPlanProductType;
728
+ productType?: SavingsPlanProductType | undefined;
729
729
  /**
730
730
  * <p>The service.</p>
731
731
  * @public
732
732
  */
733
- serviceCode?: SavingsPlanRateServiceCode;
733
+ serviceCode?: SavingsPlanRateServiceCode | undefined;
734
734
  /**
735
735
  * <p>The usage details of the line item in the billing report.</p>
736
736
  * @public
737
737
  */
738
- usageType?: string;
738
+ usageType?: string | undefined;
739
739
  /**
740
740
  * <p>The specific Amazon Web Services operation for the line item in the billing
741
741
  * report.</p>
742
742
  * @public
743
743
  */
744
- operation?: string;
744
+ operation?: string | undefined;
745
745
  /**
746
746
  * <p>The properties.</p>
747
747
  * @public
748
748
  */
749
- properties?: SavingsPlanOfferingRateProperty[];
749
+ properties?: SavingsPlanOfferingRateProperty[] | undefined;
750
750
  }
751
751
  /**
752
752
  * @public
@@ -756,13 +756,13 @@ export interface DescribeSavingsPlansOfferingRatesResponse {
756
756
  * <p>Information about the Savings Plans offering rates.</p>
757
757
  * @public
758
758
  */
759
- searchResults?: SavingsPlanOfferingRate[];
759
+ searchResults?: SavingsPlanOfferingRate[] | undefined;
760
760
  /**
761
761
  * <p>The token to use to retrieve the next page of results. This value is null when there are
762
762
  * no more results to return.</p>
763
763
  * @public
764
764
  */
765
- nextToken?: string;
765
+ nextToken?: string | undefined;
766
766
  }
767
767
  /**
768
768
  * @public
@@ -785,12 +785,12 @@ export interface SavingsPlanOfferingFilterElement {
785
785
  * <p>The filter name.</p>
786
786
  * @public
787
787
  */
788
- name?: SavingsPlanOfferingFilterAttribute;
788
+ name?: SavingsPlanOfferingFilterAttribute | undefined;
789
789
  /**
790
790
  * <p>The filter values.</p>
791
791
  * @public
792
792
  */
793
- values?: string[];
793
+ values?: string[] | undefined;
794
794
  }
795
795
  /**
796
796
  * @public
@@ -800,69 +800,69 @@ export interface DescribeSavingsPlansOfferingsRequest {
800
800
  * <p>The IDs of the offerings.</p>
801
801
  * @public
802
802
  */
803
- offeringIds?: string[];
803
+ offeringIds?: string[] | undefined;
804
804
  /**
805
805
  * <p>The payment options.</p>
806
806
  * @public
807
807
  */
808
- paymentOptions?: SavingsPlanPaymentOption[];
808
+ paymentOptions?: SavingsPlanPaymentOption[] | undefined;
809
809
  /**
810
810
  * <p>The product type.</p>
811
811
  * @public
812
812
  */
813
- productType?: SavingsPlanProductType;
813
+ productType?: SavingsPlanProductType | undefined;
814
814
  /**
815
815
  * <p>The plan types.</p>
816
816
  * @public
817
817
  */
818
- planTypes?: SavingsPlanType[];
818
+ planTypes?: SavingsPlanType[] | undefined;
819
819
  /**
820
820
  * <p>The duration, in seconds.</p>
821
821
  * @public
822
822
  */
823
- durations?: number[];
823
+ durations?: number[] | undefined;
824
824
  /**
825
825
  * <p>The currencies.</p>
826
826
  * @public
827
827
  */
828
- currencies?: CurrencyCode[];
828
+ currencies?: CurrencyCode[] | undefined;
829
829
  /**
830
830
  * <p>The descriptions.</p>
831
831
  * @public
832
832
  */
833
- descriptions?: string[];
833
+ descriptions?: string[] | undefined;
834
834
  /**
835
835
  * <p>The services.</p>
836
836
  * @public
837
837
  */
838
- serviceCodes?: string[];
838
+ serviceCodes?: string[] | undefined;
839
839
  /**
840
840
  * <p>The usage details of the line item in the billing report.</p>
841
841
  * @public
842
842
  */
843
- usageTypes?: string[];
843
+ usageTypes?: string[] | undefined;
844
844
  /**
845
845
  * <p>The specific Amazon Web Services operation for the line item in the billing
846
846
  * report.</p>
847
847
  * @public
848
848
  */
849
- operations?: string[];
849
+ operations?: string[] | undefined;
850
850
  /**
851
851
  * <p>The filters.</p>
852
852
  * @public
853
853
  */
854
- filters?: SavingsPlanOfferingFilterElement[];
854
+ filters?: SavingsPlanOfferingFilterElement[] | undefined;
855
855
  /**
856
856
  * <p>The token for the next page of results.</p>
857
857
  * @public
858
858
  */
859
- nextToken?: string;
859
+ nextToken?: string | undefined;
860
860
  /**
861
861
  * <p>The maximum number of results to return with a single call. To retrieve additional
862
862
  * results, make another call with the returned token value.</p>
863
863
  * @public
864
864
  */
865
- maxResults?: number;
865
+ maxResults?: number | undefined;
866
866
  }
867
867
  /**
868
868
  * @public
@@ -885,12 +885,12 @@ export interface SavingsPlanOfferingProperty {
885
885
  * <p>The property name.</p>
886
886
  * @public
887
887
  */
888
- name?: SavingsPlanOfferingPropertyKey;
888
+ name?: SavingsPlanOfferingPropertyKey | undefined;
889
889
  /**
890
890
  * <p>The property value.</p>
891
891
  * @public
892
892
  */
893
- value?: string;
893
+ value?: string | undefined;
894
894
  }
895
895
  /**
896
896
  * <p>Information about a Savings Plan offering.</p>
@@ -901,58 +901,58 @@ export interface SavingsPlanOffering {
901
901
  * <p>The ID of the offering.</p>
902
902
  * @public
903
903
  */
904
- offeringId?: string;
904
+ offeringId?: string | undefined;
905
905
  /**
906
906
  * <p>The product type.</p>
907
907
  * @public
908
908
  */
909
- productTypes?: SavingsPlanProductType[];
909
+ productTypes?: SavingsPlanProductType[] | undefined;
910
910
  /**
911
911
  * <p>The plan type.</p>
912
912
  * @public
913
913
  */
914
- planType?: SavingsPlanType;
914
+ planType?: SavingsPlanType | undefined;
915
915
  /**
916
916
  * <p>The description.</p>
917
917
  * @public
918
918
  */
919
- description?: string;
919
+ description?: string | undefined;
920
920
  /**
921
921
  * <p>The payment option.</p>
922
922
  * @public
923
923
  */
924
- paymentOption?: SavingsPlanPaymentOption;
924
+ paymentOption?: SavingsPlanPaymentOption | undefined;
925
925
  /**
926
926
  * <p>The duration, in seconds.</p>
927
927
  * @public
928
928
  */
929
- durationSeconds?: number;
929
+ durationSeconds?: number | undefined;
930
930
  /**
931
931
  * <p>The currency.</p>
932
932
  * @public
933
933
  */
934
- currency?: CurrencyCode;
934
+ currency?: CurrencyCode | undefined;
935
935
  /**
936
936
  * <p>The service.</p>
937
937
  * @public
938
938
  */
939
- serviceCode?: string;
939
+ serviceCode?: string | undefined;
940
940
  /**
941
941
  * <p>The usage details of the line item in the billing report.</p>
942
942
  * @public
943
943
  */
944
- usageType?: string;
944
+ usageType?: string | undefined;
945
945
  /**
946
946
  * <p>The specific Amazon Web Services operation for the line item in the billing
947
947
  * report.</p>
948
948
  * @public
949
949
  */
950
- operation?: string;
950
+ operation?: string | undefined;
951
951
  /**
952
952
  * <p>The properties.</p>
953
953
  * @public
954
954
  */
955
- properties?: SavingsPlanOfferingProperty[];
955
+ properties?: SavingsPlanOfferingProperty[] | undefined;
956
956
  }
957
957
  /**
958
958
  * @public
@@ -962,13 +962,13 @@ export interface DescribeSavingsPlansOfferingsResponse {
962
962
  * <p>Information about the Savings Plans offerings.</p>
963
963
  * @public
964
964
  */
965
- searchResults?: SavingsPlanOffering[];
965
+ searchResults?: SavingsPlanOffering[] | undefined;
966
966
  /**
967
967
  * <p>The token to use to retrieve the next page of results. This value is null when there are
968
968
  * no more results to return.</p>
969
969
  * @public
970
970
  */
971
- nextToken?: string;
971
+ nextToken?: string | undefined;
972
972
  }
973
973
  /**
974
974
  * @public
@@ -988,7 +988,7 @@ export interface ListTagsForResourceResponse {
988
988
  * <p>Information about the tags.</p>
989
989
  * @public
990
990
  */
991
- tags?: Record<string, string>;
991
+ tags?: Record<string, string> | undefined;
992
992
  }
993
993
  /**
994
994
  * @public
@@ -1004,7 +1004,7 @@ export interface ReturnSavingsPlanRequest {
1004
1004
  * request.</p>
1005
1005
  * @public
1006
1006
  */
1007
- clientToken?: string;
1007
+ clientToken?: string | undefined;
1008
1008
  }
1009
1009
  /**
1010
1010
  * @public
@@ -1014,7 +1014,7 @@ export interface ReturnSavingsPlanResponse {
1014
1014
  * <p>The ID of the Savings Plan.</p>
1015
1015
  * @public
1016
1016
  */
1017
- savingsPlanId?: string;
1017
+ savingsPlanId?: string | undefined;
1018
1018
  }
1019
1019
  /**
1020
1020
  * @public
@@ -3,13 +3,13 @@ import { SavingsplansServiceException as __BaseException } from "./SavingsplansS
3
3
  export interface CreateSavingsPlanRequest {
4
4
  savingsPlanOfferingId: string | undefined;
5
5
  commitment: string | undefined;
6
- upfrontPaymentAmount?: string;
7
- purchaseTime?: Date;
8
- clientToken?: string;
9
- tags?: Record<string, string>;
6
+ upfrontPaymentAmount?: string | undefined;
7
+ purchaseTime?: Date | undefined;
8
+ clientToken?: string | undefined;
9
+ tags?: Record<string, string> | undefined;
10
10
  }
11
11
  export interface CreateSavingsPlanResponse {
12
- savingsPlanId?: string;
12
+ savingsPlanId?: string | undefined;
13
13
  }
14
14
  export declare class InternalServerException extends __BaseException {
15
15
  readonly name: "InternalServerException";
@@ -56,14 +56,14 @@ export declare const SavingsPlanRateFilterName: {
56
56
  export type SavingsPlanRateFilterName =
57
57
  (typeof SavingsPlanRateFilterName)[keyof typeof SavingsPlanRateFilterName];
58
58
  export interface SavingsPlanRateFilter {
59
- name?: SavingsPlanRateFilterName;
60
- values?: string[];
59
+ name?: SavingsPlanRateFilterName | undefined;
60
+ values?: string[] | undefined;
61
61
  }
62
62
  export interface DescribeSavingsPlanRatesRequest {
63
63
  savingsPlanId: string | undefined;
64
- filters?: SavingsPlanRateFilter[];
65
- nextToken?: string;
66
- maxResults?: number;
64
+ filters?: SavingsPlanRateFilter[] | undefined;
65
+ nextToken?: string | undefined;
66
+ maxResults?: number | undefined;
67
67
  }
68
68
  export declare const CurrencyCode: {
69
69
  readonly CNY: "CNY";
@@ -88,8 +88,8 @@ export declare const SavingsPlanRatePropertyKey: {
88
88
  export type SavingsPlanRatePropertyKey =
89
89
  (typeof SavingsPlanRatePropertyKey)[keyof typeof SavingsPlanRatePropertyKey];
90
90
  export interface SavingsPlanRateProperty {
91
- name?: SavingsPlanRatePropertyKey;
92
- value?: string;
91
+ name?: SavingsPlanRatePropertyKey | undefined;
92
+ value?: string | undefined;
93
93
  }
94
94
  export declare const SavingsPlanRateServiceCode: {
95
95
  readonly EC2: "AmazonEC2";
@@ -108,19 +108,19 @@ export declare const SavingsPlanRateUnit: {
108
108
  export type SavingsPlanRateUnit =
109
109
  (typeof SavingsPlanRateUnit)[keyof typeof SavingsPlanRateUnit];
110
110
  export interface SavingsPlanRate {
111
- rate?: string;
112
- currency?: CurrencyCode;
113
- unit?: SavingsPlanRateUnit;
114
- productType?: SavingsPlanProductType;
115
- serviceCode?: SavingsPlanRateServiceCode;
116
- usageType?: string;
117
- operation?: string;
118
- properties?: SavingsPlanRateProperty[];
111
+ rate?: string | undefined;
112
+ currency?: CurrencyCode | undefined;
113
+ unit?: SavingsPlanRateUnit | undefined;
114
+ productType?: SavingsPlanProductType | undefined;
115
+ serviceCode?: SavingsPlanRateServiceCode | undefined;
116
+ usageType?: string | undefined;
117
+ operation?: string | undefined;
118
+ properties?: SavingsPlanRateProperty[] | undefined;
119
119
  }
120
120
  export interface DescribeSavingsPlanRatesResponse {
121
- savingsPlanId?: string;
122
- searchResults?: SavingsPlanRate[];
123
- nextToken?: string;
121
+ savingsPlanId?: string | undefined;
122
+ searchResults?: SavingsPlanRate[] | undefined;
123
+ nextToken?: string | undefined;
124
124
  }
125
125
  export declare const SavingsPlansFilterName: {
126
126
  readonly COMMITMENT: "commitment";
@@ -136,8 +136,8 @@ export declare const SavingsPlansFilterName: {
136
136
  export type SavingsPlansFilterName =
137
137
  (typeof SavingsPlansFilterName)[keyof typeof SavingsPlansFilterName];
138
138
  export interface SavingsPlanFilter {
139
- name?: SavingsPlansFilterName;
140
- values?: string[];
139
+ name?: SavingsPlansFilterName | undefined;
140
+ values?: string[] | undefined;
141
141
  }
142
142
  export declare const SavingsPlanState: {
143
143
  readonly ACTIVE: "active";
@@ -152,12 +152,12 @@ export declare const SavingsPlanState: {
152
152
  export type SavingsPlanState =
153
153
  (typeof SavingsPlanState)[keyof typeof SavingsPlanState];
154
154
  export interface DescribeSavingsPlansRequest {
155
- savingsPlanArns?: string[];
156
- savingsPlanIds?: string[];
157
- nextToken?: string;
158
- maxResults?: number;
159
- states?: SavingsPlanState[];
160
- filters?: SavingsPlanFilter[];
155
+ savingsPlanArns?: string[] | undefined;
156
+ savingsPlanIds?: string[] | undefined;
157
+ nextToken?: string | undefined;
158
+ maxResults?: number | undefined;
159
+ states?: SavingsPlanState[] | undefined;
160
+ filters?: SavingsPlanFilter[] | undefined;
161
161
  }
162
162
  export declare const SavingsPlanPaymentOption: {
163
163
  readonly ALL_UPFRONT: "All Upfront";
@@ -174,29 +174,29 @@ export declare const SavingsPlanType: {
174
174
  export type SavingsPlanType =
175
175
  (typeof SavingsPlanType)[keyof typeof SavingsPlanType];
176
176
  export interface SavingsPlan {
177
- offeringId?: string;
178
- savingsPlanId?: string;
179
- savingsPlanArn?: string;
180
- description?: string;
181
- start?: string;
182
- end?: string;
183
- state?: SavingsPlanState;
184
- region?: string;
185
- ec2InstanceFamily?: string;
186
- savingsPlanType?: SavingsPlanType;
187
- paymentOption?: SavingsPlanPaymentOption;
188
- productTypes?: SavingsPlanProductType[];
189
- currency?: CurrencyCode;
190
- commitment?: string;
191
- upfrontPaymentAmount?: string;
192
- recurringPaymentAmount?: string;
193
- termDurationInSeconds?: number;
194
- tags?: Record<string, string>;
195
- returnableUntil?: string;
177
+ offeringId?: string | undefined;
178
+ savingsPlanId?: string | undefined;
179
+ savingsPlanArn?: string | undefined;
180
+ description?: string | undefined;
181
+ start?: string | undefined;
182
+ end?: string | undefined;
183
+ state?: SavingsPlanState | undefined;
184
+ region?: string | undefined;
185
+ ec2InstanceFamily?: string | undefined;
186
+ savingsPlanType?: SavingsPlanType | undefined;
187
+ paymentOption?: SavingsPlanPaymentOption | undefined;
188
+ productTypes?: SavingsPlanProductType[] | undefined;
189
+ currency?: CurrencyCode | undefined;
190
+ commitment?: string | undefined;
191
+ upfrontPaymentAmount?: string | undefined;
192
+ recurringPaymentAmount?: string | undefined;
193
+ termDurationInSeconds?: number | undefined;
194
+ tags?: Record<string, string> | undefined;
195
+ returnableUntil?: string | undefined;
196
196
  }
197
197
  export interface DescribeSavingsPlansResponse {
198
- savingsPlans?: SavingsPlan[];
199
- nextToken?: string;
198
+ savingsPlans?: SavingsPlan[] | undefined;
199
+ nextToken?: string | undefined;
200
200
  }
201
201
  export declare const SavingsPlanRateFilterAttribute: {
202
202
  readonly INSTANCE_FAMILY: "instanceFamily";
@@ -209,46 +209,46 @@ export declare const SavingsPlanRateFilterAttribute: {
209
209
  export type SavingsPlanRateFilterAttribute =
210
210
  (typeof SavingsPlanRateFilterAttribute)[keyof typeof SavingsPlanRateFilterAttribute];
211
211
  export interface SavingsPlanOfferingRateFilterElement {
212
- name?: SavingsPlanRateFilterAttribute;
213
- values?: string[];
212
+ name?: SavingsPlanRateFilterAttribute | undefined;
213
+ values?: string[] | undefined;
214
214
  }
215
215
  export interface DescribeSavingsPlansOfferingRatesRequest {
216
- savingsPlanOfferingIds?: string[];
217
- savingsPlanPaymentOptions?: SavingsPlanPaymentOption[];
218
- savingsPlanTypes?: SavingsPlanType[];
219
- products?: SavingsPlanProductType[];
220
- serviceCodes?: SavingsPlanRateServiceCode[];
221
- usageTypes?: string[];
222
- operations?: string[];
223
- filters?: SavingsPlanOfferingRateFilterElement[];
224
- nextToken?: string;
225
- maxResults?: number;
216
+ savingsPlanOfferingIds?: string[] | undefined;
217
+ savingsPlanPaymentOptions?: SavingsPlanPaymentOption[] | undefined;
218
+ savingsPlanTypes?: SavingsPlanType[] | undefined;
219
+ products?: SavingsPlanProductType[] | undefined;
220
+ serviceCodes?: SavingsPlanRateServiceCode[] | undefined;
221
+ usageTypes?: string[] | undefined;
222
+ operations?: string[] | undefined;
223
+ filters?: SavingsPlanOfferingRateFilterElement[] | undefined;
224
+ nextToken?: string | undefined;
225
+ maxResults?: number | undefined;
226
226
  }
227
227
  export interface SavingsPlanOfferingRateProperty {
228
- name?: string;
229
- value?: string;
228
+ name?: string | undefined;
229
+ value?: string | undefined;
230
230
  }
231
231
  export interface ParentSavingsPlanOffering {
232
- offeringId?: string;
233
- paymentOption?: SavingsPlanPaymentOption;
234
- planType?: SavingsPlanType;
235
- durationSeconds?: number;
236
- currency?: CurrencyCode;
237
- planDescription?: string;
232
+ offeringId?: string | undefined;
233
+ paymentOption?: SavingsPlanPaymentOption | undefined;
234
+ planType?: SavingsPlanType | undefined;
235
+ durationSeconds?: number | undefined;
236
+ currency?: CurrencyCode | undefined;
237
+ planDescription?: string | undefined;
238
238
  }
239
239
  export interface SavingsPlanOfferingRate {
240
- savingsPlanOffering?: ParentSavingsPlanOffering;
241
- rate?: string;
242
- unit?: SavingsPlanRateUnit;
243
- productType?: SavingsPlanProductType;
244
- serviceCode?: SavingsPlanRateServiceCode;
245
- usageType?: string;
246
- operation?: string;
247
- properties?: SavingsPlanOfferingRateProperty[];
240
+ savingsPlanOffering?: ParentSavingsPlanOffering | undefined;
241
+ rate?: string | undefined;
242
+ unit?: SavingsPlanRateUnit | undefined;
243
+ productType?: SavingsPlanProductType | undefined;
244
+ serviceCode?: SavingsPlanRateServiceCode | undefined;
245
+ usageType?: string | undefined;
246
+ operation?: string | undefined;
247
+ properties?: SavingsPlanOfferingRateProperty[] | undefined;
248
248
  }
249
249
  export interface DescribeSavingsPlansOfferingRatesResponse {
250
- searchResults?: SavingsPlanOfferingRate[];
251
- nextToken?: string;
250
+ searchResults?: SavingsPlanOfferingRate[] | undefined;
251
+ nextToken?: string | undefined;
252
252
  }
253
253
  export declare const SavingsPlanOfferingFilterAttribute: {
254
254
  readonly instanceFamily: "instanceFamily";
@@ -257,23 +257,23 @@ export declare const SavingsPlanOfferingFilterAttribute: {
257
257
  export type SavingsPlanOfferingFilterAttribute =
258
258
  (typeof SavingsPlanOfferingFilterAttribute)[keyof typeof SavingsPlanOfferingFilterAttribute];
259
259
  export interface SavingsPlanOfferingFilterElement {
260
- name?: SavingsPlanOfferingFilterAttribute;
261
- values?: string[];
260
+ name?: SavingsPlanOfferingFilterAttribute | undefined;
261
+ values?: string[] | undefined;
262
262
  }
263
263
  export interface DescribeSavingsPlansOfferingsRequest {
264
- offeringIds?: string[];
265
- paymentOptions?: SavingsPlanPaymentOption[];
266
- productType?: SavingsPlanProductType;
267
- planTypes?: SavingsPlanType[];
268
- durations?: number[];
269
- currencies?: CurrencyCode[];
270
- descriptions?: string[];
271
- serviceCodes?: string[];
272
- usageTypes?: string[];
273
- operations?: string[];
274
- filters?: SavingsPlanOfferingFilterElement[];
275
- nextToken?: string;
276
- maxResults?: number;
264
+ offeringIds?: string[] | undefined;
265
+ paymentOptions?: SavingsPlanPaymentOption[] | undefined;
266
+ productType?: SavingsPlanProductType | undefined;
267
+ planTypes?: SavingsPlanType[] | undefined;
268
+ durations?: number[] | undefined;
269
+ currencies?: CurrencyCode[] | undefined;
270
+ descriptions?: string[] | undefined;
271
+ serviceCodes?: string[] | undefined;
272
+ usageTypes?: string[] | undefined;
273
+ operations?: string[] | undefined;
274
+ filters?: SavingsPlanOfferingFilterElement[] | undefined;
275
+ nextToken?: string | undefined;
276
+ maxResults?: number | undefined;
277
277
  }
278
278
  export declare const SavingsPlanOfferingPropertyKey: {
279
279
  readonly INSTANCE_FAMILY: "instanceFamily";
@@ -282,38 +282,38 @@ export declare const SavingsPlanOfferingPropertyKey: {
282
282
  export type SavingsPlanOfferingPropertyKey =
283
283
  (typeof SavingsPlanOfferingPropertyKey)[keyof typeof SavingsPlanOfferingPropertyKey];
284
284
  export interface SavingsPlanOfferingProperty {
285
- name?: SavingsPlanOfferingPropertyKey;
286
- value?: string;
285
+ name?: SavingsPlanOfferingPropertyKey | undefined;
286
+ value?: string | undefined;
287
287
  }
288
288
  export interface SavingsPlanOffering {
289
- offeringId?: string;
290
- productTypes?: SavingsPlanProductType[];
291
- planType?: SavingsPlanType;
292
- description?: string;
293
- paymentOption?: SavingsPlanPaymentOption;
294
- durationSeconds?: number;
295
- currency?: CurrencyCode;
296
- serviceCode?: string;
297
- usageType?: string;
298
- operation?: string;
299
- properties?: SavingsPlanOfferingProperty[];
289
+ offeringId?: string | undefined;
290
+ productTypes?: SavingsPlanProductType[] | undefined;
291
+ planType?: SavingsPlanType | undefined;
292
+ description?: string | undefined;
293
+ paymentOption?: SavingsPlanPaymentOption | undefined;
294
+ durationSeconds?: number | undefined;
295
+ currency?: CurrencyCode | undefined;
296
+ serviceCode?: string | undefined;
297
+ usageType?: string | undefined;
298
+ operation?: string | undefined;
299
+ properties?: SavingsPlanOfferingProperty[] | undefined;
300
300
  }
301
301
  export interface DescribeSavingsPlansOfferingsResponse {
302
- searchResults?: SavingsPlanOffering[];
303
- nextToken?: string;
302
+ searchResults?: SavingsPlanOffering[] | undefined;
303
+ nextToken?: string | undefined;
304
304
  }
305
305
  export interface ListTagsForResourceRequest {
306
306
  resourceArn: string | undefined;
307
307
  }
308
308
  export interface ListTagsForResourceResponse {
309
- tags?: Record<string, string>;
309
+ tags?: Record<string, string> | undefined;
310
310
  }
311
311
  export interface ReturnSavingsPlanRequest {
312
312
  savingsPlanId: string | undefined;
313
- clientToken?: string;
313
+ clientToken?: string | undefined;
314
314
  }
315
315
  export interface ReturnSavingsPlanResponse {
316
- savingsPlanId?: string;
316
+ savingsPlanId?: string | undefined;
317
317
  }
318
318
  export interface TagResourceRequest {
319
319
  resourceArn: string | undefined;
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.687.0",
4
+ "version": "3.692.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-savingsplans",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
27
- "@aws-sdk/middleware-host-header": "3.686.0",
28
- "@aws-sdk/middleware-logger": "3.686.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
- "@aws-sdk/region-config-resolver": "3.686.0",
32
- "@aws-sdk/types": "3.686.0",
33
- "@aws-sdk/util-endpoints": "3.686.0",
34
- "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
- "@smithy/config-resolver": "^3.0.10",
37
- "@smithy/core": "^2.5.1",
38
- "@smithy/fetch-http-handler": "^4.0.0",
39
- "@smithy/hash-node": "^3.0.8",
40
- "@smithy/invalid-dependency": "^3.0.8",
41
- "@smithy/middleware-content-length": "^3.0.10",
42
- "@smithy/middleware-endpoint": "^3.2.1",
43
- "@smithy/middleware-retry": "^3.0.25",
44
- "@smithy/middleware-serde": "^3.0.8",
45
- "@smithy/middleware-stack": "^3.0.8",
46
- "@smithy/node-config-provider": "^3.1.9",
47
- "@smithy/node-http-handler": "^3.2.5",
48
- "@smithy/protocol-http": "^4.1.5",
49
- "@smithy/smithy-client": "^3.4.2",
50
- "@smithy/types": "^3.6.0",
51
- "@smithy/url-parser": "^3.0.8",
23
+ "@aws-sdk/client-sso-oidc": "3.692.0",
24
+ "@aws-sdk/client-sts": "3.692.0",
25
+ "@aws-sdk/core": "3.692.0",
26
+ "@aws-sdk/credential-provider-node": "3.692.0",
27
+ "@aws-sdk/middleware-host-header": "3.692.0",
28
+ "@aws-sdk/middleware-logger": "3.692.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.692.0",
30
+ "@aws-sdk/middleware-user-agent": "3.692.0",
31
+ "@aws-sdk/region-config-resolver": "3.692.0",
32
+ "@aws-sdk/types": "3.692.0",
33
+ "@aws-sdk/util-endpoints": "3.692.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.692.0",
35
+ "@aws-sdk/util-user-agent-node": "3.692.0",
36
+ "@smithy/config-resolver": "^3.0.11",
37
+ "@smithy/core": "^2.5.2",
38
+ "@smithy/fetch-http-handler": "^4.1.0",
39
+ "@smithy/hash-node": "^3.0.9",
40
+ "@smithy/invalid-dependency": "^3.0.9",
41
+ "@smithy/middleware-content-length": "^3.0.11",
42
+ "@smithy/middleware-endpoint": "^3.2.2",
43
+ "@smithy/middleware-retry": "^3.0.26",
44
+ "@smithy/middleware-serde": "^3.0.9",
45
+ "@smithy/middleware-stack": "^3.0.9",
46
+ "@smithy/node-config-provider": "^3.1.10",
47
+ "@smithy/node-http-handler": "^3.3.0",
48
+ "@smithy/protocol-http": "^4.1.6",
49
+ "@smithy/smithy-client": "^3.4.3",
50
+ "@smithy/types": "^3.7.0",
51
+ "@smithy/url-parser": "^3.0.9",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.25",
56
- "@smithy/util-defaults-mode-node": "^3.0.25",
57
- "@smithy/util-endpoints": "^2.1.4",
58
- "@smithy/util-middleware": "^3.0.8",
59
- "@smithy/util-retry": "^3.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.26",
56
+ "@smithy/util-defaults-mode-node": "^3.0.26",
57
+ "@smithy/util-endpoints": "^2.1.5",
58
+ "@smithy/util-middleware": "^3.0.9",
59
+ "@smithy/util-retry": "^3.0.9",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "@types/uuid": "^9.0.1",
62
62
  "tslib": "^2.6.2",