@aws-sdk/client-elastic-load-balancing 3.774.0 → 3.777.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/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-cjs/index.js +17 -18
- package/dist-es/ElasticLoadBalancingClient.js +2 -1
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
- package/dist-es/endpoint/EndpointParameters.js +2 -3
- package/dist-es/runtimeExtensions.js +2 -14
- package/dist-types/commands/AddTagsCommand.d.ts +12 -9
- package/dist-types/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +6 -6
- package/dist-types/commands/AttachLoadBalancerToSubnetsCommand.d.ts +6 -6
- package/dist-types/commands/ConfigureHealthCheckCommand.d.ts +16 -16
- package/dist-types/commands/CreateAppCookieStickinessPolicyCommand.d.ts +9 -6
- package/dist-types/commands/CreateLBCookieStickinessPolicyCommand.d.ts +9 -6
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +61 -65
- package/dist-types/commands/CreateLoadBalancerListenersCommand.d.ts +23 -18
- package/dist-types/commands/CreateLoadBalancerPolicyCommand.d.ts +32 -25
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +7 -4
- package/dist-types/commands/DeleteLoadBalancerListenersCommand.d.ts +8 -5
- package/dist-types/commands/DeleteLoadBalancerPolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +9 -9
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeInstanceHealthCommand.d.ts +13 -13
- package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +14 -14
- package/dist-types/commands/DescribeLoadBalancerPoliciesCommand.d.ts +11 -11
- package/dist-types/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +11 -11
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +50 -50
- package/dist-types/commands/DescribeTagsCommand.d.ts +11 -11
- package/dist-types/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +6 -6
- package/dist-types/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +6 -6
- package/dist-types/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +6 -6
- package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +22 -23
- package/dist-types/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +10 -10
- package/dist-types/commands/RemoveTagsCommand.d.ts +9 -6
- package/dist-types/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +9 -6
- package/dist-types/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +9 -6
- package/dist-types/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +9 -6
- package/package.json +34 -34
|
@@ -80,46 +80,51 @@ declare const CreateLoadBalancerListenersCommand_base: {
|
|
|
80
80
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
82
82
|
*
|
|
83
|
-
*
|
|
83
|
+
*
|
|
84
84
|
* @example To create an HTTP listener for a load balancer
|
|
85
85
|
* ```javascript
|
|
86
86
|
* // This example creates a listener for your load balancer at port 80 using the HTTP protocol.
|
|
87
87
|
* const input = {
|
|
88
|
-
*
|
|
88
|
+
* Listeners: [
|
|
89
89
|
* {
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
90
|
+
* InstancePort: 80,
|
|
91
|
+
* InstanceProtocol: "HTTP",
|
|
92
|
+
* LoadBalancerPort: 80,
|
|
93
|
+
* Protocol: "HTTP"
|
|
94
94
|
* }
|
|
95
95
|
* ],
|
|
96
|
-
*
|
|
96
|
+
* LoadBalancerName: "my-load-balancer"
|
|
97
97
|
* };
|
|
98
98
|
* const command = new CreateLoadBalancerListenersCommand(input);
|
|
99
|
-
* await client.send(command);
|
|
100
|
-
*
|
|
99
|
+
* const response = await client.send(command);
|
|
100
|
+
* /* response is
|
|
101
|
+
* { /* metadata only *\/ }
|
|
102
|
+
* *\/
|
|
101
103
|
* ```
|
|
102
104
|
*
|
|
103
105
|
* @example To create an HTTPS listener for a load balancer
|
|
104
106
|
* ```javascript
|
|
105
107
|
* // This example creates a listener for your load balancer at port 443 using the HTTPS protocol.
|
|
106
108
|
* const input = {
|
|
107
|
-
*
|
|
109
|
+
* Listeners: [
|
|
108
110
|
* {
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
111
|
+
* InstancePort: 80,
|
|
112
|
+
* InstanceProtocol: "HTTP",
|
|
113
|
+
* LoadBalancerPort: 443,
|
|
114
|
+
* Protocol: "HTTPS",
|
|
115
|
+
* SSLCertificateId: "arn:aws:iam::123456789012:server-certificate/my-server-cert"
|
|
114
116
|
* }
|
|
115
117
|
* ],
|
|
116
|
-
*
|
|
118
|
+
* LoadBalancerName: "my-load-balancer"
|
|
117
119
|
* };
|
|
118
120
|
* const command = new CreateLoadBalancerListenersCommand(input);
|
|
119
|
-
* await client.send(command);
|
|
120
|
-
*
|
|
121
|
+
* const response = await client.send(command);
|
|
122
|
+
* /* response is
|
|
123
|
+
* { /* metadata only *\/ }
|
|
124
|
+
* *\/
|
|
121
125
|
* ```
|
|
122
126
|
*
|
|
127
|
+
* @public
|
|
123
128
|
*/
|
|
124
129
|
export declare class CreateLoadBalancerListenersCommand extends CreateLoadBalancerListenersCommand_base {
|
|
125
130
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -76,64 +76,71 @@ declare const CreateLoadBalancerPolicyCommand_base: {
|
|
|
76
76
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
77
77
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
78
78
|
*
|
|
79
|
-
*
|
|
79
|
+
*
|
|
80
80
|
* @example To create a policy that enables Proxy Protocol on a load balancer
|
|
81
81
|
* ```javascript
|
|
82
82
|
* // This example creates a policy that enables Proxy Protocol on the specified load balancer.
|
|
83
83
|
* const input = {
|
|
84
|
-
*
|
|
85
|
-
*
|
|
84
|
+
* LoadBalancerName: "my-load-balancer",
|
|
85
|
+
* PolicyAttributes: [
|
|
86
86
|
* {
|
|
87
|
-
*
|
|
88
|
-
*
|
|
87
|
+
* AttributeName: "ProxyProtocol",
|
|
88
|
+
* AttributeValue: "true"
|
|
89
89
|
* }
|
|
90
90
|
* ],
|
|
91
|
-
*
|
|
92
|
-
*
|
|
91
|
+
* PolicyName: "my-ProxyProtocol-policy",
|
|
92
|
+
* PolicyTypeName: "ProxyProtocolPolicyType"
|
|
93
93
|
* };
|
|
94
94
|
* const command = new CreateLoadBalancerPolicyCommand(input);
|
|
95
|
-
* await client.send(command);
|
|
96
|
-
*
|
|
95
|
+
* const response = await client.send(command);
|
|
96
|
+
* /* response is
|
|
97
|
+
* { /* metadata only *\/ }
|
|
98
|
+
* *\/
|
|
97
99
|
* ```
|
|
98
100
|
*
|
|
99
101
|
* @example To create a public key policy
|
|
100
102
|
* ```javascript
|
|
101
103
|
* // This example creates a public key policy.
|
|
102
104
|
* const input = {
|
|
103
|
-
*
|
|
104
|
-
*
|
|
105
|
+
* LoadBalancerName: "my-load-balancer",
|
|
106
|
+
* PolicyAttributes: [
|
|
105
107
|
* {
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
+
* AttributeName: "PublicKey",
|
|
109
|
+
* AttributeValue: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwAYUjnfyEyXr1pxjhFWBpMlggUcqoi3kl+dS74kj//c6x7ROtusUaeQCTgIUkayttRDWchuqo1pHC1u+n5xxXnBBe2ejbb2WRsKIQ5rXEeixsjFpFsojpSQKkzhVGI6mJVZBJDVKSHmswnwLBdofLhzvllpovBPTHe+o4haAWvDBALJU0pkSI1FecPHcs2hwxf14zHoXy1e2k36A64nXW43wtfx5qcVSIxtCEOjnYRg7RPvybaGfQ+v6Iaxb/+7J5kEvZhTFQId+bSiJImF1FSUT1W1xwzBZPUbcUkkXDj45vC2s3Z8E+Lk7a3uZhvsQHLZnrfuWjBWGWvZ/MhZYgEXAMPLE"
|
|
108
110
|
* }
|
|
109
111
|
* ],
|
|
110
|
-
*
|
|
111
|
-
*
|
|
112
|
+
* PolicyName: "my-PublicKey-policy",
|
|
113
|
+
* PolicyTypeName: "PublicKeyPolicyType"
|
|
112
114
|
* };
|
|
113
115
|
* const command = new CreateLoadBalancerPolicyCommand(input);
|
|
114
|
-
* await client.send(command);
|
|
115
|
-
*
|
|
116
|
+
* const response = await client.send(command);
|
|
117
|
+
* /* response is
|
|
118
|
+
* { /* metadata only *\/ }
|
|
119
|
+
* *\/
|
|
116
120
|
* ```
|
|
117
121
|
*
|
|
118
122
|
* @example To create a backend server authentication policy
|
|
119
123
|
* ```javascript
|
|
120
124
|
* // This example creates a backend server authentication policy that enables authentication on your backend instance using a public key policy.
|
|
121
125
|
* const input = {
|
|
122
|
-
*
|
|
123
|
-
*
|
|
126
|
+
* LoadBalancerName: "my-load-balancer",
|
|
127
|
+
* PolicyAttributes: [
|
|
124
128
|
* {
|
|
125
|
-
*
|
|
126
|
-
*
|
|
129
|
+
* AttributeName: "PublicKeyPolicyName",
|
|
130
|
+
* AttributeValue: "my-PublicKey-policy"
|
|
127
131
|
* }
|
|
128
132
|
* ],
|
|
129
|
-
*
|
|
130
|
-
*
|
|
133
|
+
* PolicyName: "my-authentication-policy",
|
|
134
|
+
* PolicyTypeName: "BackendServerAuthenticationPolicyType"
|
|
131
135
|
* };
|
|
132
136
|
* const command = new CreateLoadBalancerPolicyCommand(input);
|
|
133
|
-
* await client.send(command);
|
|
134
|
-
*
|
|
137
|
+
* const response = await client.send(command);
|
|
138
|
+
* /* response is
|
|
139
|
+
* { /* metadata only *\/ }
|
|
140
|
+
* *\/
|
|
135
141
|
* ```
|
|
136
142
|
*
|
|
143
|
+
* @public
|
|
137
144
|
*/
|
|
138
145
|
export declare class CreateLoadBalancerPolicyCommand extends CreateLoadBalancerPolicyCommand_base {
|
|
139
146
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -55,18 +55,21 @@ declare const DeleteLoadBalancerCommand_base: {
|
|
|
55
55
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
56
56
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
57
57
|
*
|
|
58
|
-
*
|
|
58
|
+
*
|
|
59
59
|
* @example To delete a load balancer
|
|
60
60
|
* ```javascript
|
|
61
61
|
* // This example deletes the specified load balancer.
|
|
62
62
|
* const input = {
|
|
63
|
-
*
|
|
63
|
+
* LoadBalancerName: "my-load-balancer"
|
|
64
64
|
* };
|
|
65
65
|
* const command = new DeleteLoadBalancerCommand(input);
|
|
66
|
-
* await client.send(command);
|
|
67
|
-
*
|
|
66
|
+
* const response = await client.send(command);
|
|
67
|
+
* /* response is
|
|
68
|
+
* { /* metadata only *\/ }
|
|
69
|
+
* *\/
|
|
68
70
|
* ```
|
|
69
71
|
*
|
|
72
|
+
* @public
|
|
70
73
|
*/
|
|
71
74
|
export declare class DeleteLoadBalancerCommand extends DeleteLoadBalancerCommand_base {
|
|
72
75
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -58,21 +58,24 @@ declare const DeleteLoadBalancerListenersCommand_base: {
|
|
|
58
58
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
59
59
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
60
60
|
*
|
|
61
|
-
*
|
|
61
|
+
*
|
|
62
62
|
* @example To delete a listener from your load balancer
|
|
63
63
|
* ```javascript
|
|
64
64
|
* // This example deletes the listener for the specified port from the specified load balancer.
|
|
65
65
|
* const input = {
|
|
66
|
-
*
|
|
67
|
-
*
|
|
66
|
+
* LoadBalancerName: "my-load-balancer",
|
|
67
|
+
* LoadBalancerPorts: [
|
|
68
68
|
* 80
|
|
69
69
|
* ]
|
|
70
70
|
* };
|
|
71
71
|
* const command = new DeleteLoadBalancerListenersCommand(input);
|
|
72
|
-
* await client.send(command);
|
|
73
|
-
*
|
|
72
|
+
* const response = await client.send(command);
|
|
73
|
+
* /* response is
|
|
74
|
+
* { /* metadata only *\/ }
|
|
75
|
+
* *\/
|
|
74
76
|
* ```
|
|
75
77
|
*
|
|
78
|
+
* @public
|
|
76
79
|
*/
|
|
77
80
|
export declare class DeleteLoadBalancerListenersCommand extends DeleteLoadBalancerListenersCommand_base {
|
|
78
81
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -59,19 +59,22 @@ declare const DeleteLoadBalancerPolicyCommand_base: {
|
|
|
59
59
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
60
60
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
61
61
|
*
|
|
62
|
-
*
|
|
62
|
+
*
|
|
63
63
|
* @example To delete a policy from your load balancer
|
|
64
64
|
* ```javascript
|
|
65
65
|
* // This example deletes the specified policy from the specified load balancer. The policy must not be enabled on any listener.
|
|
66
66
|
* const input = {
|
|
67
|
-
*
|
|
68
|
-
*
|
|
67
|
+
* LoadBalancerName: "my-load-balancer",
|
|
68
|
+
* PolicyName: "my-duration-cookie-policy"
|
|
69
69
|
* };
|
|
70
70
|
* const command = new DeleteLoadBalancerPolicyCommand(input);
|
|
71
|
-
* await client.send(command);
|
|
72
|
-
*
|
|
71
|
+
* const response = await client.send(command);
|
|
72
|
+
* /* response is
|
|
73
|
+
* { /* metadata only *\/ }
|
|
74
|
+
* *\/
|
|
73
75
|
* ```
|
|
74
76
|
*
|
|
77
|
+
* @public
|
|
75
78
|
*/
|
|
76
79
|
export declare class DeleteLoadBalancerPolicyCommand extends DeleteLoadBalancerPolicyCommand_base {
|
|
77
80
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -74,35 +74,35 @@ declare const DeregisterInstancesFromLoadBalancerCommand_base: {
|
|
|
74
74
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
76
76
|
*
|
|
77
|
-
*
|
|
77
|
+
*
|
|
78
78
|
* @example To deregister instances from a load balancer
|
|
79
79
|
* ```javascript
|
|
80
80
|
* // This example deregisters the specified instance from the specified load balancer.
|
|
81
81
|
* const input = {
|
|
82
|
-
*
|
|
82
|
+
* Instances: [
|
|
83
83
|
* {
|
|
84
|
-
*
|
|
84
|
+
* InstanceId: "i-d6f6fae3"
|
|
85
85
|
* }
|
|
86
86
|
* ],
|
|
87
|
-
*
|
|
87
|
+
* LoadBalancerName: "my-load-balancer"
|
|
88
88
|
* };
|
|
89
89
|
* const command = new DeregisterInstancesFromLoadBalancerCommand(input);
|
|
90
90
|
* const response = await client.send(command);
|
|
91
|
-
* /* response
|
|
91
|
+
* /* response is
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
93
|
+
* Instances: [
|
|
94
94
|
* {
|
|
95
|
-
*
|
|
95
|
+
* InstanceId: "i-207d9717"
|
|
96
96
|
* },
|
|
97
97
|
* {
|
|
98
|
-
*
|
|
98
|
+
* InstanceId: "i-afefb49b"
|
|
99
99
|
* }
|
|
100
100
|
* ]
|
|
101
101
|
* }
|
|
102
102
|
* *\/
|
|
103
|
-
* // example id: elb-deregister-instances-from-load-balancer-1
|
|
104
103
|
* ```
|
|
105
104
|
*
|
|
105
|
+
* @public
|
|
106
106
|
*/
|
|
107
107
|
export declare class DeregisterInstancesFromLoadBalancerCommand extends DeregisterInstancesFromLoadBalancerCommand_base {
|
|
108
108
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -63,6 +63,7 @@ declare const DescribeAccountLimitsCommand_base: {
|
|
|
63
63
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
64
64
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
65
65
|
*
|
|
66
|
+
*
|
|
66
67
|
* @public
|
|
67
68
|
*/
|
|
68
69
|
export declare class DescribeAccountLimitsCommand extends DescribeAccountLimitsCommand_base {
|
|
@@ -72,36 +72,36 @@ declare const DescribeInstanceHealthCommand_base: {
|
|
|
72
72
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
74
74
|
*
|
|
75
|
-
*
|
|
75
|
+
*
|
|
76
76
|
* @example To describe the health of the instances for a load balancer
|
|
77
77
|
* ```javascript
|
|
78
78
|
* // This example describes the health of the instances for the specified load balancer.
|
|
79
79
|
* const input = {
|
|
80
|
-
*
|
|
80
|
+
* LoadBalancerName: "my-load-balancer"
|
|
81
81
|
* };
|
|
82
82
|
* const command = new DescribeInstanceHealthCommand(input);
|
|
83
83
|
* const response = await client.send(command);
|
|
84
|
-
* /* response
|
|
84
|
+
* /* response is
|
|
85
85
|
* {
|
|
86
|
-
*
|
|
86
|
+
* InstanceStates: [
|
|
87
87
|
* {
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
88
|
+
* Description: "N/A",
|
|
89
|
+
* InstanceId: "i-207d9717",
|
|
90
|
+
* ReasonCode: "N/A",
|
|
91
|
+
* State: "InService"
|
|
92
92
|
* },
|
|
93
93
|
* {
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
94
|
+
* Description: "N/A",
|
|
95
|
+
* InstanceId: "i-afefb49b",
|
|
96
|
+
* ReasonCode: "N/A",
|
|
97
|
+
* State: "InService"
|
|
98
98
|
* }
|
|
99
99
|
* ]
|
|
100
100
|
* }
|
|
101
101
|
* *\/
|
|
102
|
-
* // example id: elb-describe-instance-health-1
|
|
103
102
|
* ```
|
|
104
103
|
*
|
|
104
|
+
* @public
|
|
105
105
|
*/
|
|
106
106
|
export declare class DescribeInstanceHealthCommand extends DescribeInstanceHealthCommand_base {
|
|
107
107
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -83,37 +83,37 @@ declare const DescribeLoadBalancerAttributesCommand_base: {
|
|
|
83
83
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
84
84
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
85
85
|
*
|
|
86
|
-
*
|
|
86
|
+
*
|
|
87
87
|
* @example To describe the attributes of a load balancer
|
|
88
88
|
* ```javascript
|
|
89
89
|
* // This example describes the attributes of the specified load balancer.
|
|
90
90
|
* const input = {
|
|
91
|
-
*
|
|
91
|
+
* LoadBalancerName: "my-load-balancer"
|
|
92
92
|
* };
|
|
93
93
|
* const command = new DescribeLoadBalancerAttributesCommand(input);
|
|
94
94
|
* const response = await client.send(command);
|
|
95
|
-
* /* response
|
|
95
|
+
* /* response is
|
|
96
96
|
* {
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
97
|
+
* LoadBalancerAttributes: {
|
|
98
|
+
* AccessLog: {
|
|
99
|
+
* Enabled: false
|
|
100
100
|
* },
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
101
|
+
* ConnectionDraining: {
|
|
102
|
+
* Enabled: false,
|
|
103
|
+
* Timeout: 300
|
|
104
104
|
* },
|
|
105
|
-
*
|
|
106
|
-
*
|
|
105
|
+
* ConnectionSettings: {
|
|
106
|
+
* IdleTimeout: 60
|
|
107
107
|
* },
|
|
108
|
-
*
|
|
109
|
-
*
|
|
108
|
+
* CrossZoneLoadBalancing: {
|
|
109
|
+
* Enabled: false
|
|
110
110
|
* }
|
|
111
111
|
* }
|
|
112
112
|
* }
|
|
113
113
|
* *\/
|
|
114
|
-
* // example id: elb-describe-load-balancer-attributes-1
|
|
115
114
|
* ```
|
|
116
115
|
*
|
|
116
|
+
* @public
|
|
117
117
|
*/
|
|
118
118
|
export declare class DescribeLoadBalancerAttributesCommand extends DescribeLoadBalancerAttributesCommand_base {
|
|
119
119
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -78,37 +78,37 @@ declare const DescribeLoadBalancerPoliciesCommand_base: {
|
|
|
78
78
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
79
79
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
80
80
|
*
|
|
81
|
-
*
|
|
81
|
+
*
|
|
82
82
|
* @example To describe a policy associated with a load balancer
|
|
83
83
|
* ```javascript
|
|
84
84
|
* // This example describes the specified policy associated with the specified load balancer.
|
|
85
85
|
* const input = {
|
|
86
|
-
*
|
|
87
|
-
*
|
|
86
|
+
* LoadBalancerName: "my-load-balancer",
|
|
87
|
+
* PolicyNames: [
|
|
88
88
|
* "my-authentication-policy"
|
|
89
89
|
* ]
|
|
90
90
|
* };
|
|
91
91
|
* const command = new DescribeLoadBalancerPoliciesCommand(input);
|
|
92
92
|
* const response = await client.send(command);
|
|
93
|
-
* /* response
|
|
93
|
+
* /* response is
|
|
94
94
|
* {
|
|
95
|
-
*
|
|
95
|
+
* PolicyDescriptions: [
|
|
96
96
|
* {
|
|
97
|
-
*
|
|
97
|
+
* PolicyAttributeDescriptions: [
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
100
|
-
*
|
|
99
|
+
* AttributeName: "PublicKeyPolicyName",
|
|
100
|
+
* AttributeValue: "my-PublicKey-policy"
|
|
101
101
|
* }
|
|
102
102
|
* ],
|
|
103
|
-
*
|
|
104
|
-
*
|
|
103
|
+
* PolicyName: "my-authentication-policy",
|
|
104
|
+
* PolicyTypeName: "BackendServerAuthenticationPolicyType"
|
|
105
105
|
* }
|
|
106
106
|
* ]
|
|
107
107
|
* }
|
|
108
108
|
* *\/
|
|
109
|
-
* // example id: elb-describe-load-balancer-policies-1
|
|
110
109
|
* ```
|
|
111
110
|
*
|
|
111
|
+
* @public
|
|
112
112
|
*/
|
|
113
113
|
export declare class DescribeLoadBalancerPoliciesCommand extends DescribeLoadBalancerPoliciesCommand_base {
|
|
114
114
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -80,37 +80,37 @@ declare const DescribeLoadBalancerPolicyTypesCommand_base: {
|
|
|
80
80
|
* @throws {@link ElasticLoadBalancingServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancing service.</p>
|
|
82
82
|
*
|
|
83
|
-
*
|
|
83
|
+
*
|
|
84
84
|
* @example To describe a load balancer policy type defined by Elastic Load Balancing
|
|
85
85
|
* ```javascript
|
|
86
86
|
* // This example describes the specified load balancer policy type.
|
|
87
87
|
* const input = {
|
|
88
|
-
*
|
|
88
|
+
* PolicyTypeNames: [
|
|
89
89
|
* "ProxyProtocolPolicyType"
|
|
90
90
|
* ]
|
|
91
91
|
* };
|
|
92
92
|
* const command = new DescribeLoadBalancerPolicyTypesCommand(input);
|
|
93
93
|
* const response = await client.send(command);
|
|
94
|
-
* /* response
|
|
94
|
+
* /* response is
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
96
|
+
* PolicyTypeDescriptions: [
|
|
97
97
|
* {
|
|
98
|
-
*
|
|
99
|
-
*
|
|
98
|
+
* Description: "Policy that controls whether to include the IP address and port of the originating request for TCP messages. This policy operates on TCP listeners only.",
|
|
99
|
+
* PolicyAttributeTypeDescriptions: [
|
|
100
100
|
* {
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
101
|
+
* AttributeName: "ProxyProtocol",
|
|
102
|
+
* AttributeType: "Boolean",
|
|
103
|
+
* Cardinality: "ONE"
|
|
104
104
|
* }
|
|
105
105
|
* ],
|
|
106
|
-
*
|
|
106
|
+
* PolicyTypeName: "ProxyProtocolPolicyType"
|
|
107
107
|
* }
|
|
108
108
|
* ]
|
|
109
109
|
* }
|
|
110
110
|
* *\/
|
|
111
|
-
* // example id: elb-describe-load-balancer-policy-types-1
|
|
112
111
|
* ```
|
|
113
112
|
*
|
|
113
|
+
* @public
|
|
114
114
|
*/
|
|
115
115
|
export declare class DescribeLoadBalancerPolicyTypesCommand extends DescribeLoadBalancerPolicyTypesCommand_base {
|
|
116
116
|
/** @internal type navigation helper, not in runtime. */
|