aws-sdk-elasticloadbalancingv2 1.94.0 → 1.95.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.
@@ -32,8 +32,8 @@ module Aws::ElasticLoadBalancingV2
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
- if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws-us-gov")
37
37
  return Aws::Endpoints::Endpoint.new(url: "https://elasticloadbalancing.#{region}.amazonaws.com", headers: {}, properties: {})
38
38
  end
39
39
  return Aws::Endpoints::Endpoint.new(url: "https://elasticloadbalancing-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
@@ -40,6 +40,20 @@ module Aws::ElasticLoadBalancingV2
40
40
  end
41
41
  end
42
42
 
43
+ class AddTrustStoreRevocations
44
+ def self.build(context)
45
+ unless context.config.regional_endpoint
46
+ endpoint = context.config.endpoint.to_s
47
+ end
48
+ Aws::ElasticLoadBalancingV2::EndpointParameters.new(
49
+ region: context.config.region,
50
+ use_dual_stack: context.config.use_dualstack_endpoint,
51
+ use_fips: context.config.use_fips_endpoint,
52
+ endpoint: endpoint,
53
+ )
54
+ end
55
+ end
56
+
43
57
  class CreateListener
44
58
  def self.build(context)
45
59
  unless context.config.regional_endpoint
@@ -96,6 +110,20 @@ module Aws::ElasticLoadBalancingV2
96
110
  end
97
111
  end
98
112
 
113
+ class CreateTrustStore
114
+ def self.build(context)
115
+ unless context.config.regional_endpoint
116
+ endpoint = context.config.endpoint.to_s
117
+ end
118
+ Aws::ElasticLoadBalancingV2::EndpointParameters.new(
119
+ region: context.config.region,
120
+ use_dual_stack: context.config.use_dualstack_endpoint,
121
+ use_fips: context.config.use_fips_endpoint,
122
+ endpoint: endpoint,
123
+ )
124
+ end
125
+ end
126
+
99
127
  class DeleteListener
100
128
  def self.build(context)
101
129
  unless context.config.regional_endpoint
@@ -152,6 +180,20 @@ module Aws::ElasticLoadBalancingV2
152
180
  end
153
181
  end
154
182
 
183
+ class DeleteTrustStore
184
+ def self.build(context)
185
+ unless context.config.regional_endpoint
186
+ endpoint = context.config.endpoint.to_s
187
+ end
188
+ Aws::ElasticLoadBalancingV2::EndpointParameters.new(
189
+ region: context.config.region,
190
+ use_dual_stack: context.config.use_dualstack_endpoint,
191
+ use_fips: context.config.use_fips_endpoint,
192
+ endpoint: endpoint,
193
+ )
194
+ end
195
+ end
196
+
155
197
  class DeregisterTargets
156
198
  def self.build(context)
157
199
  unless context.config.regional_endpoint
@@ -320,6 +362,76 @@ module Aws::ElasticLoadBalancingV2
320
362
  end
321
363
  end
322
364
 
365
+ class DescribeTrustStoreAssociations
366
+ def self.build(context)
367
+ unless context.config.regional_endpoint
368
+ endpoint = context.config.endpoint.to_s
369
+ end
370
+ Aws::ElasticLoadBalancingV2::EndpointParameters.new(
371
+ region: context.config.region,
372
+ use_dual_stack: context.config.use_dualstack_endpoint,
373
+ use_fips: context.config.use_fips_endpoint,
374
+ endpoint: endpoint,
375
+ )
376
+ end
377
+ end
378
+
379
+ class DescribeTrustStoreRevocations
380
+ def self.build(context)
381
+ unless context.config.regional_endpoint
382
+ endpoint = context.config.endpoint.to_s
383
+ end
384
+ Aws::ElasticLoadBalancingV2::EndpointParameters.new(
385
+ region: context.config.region,
386
+ use_dual_stack: context.config.use_dualstack_endpoint,
387
+ use_fips: context.config.use_fips_endpoint,
388
+ endpoint: endpoint,
389
+ )
390
+ end
391
+ end
392
+
393
+ class DescribeTrustStores
394
+ def self.build(context)
395
+ unless context.config.regional_endpoint
396
+ endpoint = context.config.endpoint.to_s
397
+ end
398
+ Aws::ElasticLoadBalancingV2::EndpointParameters.new(
399
+ region: context.config.region,
400
+ use_dual_stack: context.config.use_dualstack_endpoint,
401
+ use_fips: context.config.use_fips_endpoint,
402
+ endpoint: endpoint,
403
+ )
404
+ end
405
+ end
406
+
407
+ class GetTrustStoreCaCertificatesBundle
408
+ def self.build(context)
409
+ unless context.config.regional_endpoint
410
+ endpoint = context.config.endpoint.to_s
411
+ end
412
+ Aws::ElasticLoadBalancingV2::EndpointParameters.new(
413
+ region: context.config.region,
414
+ use_dual_stack: context.config.use_dualstack_endpoint,
415
+ use_fips: context.config.use_fips_endpoint,
416
+ endpoint: endpoint,
417
+ )
418
+ end
419
+ end
420
+
421
+ class GetTrustStoreRevocationContent
422
+ def self.build(context)
423
+ unless context.config.regional_endpoint
424
+ endpoint = context.config.endpoint.to_s
425
+ end
426
+ Aws::ElasticLoadBalancingV2::EndpointParameters.new(
427
+ region: context.config.region,
428
+ use_dual_stack: context.config.use_dualstack_endpoint,
429
+ use_fips: context.config.use_fips_endpoint,
430
+ endpoint: endpoint,
431
+ )
432
+ end
433
+ end
434
+
323
435
  class ModifyListener
324
436
  def self.build(context)
325
437
  unless context.config.regional_endpoint
@@ -390,6 +502,20 @@ module Aws::ElasticLoadBalancingV2
390
502
  end
391
503
  end
392
504
 
505
+ class ModifyTrustStore
506
+ def self.build(context)
507
+ unless context.config.regional_endpoint
508
+ endpoint = context.config.endpoint.to_s
509
+ end
510
+ Aws::ElasticLoadBalancingV2::EndpointParameters.new(
511
+ region: context.config.region,
512
+ use_dual_stack: context.config.use_dualstack_endpoint,
513
+ use_fips: context.config.use_fips_endpoint,
514
+ endpoint: endpoint,
515
+ )
516
+ end
517
+ end
518
+
393
519
  class RegisterTargets
394
520
  def self.build(context)
395
521
  unless context.config.regional_endpoint
@@ -432,6 +558,20 @@ module Aws::ElasticLoadBalancingV2
432
558
  end
433
559
  end
434
560
 
561
+ class RemoveTrustStoreRevocations
562
+ def self.build(context)
563
+ unless context.config.regional_endpoint
564
+ endpoint = context.config.endpoint.to_s
565
+ end
566
+ Aws::ElasticLoadBalancingV2::EndpointParameters.new(
567
+ region: context.config.region,
568
+ use_dual_stack: context.config.use_dualstack_endpoint,
569
+ use_fips: context.config.use_fips_endpoint,
570
+ endpoint: endpoint,
571
+ )
572
+ end
573
+ end
574
+
435
575
  class SetIpAddressType
436
576
  def self.build(context)
437
577
  unless context.config.regional_endpoint
@@ -30,15 +30,19 @@ module Aws::ElasticLoadBalancingV2
30
30
  # * {ALPNPolicyNotSupportedException}
31
31
  # * {AllocationIdNotFoundException}
32
32
  # * {AvailabilityZoneNotSupportedException}
33
+ # * {CaCertificatesBundleNotFoundException}
33
34
  # * {CertificateNotFoundException}
34
35
  # * {DuplicateListenerException}
35
36
  # * {DuplicateLoadBalancerNameException}
36
37
  # * {DuplicateTagKeysException}
37
38
  # * {DuplicateTargetGroupNameException}
39
+ # * {DuplicateTrustStoreNameException}
38
40
  # * {HealthUnavailableException}
39
41
  # * {IncompatibleProtocolsException}
42
+ # * {InvalidCaCertificatesBundleException}
40
43
  # * {InvalidConfigurationRequestException}
41
44
  # * {InvalidLoadBalancerActionException}
45
+ # * {InvalidRevocationContentException}
42
46
  # * {InvalidSchemeException}
43
47
  # * {InvalidSecurityGroupException}
44
48
  # * {InvalidSubnetException}
@@ -48,6 +52,8 @@ module Aws::ElasticLoadBalancingV2
48
52
  # * {OperationNotPermittedException}
49
53
  # * {PriorityInUseException}
50
54
  # * {ResourceInUseException}
55
+ # * {RevocationContentNotFoundException}
56
+ # * {RevocationIdNotFoundException}
51
57
  # * {RuleNotFoundException}
52
58
  # * {SSLPolicyNotFoundException}
53
59
  # * {SubnetNotFoundException}
@@ -62,7 +68,12 @@ module Aws::ElasticLoadBalancingV2
62
68
  # * {TooManyTagsException}
63
69
  # * {TooManyTargetGroupsException}
64
70
  # * {TooManyTargetsException}
71
+ # * {TooManyTrustStoreRevocationEntriesException}
72
+ # * {TooManyTrustStoresException}
65
73
  # * {TooManyUniqueTargetGroupsPerLoadBalancerException}
74
+ # * {TrustStoreInUseException}
75
+ # * {TrustStoreNotFoundException}
76
+ # * {TrustStoreNotReadyException}
66
77
  # * {UnsupportedProtocolException}
67
78
  #
68
79
  # Additionally, error classes are dynamically generated for service errors based on the error code
@@ -101,6 +112,16 @@ module Aws::ElasticLoadBalancingV2
101
112
  end
102
113
  end
103
114
 
115
+ class CaCertificatesBundleNotFoundException < ServiceError
116
+
117
+ # @param [Seahorse::Client::RequestContext] context
118
+ # @param [String] message
119
+ # @param [Aws::ElasticLoadBalancingV2::Types::CaCertificatesBundleNotFoundException] data
120
+ def initialize(context, message, data = Aws::EmptyStructure.new)
121
+ super(context, message, data)
122
+ end
123
+ end
124
+
104
125
  class CertificateNotFoundException < ServiceError
105
126
 
106
127
  # @param [Seahorse::Client::RequestContext] context
@@ -151,6 +172,16 @@ module Aws::ElasticLoadBalancingV2
151
172
  end
152
173
  end
153
174
 
175
+ class DuplicateTrustStoreNameException < ServiceError
176
+
177
+ # @param [Seahorse::Client::RequestContext] context
178
+ # @param [String] message
179
+ # @param [Aws::ElasticLoadBalancingV2::Types::DuplicateTrustStoreNameException] data
180
+ def initialize(context, message, data = Aws::EmptyStructure.new)
181
+ super(context, message, data)
182
+ end
183
+ end
184
+
154
185
  class HealthUnavailableException < ServiceError
155
186
 
156
187
  # @param [Seahorse::Client::RequestContext] context
@@ -171,6 +202,16 @@ module Aws::ElasticLoadBalancingV2
171
202
  end
172
203
  end
173
204
 
205
+ class InvalidCaCertificatesBundleException < ServiceError
206
+
207
+ # @param [Seahorse::Client::RequestContext] context
208
+ # @param [String] message
209
+ # @param [Aws::ElasticLoadBalancingV2::Types::InvalidCaCertificatesBundleException] data
210
+ def initialize(context, message, data = Aws::EmptyStructure.new)
211
+ super(context, message, data)
212
+ end
213
+ end
214
+
174
215
  class InvalidConfigurationRequestException < ServiceError
175
216
 
176
217
  # @param [Seahorse::Client::RequestContext] context
@@ -191,6 +232,16 @@ module Aws::ElasticLoadBalancingV2
191
232
  end
192
233
  end
193
234
 
235
+ class InvalidRevocationContentException < ServiceError
236
+
237
+ # @param [Seahorse::Client::RequestContext] context
238
+ # @param [String] message
239
+ # @param [Aws::ElasticLoadBalancingV2::Types::InvalidRevocationContentException] data
240
+ def initialize(context, message, data = Aws::EmptyStructure.new)
241
+ super(context, message, data)
242
+ end
243
+ end
244
+
194
245
  class InvalidSchemeException < ServiceError
195
246
 
196
247
  # @param [Seahorse::Client::RequestContext] context
@@ -281,6 +332,26 @@ module Aws::ElasticLoadBalancingV2
281
332
  end
282
333
  end
283
334
 
335
+ class RevocationContentNotFoundException < ServiceError
336
+
337
+ # @param [Seahorse::Client::RequestContext] context
338
+ # @param [String] message
339
+ # @param [Aws::ElasticLoadBalancingV2::Types::RevocationContentNotFoundException] data
340
+ def initialize(context, message, data = Aws::EmptyStructure.new)
341
+ super(context, message, data)
342
+ end
343
+ end
344
+
345
+ class RevocationIdNotFoundException < ServiceError
346
+
347
+ # @param [Seahorse::Client::RequestContext] context
348
+ # @param [String] message
349
+ # @param [Aws::ElasticLoadBalancingV2::Types::RevocationIdNotFoundException] data
350
+ def initialize(context, message, data = Aws::EmptyStructure.new)
351
+ super(context, message, data)
352
+ end
353
+ end
354
+
284
355
  class RuleNotFoundException < ServiceError
285
356
 
286
357
  # @param [Seahorse::Client::RequestContext] context
@@ -421,6 +492,26 @@ module Aws::ElasticLoadBalancingV2
421
492
  end
422
493
  end
423
494
 
495
+ class TooManyTrustStoreRevocationEntriesException < ServiceError
496
+
497
+ # @param [Seahorse::Client::RequestContext] context
498
+ # @param [String] message
499
+ # @param [Aws::ElasticLoadBalancingV2::Types::TooManyTrustStoreRevocationEntriesException] data
500
+ def initialize(context, message, data = Aws::EmptyStructure.new)
501
+ super(context, message, data)
502
+ end
503
+ end
504
+
505
+ class TooManyTrustStoresException < ServiceError
506
+
507
+ # @param [Seahorse::Client::RequestContext] context
508
+ # @param [String] message
509
+ # @param [Aws::ElasticLoadBalancingV2::Types::TooManyTrustStoresException] data
510
+ def initialize(context, message, data = Aws::EmptyStructure.new)
511
+ super(context, message, data)
512
+ end
513
+ end
514
+
424
515
  class TooManyUniqueTargetGroupsPerLoadBalancerException < ServiceError
425
516
 
426
517
  # @param [Seahorse::Client::RequestContext] context
@@ -431,6 +522,36 @@ module Aws::ElasticLoadBalancingV2
431
522
  end
432
523
  end
433
524
 
525
+ class TrustStoreInUseException < ServiceError
526
+
527
+ # @param [Seahorse::Client::RequestContext] context
528
+ # @param [String] message
529
+ # @param [Aws::ElasticLoadBalancingV2::Types::TrustStoreInUseException] data
530
+ def initialize(context, message, data = Aws::EmptyStructure.new)
531
+ super(context, message, data)
532
+ end
533
+ end
534
+
535
+ class TrustStoreNotFoundException < ServiceError
536
+
537
+ # @param [Seahorse::Client::RequestContext] context
538
+ # @param [String] message
539
+ # @param [Aws::ElasticLoadBalancingV2::Types::TrustStoreNotFoundException] data
540
+ def initialize(context, message, data = Aws::EmptyStructure.new)
541
+ super(context, message, data)
542
+ end
543
+ end
544
+
545
+ class TrustStoreNotReadyException < ServiceError
546
+
547
+ # @param [Seahorse::Client::RequestContext] context
548
+ # @param [String] message
549
+ # @param [Aws::ElasticLoadBalancingV2::Types::TrustStoreNotReadyException] data
550
+ def initialize(context, message, data = Aws::EmptyStructure.new)
551
+ super(context, message, data)
552
+ end
553
+ end
554
+
434
555
  class UnsupportedProtocolException < ServiceError
435
556
 
436
557
  # @param [Seahorse::Client::RequestContext] context
@@ -60,6 +60,8 @@ module Aws::ElasticLoadBalancingV2
60
60
  Aws::ElasticLoadBalancingV2::Endpoints::AddListenerCertificates.build(context)
61
61
  when :add_tags
62
62
  Aws::ElasticLoadBalancingV2::Endpoints::AddTags.build(context)
63
+ when :add_trust_store_revocations
64
+ Aws::ElasticLoadBalancingV2::Endpoints::AddTrustStoreRevocations.build(context)
63
65
  when :create_listener
64
66
  Aws::ElasticLoadBalancingV2::Endpoints::CreateListener.build(context)
65
67
  when :create_load_balancer
@@ -68,6 +70,8 @@ module Aws::ElasticLoadBalancingV2
68
70
  Aws::ElasticLoadBalancingV2::Endpoints::CreateRule.build(context)
69
71
  when :create_target_group
70
72
  Aws::ElasticLoadBalancingV2::Endpoints::CreateTargetGroup.build(context)
73
+ when :create_trust_store
74
+ Aws::ElasticLoadBalancingV2::Endpoints::CreateTrustStore.build(context)
71
75
  when :delete_listener
72
76
  Aws::ElasticLoadBalancingV2::Endpoints::DeleteListener.build(context)
73
77
  when :delete_load_balancer
@@ -76,6 +80,8 @@ module Aws::ElasticLoadBalancingV2
76
80
  Aws::ElasticLoadBalancingV2::Endpoints::DeleteRule.build(context)
77
81
  when :delete_target_group
78
82
  Aws::ElasticLoadBalancingV2::Endpoints::DeleteTargetGroup.build(context)
83
+ when :delete_trust_store
84
+ Aws::ElasticLoadBalancingV2::Endpoints::DeleteTrustStore.build(context)
79
85
  when :deregister_targets
80
86
  Aws::ElasticLoadBalancingV2::Endpoints::DeregisterTargets.build(context)
81
87
  when :describe_account_limits
@@ -100,6 +106,16 @@ module Aws::ElasticLoadBalancingV2
100
106
  Aws::ElasticLoadBalancingV2::Endpoints::DescribeTargetGroups.build(context)
101
107
  when :describe_target_health
102
108
  Aws::ElasticLoadBalancingV2::Endpoints::DescribeTargetHealth.build(context)
109
+ when :describe_trust_store_associations
110
+ Aws::ElasticLoadBalancingV2::Endpoints::DescribeTrustStoreAssociations.build(context)
111
+ when :describe_trust_store_revocations
112
+ Aws::ElasticLoadBalancingV2::Endpoints::DescribeTrustStoreRevocations.build(context)
113
+ when :describe_trust_stores
114
+ Aws::ElasticLoadBalancingV2::Endpoints::DescribeTrustStores.build(context)
115
+ when :get_trust_store_ca_certificates_bundle
116
+ Aws::ElasticLoadBalancingV2::Endpoints::GetTrustStoreCaCertificatesBundle.build(context)
117
+ when :get_trust_store_revocation_content
118
+ Aws::ElasticLoadBalancingV2::Endpoints::GetTrustStoreRevocationContent.build(context)
103
119
  when :modify_listener
104
120
  Aws::ElasticLoadBalancingV2::Endpoints::ModifyListener.build(context)
105
121
  when :modify_load_balancer_attributes
@@ -110,12 +126,16 @@ module Aws::ElasticLoadBalancingV2
110
126
  Aws::ElasticLoadBalancingV2::Endpoints::ModifyTargetGroup.build(context)
111
127
  when :modify_target_group_attributes
112
128
  Aws::ElasticLoadBalancingV2::Endpoints::ModifyTargetGroupAttributes.build(context)
129
+ when :modify_trust_store
130
+ Aws::ElasticLoadBalancingV2::Endpoints::ModifyTrustStore.build(context)
113
131
  when :register_targets
114
132
  Aws::ElasticLoadBalancingV2::Endpoints::RegisterTargets.build(context)
115
133
  when :remove_listener_certificates
116
134
  Aws::ElasticLoadBalancingV2::Endpoints::RemoveListenerCertificates.build(context)
117
135
  when :remove_tags
118
136
  Aws::ElasticLoadBalancingV2::Endpoints::RemoveTags.build(context)
137
+ when :remove_trust_store_revocations
138
+ Aws::ElasticLoadBalancingV2::Endpoints::RemoveTrustStoreRevocations.build(context)
119
139
  when :set_ip_address_type
120
140
  Aws::ElasticLoadBalancingV2::Endpoints::SetIpAddressType.build(context)
121
141
  when :set_rule_priorities