aws-sdk-elasticloadbalancingv2 1.117.0 → 1.119.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d0a361037abe3a3b3a946b10df873e705f57b4ee7f9a437c98f56d58da2f2f4
4
- data.tar.gz: bede51c3b2c0c5354952d6134aac9f5379c9469a9d21065186a97e7b14c22a1e
3
+ metadata.gz: 5556444806956648f491ba119cc56f1d79075238ef5ac6e6160b3a89a7c4f928
4
+ data.tar.gz: 3bd7ab228f40e2494f70f5dd2e537ee5d251b208d818f1985c746a3a4680c32e
5
5
  SHA512:
6
- metadata.gz: 78de526b44417f0c728207ca1767542df1a07cfb1c26aaa8d3410b4eefde12614c96e40bd6733da2e948fa1460e756395e81e20fa6b3e0d91e01885d394b4b1a
7
- data.tar.gz: '04920900ed95684e789f4b8e9bfa519bff348079df68e2a24859693b0ef3db80cd51f866fd61fc390fbcdd173de2f827988926c1e88b968a3e16f9df641b3821'
6
+ metadata.gz: 681108dea3dba4294081fd2c27d6f6920c029c2c6935652f2ae8b139744e807da482d524e2c918a7e7e28677d300449bb4d00b8c1d6b24df87e31bb91d30a72e
7
+ data.tar.gz: a886c6e20ab8fca68c2bf7fb23eab244f926c7471ce6f37b68969fb4f90611da4913a91c87088da56b510253347ba21f492651b11bf3c96cbb50facafb971c05
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.119.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.118.0 (2024-10-11)
10
+ ------------------
11
+
12
+ * Feature - Add zonal_shift.config.enabled attribute. Add new AdministrativeOverride construct in the describe-target-health API response to include information about the override status applied to a target.
13
+
4
14
  1.117.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.117.0
1
+ 1.119.0
@@ -3214,6 +3214,9 @@ module Aws::ElasticLoadBalancingV2
3214
3214
  # resp.target_health_descriptions[0].target_health.description #=> String
3215
3215
  # resp.target_health_descriptions[0].anomaly_detection.result #=> String, one of "anomalous", "normal"
3216
3216
  # resp.target_health_descriptions[0].anomaly_detection.mitigation_in_effect #=> String, one of "yes", "no"
3217
+ # resp.target_health_descriptions[0].administrative_override.state #=> String, one of "unknown", "no_override", "zonal_shift_active", "zonal_shift_delegated_to_dns"
3218
+ # resp.target_health_descriptions[0].administrative_override.reason #=> String, one of "AdministrativeOverride.Unknown", "AdministrativeOverride.NoOverride", "AdministrativeOverride.ZonalShiftActive", "AdministrativeOverride.ZonalShiftDelegatedToDns"
3219
+ # resp.target_health_descriptions[0].administrative_override.description #=> String
3217
3220
  #
3218
3221
  #
3219
3222
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -5092,7 +5095,7 @@ module Aws::ElasticLoadBalancingV2
5092
5095
  tracer: tracer
5093
5096
  )
5094
5097
  context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
5095
- context[:gem_version] = '1.117.0'
5098
+ context[:gem_version] = '1.119.0'
5096
5099
  Seahorse::Client::Request.new(handlers, context)
5097
5100
  end
5098
5101
 
@@ -25,6 +25,7 @@ module Aws::ElasticLoadBalancingV2
25
25
  AddTagsOutput = Shapes::StructureShape.new(name: 'AddTagsOutput')
26
26
  AddTrustStoreRevocationsInput = Shapes::StructureShape.new(name: 'AddTrustStoreRevocationsInput')
27
27
  AddTrustStoreRevocationsOutput = Shapes::StructureShape.new(name: 'AddTrustStoreRevocationsOutput')
28
+ AdministrativeOverride = Shapes::StructureShape.new(name: 'AdministrativeOverride')
28
29
  AllocationId = Shapes::StringShape.new(name: 'AllocationId')
