@aws-sdk/client-elastic-load-balancing 3.288.0 → 3.290.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist-types/commands/AddTagsCommand.d.ts +33 -0
  2. package/dist-types/commands/ApplySecurityGroupsToLoadBalancerCommand.d.ts +31 -0
  3. package/dist-types/commands/AttachLoadBalancerToSubnetsCommand.d.ts +35 -0
  4. package/dist-types/commands/ConfigureHealthCheckCommand.d.ts +33 -0
  5. package/dist-types/commands/CreateAppCookieStickinessPolicyCommand.d.ts +26 -0
  6. package/dist-types/commands/CreateLBCookieStickinessPolicyCommand.d.ts +26 -0
  7. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +198 -0
  8. package/dist-types/commands/CreateLoadBalancerListenersCommand.d.ts +57 -0
  9. package/dist-types/commands/CreateLoadBalancerPolicyCommand.d.ts +73 -0
  10. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +12 -0
  11. package/dist-types/commands/DeleteLoadBalancerListenersCommand.d.ts +18 -0
  12. package/dist-types/commands/DeleteLoadBalancerPolicyCommand.d.ts +19 -0
  13. package/dist-types/commands/DeregisterInstancesFromLoadBalancerCommand.d.ts +35 -0
  14. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
  15. package/dist-types/commands/DescribeInstanceHealthCommand.d.ts +36 -0
  16. package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +37 -0
  17. package/dist-types/commands/DescribeLoadBalancerPoliciesCommand.d.ts +37 -0
  18. package/dist-types/commands/DescribeLoadBalancerPolicyTypesCommand.d.ts +34 -0
  19. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +110 -0
  20. package/dist-types/commands/DescribeTagsCommand.d.ts +36 -0
  21. package/dist-types/commands/DetachLoadBalancerFromSubnetsCommand.d.ts +28 -0
  22. package/dist-types/commands/DisableAvailabilityZonesForLoadBalancerCommand.d.ts +28 -0
  23. package/dist-types/commands/EnableAvailabilityZonesForLoadBalancerCommand.d.ts +26 -0
  24. package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +64 -0
  25. package/dist-types/commands/RegisterInstancesWithLoadBalancerCommand.d.ts +38 -0
  26. package/dist-types/commands/RemoveTagsCommand.d.ts +22 -0
  27. package/dist-types/commands/SetLoadBalancerListenerSSLCertificateCommand.d.ts +31 -0
  28. package/dist-types/commands/SetLoadBalancerPoliciesForBackendServerCommand.d.ts +25 -0
  29. package/dist-types/commands/SetLoadBalancerPoliciesOfListenerCommand.d.ts +28 -0
  30. package/package.json +30 -30
