@aws-sdk/client-savingsplans 3.428.0 → 3.429.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.
@@ -137,7 +137,7 @@ export interface SavingsPlanRateFilter {
137
137
  * @public
138
138
  * <p>The filter name.</p>
139
139
  */
140
- name?: SavingsPlanRateFilterName | string;
140
+ name?: SavingsPlanRateFilterName;
141
141
  /**
142
142
  * @public
143
143
  * <p>The filter values.</p>
@@ -220,7 +220,7 @@ export interface SavingsPlanRateProperty {
220
220
  * @public
221
221
  * <p>The property name.</p>
222
222
  */
223
- name?: SavingsPlanRatePropertyKey | string;
223
+ name?: SavingsPlanRatePropertyKey;
224
224
  /**
225
225
  * @public
226
226
  * <p>The property value.</p>
@@ -269,22 +269,22 @@ export interface SavingsPlanRate {
269
269
  * @public
270
270
  * <p>The currency.</p>
271
271
  */
272
- currency?: CurrencyCode | string;
272
+ currency?: CurrencyCode;
273
273
  /**
274
274
  * @public
275
275
  * <p>The unit.</p>
276
276
  */
277
- unit?: SavingsPlanRateUnit | string;
277
+ unit?: SavingsPlanRateUnit;
278
278
  /**
279
279
  * @public
280
280
  * <p>The product type.</p>
281
281
  */
282
- productType?: SavingsPlanProductType | string;
282
+ productType?: SavingsPlanProductType;
283
283
  /**
284
284
  * @public
285
285
  * <p>The service.</p>
286
286
  */
287
- serviceCode?: SavingsPlanRateServiceCode | string;
287
+ serviceCode?: SavingsPlanRateServiceCode;
288
288
  /**
289
289
  * @public
290
290
  * <p>The usage details of the line item in the billing report.</p>
@@ -350,7 +350,7 @@ export interface SavingsPlanFilter {
350
350
  * @public
351
351
  * <p>The filter name.</p>
352
352
  */
353
- name?: SavingsPlansFilterName | string;
353
+ name?: SavingsPlansFilterName;
354
354
  /**
355
355
  * @public
356
356
  * <p>The filter value.</p>
@@ -402,7 +402,7 @@ export interface DescribeSavingsPlansRequest {
402
402
  * @public
403
403
  * <p>The states.</p>
404
404
  */
405
- states?: (SavingsPlanState | string)[];
405
+ states?: SavingsPlanState[];
406
406
  /**
407
407
  * @public
408
408
  * <p>The filters.</p>
@@ -474,7 +474,7 @@ export interface SavingsPlan {
474
474
  * @public
475
475
  * <p>The state.</p>
476
476
  */
477
- state?: SavingsPlanState | string;
477
+ state?: SavingsPlanState;
478
478
  /**
479
479
  * @public
480
480
  * <p>The AWS Region.</p>
@@ -489,22 +489,22 @@ export interface SavingsPlan {
489
489
  * @public
490
490
  * <p>The plan type.</p>
491
491
  */
492
- savingsPlanType?: SavingsPlanType | string;
492
+ savingsPlanType?: SavingsPlanType;
493
493
  /**
494
494
  * @public
495
495
  * <p>The payment option.</p>
496
496
  */
497
- paymentOption?: SavingsPlanPaymentOption | string;
497
+ paymentOption?: SavingsPlanPaymentOption;
498
498
  /**
499
499
  * @public
500
500
  * <p>The product types.</p>
501
501
  */
502
- productTypes?: (SavingsPlanProductType | string)[];
502
+ productTypes?: SavingsPlanProductType[];
503
503
  /**
504
504
  * @public
505
505
  * <p>The currency.</p>
506
506
  */
507
- currency?: CurrencyCode | string;
507
+ currency?: CurrencyCode;
508
508
  /**
509
509
  * @public
510
510
  * <p>The hourly commitment, in USD.</p>
@@ -572,7 +572,7 @@ export interface SavingsPlanOfferingRateFilterElement {
572
572
  * @public
573
573
  * <p>The filter name.</p>
574
574
  */
575
- name?: SavingsPlanRateFilterAttribute | string;
575
+ name?: SavingsPlanRateFilterAttribute;
576
576
  /**
577
577
  * @public
578
578
  * <p>The filter values.</p>
@@ -592,22 +592,22 @@ export interface DescribeSavingsPlansOfferingRatesRequest {
592
592
  * @public
593
593
  * <p>The payment options.</p>
594
594
  */
595
- savingsPlanPaymentOptions?: (SavingsPlanPaymentOption | string)[];
595
+ savingsPlanPaymentOptions?: SavingsPlanPaymentOption[];
596
596
  /**
597
597
  * @public
598
598
  * <p>The plan types.</p>
599
599
  */
600
- savingsPlanTypes?: (SavingsPlanType | string)[];
600
+ savingsPlanTypes?: SavingsPlanType[];
601
601
  /**
602
602
  * @public
603
603
  * <p>The AWS products.</p>
604
604
  */
605
- products?: (SavingsPlanProductType | string)[];
605
+ products?: SavingsPlanProductType[];
606
606
  /**
607
607
  * @public
608
608
  * <p>The services.</p>
609
609
  */
610
- serviceCodes?: (SavingsPlanRateServiceCode | string)[];
610
+ serviceCodes?: SavingsPlanRateServiceCode[];
611
611
  /**
612
612
  * @public
613
613
  * <p>The usage details of the line item in the billing report.</p>
@@ -665,12 +665,12 @@ export interface ParentSavingsPlanOffering {
665
665
  * @public
666
666
  * <p>The payment option.</p>
667
667
  */
668
- paymentOption?: SavingsPlanPaymentOption | string;
668
+ paymentOption?: SavingsPlanPaymentOption;
669
669
  /**
670
670
  * @public
671
671
  * <p>The plan type.</p>
672
672
  */
673
- planType?: SavingsPlanType | string;
673
+ planType?: SavingsPlanType;
674
674
  /**
675
675
  * @public
676
676
  * <p>The duration, in seconds.</p>
@@ -680,7 +680,7 @@ export interface ParentSavingsPlanOffering {
680
680
  * @public
681
681
  * <p>The currency.</p>
682
682
  */
683
- currency?: CurrencyCode | string;
683
+ currency?: CurrencyCode;
684
684
  /**
685
685
  * @public
686
686
  * <p>The description.</p>
@@ -706,17 +706,17 @@ export interface SavingsPlanOfferingRate {
706
706
  * @public
707
707
  * <p>The unit.</p>
708
708
  */
709
- unit?: SavingsPlanRateUnit | string;
709
+ unit?: SavingsPlanRateUnit;
710
710
  /**
711
711
  * @public
712
712
  * <p>The product type.</p>
713
713
  */
714
- productType?: SavingsPlanProductType | string;
714
+ productType?: SavingsPlanProductType;
715
715
  /**
716
716
  * @public
717
717
  * <p>The service.</p>
718
718
  */
719
- serviceCode?: SavingsPlanRateServiceCode | string;
719
+ serviceCode?: SavingsPlanRateServiceCode;
720
720
  /**
721
721
  * @public
722
722
  * <p>The usage details of the line item in the billing report.</p>
@@ -770,7 +770,7 @@ export interface SavingsPlanOfferingFilterElement {
770
770
  * @public
771
771
  * <p>The filter name.</p>
772
772
  */
773
- name?: SavingsPlanOfferingFilterAttribute | string;
773
+ name?: SavingsPlanOfferingFilterAttribute;
774
774
  /**
775
775
  * @public
776
776
  * <p>The filter values.</p>
@@ -790,17 +790,17 @@ export interface DescribeSavingsPlansOfferingsRequest {
790
790
  * @public
791
791
  * <p>The payment options.</p>
792
792
  */
793
- paymentOptions?: (SavingsPlanPaymentOption | string)[];
793
+ paymentOptions?: SavingsPlanPaymentOption[];
794
794
  /**
795
795
  * @public
796
796
  * <p>The product type.</p>
797
797
  */
798
- productType?: SavingsPlanProductType | string;
798
+ productType?: SavingsPlanProductType;
799
799
  /**
800
800
  * @public
801
801
  * <p>The plan type.</p>
802
802
  */
803
- planTypes?: (SavingsPlanType | string)[];
803
+ planTypes?: SavingsPlanType[];
804
804
  /**
805
805
  * @public
806
806
  * <p>The durations, in seconds.</p>
@@ -810,7 +810,7 @@ export interface DescribeSavingsPlansOfferingsRequest {
810
810
  * @public
811
811
  * <p>The currencies.</p>
812
812
  */
813
- currencies?: (CurrencyCode | string)[];
813
+ currencies?: CurrencyCode[];
814
814
  /**
815
815
  * @public
816
816
  * <p>The descriptions.</p>
@@ -869,7 +869,7 @@ export interface SavingsPlanOfferingProperty {
869
869
  * @public
870
870
  * <p>The property name.</p>
871
871
  */
872
- name?: SavingsPlanOfferingPropertyKey | string;
872
+ name?: SavingsPlanOfferingPropertyKey;
873
873
  /**
874
874
  * @public
875
875
  * <p>The property value.</p>
@@ -890,12 +890,12 @@ export interface SavingsPlanOffering {
890
890
  * @public
891
891
  * <p>The product type.</p>
892
892
  */
893
- productTypes?: (SavingsPlanProductType | string)[];
893
+ productTypes?: SavingsPlanProductType[];
894
894
  /**
895
895
  * @public
896
896
  * <p>The plan type.</p>
897
897
  */
898
- planType?: SavingsPlanType | string;
898
+ planType?: SavingsPlanType;
899
899
  /**
900
900
  * @public
901
901
  * <p>The description.</p>
@@ -905,7 +905,7 @@ export interface SavingsPlanOffering {
905
905
  * @public
906
906
  * <p>The payment option.</p>
907
907
  */
908
- paymentOption?: SavingsPlanPaymentOption | string;
908
+ paymentOption?: SavingsPlanPaymentOption;
909
909
  /**
910
910
  * @public
911
911
  * <p>The duration, in seconds.</p>
@@ -915,7 +915,7 @@ export interface SavingsPlanOffering {
915
915
  * @public
916
916
  * <p>The currency.</p>
917
917
  */
918
- currency?: CurrencyCode | string;
918
+ currency?: CurrencyCode;
919
919
  /**
920
920
  * @public
921
921
  * <p>The service.</p>
@@ -56,7 +56,7 @@ export declare const SavingsPlanRateFilterName: {
56
56
  export type SavingsPlanRateFilterName =
57
57
  (typeof SavingsPlanRateFilterName)[keyof typeof SavingsPlanRateFilterName];
58
58
  export interface SavingsPlanRateFilter {
59
- name?: SavingsPlanRateFilterName | string;
59
+ name?: SavingsPlanRateFilterName;
60
60
  values?: string[];
61
61
  }
62
62
  export interface DescribeSavingsPlanRatesRequest {
@@ -88,7 +88,7 @@ export declare const SavingsPlanRatePropertyKey: {
88
88
  export type SavingsPlanRatePropertyKey =
89
89
  (typeof SavingsPlanRatePropertyKey)[keyof typeof SavingsPlanRatePropertyKey];
90
90
  export interface SavingsPlanRateProperty {
91
- name?: SavingsPlanRatePropertyKey | string;
91
+ name?: SavingsPlanRatePropertyKey;
92
92
  value?: string;
93
93
  }
94
94
  export declare const SavingsPlanRateServiceCode: {
@@ -109,10 +109,10 @@ export type SavingsPlanRateUnit =
109
109
  (typeof SavingsPlanRateUnit)[keyof typeof SavingsPlanRateUnit];
110
110
  export interface SavingsPlanRate {
111
111
  rate?: string;
112
- currency?: CurrencyCode | string;
113
- unit?: SavingsPlanRateUnit | string;
114
- productType?: SavingsPlanProductType | string;
115
- serviceCode?: SavingsPlanRateServiceCode | string;
112
+ currency?: CurrencyCode;
113
+ unit?: SavingsPlanRateUnit;
114
+ productType?: SavingsPlanProductType;
115
+ serviceCode?: SavingsPlanRateServiceCode;
116
116
  usageType?: string;
117
117
  operation?: string;
118
118
  properties?: SavingsPlanRateProperty[];
@@ -136,7 +136,7 @@ export declare const SavingsPlansFilterName: {
136
136
  export type SavingsPlansFilterName =
137
137
  (typeof SavingsPlansFilterName)[keyof typeof SavingsPlansFilterName];
138
138
  export interface SavingsPlanFilter {
139
- name?: SavingsPlansFilterName | string;
139
+ name?: SavingsPlansFilterName;
140
140
  values?: string[];
141
141
  }
142
142
  export declare const SavingsPlanState: {
@@ -154,7 +154,7 @@ export interface DescribeSavingsPlansRequest {
154
154
  savingsPlanIds?: string[];
155
155
  nextToken?: string;
156
156
  maxResults?: number;
157
- states?: (SavingsPlanState | string)[];
157
+ states?: SavingsPlanState[];
158
158
  filters?: SavingsPlanFilter[];
159
159
  }
160
160
  export declare const SavingsPlanPaymentOption: {
@@ -178,13 +178,13 @@ export interface SavingsPlan {
178
178
  description?: string;
179
179
  start?: string;
180
180
  end?: string;
181
- state?: SavingsPlanState | string;
181
+ state?: SavingsPlanState;
182
182
  region?: string;
183
183
  ec2InstanceFamily?: string;
184
- savingsPlanType?: SavingsPlanType | string;
185
- paymentOption?: SavingsPlanPaymentOption | string;
186
- productTypes?: (SavingsPlanProductType | string)[];
187
- currency?: CurrencyCode | string;
184
+ savingsPlanType?: SavingsPlanType;
185
+ paymentOption?: SavingsPlanPaymentOption;
186
+ productTypes?: SavingsPlanProductType[];
187
+ currency?: CurrencyCode;
188
188
  commitment?: string;
189
189
  upfrontPaymentAmount?: string;
190
190
  recurringPaymentAmount?: string;
@@ -206,15 +206,15 @@ export declare const SavingsPlanRateFilterAttribute: {
206
206
  export type SavingsPlanRateFilterAttribute =
207
207
  (typeof SavingsPlanRateFilterAttribute)[keyof typeof SavingsPlanRateFilterAttribute];
208
208
  export interface SavingsPlanOfferingRateFilterElement {
209
- name?: SavingsPlanRateFilterAttribute | string;
209
+ name?: SavingsPlanRateFilterAttribute;
210
210
  values?: string[];
211
211
  }
212
212
  export interface DescribeSavingsPlansOfferingRatesRequest {
213
213
  savingsPlanOfferingIds?: string[];
214
- savingsPlanPaymentOptions?: (SavingsPlanPaymentOption | string)[];
215
- savingsPlanTypes?: (SavingsPlanType | string)[];
216
- products?: (SavingsPlanProductType | string)[];
217
- serviceCodes?: (SavingsPlanRateServiceCode | string)[];
214
+ savingsPlanPaymentOptions?: SavingsPlanPaymentOption[];
215
+ savingsPlanTypes?: SavingsPlanType[];
216
+ products?: SavingsPlanProductType[];
217
+ serviceCodes?: SavingsPlanRateServiceCode[];
218
218
  usageTypes?: string[];
219
219
  operations?: string[];
220
220
  filters?: SavingsPlanOfferingRateFilterElement[];
@@ -227,18 +227,18 @@ export interface SavingsPlanOfferingRateProperty {
227
227
  }
228
228
  export interface ParentSavingsPlanOffering {
229
229
  offeringId?: string;
230
- paymentOption?: SavingsPlanPaymentOption | string;
231
- planType?: SavingsPlanType | string;
230
+ paymentOption?: SavingsPlanPaymentOption;
231
+ planType?: SavingsPlanType;
232
232
  durationSeconds?: number;
233
- currency?: CurrencyCode | string;
233
+ currency?: CurrencyCode;
234
234
  planDescription?: string;
235
235
  }
236
236
  export interface SavingsPlanOfferingRate {
237
237
  savingsPlanOffering?: ParentSavingsPlanOffering;
238
238
  rate?: string;
239
- unit?: SavingsPlanRateUnit | string;
240
- productType?: SavingsPlanProductType | string;
241
- serviceCode?: SavingsPlanRateServiceCode | string;
239
+ unit?: SavingsPlanRateUnit;
240
+ productType?: SavingsPlanProductType;
241
+ serviceCode?: SavingsPlanRateServiceCode;
242
242
  usageType?: string;
243
243
  operation?: string;
244
244
  properties?: SavingsPlanOfferingRateProperty[];
@@ -254,16 +254,16 @@ export declare const SavingsPlanOfferingFilterAttribute: {
254
254
  export type SavingsPlanOfferingFilterAttribute =
255
255
  (typeof SavingsPlanOfferingFilterAttribute)[keyof typeof SavingsPlanOfferingFilterAttribute];
256
256
  export interface SavingsPlanOfferingFilterElement {
257
- name?: SavingsPlanOfferingFilterAttribute | string;
257
+ name?: SavingsPlanOfferingFilterAttribute;
258
258
  values?: string[];
259
259
  }
260
260
  export interface DescribeSavingsPlansOfferingsRequest {
261
261
  offeringIds?: string[];
262
- paymentOptions?: (SavingsPlanPaymentOption | string)[];
263
- productType?: SavingsPlanProductType | string;
264
- planTypes?: (SavingsPlanType | string)[];
262
+ paymentOptions?: SavingsPlanPaymentOption[];
263
+ productType?: SavingsPlanProductType;
264
+ planTypes?: SavingsPlanType[];
265
265
  durations?: number[];
266
- currencies?: (CurrencyCode | string)[];
266
+ currencies?: CurrencyCode[];
267
267
  descriptions?: string[];
268
268
  serviceCodes?: string[];
269
269
  usageTypes?: string[];
@@ -279,17 +279,17 @@ export declare const SavingsPlanOfferingPropertyKey: {
279
279
  export type SavingsPlanOfferingPropertyKey =
280
280
  (typeof SavingsPlanOfferingPropertyKey)[keyof typeof SavingsPlanOfferingPropertyKey];
281
281
  export interface SavingsPlanOfferingProperty {
282
- name?: SavingsPlanOfferingPropertyKey | string;
282
+ name?: SavingsPlanOfferingPropertyKey;
283
283
  value?: string;
284
284
  }
285
285
  export interface SavingsPlanOffering {
286
286
  offeringId?: string;
287
- productTypes?: (SavingsPlanProductType | string)[];
288
- planType?: SavingsPlanType | string;
287
+ productTypes?: SavingsPlanProductType[];
288
+ planType?: SavingsPlanType;
289
289
  description?: string;
290
- paymentOption?: SavingsPlanPaymentOption | string;
290
+ paymentOption?: SavingsPlanPaymentOption;
291
291
  durationSeconds?: number;
292
- currency?: CurrencyCode | string;
292
+ currency?: CurrencyCode;
293
293
  serviceCode?: string;
294
294
  usageType?: string;
295
295
  operation?: string;
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.428.0",
4
+ "version": "3.429.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,9 +21,9 @@
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.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.429.0",
25
+ "@aws-sdk/credential-provider-node": "3.429.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
@@ -38,7 +38,7 @@
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
41
+ "@smithy/middleware-endpoint": "^2.1.1",
42
42
  "@smithy/middleware-retry": "^2.0.16",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",