@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-elastic-load-balancing-v2
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
20
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
6
48
|
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
49
|
|
|
8
50
|
|
|
@@ -36,47 +36,6 @@ const SetRulePrioritiesCommand_1 = require("./commands/SetRulePrioritiesCommand"
|
|
|
36
36
|
const SetSecurityGroupsCommand_1 = require("./commands/SetSecurityGroupsCommand");
|
|
37
37
|
const SetSubnetsCommand_1 = require("./commands/SetSubnetsCommand");
|
|
38
38
|
const ElasticLoadBalancingV2Client_1 = require("./ElasticLoadBalancingV2Client");
|
|
39
|
-
/**
|
|
40
|
-
* <fullname>Elastic Load Balancing</fullname>
|
|
41
|
-
*
|
|
42
|
-
* <p>A load balancer distributes incoming traffic across targets, such as your EC2 instances.
|
|
43
|
-
* This enables you to increase the availability of your application. The load balancer also
|
|
44
|
-
* monitors the health of its registered targets and ensures that it routes traffic only to
|
|
45
|
-
* healthy targets. You configure your load balancer to accept incoming traffic by specifying one
|
|
46
|
-
* or more listeners, which are configured with a protocol and port number for connections from
|
|
47
|
-
* clients to the load balancer. You configure a target group with a protocol and port number for
|
|
48
|
-
* connections from the load balancer to the targets, and with health check settings to be used
|
|
49
|
-
* when checking the health status of the targets.</p>
|
|
50
|
-
*
|
|
51
|
-
* <p>Elastic Load Balancing supports the following types of load balancers: Application Load
|
|
52
|
-
* Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This
|
|
53
|
-
* reference covers the following load balancer types:</p>
|
|
54
|
-
* <ul>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>Application Load Balancer - Operates at the application layer (layer 7) and supports
|
|
57
|
-
* HTTP and HTTPS.</p>
|
|
58
|
-
* </li>
|
|
59
|
-
* <li>
|
|
60
|
-
* <p>Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP,
|
|
61
|
-
* TLS, and UDP.</p>
|
|
62
|
-
* </li>
|
|
63
|
-
* <li>
|
|
64
|
-
* <p>Gateway Load Balancer - Operates at the network layer (layer 3).</p>
|
|
65
|
-
* </li>
|
|
66
|
-
* </ul>
|
|
67
|
-
*
|
|
68
|
-
* <p>For more information, see the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/">Elastic Load Balancing User
|
|
69
|
-
* Guide</a>.</p>
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* <p>All Elastic Load Balancing operations are idempotent, which means that they complete at
|
|
78
|
-
* most one time. If you repeat an operation, it succeeds.</p>
|
|
79
|
-
*/
|
|
80
39
|
class ElasticLoadBalancingV2 extends ElasticLoadBalancingV2Client_1.ElasticLoadBalancingV2Client {
|
|
81
40
|
addListenerCertificates(args, optionsOrCb, cb) {
|
|
82
41
|
const command = new AddListenerCertificatesCommand_1.AddListenerCertificatesCommand(args);
|
|
@@ -10,47 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <fullname>Elastic Load Balancing</fullname>
|
|
15
|
-
*
|
|
16
|
-
* <p>A load balancer distributes incoming traffic across targets, such as your EC2 instances.
|
|
17
|
-
* This enables you to increase the availability of your application. The load balancer also
|
|
18
|
-
* monitors the health of its registered targets and ensures that it routes traffic only to
|
|
19
|
-
* healthy targets. You configure your load balancer to accept incoming traffic by specifying one
|
|
20
|
-
* or more listeners, which are configured with a protocol and port number for connections from
|
|
21
|
-
* clients to the load balancer. You configure a target group with a protocol and port number for
|
|
22
|
-
* connections from the load balancer to the targets, and with health check settings to be used
|
|
23
|
-
* when checking the health status of the targets.</p>
|
|
24
|
-
*
|
|
25
|
-
* <p>Elastic Load Balancing supports the following types of load balancers: Application Load
|
|
26
|
-
* Balancers, Network Load Balancers, Gateway Load Balancers, and Classic Load Balancers. This
|
|
27
|
-
* reference covers the following load balancer types:</p>
|
|
28
|
-
* <ul>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>Application Load Balancer - Operates at the application layer (layer 7) and supports
|
|
31
|
-
* HTTP and HTTPS.</p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>Network Load Balancer - Operates at the transport layer (layer 4) and supports TCP,
|
|
35
|
-
* TLS, and UDP.</p>
|
|
36
|
-
* </li>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>Gateway Load Balancer - Operates at the network layer (layer 3).</p>
|
|
39
|
-
* </li>
|
|
40
|
-
* </ul>
|
|
41
|
-
*
|
|
42
|
-
* <p>For more information, see the <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/">Elastic Load Balancing User
|
|
43
|
-
* Guide</a>.</p>
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* <p>All Elastic Load Balancing operations are idempotent, which means that they complete at
|
|
52
|
-
* most one time. If you repeat an operation, it succeeds.</p>
|
|
53
|
-
*/
|
|
54
13
|
class ElasticLoadBalancingV2Client extends smithy_client_1.Client {
|
|
55
14
|
constructor(configuration) {
|
|
56
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -69,11 +28,6 @@ class ElasticLoadBalancingV2Client extends smithy_client_1.Client {
|
|
|
69
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
70
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
71
30
|
}
|
|
72
|
-
/**
|
|
73
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
74
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
75
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
76
|
-
*/
|
|
77
31
|
destroy() {
|
|
78
32
|
super.destroy();
|
|
79
33
|
}
|
|
@@ -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>Adds the specified SSL server certificate to the certificate list for the specified HTTPS
|
|
10
|
-
* or TLS listener.</p>
|
|
11
|
-
* <p>If the certificate in already in the certificate list, the call is successful but the
|
|
12
|
-
* certificate is not added again.</p>
|
|
13
|
-
*
|
|
14
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/create-https-listener.html">HTTPS
|
|
15
|
-
* listeners</a> in the <i>Application Load Balancers Guide</i> or <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/create-tls-listener.html">TLS
|
|
16
|
-
* listeners</a> in the <i>Network Load Balancers 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, AddListenerCertificatesCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
21
|
-
* // const { ElasticLoadBalancingV2Client, AddListenerCertificatesCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
22
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
23
|
-
* const command = new AddListenerCertificatesCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link AddListenerCertificatesCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link AddListenerCertificatesCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
8
|
class AddListenerCertificatesCommand 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,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>Adds the specified tags to the specified Elastic Load Balancing resource. You can tag your
|
|
10
|
-
* Application Load Balancers, Network Load Balancers, Gateway Load Balancers, target groups,
|
|
11
|
-
* listeners, and rules.</p>
|
|
12
|
-
* <p>Each tag consists of a key and an optional value. If a resource already has a tag with the
|
|
13
|
-
* same key, <code>AddTags</code> updates its value.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { ElasticLoadBalancingV2Client, AddTagsCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
18
|
-
* // const { ElasticLoadBalancingV2Client, AddTagsCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
19
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
20
|
-
* const command = new AddTagsCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link AddTagsCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link AddTagsCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class AddTagsCommand 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);
|
|
@@ -5,62 +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>Creates a listener for the specified Application Load Balancer, Network Load Balancer, or
|
|
10
|
-
* Gateway Load Balancer.</p>
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* <p>For more information, see the following:</p>
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>
|
|
17
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html">Listeners for
|
|
18
|
-
* your Application Load Balancers</a>
|
|
19
|
-
* </p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>
|
|
23
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-listeners.html">Listeners for
|
|
24
|
-
* your Network Load Balancers</a>
|
|
25
|
-
* </p>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>
|
|
29
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-listeners.html">Listeners for your
|
|
30
|
-
* Gateway Load Balancers</a>
|
|
31
|
-
* </p>
|
|
32
|
-
* </li>
|
|
33
|
-
* </ul>
|
|
34
|
-
*
|
|
35
|
-
* <p>This operation is idempotent, which means that it completes at most one time. If you
|
|
36
|
-
* attempt to create multiple listeners with the same settings, each call succeeds.</p>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { ElasticLoadBalancingV2Client, CreateListenerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
41
|
-
* // const { ElasticLoadBalancingV2Client, CreateListenerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
42
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
43
|
-
* const command = new CreateListenerCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link CreateListenerCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link CreateListenerCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
8
|
class CreateListenerCommand extends smithy_client_1.Command {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
9
|
constructor(input) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
10
|
super();
|
|
58
11
|
this.input = input;
|
|
59
|
-
// End section: command_constructor
|
|
60
12
|
}
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
65
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,62 +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>Creates an Application Load Balancer, Network Load Balancer, or Gateway Load
|
|
10
|
-
* Balancer.</p>
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* <p>For more information, see the following:</p>
|
|
15
|
-
* <ul>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>
|
|
18
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/application-load-balancers.html">Application Load Balancers</a>
|
|
19
|
-
* </p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>
|
|
23
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html">Network Load
|
|
24
|
-
* Balancers</a>
|
|
25
|
-
* </p>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>
|
|
29
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/gateway-load-balancers.html">Gateway Load
|
|
30
|
-
* Balancers</a>
|
|
31
|
-
* </p>
|
|
32
|
-
* </li>
|
|
33
|
-
* </ul>
|
|
34
|
-
*
|
|
35
|
-
* <p>This operation is idempotent, which means that it completes at most one time. If you
|
|
36
|
-
* attempt to create multiple load balancers with the same settings, each call succeeds.</p>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { ElasticLoadBalancingV2Client, CreateLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
41
|
-
* // const { ElasticLoadBalancingV2Client, CreateLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
42
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
43
|
-
* const command = new CreateLoadBalancerCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link CreateLoadBalancerCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link CreateLoadBalancerCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
8
|
class CreateLoadBalancerCommand extends smithy_client_1.Command {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
9
|
constructor(input) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
10
|
super();
|
|
58
11
|
this.input = input;
|
|
59
|
-
// End section: command_constructor
|
|
60
12
|
}
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
65
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
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>Creates a rule for the specified listener. The listener must be associated with an
|
|
10
|
-
* Application Load Balancer.</p>
|
|
11
|
-
* <p>Each rule consists of a priority, one or more actions, and one or more conditions. Rules
|
|
12
|
-
* are evaluated in priority order, from the lowest value to the highest value. When the
|
|
13
|
-
* conditions for a rule are met, its actions are performed. If the conditions for no rules are
|
|
14
|
-
* met, the actions for the default rule are performed. For more information, see <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#listener-rules">Listener rules</a> in the <i>Application Load Balancers Guide</i>.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { ElasticLoadBalancingV2Client, CreateRuleCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
19
|
-
* // const { ElasticLoadBalancingV2Client, CreateRuleCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
20
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
21
|
-
* const command = new CreateRuleCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link CreateRuleCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link CreateRuleCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class CreateRuleCommand 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);
|
|
@@ -5,62 +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>Creates a target group.</p>
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* <p>For more information, see the following:</p>
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>
|
|
17
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html">Target
|
|
18
|
-
* groups for your Application Load Balancers</a>
|
|
19
|
-
* </p>
|
|
20
|
-
* </li>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>
|
|
23
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html">Target groups
|
|
24
|
-
* for your Network Load Balancers</a>
|
|
25
|
-
* </p>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>
|
|
29
|
-
* <a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/gateway/target-groups.html">Target groups for your
|
|
30
|
-
* Gateway Load Balancers</a>
|
|
31
|
-
* </p>
|
|
32
|
-
* </li>
|
|
33
|
-
* </ul>
|
|
34
|
-
*
|
|
35
|
-
* <p>This operation is idempotent, which means that it completes at most one time. If you
|
|
36
|
-
* attempt to create multiple target groups with the same settings, each call succeeds.</p>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { ElasticLoadBalancingV2Client, CreateTargetGroupCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
41
|
-
* // const { ElasticLoadBalancingV2Client, CreateTargetGroupCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
42
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
43
|
-
* const command = new CreateTargetGroupCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link CreateTargetGroupCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link CreateTargetGroupCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
8
|
class CreateTargetGroupCommand extends smithy_client_1.Command {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
9
|
constructor(input) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
10
|
super();
|
|
58
11
|
this.input = input;
|
|
59
|
-
// End section: command_constructor
|
|
60
12
|
}
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
65
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
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>Deletes the specified listener.</p>
|
|
10
|
-
* <p>Alternatively, your listener is deleted when you delete the load balancer to which it is
|
|
11
|
-
* attached.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { ElasticLoadBalancingV2Client, DeleteListenerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
16
|
-
* // const { ElasticLoadBalancingV2Client, DeleteListenerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
17
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
18
|
-
* const command = new DeleteListenerCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link DeleteListenerCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link DeleteListenerCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class DeleteListenerCommand 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,41 +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>Deletes the specified Application Load Balancer, Network Load Balancer, or Gateway Load
|
|
10
|
-
* Balancer. Deleting a load balancer also deletes its listeners.</p>
|
|
11
|
-
* <p>You can't delete a load balancer if deletion protection is enabled. If the load balancer
|
|
12
|
-
* does not exist or has already been deleted, the call succeeds.</p>
|
|
13
|
-
* <p>Deleting a load balancer does not affect its registered targets. For example, your EC2
|
|
14
|
-
* instances continue to run and are still registered to their target groups. If you no longer
|
|
15
|
-
* need these EC2 instances, you can stop or terminate them.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { ElasticLoadBalancingV2Client, DeleteLoadBalancerCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
20
|
-
* // const { ElasticLoadBalancingV2Client, DeleteLoadBalancerCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
21
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
22
|
-
* const command = new DeleteLoadBalancerCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link DeleteLoadBalancerCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link DeleteLoadBalancerCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class DeleteLoadBalancerCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
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>Deletes the specified rule.</p>
|
|
10
|
-
* <p>You can't delete the default rule.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { ElasticLoadBalancingV2Client, DeleteRuleCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
15
|
-
* // const { ElasticLoadBalancingV2Client, DeleteRuleCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
16
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
17
|
-
* const command = new DeleteRuleCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DeleteRuleCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DeleteRuleCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class DeleteRuleCommand 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,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>Deletes the specified target group.</p>
|
|
10
|
-
* <p>You can delete a target group if it is not referenced by any actions. Deleting a target
|
|
11
|
-
* group also deletes any associated health checks. Deleting a target group does not affect its
|
|
12
|
-
* registered targets. For example, any EC2 instances continue to run until you stop or terminate
|
|
13
|
-
* them.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { ElasticLoadBalancingV2Client, DeleteTargetGroupCommand } from "@aws-sdk/client-elastic-load-balancing-v2"; // ES Modules import
|
|
18
|
-
* // const { ElasticLoadBalancingV2Client, DeleteTargetGroupCommand } = require("@aws-sdk/client-elastic-load-balancing-v2"); // CommonJS import
|
|
19
|
-
* const client = new ElasticLoadBalancingV2Client(config);
|
|
20
|
-
* const command = new DeleteTargetGroupCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DeleteTargetGroupCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DeleteTargetGroupCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link ElasticLoadBalancingV2ClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
8
|
class DeleteTargetGroupCommand 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);
|