@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.
- package/CHANGELOG.md +42 -0
- package/dist-cjs/ElasticLoadBalancingV2.js +0 -41
- package/dist-cjs/ElasticLoadBalancingV2Client.js +0 -46
- package/dist-cjs/commands/AddListenerCertificatesCommand.js +0 -31
- package/dist-cjs/commands/AddTagsCommand.js +0 -28
- package/dist-cjs/commands/CreateListenerCommand.js +0 -51
- package/dist-cjs/commands/CreateLoadBalancerCommand.js +0 -51
- package/dist-cjs/commands/CreateRuleCommand.js +0 -29
- package/dist-cjs/commands/CreateTargetGroupCommand.js +0 -51
- package/dist-cjs/commands/DeleteListenerCommand.js +0 -26
- package/dist-cjs/commands/DeleteLoadBalancerCommand.js +0 -30
- package/dist-cjs/commands/DeleteRuleCommand.js +0 -25
- package/dist-cjs/commands/DeleteTargetGroupCommand.js +0 -28
- package/dist-cjs/commands/DeregisterTargetsCommand.js +0 -25
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -46
- package/dist-cjs/commands/DescribeListenerCertificatesCommand.js +0 -31
- package/dist-cjs/commands/DescribeListenersCommand.js +0 -26
- package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +0 -47
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -24
- package/dist-cjs/commands/DescribeRulesCommand.js +0 -25
- package/dist-cjs/commands/DescribeSSLPoliciesCommand.js +0 -26
- package/dist-cjs/commands/DescribeTagsCommand.js +0 -26
- package/dist-cjs/commands/DescribeTargetGroupAttributesCommand.js +0 -45
- package/dist-cjs/commands/DescribeTargetGroupsCommand.js +0 -27
- package/dist-cjs/commands/DescribeTargetHealthCommand.js +0 -24
- package/dist-cjs/commands/ModifyListenerCommand.js +0 -31
- package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +0 -27
- package/dist-cjs/commands/ModifyRuleCommand.js +0 -28
- package/dist-cjs/commands/ModifyTargetGroupAttributesCommand.js +0 -24
- package/dist-cjs/commands/ModifyTargetGroupCommand.js +0 -25
- package/dist-cjs/commands/RegisterTargetsCommand.js +0 -36
- package/dist-cjs/commands/RemoveListenerCertificatesCommand.js +0 -25
- package/dist-cjs/commands/RemoveTagsCommand.js +0 -26
- package/dist-cjs/commands/SetIpAddressTypeCommand.js +0 -25
- package/dist-cjs/commands/SetRulePrioritiesCommand.js +0 -26
- package/dist-cjs/commands/SetSecurityGroupsCommand.js +0 -27
- package/dist-cjs/commands/SetSubnetsCommand.js +0 -29
- package/dist-cjs/commands/index.js +37 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -45
- package/dist-cjs/models/models_0.js +8 -429
- package/dist-cjs/pagination/DescribeListenersPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +0 -10
- package/dist-cjs/pagination/DescribeTargetGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_query.js +18 -2
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +8 -0
- package/dist-cjs/waiters/waitForLoadBalancerAvailable.js +0 -9
- package/dist-cjs/waiters/waitForLoadBalancerExists.js +0 -9
- package/dist-cjs/waiters/waitForLoadBalancersDeleted.js +0 -9
- package/dist-cjs/waiters/waitForTargetDeregistered.js +0 -9
- package/dist-cjs/waiters/waitForTargetInService.js +0 -9
- package/dist-es/commands/index.js +34 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -45
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_query.js +18 -0
- package/dist-es/waiters/index.js +5 -0
- package/dist-types/commands/index.d.ts +34 -0
- package/dist-types/index.d.ts +5 -45
- package/dist-types/models/models_0.d.ts +41 -12
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/ElasticLoadBalancingV2.d.ts +35 -378
- package/dist-types/ts3.4/ElasticLoadBalancingV2Client.d.ts +24 -127
- package/dist-types/ts3.4/commands/AddListenerCertificatesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/CreateRuleCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateTargetGroupCommand.d.ts +2 -47
- package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DeleteRuleCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteTargetGroupCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeregisterTargetsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/DescribeListenerCertificatesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeListenersCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +2 -43
- package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeRulesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeSSLPoliciesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeTargetGroupAttributesCommand.d.ts +2 -41
- package/dist-types/ts3.4/commands/DescribeTargetGroupsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeTargetHealthCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyListenerCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ModifyRuleCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/ModifyTargetGroupAttributesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ModifyTargetGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/RegisterTargetsCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/RemoveListenerCertificatesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/SetIpAddressTypeCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/SetRulePrioritiesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/SetSecurityGroupsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/SetSubnetsCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/index.d.ts +34 -0
- package/dist-types/ts3.4/index.d.ts +5 -45
- package/dist-types/ts3.4/models/models_0.d.ts +238 -3056
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -6
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +5 -0
- package/dist-types/ts3.4/waiters/waitForLoadBalancerAvailable.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForLoadBalancerExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForLoadBalancersDeleted.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForTargetDeregistered.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForTargetInService.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +5 -0
- 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);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -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("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
10
|
-
tslib_1.__exportStar(require("./
|
|
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);
|