@aws-sdk/client-elastic-load-balancing-v2 3.696.0 → 3.698.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
@@ -359,6 +359,14 @@ DescribeAccountLimits
359
359
 
360
360
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elastic-load-balancing-v2/command/DescribeAccountLimitsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/DescribeAccountLimitsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/DescribeAccountLimitsCommandOutput/)
361
361
 
362
+ </details>
363
+ <details>
364
+ <summary>
365
+ DescribeCapacityReservation
366
+ </summary>
367
+
368
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elastic-load-balancing-v2/command/DescribeCapacityReservationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/DescribeCapacityReservationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/DescribeCapacityReservationCommandOutput/)
369
+
362
370
  </details>
363
371
  <details>
364
372
  <summary>
@@ -495,6 +503,14 @@ GetTrustStoreRevocationContent
495
503
 
496
504
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elastic-load-balancing-v2/command/GetTrustStoreRevocationContentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/GetTrustStoreRevocationContentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/GetTrustStoreRevocationContentCommandOutput/)
497
505
 
506
+ </details>
507
+ <details>
508
+ <summary>
509
+ ModifyCapacityReservation
510
+ </summary>
511
+
512
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elastic-load-balancing-v2/command/ModifyCapacityReservationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/ModifyCapacityReservationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/ModifyCapacityReservationCommandOutput/)
513
+
498
514
  </details>
499
515
  <details>
500
516
  <summary>
