@aws-sdk/client-elastic-load-balancing-v2 3.36.0 → 3.39.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 (119) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/ElasticLoadBalancingV2.js +0 -41
  3. package/dist-cjs/ElasticLoadBalancingV2Client.js +0 -46
  4. package/dist-cjs/commands/AddListenerCertificatesCommand.js +0 -31
  5. package/dist-cjs/commands/AddTagsCommand.js +0 -28
  6. package/dist-cjs/commands/CreateListenerCommand.js +0 -51
  7. package/dist-cjs/commands/CreateLoadBalancerCommand.js +0 -51
  8. package/dist-cjs/commands/CreateRuleCommand.js +0 -29
  9. package/dist-cjs/commands/CreateTargetGroupCommand.js +0 -51
  10. package/dist-cjs/commands/DeleteListenerCommand.js +0 -26
  11. package/dist-cjs/commands/DeleteLoadBalancerCommand.js +0 -30
  12. package/dist-cjs/commands/DeleteRuleCommand.js +0 -25
  13. package/dist-cjs/commands/DeleteTargetGroupCommand.js +0 -28
  14. package/dist-cjs/commands/DeregisterTargetsCommand.js +0 -25
  15. package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -46
  16. package/dist-cjs/commands/DescribeListenerCertificatesCommand.js +0 -31
  17. package/dist-cjs/commands/DescribeListenersCommand.js +0 -26
  18. package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +0 -47
  19. package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -24
  20. package/dist-cjs/commands/DescribeRulesCommand.js +0 -25
  21. package/dist-cjs/commands/DescribeSSLPoliciesCommand.js +0 -26
  22. package/dist-cjs/commands/DescribeTagsCommand.js +0 -26
  23. package/dist-cjs/commands/DescribeTargetGroupAttributesCommand.js +0 -45
  24. package/dist-cjs/commands/DescribeTargetGroupsCommand.js +0 -27
  25. package/dist-cjs/commands/DescribeTargetHealthCommand.js +0 -24
  26. package/dist-cjs/commands/ModifyListenerCommand.js +0 -31
  27. package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +0 -27
  28. package/dist-cjs/commands/ModifyRuleCommand.js +0 -28
  29. package/dist-cjs/commands/ModifyTargetGroupAttributesCommand.js +0 -24
  30. package/dist-cjs/commands/ModifyTargetGroupCommand.js +0 -25
  31. package/dist-cjs/commands/RegisterTargetsCommand.js +0 -36
  32. package/dist-cjs/commands/RemoveListenerCertificatesCommand.js +0 -25
  33. package/dist-cjs/commands/RemoveTagsCommand.js +0 -26
  34. package/dist-cjs/commands/SetIpAddressTypeCommand.js +0 -25
  35. package/dist-cjs/commands/SetRulePrioritiesCommand.js +0 -26
  36. package/dist-cjs/commands/SetSecurityGroupsCommand.js +0 -27
  37. package/dist-cjs/commands/SetSubnetsCommand.js +0 -29
  38. package/dist-cjs/commands/index.js +37 -0
  39. package/dist-cjs/endpoints.js +6 -1
  40. package/dist-cjs/index.js +5 -45
  41. package/dist-cjs/models/models_0.js +8 -429
  42. package/dist-cjs/pagination/DescribeListenersPaginator.js +0 -10
  43. package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +0 -10
  44. package/dist-cjs/pagination/DescribeTargetGroupsPaginator.js +0 -10
  45. package/dist-cjs/pagination/index.js +7 -0
  46. package/dist-cjs/protocols/Aws_query.js +18 -2
  47. package/dist-cjs/runtimeConfig.browser.js +1 -5
  48. package/dist-cjs/runtimeConfig.js +1 -5
  49. package/dist-cjs/runtimeConfig.native.js +0 -3
  50. package/dist-cjs/runtimeConfig.shared.js +0 -3
  51. package/dist-cjs/waiters/index.js +8 -0
  52. package/dist-cjs/waiters/waitForLoadBalancerAvailable.js +0 -9
  53. package/dist-cjs/waiters/waitForLoadBalancerExists.js +0 -9
  54. package/dist-cjs/waiters/waitForLoadBalancersDeleted.js +0 -9
  55. package/dist-cjs/waiters/waitForTargetDeregistered.js +0 -9
  56. package/dist-cjs/waiters/waitForTargetInService.js +0 -9
  57. package/dist-es/commands/index.js +34 -0
  58. package/dist-es/endpoints.js +6 -1
  59. package/dist-es/index.js +5 -45
  60. package/dist-es/models/models_0.js +5 -0
  61. package/dist-es/pagination/index.js +4 -0
  62. package/dist-es/protocols/Aws_query.js +18 -0
  63. package/dist-es/waiters/index.js +5 -0
  64. package/dist-types/commands/index.d.ts +34 -0
  65. package/dist-types/index.d.ts +5 -45
  66. package/dist-types/models/models_0.d.ts +41 -12
  67. package/dist-types/pagination/index.d.ts +4 -0
  68. package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +35 -378
  69. package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +24 -127
  70. package/dist-types/ts3.4/commands/AddListenerCertificatesCommand.d.ts +2 -27
  71. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -24
  72. package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +2 -47
  73. package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +2 -47
  74. package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +2 -25
  75. package/dist-types/ts3.4/commands/CreateTargetGroupCommand.d.ts +2 -47
  76. package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +2 -22
  77. package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +2 -26
  78. package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -21
  79. package/dist-types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +2 -24
  80. package/dist-types/ts3.4/commands/DeregisterTargetsCommand.d.ts +2 -21
  81. package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -42
  82. package/dist-types/ts3.4/commands/DescribeListenerCertificatesCommand.d.ts +2 -27
  83. package/dist-types/ts3.4/commands/DescribeListenersCommand.d.ts +2 -22
  84. package/dist-types/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +2 -43
  85. package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/DescribeRulesCommand.d.ts +2 -21
  87. package/dist-types/ts3.4/commands/DescribeSSLPoliciesCommand.d.ts +2 -22
  88. package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -22
  89. package/dist-types/ts3.4/commands/DescribeTargetGroupAttributesCommand.d.ts +2 -41
  90. package/dist-types/ts3.4/commands/DescribeTargetGroupsCommand.d.ts +2 -23
  91. package/dist-types/ts3.4/commands/DescribeTargetHealthCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/ModifyListenerCommand.d.ts +2 -27
  93. package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +2 -23
  94. package/dist-types/ts3.4/commands/ModifyRuleCommand.d.ts +2 -24
  95. package/dist-types/ts3.4/commands/ModifyTargetGroupAttributesCommand.d.ts +2 -20
  96. package/dist-types/ts3.4/commands/ModifyTargetGroupCommand.d.ts +2 -21
  97. package/dist-types/ts3.4/commands/RegisterTargetsCommand.d.ts +2 -32
  98. package/dist-types/ts3.4/commands/RemoveListenerCertificatesCommand.d.ts +2 -21
  99. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -22
  100. package/dist-types/ts3.4/commands/SetIpAddressTypeCommand.d.ts +2 -21
  101. package/dist-types/ts3.4/commands/SetRulePrioritiesCommand.d.ts +2 -22
  102. package/dist-types/ts3.4/commands/SetSecurityGroupsCommand.d.ts +2 -23
  103. package/dist-types/ts3.4/commands/SetSubnetsCommand.d.ts +2 -25
  104. package/dist-types/ts3.4/commands/index.d.ts +34 -0
  105. package/dist-types/ts3.4/index.d.ts +5 -45
  106. package/dist-types/ts3.4/models/models_0.d.ts +238 -3056
  107. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  108. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -6
  109. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  110. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  111. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  112. package/dist-types/ts3.4/waiters/index.d.ts +5 -0
  113. package/dist-types/ts3.4/waiters/waitForLoadBalancerAvailable.d.ts +2 -9
  114. package/dist-types/ts3.4/waiters/waitForLoadBalancerExists.d.ts +2 -9
  115. package/dist-types/ts3.4/waiters/waitForLoadBalancersDeleted.d.ts +2 -9
  116. package/dist-types/ts3.4/waiters/waitForTargetDeregistered.d.ts +2 -9
  117. package/dist-types/ts3.4/waiters/waitForTargetInService.d.ts +2 -9
  118. package/dist-types/waiters/index.d.ts +5 -0
  119. package/package.json +33 -33
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Deregisters the specified targets from the specified target group. After the targets are
10
- * deregistered, they no longer receive traffic from the load balancer.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ElasticLoadBalancingV2Client, DeregisterTargetsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
15
- * // const { ElasticLoadBalancingV2Client, DeregisterTargetsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
16
- * const client = new ElasticLoadBalancingV2Client(config);
17
- * const command = new DeregisterTargetsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DeregisterTargetsCommandInput} for command's `input` shape.
22
- * @see {@link DeregisterTargetsCommandOutput} for command's `response` shape.
23
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DeregisterTargetsCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,57 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the current Elastic Load Balancing resource limits for your Amazon Web Services
10
- * account.</p>
11
- * <p>For more information, see the following:</p>
12
- * <ul>
13
- * <li>
14
- * <p>
15
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html">Quotas for your
16
- * Application Load Balancers</a>
17
- * </p>
18
- * </li>
19
- * <li>
20
- * <p>
21
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-limits.html">Quotas for your
22
- * Network Load Balancers</a>
23
- * </p>
24
- * </li>
25
- * <li>
26
- * <p>
27
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/quotas-limits.html">Quotas for your Gateway
28
- * Load Balancers</a>
29
- * </p>
30
- * </li>
31
- * </ul>
32
- * @example
33
- * Use a bare-bones client and the command you need to make an API call.
34
- * ```javascript
35
- * import { ElasticLoadBalancingV2Client, DescribeAccountLimitsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
36
- * // const { ElasticLoadBalancingV2Client, DescribeAccountLimitsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
37
- * const client = new ElasticLoadBalancingV2Client(config);
38
- * const command = new DescribeAccountLimitsCommand(input);
39
- * const response = await client.send(command);
40
- * ```
41
- *
42
- * @see {@link DescribeAccountLimitsCommandInput} for command's `input` shape.
43
- * @see {@link DescribeAccountLimitsCommandOutput} for command's `response` shape.
44
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
45
- *
46
- */
47
8
  class DescribeAccountLimitsCommand extends smithy_client_1.Command {
48
- // Start section: command_properties
49
- // End section: command_properties
50
9
  constructor(input) {
51
- // Start section: command_constructor
52
10
  super();
53
11
  this.input = input;
54
- // End section: command_constructor
55
12
  }
56
- /**
57
- * @internal
58
- */
59
13
  resolveMiddleware(clientStack, configuration, options) {
60
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
61
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the default certificate and the certificate list for the specified HTTPS or TLS
10
- * listener.</p>
11
- * <p>If the default certificate is also in the certificate list, it appears twice in the
12
- * results (once with <code>IsDefault</code> set to true and once with <code>IsDefault</code> set
13
- * to false).</p>
14
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#https-listener-certificates">SSL certificates</a> in the <i>Application Load Balancers Guide</i> or
15
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#tls-listener-certificate">Server certificates</a> in the <i>Network Load Balancers
16
- * Guide</i>.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { ElasticLoadBalancingV2Client, DescribeListenerCertificatesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
21
- * // const { ElasticLoadBalancingV2Client, DescribeListenerCertificatesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
22
- * const client = new ElasticLoadBalancingV2Client(config);
23
- * const command = new DescribeListenerCertificatesCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link DescribeListenerCertificatesCommandInput} for command's `input` shape.
28
- * @see {@link DescribeListenerCertificatesCommandOutput} for command's `response` shape.
29
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class DescribeListenerCertificatesCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the specified listeners or the listeners for the specified Application Load
10
- * Balancer, Network Load Balancer, or Gateway Load Balancer. You must specify either a load
11
- * balancer or one or more listeners.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ElasticLoadBalancingV2Client, DescribeListenersCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
16
- * // const { ElasticLoadBalancingV2Client, DescribeListenersCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
17
- * const client = new ElasticLoadBalancingV2Client(config);
18
- * const command = new DescribeListenersCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeListenersCommandInput} for command's `input` shape.
23
- * @see {@link DescribeListenersCommandOutput} for command's `response` shape.
24
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DescribeListenersCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,58 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the attributes for the specified Application Load Balancer, Network Load
10
- * Balancer, or Gateway Load Balancer.</p>
11
- *
12
- * <p>For more information, see the following:</p>
13
- * <ul>
14
- * <li>
15
- * <p>
16
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html#load-balancer-attributes">Load balancer attributes</a> in the <i>Application Load Balancers
17
- * Guide</i>
18
- * </p>
19
- * </li>
20
- * <li>
21
- * <p>
22
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html#load-balancer-attributes">Load balancer attributes</a> in the <i>Network Load Balancers
23
- * Guide</i>
24
- * </p>
25
- * </li>
26
- * <li>
27
- * <p>
28
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html#load-balancer-attributes">Load balancer attributes</a> in the <i>Gateway Load Balancers
29
- * Guide</i>
30
- * </p>
31
- * </li>
32
- * </ul>
33
- * @example
34
- * Use a bare-bones client and the command you need to make an API call.
35
- * ```javascript
36
- * import { ElasticLoadBalancingV2Client, DescribeLoadBalancerAttributesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
37
- * // const { ElasticLoadBalancingV2Client, DescribeLoadBalancerAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
38
- * const client = new ElasticLoadBalancingV2Client(config);
39
- * const command = new DescribeLoadBalancerAttributesCommand(input);
40
- * const response = await client.send(command);
41
- * ```
42
- *
43
- * @see {@link DescribeLoadBalancerAttributesCommandInput} for command's `input` shape.
44
- * @see {@link DescribeLoadBalancerAttributesCommandOutput} for command's `response` shape.
45
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
46
- *
47
- */
48
8
  class DescribeLoadBalancerAttributesCommand extends smithy_client_1.Command {
49
- // Start section: command_properties
50
- // End section: command_properties
51
9
  constructor(input) {
52
- // Start section: command_constructor
53
10
  super();
54
11
  this.input = input;
55
- // End section: command_constructor
56
12
  }
57
- /**
58
- * @internal
59
- */
60
13
  resolveMiddleware(clientStack, configuration, options) {
61
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
62
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the specified load balancers or all of your load balancers.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticLoadBalancingV2Client, DescribeLoadBalancersCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
14
- * // const { ElasticLoadBalancingV2Client, DescribeLoadBalancersCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
15
- * const client = new ElasticLoadBalancingV2Client(config);
16
- * const command = new DescribeLoadBalancersCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeLoadBalancersCommandInput} for command's `input` shape.
21
- * @see {@link DescribeLoadBalancersCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeLoadBalancersCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the specified rules or the rules for the specified listener. You must specify
10
- * either a listener or one or more rules.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ElasticLoadBalancingV2Client, DescribeRulesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
15
- * // const { ElasticLoadBalancingV2Client, DescribeRulesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
16
- * const client = new ElasticLoadBalancingV2Client(config);
17
- * const command = new DescribeRulesCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeRulesCommandInput} for command's `input` shape.
22
- * @see {@link DescribeRulesCommandOutput} for command's `response` shape.
23
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DescribeRulesCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the specified policies or all policies used for SSL negotiation.</p>
10
- * <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html#describe-ssl-policies">Security policies</a> in the <i>Application Load Balancers Guide</i> or
11
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html#describe-ssl-policies">Security policies</a> in the <i>Network Load Balancers Guide</i>.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ElasticLoadBalancingV2Client, DescribeSSLPoliciesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
16
- * // const { ElasticLoadBalancingV2Client, DescribeSSLPoliciesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
17
- * const client = new ElasticLoadBalancingV2Client(config);
18
- * const command = new DescribeSSLPoliciesCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeSSLPoliciesCommandInput} for command's `input` shape.
23
- * @see {@link DescribeSSLPoliciesCommandOutput} for command's `response` shape.
24
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DescribeSSLPoliciesCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the tags for the specified Elastic Load Balancing resources. You can describe
10
- * the tags for one or more Application Load Balancers, Network Load Balancers, Gateway Load
11
- * Balancers, target groups, listeners, or rules.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ElasticLoadBalancingV2Client, DescribeTagsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
16
- * // const { ElasticLoadBalancingV2Client, DescribeTagsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
17
- * const client = new ElasticLoadBalancingV2Client(config);
18
- * const command = new DescribeTagsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DescribeTagsCommandInput} for command's `input` shape.
23
- * @see {@link DescribeTagsCommandOutput} for command's `response` shape.
24
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class DescribeTagsCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,56 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the attributes for the specified target group.</p>
10
- * <p>For more information, see the following:</p>
11
- * <ul>
12
- * <li>
13
- * <p>
14
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#target-group-attributes">Target group attributes</a> in the <i>Application Load Balancers
15
- * Guide</i>
16
- * </p>
17
- * </li>
18
- * <li>
19
- * <p>
20
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#target-group-attributes">Target group attributes</a> in the <i>Network Load Balancers
21
- * Guide</i>
22
- * </p>
23
- * </li>
24
- * <li>
25
- * <p>
26
- * <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html#target-group-attributes">Target group attributes</a> in the <i>Gateway Load Balancers
27
- * Guide</i>
28
- * </p>
29
- * </li>
30
- * </ul>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { ElasticLoadBalancingV2Client, DescribeTargetGroupAttributesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
35
- * // const { ElasticLoadBalancingV2Client, DescribeTargetGroupAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
36
- * const client = new ElasticLoadBalancingV2Client(config);
37
- * const command = new DescribeTargetGroupAttributesCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link DescribeTargetGroupAttributesCommandInput} for command's `input` shape.
42
- * @see {@link DescribeTargetGroupAttributesCommandOutput} for command's `response` shape.
43
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
8
  class DescribeTargetGroupAttributesCommand extends smithy_client_1.Command {
47
- // Start section: command_properties
48
- // End section: command_properties
49
9
  constructor(input) {
50
- // Start section: command_constructor
51
10
  super();
52
11
  this.input = input;
53
- // End section: command_constructor
54
12
  }
55
- /**
56
- * @internal
57
- */
58
13
  resolveMiddleware(clientStack, configuration, options) {
59
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
60
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the specified target groups or all of your target groups. By default, all target
10
- * groups are described. Alternatively, you can specify one of the following to filter the
11
- * results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of
12
- * one or more target groups.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ElasticLoadBalancingV2Client, DescribeTargetGroupsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
17
- * // const { ElasticLoadBalancingV2Client, DescribeTargetGroupsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
18
- * const client = new ElasticLoadBalancingV2Client(config);
19
- * const command = new DescribeTargetGroupsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link DescribeTargetGroupsCommandInput} for command's `input` shape.
24
- * @see {@link DescribeTargetGroupsCommandOutput} for command's `response` shape.
25
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class DescribeTargetGroupsCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Describes the health of the specified targets or all of your targets.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticLoadBalancingV2Client, DescribeTargetHealthCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
14
- * // const { ElasticLoadBalancingV2Client, DescribeTargetHealthCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
15
- * const client = new ElasticLoadBalancingV2Client(config);
16
- * const command = new DescribeTargetHealthCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeTargetHealthCommandInput} for command's `input` shape.
21
- * @see {@link DescribeTargetHealthCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeTargetHealthCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,42 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Replaces the specified properties of the specified listener. Any properties that you do
10
- * not specify remain unchanged.</p>
11
- * <p>Changing the protocol from HTTPS to HTTP, or from TLS to TCP, removes the security policy
12
- * and default certificate properties. If you change the protocol from HTTP to HTTPS, or from TCP
13
- * to TLS, you must add the security policy and default certificate properties.</p>
14
- * <p>To add an item to a list, remove an item from a list, or update an item in a list, you
15
- * must provide the entire list. For example, to add an action, specify a list with the current
16
- * actions plus the new action.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { ElasticLoadBalancingV2Client, ModifyListenerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
21
- * // const { ElasticLoadBalancingV2Client, ModifyListenerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
22
- * const client = new ElasticLoadBalancingV2Client(config);
23
- * const command = new ModifyListenerCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link ModifyListenerCommandInput} for command's `input` shape.
28
- * @see {@link ModifyListenerCommandOutput} for command's `response` shape.
29
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
8
  class ModifyListenerCommand extends smithy_client_1.Command {
33
- // Start section: command_properties
34
- // End section: command_properties
35
9
  constructor(input) {
36
- // Start section: command_constructor
37
10
  super();
38
11
  this.input = input;
39
- // End section: command_constructor
40
12
  }
41
- /**
42
- * @internal
43
- */
44
13
  resolveMiddleware(clientStack, configuration, options) {
45
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
46
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Modifies the specified attributes of the specified Application Load Balancer, Network Load
10
- * Balancer, or Gateway Load Balancer.</p>
11
- * <p>If any of the specified attributes can't be modified as requested, the call fails. Any
12
- * existing attributes that you do not modify retain their current values.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ElasticLoadBalancingV2Client, ModifyLoadBalancerAttributesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
17
- * // const { ElasticLoadBalancingV2Client, ModifyLoadBalancerAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
18
- * const client = new ElasticLoadBalancingV2Client(config);
19
- * const command = new ModifyLoadBalancerAttributesCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ModifyLoadBalancerAttributesCommandInput} for command's `input` shape.
24
- * @see {@link ModifyLoadBalancerAttributesCommandOutput} for command's `response` shape.
25
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class ModifyLoadBalancerAttributesCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_query_1 = require("../protocols/Aws_query");
8
- /**
9
- * <p>Replaces the specified properties of the specified rule. Any properties that you do not
10
- * specify are unchanged.</p>
11
- * <p>To add an item to a list, remove an item from a list, or update an item in a list, you
12
- * must provide the entire list. For example, to add an action, specify a list with the current
13
- * actions plus the new action.</p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { ElasticLoadBalancingV2Client, ModifyRuleCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
18
- * // const { ElasticLoadBalancingV2Client, ModifyRuleCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
19
- * const client = new ElasticLoadBalancingV2Client(config);
20
- * const command = new ModifyRuleCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link ModifyRuleCommandInput} for command's `input` shape.
25
- * @see {@link ModifyRuleCommandOutput} for command's `response` shape.
26
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class ModifyRuleCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);