@aws-sdk/client-service-quotas 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.
@@ -253,7 +253,7 @@ export interface ErrorReason {
253
253
  * </li>
254
254
  * </ul>
255
255
  */
256
- ErrorCode?: ErrorCode | string;
256
+ ErrorCode?: ErrorCode;
257
257
  /**
258
258
  * @public
259
259
  * <p>The error message.</p>
@@ -287,7 +287,7 @@ export interface GetAssociationForServiceQuotaTemplateResponse {
287
287
  * requests in the template are automatically applied to new Amazon Web Services accounts in your
288
288
  * organization.</p>
289
289
  */
290
- ServiceQuotaTemplateAssociationStatus?: ServiceQuotaTemplateAssociationStatus | string;
290
+ ServiceQuotaTemplateAssociationStatus?: ServiceQuotaTemplateAssociationStatus;
291
291
  }
292
292
  /**
293
293
  * @public
@@ -338,7 +338,7 @@ export interface QuotaPeriod {
338
338
  * @public
339
339
  * <p>The time unit.</p>
340
340
  */
341
- PeriodUnit?: PeriodUnit | string;
341
+ PeriodUnit?: PeriodUnit;
342
342
  }
343
343
  /**
344
344
  * @public
@@ -361,7 +361,7 @@ export interface QuotaContextInfo {
361
361
  * @public
362
362
  * <p>Specifies whether the quota applies to an Amazon Web Services account, or to a resource.</p>
363
363
  */
364
- ContextScope?: QuotaContextScope | string;
364
+ ContextScope?: QuotaContextScope;
365
365
  /**
366
366
  * @public
367
367
  * <p>When the <code>ContextScope</code> is <code>RESOURCE</code>, then this specifies the resource type of the specified resource.</p>
@@ -473,7 +473,7 @@ export interface ServiceQuota {
473
473
  * @public
474
474
  * <p>Specifies at which level of granularity that the quota value is applied.</p>
475
475
  */
476
- QuotaAppliedAtLevel?: AppliedLevelEnum | string;
476
+ QuotaAppliedAtLevel?: AppliedLevelEnum;
477
477
  /**
478
478
  * @public
479
479
  * <p>The context for this service quota.</p>
@@ -564,7 +564,7 @@ export interface RequestedServiceQuotaChange {
564
564
  * @public
565
565
  * <p>The state of the quota increase request.</p>
566
566
  */
567
- Status?: RequestStatus | string;
567
+ Status?: RequestStatus;
568
568
  /**
569
569
  * @public
570
570
  * <p>The date and time when the quota increase request was received and the case ID was
@@ -600,7 +600,7 @@ export interface RequestedServiceQuotaChange {
600
600
  * @public
601
601
  * <p>Specifies at which level within the Amazon Web Services account the quota request applies to.</p>
602
602
  */
603
- QuotaRequestedAtLevel?: AppliedLevelEnum | string;
603
+ QuotaRequestedAtLevel?: AppliedLevelEnum;
604
604
  /**
605
605
  * @public
606
606
  * <p>The context for this service quota.</p>
@@ -847,7 +847,7 @@ export interface ListRequestedServiceQuotaChangeHistoryRequest {
847
847
  * <p>Specifies that you want to filter the results to only the requests with the matching
848
848
  * status.</p>
849
849
  */
850
- Status?: RequestStatus | string;
850
+ Status?: RequestStatus;
851
851
  /**
852
852
  * @public
853
853
  * <p>Specifies a value for receiving additional results after you
@@ -876,7 +876,7 @@ export interface ListRequestedServiceQuotaChangeHistoryRequest {
876
876
  * @public
877
877
  * <p>Specifies at which level within the Amazon Web Services account the quota request applies to.</p>
878
878
  */
879
- QuotaRequestedAtLevel?: AppliedLevelEnum | string;
879
+ QuotaRequestedAtLevel?: AppliedLevelEnum;
880
880
  }
881
881
  /**
882
882
  * @public
@@ -918,7 +918,7 @@ export interface ListRequestedServiceQuotaChangeHistoryByQuotaRequest {
918
918
  * <p>Specifies that you want to filter the results to only the requests with the matching
919
919
  * status.</p>
920
920
  */
921
- Status?: RequestStatus | string;
921
+ Status?: RequestStatus;
922
922
  /**
923
923
  * @public
924
924
  * <p>Specifies a value for receiving additional results after you
@@ -947,7 +947,7 @@ export interface ListRequestedServiceQuotaChangeHistoryByQuotaRequest {
947
947
  * @public
948
948
  * <p>Specifies at which level within the Amazon Web Services account the quota request applies to.</p>
949
949
  */
950
- QuotaRequestedAtLevel?: AppliedLevelEnum | string;
950
+ QuotaRequestedAtLevel?: AppliedLevelEnum;
951
951
  }
952
952
  /**
953
953
  * @public
@@ -1070,7 +1070,7 @@ export interface ListServiceQuotasRequest {
1070
1070
  * @public
1071
1071
  * <p>Specifies at which level of granularity that the quota value is applied.</p>
1072
1072
  */
1073
- QuotaAppliedAtLevel?: AppliedLevelEnum | string;
1073
+ QuotaAppliedAtLevel?: AppliedLevelEnum;
1074
1074
  }
