@aws-sdk/client-service-quotas 3.398.0 → 3.405.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.
Files changed (32) hide show
  1. package/README.md +3 -3
  2. package/dist-cjs/endpoint/ruleset.js +2 -2
  3. package/dist-cjs/models/models_0.js +12 -1
  4. package/dist-cjs/protocols/Aws_json1_1.js +5 -0
  5. package/dist-es/endpoint/ruleset.js +2 -2
  6. package/dist-es/models/models_0.js +11 -0
  7. package/dist-es/protocols/Aws_json1_1.js +5 -0
  8. package/dist-types/ServiceQuotas.d.ts +3 -3
  9. package/dist-types/ServiceQuotasClient.d.ts +3 -3
  10. package/dist-types/commands/AssociateServiceQuotaTemplateCommand.d.ts +12 -11
  11. package/dist-types/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.d.ts +7 -7
  12. package/dist-types/commands/DisassociateServiceQuotaTemplateCommand.d.ts +8 -8
  13. package/dist-types/commands/GetAWSDefaultServiceQuotaCommand.d.ts +12 -6
  14. package/dist-types/commands/GetAssociationForServiceQuotaTemplateCommand.d.ts +7 -7
  15. package/dist-types/commands/GetRequestedServiceQuotaChangeCommand.d.ts +9 -3
  16. package/dist-types/commands/GetServiceQuotaCommand.d.ts +13 -6
  17. package/dist-types/commands/GetServiceQuotaIncreaseRequestFromTemplateCommand.d.ts +7 -7
  18. package/dist-types/commands/ListAWSDefaultServiceQuotasCommand.d.ts +12 -6
  19. package/dist-types/commands/ListRequestedServiceQuotaChangeHistoryByQuotaCommand.d.ts +11 -4
  20. package/dist-types/commands/ListRequestedServiceQuotaChangeHistoryCommand.d.ts +12 -5
  21. package/dist-types/commands/ListServiceQuotaIncreaseRequestsInTemplateCommand.d.ts +6 -6
  22. package/dist-types/commands/ListServiceQuotasCommand.d.ts +15 -7
  23. package/dist-types/commands/ListServicesCommand.d.ts +3 -3
  24. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -2
  25. package/dist-types/commands/PutServiceQuotaIncreaseRequestIntoTemplateCommand.d.ts +8 -8
  26. package/dist-types/commands/RequestServiceQuotaIncreaseCommand.d.ts +12 -5
  27. package/dist-types/commands/TagResourceCommand.d.ts +6 -6
  28. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  29. package/dist-types/index.d.ts +3 -3
  30. package/dist-types/models/models_0.d.ts +342 -109
  31. package/dist-types/ts3.4/models/models_0.d.ts +30 -0
  32. package/package.json +7 -7
@@ -8,6 +8,13 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
+ export declare const AppliedLevelEnum: {
12
+ readonly ACCOUNT: "ACCOUNT";
13
+ readonly ALL: "ALL";
14
+ readonly RESOURCE: "RESOURCE";
15
+ };
16
+ export type AppliedLevelEnum =
17
+ (typeof AppliedLevelEnum)[keyof typeof AppliedLevelEnum];
11
18
  export interface AssociateServiceQuotaTemplateRequest {}
12
19
  export interface AssociateServiceQuotaTemplateResponse {}
