@aws-sdk/client-elastic-load-balancing-v2 3.614.0 → 3.620.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 (36) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +250 -5
  3. package/dist-es/ElasticLoadBalancingV2.js +4 -0
  4. package/dist-es/ElasticLoadBalancingV2Client.js +5 -5
  5. package/dist-es/commands/DeleteSharedTrustStoreAssociationCommand.js +24 -0
  6. package/dist-es/commands/GetResourcePolicyCommand.js +24 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/models/models_0.js +43 -0
  9. package/dist-es/protocols/Aws_query.js +142 -1
  10. package/dist-types/ElasticLoadBalancingV2.d.ts +14 -0
  11. package/dist-types/ElasticLoadBalancingV2Client.d.ts +6 -4
  12. package/dist-types/commands/CreateListenerCommand.d.ts +2 -0
  13. package/dist-types/commands/DeleteSharedTrustStoreAssociationCommand.d.ts +68 -0
  14. package/dist-types/commands/DescribeListenersCommand.d.ts +1 -0
  15. package/dist-types/commands/DescribeTrustStoreRevocationsCommand.d.ts +2 -2
  16. package/dist-types/commands/DescribeTrustStoresCommand.d.ts +1 -2
  17. package/dist-types/commands/GetResourcePolicyCommand.d.ts +63 -0
  18. package/dist-types/commands/ModifyListenerCommand.d.ts +2 -0
  19. package/dist-types/commands/ModifyTrustStoreCommand.d.ts +1 -1
  20. package/dist-types/commands/index.d.ts +2 -0
  21. package/dist-types/models/models_0.d.ts +101 -1
  22. package/dist-types/protocols/Aws_query.d.ts +18 -0
  23. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  24. package/dist-types/runtimeConfig.d.ts +1 -1
  25. package/dist-types/runtimeConfig.native.d.ts +1 -1
  26. package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +40 -0
  27. package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +14 -2
  28. package/dist-types/ts3.4/commands/DeleteSharedTrustStoreAssociationCommand.d.ts +40 -0
  29. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  31. package/dist-types/ts3.4/models/models_0.d.ts +48 -0
  32. package/dist-types/ts3.4/protocols/Aws_query.d.ts +24 -0
  33. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  34. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  35. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  36. package/package.json +18 -18
package/README.md CHANGED
@@ -319,6 +319,14 @@ DeleteRule
319
319
 
320
320
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elastic-load-balancing-v2/command/DeleteRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/DeleteRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/DeleteRuleCommandOutput/)
321
321
 
322
+ </details>
323
+ <details>
324
+ <summary>
325
+ DeleteSharedTrustStoreAssociation
326
+ </summary>
327
+
328
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elastic-load-balancing-v2/command/DeleteSharedTrustStoreAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/DeleteSharedTrustStoreAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/DeleteSharedTrustStoreAssociationCommandOutput/)
329
+
322
330
  </details>
323
331
  <details>
324
332
  <summary>
@@ -455,6 +463,14 @@ DescribeTrustStores
455
463
 
456
464
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elastic-load-balancing-v2/command/DescribeTrustStoresCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/DescribeTrustStoresCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/DescribeTrustStoresCommandOutput/)
457
465
 
466
+ </details>
467
+ <details>
468
+ <summary>
469
+ GetResourcePolicy
470
+ </summary>
471
+
472
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/elastic-load-balancing-v2/command/GetResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/GetResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-elastic-load-balancing-v2/Interface/GetResourcePolicyCommandOutput/)
473
+
458
474
  </details>
459
475
  <details>
460
476
  <summary>
