@aws-sdk/client-service-quotas 3.808.0 → 3.812.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.
package/README.md CHANGED
@@ -214,6 +214,14 @@ AssociateServiceQuotaTemplate
214
214
 
215
215
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/service-quotas/command/AssociateServiceQuotaTemplateCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-service-quotas/Interface/AssociateServiceQuotaTemplateCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-service-quotas/Interface/AssociateServiceQuotaTemplateCommandOutput/)
216
216
 
217
+ </details>
218
+ <details>
219
+ <summary>
220
+ CreateSupportCase
221
+ </summary>
222
+
223
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/service-quotas/command/CreateSupportCaseCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-service-quotas/Interface/CreateSupportCaseCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-service-quotas/Interface/CreateSupportCaseCommandOutput/)
224
+
217
225
  </details>
218
226
  <details>
219
227
  <summary>
package/dist-cjs/index.js CHANGED
@@ -25,6 +25,7 @@ __export(index_exports, {
25
25
  AccessDeniedException: () => AccessDeniedException,
26
26
  AppliedLevelEnum: () => AppliedLevelEnum,
27
27
  AssociateServiceQuotaTemplateCommand: () => AssociateServiceQuotaTemplateCommand,
28
+ CreateSupportCaseCommand: () => CreateSupportCaseCommand,
28
29
  DeleteServiceQuotaIncreaseRequestFromTemplateCommand: () => DeleteServiceQuotaIncreaseRequestFromTemplateCommand,
29
30
  DependencyAccessDeniedException: () => DependencyAccessDeniedException,
30
31
  DisassociateServiceQuotaTemplateCommand: () => DisassociateServiceQuotaTemplateCommand,
@@ -431,6 +432,26 @@ var IllegalArgumentException = class _IllegalArgumentException extends ServiceQu
431
432
  this.Message = opts.Message;
432
433
  }
433
434
  };
435
+ var InvalidResourceStateException = class _InvalidResourceStateException extends ServiceQuotasServiceException {
436
+ static {
437
+ __name(this, "InvalidResourceStateException");
438
+ }
439
+ name = "InvalidResourceStateException";
440
+ $fault = "client";
441
+ Message;
442
+ /**
443
+ * @internal
444
+ */
445
+ constructor(opts) {
446
+ super({
447
+ name: "InvalidResourceStateException",
448
+ $fault: "client",
449
+ ...opts
450
+ });
451
+ Object.setPrototypeOf(this, _InvalidResourceStateException.prototype);
452
+ this.Message = opts.Message;
453
+ }
454
+ };
434
455
  var NoSuchResourceException = class _NoSuchResourceException extends ServiceQuotasServiceException {
435
456
  static {
436
457
  __name(this, "NoSuchResourceException");
@@ -451,6 +472,26 @@ var NoSuchResourceException = class _NoSuchResourceException extends ServiceQuot
451
472
  this.Message = opts.Message;
452
473
  }
453
474
  };
475
+ var ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends ServiceQuotasServiceException {
476
+ static {
477
+ __name(this, "ResourceAlreadyExistsException");
478
+ }
479
+ name = "ResourceAlreadyExistsException";
480
+ $fault = "client";
481
+ Message;
482
+ /**
483
+ * @internal
484
+ */
485
+ constructor(opts) {
486
+ super({
487
+ name: "ResourceAlreadyExistsException",
488
+ $fault: "client",
489
+ ...opts
490
+ });
491
+ Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype);
492
+ this.Message = opts.Message;
493
+ }
494
+ };
454
495
  var ServiceQuotaTemplateNotInUseException = class _ServiceQuotaTemplateNotInUseException extends ServiceQuotasServiceException {
455
496
  static {
456
497
  __name(this, "ServiceQuotaTemplateNotInUseException");
@@ -523,26 +564,6 @@ var InvalidPaginationTokenException = class _InvalidPaginationTokenException ext
523
564
  this.Message = opts.Message;
524
565
  }
525
566
  };
526
- var InvalidResourceStateException = class _InvalidResourceStateException extends ServiceQuotasServiceException {
527
- static {
528
- __name(this, "InvalidResourceStateException");
529
- }
530
- name = "InvalidResourceStateException";
531
- $fault = "client";
532
- Message;
533
- /**
534
- * @internal
535
- */
536
- constructor(opts) {
537
- super({
538
- name: "InvalidResourceStateException",
539
- $fault: "client",
540
- ...opts
541
- });
542
- Object.setPrototypeOf(this, _InvalidResourceStateException.prototype);
543
- this.Message = opts.Message;
544
- }
545
- };
546
567
  var QuotaExceededException = class _QuotaExceededException extends ServiceQuotasServiceException {
547
568
  static {
548
569
  __name(this, "QuotaExceededException");
@@ -563,26 +584,6 @@ var QuotaExceededException = class _QuotaExceededException extends ServiceQuotas
563
584
  this.Message = opts.Message;
564
585
  }
565
586
  };