29
30
  AllocationIdNotFoundException = Shapes::StructureShape.new(name: 'AllocationIdNotFoundException', error: {"code"=>"AllocationIdNotFound", "httpStatusCode"=>400, "senderFault"=>true})
30
31
  AlpnPolicyName = Shapes::ListShape.new(name: 'AlpnPolicyName')
@@ -318,6 +319,8 @@ module Aws::ElasticLoadBalancingV2
318
319
  TagKeys = Shapes::ListShape.new(name: 'TagKeys')
319
320
  TagList = Shapes::ListShape.new(name: 'TagList')
320
321
  TagValue = Shapes::StringShape.new(name: 'TagValue')
322
+ TargetAdministrativeOverrideReasonEnum = Shapes::StringShape.new(name: 'TargetAdministrativeOverrideReasonEnum')
323
+ TargetAdministrativeOverrideStateEnum = Shapes::StringShape.new(name: 'TargetAdministrativeOverrideStateEnum')
321
324
  TargetDescription = Shapes::StructureShape.new(name: 'TargetDescription')
322
325
  TargetDescriptions = Shapes::ListShape.new(name: 'TargetDescriptions')
323
326
  TargetGroup = Shapes::StructureShape.new(name: 'TargetGroup')
@@ -414,6 +417,11 @@ module Aws::ElasticLoadBalancingV2
414
417
  AddTrustStoreRevocationsOutput.add_member(:trust_store_revocations, Shapes::ShapeRef.new(shape: TrustStoreRevocations, location_name: "TrustStoreRevocations"))
415
418
  AddTrustStoreRevocationsOutput.struct_class = Types::AddTrustStoreRevocationsOutput
416
419
 
420
+ AdministrativeOverride.add_member(:state, Shapes::ShapeRef.new(shape: TargetAdministrativeOverrideStateEnum, location_name: "State"))
421
+ AdministrativeOverride.add_member(:reason, Shapes::ShapeRef.new(shape: TargetAdministrativeOverrideReasonEnum, location_name: "Reason"))
422
+ AdministrativeOverride.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
423
+ AdministrativeOverride.struct_class = Types::AdministrativeOverride
424
+
417
425
  AllocationIdNotFoundException.struct_class = Types::AllocationIdNotFoundException
418
426
 
419
427
  AlpnPolicyName.member = Shapes::ShapeRef.new(shape: AlpnPolicyValue)
@@ -1181,6 +1189,7 @@ module Aws::ElasticLoadBalancingV2
1181
1189
  TargetHealthDescription.add_member(:health_check_port, Shapes::ShapeRef.new(shape: HealthCheckPort, location_name: "HealthCheckPort"))
1182
1190
  TargetHealthDescription.add_member(:target_health, Shapes::ShapeRef.new(shape: TargetHealth, location_name: "TargetHealth"))
1183
1191
  TargetHealthDescription.add_member(:anomaly_detection, Shapes::ShapeRef.new(shape: AnomalyDetection, location_name: "AnomalyDetection"))
1192
+ TargetHealthDescription.add_member(:administrative_override, Shapes::ShapeRef.new(shape: AdministrativeOverride, location_name: "AdministrativeOverride"))
1184
1193
  TargetHealthDescription.struct_class = Types::TargetHealthDescription
1185
1194
 
1186
1195
  TargetHealthDescriptions.member = Shapes::ShapeRef.new(shape: TargetHealthDescription)