package/dist-cjs/index.js CHANGED
@@ -38,9 +38,11 @@ __export(src_exports, {
38
38
  CreateRuleCommand: () => CreateRuleCommand,
39
39
  CreateTargetGroupCommand: () => CreateTargetGroupCommand,
40
40
  CreateTrustStoreCommand: () => CreateTrustStoreCommand,
41
+ DeleteAssociationSameAccountException: () => DeleteAssociationSameAccountException,
41
42
  DeleteListenerCommand: () => DeleteListenerCommand,
42
43
  DeleteLoadBalancerCommand: () => DeleteLoadBalancerCommand,
43
44
  DeleteRuleCommand: () => DeleteRuleCommand,
45
+ DeleteSharedTrustStoreAssociationCommand: () => DeleteSharedTrustStoreAssociationCommand,
44
46
  DeleteTargetGroupCommand: () => DeleteTargetGroupCommand,
45
47
  DeleteTrustStoreCommand: () => DeleteTrustStoreCommand,
46
48
  DeregisterTargetsCommand: () => DeregisterTargetsCommand,
@@ -68,6 +70,7 @@ __export(src_exports, {
68
70
  ElasticLoadBalancingV2Client: () => ElasticLoadBalancingV2Client,
69
71
  ElasticLoadBalancingV2ServiceException: () => ElasticLoadBalancingV2ServiceException,
70
72
  EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum: () => EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum,
73
+ GetResourcePolicyCommand: () => GetResourcePolicyCommand,
71
74
  GetTrustStoreCaCertificatesBundleCommand: () => GetTrustStoreCaCertificatesBundleCommand,
72
75
  GetTrustStoreRevocationContentCommand: () => GetTrustStoreRevocationContentCommand,
73
76
  HealthUnavailableException: () => HealthUnavailableException,
@@ -102,6 +105,7 @@ __export(src_exports, {
102
105
  RemoveTagsCommand: () => RemoveTagsCommand,
103
106
  RemoveTrustStoreRevocationsCommand: () => RemoveTrustStoreRevocationsCommand,
104
107
  ResourceInUseException: () => ResourceInUseException,
108
+ ResourceNotFoundException: () => ResourceNotFoundException,
105
109
  RevocationContentNotFoundException: () => RevocationContentNotFoundException,
106
110
  RevocationIdNotFoundException: () => RevocationIdNotFoundException,
107
111
  RevocationType: () => RevocationType,
@@ -130,6 +134,8 @@ __export(src_exports, {
130
134
  TooManyTrustStoreRevocationEntriesException: () => TooManyTrustStoreRevocationEntriesException,
131
135
  TooManyTrustStoresException: () => TooManyTrustStoresException,
132
136
  TooManyUniqueTargetGroupsPerLoadBalancerException: () => TooManyUniqueTargetGroupsPerLoadBalancerException,
137
+ TrustStoreAssociationNotFoundException: () => TrustStoreAssociationNotFoundException,
138
+ TrustStoreAssociationStatusEnum: () => TrustStoreAssociationStatusEnum,
133
139
  TrustStoreInUseException: () => TrustStoreInUseException,
134
140
  TrustStoreNotFoundException: () => TrustStoreNotFoundException,
135
141
  TrustStoreNotReadyException: () => TrustStoreNotReadyException,
@@ -257,19 +263,19 @@ var _ElasticLoadBalancingV2Client = class _ElasticLoadBalancingV2Client extends
257
263
  const _config_1 = resolveClientEndpointParameters(_config_0);
258
264
  const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
259
265
  const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
260
- const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
261
- const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
262
- const _config_6 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_5);
266
+ const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
267
+ const _config_5 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_4);
268
+ const _config_6 = (0, import_middleware_retry.resolveRetryConfig)(_config_5);
263
269
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
264
270
  const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
265
271
  super(_config_8);
266
272
  this.config = _config_8;
267
- this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
268
- this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
269
273
  this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
270
274
  this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
271
275
  this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
272
276
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
277
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
278
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
273
279
  this.middlewareStack.use(
274
280
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
275
281
  httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
@@ -646,6 +652,10 @@ var _CaCertificatesBundleNotFoundException = class _CaCertificatesBundleNotFound
646
652
  };
647
653
  __name(_CaCertificatesBundleNotFoundException, "CaCertificatesBundleNotFoundException");
648
654
  var CaCertificatesBundleNotFoundException = _CaCertificatesBundleNotFoundException;
655
+ var TrustStoreAssociationStatusEnum = {
656
+ ACTIVE: "active",
657
+ REMOVED: "removed"
658
+ };
649
659
  var ProtocolEnum = {
650
660
  GENEVE: "GENEVE",
651
661
  HTTP: "HTTP",
@@ -1193,6 +1203,42 @@ var _TooManyTrustStoresException = class _TooManyTrustStoresException extends El
1193
1203
  };
1194
1204
  __name(_TooManyTrustStoresException, "TooManyTrustStoresException");
1195
1205
  var TooManyTrustStoresException = _TooManyTrustStoresException;
1206
+ var _DeleteAssociationSameAccountException = class _DeleteAssociationSameAccountException extends ElasticLoadBalancingV2ServiceException {
1207
+ /**
1208
+ * @internal
1209
+ */
1210
+ constructor(opts) {
1211
+ super({
1212
+ name: "DeleteAssociationSameAccountException",
1213
+ $fault: "client",
1214
+ ...opts
1215
+ });
1216
+ this.name = "DeleteAssociationSameAccountException";
1217
+ this.$fault = "client";
1218
+ Object.setPrototypeOf(this, _DeleteAssociationSameAccountException.prototype);
1219
+ this.Message = opts.Message;
1220
+ }
1221
+ };
1222
+ __name(_DeleteAssociationSameAccountException, "DeleteAssociationSameAccountException");
1223
+ var DeleteAssociationSameAccountException = _DeleteAssociationSameAccountException;
1224
+ var _TrustStoreAssociationNotFoundException = class _TrustStoreAssociationNotFoundException extends ElasticLoadBalancingV2ServiceException {
1225
+ /**
1226
+ * @internal
1227
+ */
1228
+ constructor(opts) {
1229
+ super({
1230
+ name: "TrustStoreAssociationNotFoundException",
1231
+ $fault: "client",
1232
+ ...opts
1233
+ });
1234
+ this.name = "TrustStoreAssociationNotFoundException";
1235
+ this.$fault = "client";
1236
+ Object.setPrototypeOf(this, _TrustStoreAssociationNotFoundException.prototype);
1237
+ this.Message = opts.Message;
1238
+ }
1239
+ };
1240
+ __name(_TrustStoreAssociationNotFoundException, "TrustStoreAssociationNotFoundException");
1241
+ var TrustStoreAssociationNotFoundException = _TrustStoreAssociationNotFoundException;
1196
1242
  var _TrustStoreInUseException = class _TrustStoreInUseException extends ElasticLoadBalancingV2ServiceException {
1197
1243
  /**
1198
1244
  * @internal
@@ -1292,6 +1338,24 @@ var _RevocationIdNotFoundException = class _RevocationIdNotFoundException extend
1292
1338
  };
1293
1339
  __name(_RevocationIdNotFoundException, "RevocationIdNotFoundException");
1294
1340
  var RevocationIdNotFoundException = _RevocationIdNotFoundException;
1341
+ var _ResourceNotFoundException = class _ResourceNotFoundException extends ElasticLoadBalancingV2ServiceException {
1342
+ /**
1343
+ * @internal
1344
+ */
1345
+ constructor(opts) {
1346
+ super({
1347
+ name: "ResourceNotFoundException",
1348
+ $fault: "client",
1349
+ ...opts
1350
+ });
1351
+ this.name = "ResourceNotFoundException";
1352
+ this.$fault = "client";
1353
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
1354
+ this.Message = opts.Message;
1355
+ }
1356
+ };
1357
+ __name(_ResourceNotFoundException, "ResourceNotFoundException");
1358
+ var ResourceNotFoundException = _ResourceNotFoundException;
1295
1359
  var EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum = {
1296
1360
  off: "off",
1297
1361
  on: "on"
@@ -1408,6 +1472,16 @@ var se_DeleteRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
1408
1472
  });
1409
1473
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1410
1474
  }, "se_DeleteRuleCommand");
1475
+ var se_DeleteSharedTrustStoreAssociationCommand = /* @__PURE__ */ __name(async (input, context) => {
1476
+ const headers = SHARED_HEADERS;
1477
+ let body;
1478
+ body = buildFormUrlencodedString({
1479
+ ...se_DeleteSharedTrustStoreAssociationInput(input, context),
1480
+ [_A]: _DSTSA,
1481
+ [_V]: _
1482
+ });
1483
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1484
+ }, "se_DeleteSharedTrustStoreAssociationCommand");
1411
1485
  var se_DeleteTargetGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
1412
1486
  const headers = SHARED_HEADERS;
1413
1487
  let body;
@@ -1578,6 +1652,16 @@ var se_DescribeTrustStoresCommand = /* @__PURE__ */ __name(async (input, context
1578
1652
  });
1579
1653
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1580
1654
  }, "se_DescribeTrustStoresCommand");
1655
+ var se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
1656
+ const headers = SHARED_HEADERS;
1657
+ let body;
1658
+ body = buildFormUrlencodedString({
1659
+ ...se_GetResourcePolicyInput(input, context),
1660
+ [_A]: _GRP,
1661
+ [_V]: _
1662
+ });
1663
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1664
+ }, "se_GetResourcePolicyCommand");
1581
1665
  var se_GetTrustStoreCaCertificatesBundleCommand = /* @__PURE__ */ __name(async (input, context) => {
1582
1666
  const headers = SHARED_HEADERS;
1583
1667
  let body;
@@ -1881,6 +1965,19 @@ var de_DeleteRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
1881
1965
  };
1882
1966
  return response;
1883
1967
  }, "de_DeleteRuleCommand");