package/dist-cjs/index.js CHANGED
@@ -32,6 +32,10 @@ __export(src_exports, {
32
32
  AuthenticateOidcActionConditionalBehaviorEnum: () => AuthenticateOidcActionConditionalBehaviorEnum,
33
33
  AvailabilityZoneNotSupportedException: () => AvailabilityZoneNotSupportedException,
34
34
  CaCertificatesBundleNotFoundException: () => CaCertificatesBundleNotFoundException,
35
+ CapacityDecreaseRequestsLimitExceededException: () => CapacityDecreaseRequestsLimitExceededException,
36
+ CapacityReservationPendingException: () => CapacityReservationPendingException,
37
+ CapacityReservationStateEnum: () => CapacityReservationStateEnum,
38
+ CapacityUnitsLimitExceededException: () => CapacityUnitsLimitExceededException,
35
39
  CertificateNotFoundException: () => CertificateNotFoundException,
36
40
  CreateListenerCommand: () => CreateListenerCommand,
37
41
  CreateLoadBalancerCommand: () => CreateLoadBalancerCommand,
@@ -47,6 +51,7 @@ __export(src_exports, {
47
51
  DeleteTrustStoreCommand: () => DeleteTrustStoreCommand,
48
52
  DeregisterTargetsCommand: () => DeregisterTargetsCommand,
49
53
  DescribeAccountLimitsCommand: () => DescribeAccountLimitsCommand,
54
+ DescribeCapacityReservationCommand: () => DescribeCapacityReservationCommand,
50
55
  DescribeListenerAttributesCommand: () => DescribeListenerAttributesCommand,
51
56
  DescribeListenerCertificatesCommand: () => DescribeListenerCertificatesCommand,
52
57
  DescribeListenersCommand: () => DescribeListenersCommand,
@@ -77,6 +82,7 @@ __export(src_exports, {
77
82
  GetTrustStoreRevocationContentCommand: () => GetTrustStoreRevocationContentCommand,
78
83
  HealthUnavailableException: () => HealthUnavailableException,
79
84
  IncompatibleProtocolsException: () => IncompatibleProtocolsException,
85
+ InsufficientCapacityException: () => InsufficientCapacityException,
80
86
  InvalidCaCertificatesBundleException: () => InvalidCaCertificatesBundleException,
81
87
  InvalidConfigurationRequestException: () => InvalidConfigurationRequestException,
82
88
  InvalidLoadBalancerActionException: () => InvalidLoadBalancerActionException,
@@ -92,6 +98,7 @@ __export(src_exports, {
92
98
  LoadBalancerStateEnum: () => LoadBalancerStateEnum,
93
99
  LoadBalancerTypeEnum: () => LoadBalancerTypeEnum,
94
100
  MitigationInEffectEnum: () => MitigationInEffectEnum,
101
+ ModifyCapacityReservationCommand: () => ModifyCapacityReservationCommand,
95
102
  ModifyListenerAttributesCommand: () => ModifyListenerAttributesCommand,
96
103
  ModifyListenerCommand: () => ModifyListenerCommand,
97
104
  ModifyLoadBalancerAttributesCommand: () => ModifyLoadBalancerAttributesCommand,
@@ -100,6 +107,7 @@ __export(src_exports, {
100
107
  ModifyTargetGroupCommand: () => ModifyTargetGroupCommand,
101
108
  ModifyTrustStoreCommand: () => ModifyTrustStoreCommand,
102
109
  OperationNotPermittedException: () => OperationNotPermittedException,
110
+ PriorRequestNotCompleteException: () => PriorRequestNotCompleteException,
103
111
  PriorityInUseException: () => PriorityInUseException,
104
112
  ProtocolEnum: () => ProtocolEnum,
105
113
  RedirectActionStatusCodeEnum: () => RedirectActionStatusCodeEnum,
@@ -665,6 +673,66 @@ var _CaCertificatesBundleNotFoundException = class _CaCertificatesBundleNotFound
665
673
  };
666
674
  __name(_CaCertificatesBundleNotFoundException, "CaCertificatesBundleNotFoundException");
667
675
  var CaCertificatesBundleNotFoundException = _CaCertificatesBundleNotFoundException;
676
+ var _CapacityDecreaseRequestsLimitExceededException = class _CapacityDecreaseRequestsLimitExceededException extends ElasticLoadBalancingV2ServiceException {
677
+ /**
678
+ * @internal
679
+ */
680
+ constructor(opts) {
681
+ super({
682
+ name: "CapacityDecreaseRequestsLimitExceededException",
683
+ $fault: "client",
684
+ ...opts
685
+ });
686
+ this.name = "CapacityDecreaseRequestsLimitExceededException";
687
+ this.$fault = "client";
688
+ Object.setPrototypeOf(this, _CapacityDecreaseRequestsLimitExceededException.prototype);
689
+ this.Message = opts.Message;
690
+ }
691
+ };
692
+ __name(_CapacityDecreaseRequestsLimitExceededException, "CapacityDecreaseRequestsLimitExceededException");
693
+ var CapacityDecreaseRequestsLimitExceededException = _CapacityDecreaseRequestsLimitExceededException;
694
+ var _CapacityReservationPendingException = class _CapacityReservationPendingException extends ElasticLoadBalancingV2ServiceException {
695
+ /**
696
+ * @internal
697
+ */
698
+ constructor(opts) {
699
+ super({
700
+ name: "CapacityReservationPendingException",
701
+ $fault: "client",
702
+ ...opts
703
+ });
704
+ this.name = "CapacityReservationPendingException";
705
+ this.$fault = "client";
706
+ Object.setPrototypeOf(this, _CapacityReservationPendingException.prototype);
707
+ this.Message = opts.Message;
708
+ }
709
+ };
710
+ __name(_CapacityReservationPendingException, "CapacityReservationPendingException");
711
+ var CapacityReservationPendingException = _CapacityReservationPendingException;
712
+ var CapacityReservationStateEnum = {
713
+ FAILED: "failed",
714
+ PENDING: "pending",
715
+ PROVISIONED: "provisioned",
716
+ REBALANCING: "rebalancing"
717
+ };
718
+ var _CapacityUnitsLimitExceededException = class _CapacityUnitsLimitExceededException extends ElasticLoadBalancingV2ServiceException {
719
+ /**
720
+ * @internal
721
+ */
722
+ constructor(opts) {
723
+ super({
724
+ name: "CapacityUnitsLimitExceededException",
725
+ $fault: "client",
726
+ ...opts
727
+ });
728
+ this.name = "CapacityUnitsLimitExceededException";
729
+ this.$fault = "client";
730
+ Object.setPrototypeOf(this, _CapacityUnitsLimitExceededException.prototype);
731
+ this.Message = opts.Message;
732
+ }
733
+ };
734
+ __name(_CapacityUnitsLimitExceededException, "CapacityUnitsLimitExceededException");
735
+ var CapacityUnitsLimitExceededException = _CapacityUnitsLimitExceededException;
668
736
  var TrustStoreAssociationStatusEnum = {
669
737
  ACTIVE: "active",
670
738
  REMOVED: "removed"
@@ -1373,6 +1441,42 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Elasti
1373
1441
  };
1374
1442
  __name(_ResourceNotFoundException, "ResourceNotFoundException");
1375
1443
  var ResourceNotFoundException = _ResourceNotFoundException;
1444
+ var _InsufficientCapacityException = class _InsufficientCapacityException extends ElasticLoadBalancingV2ServiceException {
1445
+ /**
1446
+ * @internal
1447
+ */
1448
+ constructor(opts) {
1449
+ super({
1450
+ name: "InsufficientCapacityException",
1451
+ $fault: "server",
1452
+ ...opts
1453
+ });
1454
+ this.name = "InsufficientCapacityException";
1455
+ this.$fault = "server";
1456
+ Object.setPrototypeOf(this, _InsufficientCapacityException.prototype);
1457
+ this.Message = opts.Message;
1458
+ }
1459
+ };
1460
+ __name(_InsufficientCapacityException, "InsufficientCapacityException");
1461
+ var InsufficientCapacityException = _InsufficientCapacityException;
1462
+ var _PriorRequestNotCompleteException = class _PriorRequestNotCompleteException extends ElasticLoadBalancingV2ServiceException {
1463
+ /**
1464
+ * @internal
1465
+ */
1466
+ constructor(opts) {
1467
+ super({
1468
+ name: "PriorRequestNotCompleteException",
1469
+ $fault: "client",
1470
+ ...opts
1471
+ });
1472
+ this.name = "PriorRequestNotCompleteException";
1473
+ this.$fault = "client";
1474
+ Object.setPrototypeOf(this, _PriorRequestNotCompleteException.prototype);
1475
+ this.Message = opts.Message;
1476
+ }
1477
+ };
1478
+ __name(_PriorRequestNotCompleteException, "PriorRequestNotCompleteException");
1479
+ var PriorRequestNotCompleteException = _PriorRequestNotCompleteException;
1376
1480
  var EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = {
1377
1481
  off: "off",
1378
1482
  on: "on"
@@ -1539,6 +1643,16 @@ var se_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (input, conte
1539
1643
  });
1540
1644
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1541
1645
  }, "se_DescribeAccountLimitsCommand");
1646
+ var se_DescribeCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => {
1647
+ const headers = SHARED_HEADERS;
1648
+ let body;
1649
+ body = buildFormUrlencodedString({
1650
+ ...se_DescribeCapacityReservationInput(input, context),
1651
+ [_A]: _DCR,
1652
+ [_V]: _
1653
+ });
1654
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1655
+ }, "se_DescribeCapacityReservationCommand");
1542
1656
  var se_DescribeListenerAttributesCommand = /* @__PURE__ */ __name(async (input, context) => {
1543
1657
  const headers = SHARED_HEADERS;
1544
1658
  let body;
@@ -1709,6 +1823,16 @@ var se_GetTrustStoreRevocationContentCommand = /* @__PURE__ */ __name(async (inp
1709
1823
  });
1710
1824
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1711
1825
  }, "se_GetTrustStoreRevocationContentCommand");
1826
+ var se_ModifyCapacityReservationCommand = /* @__PURE__ */ __name(async (input, context) => {
1827
+ const headers = SHARED_HEADERS;
1828
+ let body;
1829
+ body = buildFormUrlencodedString({
1830
+ ...se_ModifyCapacityReservationInput(input, context),
1831
+ [_A]: _MCR,
1832
+ [_V]: _
1833
+ });
1834
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1835
+ }, "se_ModifyCapacityReservationCommand");
1712
1836
  var se_ModifyListenerCommand = /* @__PURE__ */ __name(async (input, context) => {
1713
1837
  const headers = SHARED_HEADERS;
1714
1838
  let body;
@@ -2067,6 +2191,19 @@ var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, cont
2067
2191
  };
2068
2192
  return response;
2069
2193
  }, "de_DescribeAccountLimitsCommand");
2194
+ var de_DescribeCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => {
2195
+ if (output.statusCode >= 300) {
2196
+ return de_CommandError(output, context);
2197
+ }
2198
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
2199
+ let contents = {};
2200
+ contents = de_DescribeCapacityReservationOutput(data.DescribeCapacityReservationResult, context);
2201
+ const response = {
2202
+ $metadata: deserializeMetadata(output),
2203
+ ...contents
2204
+ };
2205
+ return response;
2206
+ }, "de_DescribeCapacityReservationCommand");
2070
2207
  var de_DescribeListenerAttributesCommand = /* @__PURE__ */ __name(async (output, context) => {
2071
2208
  if (output.statusCode >= 300) {
2072
2209
  return de_CommandError(output, context);
@@ -2288,6 +2425,19 @@ var de_GetTrustStoreRevocationContentCommand = /* @__PURE__ */ __name(async (out
2288
2425
  };
2289
2426
  return response;
2290
2427
  }, "de_GetTrustStoreRevocationContentCommand");
2428
+ var de_ModifyCapacityReservationCommand = /* @__PURE__ */ __name(async (output, context) => {
2429
+ if (output.statusCode >= 300) {
2430
+ return de_CommandError(output, context);
2431
+ }
2432
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
2433
+ let contents = {};
2434
+ contents = de_ModifyCapacityReservationOutput(data.ModifyCapacityReservationResult, context);
2435
+ const response = {
2436
+ $metadata: deserializeMetadata(output),
2437
+ ...contents
2438
+ };
2439
+ return response;
2440
+ }, "de_ModifyCapacityReservationCommand");
2291
2441
  var de_ModifyListenerCommand = /* @__PURE__ */ __name(async (output, context) => {
2292
2442
  if (output.statusCode >= 300) {
2293
2443
  return de_CommandError(output, context);
@@ -2643,6 +2793,21 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
2643
2793
  case "ResourceNotFound":
2644
2794
  case "com.amazonaws.elasticloadbalancingv2#ResourceNotFoundException":
2645
2795
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2796
+ case "CapacityDecreaseRequestLimitExceeded":
2797
+ case "com.amazonaws.elasticloadbalancingv2#CapacityDecreaseRequestsLimitExceededException":
2798
+ throw await de_CapacityDecreaseRequestsLimitExceededExceptionRes(parsedOutput, context);
2799
+ case "CapacityReservationPending":
2800
+ case "com.amazonaws.elasticloadbalancingv2#CapacityReservationPendingException":
2801
+ throw await de_CapacityReservationPendingExceptionRes(parsedOutput, context);
2802
+ case "CapacityUnitsLimitExceeded":
2803
+ case "com.amazonaws.elasticloadbalancingv2#CapacityUnitsLimitExceededException":
2804
+ throw await de_CapacityUnitsLimitExceededExceptionRes(parsedOutput, context);
2805
+ case "InsufficientCapacity":
2806
+ case "com.amazonaws.elasticloadbalancingv2#InsufficientCapacityException":
2807
+ throw await de_InsufficientCapacityExceptionRes(parsedOutput, context);
2808
+ case "PriorRequestNotComplete":
2809
+ case "com.amazonaws.elasticloadbalancingv2#PriorRequestNotCompleteException":
2810
+ throw await de_PriorRequestNotCompleteExceptionRes(parsedOutput, context);
2646
2811
  default:
2647
2812
  const parsedBody = parsedOutput.body;
2648
2813
  return throwDefaultError({
@@ -2688,6 +2853,33 @@ var de_CaCertificatesBundleNotFoundExceptionRes = /* @__PURE__ */ __name(async (
2688
2853
  });
2689
2854
  return (0, import_smithy_client.decorateServiceException)(exception, body);
2690
2855
  }, "de_CaCertificatesBundleNotFoundExceptionRes");
2856
+ var de_CapacityDecreaseRequestsLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2857
+ const body = parsedOutput.body;
2858
+ const deserialized = de_CapacityDecreaseRequestsLimitExceededException(body.Error, context);
2859
+ const exception = new CapacityDecreaseRequestsLimitExceededException({
2860
+ $metadata: deserializeMetadata(parsedOutput),
2861
+ ...deserialized
2862
+ });
2863
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2864
+ }, "de_CapacityDecreaseRequestsLimitExceededExceptionRes");
2865
+ var de_CapacityReservationPendingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2866
+ const body = parsedOutput.body;
2867
+ const deserialized = de_CapacityReservationPendingException(body.Error, context);
2868
+ const exception = new CapacityReservationPendingException({
2869
+ $metadata: deserializeMetadata(parsedOutput),
2870
+ ...deserialized
2871
+ });
2872
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2873
+ }, "de_CapacityReservationPendingExceptionRes");
2874
+ var de_CapacityUnitsLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2875
+ const body = parsedOutput.body;
2876
+ const deserialized = de_CapacityUnitsLimitExceededException(body.Error, context);
2877
+ const exception = new CapacityUnitsLimitExceededException({
2878
+ $metadata: deserializeMetadata(parsedOutput),
2879
+ ...deserialized
2880
+ });
2881
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2882
+ }, "de_CapacityUnitsLimitExceededExceptionRes");
2691
2883
  var de_CertificateNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2692
2884
  const body = parsedOutput.body;
2693
2885
  const deserialized = de_CertificateNotFoundException(body.Error, context);
@@ -2769,6 +2961,15 @@ var de_IncompatibleProtocolsExceptionRes = /* @__PURE__ */ __name(async (parsedO
2769
2961
  });
2770
2962
  return (0, import_smithy_client.decorateServiceException)(exception, body);
2771
2963
  }, "de_IncompatibleProtocolsExceptionRes");
2964
+ var de_InsufficientCapacityExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2965
+ const body = parsedOutput.body;
2966
+ const deserialized = de_InsufficientCapacityException(body.Error, context);
2967
+ const exception = new InsufficientCapacityException({
2968
+ $metadata: deserializeMetadata(parsedOutput),
2969
+ ...deserialized
2970
+ });
2971
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2972
+ }, "de_InsufficientCapacityExceptionRes");
2772
2973
  var de_InvalidCaCertificatesBundleExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2773