@@ -52,15 +52,18 @@ module Aws::ElasticLoadBalancingV2
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end
@@ -12,533 +12,9 @@ module Aws::ElasticLoadBalancingV2
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
- class AddListenerCertificates
16
- def self.build(context)
17
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
18
- region: context.config.region,
19
- use_dual_stack: context.config.use_dualstack_endpoint,
20
- use_fips: context.config.use_fips_endpoint,
21
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
22
- )
23
- end
24
- end
25
-
26
- class AddTags
27
- def self.build(context)
28
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
29
- region: context.config.region,
30
- use_dual_stack: context.config.use_dualstack_endpoint,
31
- use_fips: context.config.use_fips_endpoint,
32
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
33
- )
34
- end
35
- end
36
-
37
- class AddTrustStoreRevocations
38
- def self.build(context)
39
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
40
- region: context.config.region,
41
- use_dual_stack: context.config.use_dualstack_endpoint,
42
- use_fips: context.config.use_fips_endpoint,
43
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
44
- )
45
- end
46
- end
47
-
48
- class CreateListener
49
- def self.build(context)
50
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
51
- region: context.config.region,
52
- use_dual_stack: context.config.use_dualstack_endpoint,
53
- use_fips: context.config.use_fips_endpoint,
54
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
55
- )
56
- end
57
- end
58
-
59
- class CreateLoadBalancer
60
- def self.build(context)
61
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
62
- region: context.config.region,
63
- use_dual_stack: context.config.use_dualstack_endpoint,
64
- use_fips: context.config.use_fips_endpoint,
65
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
66
- )
67
- end
68
- end
69
-
70
- class CreateRule
71
- def self.build(context)
72
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
73
- region: context.config.region,
74
- use_dual_stack: context.config.use_dualstack_endpoint,
75
- use_fips: context.config.use_fips_endpoint,
76
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
77
- )
78
- end
79
- end
80
-
81
- class CreateTargetGroup
82
- def self.build(context)
83
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
84
- region: context.config.region,
85
- use_dual_stack: context.config.use_dualstack_endpoint,
86
- use_fips: context.config.use_fips_endpoint,
87
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
88
- )
89
- end
90
- end
91
-
92
- class CreateTrustStore
93
- def self.build(context)
94
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
95
- region: context.config.region,
96
- use_dual_stack: context.config.use_dualstack_endpoint,
97
- use_fips: context.config.use_fips_endpoint,
98
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
99
- )
100
- end
101
- end
102
-
103
- class DeleteListener
104
- def self.build(context)
105
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
106
- region: context.config.region,
107
- use_dual_stack: context.config.use_dualstack_endpoint,
108
- use_fips: context.config.use_fips_endpoint,
109
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
110
- )
111
- end
112
- end
113
-
114
- class DeleteLoadBalancer
115
- def self.build(context)
116
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
117
- region: context.config.region,
118
- use_dual_stack: context.config.use_dualstack_endpoint,
119
- use_fips: context.config.use_fips_endpoint,
120
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
121
- )
122
- end
123
- end
124
-
125
- class DeleteRule
126
- def self.build(context)
127
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
128
- region: context.config.region,
129
- use_dual_stack: context.config.use_dualstack_endpoint,
130
- use_fips: context.config.use_fips_endpoint,
131
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
132
- )
133
- end
134
- end
135
-
136
- class DeleteSharedTrustStoreAssociation
137
- def self.build(context)
138
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
139
- region: context.config.region,
140
- use_dual_stack: context.config.use_dualstack_endpoint,
141
- use_fips: context.config.use_fips_endpoint,
142
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
143
- )
144
- end
145
- end
146
-
147
- class DeleteTargetGroup
148
- def self.build(context)
149
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
150
- region: context.config.region,
151
- use_dual_stack: context.config.use_dualstack_endpoint,
152
- use_fips: context.config.use_fips_endpoint,
153
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
154
- )
155
- end
156
- end
157
-
158
- class DeleteTrustStore
159
- def self.build(context)
160
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
161
- region: context.config.region,
162
- use_dual_stack: context.config.use_dualstack_endpoint,
163
- use_fips: context.config.use_fips_endpoint,
164
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
165
- )
166
- end
167
- end
168
-
169
- class DeregisterTargets
170
- def self.build(context)
171
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
172
- region: context.config.region,
173
- use_dual_stack: context.config.use_dualstack_endpoint,
174
- use_fips: context.config.use_fips_endpoint,
175
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
176
- )
177
- end
178
- end
179
-
180
- class DescribeAccountLimits
181
- def self.build(context)
182
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
183
- region: context.config.region,
184
- use_dual_stack: context.config.use_dualstack_endpoint,
185
- use_fips: context.config.use_fips_endpoint,
186
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
187
- )
188
- end
189
- end
190
-
191
- class DescribeListenerAttributes
192
- def self.build(context)
193
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
194
- region: context.config.region,
195
- use_dual_stack: context.config.use_dualstack_endpoint,
196
- use_fips: context.config.use_fips_endpoint,
197
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
198
- )
199
- end
200
- end
201
-
202
- class DescribeListenerCertificates
203
- def self.build(context)
204
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
205
- region: context.config.region,
206
- use_dual_stack: context.config.use_dualstack_endpoint,
207
- use_fips: context.config.use_fips_endpoint,
208
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
209
- )
210
- end
211
- end
212
-
213
- class DescribeListeners
214
- def self.build(context)
215
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
216
- region: context.config.region,
217
- use_dual_stack: context.config.use_dualstack_endpoint,
218
- use_fips: context.config.use_fips_endpoint,
219
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
220
- )
221
- end
222
- end
223
-
224
- class DescribeLoadBalancerAttributes
225
- def self.build(context)
226
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
227
- region: context.config.region,
228
- use_dual_stack: context.config.use_dualstack_endpoint,
229
- use_fips: context.config.use_fips_endpoint,
230
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
231
- )
232
- end
233
- end
234
-
235
- class DescribeLoadBalancers
236
- def self.build(context)
237
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
238
- region: context.config.region,
239
- use_dual_stack: context.config.use_dualstack_endpoint,
240
- use_fips: context.config.use_fips_endpoint,
241
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
242
- )
243
- end
244
- end
245
-
246
- class DescribeRules
247
- def self.build(context)
248
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
249
- region: context.config.region,
250
- use_dual_stack: context.config.use_dualstack_endpoint,
251
- use_fips: context.config.use_fips_endpoint,
252
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
253
- )
254
- end
255
- end
256
-
257
- class DescribeSSLPolicies
258
- def self.build(context)
259
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
260
- region: context.config.region,
261
- use_dual_stack: context.config.use_dualstack_endpoint,
262
- use_fips: context.config.use_fips_endpoint,
263
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
264
- )
265
- end
266
- end
267
-
268
- class DescribeTags
269
- def self.build(context)
270
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
271
- region: context.config.region,
272
- use_dual_stack: context.config.use_dualstack_endpoint,
273
- use_fips: context.config.use_fips_endpoint,
274
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
275
- )
276
- end
277
- end
278
15
 
