@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,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>Modifies the specified attributes of the specified target group.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { ElasticLoadBalancingV2Client, ModifyTargetGroupAttributesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
14
- * // const { ElasticLoadBalancingV2Client, ModifyTargetGroupAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
15
- * const client = new ElasticLoadBalancingV2Client(config);
16
- * const command = new ModifyTargetGroupAttributesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ModifyTargetGroupAttributesCommandInput} for command's `input` shape.
21
- * @see {@link ModifyTargetGroupAttributesCommandOutput} for command's `response` shape.
22
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ModifyTargetGroupAttributesCommand 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>Modifies the health checks used when evaluating the health state of the targets in the
10
- * specified target group.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ElasticLoadBalancingV2Client, ModifyTargetGroupCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
15
- * // const { ElasticLoadBalancingV2Client, ModifyTargetGroupCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
16
- * const client = new ElasticLoadBalancingV2Client(config);
17
- * const command = new ModifyTargetGroupCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ModifyTargetGroupCommandInput} for command's `input` shape.
22
- * @see {@link ModifyTargetGroupCommandOutput} for command's `response` shape.
23
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class ModifyTargetGroupCommand 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,47 +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>Registers the specified targets with the specified target group.</p>
10
- *
11
- * <p>If the target is an EC2 instance, it must be in the <code>running</code> state when you
12
- * register it.</p>
13
- *
14
- * <p>By default, the load balancer routes requests to registered targets using the protocol and
15
- * port for the target group. Alternatively, you can override the port for a target when you
16
- * register it. You can register each EC2 instance or IP address with the same target group
17
- * multiple times using different ports.</p>
18
- *
19
- * <p>With a Network Load Balancer, you cannot register instances by instance ID if they have
20
- * the following instance types: C1, CC1, CC2, CG1, CG2, CR1, CS1, G1, G2, HI1, HS1, M1, M2, M3,
21
- * and T1. You can register instances of these types by IP address.</p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { ElasticLoadBalancingV2Client, RegisterTargetsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
26
- * // const { ElasticLoadBalancingV2Client, RegisterTargetsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
27
- * const client = new ElasticLoadBalancingV2Client(config);
28
- * const command = new RegisterTargetsCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link RegisterTargetsCommandInput} for command's `input` shape.
33
- * @see {@link RegisterTargetsCommandOutput} for command's `response` shape.
34
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
8
  class RegisterTargetsCommand extends smithy_client_1.Command {
38
- // Start section: command_properties
39
- // End section: command_properties
40
9
  constructor(input) {
41
- // Start section: command_constructor
42
10
  super();
43
11
  this.input = input;
44
- // End section: command_constructor
45
12
  }
46
- /**
47
- * @internal
48
- */
49
13
  resolveMiddleware(clientStack, configuration, options) {
50
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
51
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>Removes the specified certificate from the certificate list for the specified HTTPS or TLS
10
- * listener.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ElasticLoadBalancingV2Client, RemoveListenerCertificatesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
15
- * // const { ElasticLoadBalancingV2Client, RemoveListenerCertificatesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
16
- * const client = new ElasticLoadBalancingV2Client(config);
17
- * const command = new RemoveListenerCertificatesCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link RemoveListenerCertificatesCommandInput} for command's `input` shape.
22
- * @see {@link RemoveListenerCertificatesCommandOutput} for command's `response` shape.
23
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class RemoveListenerCertificatesCommand 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>Removes the specified tags from the specified Elastic Load Balancing resources. You can
10
- * remove the tags for one or more Application Load Balancers, Network Load Balancers, Gateway
11
- * Load 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, RemoveTagsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
16
- * // const { ElasticLoadBalancingV2Client, RemoveTagsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
17
- * const client = new ElasticLoadBalancingV2Client(config);
18
- * const command = new RemoveTagsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link RemoveTagsCommandInput} for command's `input` shape.
23
- * @see {@link RemoveTagsCommandOutput} for command's `response` shape.
24
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class RemoveTagsCommand 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,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>Sets the type of IP addresses used by the subnets of the specified Application Load
10
- * Balancer or Network 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, SetIpAddressTypeCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
15
- * // const { ElasticLoadBalancingV2Client, SetIpAddressTypeCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
16
- * const client = new ElasticLoadBalancingV2Client(config);
17
- * const command = new SetIpAddressTypeCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link SetIpAddressTypeCommandInput} for command's `input` shape.
22
- * @see {@link SetIpAddressTypeCommandOutput} for command's `response` shape.
23
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class SetIpAddressTypeCommand 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>Sets the priorities of the specified rules.</p>
10
- * <p>You can reorder the rules as long as there are no priority conflicts in the new order. Any
11
- * existing rules that you do not specify retain their current priority.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ElasticLoadBalancingV2Client, SetRulePrioritiesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
16
- * // const { ElasticLoadBalancingV2Client, SetRulePrioritiesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
17
- * const client = new ElasticLoadBalancingV2Client(config);
18
- * const command = new SetRulePrioritiesCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link SetRulePrioritiesCommandInput} for command's `input` shape.
23
- * @see {@link SetRulePrioritiesCommandOutput} for command's `response` shape.
24
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class SetRulePrioritiesCommand 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,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>Associates the specified security groups with the specified Application Load Balancer. The
10
- * specified security groups override the previously associated security groups.</p>
11
- * <p>You can't specify a security group for a Network Load Balancer or Gateway Load
12
- * Balancer.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { ElasticLoadBalancingV2Client, SetSecurityGroupsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
17
- * // const { ElasticLoadBalancingV2Client, SetSecurityGroupsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
18
- * const client = new ElasticLoadBalancingV2Client(config);
19
- * const command = new SetSecurityGroupsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link SetSecurityGroupsCommandInput} for command's `input` shape.
24
- * @see {@link SetSecurityGroupsCommandOutput} for command's `response` shape.
25
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class SetSecurityGroupsCommand 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,40 +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>Enables the Availability Zones for the specified public subnets for the specified
10
- * Application Load Balancer or Network Load Balancer. The specified subnets replace the
11
- * previously enabled subnets.</p>
12
- * <p>When you specify subnets for a Network Load Balancer, you must include all subnets that
13
- * were enabled previously, with their existing configurations, plus any additional
14
- * subnets.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { ElasticLoadBalancingV2Client, SetSubnetsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
19
- * // const { ElasticLoadBalancingV2Client, SetSubnetsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
20
- * const client = new ElasticLoadBalancingV2Client(config);
21
- * const command = new SetSubnetsCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link SetSubnetsCommandInput} for command's `input` shape.
26
- * @see {@link SetSubnetsCommandOutput} for command's `response` shape.
27
- * @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class SetSubnetsCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AddListenerCertificatesCommand"), exports);
5
+ tslib_1.__exportStar(require("./AddTagsCommand"), exports);
6
+ tslib_1.__exportStar(require("./CreateListenerCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateLoadBalancerCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateRuleCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateTargetGroupCommand"), exports);
10
+ tslib_1.__exportStar(require("./DeleteListenerCommand"), exports);
11
+ tslib_1.__exportStar(require("./DeleteLoadBalancerCommand"), exports);
12
+ tslib_1.__exportStar(require("./DeleteRuleCommand"), exports);
13
+ tslib_1.__exportStar(require("./DeleteTargetGroupCommand"), exports);
14
+ tslib_1.__exportStar(require("./DeregisterTargetsCommand"), exports);
15
+ tslib_1.__exportStar(require("./DescribeAccountLimitsCommand"), exports);
16
+ tslib_1.__exportStar(require("./DescribeListenerCertificatesCommand"), exports);
17
+ tslib_1.__exportStar(require("./DescribeListenersCommand"), exports);
18
+ tslib_1.__exportStar(require("./DescribeLoadBalancerAttributesCommand"), exports);
19
+ tslib_1.__exportStar(require("./DescribeLoadBalancersCommand"), exports);
20
+ tslib_1.__exportStar(require("./DescribeRulesCommand"), exports);
21
+ tslib_1.__exportStar(require("./DescribeSSLPoliciesCommand"), exports);
22
+ tslib_1.__exportStar(require("./DescribeTagsCommand"), exports);
23
+ tslib_1.__exportStar(require("./DescribeTargetGroupAttributesCommand"), exports);
24
+ tslib_1.__exportStar(require("./DescribeTargetGroupsCommand"), exports);
25
+ tslib_1.__exportStar(require("./DescribeTargetHealthCommand"), exports);
26
+ tslib_1.__exportStar(require("./ModifyListenerCommand"), exports);
27
+ tslib_1.__exportStar(require("./ModifyLoadBalancerAttributesCommand"), exports);
28
+ tslib_1.__exportStar(require("./ModifyRuleCommand"), exports);
29
+ tslib_1.__exportStar(require("./ModifyTargetGroupAttributesCommand"), exports);
30
+ tslib_1.__exportStar(require("./ModifyTargetGroupCommand"), exports);
31
+ tslib_1.__exportStar(require("./RegisterTargetsCommand"), exports);
32
+ tslib_1.__exportStar(require("./RemoveListenerCertificatesCommand"), exports);
33
+ tslib_1.__exportStar(require("./RemoveTagsCommand"), exports);
34
+ tslib_1.__exportStar(require("./SetIpAddressTypeCommand"), exports);
35
+ tslib_1.__exportStar(require("./SetRulePrioritiesCommand"), exports);
36
+ tslib_1.__exportStar(require("./SetSecurityGroupsCommand"), exports);
37
+ tslib_1.__exportStar(require("./SetSubnetsCommand"), exports);
@@ -57,22 +57,27 @@ const partitionHash = {
57
57
  "us-west-1",
58
58
  "us-west-2",
59
59
  ],