1968
+ var de_DeleteSharedTrustStoreAssociationCommand = /* @__PURE__ */ __name(async (output, context) => {
1969
+ if (output.statusCode >= 300) {
1970
+ return de_CommandError(output, context);
1971
+ }
1972
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
1973
+ let contents = {};
1974
+ contents = de_DeleteSharedTrustStoreAssociationOutput(data.DeleteSharedTrustStoreAssociationResult, context);
1975
+ const response = {
1976
+ $metadata: deserializeMetadata(output),
1977
+ ...contents
1978
+ };
1979
+ return response;
1980
+ }, "de_DeleteSharedTrustStoreAssociationCommand");
1884
1981
  var de_DeleteTargetGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
1885
1982
  if (output.statusCode >= 300) {
1886
1983
  return de_CommandError(output, context);
@@ -2102,6 +2199,19 @@ var de_DescribeTrustStoresCommand = /* @__PURE__ */ __name(async (output, contex
2102
2199
  };
2103
2200
  return response;
2104
2201
  }, "de_DescribeTrustStoresCommand");
2202
+ var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
2203
+ if (output.statusCode >= 300) {
2204
+ return de_CommandError(output, context);
2205
+ }
2206
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
2207
+ let contents = {};
2208
+ contents = de_GetResourcePolicyOutput(data.GetResourcePolicyResult, context);
2209
+ const response = {
2210
+ $metadata: deserializeMetadata(output),
2211
+ ...contents
2212
+ };
2213
+ return response;
2214
+ }, "de_GetResourcePolicyCommand");
2105
2215
  var de_GetTrustStoreCaCertificatesBundleCommand = /* @__PURE__ */ __name(async (output, context) => {
2106
2216
  if (output.statusCode >= 300) {
2107
2217
  return de_CommandError(output, context);
@@ -2449,6 +2559,12 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
2449
2559
  case "TooManyTrustStores":
2450
2560
  case "com.amazonaws.elasticloadbalancingv2#TooManyTrustStoresException":
2451
2561
  throw await de_TooManyTrustStoresExceptionRes(parsedOutput, context);
2562
+ case "AssociationNotFound":
2563
+ case "com.amazonaws.elasticloadbalancingv2#TrustStoreAssociationNotFoundException":
2564
+ throw await de_TrustStoreAssociationNotFoundExceptionRes(parsedOutput, context);
2565
+ case "DeleteAssociationSameAccount":
2566
+ case "com.amazonaws.elasticloadbalancingv2#DeleteAssociationSameAccountException":
2567
+ throw await de_DeleteAssociationSameAccountExceptionRes(parsedOutput, context);
2452
2568
  case "TrustStoreInUse":
2453
2569
  case "com.amazonaws.elasticloadbalancingv2#TrustStoreInUseException":
2454
2570
  throw await de_TrustStoreInUseExceptionRes(parsedOutput, context);
@@ -2461,6 +2577,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
2461
2577
  case "RevocationIdNotFound":
2462
2578
  case "com.amazonaws.elasticloadbalancingv2#RevocationIdNotFoundException":
2463
2579
  throw await de_RevocationIdNotFoundExceptionRes(parsedOutput, context);
2580
+ case "ResourceNotFound":
2581
+ case "com.amazonaws.elasticloadbalancingv2#ResourceNotFoundException":
2582
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
2464
2583
  default:
2465
2584
  const parsedBody = parsedOutput.body;
2466
2585
  return throwDefaultError({
@@ -2515,6 +2634,15 @@ var de_CertificateNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOut
2515
2634
  });
2516
2635
  return (0, import_smithy_client.decorateServiceException)(exception, body);
2517
2636
  }, "de_CertificateNotFoundExceptionRes");
2637
+ var de_DeleteAssociationSameAccountExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2638
+ const body = parsedOutput.body;
2639
+ const deserialized = de_DeleteAssociationSameAccountException(body.Error, context);
2640
+ const exception = new DeleteAssociationSameAccountException({
2641
+ $metadata: deserializeMetadata(parsedOutput),
2642
+ ...deserialized
2643
+ });
2644
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2645
+ }, "de_DeleteAssociationSameAccountExceptionRes");
2518
2646
  var de_DuplicateListenerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2519