279
- class DescribeTargetGroupAttributes
280
- def self.build(context)
281
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
282
- region: context.config.region,
283
- use_dual_stack: context.config.use_dualstack_endpoint,
284
- use_fips: context.config.use_fips_endpoint,
285
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
286
- )
287
- end
16
+ def self.parameters_for_operation(context)
17
+ Aws::ElasticLoadBalancingV2::EndpointParameters.create(context.config)
288
18
  end
289
-
290
- class DescribeTargetGroups
291
- def self.build(context)
292
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
293
- region: context.config.region,
294
- use_dual_stack: context.config.use_dualstack_endpoint,
295
- use_fips: context.config.use_fips_endpoint,
296
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
297
- )
298
- end
299
- end
300
-
301
- class DescribeTargetHealth
302
- def self.build(context)
303
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
304
- region: context.config.region,
305
- use_dual_stack: context.config.use_dualstack_endpoint,
306
- use_fips: context.config.use_fips_endpoint,
307
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
308
- )
309
- end
310
- end
311
-
312
- class DescribeTrustStoreAssociations
313
- def self.build(context)
314
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
315
- region: context.config.region,
316
- use_dual_stack: context.config.use_dualstack_endpoint,
317
- use_fips: context.config.use_fips_endpoint,
318
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
319
- )
320
- end
321
- end
322
-
323
- class DescribeTrustStoreRevocations
324
- def self.build(context)
325
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
326
- region: context.config.region,
327
- use_dual_stack: context.config.use_dualstack_endpoint,
328
- use_fips: context.config.use_fips_endpoint,
329
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
330
- )
331
- end
332
- end
333
-
334
- class DescribeTrustStores
335
- def self.build(context)
336
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
337
- region: context.config.region,
338
- use_dual_stack: context.config.use_dualstack_endpoint,
339
- use_fips: context.config.use_fips_endpoint,
340
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
341
- )
342
- end
343
- end
344
-
345
- class GetResourcePolicy
346
- def self.build(context)
347
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
348
- region: context.config.region,
349
- use_dual_stack: context.config.use_dualstack_endpoint,
350
- use_fips: context.config.use_fips_endpoint,
351
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
352
- )
353
- end
354
- end
355
-
356
- class GetTrustStoreCaCertificatesBundle
357
- def self.build(context)
358
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
359
- region: context.config.region,
360
- use_dual_stack: context.config.use_dualstack_endpoint,
361
- use_fips: context.config.use_fips_endpoint,
362
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
363
- )
364
- end
365
- end
366
-
367
- class GetTrustStoreRevocationContent
368
- def self.build(context)
369
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
370
- region: context.config.region,
371
- use_dual_stack: context.config.use_dualstack_endpoint,
372
- use_fips: context.config.use_fips_endpoint,
373
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
374
- )
375
- end
376
- end
377
-
378
- class ModifyListener
379
- def self.build(context)
380
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
381
- region: context.config.region,
382
- use_dual_stack: context.config.use_dualstack_endpoint,
383
- use_fips: context.config.use_fips_endpoint,
384
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
385
- )
386
- end
387
- end
388
-
389
- class ModifyListenerAttributes
390
- def self.build(context)
391
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
392
- region: context.config.region,
393
- use_dual_stack: context.config.use_dualstack_endpoint,
394
- use_fips: context.config.use_fips_endpoint,
395
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
396
- )
397
- end
398
- end
399
-
400
- class ModifyLoadBalancerAttributes
401
- def self.build(context)
402
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
403
- region: context.config.region,
404
- use_dual_stack: context.config.use_dualstack_endpoint,
405
- use_fips: context.config.use_fips_endpoint,
406
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
407
- )
408
- end
409
- end
410
-
411
- class ModifyRule
412
- def self.build(context)
413
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
414
- region: context.config.region,
415
- use_dual_stack: context.config.use_dualstack_endpoint,
416
- use_fips: context.config.use_fips_endpoint,
417
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
418
- )
419
- end
420
- end
421
-
422
- class ModifyTargetGroup
423
- def self.build(context)
424
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
425
- region: context.config.region,
426
- use_dual_stack: context.config.use_dualstack_endpoint,
427
- use_fips: context.config.use_fips_endpoint,
428
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
429
- )
430
- end
431
- end
432
-
433
- class ModifyTargetGroupAttributes
434
- def self.build(context)
435
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
436
- region: context.config.region,
437
- use_dual_stack: context.config.use_dualstack_endpoint,
438
- use_fips: context.config.use_fips_endpoint,
439
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
440
- )
441
- end
442
- end
443
-
444
- class ModifyTrustStore
445
- def self.build(context)
446
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
447
- region: context.config.region,
448
- use_dual_stack: context.config.use_dualstack_endpoint,
449
- use_fips: context.config.use_fips_endpoint,
450
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
451
- )
452
- end
453
- end
454
-
455
- class RegisterTargets
456
- def self.build(context)
457
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
458
- region: context.config.region,
459
- use_dual_stack: context.config.use_dualstack_endpoint,
460
- use_fips: context.config.use_fips_endpoint,
461
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
462
- )
463
- end
464
- end
465
-
466
- class RemoveListenerCertificates
467
- def self.build(context)
468
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
469
- region: context.config.region,
470
- use_dual_stack: context.config.use_dualstack_endpoint,
471
- use_fips: context.config.use_fips_endpoint,
472
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
473
- )
474
- end
475
- end
476
-
477
- class RemoveTags
478
- def self.build(context)
479
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
480
- region: context.config.region,
481
- use_dual_stack: context.config.use_dualstack_endpoint,
482
- use_fips: context.config.use_fips_endpoint,
483
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
484
- )
485
- end
486
- end
487
-
488
- class RemoveTrustStoreRevocations
489
- def self.build(context)
490
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
491
- region: context.config.region,
492
- use_dual_stack: context.config.use_dualstack_endpoint,
493
- use_fips: context.config.use_fips_endpoint,
494
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
495
- )
496
- end
497
- end
498
-
499
- class SetIpAddressType
500
- def self.build(context)
501
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
502
- region: context.config.region,
503
- use_dual_stack: context.config.use_dualstack_endpoint,
504
- use_fips: context.config.use_fips_endpoint,
505
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
506
- )
507
- end
508
- end
509
-
510
- class SetRulePriorities
511
- def self.build(context)
512
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
513
- region: context.config.region,
514
- use_dual_stack: context.config.use_dualstack_endpoint,
515
- use_fips: context.config.use_fips_endpoint,
516
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
517
- )
518
- end
519
- end
520
-
521
- class SetSecurityGroups
522
- def self.build(context)
523
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
524
- region: context.config.region,
525
- use_dual_stack: context.config.use_dualstack_endpoint,
526
- use_fips: context.config.use_fips_endpoint,
527
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
528
- )
529
- end
530
- end
531
-
532
- class SetSubnets
533
- def self.build(context)
534
- Aws::ElasticLoadBalancingV2::EndpointParameters.new(
535
- region: context.config.region,
536
- use_dual_stack: context.config.use_dualstack_endpoint,
537
- use_fips: context.config.use_fips_endpoint,
538
- endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
539
- )
540
- end
541
- end
542
-
543
19
  end