@@ -35,6 +35,39 @@ export interface AddTagsCommandOutput extends AddTagsOutput, __MetadataBearer {
35
35
  * @see {@link AddTagsCommandOutput} for command's `response` shape.
36
36
  * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
37
37
  *
38
+ * @throws {@link AccessPointNotFoundException} (client fault)
39
+ * <p>The specified load balancer does not exist.</p>
40
+ *
41
+ * @throws {@link DuplicateTagKeysException} (client fault)
42
+ * <p>A tag key was specified more than once.</p>
43
+ *
44
+ * @throws {@link TooManyTagsException} (client fault)
45
+ * <p>The quota for the number of tags that can be assigned to a load balancer has been reached.</p>
46
+ *
47
+ *
48
+ * @example To add tags to a load balancer
49
+ * ```javascript
50
+ * // This example adds two tags to the specified load balancer.
51
+ * const input = {
52
+ * "LoadBalancerNames": [
53
+ * "my-load-balancer"
54
+ * ],
55
+ * "Tags": [
56
+ * {
57
+ * "Key": "project",
58
+ * "Value": "lima"
59
+ * },
60
+ * {
61
+ * "Key": "department",
62
+ * "Value": "digital-media"
63
+ * }
64
+ * ]
65
+ * };
66
+ * const command = new AddTagsCommand(input);
67
+ * await client.send(command);
68
+ * // example id: elb-add-tags-1
69
+ * ```
70
+ *
38
71
  */
39
72
  export declare class AddTagsCommand extends $Command<AddTagsCommandInput, AddTagsCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
40
73
  readonly input: AddTagsCommandInput;
@@ -31,6 +31,37 @@ export interface ApplySecurityGroupsToLoadBalancerCommandOutput extends ApplySec
31
31
  * @see {@link ApplySecurityGroupsToLoadBalancerCommandOutput} for command's `response` shape.
32
32
  * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
33
33
  *
34
+ * @throws {@link AccessPointNotFoundException} (client fault)
35
+ * <p>The specified load balancer does not exist.</p>
36
+ *
37
+ * @throws {@link InvalidConfigurationRequestException} (client fault)
38
+ * <p>The requested configuration change is not valid.</p>
39
+ *
40
+ * @throws {@link InvalidSecurityGroupException} (client fault)
41
+ * <p>One or more of the specified security groups do not exist.</p>
42
+ *
43
+ *
44
+ * @example To associate a security group with a load balancer in a VPC
45
+ * ```javascript
46
+ * // This example associates a security group with the specified load balancer in a VPC.
47
+ * const input = {
48
+ * "LoadBalancerName": "my-load-balancer",
49
+ * "SecurityGroups": [
50
+ * "sg-fc448899"
51
+ * ]
52
+ * };
53
+ * const command = new ApplySecurityGroupsToLoadBalancerCommand(input);
54
+ * const response = await client.send(command);
55
+ * /* response ==
56
+ * {
57
+ * "SecurityGroups": [
58
+ * "sg-fc448899"
59
+ * ]
60
+ * }
61
+ * *\/
62
+ * // example id: elb-apply-security-groups-to-load-balancer-1
63
+ * ```
64
+ *
34
65
  */
35
66
  export declare class ApplySecurityGroupsToLoadBalancerCommand extends $Command<ApplySecurityGroupsToLoadBalancerCommandInput, ApplySecurityGroupsToLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
36
67
  readonly input: ApplySecurityGroupsToLoadBalancerCommandInput;
@@ -32,6 +32,41 @@ export interface AttachLoadBalancerToSubnetsCommandOutput extends AttachLoadBala
32
32
  * @see {@link AttachLoadBalancerToSubnetsCommandOutput} for command's `response` shape.
33
33
  * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
34
34
  *
35
+ * @throws {@link AccessPointNotFoundException} (client fault)
36
+ * <p>The specified load balancer does not exist.</p>
37
+ *
38
+ * @throws {@link InvalidConfigurationRequestException} (client fault)
39
+ * <p>The requested configuration change is not valid.</p>
40
+ *
41
+ * @throws {@link InvalidSubnetException} (client fault)
42
+ * <p>The specified VPC has no associated Internet gateway.</p>
43
+ *
44
+ * @throws {@link SubnetNotFoundException} (client fault)
45
+ * <p>One or more of the specified subnets do not exist.</p>
46
+ *
47
+ *
48
+ * @example To attach subnets to a load balancer
49
+ * ```javascript
50
+ * // This example adds the specified subnet to the set of configured subnets for the specified load balancer.
51
+ * const input = {
52
+ * "LoadBalancerName": "my-load-balancer",
53
+ * "Subnets": [
54
+ * "subnet-0ecac448"
55
+ * ]
56
+ * };
57
+ * const command = new AttachLoadBalancerToSubnetsCommand(input);
58
+ * const response = await client.send(command);
59
+ * /* response ==
60
+ * {
61
+ * "Subnets": [
62
+ * "subnet-15aaab61",
63
+ * "subnet-0ecac448"
64
+ * ]
65
+ * }
66
+ * *\/
67
+ * // example id: elb-attach-load-balancer-to-subnets-1
68
+ * ```
69
+ *
35
70
  */
36
71
  export declare class AttachLoadBalancerToSubnetsCommand extends $Command<AttachLoadBalancerToSubnetsCommandInput, AttachLoadBalancerToSubnetsCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
37
72
  readonly input: AttachLoadBalancerToSubnetsCommandInput;
@@ -31,6 +31,39 @@ export interface ConfigureHealthCheckCommandOutput extends ConfigureHealthCheckO
31
31
  * @see {@link ConfigureHealthCheckCommandOutput} for command's `response` shape.
32
32
  * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
33
33
  *
34
+ * @throws {@link AccessPointNotFoundException} (client fault)
35
+ * <p>The specified load balancer does not exist.</p>
36
+ *
37
+ *
38
+ * @example To specify the health check settings for your backend EC2 instances
39
+ * ```javascript
40
+ * // This example specifies the health check settings used to evaluate the health of your backend EC2 instances.
41
+ * const input = {
42
+ * "HealthCheck": {
43
+ * "HealthyThreshold": 2,
44
+ * "Interval": 30,
45
+ * "Target": "HTTP:80/png",
46
+ * "Timeout": 3,
47
+ * "UnhealthyThreshold": 2
48
+ * },
49
+ * "LoadBalancerName": "my-load-balancer"
50
+ * };
51
+ * const command = new ConfigureHealthCheckCommand(input);
52
+ * const response = await client.send(command);
53
+ * /* response ==
54
+ * {
55
+ * "HealthCheck": {
56
+ * "HealthyThreshold": 2,
57
+ * "Interval": 30,
58
+ * "Target": "HTTP:80/png",
59
+ * "Timeout": 3,
60
+ * "UnhealthyThreshold": 2
61
+ * }
62
+ * }
63
+ * *\/
64
+ * // example id: elb-configure-health-check-1
65
+ * ```
66
+ *
34
67
  */
35
68
  export declare class ConfigureHealthCheckCommand extends $Command<ConfigureHealthCheckCommandInput, ConfigureHealthCheckCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
36
69
  readonly input: ConfigureHealthCheckCommandInput;
@@ -37,6 +37,32 @@ export interface CreateAppCookieStickinessPolicyCommandOutput extends CreateAppC
37
37
  * @see {@link CreateAppCookieStickinessPolicyCommandOutput} for command's `response` shape.
38
38
  * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
39
39
  *
40
+ * @throws {@link AccessPointNotFoundException} (client fault)
41
+ * <p>The specified load balancer does not exist.</p>
42
+ *
43
+ * @throws {@link DuplicatePolicyNameException} (client fault)
44
+ * <p>A policy with the specified name already exists for this load balancer.</p>
45
+ *
46
+ * @throws {@link InvalidConfigurationRequestException} (client fault)
47
+ * <p>The requested configuration change is not valid.</p>
48
+ *
49
+ * @throws {@link TooManyPoliciesException} (client fault)
50
+ * <p>The quota for the number of policies for this load balancer has been reached.</p>
51
+ *
52
+ *
53
+ * @example To generate a stickiness policy for your load balancer
54
+ * ```javascript
55
+ * // This example generates a stickiness policy that follows the sticky session lifetimes of the application-generated cookie.
56
+ * const input = {
57
+ * "CookieName": "my-app-cookie",
58
+ * "LoadBalancerName": "my-load-balancer",
59
+ * "PolicyName": "my-app-cookie-policy"
60
+ * };
61
+ * const command = new CreateAppCookieStickinessPolicyCommand(input);
62
+ * await client.send(command);
63
+ * // example id: elb-create-app-cookie-stickiness-policy-1
64
+ * ```
65
+ *
40
66
  */
41
67
  export declare class CreateAppCookieStickinessPolicyCommand extends $Command<CreateAppCookieStickinessPolicyCommandInput, CreateAppCookieStickinessPolicyCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
42
68
  readonly input: CreateAppCookieStickinessPolicyCommandInput;
@@ -35,6 +35,32 @@ export interface CreateLBCookieStickinessPolicyCommandOutput extends CreateLBCoo
35
35
  * @see {@link CreateLBCookieStickinessPolicyCommandOutput} for command's `response` shape.
36
36
  * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
37
37
  *
38
+ * @throws {@link AccessPointNotFoundException} (client fault)
39
+ * <p>The specified load balancer does not exist.</p>
40
+ *
41
+ * @throws {@link DuplicatePolicyNameException} (client fault)
42
+ * <p>A policy with the specified name already exists for this load balancer.</p>
43
+ *
44
+ * @throws {@link InvalidConfigurationRequestException} (client fault)
45
+ * <p>The requested configuration change is not valid.</p>
46
+ *
47
+ * @throws {@link TooManyPoliciesException} (client fault)
48
+ * <p>The quota for the number of policies for this load balancer has been reached.</p>
49
+ *
50
+ *
51
+ * @example To generate a duration-based stickiness policy for your load balancer
52
+ * ```javascript
53
+ * // This example generates a stickiness policy with sticky session lifetimes controlled by the specified expiration period.
54
+ * const input = {
55
+ * "CookieExpirationPeriod": 60,
56
+ * "LoadBalancerName": "my-load-balancer",
57
+ * "PolicyName": "my-duration-cookie-policy"
58
+ * };
59
+ * const command = new CreateLBCookieStickinessPolicyCommand(input);
60
+ * await client.send(command);
61
+ * // example id: elb-create-lb-cookie-stickiness-policy-1
62
+ * ```
63
+ *
38
64
  */
39
65
  export declare class CreateLBCookieStickinessPolicyCommand extends $Command<CreateLBCookieStickinessPolicyCommandInput, CreateLBCookieStickinessPolicyCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
40
66
  readonly input: CreateLBCookieStickinessPolicyCommandInput;
@@ -42,6 +42,204 @@ export interface CreateLoadBalancerCommandOutput extends CreateAccessPointOutput
42
42
  * @see {@link CreateLoadBalancerCommandOutput} for command's `response` shape.
43
43
  * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
44
44
  *
45
+ * @throws {@link CertificateNotFoundException} (client fault)
46
+ * <p>The specified ARN does not refer to a valid SSL certificate in AWS Identity and Access Management (IAM)
47
+ * or AWS Certificate Manager (ACM). Note that if you recently uploaded the certificate to IAM, this error might
48
+ * indicate that the certificate is not fully available yet.</p>
49
+ *
50
+ * @throws {@link DuplicateAccessPointNameException} (client fault)
51
+ * <p>The specified load balancer name already exists for this account.</p>
52
+ *
53
+ * @throws {@link DuplicateTagKeysException} (client fault)
54
+ * <p>A tag key was specified more than once.</p>
55
+ *
56
+ * @throws {@link InvalidConfigurationRequestException} (client fault)
57
+ * <p>The requested configuration change is not valid.</p>
58
+ *
59
+ * @throws {@link InvalidSchemeException} (client fault)
60
+ * <p>The specified value for the schema is not valid. You can only specify a scheme for load balancers in a VPC.</p>
61
+ *
62
+ * @throws {@link InvalidSecurityGroupException} (client fault)
63
+ * <p>One or more of the specified security groups do not exist.</p>
64
+ *
65
+ * @throws {@link InvalidSubnetException} (client fault)
66
+ * <p>The specified VPC has no associated Internet gateway.</p>
67
+ *
68
+ * @throws {@link OperationNotPermittedException} (client fault)
69
+ * <p>This operation is not allowed.</p>
70
+ *
71
+ * @throws {@link SubnetNotFoundException} (client fault)
72
+ * <p>One or more of the specified subnets do not exist.</p>
73
+ *
74
+ * @throws {@link TooManyAccessPointsException} (client fault)
75
+ * <p>The quota for the number of load balancers has been reached.</p>
76
+ *
77
+ * @throws {@link TooManyTagsException} (client fault)
78
+ * <p>The quota for the number of tags that can be assigned to a load balancer has been reached.</p>
79
+ *
80
+ * @throws {@link UnsupportedProtocolException} (client fault)
81
+ * <p>The specified protocol or signature version is not supported.</p>
82
+ *
83
+ *
84
+ * @example To create an HTTP load balancer in a VPC
85
+ * ```javascript
86
+ * // This example creates a load balancer with an HTTP listener in a VPC.
87
+ * const input = {
88
+ * "Listeners": [
89
+ * {
90
+ * "InstancePort": 80,
91
+ * "InstanceProtocol": "HTTP",
92
+ * "LoadBalancerPort": 80,
93
+ * "Protocol": "HTTP"
94
+ * }
95
+ * ],
96
+ * "LoadBalancerName": "my-load-balancer",
97
+ * "SecurityGroups": [
98
+ * "sg-a61988c3"
99
+ * ],
100
+ * "Subnets": [
101
+ * "subnet-15aaab61"
102
+ * ]
103
+ * };
104
+ * const command = new CreateLoadBalancerCommand(input);
105
+ * const response = await client.send(command);
106
+ * /* response ==
107
+ * {
108
+ * "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com"
109
+ * }
110
+ * *\/
111
+ * // example id: elb-create-load-balancer-1
112
+ * ```
113
+ *
114
+ * @example To create an HTTP load balancer in EC2-Classic
115
+ * ```javascript
116
+ * // This example creates a load balancer with an HTTP listener in EC2-Classic.
117
+ * const input = {
118
+ * "AvailabilityZones": [
119
+ * "us-west-2a"
120
+ * ],
121
+ * "Listeners": [
122
+ * {
123
+ * "InstancePort": 80,
124
+ * "InstanceProtocol": "HTTP",
125
+ * "LoadBalancerPort": 80,
126
+ * "Protocol": "HTTP"
127
+ * }
128
+ * ],
129
+ * "LoadBalancerName": "my-load-balancer"
130
+ * };
131
+ * const command = new CreateLoadBalancerCommand(input);
132
+ * const response = await client.send(command);
133
+ * /* response ==
134
+ * {
135
+ * "DNSName": "my-load-balancer-123456789.us-west-2.elb.amazonaws.com"
136
+ * }
137
+ * *\/
138
+ * // example id: elb-create-load-balancer-2
139
+ * ```
140
+ *
141
+ * @example To create an HTTPS load balancer in a VPC
142
+ * ```javascript
143
+ * // This example creates a load balancer with an HTTPS listener in a VPC.
144
+ * const input = {
145
+ * "Listeners": [
146
+ * {
147
+ * "InstancePort": 80,
148
+ * "InstanceProtocol": "HTTP",
149
+ * "LoadBalancerPort": 80,
150
+ * "Protocol": "HTTP"
151
+ * },
152
+ * {
153
+ * "InstancePort": 80,
154
+ * "InstanceProtocol": "HTTP",
155
+ * "LoadBalancerPort": 443,
156
+ * "Protocol": "HTTPS",
157
+ * "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert"
158
+ * }
159
+ * ],
160
+ * "LoadBalancerName": "my-load-balancer",
161
+ * "SecurityGroups": [
162
+ * "sg-a61988c3"
163
+ * ],
164
+ * "Subnets": [
165
+ * "subnet-15aaab61"
166
+ * ]
167
+ * };
168
+ * const command = new CreateLoadBalancerCommand(input);
169
+ * const response = await client.send(command);
170
+ * /* response ==
171
+ * {
172
+ * "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com"
173
+ * }
174
+ * *\/
175
+ * // example id: elb-create-load-balancer-3
176
+ * ```
177
+ *
178
+ * @example To create an HTTPS load balancer in EC2-Classic
179
+ * ```javascript
180
+ * // This example creates a load balancer with an HTTPS listener in EC2-Classic.
181
+ * const input = {
182
+ * "AvailabilityZones": [
183
+ * "us-west-2a"
184
+ * ],
185
+ * "Listeners": [
186
+ * {
187
+ * "InstancePort": 80,
188
+ * "InstanceProtocol": "HTTP",
189
+ * "LoadBalancerPort": 80,
190
+ * "Protocol": "HTTP"
191
+ * },
192
+ * {
193
+ * "InstancePort": 80,
194
+ * "InstanceProtocol": "HTTP",
195
+ * "LoadBalancerPort": 443,
196
+ * "Protocol": "HTTPS",
197
+ * "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert"
198
+ * }
199
+ * ],
200
+ * "LoadBalancerName": "my-load-balancer"
201
+ * };
202
+ * const command = new CreateLoadBalancerCommand(input);
203
+ * const response = await client.send(command);
204
+ * /* response ==
205
+ * {
206
+ * "DNSName": "my-load-balancer-123456789.us-west-2.elb.amazonaws.com"
207
+ * }
208
+ * *\/
209
+ * // example id: elb-create-load-balancer-4
210
+ * ```
211
+ *
212
+ * @example To create an internal load balancer
213
+ * ```javascript
214
+ * // This example creates an internal load balancer with an HTTP listener in a VPC.
215
+ * const input = {
216
+ * "Listeners": [
217
+ * {
218
+ * "InstancePort": 80,
219
+ * "InstanceProtocol": "HTTP",
220
+ * "LoadBalancerPort": 80,
221
+ * "Protocol": "HTTP"
222
+ * }
223
+ * ],
224
+ * "LoadBalancerName": "my-load-balancer",
225
+ * "Scheme": "internal",
226
+ * "SecurityGroups": [
227
+ * "sg-a61988c3"
228
+ * ],
229
+ * "Subnets": [
230
+ * "subnet-15aaab61"
231
+ * ]
232
+ * };
233
+ * const command = new CreateLoadBalancerCommand(input);
234
+ * const response = await client.send(command);
235
+ * /* response ==
236
+ * {
237
+ * "DNSName": "internal-my-load-balancer-123456789.us-west-2.elb.amazonaws.com"
238
+ * }
239
+ * *\/
240
+ * // example id: elb-create-load-balancer-5
241
+ * ```
242
+ *
45
243
  */
46
244
  export declare class CreateLoadBalancerCommand extends $Command<CreateLoadBalancerCommandInput, CreateLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
47
245
  readonly input: CreateLoadBalancerCommandInput;
@@ -31,6 +31,63 @@ export interface CreateLoadBalancerListenersCommandOutput extends CreateLoadBala
31
31
  * @see {@link CreateLoadBalancerListenersCommandOutput} for command's `response` shape.
32
32
  * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
33
33
  *
34
+ * @throws {@link AccessPointNotFoundException} (client fault)
35
+ * <p>The specified load balancer does not exist.</p>
36
+ *
37
+ * @throws {@link CertificateNotFoundException} (client fault)
38
+ * <p>The specified ARN does not refer to a valid SSL certificate in AWS Identity and Access Management (IAM)
39
+ * or AWS Certificate Manager (ACM). Note that if you recently uploaded the certificate to IAM, this error might
40
+ * indicate that the certificate is not fully available yet.</p>
41
+ *
42
+ * @throws {@link DuplicateListenerException} (client fault)
43
+ * <p>A listener already exists for the specified load balancer name and port, but with a different instance port, protocol, or SSL certificate.</p>
44
+ *
45
+ * @throws {@link InvalidConfigurationRequestException} (client fault)
46
+ * <p>The requested configuration change is not valid.</p>
47
+ *
48
+ * @throws {@link UnsupportedProtocolException} (client fault)
49
+ * <p>The specified protocol or signature version is not supported.</p>
50
+ *
51
+ *
52
+ * @example To create an HTTP listener for a load balancer
53
+ * ```javascript
54
+ * // This example creates a listener for your load balancer at port 80 using the HTTP protocol.
55
+ * const input = {
56
+ * "Listeners": [
57
+ * {
58
+ * "InstancePort": 80,
59
+ * "InstanceProtocol": "HTTP",
60
+ * "LoadBalancerPort": 80,
61
+ * "Protocol": "HTTP"
62
+ * }
63
+ * ],
64
+ * "LoadBalancerName": "my-load-balancer"
65
+ * };
66
+ * const command = new CreateLoadBalancerListenersCommand(input);
67
+ * await client.send(command);
68
+ * // example id: elb-create-load-balancer-listeners-1
69
+ * ```
70
+ *
71
+ * @example To create an HTTPS listener for a load balancer
72
+ * ```javascript
73
+ * // This example creates a listener for your load balancer at port 443 using the HTTPS protocol.
74
+ * const input = {
75
+ * "Listeners": [
76
+ * {
77
+ * "InstancePort": 80,
78
+ * "InstanceProtocol": "HTTP",
79
+ * "LoadBalancerPort": 443,
80
+ * "Protocol": "HTTPS",
81
+ * "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert"
82
+ * }
83
+ * ],
84
+ * "LoadBalancerName": "my-load-balancer"
85
+ * };
86
+ * const command = new CreateLoadBalancerListenersCommand(input);
87
+ * await client.send(command);
88
+ * // example id: elb-create-load-balancer-listeners-2
89
+ * ```
90
+ *
34
91
  */
35
92
  export declare class CreateLoadBalancerListenersCommand extends $Command<CreateLoadBalancerListenersCommandInput, CreateLoadBalancerListenersCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
36
93
  readonly input: CreateLoadBalancerListenersCommandInput;
@@ -30,6 +30,79 @@ export interface CreateLoadBalancerPolicyCommandOutput extends CreateLoadBalance
30
30
  * @see {@link CreateLoadBalancerPolicyCommandOutput} for command's `response` shape.
31
31
  * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
32
32
  *
33
+ * @throws {@link AccessPointNotFoundException} (client fault)
34
+ * <p>The specified load balancer does not exist.</p>
35
+ *
36
+ * @throws {@link DuplicatePolicyNameException} (client fault)
37
+ * <p>A policy with the specified name already exists for this load balancer.</p>
38
+ *
39
+ * @throws {@link InvalidConfigurationRequestException} (client fault)
40
+ * <p>The requested configuration change is not valid.</p>
41
+ *
42
+ * @throws {@link PolicyTypeNotFoundException} (client fault)
43
+ * <p>One or more of the specified policy types do not exist.</p>
44
+ *
45
+ * @throws {@link TooManyPoliciesException} (client fault)
46
+ * <p>The quota for the number of policies for this load balancer has been reached.</p>
47
+ *
48
+ *
49
+ * @example To create a policy that enables Proxy Protocol on a load balancer
50
+ * ```javascript
51
+ * // This example creates a policy that enables Proxy Protocol on the specified load balancer.
52
+ * const input = {
53
+ * "LoadBalancerName": "my-load-balancer",
54
+ * "PolicyAttributes": [
55
+ * {
56
+ * "AttributeName": "ProxyProtocol",
57
+ * "AttributeValue": "true"
58
+ * }
59
+ * ],
60
+ * "PolicyName": "my-ProxyProtocol-policy",
61
+ * "PolicyTypeName": "ProxyProtocolPolicyType"
62
+ * };
63
+ * const command = new CreateLoadBalancerPolicyCommand(input);
64
+ * await client.send(command);
65
+ * // example id: elb-create-load-balancer-policy-1
66
+ * ```
67
+ *
68
+ * @example To create a public key policy
69
+ * ```javascript
70
+ * // This example creates a public key policy.
71
+ * const input = {
72
+ * "LoadBalancerName": "my-load-balancer",
73
+ * "PolicyAttributes": [
74
+ * {
75
+ * "AttributeName": "PublicKey",
76
+ * "AttributeValue": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwAYUjnfyEyXr1pxjhFWBpMlggUcqoi3kl+dS74kj//c6x7ROtusUaeQCTgIUkayttRDWchuqo1pHC1u+n5xxXnBBe2ejbb2WRsKIQ5rXEeixsjFpFsojpSQKkzhVGI6mJVZBJDVKSHmswnwLBdofLhzvllpovBPTHe+o4haAWvDBALJU0pkSI1FecPHcs2hwxf14zHoXy1e2k36A64nXW43wtfx5qcVSIxtCEOjnYRg7RPvybaGfQ+v6Iaxb/+7J5kEvZhTFQId+bSiJImF1FSUT1W1xwzBZPUbcUkkXDj45vC2s3Z8E+Lk7a3uZhvsQHLZnrfuWjBWGWvZ/MhZYgEXAMPLE"
77
+ * }
78
+ * ],
79
+ * "PolicyName": "my-PublicKey-policy",
80
+ * "PolicyTypeName": "PublicKeyPolicyType"
81
+ * };
82
+ * const command = new CreateLoadBalancerPolicyCommand(input);
83
+ * await client.send(command);
84
+ * // example id: elb-create-load-balancer-policy-2
85
+ * ```
86
+ *
87
+ * @example To create a backend server authentication policy
88
+ * ```javascript
89
+ * // This example creates a backend server authentication policy that enables authentication on your backend instance using a public key policy.
90
+ * const input = {
91
+ * "LoadBalancerName": "my-load-balancer",
92
+ * "PolicyAttributes": [
93
+ * {
94
+ * "AttributeName": "PublicKeyPolicyName",
95
+ * "AttributeValue": "my-PublicKey-policy"
96
+ * }
97
+ * ],
98
+ * "PolicyName": "my-authentication-policy",
99
+ * "PolicyTypeName": "BackendServerAuthenticationPolicyType"
100
+ * };
101
+ * const command = new CreateLoadBalancerPolicyCommand(input);
102
+ * await client.send(command);
103
+ * // example id: elb-create-load-balancer-policy-3
104
+ * ```
105
+ *
33
106
  */
34
107
  export declare class CreateLoadBalancerPolicyCommand extends $Command<CreateLoadBalancerPolicyCommandInput, CreateLoadBalancerPolicyCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
35
108
  readonly input: CreateLoadBalancerPolicyCommandInput;
@@ -32,6 +32,18 @@ export interface DeleteLoadBalancerCommandOutput extends DeleteAccessPointOutput
32
32
  * @see {@link DeleteLoadBalancerCommandOutput} for command's `response` shape.
33
33
  * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
34
34
  *
35
+ *
36
+ * @example To delete a load balancer
37
+ * ```javascript
38
+ * // This example deletes the specified load balancer.
39
+ * const input = {
40
+ * "LoadBalancerName": "my-load-balancer"
41
+ * };
42
+ * const command = new DeleteLoadBalancerCommand(input);
43
+ * await client.send(command);
44
+ * // example id: elb-delete-load-balancer-1
45
+ * ```
46
+ *
35
47
  */
36
48
  export declare class DeleteLoadBalancerCommand extends $Command<DeleteLoadBalancerCommandInput, DeleteLoadBalancerCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
37
49
  readonly input: DeleteLoadBalancerCommandInput;
@@ -29,6 +29,24 @@ export interface DeleteLoadBalancerListenersCommandOutput extends DeleteLoadBala
29
29
  * @see {@link DeleteLoadBalancerListenersCommandOutput} for command's `response` shape.
30
30
  * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessPointNotFoundException} (client fault)
