aws-sdk-eks 1.94.0 → 1.96.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.
@@ -12,6 +12,20 @@ module Aws::EKS
12
12
  # @api private
13
13
  module Endpoints
14
14
 
15
+ class AssociateAccessPolicy
16
+ def self.build(context)
17
+ unless context.config.regional_endpoint
18
+ endpoint = context.config.endpoint.to_s
19
+ end
20
+ Aws::EKS::EndpointParameters.new(
21
+ region: context.config.region,
22
+ use_dual_stack: context.config.use_dualstack_endpoint,
23
+ use_fips: context.config.use_fips_endpoint,
24
+ endpoint: endpoint,
25
+ )
26
+ end
27
+ end
28
+
15
29
  class AssociateEncryptionConfig
16
30
  def self.build(context)
17
31
  unless context.config.regional_endpoint
@@ -40,6 +54,20 @@ module Aws::EKS
40
54
  end
41
55
  end
42
56
 
57
+ class CreateAccessEntry
58
+ def self.build(context)
59
+ unless context.config.regional_endpoint
60
+ endpoint = context.config.endpoint.to_s
61
+ end
62
+ Aws::EKS::EndpointParameters.new(
63
+ region: context.config.region,
64
+ use_dual_stack: context.config.use_dualstack_endpoint,
65
+ use_fips: context.config.use_fips_endpoint,
66
+ endpoint: endpoint,
67
+ )
68
+ end
69
+ end
70
+
43
71
  class CreateAddon
44
72
  def self.build(context)
45
73
  unless context.config.regional_endpoint
@@ -124,6 +152,20 @@ module Aws::EKS
124
152
  end
125
153
  end
126
154
 
155
+ class DeleteAccessEntry
156
+ def self.build(context)
157
+ unless context.config.regional_endpoint
158
+ endpoint = context.config.endpoint.to_s
159
+ end
160
+ Aws::EKS::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: endpoint,
165
+ )
166
+ end
167
+ end
168
+
127
169
  class DeleteAddon
128
170
  def self.build(context)
129
171
  unless context.config.regional_endpoint
@@ -222,6 +264,20 @@ module Aws::EKS
222
264
  end
223
265
  end
224
266
 
267
+ class DescribeAccessEntry
268
+ def self.build(context)
269
+ unless context.config.regional_endpoint
270
+ endpoint = context.config.endpoint.to_s
271
+ end
272
+ Aws::EKS::EndpointParameters.new(
273
+ region: context.config.region,
274
+ use_dual_stack: context.config.use_dualstack_endpoint,
275
+ use_fips: context.config.use_fips_endpoint,
276
+ endpoint: endpoint,
277
+ )
278
+ end
279
+ end
280
+
225
281
  class DescribeAddon
226
282
  def self.build(context)
227
283
  unless context.config.regional_endpoint
@@ -362,6 +418,20 @@ module Aws::EKS
362
418
  end
363
419
  end
364
420
 
421
+ class DisassociateAccessPolicy
422
+ def self.build(context)
423
+ unless context.config.regional_endpoint
424
+ endpoint = context.config.endpoint.to_s
425
+ end
426
+ Aws::EKS::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
+
365
435
  class DisassociateIdentityProviderConfig
366
436
  def self.build(context)
367
437
  unless context.config.regional_endpoint
@@ -376,6 +446,34 @@ module Aws::EKS
376
446
  end
377
447
  end
378
448
 
449
+ class ListAccessEntries
450
+ def self.build(context)
451
+ unless context.config.regional_endpoint
452
+ endpoint = context.config.endpoint.to_s
453
+ end
454
+ Aws::EKS::EndpointParameters.new(
455
+ region: context.config.region,
456
+ use_dual_stack: context.config.use_dualstack_endpoint,
457
+ use_fips: context.config.use_fips_endpoint,
458
+ endpoint: endpoint,
459
+ )
460
+ end
461
+ end
462
+
463
+ class ListAccessPolicies
464
+ def self.build(context)
465
+ unless context.config.regional_endpoint
466
+ endpoint = context.config.endpoint.to_s
467
+ end
468
+ Aws::EKS::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: endpoint,
473
+ )
474
+ end
475
+ end
476
+
379
477
  class ListAddons
380
478
  def self.build(context)
381
479
  unless context.config.regional_endpoint
@@ -390,6 +488,20 @@ module Aws::EKS
390
488
  end
391
489
  end
392
490
 
491
+ class ListAssociatedAccessPolicies
492
+ def self.build(context)
493
+ unless context.config.regional_endpoint
494
+ endpoint = context.config.endpoint.to_s
495
+ end
496
+ Aws::EKS::EndpointParameters.new(
497
+ region: context.config.region,
498
+ use_dual_stack: context.config.use_dualstack_endpoint,
499
+ use_fips: context.config.use_fips_endpoint,
500
+ endpoint: endpoint,
501
+ )
502
+ end
503
+ end
504
+
393
505
  class ListClusters
394
506
  def self.build(context)
395
507
  unless context.config.regional_endpoint
@@ -544,6 +656,20 @@ module Aws::EKS
544
656
  end