544
20
  end
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::ElasticLoadBalancingV2::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,107 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :add_listener_certificates
74
- Aws::ElasticLoadBalancingV2::Endpoints::AddListenerCertificates.build(context)
75
- when :add_tags
76
- Aws::ElasticLoadBalancingV2::Endpoints::AddTags.build(context)
77
- when :add_trust_store_revocations
78
- Aws::ElasticLoadBalancingV2::Endpoints::AddTrustStoreRevocations.build(context)
79
- when :create_listener
80
- Aws::ElasticLoadBalancingV2::Endpoints::CreateListener.build(context)
81
- when :create_load_balancer
82
- Aws::ElasticLoadBalancingV2::Endpoints::CreateLoadBalancer.build(context)
83
- when :create_rule
84
- Aws::ElasticLoadBalancingV2::Endpoints::CreateRule.build(context)
85
- when :create_target_group
86
- Aws::ElasticLoadBalancingV2::Endpoints::CreateTargetGroup.build(context)
87
- when :create_trust_store
88
- Aws::ElasticLoadBalancingV2::Endpoints::CreateTrustStore.build(context)
89
- when :delete_listener
90
- Aws::ElasticLoadBalancingV2::Endpoints::DeleteListener.build(context)
91
- when :delete_load_balancer
92
- Aws::ElasticLoadBalancingV2::Endpoints::DeleteLoadBalancer.build(context)
93
- when :delete_rule
94
- Aws::ElasticLoadBalancingV2::Endpoints::DeleteRule.build(context)
95
- when :delete_shared_trust_store_association
96
- Aws::ElasticLoadBalancingV2::Endpoints::DeleteSharedTrustStoreAssociation.build(context)
97
- when :delete_target_group
98
- Aws::ElasticLoadBalancingV2::Endpoints::DeleteTargetGroup.build(context)
99
- when :delete_trust_store
100
- Aws::ElasticLoadBalancingV2::Endpoints::DeleteTrustStore.build(context)
101
- when :deregister_targets
102
- Aws::ElasticLoadBalancingV2::Endpoints::DeregisterTargets.build(context)
103
- when :describe_account_limits
104
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeAccountLimits.build(context)
105
- when :describe_listener_attributes
106
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeListenerAttributes.build(context)
107
- when :describe_listener_certificates
108
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeListenerCertificates.build(context)
109
- when :describe_listeners
110
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeListeners.build(context)
111
- when :describe_load_balancer_attributes
112
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeLoadBalancerAttributes.build(context)
113
- when :describe_load_balancers
114
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeLoadBalancers.build(context)
115
- when :describe_rules
116
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeRules.build(context)
117
- when :describe_ssl_policies
118
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeSSLPolicies.build(context)
119
- when :describe_tags
120
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeTags.build(context)
121
- when :describe_target_group_attributes
122
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeTargetGroupAttributes.build(context)
123
- when :describe_target_groups
124
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeTargetGroups.build(context)
125
- when :describe_target_health
126
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeTargetHealth.build(context)
127
- when :describe_trust_store_associations
128
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeTrustStoreAssociations.build(context)
129
- when :describe_trust_store_revocations
130
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeTrustStoreRevocations.build(context)
131
- when :describe_trust_stores
132
- Aws::ElasticLoadBalancingV2::Endpoints::DescribeTrustStores.build(context)
133
- when :get_resource_policy
134
- Aws::ElasticLoadBalancingV2::Endpoints::GetResourcePolicy.build(context)
135
- when :get_trust_store_ca_certificates_bundle
136
- Aws::ElasticLoadBalancingV2::Endpoints::GetTrustStoreCaCertificatesBundle.build(context)
137
- when :get_trust_store_revocation_content
138
- Aws::ElasticLoadBalancingV2::Endpoints::GetTrustStoreRevocationContent.build(context)
139
- when :modify_listener
140
- Aws::ElasticLoadBalancingV2::Endpoints::ModifyListener.build(context)
141
- when :modify_listener_attributes
142
- Aws::ElasticLoadBalancingV2::Endpoints::ModifyListenerAttributes.build(context)
143
- when :modify_load_balancer_attributes
144
- Aws::ElasticLoadBalancingV2::Endpoints::ModifyLoadBalancerAttributes.build(context)
145
- when :modify_rule
146
- Aws::ElasticLoadBalancingV2::Endpoints::ModifyRule.build(context)
147
- when :modify_target_group
148
- Aws::ElasticLoadBalancingV2::Endpoints::ModifyTargetGroup.build(context)
149
- when :modify_target_group_attributes
150
- Aws::ElasticLoadBalancingV2::Endpoints::ModifyTargetGroupAttributes.build(context)
151
- when :modify_trust_store
152
- Aws::ElasticLoadBalancingV2::Endpoints::ModifyTrustStore.build(context)
153
- when :register_targets
154
- Aws::ElasticLoadBalancingV2::Endpoints::RegisterTargets.build(context)
155
- when :remove_listener_certificates
156
- Aws::ElasticLoadBalancingV2::Endpoints::RemoveListenerCertificates.build(context)
157
- when :remove_tags
158
- Aws::ElasticLoadBalancingV2::Endpoints::RemoveTags.build(context)
159
- when :remove_trust_store_revocations
160
- Aws::ElasticLoadBalancingV2::Endpoints::RemoveTrustStoreRevocations.build(context)
161
- when :set_ip_address_type
162
- Aws::ElasticLoadBalancingV2::Endpoints::SetIpAddressType.build(context)
163
- when :set_rule_priorities
164
- Aws::ElasticLoadBalancingV2::Endpoints::SetRulePriorities.build(context)
165
- when :set_security_groups
166
- Aws::ElasticLoadBalancingV2::Endpoints::SetSecurityGroups.build(context)
167
- when :set_subnets
168
- Aws::ElasticLoadBalancingV2::Endpoints::SetSubnets.build(context)
169
- end
170
- end
171
70
  end