566
- var ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends ServiceQuotasServiceException {
567
- static {
568
- __name(this, "ResourceAlreadyExistsException");
569
- }
570
- name = "ResourceAlreadyExistsException";
571
- $fault = "client";
572
- Message;
573
- /**
574
- * @internal
575
- */
576
- constructor(opts) {
577
- super({
578
- name: "ResourceAlreadyExistsException",
579
- $fault: "client",
580
- ...opts
581
- });
582
- Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype);
583
- this.Message = opts.Message;
584
- }
585
- };
586
587
  var TagPolicyViolationException = class _TagPolicyViolationException extends ServiceQuotasServiceException {
587
588
  static {
588
589
  __name(this, "TagPolicyViolationException");
@@ -631,6 +632,12 @@ var se_AssociateServiceQuotaTemplateCommand = /* @__PURE__ */ __name(async (inpu
631
632
  body = JSON.stringify((0, import_smithy_client._json)(input));
632
633
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
633
634
  }, "se_AssociateServiceQuotaTemplateCommand");
635
+ var se_CreateSupportCaseCommand = /* @__PURE__ */ __name(async (input, context) => {
636
+ const headers = sharedHeaders("CreateSupportCase");
637
+ let body;
638
+ body = JSON.stringify((0, import_smithy_client._json)(input));
639
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
640
+ }, "se_CreateSupportCaseCommand");
634
641
  var se_DeleteServiceQuotaIncreaseRequestFromTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
635
642
  const headers = sharedHeaders("DeleteServiceQuotaIncreaseRequestFromTemplate");
636
643
  let body;
@@ -752,6 +759,19 @@ var de_AssociateServiceQuotaTemplateCommand = /* @__PURE__ */ __name(async (outp
752
759
  };
753
760
  return response;
754
761
  }, "de_AssociateServiceQuotaTemplateCommand");
762
+ var de_CreateSupportCaseCommand = /* @__PURE__ */ __name(async (output, context) => {
763
+ if (output.statusCode >= 300) {
764
+ return de_CommandError(output, context);
765
+ }
766
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
767
+ let contents = {};
768
+ contents = (0, import_smithy_client._json)(data);
769
+ const response = {
770
+ $metadata: deserializeMetadata(output),
771
+ ...contents
772
+ };
773
+ return response;
774
+ }, "de_CreateSupportCaseCommand");
755
775
  var de_DeleteServiceQuotaIncreaseRequestFromTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
756
776
  if (output.statusCode >= 300) {
757
777
  return de_CommandError(output, context);
@@ -1020,9 +1040,15 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1020
1040
  case "IllegalArgumentException":
1021
1041
  case "com.amazonaws.servicequotas#IllegalArgumentException":
1022
1042
  throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
1043
+ case "InvalidResourceStateException":
1044
+ case "com.amazonaws.servicequotas#InvalidResourceStateException":
1045
+ throw await de_InvalidResourceStateExceptionRes(parsedOutput, context);
1023
1046
  case "NoSuchResourceException":
1024
1047
  case "com.amazonaws.servicequotas#NoSuchResourceException":
1025
1048
  throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
1049
+ case "ResourceAlreadyExistsException":
1050
+ case "com.amazonaws.servicequotas#ResourceAlreadyExistsException":
1051
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1026
1052
  case "ServiceQuotaTemplateNotInUseException":
1027
1053
  case "com.amazonaws.servicequotas#ServiceQuotaTemplateNotInUseException":
1028
1054
  throw await de_ServiceQuotaTemplateNotInUseExceptionRes(parsedOutput, context);
@@ -1032,12 +1058,6 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1032
1058
  case "QuotaExceededException":
1033
1059
  case "com.amazonaws.servicequotas#QuotaExceededException":
1034
1060
  throw await de_QuotaExceededExceptionRes(parsedOutput, context);
1035
- case "InvalidResourceStateException":
1036
- case "com.amazonaws.servicequotas#InvalidResourceStateException":
1037
- throw await de_InvalidResourceStateExceptionRes(parsedOutput, context);
1038
- case "ResourceAlreadyExistsException":
1039
- case "com.amazonaws.servicequotas#ResourceAlreadyExistsException":
1040
- throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1041
1061
  case "TagPolicyViolationException":
1042
1062
  case "com.amazonaws.servicequotas#TagPolicyViolationException":
1043
1063
  throw await de_TagPolicyViolationExceptionRes(parsedOutput, context);
@@ -1397,6 +1417,21 @@ var AssociateServiceQuotaTemplateCommand = class extends import_smithy_client.Co
1397
1417
  }
1398
1418
  };
1399
1419
 
1420
+ // src/commands/CreateSupportCaseCommand.ts
1421
+
1422
+
1423
+
1424
+ var CreateSupportCaseCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1425
+ return [
1426
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1427
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1428
+ ];
1429
+ }).s("ServiceQuotasV20190624", "CreateSupportCase", {}).n("ServiceQuotasClient", "CreateSupportCaseCommand").f(void 0, void 0).ser(se_CreateSupportCaseCommand).de(de_CreateSupportCaseCommand).build() {
1430
+ static {
1431
+ __name(this, "CreateSupportCaseCommand");
1432
+ }
1433
+ };
1434
+
1400
1435
  // src/commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand.ts
1401
1436
 
1402
1437
 
@@ -1670,6 +1705,7 @@ var UntagResourceCommand = class extends import_smithy_client.Command.classBuild
1670
1705
  // src/ServiceQuotas.ts
