@aws-sdk/client-elastic-load-balancing-v2 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/ElasticLoadBalancingV2Client.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/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 +34 -34
|
@@ -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
|
-
*
|
|
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
|
-
*
|
|
82
|
+
* Attributes: [
|
|
83
83
|
* {
|
|
84
|
-
*
|
|
85
|
-
*
|
|
84
|
+
* Key: "deletion_protection.enabled",
|
|
85
|
+
* Value: "true"
|
|
86
86
|
* }
|
|
87
87
|
* ],
|
|
88
|
-
*
|
|
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
|
-
*
|
|
94
|
+
* Attributes: [
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
97
|
-
*
|
|
96
|
+
* Key: "deletion_protection.enabled",
|
|
97
|
+
* Value: "true"
|
|
98
98
|
* },
|
|
99
99
|
* {
|
|
100
|
-
*
|
|
101
|
-
*
|
|
100
|
+
* Key: "access_logs.s3.enabled",
|
|
101
|
+
* Value: "false"
|
|
102
102
|
* },
|
|
103
103
|
* {
|
|
104
|
-
*
|
|
105
|
-
*
|
|
104
|
+
* Key: "idle_timeout.timeout_seconds",
|
|
105
|
+
* Value: "60"
|
|
106
106
|
* },
|
|
107
107
|
* {
|
|
108
|
-
*
|
|
109
|
-
*
|
|
108
|
+
* Key: "access_logs.s3.prefix",
|
|
109
|
+
* Value: ""
|
|
110
110
|
* },
|
|
111
111
|
* {
|
|
112
|
-
*
|
|
113
|
-
*
|
|
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
|
-
*
|
|
124
|
+
* Attributes: [
|
|
126
125
|
* {
|
|
127
|
-
*
|
|
128
|
-
*
|
|
126
|
+
* Key: "idle_timeout.timeout_seconds",
|
|
127
|
+
* Value: "30"
|
|
129
128
|
* }
|
|
130
129
|
* ],
|
|
131
|
-
*
|
|
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
|
-
*
|
|
136
|
+
* Attributes: [
|
|
138
137
|
* {
|
|
139
|
-
*
|
|
140
|
-
*
|
|
138
|
+
* Key: "idle_timeout.timeout_seconds",
|
|
139
|
+
* Value: "30"
|
|
141
140
|
* },
|
|
142
141
|
* {
|
|
143
|
-
*
|
|
144
|
-
*
|
|
142
|
+
* Key: "access_logs.s3.enabled",
|
|
143
|
+
* Value: "false"
|
|
145
144
|
* },
|
|
146
145
|
* {
|
|
147
|
-
*
|
|
148
|
-
*
|
|
146
|
+
* Key: "access_logs.s3.prefix",
|
|
147
|
+
* Value: ""
|
|
149
148
|
* },
|
|
150
149
|
* {
|
|
151
|
-
*
|
|
152
|
-
*
|
|
150
|
+
* Key: "deletion_protection.enabled",
|
|
151
|
+
* Value: "true"
|
|
153
152
|
* },
|
|
154
153
|
* {
|
|
155
|
-
*
|
|
156
|
-
*
|
|
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
|
-
*
|
|
166
|
+
* Attributes: [
|
|
169
167
|
* {
|
|
170
|
-
*
|
|
171
|
-
*
|
|
168
|
+
* Key: "access_logs.s3.enabled",
|
|
169
|
+
* Value: "true"
|
|
172
170
|
* },
|
|
173
171
|
* {
|
|
174
|
-
*
|
|
175
|
-
*
|
|
172
|
+
* Key: "access_logs.s3.bucket",
|
|
173
|
+
* Value: "my-loadbalancer-logs"
|
|
176
174
|
* },
|
|
177
175
|
* {
|
|
178
|
-
*
|
|
179
|
-
*
|
|
176
|
+
* Key: "access_logs.s3.prefix",
|
|
177
|
+
* Value: "myapp"
|
|
180
178
|
* }
|
|
181
179
|
* ],
|
|
182
|
-
*
|
|
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
|
-
*
|
|
186
|
+
* Attributes: [
|
|
189
187
|
* {
|
|
190
|
-
*
|
|
191
|
-
*
|
|
188
|
+
* Key: "access_logs.s3.enabled",
|
|
189
|
+
* Value: "true"
|
|
192
190
|
* },
|
|
193
191
|
* {
|
|
194
|
-
*
|
|
195
|
-
*
|
|
192
|
+
* Key: "access_logs.s3.bucket",
|
|
193
|
+
* Value: "my-load-balancer-logs"
|
|
196
194
|
* },
|
|
197
195
|
* {
|
|
198
|
-
*
|
|
199
|
-
*
|
|
196
|
+
* Key: "access_logs.s3.prefix",
|
|
197
|
+
* Value: "myapp"
|
|
200
198
|
* },
|
|
201
199
|
* {
|
|
202
|
-
*
|
|
203
|
-
*
|
|
200
|
+
* Key: "idle_timeout.timeout_seconds",
|
|
201
|
+
* Value: "60"
|
|
204
202
|
* },
|
|
205
203
|
* {
|
|
206
|
-
*
|
|
207
|
-
*
|
|
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. */
|
|
@@ -300,51 +300,51 @@ declare const ModifyRuleCommand_base: {
|
|
|
300
300
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
301
301
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
302
302
|
*
|
|
303
|
-
*
|
|
303
|
+
*
|
|
304
304
|
* @example To modify a rule
|
|
305
305
|
* ```javascript
|
|
306
306
|
* // This example modifies the condition for the specified rule.
|
|
307
307
|
* const input = {
|
|
308
|
-
*
|
|
308
|
+
* Conditions: [
|
|
309
309
|
* {
|
|
310
|
-
*
|
|
311
|
-
*
|
|
310
|
+
* Field: "path-pattern",
|
|
311
|
+
* Values: [
|
|
312
312
|
* "/images/*"
|
|
313
313
|
* ]
|
|
314
314
|
* }
|
|
315
315
|
* ],
|
|
316
|
-
*
|
|
316
|
+
* RuleArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee"
|
|
317
317
|
* };
|
|
318
318
|
* const command = new ModifyRuleCommand(input);
|
|
319
319
|
* const response = await client.send(command);
|
|
320
|
-
* /* response
|
|
320
|
+
* /* response is
|
|
321
321
|
* {
|
|
322
|
-
*
|
|
322
|
+
* Rules: [
|
|
323
323
|
* {
|
|
324
|
-
*
|
|
324
|
+
* Actions: [
|
|
325
325
|
* {
|
|
326
|
-
*
|
|
327
|
-
*
|
|
326
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
327
|
+
* Type: "forward"
|
|
328
328
|
* }
|
|
329
329
|
* ],
|
|
330
|
-
*
|
|
330
|
+
* Conditions: [
|
|
331
331
|
* {
|
|
332
|
-
*
|
|
333
|
-
*
|
|
332
|
+
* Field: "path-pattern",
|
|
333
|
+
* Values: [
|
|
334
334
|
* "/images/*"
|
|
335
335
|
* ]
|
|
336
336
|
* }
|
|
337
337
|
* ],
|
|
338
|
-
*
|
|
339
|
-
*
|
|
340
|
-
*
|
|
338
|
+
* IsDefault: false,
|
|
339
|
+
* Priority: "10",
|
|
340
|
+
* RuleArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/9683b2d02a6cabee"
|
|
341
341
|
* }
|
|
342
342
|
* ]
|
|
343
343
|
* }
|
|
344
344
|
* *\/
|
|
345
|
-
* // example id: elbv2-modify-rule-1
|
|
346
345
|
* ```
|
|
347
346
|
*
|
|
347
|
+
* @public
|
|
348
348
|
*/
|
|
349
349
|
export declare class ModifyRuleCommand extends ModifyRuleCommand_base {
|
|
350
350
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -71,46 +71,46 @@ declare const ModifyTargetGroupAttributesCommand_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
75
|
* @example To modify the deregistration delay timeout
|
|
76
76
|
* ```javascript
|
|
77
77
|
* // This example sets the deregistration delay timeout to the specified value for the specified target group.
|
|
78
78
|
* const input = {
|
|
79
|
-
*
|
|
79
|
+
* Attributes: [
|
|
80
80
|
* {
|
|
81
|
-
*
|
|
82
|
-
*
|
|
81
|
+
* Key: "deregistration_delay.timeout_seconds",
|
|
82
|
+
* Value: "600"
|
|
83
83
|
* }
|
|
84
84
|
* ],
|
|
85
|
-
*
|
|
85
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
|
|
86
86
|
* };
|
|
87
87
|
* const command = new ModifyTargetGroupAttributesCommand(input);
|
|
88
88
|
* const response = await client.send(command);
|
|
89
|
-
* /* response
|
|
89
|
+
* /* response is
|
|
90
90
|
* {
|
|
91
|
-
*
|
|
91
|
+
* Attributes: [
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
94
|
-
*
|
|
93
|
+
* Key: "stickiness.enabled",
|
|
94
|
+
* Value: "false"
|
|
95
95
|
* },
|
|
96
96
|
* {
|
|
97
|
-
*
|
|
98
|
-
*
|
|
97
|
+
* Key: "deregistration_delay.timeout_seconds",
|
|
98
|
+
* Value: "600"
|
|
99
99
|
* },
|
|
100
100
|
* {
|
|
101
|
-
*
|
|
102
|
-
*
|
|
101
|
+
* Key: "stickiness.type",
|
|
102
|
+
* Value: "lb_cookie"
|
|
103
103
|
* },
|
|
104
104
|
* {
|
|
105
|
-
*
|
|
106
|
-
*
|
|
105
|
+
* Key: "stickiness.lb_cookie.duration_seconds",
|
|
106
|
+
* Value: "86400"
|
|
107
107
|
* }
|
|
108
108
|
* ]
|
|
109
109
|
* }
|
|
110
110
|
* *\/
|
|
111
|
-
* // example id: elbv2-modify-target-group-attributes-1
|
|
112
111
|
* ```
|
|
113
112
|
*
|
|
113
|
+
* @public
|
|
114
114
|
*/
|
|
115
115
|
export declare class ModifyTargetGroupAttributesCommand extends ModifyTargetGroupAttributesCommand_base {
|
|
116
116
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -99,45 +99,45 @@ declare const ModifyTargetGroupCommand_base: {
|
|
|
99
99
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
100
100
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
101
101
|
*
|
|
102
|
-
*
|
|
102
|
+
*
|
|
103
103
|
* @example To modify the health check configuration for a target group
|
|
104
104
|
* ```javascript
|
|
105
105
|
* // This example changes the configuration of the health checks used to evaluate the health of the targets for the specified target group.
|
|
106
106
|
* const input = {
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
-
*
|
|
107
|
+
* HealthCheckPort: "443",
|
|
108
|
+
* HealthCheckProtocol: "HTTPS",
|
|
109
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-https-targets/2453ed029918f21f"
|
|
110
110
|
* };
|
|
111
111
|
* const command = new ModifyTargetGroupCommand(input);
|
|
112
112
|
* const response = await client.send(command);
|
|
113
|
-
* /* response
|
|
113
|
+
* /* response is
|
|
114
114
|
* {
|
|
115
|
-
*
|
|
115
|
+
* TargetGroups: [
|
|
116
116
|
* {
|
|
117
|
-
*
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
*
|
|
122
|
-
*
|
|
117
|
+
* HealthCheckIntervalSeconds: 30,
|
|
118
|
+
* HealthCheckPort: "443",
|
|
119
|
+
* HealthCheckProtocol: "HTTPS",
|
|
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
|
-
*
|
|
126
|
-
*
|
|
125
|
+
* Matcher: {
|
|
126
|
+
* HttpCode: "200"
|
|
127
127
|
* },
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
128
|
+
* Port: 443,
|
|
129
|
+
* Protocol: "HTTPS",
|
|
130
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-https-targets/2453ed029918f21f",
|
|
131
|
+
* TargetGroupName: "my-https-targets",
|
|
132
|
+
* UnhealthyThresholdCount: 2,
|
|
133
|
+
* VpcId: "vpc-3ac0fb5f"
|
|
134
134
|
* }
|
|
135
135
|
* ]
|
|
136
136
|
* }
|
|
137
137
|
* *\/
|
|
138
|
-
* // example id: elbv2-modify-target-group-1
|
|
139
138
|
* ```
|
|
140
139
|
*
|
|
140
|
+
* @public
|
|
141
141
|
*/
|
|
142
142
|
export declare class ModifyTargetGroupCommand extends ModifyTargetGroupCommand_base {
|
|
143
143
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -74,6 +74,7 @@ declare const ModifyTrustStoreCommand_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 ModifyTrustStoreCommand extends ModifyTrustStoreCommand_base {
|
|
@@ -82,47 +82,52 @@ declare const RegisterTargetsCommand_base: {
|
|
|
82
82
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
84
84
|
*
|
|
85
|
-
*
|
|
85
|
+
*
|
|
86
86
|
* @example To register targets with a target group
|
|
87
87
|
* ```javascript
|
|
88
88
|
* // This example registers the specified instances with the specified target group.
|
|
89
89
|
* const input = {
|
|
90
|
-
*
|
|
91
|
-
*
|
|
90
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
91
|
+
* Targets: [
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
93
|
+
* Id: "i-80c8dd94"
|
|
94
94
|
* },
|
|
95
95
|
* {
|
|
96
|
-
*
|
|
96
|
+
* Id: "i-ceddcd4d"
|
|
97
97
|
* }
|
|
98
98
|
* ]
|
|
99
99
|
* };
|
|
100
100
|
* const command = new RegisterTargetsCommand(input);
|
|
101
|
-
* await client.send(command);
|
|
102
|
-
*
|
|
101
|
+
* const response = await client.send(command);
|
|
102
|
+
* /* response is
|
|
103
|
+
* { /* metadata only *\/ }
|
|
104
|
+
* *\/
|
|
103
105
|
* ```
|
|
104
106
|
*
|
|
105
107
|
* @example To register targets with a target group using port overrides
|
|
106
108
|
* ```javascript
|
|
107
109
|
* // This example registers the specified instance with the specified target group using multiple ports. This enables you to register ECS containers on the same instance as targets in the target group.
|
|
108
110
|
* const input = {
|
|
109
|
-
*
|
|
110
|
-
*
|
|
111
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-new-targets/3bb63f11dfb0faf9",
|
|
112
|
+
* Targets: [
|
|
111
113
|
* {
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
+
* Id: "i-80c8dd94",
|
|
115
|
+
* Port: 80
|
|
114
116
|
* },
|
|
115
117
|
* {
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
+
* Id: "i-80c8dd94",
|
|
119
|
+
* Port: 766
|
|
118
120
|
* }
|
|
119
121
|
* ]
|
|
120
122
|
* };
|
|
121
123
|
* const command = new RegisterTargetsCommand(input);
|
|
122
|
-
* await client.send(command);
|
|
123
|
-
*
|
|
124
|
+
* const response = await client.send(command);
|
|
125
|
+
* /* response is
|
|
126
|
+
* { /* metadata only *\/ }
|
|
127
|
+
* *\/
|
|
124
128
|
* ```
|
|
125
129
|
*
|
|
130
|
+
* @public
|
|
126
131
|
*/
|
|
127
132
|
export declare class RegisterTargetsCommand extends RegisterTargetsCommand_base {
|
|
128
133
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -65,6 +65,7 @@ declare const RemoveListenerCertificatesCommand_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 RemoveListenerCertificatesCommand extends RemoveListenerCertificatesCommand_base {
|
|
@@ -77,24 +77,27 @@ declare const RemoveTagsCommand_base: {
|
|
|
77
77
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
78
78
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
79
79
|
*
|
|
80
|
-
*
|
|
80
|
+
*
|
|
81
81
|
* @example To remove tags from a load balancer
|
|
82
82
|
* ```javascript
|
|
83
83
|
* // This example removes the specified tags from the specified load balancer.
|
|
84
84
|
* const input = {
|
|
85
|
-
*
|
|
85
|
+
* ResourceArns: [
|
|
86
86
|
* "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188"
|
|
87
87
|
* ],
|
|
88
|
-
*
|
|
88
|
+
* TagKeys: [
|
|
89
89
|
* "project",
|
|
90
90
|
* "department"
|
|
91
91
|
* ]
|
|
92
92
|
* };
|
|
93
93
|
* const command = new RemoveTagsCommand(input);
|
|
94
|
-
* await client.send(command);
|
|
95
|
-
*
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* /* response is
|
|
96
|
+
* { /* metadata only *\/ }
|
|
97
|
+
* *\/
|
|
96
98
|
* ```
|
|
97
99
|
*
|
|
100
|
+
* @public
|
|
98
101
|
*/
|
|
99
102
|
export declare class RemoveTagsCommand extends RemoveTagsCommand_base {
|
|
100
103
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -61,6 +61,7 @@ declare const RemoveTrustStoreRevocationsCommand_base: {
|
|
|
61
61
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
62
62
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
63
63
|
*
|
|
64
|
+
*
|
|
64
65
|
* @public
|
|
65
66
|
*/
|
|
66
67
|
export declare class RemoveTrustStoreRevocationsCommand extends RemoveTrustStoreRevocationsCommand_base {
|
|
@@ -64,6 +64,7 @@ declare const SetIpAddressTypeCommand_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 SetIpAddressTypeCommand extends SetIpAddressTypeCommand_base {
|
|
@@ -176,48 +176,48 @@ declare const SetRulePrioritiesCommand_base: {
|
|
|
176
176
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
177
177
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
178
178
|
*
|
|
179
|
-
*
|
|
179
|
+
*
|
|
180
180
|
* @example To set the rule priority
|
|
181
181
|
* ```javascript
|
|
182
182
|
* // This example sets the priority of the specified rule.
|
|
183
183
|
* const input = {
|
|
184
|
-
*
|
|
184
|
+
* RulePriorities: [
|
|
185
185
|
* {
|
|
186
|
-
*
|
|
187
|
-
*
|
|
186
|
+
* Priority: 5,
|
|
187
|
+
* RuleArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/1291d13826f405c3"
|
|
188
188
|
* }
|
|
189
189
|
* ]
|
|
190
190
|
* };
|
|
191
191
|
* const command = new SetRulePrioritiesCommand(input);
|
|
192
192
|
* const response = await client.send(command);
|
|
193
|
-
* /* response
|
|
193
|
+
* /* response is
|
|
194
194
|
* {
|
|
195
|
-
*
|
|
195
|
+
* Rules: [
|
|
196
196
|
* {
|
|
197
|
-
*
|
|
197
|
+
* Actions: [
|
|
198
198
|
* {
|
|
199
|
-
*
|
|
200
|
-
*
|
|
199
|
+
* TargetGroupArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067",
|
|
200
|
+
* Type: "forward"
|
|
201
201
|
* }
|
|
202
202
|
* ],
|
|
203
|
-
*
|
|
203
|
+
* Conditions: [
|
|
204
204
|
* {
|
|
205
|
-
*
|
|
206
|
-
*
|
|
205
|
+
* Field: "path-pattern",
|
|
206
|
+
* Values: [
|
|
207
207
|
* "/img/*"
|
|
208
208
|
* ]
|
|
209
209
|
* }
|
|
210
210
|
* ],
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
211
|
+
* IsDefault: false,
|
|
212
|
+
* Priority: "5",
|
|
213
|
+
* RuleArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-load-balancer/50dc6c495c0c9188/f2f7dc8efc522ab2/1291d13826f405c3"
|
|
214
214
|
* }
|
|
215
215
|
* ]
|
|
216
216
|
* }
|
|
217
217
|
* *\/
|
|
218
|
-
* // example id: elbv2-set-rule-priorities-1
|
|
219
218
|
* ```
|
|
220
219
|
*
|
|
220
|
+
* @public
|
|
221
221
|
*/
|
|
222
222
|
export declare class SetRulePrioritiesCommand extends SetRulePrioritiesCommand_base {
|
|
223
223
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -75,28 +75,28 @@ declare const SetSecurityGroupsCommand_base: {
|
|
|
75
75
|
* @throws {@link ElasticLoadBalancingV2ServiceException}
|
|
76
76
|
* <p>Base exception class for all service exceptions from ElasticLoadBalancingV2 service.</p>
|
|
77
77
|
*
|
|
78
|
-
*
|
|
78
|
+
*
|
|
79
79
|
* @example To associate a security group with a load balancer
|
|
80
80
|
* ```javascript
|
|
81
81
|
* // This example associates the specified security group with the specified load balancer.
|
|
82
82
|
* const input = {
|
|
83
|
-
*
|
|
84
|
-
*
|
|
83
|
+
* LoadBalancerArn: "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188",
|
|
84
|
+
* SecurityGroups: [
|
|
85
85
|
* "sg-5943793c"
|
|
86
86
|
* ]
|
|
87
87
|
* };
|
|
88
88
|
* const command = new SetSecurityGroupsCommand(input);
|
|
89
89
|
* const response = await client.send(command);
|
|
90
|
-
* /* response
|
|
90
|
+
* /* response is
|
|
91
91
|
* {
|
|
92
|
-
*
|
|
92
|
+
* SecurityGroupIds: [
|
|
93
93
|
* "sg-5943793c"
|
|
94
94
|
* ]
|
|
95
95
|
* }
|
|
96
96
|
* *\/
|
|
97
|
-
* // example id: elbv2-set-security-groups-1
|
|
98
97
|
* ```
|
|
99
98
|
*
|
|
99
|
+
* @public
|
|
100
100
|
*/
|
|
101
101
|
export declare class SetSecurityGroupsCommand extends SetSecurityGroupsCommand_base {
|
|
102
102
|
/** @internal type navigation helper, not in runtime. */
|