172
71
 
173
72
  def add_handlers(handlers, _config)
@@ -167,6 +167,31 @@ module Aws::ElasticLoadBalancingV2
167
167
  include Aws::Structure
168
168
  end
169
169
 
170
+ # Information about the override status applied to a target.
171
+ #
172
+ # @!attribute [rw] state
173
+ # The state of the override.
174
+ # @return [String]
175
+ #
176
+ # @!attribute [rw] reason
177
+ # The reason code for the state.
178
+ # @return [String]
179
+ #
180
+ # @!attribute [rw] description
181
+ # A description of the override state that provides additional
182
+ # details.
183
+ # @return [String]
184
+ #
185
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AdministrativeOverride AWS API Documentation
186
+ #
187
+ class AdministrativeOverride < Struct.new(
188
+ :state,
189
+ :reason,
190
+ :description)
191
+ SENSITIVE = []
192
+ include Aws::Structure
193
+ end
194
+
170
195
  # The specified allocation ID does not exist.
171
196
  #
172
197
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/AllocationIdNotFoundException AWS API Documentation
@@ -2429,7 +2454,9 @@ module Aws::ElasticLoadBalancingV2
2429
2454
  # percent zonal affinity, and `any_availability_zone` with 0 percent
2430
2455
  # zonal affinity.
