@aws-sdk/client-elastic-load-balancing-v2 3.775.0 → 3.782.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-types/commands/AddListenerCertificatesCommand.d.ts +1 -0
- package/dist-types/commands/AddTagsCommand.d.ts +12 -9
- package/dist-types/commands/AddTrustStoreRevocationsCommand.d.ts +1 -0
- package/dist-types/commands/CreateListenerCommand.d.ts +38 -39
- package/dist-types/commands/CreateLoadBalancerCommand.d.ts +44 -45
- package/dist-types/commands/CreateRuleCommand.d.ts +21 -21
- package/dist-types/commands/CreateTargetGroupCommand.d.ts +22 -22
- package/dist-types/commands/CreateTrustStoreCommand.d.ts +1 -0
- package/dist-types/commands/DeleteListenerCommand.d.ts +7 -4
- package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +7 -4
- package/dist-types/commands/DeleteRuleCommand.d.ts +7 -4
- package/dist-types/commands/DeleteSharedTrustStoreAssociationCommand.d.ts +8 -5
- package/dist-types/commands/DeleteTargetGroupCommand.d.ts +7 -4
- package/dist-types/commands/DeleteTrustStoreCommand.d.ts +1 -0
- package/dist-types/commands/DeregisterTargetsCommand.d.ts +9 -6
- package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeCapacityReservationCommand.d.ts +1 -0
- package/dist-types/commands/DescribeListenerAttributesCommand.d.ts +7 -4
- package/dist-types/commands/DescribeListenerCertificatesCommand.d.ts +1 -0
- package/dist-types/commands/DescribeListenersCommand.d.ts +12 -12
- package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +15 -15
- package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +21 -21
- package/dist-types/commands/DescribeRulesCommand.d.ts +14 -14
- package/dist-types/commands/DescribeSSLPoliciesCommand.d.ts +46 -46
- package/dist-types/commands/DescribeTagsCommand.d.ts +11 -11
- package/dist-types/commands/DescribeTargetGroupAttributesCommand.d.ts +13 -13
- package/dist-types/commands/DescribeTargetGroupsCommand.d.ts +20 -20
- package/dist-types/commands/DescribeTargetHealthCommand.d.ts +30 -31
- package/dist-types/commands/DescribeTrustStoreAssociationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTrustStoreRevocationsCommand.d.ts +1 -0
- package/dist-types/commands/DescribeTrustStoresCommand.d.ts +1 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +7 -4
- package/dist-types/commands/GetTrustStoreCaCertificatesBundleCommand.d.ts +1 -0
- package/dist-types/commands/GetTrustStoreRevocationContentCommand.d.ts +1 -0
- package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -0
- package/dist-types/commands/ModifyIpPoolsCommand.d.ts +1 -0
- package/dist-types/commands/ModifyListenerAttributesCommand.d.ts +1 -0
- package/dist-types/commands/ModifyListenerCommand.d.ts +30 -31
- package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +54 -56
- package/dist-types/commands/ModifyRuleCommand.d.ts +17 -17
- package/dist-types/commands/ModifyTargetGroupAttributesCommand.d.ts +16 -16
- package/dist-types/commands/ModifyTargetGroupCommand.d.ts +21 -21
- package/dist-types/commands/ModifyTrustStoreCommand.d.ts +1 -0
- package/dist-types/commands/RegisterTargetsCommand.d.ts +20 -15
- package/dist-types/commands/RemoveListenerCertificatesCommand.d.ts +1 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +8 -5
- package/dist-types/commands/RemoveTrustStoreRevocationsCommand.d.ts +1 -0
- package/dist-types/commands/SetIpAddressTypeCommand.d.ts +1 -0
- package/dist-types/commands/SetRulePrioritiesCommand.d.ts +16 -16
- package/dist-types/commands/SetSecurityGroupsCommand.d.ts +6 -6
- package/dist-types/commands/SetSubnetsCommand.d.ts +10 -10
- package/package.json +5 -5
|
@@ -80,6 +80,7 @@ declare const AddListenerCertificatesCommand_base: {
|
|
|
80
80
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
82
82
|
*
|
|
83
|
+
*
|
|
83
84
|
* @public
|
|
84
85
|
*/
|
|
85
86
|
export declare class AddListenerCertificatesCommand extends AddListenerCertificatesCommand_base {
|
|
@@ -85,30 +85,33 @@ declare const AddTagsCommand_base: {
|
|
|
85
85
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
87
87
|
*
|
|
88
|
-
*
|
|
88
|
+
*
|
|
89
89
|
* @example To add tags to a load balancer
|
|
90
90
|
* ```javascript
|
|
91
91
|
* // This example adds the specified tags to the specified load balancer.
|
|
92
92
|
* const input = {
|
|
93
|
-
*
|
|
93
|
+
* ResourceArns: [
|
|
94
94
|
* "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
|
|
95
95
|
* ],
|
|
96
|
-
*
|
|
96
|
+
* Tags: [
|
|
97
97
|
* {
|
|
98
|
-
*
|
|
99
|
-
*
|
|
98
|
+
* Key: "project",
|
|
99
|
+
* Value: "lima"
|
|
100
100
|
* },
|
|
101
101
|
* {
|
|
102
|
-
*
|
|
103
|
-
*
|
|
102
|
+
* Key: "department",
|
|
103
|
+
* Value: "digital-media"
|
|
104
104
|
* }
|
|
105
105
|
* ]
|
|
106
106
|
* };
|
|
107
107
|
* const command = new AddTagsCommand(input);
|
|
108
|
-
* await client.send(command);
|
|
109
|
-
*
|
|
108
|
+
* const response = await client.send(command);
|
|
109
|
+
* /* response is
|
|
110
|
+
* { /* metadata only *\/ }
|
|
111
|
+
* *\/
|
|
110
112
|
* ```
|
|
111
113
|
*
|
|
114
|
+
* @public
|
|
112
115
|
*/
|
|
113
116
|
export declare class AddTagsCommand extends AddTagsCommand_base {
|
|
114
117
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -81,6 +81,7 @@ declare const AddTrustStoreRevocationsCommand_base: {
|
|
|
81
81
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
82
82
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
83
83
|
*
|
|
84
|
+
*
|
|
84
85
|
* @public
|
|
85
86
|
*/
|
|
86
87
|
export declare class AddTrustStoreRevocationsCommand extends AddTrustStoreRevocationsCommand_base {
|
|
@@ -310,93 +310,92 @@ declare const CreateListenerCommand_base: {
|
|
|
310
310
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
311
311
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
312
312
|
*
|
|
313
|
-
*
|
|
313
|
+
*
|
|
314
314
|
* @example To create an HTTP listener
|
|
315
315
|
* ```javascript
|
|
316
316
|
* // This example creates an HTTP listener for the specified load balancer that forwards requests to the specified target group.
|
|
317
317
|
* const input = {
|
|
318
|
-
*
|
|
318
|
+
* DefaultActions: [
|
|
319
319
|
* {
|
|
320
|
-
*
|
|
321
|
-
*
|
|
320
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
321
|
+
* Type: "forward"
|
|
322
322
|
* }
|
|
323
323
|
* ],
|
|
324
|
-
*
|
|
325
|
-
*
|
|
326
|
-
*
|
|
324
|
+
* LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
|
|
325
|
+
* Port: 80,
|
|
326
|
+
* Protocol: "HTTP"
|
|
327
327
|
* };
|
|
328
328
|
* const command = new CreateListenerCommand(input);
|
|
329
329
|
* const response = await client.send(command);
|
|
330
|
-
* /* response
|
|
330
|
+
* /* response is
|
|
331
331
|
* {
|
|
332
|
-
*
|
|
332
|
+
* Listeners: [
|
|
333
333
|
* {
|
|
334
|
-
*
|
|
334
|
+
* DefaultActions: [
|
|
335
335
|
* {
|
|
336
|
-
*
|
|
337
|
-
*
|
|
336
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
337
|
+
* Type: "forward"
|
|
338
338
|
* }
|
|
339
339
|
* ],
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
*
|
|
343
|
-
*
|
|
340
|
+
* ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
|
|
341
|
+
* LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
|
|
342
|
+
* Port: 80,
|
|
343
|
+
* Protocol: "HTTP"
|
|
344
344
|
* }
|
|
345
345
|
* ]
|
|
346
346
|
* }
|
|
347
347
|
* *\/
|
|
348
|
-
* // example id: elbv2-create-listener-1
|
|
349
348
|
* ```
|
|
350
349
|
*
|
|
351
350
|
* @example To create an HTTPS listener
|
|
352
351
|
* ```javascript
|
|
353
352
|
* // This example creates an HTTPS listener for the specified load balancer that forwards requests to the specified target group. Note that you must specify an SSL certificate for an HTTPS listener. You can create and manage certificates using AWS Certificate Manager (ACM). Alternatively, you can create a certificate using SSL/TLS tools, get the certificate signed by a certificate authority (CA), and upload the certificate to AWS Identity and Access Management (IAM).
|
|
354
353
|
* const input = {
|
|
355
|
-
*
|
|
354
|
+
* Certificates: [
|
|
356
355
|
* {
|
|
357
|
-
*
|
|
356
|
+
* CertificateArn: "arn:aws:iam::123456789012:server-certificate/my-server-cert"
|
|
358
357
|
* }
|
|
359
358
|
* ],
|
|
360
|
-
*
|
|
359
|
+
* DefaultActions: [
|
|
361
360
|
* {
|
|
362
|
-
*
|
|
363
|
-
*
|
|
361
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
362
|
+
* Type: "forward"
|
|
364
363
|
* }
|
|
365
364
|
* ],
|
|
366
|
-
*
|
|
367
|
-
*
|
|
368
|
-
*
|
|
369
|
-
*
|
|
365
|
+
* LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
|
|
366
|
+
* Port: 443,
|
|
367
|
+
* Protocol: "HTTPS",
|
|
368
|
+
* SslPolicy: "ELBSecurityPolicy-2015-05"
|
|
370
369
|
* };
|
|
371
370
|
* const command = new CreateListenerCommand(input);
|
|
372
371
|
* const response = await client.send(command);
|
|
373
|
-
* /* response
|
|
372
|
+
* /* response is
|
|
374
373
|
* {
|
|
375
|
-
*
|
|
374
|
+
* Listeners: [
|
|
376
375
|
* {
|
|
377
|
-
*
|
|
376
|
+
* Certificates: [
|
|
378
377
|
* {
|
|
379
|
-
*
|
|
378
|
+
* CertificateArn: "arn:aws:iam::123456789012:server-certificate/my-server-cert"
|
|
380
379
|
* }
|
|
381
380
|
* ],
|
|
382
|
-
*
|
|
381
|
+
* DefaultActions: [
|
|
383
382
|
* {
|
|
384
|
-
*
|
|
385
|
-
*
|
|
383
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
384
|
+
* Type: "forward"
|
|
386
385
|
* }
|
|
387
386
|
* ],
|
|
388
|
-
*
|
|
389
|
-
*
|
|
390
|
-
*
|
|
391
|
-
*
|
|
392
|
-
*
|
|
387
|
+
* ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
|
|
388
|
+
* LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
|
|
389
|
+
* Port: 443,
|
|
390
|
+
* Protocol: "HTTPS",
|
|
391
|
+
* SslPolicy: "ELBSecurityPolicy-2015-05"
|
|
393
392
|
* }
|
|
394
393
|
* ]
|
|
395
394
|
* }
|
|
396
395
|
* *\/
|
|
397
|
-
* // example id: elbv2-create-listener-2
|
|
398
396
|
* ```
|
|
399
397
|
*
|
|
398
|
+
* @public
|
|
400
399
|
*/
|
|
401
400
|
export declare class CreateListenerCommand extends CreateListenerCommand_base {
|
|
402
401
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -189,103 +189,102 @@ declare const CreateLoadBalancerCommand_base: {
|
|
|
189
189
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
190
190
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
191
191
|
*
|
|
192
|
-
*
|
|
192
|
+
*
|
|
193
193
|
* @example To create an Internet-facing load balancer
|
|
194
194
|
* ```javascript
|
|
195
195
|
* // This example creates an Internet-facing load balancer and enables the Availability Zones for the specified subnets.
|
|
196
196
|
* const input = {
|
|
197
|
-
*
|
|
198
|
-
*
|
|
197
|
+
* Name: "my-load-balancer",
|
|
198
|
+
* Subnets: [
|
|
199
199
|
* "subnet-b7d581c0",
|
|
200
200
|
* "subnet-8360a9e7"
|
|
201
201
|
* ]
|
|
202
202
|
* };
|
|
203
203
|
* const command = new CreateLoadBalancerCommand(input);
|
|
204
204
|
* const response = await client.send(command);
|
|
205
|
-
* /* response
|
|
205
|
+
* /* response is
|
|
206
206
|
* {
|
|
207
|
-
*
|
|
207
|
+
* LoadBalancers: [
|
|
208
208
|
* {
|
|
209
|
-
*
|
|
209
|
+
* AvailabilityZones: [
|
|
210
210
|
* {
|
|
211
|
-
*
|
|
212
|
-
*
|
|
211
|
+
* SubnetId: "subnet-8360a9e7",
|
|
212
|
+
* ZoneName: "us-west-2a"
|
|
213
213
|
* },
|
|
214
214
|
* {
|
|
215
|
-
*
|
|
216
|
-
*
|
|
215
|
+
* SubnetId: "subnet-b7d581c0",
|
|
216
|
+
* ZoneName: "us-west-2b"
|
|
217
217
|
* }
|
|
218
218
|
* ],
|
|
219
|
-
*
|
|
220
|
-
*
|
|
221
|
-
*
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
*
|
|
219
|
+
* CanonicalHostedZoneId: "Z2P70J7EXAMPLE",
|
|
220
|
+
* CreatedTime: "2016-03-25T21:26:12.920Z",
|
|
221
|
+
* DNSName: "my-load-balancer-424835706.us-west-2.elb.amazonaws.com",
|
|
222
|
+
* LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
|
|
223
|
+
* LoadBalancerName: "my-load-balancer",
|
|
224
|
+
* Scheme: "internet-facing",
|
|
225
|
+
* SecurityGroups: [
|
|
226
226
|
* "sg-5943793c"
|
|
227
227
|
* ],
|
|
228
|
-
*
|
|
229
|
-
*
|
|
228
|
+
* State: {
|
|
229
|
+
* Code: "provisioning"
|
|
230
230
|
* },
|
|
231
|
-
*
|
|
232
|
-
*
|
|
231
|
+
* Type: "application",
|
|
232
|
+
* VpcId: "vpc-3ac0fb5f"
|
|
233
233
|
* }
|
|
234
234
|
* ]
|
|
235
235
|
* }
|
|
236
236
|
* *\/
|
|
237
|
-
* // example id: elbv2-create-load-balancer-1
|
|
238
237
|
* ```
|
|
239
238
|
*
|
|
240
239
|
* @example To create an internal load balancer
|
|
241
240
|
* ```javascript
|
|
242
241
|
* // This example creates an internal load balancer and enables the Availability Zones for the specified subnets.
|
|
243
242
|
* const input = {
|
|
244
|
-
*
|
|
245
|
-
*
|
|
246
|
-
*
|
|
247
|
-
*
|
|
243
|
+
* Name: "my-internal-load-balancer",
|
|
244
|
+
* Scheme: "internal",
|
|
245
|
+
* SecurityGroups: [],
|
|
246
|
+
* Subnets: [
|
|
248
247
|
* "subnet-b7d581c0",
|
|
249
248
|
* "subnet-8360a9e7"
|
|
250
249
|
* ]
|
|
251
250
|
* };
|
|
252
251
|
* const command = new CreateLoadBalancerCommand(input);
|
|
253
252
|
* const response = await client.send(command);
|
|
254
|
-
* /* response
|
|
253
|
+
* /* response is
|
|
255
254
|
* {
|
|
256
|
-
*
|
|
255
|
+
* LoadBalancers: [
|
|
257
256
|
* {
|
|
258
|
-
*
|
|
257
|
+
* AvailabilityZones: [
|
|
259
258
|
* {
|
|
260
|
-
*
|
|
261
|
-
*
|
|
259
|
+
* SubnetId: "subnet-8360a9e7",
|
|
260
|
+
* ZoneName: "us-west-2a"
|
|
262
261
|
* },
|
|
263
262
|
* {
|
|
264
|
-
*
|
|
265
|
-
*
|
|
263
|
+
* SubnetId: "subnet-b7d581c0",
|
|
264
|
+
* ZoneName: "us-west-2b"
|
|
266
265
|
* }
|
|
267
266
|
* ],
|
|
268
|
-
*
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
*
|
|
267
|
+
* CanonicalHostedZoneId: "Z2P70J7EXAMPLE",
|
|
268
|
+
* CreatedTime: "2016-03-25T21:29:48.850Z",
|
|
269
|
+
* DNSName: "internal-my-internal-load-balancer-1529930873.us-west-2.elb.amazonaws.com",
|
|
270
|
+
* LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-internal-load-balancer/5b49b8d4303115c2",
|
|
271
|
+
* LoadBalancerName: "my-internal-load-balancer",
|
|
272
|
+
* Scheme: "internal",
|
|
273
|
+
* SecurityGroups: [
|
|
275
274
|
* "sg-5943793c"
|
|
276
275
|
* ],
|
|
277
|
-
*
|
|
278
|
-
*
|
|
276
|
+
* State: {
|
|
277
|
+
* Code: "provisioning"
|
|
279
278
|
* },
|
|
280
|
-
*
|
|
281
|
-
*
|
|
279
|
+
* Type: "application",
|
|
280
|
+
* VpcId: "vpc-3ac0fb5f"
|
|
282
281
|
* }
|
|
283
282
|
* ]
|
|
284
283
|
* }
|
|
285
284
|
* *\/
|
|
286
|
-
* // example id: elbv2-create-load-balancer-2
|
|
287
285
|
* ```
|
|
288
286
|
*
|
|
287
|
+
* @public
|
|
289
288
|
*/
|
|
290
289
|
export declare class CreateLoadBalancerCommand extends CreateLoadBalancerCommand_base {
|
|
291
290
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -321,58 +321,58 @@ declare const CreateRuleCommand_base: {
|
|
|
321
321
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
322
322
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
323
323
|
*
|
|
324
|
-
*
|
|
324
|
+
*
|
|
325
325
|
* @example To create a rule
|
|
326
326
|
* ```javascript
|
|
327
327
|
* // This example creates a rule that forwards requests to the specified target group if the URL contains the specified pattern (for example, /img/*).
|
|
328
328
|
* const input = {
|
|
329
|
-
*
|
|
329
|
+
* Actions: [
|
|
330
330
|
* {
|
|
331
|
-
*
|
|
332
|
-
*
|
|
331
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
332
|
+
* Type: "forward"
|
|
333
333
|
* }
|
|
334
334
|
* ],
|
|
335
|
-
*
|
|
335
|
+
* Conditions: [
|
|
336
336
|
* {
|
|
337
|
-
*
|
|
338
|
-
*
|
|
337
|
+
* Field: "path-pattern",
|
|
338
|
+
* Values: [
|
|
339
339
|
* "/img/*"
|
|
340
340
|
* ]
|
|
341
341
|
* }
|
|
342
342
|
* ],
|
|
343
|
-
*
|
|
344
|
-
*
|
|
343
|
+
* ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
|
|
344
|
+
* Priority: 10
|
|
345
345
|
* };
|
|
346
346
|
* const command = new CreateRuleCommand(input);
|
|
347
347
|
* const response = await client.send(command);
|
|
348
|
-
* /* response
|
|
348
|
+
* /* response is
|
|
349
349
|
* {
|
|
350
|
-
*
|
|
350
|
+
* Rules: [
|
|
351
351
|
* {
|
|
352
|
-
*
|
|
352
|
+
* Actions: [
|
|
353
353
|
* {
|
|
354
|
-
*
|
|
355
|
-
*
|
|
354
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
355
|
+
* Type: "forward"
|
|
356
356
|
* }
|
|
357
357
|
* ],
|
|
358
|
-
*
|
|
358
|
+
* Conditions: [
|
|
359
359
|
* {
|
|
360
|
-
*
|
|
361
|
-
*
|
|
360
|
+
* Field: "path-pattern",
|
|
361
|
+
* Values: [
|
|
362
362
|
* "/img/*"
|
|
363
363
|
* ]
|
|
364
364
|
* }
|
|
365
365
|
* ],
|
|
366
|
-
*
|
|
367
|
-
*
|
|
368
|
-
*
|
|
366
|
+
* IsDefault: false,
|
|
367
|
+
* Priority: "10",
|
|
368
|
+
* RuleArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee"
|
|
369
369
|
* }
|
|
370
370
|
* ]
|
|
371
371
|
* }
|
|
372
372
|
* *\/
|
|
373
|
-
* // example id: elbv2-create-rule-1
|
|
374
373
|
* ```
|
|
375
374
|
*
|
|
375
|
+
* @public
|
|
376
376
|
*/
|
|
377
377
|
export declare class CreateRuleCommand extends CreateRuleCommand_base {
|
|
378
378
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -140,44 +140,44 @@ declare const CreateTargetGroupCommand_base: {
|
|
|
140
140
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
141
141
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
142
142
|
*
|
|
143
|
-
*
|
|
143
|
+
*
|
|
144
144
|
* @example To create a target group
|
|
145
145
|
* ```javascript
|
|
146
146
|
* // This example creates a target group that you can use to route traffic to targets using HTTP on port 80. This target group uses the default health check configuration.
|
|
147
147
|
* const input = {
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
*
|
|
148
|
+
* Name: "my-targets",
|
|
149
|
+
* Port: 80,
|
|
150
|
+
* Protocol: "HTTP",
|
|
151
|
+
* VpcId: "vpc-3ac0fb5f"
|
|
152
152
|
* };
|
|
153
153
|
* const command = new CreateTargetGroupCommand(input);
|
|
154
154
|
* const response = await client.send(command);
|
|
155
|
-
* /* response
|
|
155
|
+
* /* response is
|
|
156
156
|
* {
|
|
157
|
-
*
|
|
157
|
+
* TargetGroups: [
|
|
158
158
|
* {
|
|
159
|
-
*
|
|
160
|
-
*
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
159
|
+
* HealthCheckIntervalSeconds: 30,
|
|
160
|
+
* HealthCheckPath: "/",
|
|
161
|
+
* HealthCheckPort: "traffic-port",
|
|
162
|
+
* HealthCheckProtocol: "HTTP",
|
|
163
|
+
* HealthCheckTimeoutSeconds: 5,
|
|
164
|
+
* HealthyThresholdCount: 5,
|
|
165
|
+
* Matcher: {
|
|
166
|
+
* HttpCode: "200"
|
|
167
167
|
* },
|
|
168
|
-
*
|
|
169
|
-
*
|
|
170
|
-
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
168
|
+
* Port: 80,
|
|
169
|
+
* Protocol: "HTTP",
|
|
170
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
171
|
+
* TargetGroupName: "my-targets",
|
|
172
|
+
* UnhealthyThresholdCount: 2,
|
|
173
|
+
* VpcId: "vpc-3ac0fb5f"
|
|
174
174
|
* }
|
|
175
175
|
* ]
|
|
176
176
|
* }
|
|
177
177
|
* *\/
|
|
178
|
-
* // example id: elbv2-create-target-group-1
|
|
179
178
|
* ```
|
|
180
179
|
*
|
|
180
|
+
* @public
|
|
181
181
|
*/
|
|
182
182
|
export declare class CreateTargetGroupCommand extends CreateTargetGroupCommand_base {
|
|
183
183
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -89,6 +89,7 @@ declare const CreateTrustStoreCommand_base: {
|
|
|
89
89
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
90
90
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
91
91
|
*
|
|
92
|
+
*
|
|
92
93
|
* @public
|
|
93
94
|
*/
|
|
94
95
|
export declare class CreateTrustStoreCommand extends CreateTrustStoreCommand_base {
|
|
@@ -60,18 +60,21 @@ declare const DeleteListenerCommand_base: {
|
|
|
60
60
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
61
61
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
62
62
|
*
|
|
63
|
-
*
|
|
63
|
+
*
|
|
64
64
|
* @example To delete a listener
|
|
65
65
|
* ```javascript
|
|
66
66
|
* // This example deletes the specified listener.
|
|
67
67
|
* const input = {
|
|
68
|
-
*
|
|
68
|
+
* ListenerArn: "arn:aws:elasticloadbalancing:ua-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2"
|
|
69
69
|
* };
|
|
70
70
|
* const command = new DeleteListenerCommand(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 DeleteListenerCommand extends DeleteListenerCommand_base {
|
|
77
80
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -67,18 +67,21 @@ declare const DeleteLoadBalancerCommand_base: {
|
|
|
67
67
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
68
68
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
69
69
|
*
|
|
70
|
-
*
|
|
70
|
+
*
|
|
71
71
|
* @example To delete a load balancer
|
|
72
72
|
* ```javascript
|
|
73
73
|
* // This example deletes the specified load balancer.
|
|
74
74
|
* const input = {
|
|
75
|
-
*
|
|
75
|
+
* LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
|
|
76
76
|
* };
|
|
77
77
|
* const command = new DeleteLoadBalancerCommand(input);
|
|
78
|
-
* await client.send(command);
|
|
79
|
-
*
|
|
78
|
+
* const response = await client.send(command);
|
|
79
|
+
* /* response is
|
|
80
|
+
* { /* metadata only *\/ }
|
|
81
|
+
* *\/
|
|
80
82
|
* ```
|
|
81
83
|
*
|
|
84
|
+
* @public
|
|
82
85
|
*/
|
|
83
86
|
export declare class DeleteLoadBalancerCommand extends DeleteLoadBalancerCommand_base {
|
|
84
87
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -59,18 +59,21 @@ declare const DeleteRuleCommand_base: {
|
|
|
59
59
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
60
60
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
61
61
|
*
|
|
62
|
-
*
|
|
62
|
+
*
|
|
63
63
|
* @example To delete a rule
|
|
64
64
|
* ```javascript
|
|
65
65
|
* // This example deletes the specified rule.
|
|
66
66
|
* const input = {
|
|
67
|
-
*
|
|
67
|
+
* RuleArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/1291d13826f405c3"
|
|
68
68
|
* };
|
|
69
69
|
* const command = new DeleteRuleCommand(input);
|
|
70
|
-
* await client.send(command);
|
|
71
|
-
*
|
|
70
|
+
* const response = await client.send(command);
|
|
71
|
+
* /* response is
|
|
72
|
+
* { /* metadata only *\/ }
|
|
73
|
+
* *\/
|
|
72
74
|
* ```
|
|
73
75
|
*
|
|
76
|
+
* @public
|
|
74
77
|
*/
|
|
75
78
|
export declare class DeleteRuleCommand extends DeleteRuleCommand_base {
|
|
76
79
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -62,19 +62,22 @@ declare const DeleteSharedTrustStoreAssociationCommand_base: {
|
|
|
62
62
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
63
63
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
64
64
|
*
|
|
65
|
-
*
|
|
65
|
+
*
|
|
66
66
|
* @example Delete a shared trust store association
|
|
67
67
|
* ```javascript
|
|
68
68
|
* // This example deletes the association between the specified trust store and the specified load balancer.
|
|
69
69
|
* const input = {
|
|
70
|
-
*
|
|
71
|
-
*
|
|
70
|
+
* ResourceArn: "arn:aws:elasticloadbalancing:us-east-1:123456789012:loadbalancer/app/my-load-balancer/80233fa81d678c2c",
|
|
71
|
+
* TrustStoreArn: "arn:aws:elasticloadbalancing:us-east-1:123456789012:truststore/my-trust-store/73e2d6bc24d8a063"
|
|
72
72
|
* };
|
|
73
73
|
* const command = new DeleteSharedTrustStoreAssociationCommand(input);
|
|
74
|
-
* await client.send(command);
|
|
75
|
-
*
|
|
74
|
+
* const response = await client.send(command);
|
|
75
|
+
* /* response is
|
|
76
|
+
* { /* metadata only *\/ }
|
|
77
|
+
* *\/
|
|
76
78
|
* ```
|
|
77
79
|
*
|
|
80
|
+
* @public
|
|
78
81
|
*/
|
|
79
82
|
export declare class DeleteSharedTrustStoreAssociationCommand extends DeleteSharedTrustStoreAssociationCommand_base {
|
|
80
83
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -59,18 +59,21 @@ declare const DeleteTargetGroupCommand_base: {
|
|
|
59
59
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
60
60
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
61
61
|
*
|
|
62
|
-
*
|
|
62
|
+
*
|
|
63
63
|
* @example To delete a target group
|
|
64
64
|
* ```javascript
|
|
65
65
|
* // This example deletes the specified target group.
|
|
66
66
|
* const input = {
|
|
67
|
-
*
|
|
67
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
|
|
68
68
|
* };
|
|
69
69
|
* const command = new DeleteTargetGroupCommand(input);
|
|
70
|
-
* await client.send(command);
|
|
71
|
-
*
|
|
70
|
+
* const response = await client.send(command);
|
|
71
|
+
* /* response is
|
|
72
|
+
* { /* metadata only *\/ }
|
|
73
|
+
* *\/
|
|
72
74
|
* ```
|
|
73
75
|
*
|
|
76
|
+
* @public
|
|
74
77
|
*/
|
|
75
78
|
export declare class DeleteTargetGroupCommand extends DeleteTargetGroupCommand_base {
|
|
76
79
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -58,6 +58,7 @@ declare const DeleteTrustStoreCommand_base: {
|
|
|
58
58
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
59
59
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
60
60
|
*
|
|
61
|
+
*
|
|
61
62
|
* @public
|
|
62
63
|
*/
|
|
63
64
|
export declare class DeleteTrustStoreCommand extends DeleteTrustStoreCommand_base {
|