2647
  const body = parsedOutput.body;
2520
2648
  const deserialized = de_DuplicateListenerException(body.Error, context);
@@ -2695,6 +2823,15 @@ var de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, c
2695
2823
  });
2696
2824
  return (0, import_smithy_client.decorateServiceException)(exception, body);
2697
2825
  }, "de_ResourceInUseExceptionRes");
2826
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2827
+ const body = parsedOutput.body;
2828
+ const deserialized = de_ResourceNotFoundException(body.Error, context);
2829
+ const exception = new ResourceNotFoundException({
2830
+ $metadata: deserializeMetadata(parsedOutput),
2831
+ ...deserialized
2832
+ });
2833
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
2834
+ }, "de_ResourceNotFoundExceptionRes");
2698
2835
  var de_RevocationContentNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2699
2836
  const body = parsedOutput.body;
2700
2837
  const deserialized = de_RevocationContentNotFoundException(body.Error, context);
@@ -2866,6 +3003,15 @@ var de_TooManyUniqueTargetGroupsPerLoadBalancerExceptionRes = /* @__PURE__ */ __
2866
3003
  });
2867
3004
  return (0, import_smithy_client.decorateServiceException)(exception, body);
2868
3005
  }, "de_TooManyUniqueTargetGroupsPerLoadBalancerExceptionRes");
3006
+ var de_TrustStoreAssociationNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3007
+ const body = parsedOutput.body;
3008
+ const deserialized = de_TrustStoreAssociationNotFoundException(body.Error, context);
3009
+ const exception = new TrustStoreAssociationNotFoundException({
3010
+ $metadata: deserializeMetadata(parsedOutput),
3011
+ ...deserialized
3012
+ });
3013
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3014
+ }, "de_TrustStoreAssociationNotFoundExceptionRes");
2869
3015
  var de_TrustStoreInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
2870
3016
  const body = parsedOutput.body;
2871
3017
  const deserialized = de_TrustStoreInUseException(body.Error, context);
@@ -3439,6 +3585,16 @@ var se_DeleteRuleInput = /* @__PURE__ */ __name((input, context) => {
3439
3585
  }
3440
3586
  return entries;
3441
3587
  }, "se_DeleteRuleInput");
