@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.
Files changed (52) hide show
  1. package/dist-types/commands/AddListenerCertificatesCommand.d.ts +1 -0
  2. package/dist-types/commands/AddTagsCommand.d.ts +12 -9
  3. package/dist-types/commands/AddTrustStoreRevocationsCommand.d.ts +1 -0
  4. package/dist-types/commands/CreateListenerCommand.d.ts +38 -39
  5. package/dist-types/commands/CreateLoadBalancerCommand.d.ts +44 -45
  6. package/dist-types/commands/CreateRuleCommand.d.ts +21 -21
  7. package/dist-types/commands/CreateTargetGroupCommand.d.ts +22 -22
  8. package/dist-types/commands/CreateTrustStoreCommand.d.ts +1 -0
  9. package/dist-types/commands/DeleteListenerCommand.d.ts +7 -4
  10. package/dist-types/commands/DeleteLoadBalancerCommand.d.ts +7 -4
  11. package/dist-types/commands/DeleteRuleCommand.d.ts +7 -4
  12. package/dist-types/commands/DeleteSharedTrustStoreAssociationCommand.d.ts +8 -5
  13. package/dist-types/commands/DeleteTargetGroupCommand.d.ts +7 -4
  14. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +1 -0
  15. package/dist-types/commands/DeregisterTargetsCommand.d.ts +9 -6
  16. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +1 -0
  17. package/dist-types/commands/DescribeCapacityReservationCommand.d.ts +1 -0
  18. package/dist-types/commands/DescribeListenerAttributesCommand.d.ts +7 -4
  19. package/dist-types/commands/DescribeListenerCertificatesCommand.d.ts +1 -0
  20. package/dist-types/commands/DescribeListenersCommand.d.ts +12 -12
  21. package/dist-types/commands/DescribeLoadBalancerAttributesCommand.d.ts +15 -15
  22. package/dist-types/commands/DescribeLoadBalancersCommand.d.ts +21 -21
  23. package/dist-types/commands/DescribeRulesCommand.d.ts +14 -14
  24. package/dist-types/commands/DescribeSSLPoliciesCommand.d.ts +46 -46
  25. package/dist-types/commands/DescribeTagsCommand.d.ts +11 -11
  26. package/dist-types/commands/DescribeTargetGroupAttributesCommand.d.ts +13 -13
  27. package/dist-types/commands/DescribeTargetGroupsCommand.d.ts +20 -20
  28. package/dist-types/commands/DescribeTargetHealthCommand.d.ts +30 -31
  29. package/dist-types/commands/DescribeTrustStoreAssociationsCommand.d.ts +1 -0
  30. package/dist-types/commands/DescribeTrustStoreRevocationsCommand.d.ts +1 -0
  31. package/dist-types/commands/DescribeTrustStoresCommand.d.ts +1 -0
  32. package/dist-types/commands/GetResourcePolicyCommand.d.ts +7 -4
  33. package/dist-types/commands/GetTrustStoreCaCertificatesBundleCommand.d.ts +1 -0
  34. package/dist-types/commands/GetTrustStoreRevocationContentCommand.d.ts +1 -0
  35. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -0
  36. package/dist-types/commands/ModifyIpPoolsCommand.d.ts +1 -0
  37. package/dist-types/commands/ModifyListenerAttributesCommand.d.ts +1 -0
  38. package/dist-types/commands/ModifyListenerCommand.d.ts +30 -31
  39. package/dist-types/commands/ModifyLoadBalancerAttributesCommand.d.ts +54 -56
  40. package/dist-types/commands/ModifyRuleCommand.d.ts +17 -17
  41. package/dist-types/commands/ModifyTargetGroupAttributesCommand.d.ts +16 -16
  42. package/dist-types/commands/ModifyTargetGroupCommand.d.ts +21 -21
  43. package/dist-types/commands/ModifyTrustStoreCommand.d.ts +1 -0
  44. package/dist-types/commands/RegisterTargetsCommand.d.ts +20 -15
  45. package/dist-types/commands/RemoveListenerCertificatesCommand.d.ts +1 -0
  46. package/dist-types/commands/RemoveTagsCommand.d.ts +8 -5
  47. package/dist-types/commands/RemoveTrustStoreRevocationsCommand.d.ts +1 -0
  48. package/dist-types/commands/SetIpAddressTypeCommand.d.ts +1 -0
  49. package/dist-types/commands/SetRulePrioritiesCommand.d.ts +16 -16
  50. package/dist-types/commands/SetSecurityGroupsCommand.d.ts +6 -6
  51. package/dist-types/commands/SetSubnetsCommand.d.ts +10 -10
  52. package/package.json +5 -5
