@aws-sdk/client-elastic-load-balancing 3.35.0 → 3.38.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 +47 -0
- package/dist-cjs/ElasticLoadBalancing.js +0 -24
- package/dist-cjs/ElasticLoadBalancingClient.js +0 -29
- package/dist-cjs/commands/AddTagsCommand.js +0 -31
- package/dist-cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js +0 -27
- package/dist-cjs/commands/AttachLoadBalancerToSubnetsCommand.js +0 -28
- package/dist-cjs/commands/ConfigureHealthCheckCommand.js +0 -27
- package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js +0 -33
- package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js +0 -31
- package/dist-cjs/commands/CreateLoadBalancerCommand.js +0 -38
- package/dist-cjs/commands/CreateLoadBalancerListenersCommand.js +0 -27
- package/dist-cjs/commands/CreateLoadBalancerPolicyCommand.js +0 -26
- package/dist-cjs/commands/DeleteLoadBalancerCommand.js +0 -28
- package/dist-cjs/commands/DeleteLoadBalancerListenersCommand.js +0 -25
- package/dist-cjs/commands/DeleteLoadBalancerPolicyCommand.js +0 -25
- package/dist-cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js +0 -30
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js +0 -27
- package/dist-cjs/commands/DescribeInstanceHealthCommand.js +0 -25
- package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js +0 -25
- package/dist-cjs/commands/DescribeLoadBalancerPoliciesCommand.js +0 -29
- package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js +0 -32
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js +0 -25
- package/dist-cjs/commands/DescribeTagsCommand.js +0 -25
- package/dist-cjs/commands/DetachLoadBalancerFromSubnetsCommand.js +0 -28
- package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +0 -33
- package/dist-cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +0 -30
- package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js +0 -51
- package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js +0 -43
- package/dist-cjs/commands/RemoveTagsCommand.js +0 -25
- package/dist-cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js +0 -29
- package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +0 -35
- package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js +0 -31
- package/dist-cjs/commands/index.js +32 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +5 -35
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -319
- package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/index.js +5 -0
- package/dist-cjs/protocols/Aws_query.js +0 -3
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-cjs/waiters/index.js +4 -0
- package/dist-cjs/waiters/waitForAnyInstanceInService.js +0 -10
- package/dist-es/ElasticLoadBalancing.js +0 -1
- package/dist-es/ElasticLoadBalancingClient.js +0 -1
- package/dist-es/commands/AddTagsCommand.js +0 -1
- package/dist-es/commands/ApplySecurityGroupsToLoadBalancerCommand.js +0 -1
- package/dist-es/commands/AttachLoadBalancerToSubnetsCommand.js +0 -1
- package/dist-es/commands/ConfigureHealthCheckCommand.js +0 -1
- package/dist-es/commands/CreateAppCookieStickinessPolicyCommand.js +0 -1
- package/dist-es/commands/CreateLBCookieStickinessPolicyCommand.js +0 -1
- package/dist-es/commands/CreateLoadBalancerCommand.js +0 -1
- package/dist-es/commands/CreateLoadBalancerListenersCommand.js +0 -1
- package/dist-es/commands/CreateLoadBalancerPolicyCommand.js +0 -1
- package/dist-es/commands/DeleteLoadBalancerCommand.js +0 -1
- package/dist-es/commands/DeleteLoadBalancerListenersCommand.js +0 -1
- package/dist-es/commands/DeleteLoadBalancerPolicyCommand.js +0 -1
- package/dist-es/commands/DeregisterInstancesFromLoadBalancerCommand.js +0 -1
- package/dist-es/commands/DescribeAccountLimitsCommand.js +0 -1
- package/dist-es/commands/DescribeInstanceHealthCommand.js +0 -1
- package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js +0 -1
- package/dist-es/commands/DescribeLoadBalancerPoliciesCommand.js +0 -1
- package/dist-es/commands/DescribeLoadBalancerPolicyTypesCommand.js +0 -1
- package/dist-es/commands/DescribeLoadBalancersCommand.js +0 -1
- package/dist-es/commands/DescribeTagsCommand.js +0 -1
- package/dist-es/commands/DetachLoadBalancerFromSubnetsCommand.js +0 -1
- package/dist-es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js +0 -1
- package/dist-es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js +0 -1
- package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js +0 -1
- package/dist-es/commands/RegisterInstancesWithLoadBalancerCommand.js +0 -1
- package/dist-es/commands/RemoveTagsCommand.js +0 -1
- package/dist-es/commands/SetLoadBalancerListenerSSLCertificateCommand.js +0 -1
- package/dist-es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js +0 -1
- package/dist-es/commands/SetLoadBalancerPoliciesOfListenerCommand.js +0 -1
- package/dist-es/commands/index.js +29 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +5 -35
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/DescribeLoadBalancersPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_query.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForAnyInstanceInService.js +0 -1
- package/dist-types/commands/index.d.ts +29 -0
- package/dist-types/index.d.ts +5 -34
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/ElasticLoadBalancing.d.ts +30 -254
- package/dist-types/ts3.4/ElasticLoadBalancingClient.d.ts +24 -109
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/AttachLoadBalancerToSubnetsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ConfigureHealthCheckCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateAppCookieStickinessPolicyCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/CreateLBCookieStickinessPolicyCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CreateLoadBalancerCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/CreateLoadBalancerListenersCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateLoadBalancerPolicyCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteLoadBalancerCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteLoadBalancerListenersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteLoadBalancerPolicyCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeInstanceHealthCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeLoadBalancerAttributesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeLoadBalancerPoliciesCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DescribeLoadBalancersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ModifyLoadBalancerAttributesCommand.d.ts +2 -46
- package/dist-types/ts3.4/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +2 -38
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/index.d.ts +29 -0
- package/dist-types/ts3.4/index.d.ts +5 -34
- package/dist-types/ts3.4/models/models_0.d.ts +378 -1283
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- 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 +1 -0
- package/dist-types/ts3.4/waiters/waitForAnyInstanceInService.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +1 -0
- package/package.json +34 -31
- package/dist-cjs/ElasticLoadBalancing.js.map +0 -1
- package/dist-cjs/ElasticLoadBalancingClient.js.map +0 -1
- package/dist-cjs/commands/AddTagsCommand.js.map +0 -1
- package/dist-cjs/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/AttachLoadBalancerToSubnetsCommand.js.map +0 -1
- package/dist-cjs/commands/ConfigureHealthCheckCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAppCookieStickinessPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/CreateLBCookieStickinessPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/CreateLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/CreateLoadBalancerListenersCommand.js.map +0 -1
- package/dist-cjs/commands/CreateLoadBalancerPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLoadBalancerListenersCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLoadBalancerPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeAccountLimitsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeInstanceHealthCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLoadBalancerPoliciesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeLoadBalancersCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-cjs/commands/DetachLoadBalancerFromSubnetsCommand.js.map +0 -1
- package/dist-cjs/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
- package/dist-cjs/commands/RegisterInstancesWithLoadBalancerCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveTagsCommand.js.map +0 -1
- package/dist-cjs/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +0 -1
- package/dist-cjs/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +0 -1
- package/dist-cjs/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/protocols/Aws_query.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForAnyInstanceInService.js.map +0 -1
- package/dist-es/ElasticLoadBalancing.js.map +0 -1
- package/dist-es/ElasticLoadBalancingClient.js.map +0 -1
- package/dist-es/commands/AddTagsCommand.js.map +0 -1
- package/dist-es/commands/ApplySecurityGroupsToLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/AttachLoadBalancerToSubnetsCommand.js.map +0 -1
- package/dist-es/commands/ConfigureHealthCheckCommand.js.map +0 -1
- package/dist-es/commands/CreateAppCookieStickinessPolicyCommand.js.map +0 -1
- package/dist-es/commands/CreateLBCookieStickinessPolicyCommand.js.map +0 -1
- package/dist-es/commands/CreateLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/CreateLoadBalancerListenersCommand.js.map +0 -1
- package/dist-es/commands/CreateLoadBalancerPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeleteLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/DeleteLoadBalancerListenersCommand.js.map +0 -1
- package/dist-es/commands/DeleteLoadBalancerPolicyCommand.js.map +0 -1
- package/dist-es/commands/DeregisterInstancesFromLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/DescribeAccountLimitsCommand.js.map +0 -1
- package/dist-es/commands/DescribeInstanceHealthCommand.js.map +0 -1
- package/dist-es/commands/DescribeLoadBalancerAttributesCommand.js.map +0 -1
- package/dist-es/commands/DescribeLoadBalancerPoliciesCommand.js.map +0 -1
- package/dist-es/commands/DescribeLoadBalancerPolicyTypesCommand.js.map +0 -1
- package/dist-es/commands/DescribeLoadBalancersCommand.js.map +0 -1
- package/dist-es/commands/DescribeTagsCommand.js.map +0 -1
- package/dist-es/commands/DetachLoadBalancerFromSubnetsCommand.js.map +0 -1
- package/dist-es/commands/DisableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/EnableAvailabilityZonesForLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/ModifyLoadBalancerAttributesCommand.js.map +0 -1
- package/dist-es/commands/RegisterInstancesWithLoadBalancerCommand.js.map +0 -1
- package/dist-es/commands/RemoveTagsCommand.js.map +0 -1
- package/dist-es/commands/SetLoadBalancerListenerSSLCertificateCommand.js.map +0 -1
- package/dist-es/commands/SetLoadBalancerPoliciesForBackendServerCommand.js.map +0 -1
- package/dist-es/commands/SetLoadBalancerPoliciesOfListenerCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/DescribeLoadBalancersPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/protocols/Aws_query.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForAnyInstanceInService.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/ElasticLoadBalancing.ts +0 -1230
- package/src/ElasticLoadBalancingClient.ts +0 -415
- package/src/commands/AddTagsCommand.ts +0 -102
- package/src/commands/ApplySecurityGroupsToLoadBalancerCommand.ts +0 -109
- package/src/commands/AttachLoadBalancerToSubnetsCommand.ts +0 -105
- package/src/commands/ConfigureHealthCheckCommand.ts +0 -101
- package/src/commands/CreateAppCookieStickinessPolicyCommand.ts +0 -115
- package/src/commands/CreateLBCookieStickinessPolicyCommand.ts +0 -113
- package/src/commands/CreateLoadBalancerCommand.ts +0 -112
- package/src/commands/CreateLoadBalancerListenersCommand.ts +0 -104
- package/src/commands/CreateLoadBalancerPolicyCommand.ts +0 -100
- package/src/commands/DeleteLoadBalancerCommand.ts +0 -102
- package/src/commands/DeleteLoadBalancerListenersCommand.ts +0 -102
- package/src/commands/DeleteLoadBalancerPolicyCommand.ts +0 -99
- package/src/commands/DeregisterInstancesFromLoadBalancerCommand.ts +0 -110
- package/src/commands/DescribeAccountLimitsCommand.ts +0 -101
- package/src/commands/DescribeInstanceHealthCommand.ts +0 -99
- package/src/commands/DescribeLoadBalancerAttributesCommand.ts +0 -107
- package/src/commands/DescribeLoadBalancerPoliciesCommand.ts +0 -108
- package/src/commands/DescribeLoadBalancerPolicyTypesCommand.ts +0 -114
- package/src/commands/DescribeLoadBalancersCommand.ts +0 -99
- package/src/commands/DescribeTagsCommand.ts +0 -96
- package/src/commands/DetachLoadBalancerFromSubnetsCommand.ts +0 -107
- package/src/commands/DisableAvailabilityZonesForLoadBalancerCommand.ts +0 -118
- package/src/commands/EnableAvailabilityZonesForLoadBalancerCommand.ts +0 -112
- package/src/commands/ModifyLoadBalancerAttributesCommand.ts +0 -130
- package/src/commands/RegisterInstancesWithLoadBalancerCommand.ts +0 -123
- package/src/commands/RemoveTagsCommand.ts +0 -96
- package/src/commands/SetLoadBalancerListenerSSLCertificateCommand.ts +0 -114
- package/src/commands/SetLoadBalancerPoliciesForBackendServerCommand.ts +0 -124
- package/src/commands/SetLoadBalancerPoliciesOfListenerCommand.ts +0 -113
- package/src/endpoints.ts +0 -86
- package/src/index.ts +0 -35
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -2556
- package/src/pagination/DescribeLoadBalancersPaginator.ts +0 -58
- package/src/pagination/Interfaces.ts +0 -8
- package/src/protocols/Aws_query.ts +0 -5445
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForAnyInstanceInService.ts +0 -59
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
ElasticLoadBalancingClientResolvedConfig,
|
|
16
|
-
ServiceInputTypes,
|
|
17
|
-
ServiceOutputTypes,
|
|
18
|
-
} from "../ElasticLoadBalancingClient";
|
|
19
|
-
import { DescribeEndPointStateInput, DescribeEndPointStateOutput } from "../models/models_0";
|
|
20
|
-
import {
|
|
21
|
-
deserializeAws_queryDescribeInstanceHealthCommand,
|
|
22
|
-
serializeAws_queryDescribeInstanceHealthCommand,
|
|
23
|
-
} from "../protocols/Aws_query";
|
|
24
|
-
|
|
25
|
-
export interface DescribeInstanceHealthCommandInput extends DescribeEndPointStateInput {}
|
|
26
|
-
export interface DescribeInstanceHealthCommandOutput extends DescribeEndPointStateOutput, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Describes the state of the specified instances with respect to the specified load balancer. If no instances are specified, the call describes the state of all instances that are currently registered with the load balancer. If instances are specified, their state is returned even if they are no longer registered with the load balancer. The state of terminated instances is not returned.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ElasticLoadBalancingClient, DescribeInstanceHealthCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
34
|
-
* // const { ElasticLoadBalancingClient, DescribeInstanceHealthCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
35
|
-
* const client = new ElasticLoadBalancingClient(config);
|
|
36
|
-
* const command = new DescribeInstanceHealthCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link DescribeInstanceHealthCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link DescribeInstanceHealthCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class DescribeInstanceHealthCommand extends $Command<
|
|
46
|
-
DescribeInstanceHealthCommandInput,
|
|
47
|
-
DescribeInstanceHealthCommandOutput,
|
|
48
|
-
ElasticLoadBalancingClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: DescribeInstanceHealthCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: ElasticLoadBalancingClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<DescribeInstanceHealthCommandInput, DescribeInstanceHealthCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "ElasticLoadBalancingClient";
|
|
73
|
-
const commandName = "DescribeInstanceHealthCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: DescribeEndPointStateInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: DescribeEndPointStateOutput.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: DescribeInstanceHealthCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_queryDescribeInstanceHealthCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeInstanceHealthCommandOutput> {
|
|
94
|
-
return deserializeAws_queryDescribeInstanceHealthCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
ElasticLoadBalancingClientResolvedConfig,
|
|
16
|
-
ServiceInputTypes,
|
|
17
|
-
ServiceOutputTypes,
|
|
18
|
-
} from "../ElasticLoadBalancingClient";
|
|
19
|
-
import { DescribeLoadBalancerAttributesInput, DescribeLoadBalancerAttributesOutput } from "../models/models_0";
|
|
20
|
-
import {
|
|
21
|
-
deserializeAws_queryDescribeLoadBalancerAttributesCommand,
|
|
22
|
-
serializeAws_queryDescribeLoadBalancerAttributesCommand,
|
|
23
|
-
} from "../protocols/Aws_query";
|
|
24
|
-
|
|
25
|
-
export interface DescribeLoadBalancerAttributesCommandInput extends DescribeLoadBalancerAttributesInput {}
|
|
26
|
-
export interface DescribeLoadBalancerAttributesCommandOutput
|
|
27
|
-
extends DescribeLoadBalancerAttributesOutput,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <p>Describes the attributes for the specified load balancer.</p>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { ElasticLoadBalancingClient, DescribeLoadBalancerAttributesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
36
|
-
* // const { ElasticLoadBalancingClient, DescribeLoadBalancerAttributesCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
37
|
-
* const client = new ElasticLoadBalancingClient(config);
|
|
38
|
-
* const command = new DescribeLoadBalancerAttributesCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link DescribeLoadBalancerAttributesCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link DescribeLoadBalancerAttributesCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export class DescribeLoadBalancerAttributesCommand extends $Command<
|
|
48
|
-
DescribeLoadBalancerAttributesCommandInput,
|
|
49
|
-
DescribeLoadBalancerAttributesCommandOutput,
|
|
50
|
-
ElasticLoadBalancingClientResolvedConfig
|
|
51
|
-
> {
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
|
-
|
|
55
|
-
constructor(readonly input: DescribeLoadBalancerAttributesCommandInput) {
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
super();
|
|
58
|
-
// End section: command_constructor
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
|
-
resolveMiddleware(
|
|
65
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
66
|
-
configuration: ElasticLoadBalancingClientResolvedConfig,
|
|
67
|
-
options?: __HttpHandlerOptions
|
|
68
|
-
): Handler<DescribeLoadBalancerAttributesCommandInput, DescribeLoadBalancerAttributesCommandOutput> {
|
|
69
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
70
|
-
|
|
71
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
72
|
-
|
|
73
|
-
const { logger } = configuration;
|
|
74
|
-
const clientName = "ElasticLoadBalancingClient";
|
|
75
|
-
const commandName = "DescribeLoadBalancerAttributesCommand";
|
|
76
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
77
|
-
logger,
|
|
78
|
-
clientName,
|
|
79
|
-
commandName,
|
|
80
|
-
inputFilterSensitiveLog: DescribeLoadBalancerAttributesInput.filterSensitiveLog,
|
|
81
|
-
outputFilterSensitiveLog: DescribeLoadBalancerAttributesOutput.filterSensitiveLog,
|
|
82
|
-
};
|
|
83
|
-
const { requestHandler } = configuration;
|
|
84
|
-
return stack.resolve(
|
|
85
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
86
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
87
|
-
handlerExecutionContext
|
|
88
|
-
);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private serialize(
|
|
92
|
-
input: DescribeLoadBalancerAttributesCommandInput,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<__HttpRequest> {
|
|
95
|
-
return serializeAws_queryDescribeLoadBalancerAttributesCommand(input, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private deserialize(
|
|
99
|
-
output: __HttpResponse,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
): Promise<DescribeLoadBalancerAttributesCommandOutput> {
|
|
102
|
-
return deserializeAws_queryDescribeLoadBalancerAttributesCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
ElasticLoadBalancingClientResolvedConfig,
|
|
16
|
-
ServiceInputTypes,
|
|
17
|
-
ServiceOutputTypes,
|
|
18
|
-
} from "../ElasticLoadBalancingClient";
|
|
19
|
-
import { DescribeLoadBalancerPoliciesInput, DescribeLoadBalancerPoliciesOutput } from "../models/models_0";
|
|
20
|
-
import {
|
|
21
|
-
deserializeAws_queryDescribeLoadBalancerPoliciesCommand,
|
|
22
|
-
serializeAws_queryDescribeLoadBalancerPoliciesCommand,
|
|
23
|
-
} from "../protocols/Aws_query";
|
|
24
|
-
|
|
25
|
-
export interface DescribeLoadBalancerPoliciesCommandInput extends DescribeLoadBalancerPoliciesInput {}
|
|
26
|
-
export interface DescribeLoadBalancerPoliciesCommandOutput
|
|
27
|
-
extends DescribeLoadBalancerPoliciesOutput,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <p>Describes the specified policies.</p>
|
|
32
|
-
* <p>If you specify a load balancer name, the action returns the descriptions of all policies created for the load balancer.
|
|
33
|
-
* If you specify a policy name associated with your load balancer, the action returns the description of that policy.
|
|
34
|
-
* If you don't specify a load balancer name, the action returns descriptions of the specified sample policies, or descriptions of all sample policies.
|
|
35
|
-
* The names of the sample policies have the <code>ELBSample-</code> prefix.</p>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { ElasticLoadBalancingClient, DescribeLoadBalancerPoliciesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
40
|
-
* // const { ElasticLoadBalancingClient, DescribeLoadBalancerPoliciesCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
41
|
-
* const client = new ElasticLoadBalancingClient(config);
|
|
42
|
-
* const command = new DescribeLoadBalancerPoliciesCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link DescribeLoadBalancerPoliciesCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link DescribeLoadBalancerPoliciesCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
export class DescribeLoadBalancerPoliciesCommand extends $Command<
|
|
52
|
-
DescribeLoadBalancerPoliciesCommandInput,
|
|
53
|
-
DescribeLoadBalancerPoliciesCommandOutput,
|
|
54
|
-
ElasticLoadBalancingClientResolvedConfig
|
|
55
|
-
> {
|
|
56
|
-
// Start section: command_properties
|
|
57
|
-
// End section: command_properties
|
|
58
|
-
|
|
59
|
-
constructor(readonly input: DescribeLoadBalancerPoliciesCommandInput) {
|
|
60
|
-
// Start section: command_constructor
|
|
61
|
-
super();
|
|
62
|
-
// End section: command_constructor
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* @internal
|
|
67
|
-
*/
|
|
68
|
-
resolveMiddleware(
|
|
69
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
70
|
-
configuration: ElasticLoadBalancingClientResolvedConfig,
|
|
71
|
-
options?: __HttpHandlerOptions
|
|
72
|
-
): Handler<DescribeLoadBalancerPoliciesCommandInput, DescribeLoadBalancerPoliciesCommandOutput> {
|
|
73
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
74
|
-
|
|
75
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
76
|
-
|
|
77
|
-
const { logger } = configuration;
|
|
78
|
-
const clientName = "ElasticLoadBalancingClient";
|
|
79
|
-
const commandName = "DescribeLoadBalancerPoliciesCommand";
|
|
80
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
81
|
-
logger,
|
|
82
|
-
clientName,
|
|
83
|
-
commandName,
|
|
84
|
-
inputFilterSensitiveLog: DescribeLoadBalancerPoliciesInput.filterSensitiveLog,
|
|
85
|
-
outputFilterSensitiveLog: DescribeLoadBalancerPoliciesOutput.filterSensitiveLog,
|
|
86
|
-
};
|
|
87
|
-
const { requestHandler } = configuration;
|
|
88
|
-
return stack.resolve(
|
|
89
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
90
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
91
|
-
handlerExecutionContext
|
|
92
|
-
);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
private serialize(input: DescribeLoadBalancerPoliciesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
96
|
-
return serializeAws_queryDescribeLoadBalancerPoliciesCommand(input, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private deserialize(
|
|
100
|
-
output: __HttpResponse,
|
|
101
|
-
context: __SerdeContext
|
|
102
|
-
): Promise<DescribeLoadBalancerPoliciesCommandOutput> {
|
|
103
|
-
return deserializeAws_queryDescribeLoadBalancerPoliciesCommand(output, context);
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Start section: command_body_extra
|
|
107
|
-
// End section: command_body_extra
|
|
108
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
ElasticLoadBalancingClientResolvedConfig,
|
|
16
|
-
ServiceInputTypes,
|
|
17
|
-
ServiceOutputTypes,
|
|
18
|
-
} from "../ElasticLoadBalancingClient";
|
|
19
|
-
import { DescribeLoadBalancerPolicyTypesInput, DescribeLoadBalancerPolicyTypesOutput } from "../models/models_0";
|
|
20
|
-
import {
|
|
21
|
-
deserializeAws_queryDescribeLoadBalancerPolicyTypesCommand,
|
|
22
|
-
serializeAws_queryDescribeLoadBalancerPolicyTypesCommand,
|
|
23
|
-
} from "../protocols/Aws_query";
|
|
24
|
-
|
|
25
|
-
export interface DescribeLoadBalancerPolicyTypesCommandInput extends DescribeLoadBalancerPolicyTypesInput {}
|
|
26
|
-
export interface DescribeLoadBalancerPolicyTypesCommandOutput
|
|
27
|
-
extends DescribeLoadBalancerPolicyTypesOutput,
|
|
28
|
-
__MetadataBearer {}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* <p>Describes the specified load balancer policy types or all load balancer policy types.</p>
|
|
32
|
-
* <p>The description of each type indicates how it can be used. For example,
|
|
33
|
-
* some policies can be used only with layer 7 listeners,
|
|
34
|
-
* some policies can be used only with layer 4 listeners,
|
|
35
|
-
* and some policies can be used only with your EC2 instances.</p>
|
|
36
|
-
* <p>You can use <a>CreateLoadBalancerPolicy</a> to create a policy configuration for any of these policy types.
|
|
37
|
-
* Then, depending on the policy type, use either <a>SetLoadBalancerPoliciesOfListener</a> or
|
|
38
|
-
* <a>SetLoadBalancerPoliciesForBackendServer</a> to set the policy.</p>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { ElasticLoadBalancingClient, DescribeLoadBalancerPolicyTypesCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
43
|
-
* // const { ElasticLoadBalancingClient, DescribeLoadBalancerPolicyTypesCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
44
|
-
* const client = new ElasticLoadBalancingClient(config);
|
|
45
|
-
* const command = new DescribeLoadBalancerPolicyTypesCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link DescribeLoadBalancerPolicyTypesCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link DescribeLoadBalancerPolicyTypesCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
54
|
-
export class DescribeLoadBalancerPolicyTypesCommand extends $Command<
|
|
55
|
-
DescribeLoadBalancerPolicyTypesCommandInput,
|
|
56
|
-
DescribeLoadBalancerPolicyTypesCommandOutput,
|
|
57
|
-
ElasticLoadBalancingClientResolvedConfig
|
|
58
|
-
> {
|
|
59
|
-
// Start section: command_properties
|
|
60
|
-
// End section: command_properties
|
|
61
|
-
|
|
62
|
-
constructor(readonly input: DescribeLoadBalancerPolicyTypesCommandInput) {
|
|
63
|
-
// Start section: command_constructor
|
|
64
|
-
super();
|
|
65
|
-
// End section: command_constructor
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @internal
|
|
70
|
-
*/
|
|
71
|
-
resolveMiddleware(
|
|
72
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
73
|
-
configuration: ElasticLoadBalancingClientResolvedConfig,
|
|
74
|
-
options?: __HttpHandlerOptions
|
|
75
|
-
): Handler<DescribeLoadBalancerPolicyTypesCommandInput, DescribeLoadBalancerPolicyTypesCommandOutput> {
|
|
76
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
77
|
-
|
|
78
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
79
|
-
|
|
80
|
-
const { logger } = configuration;
|
|
81
|
-
const clientName = "ElasticLoadBalancingClient";
|
|
82
|
-
const commandName = "DescribeLoadBalancerPolicyTypesCommand";
|
|
83
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
84
|
-
logger,
|
|
85
|
-
clientName,
|
|
86
|
-
commandName,
|
|
87
|
-
inputFilterSensitiveLog: DescribeLoadBalancerPolicyTypesInput.filterSensitiveLog,
|
|
88
|
-
outputFilterSensitiveLog: DescribeLoadBalancerPolicyTypesOutput.filterSensitiveLog,
|
|
89
|
-
};
|
|
90
|
-
const { requestHandler } = configuration;
|
|
91
|
-
return stack.resolve(
|
|
92
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
93
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
94
|
-
handlerExecutionContext
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
private serialize(
|
|
99
|
-
input: DescribeLoadBalancerPolicyTypesCommandInput,
|
|
100
|
-
context: __SerdeContext
|
|
101
|
-
): Promise<__HttpRequest> {
|
|
102
|
-
return serializeAws_queryDescribeLoadBalancerPolicyTypesCommand(input, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
private deserialize(
|
|
106
|
-
output: __HttpResponse,
|
|
107
|
-
context: __SerdeContext
|
|
108
|
-
): Promise<DescribeLoadBalancerPolicyTypesCommandOutput> {
|
|
109
|
-
return deserializeAws_queryDescribeLoadBalancerPolicyTypesCommand(output, context);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// Start section: command_body_extra
|
|
113
|
-
// End section: command_body_extra
|
|
114
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
ElasticLoadBalancingClientResolvedConfig,
|
|
16
|
-
ServiceInputTypes,
|
|
17
|
-
ServiceOutputTypes,
|
|
18
|
-
} from "../ElasticLoadBalancingClient";
|
|
19
|
-
import { DescribeAccessPointsInput, DescribeAccessPointsOutput } from "../models/models_0";
|
|
20
|
-
import {
|
|
21
|
-
deserializeAws_queryDescribeLoadBalancersCommand,
|
|
22
|
-
serializeAws_queryDescribeLoadBalancersCommand,
|
|
23
|
-
} from "../protocols/Aws_query";
|
|
24
|
-
|
|
25
|
-
export interface DescribeLoadBalancersCommandInput extends DescribeAccessPointsInput {}
|
|
26
|
-
export interface DescribeLoadBalancersCommandOutput extends DescribeAccessPointsOutput, __MetadataBearer {}
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* <p>Describes the specified the load balancers. If no load balancers are specified, the call describes all of your load balancers.</p>
|
|
30
|
-
* @example
|
|
31
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
-
* ```javascript
|
|
33
|
-
* import { ElasticLoadBalancingClient, DescribeLoadBalancersCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
34
|
-
* // const { ElasticLoadBalancingClient, DescribeLoadBalancersCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
35
|
-
* const client = new ElasticLoadBalancingClient(config);
|
|
36
|
-
* const command = new DescribeLoadBalancersCommand(input);
|
|
37
|
-
* const response = await client.send(command);
|
|
38
|
-
* ```
|
|
39
|
-
*
|
|
40
|
-
* @see {@link DescribeLoadBalancersCommandInput} for command's `input` shape.
|
|
41
|
-
* @see {@link DescribeLoadBalancersCommandOutput} for command's `response` shape.
|
|
42
|
-
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
|
|
43
|
-
*
|
|
44
|
-
*/
|
|
45
|
-
export class DescribeLoadBalancersCommand extends $Command<
|
|
46
|
-
DescribeLoadBalancersCommandInput,
|
|
47
|
-
DescribeLoadBalancersCommandOutput,
|
|
48
|
-
ElasticLoadBalancingClientResolvedConfig
|
|
49
|
-
> {
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
|
-
|
|
53
|
-
constructor(readonly input: DescribeLoadBalancersCommandInput) {
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
super();
|
|
56
|
-
// End section: command_constructor
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
|
-
resolveMiddleware(
|
|
63
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
64
|
-
configuration: ElasticLoadBalancingClientResolvedConfig,
|
|
65
|
-
options?: __HttpHandlerOptions
|
|
66
|
-
): Handler<DescribeLoadBalancersCommandInput, DescribeLoadBalancersCommandOutput> {
|
|
67
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
|
-
|
|
69
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
70
|
-
|
|
71
|
-
const { logger } = configuration;
|
|
72
|
-
const clientName = "ElasticLoadBalancingClient";
|
|
73
|
-
const commandName = "DescribeLoadBalancersCommand";
|
|
74
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
75
|
-
logger,
|
|
76
|
-
clientName,
|
|
77
|
-
commandName,
|
|
78
|
-
inputFilterSensitiveLog: DescribeAccessPointsInput.filterSensitiveLog,
|
|
79
|
-
outputFilterSensitiveLog: DescribeAccessPointsOutput.filterSensitiveLog,
|
|
80
|
-
};
|
|
81
|
-
const { requestHandler } = configuration;
|
|
82
|
-
return stack.resolve(
|
|
83
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
84
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
85
|
-
handlerExecutionContext
|
|
86
|
-
);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private serialize(input: DescribeLoadBalancersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
90
|
-
return serializeAws_queryDescribeLoadBalancersCommand(input, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeLoadBalancersCommandOutput> {
|
|
94
|
-
return deserializeAws_queryDescribeLoadBalancersCommand(output, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Start section: command_body_extra
|
|
98
|
-
// End section: command_body_extra
|
|
99
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
ElasticLoadBalancingClientResolvedConfig,
|
|
16
|
-
ServiceInputTypes,
|
|
17
|
-
ServiceOutputTypes,
|
|
18
|
-
} from "../ElasticLoadBalancingClient";
|
|
19
|
-
import { DescribeTagsInput, DescribeTagsOutput } from "../models/models_0";
|
|
20
|
-
import { deserializeAws_queryDescribeTagsCommand, serializeAws_queryDescribeTagsCommand } from "../protocols/Aws_query";
|
|
21
|
-
|
|
22
|
-
export interface DescribeTagsCommandInput extends DescribeTagsInput {}
|
|
23
|
-
export interface DescribeTagsCommandOutput extends DescribeTagsOutput, __MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Describes the tags associated with the specified load balancers.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { ElasticLoadBalancingClient, DescribeTagsCommand } from "@aws-sdk/client-elastic-load-balancing"; // ES Modules import
|
|
31
|
-
* // const { ElasticLoadBalancingClient, DescribeTagsCommand } = require("@aws-sdk/client-elastic-load-balancing"); // CommonJS import
|
|
32
|
-
* const client = new ElasticLoadBalancingClient(config);
|
|
33
|
-
* const command = new DescribeTagsCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link DescribeTagsCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link DescribeTagsCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link ElasticLoadBalancingClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class DescribeTagsCommand extends $Command<
|
|
43
|
-
DescribeTagsCommandInput,
|
|
44
|
-
DescribeTagsCommandOutput,
|
|
45
|
-
ElasticLoadBalancingClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: DescribeTagsCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: ElasticLoadBalancingClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<DescribeTagsCommandInput, DescribeTagsCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "ElasticLoadBalancingClient";
|
|
70
|
-
const commandName = "DescribeTagsCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: DescribeTagsInput.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: DescribeTagsOutput.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: DescribeTagsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_queryDescribeTagsCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeTagsCommandOutput> {
|
|
91
|
-
return deserializeAws_queryDescribeTagsCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|