60
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
60
61
  hostname: "elasticloadbalancing.{region}.amazonaws.com",
61
62
  },
62
63
  "aws-cn": {
63
64
  regions: ["cn-north-1", "cn-northwest-1"],
65
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
64
66
  hostname: "elasticloadbalancing.{region}.amazonaws.com.cn",
65
67
  },
66
68
  "aws-iso": {
67
- regions: ["us-iso-east-1"],
69
+ regions: ["us-iso-east-1", "us-iso-west-1"],
70
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
68
71
  hostname: "elasticloadbalancing.{region}.c2s.ic.gov",
69
72
  },
70
73
  "aws-iso-b": {
71
74
  regions: ["us-isob-east-1"],
75
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
72
76
  hostname: "elasticloadbalancing.{region}.sc2s.sgov.gov",
73
77
  },
74
78
  "aws-us-gov": {
75
79
  regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
80
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
76
81
  hostname: "elasticloadbalancing.{region}.amazonaws.com",
77
82
  },
78
83
  };
package/dist-cjs/index.js CHANGED
@@ -1,49 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./ElasticLoadBalancingV2Client"), exports);
5
4
  tslib_1.__exportStar(require("./ElasticLoadBalancingV2"), exports);
6
- tslib_1.__exportStar(require("./commands/AddListenerCertificatesCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/AddTagsCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/CreateListenerCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CreateLoadBalancerCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateRuleCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/CreateTargetGroupCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/DeleteListenerCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/DeleteLoadBalancerCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/DeleteRuleCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/DeleteTargetGroupCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/DeregisterTargetsCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/DescribeAccountLimitsCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/DescribeListenerCertificatesCommand"), exports);
19
- tslib_1.__exportStar(require("./commands/DescribeListenersCommand"), exports);
20
- tslib_1.__exportStar(require("./pagination/DescribeListenersPaginator"), exports);
21
- tslib_1.__exportStar(require("./commands/DescribeLoadBalancerAttributesCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/DescribeLoadBalancersCommand"), exports);
23
- tslib_1.__exportStar(require("./pagination/DescribeLoadBalancersPaginator"), exports);
24
- tslib_1.__exportStar(require("./waiters/waitForLoadBalancerAvailable"), exports);
25
- tslib_1.__exportStar(require("./waiters/waitForLoadBalancerExists"), exports);
26
- tslib_1.__exportStar(require("./waiters/waitForLoadBalancersDeleted"), exports);
27
- tslib_1.__exportStar(require("./commands/DescribeRulesCommand"), exports);
28
- tslib_1.__exportStar(require("./commands/DescribeSSLPoliciesCommand"), exports);
29
- tslib_1.__exportStar(require("./commands/DescribeTagsCommand"), exports);
30
- tslib_1.__exportStar(require("./commands/DescribeTargetGroupAttributesCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/DescribeTargetGroupsCommand"), exports);
32
- tslib_1.__exportStar(require("./pagination/DescribeTargetGroupsPaginator"), exports);
33
- tslib_1.__exportStar(require("./commands/DescribeTargetHealthCommand"), exports);
34
- tslib_1.__exportStar(require("./waiters/waitForTargetDeregistered"), exports);
35
- tslib_1.__exportStar(require("./waiters/waitForTargetInService"), exports);
36
- tslib_1.__exportStar(require("./commands/ModifyListenerCommand"), exports);
37
- tslib_1.__exportStar(require("./commands/ModifyLoadBalancerAttributesCommand"), exports);
38
- tslib_1.__exportStar(require("./commands/ModifyRuleCommand"), exports);
39
- tslib_1.__exportStar(require("./commands/ModifyTargetGroupCommand"), exports);
40
- tslib_1.__exportStar(require("./commands/ModifyTargetGroupAttributesCommand"), exports);
41
- tslib_1.__exportStar(require("./commands/RegisterTargetsCommand"), exports);
42
- tslib_1.__exportStar(require("./commands/RemoveListenerCertificatesCommand"), exports);
43
- tslib_1.__exportStar(require("./commands/RemoveTagsCommand"), exports);
44
- tslib_1.__exportStar(require("./commands/SetIpAddressTypeCommand"), exports);
45
- tslib_1.__exportStar(require("./commands/SetRulePrioritiesCommand"), exports);
46
- tslib_1.__exportStar(require("./commands/SetSecurityGroupsCommand"), exports);
47
- tslib_1.__exportStar(require("./commands/SetSubnetsCommand"), exports);
48
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
49
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./ElasticLoadBalancingV2Client"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
9
+ tslib_1.__exportStar(require("./waiters"), exports);