1075
1075
  /**
1076
1076
  * @public
@@ -129,7 +129,7 @@ export declare const ErrorCode: {
129
129
  };
130
130
  export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
131
131
  export interface ErrorReason {
132
- ErrorCode?: ErrorCode | string;
132
+ ErrorCode?: ErrorCode;
133
133
  ErrorMessage?: string;
134
134
  }
135
135
  export interface GetAssociationForServiceQuotaTemplateRequest {}
@@ -140,9 +140,7 @@ export declare const ServiceQuotaTemplateAssociationStatus: {
140
140
  export type ServiceQuotaTemplateAssociationStatus =
141
141
  (typeof ServiceQuotaTemplateAssociationStatus)[keyof typeof ServiceQuotaTemplateAssociationStatus];
142
142
  export interface GetAssociationForServiceQuotaTemplateResponse {
143
- ServiceQuotaTemplateAssociationStatus?:
144
- | ServiceQuotaTemplateAssociationStatus
145
- | string;
143
+ ServiceQuotaTemplateAssociationStatus?: ServiceQuotaTemplateAssociationStatus;
146
144
  }
147
145
  export interface GetAWSDefaultServiceQuotaRequest {
148
146
  ServiceCode: string | undefined;
@@ -160,7 +158,7 @@ export declare const PeriodUnit: {
160
158
  export type PeriodUnit = (typeof PeriodUnit)[keyof typeof PeriodUnit];
161
159
  export interface QuotaPeriod {
162
160
  PeriodValue?: number;
163
- PeriodUnit?: PeriodUnit | string;
161
+ PeriodUnit?: PeriodUnit;
164
162
  }
165
163
  export declare const QuotaContextScope: {
166
164
  readonly ACCOUNT: "ACCOUNT";
@@ -169,7 +167,7 @@ export declare const QuotaContextScope: {
169
167
  export type QuotaContextScope =
170
168
  (typeof QuotaContextScope)[keyof typeof QuotaContextScope];
171
169
  export interface QuotaContextInfo {
172
- ContextScope?: QuotaContextScope | string;
170
+ ContextScope?: QuotaContextScope;
173
171
  ContextScopeType?: string;
174
172
  ContextId?: string;
175
173
  }
@@ -192,7 +190,7 @@ export interface ServiceQuota {
192
190
  UsageMetric?: MetricInfo;
193
191
  Period?: QuotaPeriod;
194
192
  ErrorReason?: ErrorReason;
195
- QuotaAppliedAtLevel?: AppliedLevelEnum | string;
193
+ QuotaAppliedAtLevel?: AppliedLevelEnum;
196
194
  QuotaContext?: QuotaContextInfo;
197
195
  }
198
196
  export interface GetAWSDefaultServiceQuotaResponse {
@@ -219,14 +217,14 @@ export interface RequestedServiceQuotaChange {
219
217
  QuotaCode?: string;
220
218
  QuotaName?: string;
221
219
  DesiredValue?: number;
222
- Status?: RequestStatus | string;
220
+ Status?: RequestStatus;
223
221
  Created?: Date;
224
222
  LastUpdated?: Date;
225
223
  Requester?: string;
226
224
  QuotaArn?: string;
227
225
  GlobalQuota?: boolean;
228
226
  Unit?: string;
229
- QuotaRequestedAtLevel?: AppliedLevelEnum | string;
227
+ QuotaRequestedAtLevel?: AppliedLevelEnum;
230
228
  QuotaContext?: QuotaContextInfo;
231
229
  }
232
230
  export interface GetRequestedServiceQuotaChangeResponse {
@@ -292,10 +290,10 @@ export interface ListAWSDefaultServiceQuotasResponse {
292
290
  }
293
291
  export interface ListRequestedServiceQuotaChangeHistoryRequest {
294
292
  ServiceCode?: string;
295
- Status?: RequestStatus | string;
293
+ Status?: RequestStatus;
296
294
  NextToken?: string;
297
295
  MaxResults?: number;
298
- QuotaRequestedAtLevel?: AppliedLevelEnum | string;
296
+ QuotaRequestedAtLevel?: AppliedLevelEnum;
299
297
  }
300
298
  export interface ListRequestedServiceQuotaChangeHistoryResponse {
301
299
  NextToken?: string;
@@ -304,10 +302,10 @@ export interface ListRequestedServiceQuotaChangeHistoryResponse {
304
302
  export interface ListRequestedServiceQuotaChangeHistoryByQuotaRequest {
305
303
  ServiceCode: string | undefined;
306
304
  QuotaCode: string | undefined;
307
- Status?: RequestStatus | string;
305
+ Status?: RequestStatus;
308
306
  NextToken?: string;
309
307
  MaxResults?: number;
310
- QuotaRequestedAtLevel?: AppliedLevelEnum | string;
308
+ QuotaRequestedAtLevel?: AppliedLevelEnum;
311
309
  }
312
310
  export interface ListRequestedServiceQuotaChangeHistoryByQuotaResponse {
313
311
  NextToken?: string;
@@ -328,7 +326,7 @@ export interface ListServiceQuotasRequest {
328
326
  NextToken?: string;
329
327
  MaxResults?: number;
330
328
  QuotaCode?: string;
331
- QuotaAppliedAtLevel?: AppliedLevelEnum | string;
329
+ QuotaAppliedAtLevel?: AppliedLevelEnum;
332
330
  }
333
331
  export interface ListServiceQuotasResponse {
334
332
  NextToken?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-service-quotas",
3
3
  "description": "AWS SDK for JavaScript Service Quotas 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",