545
657
  end
546
658
 
659
+ class UpdateAccessEntry
660
+ def self.build(context)
661
+ unless context.config.regional_endpoint
662
+ endpoint = context.config.endpoint.to_s
663
+ end
664
+ Aws::EKS::EndpointParameters.new(
665
+ region: context.config.region,
666
+ use_dual_stack: context.config.use_dualstack_endpoint,
667
+ use_fips: context.config.use_fips_endpoint,
668
+ endpoint: endpoint,
669
+ )
670
+ end
671
+ end
672
+
547
673
  class UpdateAddon
548
674
  def self.build(context)
549
675
  unless context.config.regional_endpoint
@@ -25,16 +25,17 @@ module Aws::EKS
25
25
  # @api private
26
26
  class Handler < Seahorse::Client::Handler
27
27
  def call(context)
28
- # If endpoint was discovered, do not resolve or apply the endpoint.
29
28
  unless context[:discovered_endpoint]
30
29
  params = parameters_for_operation(context)
31
30
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
31
 
33
32
  context.http_request.endpoint = endpoint.url
34
33
  apply_endpoint_headers(context, endpoint.headers)
34
+
35
+ context[:endpoint_params] = params
36
+ context[:endpoint_properties] = endpoint.properties
35
37
  end
36
38
 
37
- context[:endpoint_params] = params
38
39
  context[:auth_scheme] =
39
40
  Aws::Endpoints.resolve_auth_scheme(context, endpoint)
40
41
 
@@ -56,10 +57,14 @@ module Aws::EKS
56
57
 
57
58
  def parameters_for_operation(context)
58
59
  case context.operation_name
60
+ when :associate_access_policy
61
+ Aws::EKS::Endpoints::AssociateAccessPolicy.build(context)
59
62
  when :associate_encryption_config
60
63
  Aws::EKS::Endpoints::AssociateEncryptionConfig.build(context)
61
64
  when :associate_identity_provider_config
62
65
  Aws::EKS::Endpoints::AssociateIdentityProviderConfig.build(context)
66
+ when :create_access_entry
67
+ Aws::EKS::Endpoints::CreateAccessEntry.build(context)
63
68
  when :create_addon
64
69
  Aws::EKS::Endpoints::CreateAddon.build(context)
65
70
  when :create_cluster
@@ -72,6 +77,8 @@ module Aws::EKS
72
77
  Aws::EKS::Endpoints::CreateNodegroup.build(context)
73
78
  when :create_pod_identity_association
74
79
  Aws::EKS::Endpoints::CreatePodIdentityAssociation.build(context)
80
+ when :delete_access_entry
81
+ Aws::EKS::Endpoints::DeleteAccessEntry.build(context)
75
82
  when :delete_addon
76
83
  Aws::EKS::Endpoints::DeleteAddon.build(context)
77
84
  when :delete_cluster
@@ -86,6 +93,8 @@ module Aws::EKS
86
93
  Aws::EKS::Endpoints::DeletePodIdentityAssociation.build(context)
87
94
  when :deregister_cluster
88
95
  Aws::EKS::Endpoints::DeregisterCluster.build(context)
96
+ when :describe_access_entry
97
+ Aws::EKS::Endpoints::DescribeAccessEntry.build(context)
89
98
  when :describe_addon
90
99
  Aws::EKS::Endpoints::DescribeAddon.build(context)
91
100
  when :describe_addon_configuration
@@ -106,10 +115,18 @@ module Aws::EKS
106
115
  Aws::EKS::Endpoints::DescribePodIdentityAssociation.build(context)
107
116
  when :describe_update
108
117
  Aws::EKS::Endpoints::DescribeUpdate.build(context)
118
+ when :disassociate_access_policy
119
+ Aws::EKS::Endpoints::DisassociateAccessPolicy.build(context)
109
120
  when :disassociate_identity_provider_config
110
121
  Aws::EKS::Endpoints::DisassociateIdentityProviderConfig.build(context)
122
+ when :list_access_entries
123
+ Aws::EKS::Endpoints::ListAccessEntries.build(context)
124
+ when :list_access_policies
125
+ Aws::EKS::Endpoints::ListAccessPolicies.build(context)
111
126
  when :list_addons
112
127
  Aws::EKS::Endpoints::ListAddons.build(context)
128
+ when :list_associated_access_policies
129
+ Aws::EKS::Endpoints::ListAssociatedAccessPolicies.build(context)
113
130
  when :list_clusters
114
131
  Aws::EKS::Endpoints::ListClusters.build(context)
115
132
  when :list_eks_anywhere_subscriptions
@@ -132,6 +149,8 @@ module Aws::EKS
132
149
  Aws::EKS::Endpoints::TagResource.build(context)
133
150
  when :untag_resource
134
151
  Aws::EKS::Endpoints::UntagResource.build(context)
152
+ when :update_access_entry
153
+ Aws::EKS::Endpoints::UpdateAccessEntry.build(context)
135
154
  when :update_addon
136
155
  Aws::EKS::Endpoints::UpdateAddon.build(context)
137
156
  when :update_cluster_config