@aws-sdk/client-elastic-load-balancing-v2 3.929.0 → 3.930.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 (82) hide show
  1. package/dist-cjs/index.js +2269 -6639
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ElasticLoadBalancingV2Client.js +2 -0
  4. package/dist-es/commands/AddListenerCertificatesCommand.js +3 -9
  5. package/dist-es/commands/AddTagsCommand.js +3 -9
  6. package/dist-es/commands/AddTrustStoreRevocationsCommand.js +3 -9
  7. package/dist-es/commands/CreateListenerCommand.js +3 -9
  8. package/dist-es/commands/CreateLoadBalancerCommand.js +3 -9
  9. package/dist-es/commands/CreateRuleCommand.js +3 -9
  10. package/dist-es/commands/CreateTargetGroupCommand.js +3 -9
  11. package/dist-es/commands/CreateTrustStoreCommand.js +3 -9
  12. package/dist-es/commands/DeleteListenerCommand.js +3 -9
  13. package/dist-es/commands/DeleteLoadBalancerCommand.js +3 -9
  14. package/dist-es/commands/DeleteRuleCommand.js +3 -9
  15. package/dist-es/commands/DeleteSharedTrustStoreAssociationCommand.js +3 -9
  16. package/dist-es/commands/DeleteTargetGroupCommand.js +3 -9
  17. package/dist-es/commands/DeleteTrustStoreCommand.js +3 -9
  18. package/dist-es/commands/DeregisterTargetsCommand.js +3 -9
  19. package/dist-es/commands/DescribeAccountLimitsCommand.js +3 -9
  20. package/dist-es/commands/DescribeCapacityReservationCommand.js +3 -9
  21. package/dist-es/commands/DescribeListenerAttributesCommand.js +3 -9
  22. package/dist-es/commands/DescribeListenerCertificatesCommand.js +3 -9
  23. package/dist-es/commands/DescribeListenersCommand.js +3 -9
  24. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +3 -9
  25. package/dist-es/commands/DescribeLoadBalancersCommand.js +3 -9
  26. package/dist-es/commands/DescribeRulesCommand.js +3 -9
  27. package/dist-es/commands/DescribeSSLPoliciesCommand.js +3 -9
  28. package/dist-es/commands/DescribeTagsCommand.js +3 -9
  29. package/dist-es/commands/DescribeTargetGroupAttributesCommand.js +3 -9
  30. package/dist-es/commands/DescribeTargetGroupsCommand.js +3 -9
  31. package/dist-es/commands/DescribeTargetHealthCommand.js +3 -9
  32. package/dist-es/commands/DescribeTrustStoreAssociationsCommand.js +3 -9
  33. package/dist-es/commands/DescribeTrustStoreRevocationsCommand.js +3 -9
  34. package/dist-es/commands/DescribeTrustStoresCommand.js +3 -9
  35. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  36. package/dist-es/commands/GetTrustStoreCaCertificatesBundleCommand.js +3 -9
  37. package/dist-es/commands/GetTrustStoreRevocationContentCommand.js +3 -9
  38. package/dist-es/commands/ModifyCapacityReservationCommand.js +3 -9
  39. package/dist-es/commands/ModifyIpPoolsCommand.js +3 -9
  40. package/dist-es/commands/ModifyListenerAttributesCommand.js +3 -9
  41. package/dist-es/commands/ModifyListenerCommand.js +3 -9
  42. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +3 -9
  43. package/dist-es/commands/ModifyRuleCommand.js +3 -9
  44. package/dist-es/commands/ModifyTargetGroupAttributesCommand.js +3 -9
  45. package/dist-es/commands/ModifyTargetGroupCommand.js +3 -9
  46. package/dist-es/commands/ModifyTrustStoreCommand.js +3 -9
  47. package/dist-es/commands/RegisterTargetsCommand.js +3 -9
  48. package/dist-es/commands/RemoveListenerCertificatesCommand.js +3 -9
  49. package/dist-es/commands/RemoveTagsCommand.js +3 -9
  50. package/dist-es/commands/RemoveTrustStoreRevocationsCommand.js +3 -9
  51. package/dist-es/commands/SetIpAddressTypeCommand.js +3 -9
  52. package/dist-es/commands/SetRulePrioritiesCommand.js +3 -9
  53. package/dist-es/commands/SetSecurityGroupsCommand.js +3 -9
  54. package/dist-es/commands/SetSubnetsCommand.js +3 -9
  55. package/dist-es/models/models_0.js +6 -0
  56. package/dist-es/runtimeConfig.shared.js +7 -0
  57. package/dist-es/schemas/schemas_0.js +2215 -0
  58. package/dist-types/ElasticLoadBalancingV2Client.d.ts +10 -1
  59. package/dist-types/commands/CreateListenerCommand.d.ts +28 -2
  60. package/dist-types/commands/CreateRuleCommand.d.ts +28 -2
  61. package/dist-types/commands/DescribeListenersCommand.d.ts +14 -1
  62. package/dist-types/commands/DescribeRulesCommand.d.ts +15 -2
  63. package/dist-types/commands/ModifyListenerCommand.d.ts +28 -2
  64. package/dist-types/commands/ModifyRuleCommand.d.ts +28 -2
  65. package/dist-types/commands/SetRulePrioritiesCommand.d.ts +14 -1
  66. package/dist-types/models/models_0.d.ts +95 -25
  67. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  68. package/dist-types/runtimeConfig.d.ts +1 -0
  69. package/dist-types/runtimeConfig.native.d.ts +1 -0
  70. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  71. package/dist-types/schemas/schemas_0.d.ts +323 -0
  72. package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +4 -0
  73. package/dist-types/ts3.4/models/models_0.d.ts +19 -0
  74. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  75. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  76. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  77. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  78. package/dist-types/ts3.4/schemas/schemas_0.d.ts +328 -0
  79. package/package.json +34 -34
  80. package/dist-es/protocols/Aws_query.js +0 -6319
  81. package/dist-types/protocols/Aws_query.d.ts +0 -461
  82. package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -617
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RemoveTagsCommand, se_RemoveTagsCommand } from "../protocols/Aws_query";
4
+ import { RemoveTags } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveTagsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticLoadBalancing_v10", "RemoveTags", {})
17
13
  .n("ElasticLoadBalancingV2Client", "RemoveTagsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveTagsCommand)
20
- .de(de_RemoveTagsCommand)
14
+ .sc(RemoveTags)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RemoveTrustStoreRevocationsCommand, se_RemoveTrustStoreRevocationsCommand } from "../protocols/Aws_query";
4
+ import { RemoveTrustStoreRevocations } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveTrustStoreRevocationsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticLoadBalancing_v10", "RemoveTrustStoreRevocations", {})
17
13
  .n("ElasticLoadBalancingV2Client", "RemoveTrustStoreRevocationsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveTrustStoreRevocationsCommand)
20
- .de(de_RemoveTrustStoreRevocationsCommand)
14
+ .sc(RemoveTrustStoreRevocations)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SetIpAddressTypeCommand, se_SetIpAddressTypeCommand } from "../protocols/Aws_query";
4
+ import { SetIpAddressType } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetIpAddressTypeCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticLoadBalancing_v10", "SetIpAddressType", {})
17
13
  .n("ElasticLoadBalancingV2Client", "SetIpAddressTypeCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetIpAddressTypeCommand)
20
- .de(de_SetIpAddressTypeCommand)
14
+ .sc(SetIpAddressType)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SetRulePrioritiesCommand, se_SetRulePrioritiesCommand } from "../protocols/Aws_query";
4
+ import { SetRulePriorities } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetRulePrioritiesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticLoadBalancing_v10", "SetRulePriorities", {})
17
13
  .n("ElasticLoadBalancingV2Client", "SetRulePrioritiesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetRulePrioritiesCommand)
20
- .de(de_SetRulePrioritiesCommand)
14
+ .sc(SetRulePriorities)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SetSecurityGroupsCommand, se_SetSecurityGroupsCommand } from "../protocols/Aws_query";
4
+ import { SetSecurityGroups } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetSecurityGroupsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticLoadBalancing_v10", "SetSecurityGroups", {})
17
13
  .n("ElasticLoadBalancingV2Client", "SetSecurityGroupsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetSecurityGroupsCommand)
20
- .de(de_SetSecurityGroupsCommand)
14
+ .sc(SetSecurityGroups)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_SetSubnetsCommand, se_SetSubnetsCommand } from "../protocols/Aws_query";
4
+ import { SetSubnets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetSubnetsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("ElasticLoadBalancing_v10", "SetSubnets", {})
17
13
  .n("ElasticLoadBalancingV2Client", "SetSubnetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetSubnetsCommand)
20
- .de(de_SetSubnetsCommand)
14
+ .sc(SetSubnets)
21
15
  .build() {
22
16
  }
@@ -9,6 +9,11 @@ export const AuthenticateOidcActionConditionalBehaviorEnum = {
9
9
  AUTHENTICATE: "authenticate",
10
10
  DENY: "deny",
11
11
  };
12
+ export const JwtValidationActionAdditionalClaimFormatEnum = {
13
+ SINGLE_STRING: "single-string",
14
+ SPACE_SEPARATED_VALUES: "space-separated-values",
15
+ STRING_ARRAY: "string-array",
16
+ };
12
17
  export const RedirectActionStatusCodeEnum = {
13
18
  HTTP_301: "HTTP_301",
14
19
  HTTP_302: "HTTP_302",
@@ -18,6 +23,7 @@ export const ActionTypeEnum = {
18
23
  AUTHENTICATE_OIDC: "authenticate-oidc",
19
24
  FIXED_RESPONSE: "fixed-response",
20
25
  FORWARD: "forward",
26
+ JWT_VALIDATION: "jwt-validation",
21
27
  REDIRECT: "redirect",
22
28
  };
23
29
  export class CertificateNotFoundException extends __BaseException {
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsQueryProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ??
27
+ new AwsQueryProtocol({
28
+ defaultNamespace: "com.amazonaws.elasticloadbalancingv2",
29
+ xmlNamespace: "http://elasticloadbalancing.amazonaws.com/doc/2015-12-01/",
30
+ version: "2015-12-01",
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Elastic Load Balancing v2",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,