2431
2456
  #
2432
- # ^
2457
+ # * `zonal_shift.config.enabled` - Indicates whether zonal shift is
2458
+ # enabled. The possible values are `true` and `false`. The default
2459
+ # is `false`.
2433
2460
  # @return [String]
2434
2461
  #
2435
2462
  # @!attribute [rw] value
@@ -4230,13 +4257,18 @@ module Aws::ElasticLoadBalancingV2
4230
4257
  # If anomalies were detected, the result is `anomalous`.
4231
4258
  # @return [Types::AnomalyDetection]
4232
4259
  #
4260
+ # @!attribute [rw] administrative_override
4261
+ # The administrative override information for the target.
4262
+ # @return [Types::AdministrativeOverride]
4263
+ #
4233
4264
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancingv2-2015-12-01/TargetHealthDescription AWS API Documentation
4234
4265
  #
4235
4266
  class TargetHealthDescription < Struct.new(
4236
4267
  :target,
4237
4268
  :health_check_port,
4238
4269
  :target_health,
4239
- :anomaly_detection)
4270
+ :anomaly_detection,
4271
+ :administrative_override)
4240
4272
  SENSITIVE = []
4241
4273
  include Aws::Structure
4242
4274
  end
@@ -55,7 +55,7 @@ module Aws::ElasticLoadBalancingV2
55
55
  autoload :EndpointProvider, 'aws-sdk-elasticloadbalancingv2/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-elasticloadbalancingv2/endpoints'