33
+ * <p>The specified load balancer does not exist.</p>
34
+ *
35
+ *
36
+ * @example To delete a listener from your load balancer
37
+ * ```javascript
38
+ * // This example deletes the listener for the specified port from the specified load balancer.
39
+ * const input = {
40
+ * "LoadBalancerName": "my-load-balancer",
41
+ * "LoadBalancerPorts": [
42
+ * 80
43
+ * ]
44
+ * };
45
+ * const command = new DeleteLoadBalancerListenersCommand(input);
46
+ * await client.send(command);
47
+ * // example id: elb-delete-load-balancer-listeners-1
48
+ * ```
49
+ *
32
50
  */
33
51
  export declare class DeleteLoadBalancerListenersCommand extends $Command<DeleteLoadBalancerListenersCommandInput, DeleteLoadBalancerListenersCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
34
52
  readonly input: DeleteLoadBalancerListenersCommandInput;
@@ -29,6 +29,25 @@ export interface DeleteLoadBalancerPolicyCommandOutput extends DeleteLoadBalance
29
29
  * @see {@link DeleteLoadBalancerPolicyCommandOutput} for command's `response` shape.
30
30
  * @see {@link ElasticLoadBalancingClientResolvedConfig | config} for ElasticLoadBalancingClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessPointNotFoundException} (client fault)
33
+ * <p>The specified load balancer does not exist.</p>
34
+ *
35
+ * @throws {@link InvalidConfigurationRequestException} (client fault)
36
+ * <p>The requested configuration change is not valid.</p>
37
+ *
38
+ *
39
+ * @example To delete a policy from your load balancer
40
+ * ```javascript
41
+ * // This example deletes the specified policy from the specified load balancer. The policy must not be enabled on any listener.
42
+ * const input = {
43
+ * "LoadBalancerName": "my-load-balancer",
44
+ * "PolicyName": "my-duration-cookie-policy"
45
+ * };
46
+ * const command = new DeleteLoadBalancerPolicyCommand(input);
47
+ * await client.send(command);
48
+ * // example id: elb-delete-load-balancer-policy-1
49
+ * ```
50
+ *
32
51
  */
33
52
  export declare class DeleteLoadBalancerPolicyCommand extends $Command<DeleteLoadBalancerPolicyCommandInput, DeleteLoadBalancerPolicyCommandOutput, ElasticLoadBalancingClientResolvedConfig> {
34
53
  readonly input: DeleteLoadBalancerPolicyCommandInput;