1671
1706
  var commands = {
1672
1707
  AssociateServiceQuotaTemplateCommand,
1708
+ CreateSupportCaseCommand,
1673
1709
  DeleteServiceQuotaIncreaseRequestFromTemplateCommand,
1674
1710
  DisassociateServiceQuotaTemplateCommand,
1675
1711
  GetAssociationForServiceQuotaTemplateCommand,
@@ -1728,6 +1764,7 @@ var paginateListServices = (0, import_core.createPaginator)(ServiceQuotasClient,
1728
1764
  ServiceQuotas,
1729
1765
  $Command,
1730
1766
  AssociateServiceQuotaTemplateCommand,
1767
+ CreateSupportCaseCommand,
1731
1768
  DeleteServiceQuotaIncreaseRequestFromTemplateCommand,
1732
1769
  DisassociateServiceQuotaTemplateCommand,
1733
1770
  GetAWSDefaultServiceQuotaCommand,
@@ -1762,7 +1799,9 @@ var paginateListServices = (0, import_core.createPaginator)(ServiceQuotasClient,
1762
1799
  TemplatesNotAvailableInRegionException,
1763
1800
  TooManyRequestsException,
1764
1801
  IllegalArgumentException,
1802
+ InvalidResourceStateException,
1765
1803
  NoSuchResourceException,
1804
+ ResourceAlreadyExistsException,
1766
1805
  ServiceQuotaTemplateNotInUseException,
1767
1806
  ErrorCode,
1768
1807
  ServiceQuotaTemplateAssociationStatus,
@@ -1770,9 +1809,7 @@ var paginateListServices = (0, import_core.createPaginator)(ServiceQuotasClient,
1770
1809
  QuotaContextScope,
1771
1810
  RequestStatus,
1772
1811
  InvalidPaginationTokenException,
1773
- InvalidResourceStateException,
1774
1812
  QuotaExceededException,
1775
- ResourceAlreadyExistsException,
1776
1813
  TagPolicyViolationException,
1777
1814
  TooManyTagsException
1778
1815
  });
@@ -1,5 +1,6 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { AssociateServiceQuotaTemplateCommand, } from "./commands/AssociateServiceQuotaTemplateCommand";
3
+ import { CreateSupportCaseCommand, } from "./commands/CreateSupportCaseCommand";
3
4
  import { DeleteServiceQuotaIncreaseRequestFromTemplateCommand, } from "./commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
4
5
  import { DisassociateServiceQuotaTemplateCommand, } from "./commands/DisassociateServiceQuotaTemplateCommand";
5
6
  import { GetAssociationForServiceQuotaTemplateCommand, } from "./commands/GetAssociationForServiceQuotaTemplateCommand";
@@ -21,6 +22,7 @@ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
21
22
  import { ServiceQuotasClient } from "./ServiceQuotasClient";
22
23
  const commands = {
23
24
  AssociateServiceQuotaTemplateCommand,
25
+ CreateSupportCaseCommand,
24
26
  DeleteServiceQuotaIncreaseRequestFromTemplateCommand,
25
27
  DisassociateServiceQuotaTemplateCommand,
26
28
  GetAssociationForServiceQuotaTemplateCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateSupportCaseCommand, se_CreateSupportCaseCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class CreateSupportCaseCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("ServiceQuotasV20190624", "CreateSupportCase", {})
17
+ .n("ServiceQuotasClient", "CreateSupportCaseCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateSupportCaseCommand)
20
+ .de(de_CreateSupportCaseCommand)
21
+ .build() {
22
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./AssociateServiceQuotaTemplateCommand";
2
+ export * from "./CreateSupportCaseCommand";
2
3
  export * from "./DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
3
4
  export * from "./DisassociateServiceQuotaTemplateCommand";
4
5
  export * from "./GetAWSDefaultServiceQuotaCommand";
@@ -130,6 +130,20 @@ export class IllegalArgumentException extends __BaseException {
130
130
  this.Message = opts.Message;
131
131
  }
132
132
  }
133
+ export class InvalidResourceStateException extends __BaseException {
134
+ name = "InvalidResourceStateException";
135
+ $fault = "client";
136
+ Message;
137
+ constructor(opts) {
138
+ super({
139
+ name: "InvalidResourceStateException",
140
+ $fault: "client",
141
+ ...opts,
142
+ });
143
+ Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
144
+ this.Message = opts.Message;
145
+ }
146
+ }
133
147
  export class NoSuchResourceException extends __BaseException {
134
148
  name = "NoSuchResourceException";
135
149
  $fault = "client";
@@ -144,6 +158,20 @@ export class NoSuchResourceException extends __BaseException {
144
158
  this.Message = opts.Message;
145
159
  }
146
160
  }
161
+ export class ResourceAlreadyExistsException extends __BaseException {
162
+ name = "ResourceAlreadyExistsException";
163
+ $fault = "client";
164
+ Message;
165
+ constructor(opts) {
166
+ super({
167
+ name: "ResourceAlreadyExistsException",
168
+ $fault: "client",
169
+ ...opts,
170
+ });
171
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
172
+ this.Message = opts.Message;
173
+ }
174
+ }
147
175
  export class ServiceQuotaTemplateNotInUseException extends __BaseException {
148
176
  name = "ServiceQuotaTemplateNotInUseException";
149
177
  $fault = "client";
@@ -204,20 +232,6 @@ export class InvalidPaginationTokenException extends __BaseException {
204
232
  this.Message = opts.Message;
205
233
  }
206
234
  }
207
- export class InvalidResourceStateException extends __BaseException {
208
- name = "InvalidResourceStateException";
209
- $fault = "client";
210
- Message;
211
- constructor(opts) {
212
- super({
213
- name: "InvalidResourceStateException",
214
- $fault: "client",
215
- ...opts,
216
- });
217
- Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
218
- this.Message = opts.Message;
219
- }
220
- }
221
235
  export class QuotaExceededException extends __BaseException {
222
236
  name = "QuotaExceededException";
223
237
  $fault = "client";
@@ -232,20 +246,6 @@ export class QuotaExceededException extends __BaseException {
232
246
  this.Message = opts.Message;
233
247
  }
234
248
  }
235
- export class ResourceAlreadyExistsException extends __BaseException {
236
- name = "ResourceAlreadyExistsException";
237
- $fault = "client";
238
- Message;
239
- constructor(opts) {
240
- super({
241
- name: "ResourceAlreadyExistsException",
242
- $fault: "client",
243
- ...opts,
244
- });
245
- Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
246
- this.Message = opts.Message;
247
- }
248
- }
249
249
  export class TagPolicyViolationException extends __BaseException {
250
250
  name = "TagPolicyViolationException";
251
251
  $fault = "client";
@@ -9,6 +9,12 @@ export const se_AssociateServiceQuotaTemplateCommand = async (input, context) =>
9
9
  body = JSON.stringify(_json(input));
10
10
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
11
11
  };
12
+ export const se_CreateSupportCaseCommand = async (input, context) => {
13
+ const headers = sharedHeaders("CreateSupportCase");
14
+ let body;
15
+ body = JSON.stringify(_json(input));
16
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
17
+ };
12
18
  export const se_DeleteServiceQuotaIncreaseRequestFromTemplateCommand = async (input, context) => {
13
19
  const headers = sharedHeaders("DeleteServiceQuotaIncreaseRequestFromTemplate");
14
20
  let body;
@@ -130,6 +136,19 @@ export const de_AssociateServiceQuotaTemplateCommand = async (output, context) =
130
136
  };
131
137
  return response;
132
138
  };
139
+ export const de_CreateSupportCaseCommand = async (output, context) => {
140
+ if (output.statusCode >= 300) {
141
+ return de_CommandError(output, context);
142
+ }
143
+ const data = await parseBody(output.body, context);
144
+ let contents = {};
145
+ contents = _json(data);
146
+ const response = {
147
+ $metadata: deserializeMetadata(output),
148
+ ...contents,
149
+ };
150
+ return response;
151
+ };
133
152
  export const de_DeleteServiceQuotaIncreaseRequestFromTemplateCommand = async (output, context) => {
134
153
  if (output.statusCode >= 300) {
135
154
  return de_CommandError(output, context);
@@ -398,9 +417,15 @@ const de_CommandError = async (output, context) => {
398
417
  case "IllegalArgumentException":
399
418
  case "com.amazonaws.servicequotas#IllegalArgumentException":
400
419
  throw await de_IllegalArgumentExceptionRes(parsedOutput, context);
420
+ case "InvalidResourceStateException":
421
+ case "com.amazonaws.servicequotas#InvalidResourceStateException":
422
+ throw await de_InvalidResourceStateExceptionRes(parsedOutput, context);
401
423
  case "NoSuchResourceException":
402
424
  case "com.amazonaws.servicequotas#NoSuchResourceException":
403
425
  throw await de_NoSuchResourceExceptionRes(parsedOutput, context);
426
+ case "ResourceAlreadyExistsException":
427
+ case "com.amazonaws.servicequotas#ResourceAlreadyExistsException":
428
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
404
429
  case "ServiceQuotaTemplateNotInUseException":
405
430
  case "com.amazonaws.servicequotas#ServiceQuotaTemplateNotInUseException":
406
431
  throw await de_ServiceQuotaTemplateNotInUseExceptionRes(parsedOutput, context);
@@ -410,12 +435,6 @@ const de_CommandError = async (output, context) => {
410
435
  case "QuotaExceededException":
411
436
  case "com.amazonaws.servicequotas#QuotaExceededException":
412
437
  throw await de_QuotaExceededExceptionRes(parsedOutput, context);
413
- case "InvalidResourceStateException":
414
- case "com.amazonaws.servicequotas#InvalidResourceStateException":
415
- throw await de_InvalidResourceStateExceptionRes(parsedOutput, context);
416
- case "ResourceAlreadyExistsException":
417
- case "com.amazonaws.servicequotas#ResourceAlreadyExistsException":
418
- throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
419
438
  case "TagPolicyViolationException":
420
439
  case "com.amazonaws.servicequotas#TagPolicyViolationException":
421
440
  throw await de_TagPolicyViolationExceptionRes(parsedOutput, context);
@@ -1,5 +1,6 @@
1
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AssociateServiceQuotaTemplateCommandInput, AssociateServiceQuotaTemplateCommandOutput } from "./commands/AssociateServiceQuotaTemplateCommand";
3
+ import { CreateSupportCaseCommandInput, CreateSupportCaseCommandOutput } from "./commands/CreateSupportCaseCommand";
3
4
  import { DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput } from "./commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
4
5
  import { DisassociateServiceQuotaTemplateCommandInput, DisassociateServiceQuotaTemplateCommandOutput } from "./commands/DisassociateServiceQuotaTemplateCommand";
5
6
  import { GetAssociationForServiceQuotaTemplateCommandInput, GetAssociationForServiceQuotaTemplateCommandOutput } from "./commands/GetAssociationForServiceQuotaTemplateCommand";
@@ -27,6 +28,12 @@ export interface ServiceQuotas {
27
28
  associateServiceQuotaTemplate(args: AssociateServiceQuotaTemplateCommandInput, options?: __HttpHandlerOptions): Promise<AssociateServiceQuotaTemplateCommandOutput>;
28
29
  associateServiceQuotaTemplate(args: AssociateServiceQuotaTemplateCommandInput, cb: (err: any, data?: AssociateServiceQuotaTemplateCommandOutput) => void): void;
29
30
  associateServiceQuotaTemplate(args: AssociateServiceQuotaTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateServiceQuotaTemplateCommandOutput) => void): void;
31
+ /**
32
+ * @see {@link CreateSupportCaseCommand}
33
+ */
34
+ createSupportCase(args: CreateSupportCaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateSupportCaseCommandOutput>;
35
+ createSupportCase(args: CreateSupportCaseCommandInput, cb: (err: any, data?: CreateSupportCaseCommandOutput) => void): void;
36
+ createSupportCase(args: CreateSupportCaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSupportCaseCommandOutput) => void): void;
30
37
  /**
31
38
  * @see {@link DeleteServiceQuotaIncreaseRequestFromTemplateCommand}
32
39
  */
@@ -8,6 +8,7 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
8
8
  import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { AssociateServiceQuotaTemplateCommandInput, AssociateServiceQuotaTemplateCommandOutput } from "./commands/AssociateServiceQuotaTemplateCommand";
11
+ import { CreateSupportCaseCommandInput, CreateSupportCaseCommandOutput } from "./commands/CreateSupportCaseCommand";
11
12
  import { DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput } from "./commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
12
13
  import { DisassociateServiceQuotaTemplateCommandInput, DisassociateServiceQuotaTemplateCommandOutput } from "./commands/DisassociateServiceQuotaTemplateCommand";
13
14
  import { GetAssociationForServiceQuotaTemplateCommandInput, GetAssociationForServiceQuotaTemplateCommandOutput } from "./commands/GetAssociationForServiceQuotaTemplateCommand";
@@ -32,11 +33,11 @@ export { __Client };
32
33
  /**
33
34
  * @public
34
35
  */
35
- export type ServiceInputTypes = AssociateServiceQuotaTemplateCommandInput | DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput | DisassociateServiceQuotaTemplateCommandInput | GetAWSDefaultServiceQuotaCommandInput | GetAssociationForServiceQuotaTemplateCommandInput | GetRequestedServiceQuotaChangeCommandInput | GetServiceQuotaCommandInput | GetServiceQuotaIncreaseRequestFromTemplateCommandInput | ListAWSDefaultServiceQuotasCommandInput | ListRequestedServiceQuotaChangeHistoryByQuotaCommandInput | ListRequestedServiceQuotaChangeHistoryCommandInput | ListServiceQuotaIncreaseRequestsInTemplateCommandInput | ListServiceQuotasCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | PutServiceQuotaIncreaseRequestIntoTemplateCommandInput | RequestServiceQuotaIncreaseCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
36
+ export type ServiceInputTypes = AssociateServiceQuotaTemplateCommandInput | CreateSupportCaseCommandInput | DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput | DisassociateServiceQuotaTemplateCommandInput | GetAWSDefaultServiceQuotaCommandInput | GetAssociationForServiceQuotaTemplateCommandInput | GetRequestedServiceQuotaChangeCommandInput | GetServiceQuotaCommandInput | GetServiceQuotaIncreaseRequestFromTemplateCommandInput | ListAWSDefaultServiceQuotasCommandInput | ListRequestedServiceQuotaChangeHistoryByQuotaCommandInput | ListRequestedServiceQuotaChangeHistoryCommandInput | ListServiceQuotaIncreaseRequestsInTemplateCommandInput | ListServiceQuotasCommandInput | ListServicesCommandInput | ListTagsForResourceCommandInput | PutServiceQuotaIncreaseRequestIntoTemplateCommandInput | RequestServiceQuotaIncreaseCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
36
37
  /**
37
38
  * @public
38
39
  */
39
- export type ServiceOutputTypes = AssociateServiceQuotaTemplateCommandOutput | DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput | DisassociateServiceQuotaTemplateCommandOutput | GetAWSDefaultServiceQuotaCommandOutput | GetAssociationForServiceQuotaTemplateCommandOutput | GetRequestedServiceQuotaChangeCommandOutput | GetServiceQuotaCommandOutput | GetServiceQuotaIncreaseRequestFromTemplateCommandOutput | ListAWSDefaultServiceQuotasCommandOutput | ListRequestedServiceQuotaChangeHistoryByQuotaCommandOutput | ListRequestedServiceQuotaChangeHistoryCommandOutput | ListServiceQuotaIncreaseRequestsInTemplateCommandOutput | ListServiceQuotasCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | PutServiceQuotaIncreaseRequestIntoTemplateCommandOutput | RequestServiceQuotaIncreaseCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
40
+ export type ServiceOutputTypes = AssociateServiceQuotaTemplateCommandOutput | CreateSupportCaseCommandOutput | DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput | DisassociateServiceQuotaTemplateCommandOutput | GetAWSDefaultServiceQuotaCommandOutput | GetAssociationForServiceQuotaTemplateCommandOutput | GetRequestedServiceQuotaChangeCommandOutput | GetServiceQuotaCommandOutput | GetServiceQuotaIncreaseRequestFromTemplateCommandOutput | ListAWSDefaultServiceQuotasCommandOutput | ListRequestedServiceQuotaChangeHistoryByQuotaCommandOutput | ListRequestedServiceQuotaChangeHistoryCommandOutput | ListServiceQuotaIncreaseRequestsInTemplateCommandOutput | ListServiceQuotasCommandOutput | ListServicesCommandOutput | ListTagsForResourceCommandOutput | PutServiceQuotaIncreaseRequestIntoTemplateCommandOutput | RequestServiceQuotaIncreaseCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
40
41
  /**
41
42
  * @public
42
43
  */
@@ -0,0 +1,96 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateSupportCaseRequest, CreateSupportCaseResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, ServiceQuotasClientResolvedConfig } from "../ServiceQuotasClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link CreateSupportCaseCommand}.
14
+ */
15
+ export interface CreateSupportCaseCommandInput extends CreateSupportCaseRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link CreateSupportCaseCommand}.
21
+ */
22
+ export interface CreateSupportCaseCommandOutput extends CreateSupportCaseResponse, __MetadataBearer {
23
+ }
24
+ declare const CreateSupportCaseCommand_base: {
25
+ new (input: CreateSupportCaseCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSupportCaseCommandInput, CreateSupportCaseCommandOutput, ServiceQuotasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: CreateSupportCaseCommandInput): import("@smithy/smithy-client").CommandImpl<CreateSupportCaseCommandInput, CreateSupportCaseCommandOutput, ServiceQuotasClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Creates a Support case for an existing quota increase request. This call only creates
31
+ * a Support case if the request has a <code>Pending</code> status. </p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { ServiceQuotasClient, CreateSupportCaseCommand } from "@aws-sdk/client-service-quotas"; // ES Modules import
36
+ * // const { ServiceQuotasClient, CreateSupportCaseCommand } = require("@aws-sdk/client-service-quotas"); // CommonJS import
37
+ * const client = new ServiceQuotasClient(config);
38
+ * const input = { // CreateSupportCaseRequest
39
+ * RequestId: "STRING_VALUE", // required
40
+ * };
41
+ * const command = new CreateSupportCaseCommand(input);
42
+ * const response = await client.send(command);
43
+ * // {};
44
+ *
45
+ * ```
46
+ *
47
+ * @param CreateSupportCaseCommandInput - {@link CreateSupportCaseCommandInput}
48
+ * @returns {@link CreateSupportCaseCommandOutput}
49
+ * @see {@link CreateSupportCaseCommandInput} for command's `input` shape.
50
+ * @see {@link CreateSupportCaseCommandOutput} for command's `response` shape.
51
+ * @see {@link ServiceQuotasClientResolvedConfig | config} for ServiceQuotasClient's `config` shape.
52
+ *
53
+ * @throws {@link AccessDeniedException} (client fault)
54
+ * <p>You do not have sufficient permission to perform this action.</p>
55
+ *
56
+ * @throws {@link DependencyAccessDeniedException} (client fault)
57
+ * <p>You can't perform this action because a dependency does not have access.</p>
58
+ *
59
+ * @throws {@link IllegalArgumentException} (client fault)
60
+ * <p>Invalid input was provided.</p>
61
+ *
62
+ * @throws {@link InvalidResourceStateException} (client fault)
63
+ * <p>The resource is in an invalid state.</p>
64
+ *
65
+ * @throws {@link NoSuchResourceException} (client fault)
66
+ * <p>The specified resource does not exist.</p>
67
+ *
68
+ * @throws {@link ResourceAlreadyExistsException} (client fault)
69
+ * <p>The specified resource already exists.</p>
70
+ *
71
+ * @throws {@link ServiceException} (server fault)
72
+ * <p>Something went wrong.</p>
73
+ *
74
+ * @throws {@link TooManyRequestsException} (client fault)
75
+ * <p>Due to throttling, the request was denied. Slow down the rate of request calls, or
76
+ * request an increase for this quota.</p>
77
+ *
78
+ * @throws {@link ServiceQuotasServiceException}
79
+ * <p>Base exception class for all service exceptions from ServiceQuotas service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class CreateSupportCaseCommand extends CreateSupportCaseCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: CreateSupportCaseRequest;
89
+ output: {};
90
+ };
91
+ sdk: {
92
+ input: CreateSupportCaseCommandInput;
93
+ output: CreateSupportCaseCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./AssociateServiceQuotaTemplateCommand";
2
+ export * from "./CreateSupportCaseCommand";
2
3
  export * from "./DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
3
4
  export * from "./DisassociateServiceQuotaTemplateCommand";
4
5
  export * from "./GetAWSDefaultServiceQuotaCommand";
@@ -133,30 +133,17 @@ export declare class TooManyRequestsException extends __BaseException {
133
133
  /**
134
134
  * @public
135
135
  */
136
- export interface DeleteServiceQuotaIncreaseRequestFromTemplateRequest {
136
+ export interface CreateSupportCaseRequest {
137
137
  /**
138
- * <p>Specifies the service identifier. To find the service code value
139
- * for an Amazon Web Services service, use the <a>ListServices</a> operation.</p>
138
+ * <p>The ID of the pending quota increase request for which you want to open a Support case. </p>
140
139
  * @public
141
140
  */
142
- ServiceCode: string | undefined;
143
- /**
144
- * <p>Specifies the quota identifier. To find the quota code for a specific
145
- * quota, use the <a>ListServiceQuotas</a> operation, and look for the
146
- * <code>QuotaCode</code> response in the output for the quota you want.</p>
147
- * @public
148
- */
149
- QuotaCode: string | undefined;
150
- /**
151
- * <p>Specifies the Amazon Web Services Region for which the request was made.</p>
152
- * @public
153
- */
154
- AwsRegion: string | undefined;
141
+ RequestId: string | undefined;
155
142
  }
156
143
  /**
157
144
  * @public
158
145
  */
159
- export interface DeleteServiceQuotaIncreaseRequestFromTemplateResponse {
146
+ export interface CreateSupportCaseResponse {
160
147
  }
161
148
  /**
162
149
  * <p>Invalid input was provided.</p>
@@ -171,6 +158,19 @@ export declare class IllegalArgumentException extends __BaseException {
171
158
  */
172
159
  constructor(opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>);
173
160
  }
161
+ /**
162
+ * <p>The resource is in an invalid state.</p>
163
+ * @public
164
+ */
165
+ export declare class InvalidResourceStateException extends __BaseException {
166
+ readonly name: "InvalidResourceStateException";
167
+ readonly $fault: "client";
168
+ Message?: string | undefined;
169
+ /**
170
+ * @internal
171
+ */
172
+ constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
173
+ }
174
174
  /**
175
175
  * <p>The specified resource does not exist.</p>
176
176
  * @public
@@ -184,6 +184,47 @@ export declare class NoSuchResourceException extends __BaseException {
184
184
  */
185
185
  constructor(opts: __ExceptionOptionType<NoSuchResourceException, __BaseException>);
186
186
  }
187
+ /**
188
+ * <p>The specified resource already exists.</p>
189
+ * @public
190
+ */
191
+ export declare class ResourceAlreadyExistsException extends __BaseException {
192
+ readonly name: "ResourceAlreadyExistsException";
193
+ readonly $fault: "client";
194
+ Message?: string | undefined;
195
+ /**
196
+ * @internal
197
+ */
198
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
199
+ }
200
+ /**
201
+ * @public
202
+ */
203
+ export interface DeleteServiceQuotaIncreaseRequestFromTemplateRequest {
204
+ /**
205
+ * <p>Specifies the service identifier. To find the service code value
206
+ * for an Amazon Web Services service, use the <a>ListServices</a> operation.</p>
207
+ * @public
208
+ */
209
+ ServiceCode: string | undefined;
210
+ /**
211
+ * <p>Specifies the quota identifier. To find the quota code for a specific
212
+ * quota, use the <a>ListServiceQuotas</a> operation, and look for the
213
+ * <code>QuotaCode</code> response in the output for the quota you want.</p>
214
+ * @public
215
+ */
216
+ QuotaCode: string | undefined;
217
+ /**
218
+ * <p>Specifies the Amazon Web Services Region for which the request was made.</p>
219
+ * @public
220
+ */
221
+ AwsRegion: string | undefined;
222
+ }
223
+ /**
224
+ * @public
225
+ */
226
+ export interface DeleteServiceQuotaIncreaseRequestFromTemplateResponse {
227
+ }
187
228
  /**
188
229
  * @public
189
230
  */
@@ -804,19 +845,6 @@ export declare class InvalidPaginationTokenException extends __BaseException {
804
845
  */
805
846
  constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
806
847
  }
807
- /**
808
- * <p>The resource is in an invalid state.</p>
809
- * @public
810
- */
811
- export declare class InvalidResourceStateException extends __BaseException {
812
- readonly name: "InvalidResourceStateException";
813
- readonly $fault: "client";
814
- Message?: string | undefined;
815
- /**
816
- * @internal
817
- */
818
- constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
819
- }
820
848
  /**
821
849
  * @public
822
850
  */
@@ -1313,19 +1341,6 @@ export interface RequestServiceQuotaIncreaseResponse {
1313
1341
  */
1314
1342
  RequestedQuota?: RequestedServiceQuotaChange | undefined;
1315
1343
  }
1316
- /**
1317
- * <p>The specified resource already exists.</p>
1318
- * @public
1319
- */
1320
- export declare class ResourceAlreadyExistsException extends __BaseException {
1321
- readonly name: "ResourceAlreadyExistsException";
1322
- readonly $fault: "client";
1323
- Message?: string | undefined;
1324
- /**
1325
- * @internal
1326
- */
1327
- constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
1328
- }
1329
1344
  /**
1330
1345
  * <p>The specified tag is a reserved word and cannot be used.</p>
1331
1346
  * @public
@@ -1,6 +1,7 @@
1
1
  import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
2
  import { SerdeContext as __SerdeContext } from "@smithy/types";
3
3
  import { AssociateServiceQuotaTemplateCommandInput, AssociateServiceQuotaTemplateCommandOutput } from "../commands/AssociateServiceQuotaTemplateCommand";
4
+ import { CreateSupportCaseCommandInput, CreateSupportCaseCommandOutput } from "../commands/CreateSupportCaseCommand";
4
5
  import { DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput } from "../commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
5
6
  import { DisassociateServiceQuotaTemplateCommandInput, DisassociateServiceQuotaTemplateCommandOutput } from "../commands/DisassociateServiceQuotaTemplateCommand";
6
7
  import { GetAssociationForServiceQuotaTemplateCommandInput, GetAssociationForServiceQuotaTemplateCommandOutput } from "../commands/GetAssociationForServiceQuotaTemplateCommand";
@@ -23,6 +24,10 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../comman
23
24
  * serializeAws_json1_1AssociateServiceQuotaTemplateCommand
24
25
  */
25
26
  export declare const se_AssociateServiceQuotaTemplateCommand: (input: AssociateServiceQuotaTemplateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
27
+ /**
28
+ * serializeAws_json1_1CreateSupportCaseCommand
29
+ */
30
+ export declare const se_CreateSupportCaseCommand: (input: CreateSupportCaseCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
26
31
  /**
27
32
  * serializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand
28
33
  */
@@ -99,6 +104,10 @@ export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput,
99
104
  * deserializeAws_json1_1AssociateServiceQuotaTemplateCommand
100
105
  */
101
106
  export declare const de_AssociateServiceQuotaTemplateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateServiceQuotaTemplateCommandOutput>;
107
+ /**
108
+ * deserializeAws_json1_1CreateSupportCaseCommand
109
+ */
110
+ export declare const de_CreateSupportCaseCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateSupportCaseCommandOutput>;
102
111
  /**
103
112
  * deserializeAws_json1_1DeleteServiceQuotaIncreaseRequestFromTemplateCommand
104
113
  */
@@ -3,6 +3,10 @@ import {
3
3
  AssociateServiceQuotaTemplateCommandInput,
4
4
  AssociateServiceQuotaTemplateCommandOutput,
5
5
  } from "./commands/AssociateServiceQuotaTemplateCommand";
6
+ import {
7
+ CreateSupportCaseCommandInput,
8
+ CreateSupportCaseCommandOutput,
9
+ } from "./commands/CreateSupportCaseCommand";
6
10
  import {
7
11
  DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput,
8
12
  DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput,
@@ -91,6 +95,19 @@ export interface ServiceQuotas {
91
95
  options: __HttpHandlerOptions,
92
96
  cb: (err: any, data?: AssociateServiceQuotaTemplateCommandOutput) => void
93
97
  ): void;
98
+ createSupportCase(
99
+ args: CreateSupportCaseCommandInput,
100
+ options?: __HttpHandlerOptions
101
+ ): Promise<CreateSupportCaseCommandOutput>;
102
+ createSupportCase(
103
+ args: CreateSupportCaseCommandInput,
104
+ cb: (err: any, data?: CreateSupportCaseCommandOutput) => void
105
+ ): void;
106
+ createSupportCase(
107
+ args: CreateSupportCaseCommandInput,
108
+ options: __HttpHandlerOptions,
109
+ cb: (err: any, data?: CreateSupportCaseCommandOutput) => void
110
+ ): void;
94
111
  deleteServiceQuotaIncreaseRequestFromTemplate(
95
112
  args: DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput,
96
113
  options?: __HttpHandlerOptions
@@ -49,6 +49,10 @@ import {
49
49
  AssociateServiceQuotaTemplateCommandInput,
50
50
  AssociateServiceQuotaTemplateCommandOutput,
51
51
  } from "./commands/AssociateServiceQuotaTemplateCommand";
52
+ import {
53
+ CreateSupportCaseCommandInput,
54
+ CreateSupportCaseCommandOutput,
55
+ } from "./commands/CreateSupportCaseCommand";
52
56
  import {
53
57
  DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput,
54
58
  DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput,
@@ -130,6 +134,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
130
134
  export { __Client };
131
135
  export type ServiceInputTypes =
132
136
  | AssociateServiceQuotaTemplateCommandInput
137
+ | CreateSupportCaseCommandInput
133
138
  | DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput
134
139
  | DisassociateServiceQuotaTemplateCommandInput
135
140
  | GetAWSDefaultServiceQuotaCommandInput
@@ -150,6 +155,7 @@ export type ServiceInputTypes =
150
155
  | UntagResourceCommandInput;
151
156
  export type ServiceOutputTypes =
152
157
  | AssociateServiceQuotaTemplateCommandOutput
158
+ | CreateSupportCaseCommandOutput
153
159
  | DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput
154
160
  | DisassociateServiceQuotaTemplateCommandOutput
155
161
  | GetAWSDefaultServiceQuotaCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateSupportCaseRequest,
5
+ CreateSupportCaseResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ ServiceInputTypes,
9
+ ServiceOutputTypes,
10
+ ServiceQuotasClientResolvedConfig,
11
+ } from "../ServiceQuotasClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateSupportCaseCommandInput
15
+ extends CreateSupportCaseRequest {}
16
+ export interface CreateSupportCaseCommandOutput
17
+ extends CreateSupportCaseResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateSupportCaseCommand_base: {
20
+ new (
21
+ input: CreateSupportCaseCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateSupportCaseCommandInput,
24
+ CreateSupportCaseCommandOutput,
25
+ ServiceQuotasClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CreateSupportCaseCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateSupportCaseCommandInput,
33
+ CreateSupportCaseCommandOutput,
34
+ ServiceQuotasClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateSupportCaseCommand extends CreateSupportCaseCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateSupportCaseRequest;
44
+ output: {};
45
+ };
46
+ sdk: {
47
+ input: CreateSupportCaseCommandInput;
48
+ output: CreateSupportCaseCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -1,4 +1,5 @@
1
1
  export * from "./AssociateServiceQuotaTemplateCommand";
2
+ export * from "./CreateSupportCaseCommand";
2
3
  export * from "./DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
3
4
  export * from "./DisassociateServiceQuotaTemplateCommand";
4
5
  export * from "./GetAWSDefaultServiceQuotaCommand";
@@ -86,12 +86,10 @@ export declare class TooManyRequestsException extends __BaseException {
86
86
  opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>
87
87
  );
88
88
  }
89
- export interface DeleteServiceQuotaIncreaseRequestFromTemplateRequest {
90
- ServiceCode: string | undefined;
91
- QuotaCode: string | undefined;
92
- AwsRegion: string | undefined;
89
+ export interface CreateSupportCaseRequest {
90
+ RequestId: string | undefined;
93
91
  }
94
- export interface DeleteServiceQuotaIncreaseRequestFromTemplateResponse {}
92
+ export interface CreateSupportCaseResponse {}
95
93
  export declare class IllegalArgumentException extends __BaseException {
96
94
  readonly name: "IllegalArgumentException";
97
95
  readonly $fault: "client";
@@ -100,6 +98,14 @@ export declare class IllegalArgumentException extends __BaseException {
100
98
  opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>
101
99
  );
102
100
  }
101
+ export declare class InvalidResourceStateException extends __BaseException {
102
+ readonly name: "InvalidResourceStateException";
103
+ readonly $fault: "client";
104
+ Message?: string | undefined;
105
+ constructor(
106
+ opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>
107
+ );
108
+ }
103
109
  export declare class NoSuchResourceException extends __BaseException {
104
110
  readonly name: "NoSuchResourceException";
105
111
  readonly $fault: "client";
@@ -108,6 +114,20 @@ export declare class NoSuchResourceException extends __BaseException {
108
114
  opts: __ExceptionOptionType<NoSuchResourceException, __BaseException>
109
115
  );
110
116
  }
117
+ export declare class ResourceAlreadyExistsException extends __BaseException {
118
+ readonly name: "ResourceAlreadyExistsException";
119
+ readonly $fault: "client";
120
+ Message?: string | undefined;
121
+ constructor(
122
+ opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
123
+ );
124
+ }
125
+ export interface DeleteServiceQuotaIncreaseRequestFromTemplateRequest {
126
+ ServiceCode: string | undefined;
127
+ QuotaCode: string | undefined;
128
+ AwsRegion: string | undefined;
129
+ }
130
+ export interface DeleteServiceQuotaIncreaseRequestFromTemplateResponse {}
111
131
  export interface DisassociateServiceQuotaTemplateRequest {}
112
132
  export interface DisassociateServiceQuotaTemplateResponse {}
113
133
  export declare class ServiceQuotaTemplateNotInUseException extends __BaseException {
@@ -276,14 +296,6 @@ export declare class InvalidPaginationTokenException extends __BaseException {
276
296
  >
277
297
  );
278
298
  }
279
- export declare class InvalidResourceStateException extends __BaseException {
280
- readonly name: "InvalidResourceStateException";
281
- readonly $fault: "client";
282
- Message?: string | undefined;
283
- constructor(
284
- opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>
285
- );
286
- }
287
299
  export interface ListAWSDefaultServiceQuotasRequest {
288
300
  ServiceCode: string | undefined;
289
301
  NextToken?: string | undefined;
@@ -386,14 +398,6 @@ export interface RequestServiceQuotaIncreaseRequest {
386
398
  export interface RequestServiceQuotaIncreaseResponse {
387
399
  RequestedQuota?: RequestedServiceQuotaChange | undefined;
388
400
  }
389
- export declare class ResourceAlreadyExistsException extends __BaseException {
390
- readonly name: "ResourceAlreadyExistsException";
391
- readonly $fault: "client";
392
- Message?: string | undefined;
393
- constructor(
394
- opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
395
- );
396
- }
397
401
  export declare class TagPolicyViolationException extends __BaseException {
398
402
  readonly name: "TagPolicyViolationException";
399
403
  readonly $fault: "client";
@@ -7,6 +7,10 @@ import {
7
7
  AssociateServiceQuotaTemplateCommandInput,
8
8
  AssociateServiceQuotaTemplateCommandOutput,
9
9
  } from "../commands/AssociateServiceQuotaTemplateCommand";
10
+ import {
11
+ CreateSupportCaseCommandInput,
12
+ CreateSupportCaseCommandOutput,
13
+ } from "../commands/CreateSupportCaseCommand";
10
14
  import {
11
15
  DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput,
12
16
  DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput,
@@ -83,6 +87,10 @@ export declare const se_AssociateServiceQuotaTemplateCommand: (
83
87
  input: AssociateServiceQuotaTemplateCommandInput,
84
88
  context: __SerdeContext
85
89
  ) => Promise<__HttpRequest>;
90
+ export declare const se_CreateSupportCaseCommand: (
91
+ input: CreateSupportCaseCommandInput,
92
+ context: __SerdeContext
93
+ ) => Promise<__HttpRequest>;
86
94
  export declare const se_DeleteServiceQuotaIncreaseRequestFromTemplateCommand: (
87
95
  input: DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput,
88
96
  context: __SerdeContext
@@ -159,6 +167,10 @@ export declare const de_AssociateServiceQuotaTemplateCommand: (
159
167
  output: __HttpResponse,
160
168
  context: __SerdeContext
161
169
  ) => Promise<AssociateServiceQuotaTemplateCommandOutput>;
170
+ export declare const de_CreateSupportCaseCommand: (
171
+ output: __HttpResponse,
172
+ context: __SerdeContext
173
+ ) => Promise<CreateSupportCaseCommandOutput>;
162
174
  export declare const de_DeleteServiceQuotaIncreaseRequestFromTemplateCommand: (
163
175
  output: __HttpResponse,
164
176
  context: __SerdeContext
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.808.0",
4
+ "version": "3.812.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-service-quotas",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.808.0",
24
- "@aws-sdk/credential-provider-node": "3.808.0",
23
+ "@aws-sdk/core": "3.812.0",
24
+ "@aws-sdk/credential-provider-node": "3.812.0",
25
25
  "@aws-sdk/middleware-host-header": "3.804.0",
26
26
  "@aws-sdk/middleware-logger": "3.804.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.804.0",
28
- "@aws-sdk/middleware-user-agent": "3.808.0",
28
+ "@aws-sdk/middleware-user-agent": "3.812.0",
29
29
  "@aws-sdk/region-config-resolver": "3.808.0",
30
30
  "@aws-sdk/types": "3.804.0",
31
31
  "@aws-sdk/util-endpoints": "3.808.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.804.0",
33
- "@aws-sdk/util-user-agent-node": "3.808.0",
33
+ "@aws-sdk/util-user-agent-node": "3.812.0",
34
34
  "@smithy/config-resolver": "^4.1.2",
35
- "@smithy/core": "^3.3.1",
35
+ "@smithy/core": "^3.3.3",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",
37
37
  "@smithy/hash-node": "^4.0.2",
38
38
  "@smithy/invalid-dependency": "^4.0.2",
39
39
  "@smithy/middleware-content-length": "^4.0.2",
40
- "@smithy/middleware-endpoint": "^4.1.4",
41
- "@smithy/middleware-retry": "^4.1.5",
42
- "@smithy/middleware-serde": "^4.0.3",
40
+ "@smithy/middleware-endpoint": "^4.1.6",
41
+ "@smithy/middleware-retry": "^4.1.7",
42
+ "@smithy/middleware-serde": "^4.0.5",
43
43
  "@smithy/middleware-stack": "^4.0.2",
44
44
  "@smithy/node-config-provider": "^4.1.1",
45
45
  "@smithy/node-http-handler": "^4.0.4",
46
46
  "@smithy/protocol-http": "^5.1.0",
47
- "@smithy/smithy-client": "^4.2.4",
47
+ "@smithy/smithy-client": "^4.2.6",
48
48
  "@smithy/types": "^4.2.0",
49
49
  "@smithy/url-parser": "^4.0.2",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.12",
54
- "@smithy/util-defaults-mode-node": "^4.0.12",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.14",
54
+ "@smithy/util-defaults-mode-node": "^4.0.14",
55
55
  "@smithy/util-endpoints": "^3.0.4",
56
56
  "@smithy/util-middleware": "^4.0.2",
57
57
  "@smithy/util-retry": "^4.0.3",