@aws-sdk/client-elastic-load-balancing 3.928.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 (50) hide show
  1. package/dist-cjs/index.js +1027 -3010
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/ElasticLoadBalancingClient.js +2 -0
  4. package/dist-es/commands/AddTagsCommand.js +3 -9
  5. package/dist-es/commands/ApplySecurityGroupsToLoadBalancerCommand.js +3 -9
  6. package/dist-es/commands/AttachLoadBalancerToSubnetsCommand.js +3 -9
  7. package/dist-es/commands/ConfigureHealthCheckCommand.js +3 -9
  8. package/dist-es/commands/CreateAppCookieStickinessPolicyCommand.js +3 -9
  9. package/dist-es/commands/CreateLBCookieStickinessPolicyCommand.js +3 -9
  10. package/dist-es/commands/CreateLoadBalancerCommand.js +3 -9
  11. package/dist-es/commands/CreateLoadBalancerListenersCommand.js +3 -9
  12. package/dist-es/commands/CreateLoadBalancerPolicyCommand.js +3 -9
  13. package/dist-es/commands/DeleteLoadBalancerCommand.js +3 -9
  14. package/dist-es/commands/DeleteLoadBalancerListenersCommand.js +3 -9
  15. package/dist-es/commands/DeleteLoadBalancerPolicyCommand.js +3 -9
  16. package/dist-es/commands/DeregisterInstancesFromLoadBalancerCommand.js +3 -9
  17. package/dist-es/commands/DescribeAccountLimitsCommand.js +3 -9
  18. package/dist-es/commands/DescribeInstanceHealthCommand.js +3 -9
  19. package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +3 -9
  20. package/dist-es/commands/DescribeLoadBalancerPoliciesCommand.js +3 -9
  21. package/dist-es/commands/DescribeLoadBalancerPolicyTypesCommand.js +3 -9
  22. package/dist-es/commands/DescribeLoadBalancersCommand.js +3 -9
  23. package/dist-es/commands/DescribeTagsCommand.js +3 -9
  24. package/dist-es/commands/DetachLoadBalancerFromSubnetsCommand.js +3 -9
  25. package/dist-es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +3 -9
  26. package/dist-es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +3 -9
  27. package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +3 -9
  28. package/dist-es/commands/RegisterInstancesWithLoadBalancerCommand.js +3 -9
  29. package/dist-es/commands/RemoveTagsCommand.js +3 -9
  30. package/dist-es/commands/SetLoadBalancerListenerSSLCertificateCommand.js +3 -9
  31. package/dist-es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +3 -9
  32. package/dist-es/commands/SetLoadBalancerPoliciesOfListenerCommand.js +3 -9
  33. package/dist-es/runtimeConfig.shared.js +7 -0
  34. package/dist-es/schemas/schemas_0.js +1002 -0
  35. package/dist-types/ElasticLoadBalancingClient.d.ts +10 -1
  36. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  37. package/dist-types/runtimeConfig.d.ts +1 -0
  38. package/dist-types/runtimeConfig.native.d.ts +1 -0
  39. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  40. package/dist-types/schemas/schemas_0.d.ts +163 -0
  41. package/dist-types/ts3.4/ElasticLoadBalancingClient.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  44. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  45. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  46. package/dist-types/ts3.4/schemas/schemas_0.d.ts +168 -0
  47. package/package.json +34 -34
  48. package/dist-es/protocols/Aws_query.js +0 -2838
  49. package/dist-types/protocols/Aws_query.d.ts +0 -263
  50. package/dist-types/ts3.4/protocols/Aws_query.d.ts +0 -353