@@ -98,46 +98,46 @@ declare const DescribeTargetGroupsCommand_base: {
98
98
  * @throws {@link ElasticLoadBalancingV2ServiceException}
99
99
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
100
100
  *
101
- * @public
101
+ *
102
102
  * @example To describe a target group
103
103
  * ```javascript
104
104
  * // This example describes the specified target group.
105
105
  * const input = {
106
- * "TargetGroupArns": [
106
+ * TargetGroupArns: [
107
107
  * "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
108
108
  * ]
109
109
  * };
110
110
  * const command = new DescribeTargetGroupsCommand(input);
111
111
  * const response = await client.send(command);
112
- * /* response ==
112
+ * /* response is
113
113
  * {
114
- * "TargetGroups": [
114
+ * TargetGroups: [
115
115
  * {
116
- * "HealthCheckIntervalSeconds": 30,
117
- * "HealthCheckPath": "/",
118
- * "HealthCheckPort": "traffic-port",
119
- * "HealthCheckProtocol": "HTTP",
120
- * "HealthCheckTimeoutSeconds": 5,
121
- * "HealthyThresholdCount": 5,
122
- * "LoadBalancerArns": [
116
+ * HealthCheckIntervalSeconds: 30,
117
+ * HealthCheckPath: "/",
118
+ * HealthCheckPort: "traffic-port",
119
+ * HealthCheckProtocol: "HTTP",
120
+ * HealthCheckTimeoutSeconds: 5,
121
+ * HealthyThresholdCount: 5,
122
+ * LoadBalancerArns: [
123
123
  * "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
124
124
  * ],
125
- * "Matcher": {
126
- * "HttpCode": "200"
125
+ * Matcher: {
126
+ * HttpCode: "200"
127
127
  * },
128
- * "Port": 80,
129
- * "Protocol": "HTTP",
130
- * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
131
- * "TargetGroupName": "my-targets",
132
- * "UnhealthyThresholdCount": 2,
133
- * "VpcId": "vpc-3ac0fb5f"
128
+ * Port: 80,
129
+ * Protocol: "HTTP",
130
+ * TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
131
+ * TargetGroupName: "my-targets",
132
+ * UnhealthyThresholdCount: 2,
133
+ * VpcId: "vpc-3ac0fb5f"
134
134
  * }
135
135
  * ]
136
136
  * }
137
137
  * *\/
138
- * // example id: elbv2-describe-target-groups-1
139
138
  * ```
140
139
  *
140
+ * @public
141
141
  */
142
142
  export declare class DescribeTargetGroupsCommand extends DescribeTargetGroupsCommand_base {
143
143
  /** @internal type navigation helper, not in runtime. */
@@ -98,78 +98,77 @@ declare const DescribeTargetHealthCommand_base: {
98
98
  * @throws {@link ElasticLoadBalancingV2ServiceException}
99
99
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
100
100
  *
101
- * @public
101
+ *
102
102
  * @example To describe the health of the targets for a target group
103
103
  * ```javascript
104
104
  * // This example describes the health of the targets for the specified target group. One target is healthy but the other is not specified in an action, so it can't receive traffic from the load balancer.
105
105
  * const input = {
106
- * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
106
+ * TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
107
107
  * };
108
108
  * const command = new DescribeTargetHealthCommand(input);
109
109
  * const response = await client.send(command);
110
- * /* response ==
110
+ * /* response is
111
111
  * {
112
- * "TargetHealthDescriptions": [
112
+ * TargetHealthDescriptions: [
113
113
  * {
114
- * "Target": {
115
- * "Id": "i-0f76fade",
116
- * "Port": 80
114
+ * Target: {
115
+ * Id: "i-0f76fade",
116
+ * Port: 80
117
117
  * },
118
- * "TargetHealth": {
119
- * "Description": "Given target group is not configured to receive traffic from ELB",
120
- * "Reason": "Target.NotInUse",
121
- * "State": "unused"
118
+ * TargetHealth: {
119
+ * Description: "Given target group is not configured to receive traffic from ELB",
120
+ * Reason: "Target.NotInUse",
121
+ * State: "unused"
122
122
  * }
123
123
  * },
124
124
  * {
125
- * "HealthCheckPort": "80",
126
- * "Target": {
127
- * "Id": "i-0f76fade",
128
- * "Port": 80
125
+ * HealthCheckPort: "80",
126
+ * Target: {
127
+ * Id: "i-0f76fade",
128
+ * Port: 80
129
129
  * },
130
- * "TargetHealth": {
131
- * "State": "healthy"
130
+ * TargetHealth: {
131
+ * State: "healthy"
132
132
  * }
133
133
  * }
134
134
  * ]
135
135
  * }
136
136
  * *\/
137
- * // example id: elbv2-describe-target-health-1
138
137
  * ```
139
138
  *
140
139
  * @example To describe the health of a target
141
140
  * ```javascript
142
141
  * // This example describes the health of the specified target. This target is healthy.
143
142
  * const input = {
144
- * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
145
- * "Targets": [
143
+ * TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
144
+ * Targets: [
146
145
  * {
147
- * "Id": "i-0f76fade",
148
- * "Port": 80
146
+ * Id: "i-0f76fade",
147
+ * Port: 80
149
148
  * }
150
149
  * ]
151
150
  * };
152
151
  * const command = new DescribeTargetHealthCommand(input);
153
152
  * const response = await client.send(command);
154
- * /* response ==
153
+ * /* response is
155
154
  * {
156
- * "TargetHealthDescriptions": [
155
+ * TargetHealthDescriptions: [
157
156
  * {
158
- * "HealthCheckPort": "80",
159
- * "Target": {
160
- * "Id": "i-0f76fade",
161
- * "Port": 80
157
+ * HealthCheckPort: "80",
158
+ * Target: {
159
+ * Id: "i-0f76fade",
160
+ * Port: 80
162
161
  * },
163
- * "TargetHealth": {
164
- * "State": "healthy"
162
+ * TargetHealth: {
163
+ * State: "healthy"
165
164
  * }
166
165
  * }
167
166
  * ]
168
167
  * }
169
168
  * *\/
170
- * // example id: elbv2-describe-target-health-2
171
169
  * ```
172
170
  *
171
+ * @public
173
172
  */
174
173
  export declare class DescribeTargetHealthCommand extends DescribeTargetHealthCommand_base {
175
174
  /** @internal type navigation helper, not in runtime. */
@@ -64,6 +64,7 @@ declare const DescribeTrustStoreAssociationsCommand_base: {
64
64
  * @throws {@link ElasticLoadBalancingV2ServiceException}
65
65
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
66
66
  *
67
+ *
67
68
  * @public
68
69
  */
69
70
  export declare class DescribeTrustStoreAssociationsCommand extends DescribeTrustStoreAssociationsCommand_base {
@@ -74,6 +74,7 @@ declare const DescribeTrustStoreRevocationsCommand_base: {
74
74
  * @throws {@link ElasticLoadBalancingV2ServiceException}
75
75
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
76
76
  *
77
+ *
77
78
  * @public
78
79
  */
79
80
  export declare class DescribeTrustStoreRevocationsCommand extends DescribeTrustStoreRevocationsCommand_base {
@@ -73,6 +73,7 @@ declare const DescribeTrustStoresCommand_base: {
73
73
  * @throws {@link ElasticLoadBalancingV2ServiceException}
74
74
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
75
75
  *
76
+ *
76
77
  * @public
77
78
  */
78
79
  export declare class DescribeTrustStoresCommand extends DescribeTrustStoresCommand_base {
@@ -57,18 +57,21 @@ declare const GetResourcePolicyCommand_base: {
57
57
  * @throws {@link ElasticLoadBalancingV2ServiceException}
58
58
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
59
59
  *
60
- * @public
60
+ *
61
61
  * @example Retrieve a resource policy
62
62
  * ```javascript
63
63
  * // This example retrieves the resource policy for the specified trust store.
64
64
  * const input = {
65
- * "ResourceArn": "arn:aws:elasticloadbalancing:us-east-1:123456789012:truststore/my-trust-store/73e2d6bc24d8a067"
65
+ * ResourceArn: "arn:aws:elasticloadbalancing:us-east-1:123456789012:truststore/my-trust-store/73e2d6bc24d8a067"
66
66
  * };
67
67
  * const command = new GetResourcePolicyCommand(input);
68
- * await client.send(command);
69
- * // example id: retrieve-a-resource-policy-1721684356628
68
+ * const response = await client.send(command);
69
+ * /* response is
70
+ * { /* metadata only *\/ }
71
+ * *\/
70
72
  * ```
71
73
  *
74
+ * @public
72
75
  */
73
76
  export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
74
77
  /** @internal type navigation helper, not in runtime. */
@@ -59,6 +59,7 @@ declare const GetTrustStoreCaCertificatesBundleCommand_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
  * @public
63
64
  */
64
65
  export declare class GetTrustStoreCaCertificatesBundleCommand extends GetTrustStoreCaCertificatesBundleCommand_base {
@@ -63,6 +63,7 @@ declare const GetTrustStoreRevocationContentCommand_base: {
63
63
  * @throws {@link ElasticLoadBalancingV2ServiceException}
64
64
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
65
65
  *
66
+ *
66
67
  * @public
67
68
  */
68
69
  export declare class GetTrustStoreRevocationContentCommand extends GetTrustStoreRevocationContentCommand_base {
@@ -98,6 +98,7 @@ declare const ModifyCapacityReservationCommand_base: {
98
98
  * @throws {@link ElasticLoadBalancingV2ServiceException}
99
99
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
100
100
  *
101
+ *
101
102
  * @public
102
103
  */
103
104
  export declare class ModifyCapacityReservationCommand extends ModifyCapacityReservationCommand_base {
@@ -65,6 +65,7 @@ declare const ModifyIpPoolsCommand_base: {
65
65
  * @throws {@link ElasticLoadBalancingV2ServiceException}
66
66
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
67
67
  *
68
+ *
68
69
  * @public
69
70
  */
70
71
  export declare class ModifyIpPoolsCommand extends ModifyIpPoolsCommand_base {
@@ -71,6 +71,7 @@ declare const ModifyListenerAttributesCommand_base: {
71
71
  * @throws {@link ElasticLoadBalancingV2ServiceException}
72
72
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
73
73
  *
74
+ *
74
75
  * @public
75
76
  */
76
77
  export declare class ModifyListenerAttributesCommand extends ModifyListenerAttributesCommand_base {
@@ -284,82 +284,81 @@ declare const ModifyListenerCommand_base: {
284
284
  * @throws {@link ElasticLoadBalancingV2ServiceException}
285
285
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
286
286
  *
287
- * @public
287
+ *
288
288
  * @example To change the default action for a listener
289
289
  * ```javascript
290
290
  * // This example changes the default action for the specified listener.
291
291
  * const input = {
292
- * "DefaultActions": [
292
+ * DefaultActions: [
293
293
  * {
294
- * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f",
295
- * "Type": "forward"
294
+ * TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f",
295
+ * Type: "forward"
296
296
  * }
297
297
  * ],
298
- * "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2"
298
+ * ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2"
299
299
  * };
300
300
  * const command = new ModifyListenerCommand(input);
301
301
  * const response = await client.send(command);
302
- * /* response ==
302
+ * /* response is
303
303
  * {
304
- * "Listeners": [
304
+ * Listeners: [
305
305
  * {
306
- * "DefaultActions": [
306
+ * DefaultActions: [
307
307
  * {
308
- * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f",
309
- * "Type": "forward"
308
+ * TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/2453ed029918f21f",
309
+ * Type: "forward"
310
310
  * }
311
311
  * ],
312
- * "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
313
- * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
314
- * "Port": 80,
315
- * "Protocol": "HTTP"
312
+ * ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2",
313
+ * LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
314
+ * Port: 80,
315
+ * Protocol: "HTTP"
316
316
  * }
317
317
  * ]
318
318
  * }
319
319
  * *\/
320
- * // example id: elbv2-modify-listener-1
321
320
  * ```
322
321
  *
323
322
  * @example To change the server certificate
324
323
  * ```javascript
325
324
  * // This example changes the server certificate for the specified HTTPS listener.
326
325
  * const input = {
327
- * "Certificates": [
326
+ * Certificates: [
328
327
  * {
329
- * "CertificateArn": "arn:aws:iam::123456789012:server-certificate/my-new-server-cert"
328
+ * CertificateArn: "arn:aws:iam::123456789012:server-certificate/my-new-server-cert"
330
329
  * }
331
330
  * ],
332
- * "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/0467ef3c8400ae65"
331
+ * ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/0467ef3c8400ae65"
333
332
  * };
334
333
  * const command = new ModifyListenerCommand(input);
335
334
  * const response = await client.send(command);
336
- * /* response ==
335
+ * /* response is
337
336
  * {
338
- * "Listeners": [
337
+ * Listeners: [
339
338
  * {
340
- * "Certificates": [
339
+ * Certificates: [
341
340
  * {
342
- * "CertificateArn": "arn:aws:iam::123456789012:server-certificate/my-new-server-cert"
341
+ * CertificateArn: "arn:aws:iam::123456789012:server-certificate/my-new-server-cert"
343
342
  * }
344
343
  * ],
345
- * "DefaultActions": [
344
+ * DefaultActions: [
346
345
  * {
347
- * "TargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
348
- * "Type": "forward"
346
+ * TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
347
+ * Type: "forward"
349
348
  * }
350
349
  * ],
351
- * "ListenerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/0467ef3c8400ae65",
352
- * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
353
- * "Port": 443,
354
- * "Protocol": "HTTPS",
355
- * "SslPolicy": "ELBSecurityPolicy-2015-05"
350
+ * ListenerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener/app/my-load-balancer/50dc6c495c0c9188/0467ef3c8400ae65",
351
+ * LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
352
+ * Port: 443,
353
+ * Protocol: "HTTPS",
354
+ * SslPolicy: "ELBSecurityPolicy-2015-05"
356
355
  * }
357
356
  * ]
358
357
  * }
359
358
  * *\/
360
- * // example id: elbv2-modify-listener-2
361
359
  * ```
362
360
  *
361
+ * @public
363
362
  */
364
363
  export declare class ModifyListenerCommand extends ModifyListenerCommand_base {
365
364
  /** @internal type navigation helper, not in runtime. */
@@ -74,144 +74,142 @@ declare const ModifyLoadBalancerAttributesCommand_base: {
74
74
  * @throws {@link ElasticLoadBalancingV2ServiceException}
75
75
  * <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
76
76
  *
77
- * @public
77
+ *
78
78
  * @example To enable deletion protection
79
79
  * ```javascript
80
80
  * // This example enables deletion protection for the specified load balancer.
81
81
  * const input = {
82
- * "Attributes": [
82
+ * Attributes: [
83
83
  * {
84
- * "Key": "deletion_protection.enabled",
85
- * "Value": "true"
84
+ * Key: "deletion_protection.enabled",
85
+ * Value: "true"
86
86
  * }
87
87
  * ],
88
- * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
88
+ * LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
89
89
  * };
90
90
  * const command = new ModifyLoadBalancerAttributesCommand(input);
91
91
  * const response = await client.send(command);
92
- * /* response ==
92
+ * /* response is
93
93
  * {
94
- * "Attributes": [
94
+ * Attributes: [
95
95
  * {
96
- * "Key": "deletion_protection.enabled",
97
- * "Value": "true"
96
+ * Key: "deletion_protection.enabled",
97
+ * Value: "true"
98
98
  * },
99
99
  * {
100
- * "Key": "access_logs.s3.enabled",
101
- * "Value": "false"
100
+ * Key: "access_logs.s3.enabled",
101
+ * Value: "false"
102
102
  * },
103
103
  * {
104
- * "Key": "idle_timeout.timeout_seconds",
105
- * "Value": "60"
104
+ * Key: "idle_timeout.timeout_seconds",
105
+ * Value: "60"
106
106
  * },
107
107
  * {
108
- * "Key": "access_logs.s3.prefix",
109
- * "Value": ""
108
+ * Key: "access_logs.s3.prefix",
109
+ * Value: ""
110
110
  * },
111
111
  * {
112
- * "Key": "access_logs.s3.bucket",
113
- * "Value": ""
112
+ * Key: "access_logs.s3.bucket",
113
+ * Value: ""
114
114
  * }
115
115
  * ]
116
116
  * }
117
117
  * *\/
118
- * // example id: elbv2-modify-load-balancer-attributes-1
119
118
  * ```
120
119
  *
121
120
  * @example To change the idle timeout
122
121
  * ```javascript
123
122
  * // This example changes the idle timeout value for the specified load balancer.
124
123
  * const input = {
125
- * "Attributes": [
124
+ * Attributes: [
126
125
  * {
127
- * "Key": "idle_timeout.timeout_seconds",
128
- * "Value": "30"
126
+ * Key: "idle_timeout.timeout_seconds",
127
+ * Value: "30"
129
128
  * }
130
129
  * ],
131
- * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
130
+ * LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
132
131
  * };
133
132
  * const command = new ModifyLoadBalancerAttributesCommand(input);
134
133
  * const response = await client.send(command);
135
- * /* response ==
134
+ * /* response is
136
135
  * {
137
- * "Attributes": [
136
+ * Attributes: [
138
137
  * {
139
- * "Key": "idle_timeout.timeout_seconds",
140
- * "Value": "30"
138
+ * Key: "idle_timeout.timeout_seconds",
139
+ * Value: "30"
141
140
  * },
142
141
  * {
143
- * "Key": "access_logs.s3.enabled",
144
- * "Value": "false"
142
+ * Key: "access_logs.s3.enabled",
143
+ * Value: "false"
145
144
  * },
146
145
  * {
147
- * "Key": "access_logs.s3.prefix",
148
- * "Value": ""
146
+ * Key: "access_logs.s3.prefix",
147
+ * Value: ""
149
148
  * },
150
149
  * {
151
- * "Key": "deletion_protection.enabled",
152
- * "Value": "true"
150
+ * Key: "deletion_protection.enabled",
151
+ * Value: "true"
153
152
  * },
154
153
  * {
155
- * "Key": "access_logs.s3.bucket",
156
- * "Value": ""
154
+ * Key: "access_logs.s3.bucket",
155
+ * Value: ""
157
156
  * }
158
157
  * ]
159
158
  * }
160
159
  * *\/
161
- * // example id: elbv2-modify-load-balancer-attributes-2
162
160
  * ```
163
161
  *
164
162
  * @example To enable access logs
165
163
  * ```javascript
166
164
  * // This example enables access logs for the specified load balancer. Note that the S3 bucket must exist in the same region as the load balancer and must have a policy attached that grants access to the Elastic Load Balancing service.
167
165
  * const input = {
168
- * "Attributes": [
166
+ * Attributes: [
169
167
  * {
170
- * "Key": "access_logs.s3.enabled",
171
- * "Value": "true"
168
+ * Key: "access_logs.s3.enabled",
169
+ * Value: "true"
172
170
  * },
173
171
  * {
174
- * "Key": "access_logs.s3.bucket",
175
- * "Value": "my-loadbalancer-logs"
172
+ * Key: "access_logs.s3.bucket",
173
+ * Value: "my-loadbalancer-logs"
176
174
  * },
177
175
  * {
178
- * "Key": "access_logs.s3.prefix",
179
- * "Value": "myapp"
176
+ * Key: "access_logs.s3.prefix",
177
+ * Value: "myapp"
180
178
  * }
181
179
  * ],
182
- * "LoadBalancerArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
180
+ * LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
183
181
  * };
184
182
  * const command = new ModifyLoadBalancerAttributesCommand(input);
185
183
  * const response = await client.send(command);
186
- * /* response ==
184
+ * /* response is
187
185
  * {
188
- * "Attributes": [
186
+ * Attributes: [
189
187
  * {
190
- * "Key": "access_logs.s3.enabled",
191
- * "Value": "true"
188
+ * Key: "access_logs.s3.enabled",
189
+ * Value: "true"
192
190
  * },
193
191
  * {
194
- * "Key": "access_logs.s3.bucket",
195
- * "Value": "my-load-balancer-logs"
192
+ * Key: "access_logs.s3.bucket",
193
+ * Value: "my-load-balancer-logs"
196
194
  * },
197
195
  * {
198
- * "Key": "access_logs.s3.prefix",
199
- * "Value": "myapp"
196
+ * Key: "access_logs.s3.prefix",
197
+ * Value: "myapp"
200
198
  * },
201
199
  * {
202
- * "Key": "idle_timeout.timeout_seconds",
203
- * "Value": "60"
200
+ * Key: "idle_timeout.timeout_seconds",
201
+ * Value: "60"
204
202
  * },
205
203
  * {
206
- * "Key": "deletion_protection.enabled",
207
- * "Value": "false"
204
+ * Key: "deletion_protection.enabled",
205
+ * Value: "false"
208
206
  * }
209
207
  * ]
210
208
  * }
211
209
  * *\/
212
- * // example id: elbv2-modify-load-balancer-attributes-3
213
210
  * ```
214
211
  *
212
+ * @public
215
213
  */
216
214
  export declare class ModifyLoadBalancerAttributesCommand extends ModifyLoadBalancerAttributesCommand_base {
217
215
  /** @internal type navigation helper, not in runtime. */