2974
  const body = parsedOutput.body;
2774
2975
  const deserialized = de_InvalidCaCertificatesBundleException(body.Error, context);
@@ -2877,6 +3078,15 @@ var de_PriorityInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, c
2877
3078
  });
2878
3079
  return (0, import_smithy_client.decorateServiceException)(exception, body);
2879
3080
  }, "de_PriorityInUseExceptionRes");
3081
+ var de_PriorRequestNotCompleteExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3082
+ const body = parsedOutput.body;
3083
+ const deserialized = de_PriorRequestNotCompleteException(body.Error, context);
3084
+ const exception = new PriorRequestNotCompleteException({
3085
+ $metadata: deserializeMetadata(parsedOutput),
3086
+ ...deserialized
3087
+ });
3088
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3089
+ }, "de_PriorRequestNotCompleteExceptionRes");
2880
3090
  var de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2881
3091
  const body = parsedOutput.body;
2882
3092
  const deserialized = de_ResourceInUseException(body.Error, context);
@@ -3703,6 +3913,13 @@ var se_DescribeAccountLimitsInput = /* @__PURE__ */ __name((input, context) => {
3703
3913
  }
3704
3914
  return entries;
3705
3915
  }, "se_DescribeAccountLimitsInput");
3916
+ var se_DescribeCapacityReservationInput = /* @__PURE__ */ __name((input, context) => {
3917
+ const entries = {};
3918
+ if (input[_LBA] != null) {
3919
+ entries[_LBA] = input[_LBA];
3920
+ }
3921
+ return entries;
3922
+ }, "se_DescribeCapacityReservationInput");
3706
3923
  var se_DescribeListenerAttributesInput = /* @__PURE__ */ __name((input, context) => {
3707
3924
  const entries = {};
3708
3925
  if (input[_LA] != null) {
@@ -4212,6 +4429,30 @@ var se_Matcher = /* @__PURE__ */ __name((input, context) => {
4212
4429
  }
4213
4430
  return entries;
4214
4431
  }, "se_Matcher");
4432
+ var se_MinimumLoadBalancerCapacity = /* @__PURE__ */ __name((input, context) => {
4433
+ const entries = {};
4434
+ if (input[_CU] != null) {
4435
+ entries[_CU] = input[_CU];
4436
+ }
4437
+ return entries;
4438
+ }, "se_MinimumLoadBalancerCapacity");
4439
+ var se_ModifyCapacityReservationInput = /* @__PURE__ */ __name((input, context) => {
4440
+ const entries = {};
4441
+ if (input[_LBA] != null) {
4442
+ entries[_LBA] = input[_LBA];
4443
+ }
4444
+ if (input[_MLBC] != null) {
4445
+ const memberEntries = se_MinimumLoadBalancerCapacity(input[_MLBC], context);
4446
+ Object.entries(memberEntries).forEach(([key, value]) => {
4447
+ const loc = `MinimumLoadBalancerCapacity.${key}`;
4448
+ entries[loc] = value;
4449
+ });
4450
+ }
4451
+ if (input[_RCR] != null) {
4452
+ entries[_RCR] = input[_RCR];
4453
+ }
4454
+ return entries;
4455
+ }, "se_ModifyCapacityReservationInput");
4215
4456
  var se_ModifyListenerAttributesInput = /* @__PURE__ */ __name((input, context) => {
4216
4457
  var _a;
4217
4458
  const entries = {};
@@ -5314,6 +5555,37 @@ var de_CaCertificatesBundleNotFoundException = /* @__PURE__ */ __name((output, c
5314
5555
  }
5315
5556
  return contents;
5316
5557
  }, "de_CaCertificatesBundleNotFoundException");
5558
+ var de_CapacityDecreaseRequestsLimitExceededException = /* @__PURE__ */ __name((output, context) => {
5559
+ const contents = {};
5560
+ if (output[_Me] != null) {
5561
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
5562
+ }
5563
+ return contents;
5564
+ }, "de_CapacityDecreaseRequestsLimitExceededException");
5565
+ var de_CapacityReservationPendingException = /* @__PURE__ */ __name((output, context) => {
5566
+ const contents = {};
5567
+ if (output[_Me] != null) {
5568
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
5569
+ }
5570
+ return contents;
5571
+ }, "de_CapacityReservationPendingException");
5572
+ var de_CapacityReservationStatus = /* @__PURE__ */ __name((output, context) => {
5573
+ const contents = {};
5574
+ if (output[_Cod] != null) {
5575
+ contents[_Cod] = (0, import_smithy_client.expectString)(output[_Cod]);
5576
+ }
5577
+ if (output[_R] != null) {
5578
+ contents[_R] = (0, import_smithy_client.expectString)(output[_R]);
5579
+ }
5580
+ return contents;
5581
+ }, "de_CapacityReservationStatus");
5582
+ var de_CapacityUnitsLimitExceededException = /* @__PURE__ */ __name((output, context) => {
5583
+ const contents = {};
5584
+ if (output[_Me] != null) {
5585
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
5586
+ }
5587
+ return contents;
5588
+ }, "de_CapacityUnitsLimitExceededException");
5317
5589
  var de_Certificate = /* @__PURE__ */ __name((output, context) => {
5318
5590
  const contents = {};
5319
5591
  if (output[_CA] != null) {
@@ -5443,6 +5715,24 @@ var de_DescribeAccountLimitsOutput = /* @__PURE__ */ __name((output, context) =>
5443
5715
  }
5444
5716
  return contents;
5445
5717
  }, "de_DescribeAccountLimitsOutput");
5718
+ var de_DescribeCapacityReservationOutput = /* @__PURE__ */ __name((output, context) => {
5719
+ const contents = {};
5720
+ if (output[_LMT] != null) {
5721
+ contents[_LMT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_LMT]));
5722
+ }
5723
+ if (output[_DRR] != null) {
5724
+ contents[_DRR] = (0, import_smithy_client.strictParseInt32)(output[_DRR]);
5725
+ }
5726
+ if (output[_MLBC] != null) {
5727
+ contents[_MLBC] = de_MinimumLoadBalancerCapacity(output[_MLBC], context);
5728
+ }
5729
+ if (output.CapacityReservationState === "") {
5730
+ contents[_CRS] = [];
5731
+ } else if (output[_CRS] != null && output[_CRS][_m] != null) {
5732
+ contents[_CRS] = de_ZonalCapacityReservationStates((0, import_smithy_client.getArrayIfSingleItem)(output[_CRS][_m]), context);
5733
+ }
5734
+ return contents;
5735
+ }, "de_DescribeCapacityReservationOutput");
5446
5736
  var de_DescribeListenerAttributesOutput = /* @__PURE__ */ __name((output, context) => {
5447
5737
  const contents = {};
5448
5738
  if (output.Attributes === "") {
@@ -5742,6 +6032,13 @@ var de_IncompatibleProtocolsException = /* @__PURE__ */ __name((output, context)
5742
6032
  }
5743
6033
  return contents;
5744
6034
  }, "de_IncompatibleProtocolsException");
6035
+ var de_InsufficientCapacityException = /* @__PURE__ */ __name((output, context) => {
6036
+ const contents = {};
6037
+ if (output[_Me] != null) {
6038
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
6039
+ }
6040
+ return contents;
6041
+ }, "de_InsufficientCapacityException");
5745
6042
  var de_InvalidCaCertificatesBundleException = /* @__PURE__ */ __name((output, context) => {
5746
6043
  const contents = {};
5747
6044
  if (output[_Me] != null) {
@@ -6008,6 +6305,31 @@ var de_Matcher = /* @__PURE__ */ __name((output, context) => {
6008
6305
  }
6009
6306
  return contents;
6010
6307
  }, "de_Matcher");
6308
+ var de_MinimumLoadBalancerCapacity = /* @__PURE__ */ __name((output, context) => {
6309
+ const contents = {};
6310
+ if (output[_CU] != null) {
6311
+ contents[_CU] = (0, import_smithy_client.strictParseInt32)(output[_CU]);
6312
+ }
6313
+ return contents;
6314
+ }, "de_MinimumLoadBalancerCapacity");
6315
+ var de_ModifyCapacityReservationOutput = /* @__PURE__ */ __name((output, context) => {
6316
+ const contents = {};
6317
+ if (output[_LMT] != null) {
6318
+ contents[_LMT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_LMT]));
6319
+ }
6320
+ if (output[_DRR] != null) {
6321
+ contents[_DRR] = (0, import_smithy_client.strictParseInt32)(output[_DRR]);
6322
+ }
6323
+ if (output[_MLBC] != null) {
6324
+ contents[_MLBC] = de_MinimumLoadBalancerCapacity(output[_MLBC], context);
6325
+ }
6326
+ if (output.CapacityReservationState === "") {
6327
+ contents[_CRS] = [];
6328
+ } else if (output[_CRS] != null && output[_CRS][_m] != null) {
6329
+ contents[_CRS] = de_ZonalCapacityReservationStates((0, import_smithy_client.getArrayIfSingleItem)(output[_CRS][_m]), context);
6330
+ }
6331
+ return contents;
6332
+ }, "de_ModifyCapacityReservationOutput");
6011
6333
  var de_ModifyListenerAttributesOutput = /* @__PURE__ */ __name((output, context) => {
6012
6334
  const contents = {};
6013
6335
  if (output.Attributes === "") {
@@ -6110,6 +6432,13 @@ var de_PriorityInUseException = /* @__PURE__ */ __name((output, context) => {
6110
6432
  }
6111
6433
  return contents;
6112
6434
  }, "de_PriorityInUseException");
6435
+ var de_PriorRequestNotCompleteException = /* @__PURE__ */ __name((output, context) => {
6436
+ const contents = {};
6437
+ if (output[_Me] != null) {
6438
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
6439
+ }
6440
+ return contents;
6441
+ }, "de_PriorRequestNotCompleteException");
6113
6442
  var de_QueryStringConditionConfig = /* @__PURE__ */ __name((output, context) => {
6114
6443
  const contents = {};
6115
6444
  if (output.Values === "") {
@@ -6755,6 +7084,24 @@ var de_UnsupportedProtocolException = /* @__PURE__ */ __name((output, context) =
6755
7084
  }
6756
7085
  return contents;
6757
7086
  }, "de_UnsupportedProtocolException");
7087
+ var de_ZonalCapacityReservationState = /* @__PURE__ */ __name((output, context) => {
7088
+ const contents = {};
7089
+ if (output[_St] != null) {
7090
+ contents[_St] = de_CapacityReservationStatus(output[_St], context);
7091
+ }
7092
+ if (output[_AZ] != null) {
7093
+ contents[_AZ] = (0, import_smithy_client.expectString)(output[_AZ]);
7094
+ }
7095
+ if (output[_ECU] != null) {
7096
+ contents[_ECU] = (0, import_smithy_client.strictParseFloat)(output[_ECU]);
7097
+ }
7098
+ return contents;
7099
+ }, "de_ZonalCapacityReservationState");
7100
+ var de_ZonalCapacityReservationStates = /* @__PURE__ */ __name((output, context) => {
7101
+ return (output || []).filter((e) => e != null).map((entry) => {
7102
+ return de_ZonalCapacityReservationState(entry, context);
7103
+ });
7104
+ }, "de_ZonalCapacityReservationStates");
6758
7105
  var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
6759
7106
  httpStatusCode: output.statusCode,
6760
7107
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
@@ -6811,17 +7158,20 @@ var _CL = "CreateListener";
6811
7158
  var _CLB = "CreateLoadBalancer";
6812
7159
  var _COIP = "CustomerOwnedIpv4Pool";
6813
7160
  var _CR = "CreateRule";
7161
+ var _CRS = "CapacityReservationState";
6814
7162
  var _CS = "ClientSecret";
6815
7163
  var _CT = "ContentType";
6816
7164
  var _CTG = "CreateTargetGroup";
6817
7165
  var _CTS = "CreateTrustStore";
6818
7166
  var _CTr = "CreatedTime";
7167
+ var _CU = "CapacityUnits";
6819
7168
  var _Ci = "Ciphers";
6820
7169
  var _Co = "Conditions";
6821
7170
  var _Cod = "Code";
6822
7171
  var _D = "Description";
6823
7172
  var _DA = "DefaultActions";
6824
7173
  var _DAL = "DescribeAccountLimits";
7174
+ var _DCR = "DescribeCapacityReservation";
6825
7175
  var _DL = "DeleteListener";
6826
7176
  var _DLA = "DescribeListenerAttributes";
6827
7177
  var _DLB = "DeleteLoadBalancer";
@@ -6831,6 +7181,7 @@ var _DLC = "DescribeListenerCertificates";
6831
7181
  var _DLe = "DescribeListeners";
6832
7182
  var _DNSN = "DNSName";
6833
7183
  var _DR = "DeleteRule";
7184
+ var _DRR = "DecreaseRequestsRemaining";
6834
7185
  var _DRe = "DescribeRules";
6835
7186
  var _DS = "DurationSeconds";
6836
7187
  var _DSSLP = "DescribeSSLPolicies";
@@ -6846,6 +7197,7 @@ var _DTSR = "DescribeTrustStoreRevocations";
6846
7197
  var _DTSe = "DescribeTrustStores";
6847
7198
  var _DTe = "DescribeTags";
6848
7199
  var _E = "Enabled";
7200
+ var _ECU = "EffectiveCapacityUnits";
6849
7201
  var _EPFISN = "EnablePrefixForIpv6SourceNat";
6850
7202
  var _ESGIROPLT = "EnforceSecurityGroupInboundRulesOnPrivateLinkTraffic";
6851
7203
  var _F = "Field";
@@ -6886,15 +7238,18 @@ var _LBAo = "LoadBalancerArns";
6886
7238
  var _LBAoa = "LoadBalancerAddresses";
6887
7239
  var _LBN = "LoadBalancerName";
6888
7240
  var _LBT = "LoadBalancerType";
7241
+ var _LMT = "LastModifiedTime";
6889
7242
  var _Li = "Limits";
6890
7243
  var _Lo = "Location";
6891
7244
  var _M = "Matcher";
6892
7245
  var _MA = "MutualAuthentication";
6893
7246
  var _MB = "MessageBody";
7247
+ var _MCR = "ModifyCapacityReservation";
6894
7248
  var _MIE = "MitigationInEffect";
6895
7249
  var _ML = "ModifyListener";
6896
7250
  var _MLA = "ModifyListenerAttributes";
6897
7251
  var _MLBA = "ModifyLoadBalancerAttributes";
7252
+ var _MLBC = "MinimumLoadBalancerCapacity";
6898
7253
  var _MR = "ModifyRule";
6899
7254
  var _MTG = "ModifyTargetGroup";
6900
7255
  var _MTGA = "ModifyTargetGroupAttributes";
@@ -6928,6 +7283,7 @@ var _RAe = "ResourceArn";
6928
7283
  var _RAu = "RuleArn";
6929
7284
  var _RAul = "RuleArns";
6930
7285
  var _RC = "RedirectConfig";
7286
+ var _RCR = "ResetCapacityReservation";
6931
7287
  var _RCe = "RevocationContents";
6932
7288
  var _RI = "RevocationIds";
6933
7289
  var _RIe = "RevocationId";
@@ -7233,6 +7589,20 @@ var _DescribeAccountLimitsCommand = class _DescribeAccountLimitsCommand extends
7233
7589
  __name(_DescribeAccountLimitsCommand, "DescribeAccountLimitsCommand");
7234
7590
  var DescribeAccountLimitsCommand = _DescribeAccountLimitsCommand;
7235
7591
 
7592
+ // src/commands/DescribeCapacityReservationCommand.ts
7593
+
7594
+
7595
+
7596
+ var _DescribeCapacityReservationCommand = class _DescribeCapacityReservationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
7597
+ return [
7598
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
7599
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
7600
+ ];
7601
+ }).s("ElasticLoadBalancing_v10", "DescribeCapacityReservation", {}).n("ElasticLoadBalancingV2Client", "DescribeCapacityReservationCommand").f(void 0, void 0).ser(se_DescribeCapacityReservationCommand).de(de_DescribeCapacityReservationCommand).build() {
7602
+ };
7603
+ __name(_DescribeCapacityReservationCommand, "DescribeCapacityReservationCommand");
7604
+ var DescribeCapacityReservationCommand = _DescribeCapacityReservationCommand;
7605
+
7236
7606
  // src/commands/DescribeListenerAttributesCommand.ts
7237
7607
 
7238
7608
 
@@ -7471,6 +7841,20 @@ var _GetTrustStoreRevocationContentCommand = class _GetTrustStoreRevocationConte
7471
7841
  __name(_GetTrustStoreRevocationContentCommand, "GetTrustStoreRevocationContentCommand");
7472
7842
  var GetTrustStoreRevocationContentCommand = _GetTrustStoreRevocationContentCommand;
7473
7843
 
7844
+ // src/commands/ModifyCapacityReservationCommand.ts
7845
+
7846
+
7847
+
7848
+ var _ModifyCapacityReservationCommand = class _ModifyCapacityReservationCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
7849
+ return [
7850
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
7851
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
7852
+ ];
7853
+ }).s("ElasticLoadBalancing_v10", "ModifyCapacityReservation", {}).n("ElasticLoadBalancingV2Client", "ModifyCapacityReservationCommand").f(void 0, void 0).ser(se_ModifyCapacityReservationCommand).de(de_ModifyCapacityReservationCommand).build() {
7854
+ };
7855
+ __name(_ModifyCapacityReservationCommand, "ModifyCapacityReservationCommand");
7856
+ var ModifyCapacityReservationCommand = _ModifyCapacityReservationCommand;
7857
+
7474
7858
  // src/commands/ModifyListenerAttributesCommand.ts
7475
7859
 
7476
7860
 
@@ -7699,6 +8083,7 @@ var commands = {
7699
8083
  DeleteTrustStoreCommand,
7700
8084
  DeregisterTargetsCommand,
7701
8085
  DescribeAccountLimitsCommand,
8086
+ DescribeCapacityReservationCommand,
7702
8087
  DescribeListenerAttributesCommand,
7703
8088
  DescribeListenerCertificatesCommand,
7704
8089
  DescribeListenersCommand,
@@ -7716,6 +8101,7 @@ var commands = {
7716
8101
  GetResourcePolicyCommand,
7717
8102
  GetTrustStoreCaCertificatesBundleCommand,
7718
8103
  GetTrustStoreRevocationContentCommand,
8104
+ ModifyCapacityReservationCommand,
7719
8105
  ModifyListenerCommand,
7720
8106
  ModifyListenerAttributesCommand,
7721
8107
  ModifyLoadBalancerAttributesCommand,
@@ -8002,6 +8388,7 @@ var waitUntilTargetInService = /* @__PURE__ */ __name(async (params, input) => {
8002
8388
  DeleteTrustStoreCommand,
8003
8389
  DeregisterTargetsCommand,
8004
8390
  DescribeAccountLimitsCommand,
8391
+ DescribeCapacityReservationCommand,
8005
8392
  DescribeListenerAttributesCommand,
8006
8393
  DescribeListenerCertificatesCommand,
8007
8394
  DescribeListenersCommand,
@@ -8019,6 +8406,7 @@ var waitUntilTargetInService = /* @__PURE__ */ __name(async (params, input) => {
8019
8406
  GetResourcePolicyCommand,
8020
8407
  GetTrustStoreCaCertificatesBundleCommand,
8021
8408
  GetTrustStoreRevocationContentCommand,
8409
+ ModifyCapacityReservationCommand,
8022
8410
  ModifyListenerAttributesCommand,
8023
8411
  ModifyListenerCommand,
8024
8412
  ModifyLoadBalancerAttributesCommand,
@@ -8077,6 +8465,10 @@ var waitUntilTargetInService = /* @__PURE__ */ __name(async (params, input) => {
8077
8465
  AnomalyResultEnum,
8078
8466
  AvailabilityZoneNotSupportedException,
8079
8467
  CaCertificatesBundleNotFoundException,
8468
+ CapacityDecreaseRequestsLimitExceededException,
8469
+ CapacityReservationPendingException,
8470
+ CapacityReservationStateEnum,
8471
+ CapacityUnitsLimitExceededException,
8080
8472
  TrustStoreAssociationStatusEnum,
8081
8473
  ProtocolEnum,
8082
8474
  DuplicateListenerException,
@@ -8125,6 +8517,8 @@ var waitUntilTargetInService = /* @__PURE__ */ __name(async (params, input) => {
8125
8517
  HealthUnavailableException,
8126
8518
  RevocationIdNotFoundException,
8127
8519
  ResourceNotFoundException,
8520
+ InsufficientCapacityException,
8521
+ PriorRequestNotCompleteException,
8128
8522
  EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum
8129
8523
  });
8130
8524