13
20
  export declare class AWSServiceAccessNotEnabledException extends __BaseException {
@@ -155,6 +162,17 @@ export interface QuotaPeriod {
155
162
  PeriodValue?: number;
156
163
  PeriodUnit?: PeriodUnit | string;
157
164
  }
165
+ export declare const QuotaContextScope: {
166
+ readonly ACCOUNT: "ACCOUNT";
167
+ readonly RESOURCE: "RESOURCE";
168
+ };
169
+ export type QuotaContextScope =
170
+ (typeof QuotaContextScope)[keyof typeof QuotaContextScope];
171
+ export interface QuotaContextInfo {
172
+ ContextScope?: QuotaContextScope | string;
173
+ ContextScopeType?: string;
174
+ ContextId?: string;
175
+ }
158
176
  export interface MetricInfo {
159
177
  MetricNamespace?: string;
160
178
  MetricName?: string;
@@ -174,6 +192,8 @@ export interface ServiceQuota {
174
192
  UsageMetric?: MetricInfo;
175
193
  Period?: QuotaPeriod;
176
194
  ErrorReason?: ErrorReason;
195
+ QuotaAppliedAtLevel?: AppliedLevelEnum | string;
196
+ QuotaContext?: QuotaContextInfo;
177
197
  }
178
198
  export interface GetAWSDefaultServiceQuotaResponse {
179
199
  Quota?: ServiceQuota;
@@ -186,6 +206,8 @@ export declare const RequestStatus: {
186
206
  readonly CASE_CLOSED: "CASE_CLOSED";
187
207
  readonly CASE_OPENED: "CASE_OPENED";
188
208
  readonly DENIED: "DENIED";
209
+ readonly INVALID_REQUEST: "INVALID_REQUEST";
210
+ readonly NOT_APPROVED: "NOT_APPROVED";
189
211
  readonly PENDING: "PENDING";
190
212
  };
191
213
  export type RequestStatus = (typeof RequestStatus)[keyof typeof RequestStatus];
@@ -204,6 +226,8 @@ export interface RequestedServiceQuotaChange {
204
226
  QuotaArn?: string;
205
227
  GlobalQuota?: boolean;
206
228
  Unit?: string;
229
+ QuotaRequestedAtLevel?: AppliedLevelEnum | string;
230
+ QuotaContext?: QuotaContextInfo;
207
231
  }
208
232
  export interface GetRequestedServiceQuotaChangeResponse {
209
233
  RequestedQuota?: RequestedServiceQuotaChange;
@@ -211,6 +235,7 @@ export interface GetRequestedServiceQuotaChangeResponse {
211
235
  export interface GetServiceQuotaRequest {
212
236
  ServiceCode: string | undefined;
213
237
  QuotaCode: string | undefined;
238
+ ContextId?: string;
214
239
  }
215
240
  export interface GetServiceQuotaResponse {
216
241
  Quota?: ServiceQuota;
@@ -270,6 +295,7 @@ export interface ListRequestedServiceQuotaChangeHistoryRequest {
270
295
  Status?: RequestStatus | string;
271
296
  NextToken?: string;
272
297
  MaxResults?: number;
298
+ QuotaRequestedAtLevel?: AppliedLevelEnum | string;
273
299
  }
274
300
  export interface ListRequestedServiceQuotaChangeHistoryResponse {
275
301
  NextToken?: string;
@@ -281,6 +307,7 @@ export interface ListRequestedServiceQuotaChangeHistoryByQuotaRequest {
281
307
  Status?: RequestStatus | string;
282
308
  NextToken?: string;
283
309
  MaxResults?: number;
310
+ QuotaRequestedAtLevel?: AppliedLevelEnum | string;
284
311
  }
285
312
  export interface ListRequestedServiceQuotaChangeHistoryByQuotaResponse {
286
313
  NextToken?: string;
@@ -300,6 +327,8 @@ export interface ListServiceQuotasRequest {
300
327
  ServiceCode: string | undefined;
301
328
  NextToken?: string;
302
329
  MaxResults?: number;
330
+ QuotaCode?: string;
331
+ QuotaAppliedAtLevel?: AppliedLevelEnum | string;
303
332
  }
304
333
  export interface ListServiceQuotasResponse {
305
334
  NextToken?: string;
@@ -344,6 +373,7 @@ export interface RequestServiceQuotaIncreaseRequest {
344
373
  ServiceCode: string | undefined;
345
374
  QuotaCode: string | undefined;
346
375
  DesiredValue: number | undefined;
376
+ ContextId?: string;
347
377
  }
348
378
  export interface RequestServiceQuotaIncreaseResponse {
349
379
  RequestedQuota?: RequestedServiceQuotaChange;
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.398.0",
4
+ "version": "3.405.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,8 +21,8 @@
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.398.0",
25
- "@aws-sdk/credential-provider-node": "3.398.0",
24
+ "@aws-sdk/client-sts": "3.405.0",
25
+ "@aws-sdk/credential-provider-node": "3.405.0",
26
26
  "@aws-sdk/middleware-host-header": "3.398.0",
27
27
  "@aws-sdk/middleware-logger": "3.398.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.398.0",
@@ -31,7 +31,7 @@
31
31
  "@aws-sdk/types": "3.398.0",
32
32
  "@aws-sdk/util-endpoints": "3.398.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.398.0",
34
- "@aws-sdk/util-user-agent-node": "3.398.0",
34
+ "@aws-sdk/util-user-agent-node": "3.405.0",
35
35
  "@smithy/config-resolver": "^2.0.5",
36
36
  "@smithy/fetch-http-handler": "^2.0.5",
37
37
  "@smithy/hash-node": "^2.0.5",
@@ -41,7 +41,7 @@
41
41
  "@smithy/middleware-retry": "^2.0.5",
42
42
  "@smithy/middleware-serde": "^2.0.5",
43
43
  "@smithy/middleware-stack": "^2.0.0",
44
- "@smithy/node-config-provider": "^2.0.5",
44
+ "@smithy/node-config-provider": "^2.0.6",
45
45
  "@smithy/node-http-handler": "^2.0.5",
46
46
  "@smithy/protocol-http": "^2.0.5",
47
47
  "@smithy/smithy-client": "^2.0.5",
@@ -50,8 +50,8 @@
50
50
  "@smithy/util-base64": "^2.0.0",
51
51
  "@smithy/util-body-length-browser": "^2.0.0",
52
52
  "@smithy/util-body-length-node": "^2.1.0",
53
- "@smithy/util-defaults-mode-browser": "^2.0.5",
54
- "@smithy/util-defaults-mode-node": "^2.0.5",
53
+ "@smithy/util-defaults-mode-browser": "^2.0.6",
54
+ "@smithy/util-defaults-mode-node": "^2.0.6",
55
55
  "@smithy/util-retry": "^2.0.0",
56
56
  "@smithy/util-utf8": "^2.0.0",
57
57
  "tslib": "^2.5.0"