@@ -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_EnableAvailabilityZonesForLoadBalancerCommand, se_EnableAvailabilityZonesForLoadBalancerCommand, } from "../protocols/Aws_query";
4
+ import { EnableAvailabilityZonesForLoadBalancer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableAvailabilityZonesForLoadBalancerCommand 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_v7", "EnableAvailabilityZonesForLoadBalancer", {})
17
13
  .n("ElasticLoadBalancingClient", "EnableAvailabilityZonesForLoadBalancerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnableAvailabilityZonesForLoadBalancerCommand)
20
- .de(de_EnableAvailabilityZonesForLoadBalancerCommand)
14
+ .sc(EnableAvailabilityZonesForLoadBalancer)
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_ModifyLoadBalancerAttributesCommand, se_ModifyLoadBalancerAttributesCommand } from "../protocols/Aws_query";
4
+ import { ModifyLoadBalancerAttributes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ModifyLoadBalancerAttributesCommand 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_v7", "ModifyLoadBalancerAttributes", {})
17
13
  .n("ElasticLoadBalancingClient", "ModifyLoadBalancerAttributesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ModifyLoadBalancerAttributesCommand)
20
- .de(de_ModifyLoadBalancerAttributesCommand)
14
+ .sc(ModifyLoadBalancerAttributes)
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_RegisterInstancesWithLoadBalancerCommand, se_RegisterInstancesWithLoadBalancerCommand, } from "../protocols/Aws_query";
4
+ import { RegisterInstancesWithLoadBalancer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RegisterInstancesWithLoadBalancerCommand 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_v7", "RegisterInstancesWithLoadBalancer", {})
17
13
  .n("ElasticLoadBalancingClient", "RegisterInstancesWithLoadBalancerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RegisterInstancesWithLoadBalancerCommand)
20
- .de(de_RegisterInstancesWithLoadBalancerCommand)
14
+ .sc(RegisterInstancesWithLoadBalancer)
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_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_v7", "RemoveTags", {})
17
13
  .n("ElasticLoadBalancingClient", "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_SetLoadBalancerListenerSSLCertificateCommand, se_SetLoadBalancerListenerSSLCertificateCommand, } from "../protocols/Aws_query";
4
+ import { SetLoadBalancerListenerSSLCertificate } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetLoadBalancerListenerSSLCertificateCommand 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_v7", "SetLoadBalancerListenerSSLCertificate", {})
17
13
  .n("ElasticLoadBalancingClient", "SetLoadBalancerListenerSSLCertificateCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetLoadBalancerListenerSSLCertificateCommand)
20
- .de(de_SetLoadBalancerListenerSSLCertificateCommand)
14
+ .sc(SetLoadBalancerListenerSSLCertificate)
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_SetLoadBalancerPoliciesForBackendServerCommand, se_SetLoadBalancerPoliciesForBackendServerCommand, } from "../protocols/Aws_query";
4
+ import { SetLoadBalancerPoliciesForBackendServer } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetLoadBalancerPoliciesForBackendServerCommand 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_v7", "SetLoadBalancerPoliciesForBackendServer", {})
17
13
  .n("ElasticLoadBalancingClient", "SetLoadBalancerPoliciesForBackendServerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetLoadBalancerPoliciesForBackendServerCommand)
20
- .de(de_SetLoadBalancerPoliciesForBackendServerCommand)
14
+ .sc(SetLoadBalancerPoliciesForBackendServer)
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_SetLoadBalancerPoliciesOfListenerCommand, se_SetLoadBalancerPoliciesOfListenerCommand, } from "../protocols/Aws_query";
4
+ import { SetLoadBalancerPoliciesOfListener } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class SetLoadBalancerPoliciesOfListenerCommand 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_v7", "SetLoadBalancerPoliciesOfListener", {})
17
13
  .n("ElasticLoadBalancingClient", "SetLoadBalancerPoliciesOfListenerCommand")
18
- .f(void 0, void 0)
19
- .ser(se_SetLoadBalancerPoliciesOfListenerCommand)
20
- .de(de_SetLoadBalancerPoliciesOfListenerCommand)
14
+ .sc(SetLoadBalancerPoliciesOfListener)
21
15
  .build() {
22
16
  }
@@ -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.elasticloadbalancing",
29
+ xmlNamespace: "http://elasticloadbalancing.amazonaws.com/doc/2012-06-01/",
30
+ version: "2012-06-01",
31
+ }),
25
32
  serviceId: config?.serviceId ?? "Elastic Load Balancing",
26
33
  urlParser: config?.urlParser ?? parseUrl,
27
34
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,