3588
+ var se_DeleteSharedTrustStoreAssociationInput = /* @__PURE__ */ __name((input, context) => {
3589
+ const entries = {};
3590
+ if (input[_TSA] != null) {
3591
+ entries[_TSA] = input[_TSA];
3592
+ }
3593
+ if (input[_RAe] != null) {
3594
+ entries[_RAe] = input[_RAe];
3595
+ }
3596
+ return entries;
3597
+ }, "se_DeleteSharedTrustStoreAssociationInput");
3442
3598
  var se_DeleteTargetGroupInput = /* @__PURE__ */ __name((input, context) => {
3443
3599
  const entries = {};
3444
3600
  if (input[_TGA] != null) {
@@ -3791,6 +3947,13 @@ var se_ForwardActionConfig = /* @__PURE__ */ __name((input, context) => {
3791
3947
  }
3792
3948
  return entries;
3793
3949
  }, "se_ForwardActionConfig");
3950
+ var se_GetResourcePolicyInput = /* @__PURE__ */ __name((input, context) => {
3951
+ const entries = {};
3952
+ if (input[_RAe] != null) {
3953
+ entries[_RAe] = input[_RAe];
3954
+ }
3955
+ return entries;
3956
+ }, "se_GetResourcePolicyInput");
3794
3957
  var se_GetTrustStoreCaCertificatesBundleInput = /* @__PURE__ */ __name((input, context) => {
3795
3958
  const entries = {};
3796
3959
  if (input[_TSA] != null) {
@@ -4134,6 +4297,9 @@ var se_MutualAuthenticationAttributes = /* @__PURE__ */ __name((input, context)
4134
4297
  if (input[_ICCE] != null) {
4135
4298
  entries[_ICCE] = input[_ICCE];
4136
4299
  }
4300
+ if (input[_TSAS] != null) {
4301
+ entries[_TSAS] = input[_TSAS];
4302
+ }
4137
4303
  return entries;
4138
4304
  }, "se_MutualAuthenticationAttributes");
4139
4305
  var se_PathPatternConditionConfig = /* @__PURE__ */ __name((input, context) => {
@@ -5090,6 +5256,13 @@ var de_CreateTrustStoreOutput = /* @__PURE__ */ __name((output, context) => {
5090
5256
  }
5091
5257
  return contents;
5092
5258
  }, "de_CreateTrustStoreOutput");
5259
+ var de_DeleteAssociationSameAccountException = /* @__PURE__ */ __name((output, context) => {
5260
+ const contents = {};
5261
+ if (output[_Me] != null) {
5262
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
5263
+ }
5264
+ return contents;
5265
+ }, "de_DeleteAssociationSameAccountException");
5093
5266
  var de_DeleteListenerOutput = /* @__PURE__ */ __name((output, context) => {
5094
5267
  const contents = {};
5095
5268
  return contents;
@@ -5102,6 +5275,10 @@ var de_DeleteRuleOutput = /* @__PURE__ */ __name((output, context) => {
5102
5275
  const contents = {};
5103
5276
  return contents;
5104
5277
  }, "de_DeleteRuleOutput");
5278
+ var de_DeleteSharedTrustStoreAssociationOutput = /* @__PURE__ */ __name((output, context) => {
5279
+ const contents = {};
5280
+ return contents;
5281
+ }, "de_DeleteSharedTrustStoreAssociationOutput");
5105
5282
  var de_DeleteTargetGroupOutput = /* @__PURE__ */ __name((output, context) => {
5106
5283
  const contents = {};
5107
5284
  return contents;
@@ -5351,6 +5528,13 @@ var de_ForwardActionConfig = /* @__PURE__ */ __name((output, context) => {
5351
5528
  }
5352
5529
  return contents;
5353
5530
  }, "de_ForwardActionConfig");
5531
+ var de_GetResourcePolicyOutput = /* @__PURE__ */ __name((output, context) => {
5532
+ const contents = {};
5533
+ if (output[_Pol] != null) {
5534
+ contents[_Pol] = (0, import_smithy_client.expectString)(output[_Pol]);
5535
+ }
5536
+ return contents;
5537
+ }, "de_GetResourcePolicyOutput");
5354
5538
  var de_GetTrustStoreCaCertificatesBundleOutput = /* @__PURE__ */ __name((output, context) => {
5355
5539
  const contents = {};
5356
5540
  if (output[_Lo] != null) {
@@ -5722,6 +5906,9 @@ var de_MutualAuthenticationAttributes = /* @__PURE__ */ __name((output, context)
5722
5906
  if (output[_ICCE] != null) {
5723
5907
  contents[_ICCE] = (0, import_smithy_client.parseBoolean)(output[_ICCE]);
5724
5908
  }
5909
+ if (output[_TSAS] != null) {
5910
+ contents[_TSAS] = (0, import_smithy_client.expectString)(output[_TSAS]);
5911
+ }
5725
5912
  return contents;
5726
5913
  }, "de_MutualAuthenticationAttributes");
5727
5914
  var de_OperationNotPermittedException = /* @__PURE__ */ __name((output, context) => {
@@ -5816,6 +6003,13 @@ var de_ResourceInUseException = /* @__PURE__ */ __name((output, context) => {
5816
6003
  }
5817
6004
  return contents;
5818
6005
  }, "de_ResourceInUseException");
6006
+ var de_ResourceNotFoundException = /* @__PURE__ */ __name((output, context) => {
6007
+ const contents = {};
6008
+ if (output[_Me] != null) {
6009
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
6010
+ }
6011
+ return contents;
6012
+ }, "de_ResourceNotFoundException");
5819
6013
  var de_RevocationContentNotFoundException = /* @__PURE__ */ __name((output, context) => {
5820
6014
  const contents = {};
5821
6015
  if (output[_Me] != null) {
@@ -6308,6 +6502,13 @@ var de_TrustStoreAssociation = /* @__PURE__ */ __name((output, context) => {
6308
6502
  }
6309
6503
  return contents;
6310
6504
  }, "de_TrustStoreAssociation");
6505
+ var de_TrustStoreAssociationNotFoundException = /* @__PURE__ */ __name((output, context) => {
6506
+ const contents = {};
6507
+ if (output[_Me] != null) {
6508
+ contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
6509
+ }
6510
+ return contents;
6511
+ }, "de_TrustStoreAssociationNotFoundException");
6311
6512
  var de_TrustStoreAssociations = /* @__PURE__ */ __name((output, context) => {
6312
6513
  return (output || []).filter((e) => e != null).map((entry) => {
6313
6514
  return de_TrustStoreAssociation(entry, context);
@@ -6444,6 +6645,7 @@ var _DR = "DeleteRule";
6444
6645
  var _DRe = "DescribeRules";
6445
6646
  var _DS = "DurationSeconds";
6446
6647
  var _DSSLP = "DescribeSSLPolicies";
6648
+ var _DSTSA = "DeleteSharedTrustStoreAssociation";
6447
6649
  var _DT = "DeregisterTargets";
6448
6650
  var _DTG = "DeleteTargetGroup";
6449
6651
  var _DTGA = "DescribeTargetGroupAttributes";
@@ -6460,6 +6662,7 @@ var _F = "Field";
6460
6662
  var _FC = "ForwardConfig";
6461
6663
  var _FRC = "FixedResponseConfig";
6462
6664
  var _GC = "GrpcCode";
6665
+ var _GRP = "GetResourcePolicy";
6463
6666
  var _GTSCCB = "GetTrustStoreCaCertificatesBundle";
6464
6667
  var _GTSRC = "GetTrustStoreRevocationContent";
6465
6668
  var _H = "Host";
@@ -6524,6 +6727,7 @@ var _PS = "PageSize";
6524
6727
  var _PV = "ProtocolVersion";
6525
6728
  var _Pa = "Path";
6526
6729
  var _Po = "Port";
6730
+ var _Pol = "Policy";
6527
6731
  var _Pr = "Priority";
6528
6732
  var _Q = "Query";
6529
6733
  var _QSC = "QueryStringConfig";
@@ -6582,6 +6786,7 @@ var _TK = "TagKeys";
6582
6786
  var _TRE = "TotalRevokedEntries";
6583
6787
  var _TS = "TrustStores";
6584
6788
  var _TSA = "TrustStoreArn";
6789
+ var _TSAS = "TrustStoreAssociationStatus";
6585
6790
  var _TSAr = "TrustStoreArns";
6586
6791
  var _TSAru = "TrustStoreAssociations";
6587
6792
  var _TSR = "TrustStoreRevocations";
@@ -6787,6 +6992,22 @@ var _DeleteRuleCommand = class _DeleteRuleCommand extends import_smithy_client.C
6787
6992
  __name(_DeleteRuleCommand, "DeleteRuleCommand");
6788
6993
  var DeleteRuleCommand = _DeleteRuleCommand;
6789
6994
 
6995
+ // src/commands/DeleteSharedTrustStoreAssociationCommand.ts
6996
+
6997
+
6998
+
6999
+ var _DeleteSharedTrustStoreAssociationCommand = class _DeleteSharedTrustStoreAssociationCommand extends import_smithy_client.Command.classBuilder().ep({
7000
+ ...commonParams
7001
+ }).m(function(Command, cs, config, o) {
7002
+ return [
7003
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
7004
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
7005
+ ];
7006
+ }).s("ElasticLoadBalancing_v10", "DeleteSharedTrustStoreAssociation", {}).n("ElasticLoadBalancingV2Client", "DeleteSharedTrustStoreAssociationCommand").f(void 0, void 0).ser(se_DeleteSharedTrustStoreAssociationCommand).de(de_DeleteSharedTrustStoreAssociationCommand).build() {
7007
+ };
7008
+ __name(_DeleteSharedTrustStoreAssociationCommand, "DeleteSharedTrustStoreAssociationCommand");
7009
+ var DeleteSharedTrustStoreAssociationCommand = _DeleteSharedTrustStoreAssociationCommand;
7010
+
6790
7011
  // src/commands/DeleteTargetGroupCommand.ts
6791
7012
 
6792
7013
 
@@ -7059,6 +7280,22 @@ var _DescribeTrustStoresCommand = class _DescribeTrustStoresCommand extends impo
7059
7280
  __name(_DescribeTrustStoresCommand, "DescribeTrustStoresCommand");
7060
7281
  var DescribeTrustStoresCommand = _DescribeTrustStoresCommand;
7061
7282
 
7283
+ // src/commands/GetResourcePolicyCommand.ts
7284
+
7285
+
7286
+
7287
+ var _GetResourcePolicyCommand = class _GetResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
7288
+ ...commonParams
7289
+ }).m(function(Command, cs, config, o) {
7290
+ return [
7291
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
7292
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
7293
+ ];
7294
+ }).s("ElasticLoadBalancing_v10", "GetResourcePolicy", {}).n("ElasticLoadBalancingV2Client", "GetResourcePolicyCommand").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() {
7295
+ };
7296
+ __name(_GetResourcePolicyCommand, "GetResourcePolicyCommand");
7297
+ var GetResourcePolicyCommand = _GetResourcePolicyCommand;
7298
+
7062
7299
  // src/commands/GetTrustStoreCaCertificatesBundleCommand.ts
7063
7300
 
7064
7301
 
@@ -7328,6 +7565,7 @@ var commands = {
7328
7565
  DeleteListenerCommand,
7329
7566
  DeleteLoadBalancerCommand,
7330
7567
  DeleteRuleCommand,
7568
+ DeleteSharedTrustStoreAssociationCommand,
7331
7569
  DeleteTargetGroupCommand,
7332
7570
  DeleteTrustStoreCommand,
7333
7571
  DeregisterTargetsCommand,
@@ -7345,6 +7583,7 @@ var commands = {
7345
7583
  DescribeTrustStoreAssociationsCommand,
7346
7584
  DescribeTrustStoreRevocationsCommand,
7347
7585
  DescribeTrustStoresCommand,
7586
+ GetResourcePolicyCommand,
7348
7587
  GetTrustStoreCaCertificatesBundleCommand,
7349
7588
  GetTrustStoreRevocationContentCommand,
7350
7589
  ModifyListenerCommand,
@@ -7619,6 +7858,7 @@ var waitUntilTargetInService = /* @__PURE__ */ __name(async (params, input) => {
7619
7858
  DeleteListenerCommand,
7620
7859
  DeleteLoadBalancerCommand,
7621
7860
  DeleteRuleCommand,
7861
+ DeleteSharedTrustStoreAssociationCommand,
7622
7862
  DeleteTargetGroupCommand,
7623
7863
  DeleteTrustStoreCommand,
7624
7864
  DeregisterTargetsCommand,
@@ -7636,6 +7876,7 @@ var waitUntilTargetInService = /* @__PURE__ */ __name(async (params, input) => {
7636
7876
  DescribeTrustStoreAssociationsCommand,
7637
7877
  DescribeTrustStoreRevocationsCommand,
7638
7878
  DescribeTrustStoresCommand,
7879
+ GetResourcePolicyCommand,
7639
7880
  GetTrustStoreCaCertificatesBundleCommand,
7640
7881
  GetTrustStoreRevocationContentCommand,
7641
7882
  ModifyListenerCommand,
@@ -7691,6 +7932,7 @@ var waitUntilTargetInService = /* @__PURE__ */ __name(async (params, input) => {
7691
7932
  AnomalyResultEnum,
7692
7933
  AvailabilityZoneNotSupportedException,
7693
7934
  CaCertificatesBundleNotFoundException,
7935
+ TrustStoreAssociationStatusEnum,
7694
7936
  ProtocolEnum,
7695
7937
  DuplicateListenerException,
7696
7938
  IncompatibleProtocolsException,
@@ -7727,6 +7969,8 @@ var waitUntilTargetInService = /* @__PURE__ */ __name(async (params, input) => {
7727
7969
  DuplicateTrustStoreNameException,
7728
7970
  InvalidCaCertificatesBundleException,
7729
7971
  TooManyTrustStoresException,
7972
+ DeleteAssociationSameAccountException,
7973
+ TrustStoreAssociationNotFoundException,
7730
7974
  TrustStoreInUseException,
7731
7975
  InvalidTargetException,
7732
7976
  DescribeTargetHealthInputIncludeEnum,
@@ -7734,6 +7978,7 @@ var waitUntilTargetInService = /* @__PURE__ */ __name(async (params, input) => {
7734
7978
  TargetHealthStateEnum,
7735
7979
  HealthUnavailableException,
7736
7980
  RevocationIdNotFoundException,
7981
+ ResourceNotFoundException,
7737
7982
  EnforceSecurityGroupInboundRulesOnPrivateLinkTrafficEnum
7738
7983
  });
7739
7984
 
@@ -10,6 +10,7 @@ import { CreateTrustStoreCommand, } from "./commands/CreateTrustStoreCommand";
10
10
  import { DeleteListenerCommand, } from "./commands/DeleteListenerCommand";
11
11
  import { DeleteLoadBalancerCommand, } from "./commands/DeleteLoadBalancerCommand";
12
12
  import { DeleteRuleCommand } from "./commands/DeleteRuleCommand";
13
+ import { DeleteSharedTrustStoreAssociationCommand, } from "./commands/DeleteSharedTrustStoreAssociationCommand";
13
14
  import { DeleteTargetGroupCommand, } from "./commands/DeleteTargetGroupCommand";
14
15
  import { DeleteTrustStoreCommand, } from "./commands/DeleteTrustStoreCommand";
15
16
  import { DeregisterTargetsCommand, } from "./commands/DeregisterTargetsCommand";
@@ -27,6 +28,7 @@ import { DescribeTargetHealthCommand, } from "./commands/DescribeTargetHealthCom
27
28
  import { DescribeTrustStoreAssociationsCommand, } from "./commands/DescribeTrustStoreAssociationsCommand";
28
29
  import { DescribeTrustStoreRevocationsCommand, } from "./commands/DescribeTrustStoreRevocationsCommand";
29
30
  import { DescribeTrustStoresCommand, } from "./commands/DescribeTrustStoresCommand";
31
+ import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
30
32
  import { GetTrustStoreCaCertificatesBundleCommand, } from "./commands/GetTrustStoreCaCertificatesBundleCommand";
31
33
  import { GetTrustStoreRevocationContentCommand, } from "./commands/GetTrustStoreRevocationContentCommand";
32
34
  import { ModifyListenerCommand, } from "./commands/ModifyListenerCommand";
@@ -56,6 +58,7 @@ const commands = {
56
58
  DeleteListenerCommand,
57
59
  DeleteLoadBalancerCommand,
58
60
  DeleteRuleCommand,
61
+ DeleteSharedTrustStoreAssociationCommand,
59
62
  DeleteTargetGroupCommand,
60
63
  DeleteTrustStoreCommand,
61
64
  DeregisterTargetsCommand,
@@ -73,6 +76,7 @@ const commands = {
73
76
  DescribeTrustStoreAssociationsCommand,
74
77
  DescribeTrustStoreRevocationsCommand,
75
78
  DescribeTrustStoresCommand,
79
+ GetResourcePolicyCommand,
76
80
  GetTrustStoreCaCertificatesBundleCommand,
77
81
  GetTrustStoreRevocationContentCommand,
78
82
  ModifyListenerCommand,
@@ -19,19 +19,19 @@ export class ElasticLoadBalancingV2Client extends __Client {
19
19
  const _config_1 = resolveClientEndpointParameters(_config_0);
20
20
  const _config_2 = resolveRegionConfig(_config_1);
21
21
  const _config_3 = resolveEndpointConfig(_config_2);
22
- const _config_4 = resolveRetryConfig(_config_3);
23
- const _config_5 = resolveHostHeaderConfig(_config_4);
24
- const _config_6 = resolveUserAgentConfig(_config_5);
22
+ const _config_4 = resolveHostHeaderConfig(_config_3);
23
+ const _config_5 = resolveUserAgentConfig(_config_4);
24
+ const _config_6 = resolveRetryConfig(_config_5);
25
25
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
26
26
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
27
27
  super(_config_8);
28
28
  this.config = _config_8;
29
- this.middlewareStack.use(getRetryPlugin(this.config));
30
- this.middlewareStack.use(getContentLengthPlugin(this.config));
31
29
  this.middlewareStack.use(getHostHeaderPlugin(this.config));
32
30
  this.middlewareStack.use(getLoggerPlugin(this.config));
33
31
  this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
34
32
  this.middlewareStack.use(getUserAgentPlugin(this.config));
33
+ this.middlewareStack.use(getRetryPlugin(this.config));
34
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
35
35
  this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
36
36
  httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
37
37
  identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
@@ -0,0 +1,24 @@
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_DeleteSharedTrustStoreAssociationCommand, se_DeleteSharedTrustStoreAssociationCommand, } from "../protocols/Aws_query";
6
+ export { $Command };
7
+ export class DeleteSharedTrustStoreAssociationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticLoadBalancing_v10", "DeleteSharedTrustStoreAssociation", {})
19
+ .n("ElasticLoadBalancingV2Client", "DeleteSharedTrustStoreAssociationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteSharedTrustStoreAssociationCommand)
22
+ .de(de_DeleteSharedTrustStoreAssociationCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
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_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../protocols/Aws_query";
6
+ export { $Command };
7
+ export class GetResourcePolicyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("ElasticLoadBalancing_v10", "GetResourcePolicy", {})
19
+ .n("ElasticLoadBalancingV2Client", "GetResourcePolicyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetResourcePolicyCommand)
22
+ .de(de_GetResourcePolicyCommand)
23
+ .build() {
24
+ }