57
57
 
58
- GEM_VERSION = '1.117.0'
58
+ GEM_VERSION = '1.119.0'
59
59
 
60
60
  end
61
61
 
data/sig/types.rbs CHANGED
@@ -54,6 +54,13 @@ module Aws::ElasticLoadBalancingV2
54
54
  SENSITIVE: []
55
55
  end
56
56
 
57
+ class AdministrativeOverride
58
+ attr_accessor state: ("unknown" | "no_override" | "zonal_shift_active" | "zonal_shift_delegated_to_dns")
59
+ attr_accessor reason: ("AdministrativeOverride.Unknown" | "AdministrativeOverride.NoOverride" | "AdministrativeOverride.ZonalShiftActive" | "AdministrativeOverride.ZonalShiftDelegatedToDns")
60
+ attr_accessor description: ::String
61
+ SENSITIVE: []
62
+ end
63
+
57
64
  class AllocationIdNotFoundException < Aws::EmptyStructure
58
65
  end
59
66
 
@@ -1020,6 +1027,7 @@ module Aws::ElasticLoadBalancingV2
1020
1027
  attr_accessor health_check_port: ::String
1021
1028
  attr_accessor target_health: Types::TargetHealth
1022
1029
  attr_accessor anomaly_detection: Types::AnomalyDetection
1030
+ attr_accessor administrative_override: Types::AdministrativeOverride
1023
1031
  SENSITIVE: []
1024
1032
  end
1025
1033
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-elasticloadbalancingv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.117.0
4
+ version: 1.119.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement