aws-sdk-eks 1.151.0 → 1.152.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.
data/lib/aws-sdk-eks.rb CHANGED
@@ -55,7 +55,7 @@ module Aws::EKS
55
55
  autoload :EndpointProvider, 'aws-sdk-eks/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-eks/endpoints'
57
57
 
58
- GEM_VERSION = '1.151.0'
58
+ GEM_VERSION = '1.152.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -180,6 +180,45 @@ module Aws
180
180
  ) -> _CreateAddonResponseSuccess
181
181
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAddonResponseSuccess
182
182
 
183
+ interface _CreateCapabilityResponseSuccess
184
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCapabilityResponse]
185
+ def capability: () -> Types::Capability
186
+ end
187
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKS/Client.html#create_capability-instance_method
188
+ def create_capability: (
189
+ capability_name: ::String,
190
+ cluster_name: ::String,
191
+ ?client_request_token: ::String,
192
+ type: ("ACK" | "KRO" | "ARGOCD"),
193
+ role_arn: ::String,
194
+ ?configuration: {
195
+ argo_cd: {
196
+ namespace: ::String?,
197
+ aws_idc: {
198
+ idc_instance_arn: ::String,
199
+ idc_region: ::String?
200
+ },
201
+ rbac_role_mappings: Array[
202
+ {
203
+ role: ("ADMIN" | "EDITOR" | "VIEWER"),
204
+ identities: Array[
205
+ {
206
+ id: ::String,
207
+ type: ("SSO_USER" | "SSO_GROUP")
208
+ },
209
+ ]
210
+ },
211
+ ]?,
212
+ network_access: {
213
+ vpce_ids: Array[::String]?
214
+ }?
215
+ }?
216
+ },
217
+ ?tags: Hash[::String, ::String],
218
+ delete_propagation_policy: ("RETAIN")
219
+ ) -> _CreateCapabilityResponseSuccess
220
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCapabilityResponseSuccess
221
+
183
222
  interface _CreateClusterResponseSuccess
184
223
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateClusterResponse]
185
224
  def cluster: () -> Types::Cluster
@@ -410,6 +449,17 @@ module Aws
410
449
  ) -> _DeleteAddonResponseSuccess
411
450
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAddonResponseSuccess
412
451
 
452
+ interface _DeleteCapabilityResponseSuccess
453
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCapabilityResponse]
454
+ def capability: () -> Types::Capability
455
+ end
456
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKS/Client.html#delete_capability-instance_method
457
+ def delete_capability: (
458
+ cluster_name: ::String,
459
+ capability_name: ::String
460
+ ) -> _DeleteCapabilityResponseSuccess
461
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCapabilityResponseSuccess
462
+
413
463
  interface _DeleteClusterResponseSuccess
414
464
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClusterResponse]
415
465
  def cluster: () -> Types::Cluster
@@ -526,6 +576,17 @@ module Aws
526
576
  ) -> _DescribeAddonVersionsResponseSuccess
527
577
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAddonVersionsResponseSuccess
528
578
 
579
+ interface _DescribeCapabilityResponseSuccess
580
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCapabilityResponse]
581
+ def capability: () -> Types::Capability
582
+ end
583
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKS/Client.html#describe_capability-instance_method
584
+ def describe_capability: (
585
+ cluster_name: ::String,
586
+ capability_name: ::String
587
+ ) -> _DescribeCapabilityResponseSuccess
588
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapabilityResponseSuccess
589
+
529
590
  interface _DescribeClusterResponseSuccess
530
591
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClusterResponse]
531
592
  def cluster: () -> Types::Cluster
@@ -644,7 +705,8 @@ module Aws
644
705
  name: ::String,
645
706
  update_id: ::String,
646
707
  ?nodegroup_name: ::String,
647
- ?addon_name: ::String
708
+ ?addon_name: ::String,
709
+ ?capability_name: ::String
648
710
  ) -> _DescribeUpdateResponseSuccess
649
711
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeUpdateResponseSuccess
650
712
 
@@ -729,6 +791,19 @@ module Aws
729
791
  ) -> _ListAssociatedAccessPoliciesResponseSuccess
730
792
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAssociatedAccessPoliciesResponseSuccess
731
793
 
794
+ interface _ListCapabilitiesResponseSuccess
795
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCapabilitiesResponse]
796
+ def capabilities: () -> ::Array[Types::CapabilitySummary]
797
+ def next_token: () -> ::String
798
+ end
799
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKS/Client.html#list_capabilities-instance_method
800
+ def list_capabilities: (
801
+ cluster_name: ::String,
802
+ ?next_token: ::String,
803
+ ?max_results: ::Integer
804
+ ) -> _ListCapabilitiesResponseSuccess
805
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCapabilitiesResponseSuccess
806
+
732
807
  interface _ListClustersResponseSuccess
733
808
  include ::Seahorse::Client::_ResponseSuccess[Types::ListClustersResponse]
734
809
  def clusters: () -> ::Array[::String]
@@ -847,6 +922,7 @@ module Aws
847
922
  name: ::String,
848
923
  ?nodegroup_name: ::String,
849
924
  ?addon_name: ::String,
925
+ ?capability_name: ::String,
850
926
  ?next_token: ::String,
851
927
  ?max_results: ::Integer
852
928
  ) -> _ListUpdatesResponseSuccess
@@ -935,6 +1011,51 @@ module Aws
935
1011
  ) -> _UpdateAddonResponseSuccess
936
1012
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAddonResponseSuccess
937
1013
 
1014
+ interface _UpdateCapabilityResponseSuccess
1015
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCapabilityResponse]
1016
+ def update: () -> Types::Update
1017
+ end
1018
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKS/Client.html#update_capability-instance_method
1019
+ def update_capability: (
1020
+ cluster_name: ::String,
1021
+ capability_name: ::String,
1022
+ ?role_arn: ::String,
1023
+ ?configuration: {
1024
+ argo_cd: {
1025
+ rbac_role_mappings: {
1026
+ add_or_update_role_mappings: Array[
1027
+ {
1028
+ role: ("ADMIN" | "EDITOR" | "VIEWER"),
1029
+ identities: Array[
1030
+ {
1031
+ id: ::String,
1032
+ type: ("SSO_USER" | "SSO_GROUP")
1033
+ },
1034
+ ]
1035
+ },
1036
+ ]?,
1037
+ remove_role_mappings: Array[
1038
+ {
1039
+ role: ("ADMIN" | "EDITOR" | "VIEWER"),
1040
+ identities: Array[
1041
+ {
1042
+ id: ::String,
1043
+ type: ("SSO_USER" | "SSO_GROUP")
1044
+ },
1045
+ ]
1046
+ },
1047
+ ]?
1048
+ }?,
1049
+ network_access: {
1050
+ vpce_ids: Array[::String]?
1051
+ }?
1052
+ }?
1053
+ },
1054
+ ?client_request_token: ::String,
1055
+ ?delete_propagation_policy: ("RETAIN")
1056
+ ) -> _UpdateCapabilityResponseSuccess
1057
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCapabilityResponseSuccess
1058
+
938
1059
  interface _UpdateClusterConfigResponseSuccess
939
1060
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateClusterConfigResponse]
940
1061
  def update: () -> Types::Update
data/sig/types.rbs CHANGED
@@ -125,6 +125,52 @@ module Aws::EKS
125
125
  SENSITIVE: []
126
126
  end
127
127
 
128
+ class ArgoCdAwsIdcConfigRequest
129
+ attr_accessor idc_instance_arn: ::String
130
+ attr_accessor idc_region: ::String
131
+ SENSITIVE: []
132
+ end
133
+
134
+ class ArgoCdAwsIdcConfigResponse
135
+ attr_accessor idc_instance_arn: ::String
136
+ attr_accessor idc_region: ::String
137
+ attr_accessor idc_managed_application_arn: ::String
138
+ SENSITIVE: []
139
+ end
140
+
141
+ class ArgoCdConfigRequest
142
+ attr_accessor namespace: ::String
143
+ attr_accessor aws_idc: Types::ArgoCdAwsIdcConfigRequest
144
+ attr_accessor rbac_role_mappings: ::Array[Types::ArgoCdRoleMapping]
145
+ attr_accessor network_access: Types::ArgoCdNetworkAccessConfigRequest
146
+ SENSITIVE: []
147
+ end
148
+
149
+ class ArgoCdConfigResponse
150
+ attr_accessor namespace: ::String
151
+ attr_accessor aws_idc: Types::ArgoCdAwsIdcConfigResponse
152
+ attr_accessor rbac_role_mappings: ::Array[Types::ArgoCdRoleMapping]
153
+ attr_accessor network_access: Types::ArgoCdNetworkAccessConfigResponse
154
+ attr_accessor server_url: ::String
155
+ SENSITIVE: []
156
+ end
157
+
158
+ class ArgoCdNetworkAccessConfigRequest
159
+ attr_accessor vpce_ids: ::Array[::String]
160
+ SENSITIVE: []
161
+ end
162
+
163
+ class ArgoCdNetworkAccessConfigResponse
164
+ attr_accessor vpce_ids: ::Array[::String]
165
+ SENSITIVE: []
166
+ end
167
+
168
+ class ArgoCdRoleMapping
169
+ attr_accessor role: ("ADMIN" | "EDITOR" | "VIEWER")
170
+ attr_accessor identities: ::Array[Types::SsoIdentity]
171
+ SENSITIVE: []
172
+ end
173
+
128
174
  class AssociateAccessPolicyRequest
129
175
  attr_accessor cluster_name: ::String
130
176
  attr_accessor principal_arn: ::String
@@ -189,6 +235,55 @@ module Aws::EKS
189
235
  SENSITIVE: []
190
236
  end
191
237
 
238
+ class Capability
239
+ attr_accessor capability_name: ::String
240
+ attr_accessor arn: ::String
241
+ attr_accessor cluster_name: ::String
242
+ attr_accessor type: ("ACK" | "KRO" | "ARGOCD")
243
+ attr_accessor role_arn: ::String
244
+ attr_accessor status: ("CREATING" | "CREATE_FAILED" | "UPDATING" | "DELETING" | "DELETE_FAILED" | "ACTIVE" | "DEGRADED")
245
+ attr_accessor version: ::String
246
+ attr_accessor configuration: Types::CapabilityConfigurationResponse
247
+ attr_accessor tags: ::Hash[::String, ::String]
248
+ attr_accessor health: Types::CapabilityHealth
249
+ attr_accessor created_at: ::Time
250
+ attr_accessor modified_at: ::Time
251
+ attr_accessor delete_propagation_policy: ("RETAIN")
252
+ SENSITIVE: []
253
+ end
254
+
255
+ class CapabilityConfigurationRequest
256
+ attr_accessor argo_cd: Types::ArgoCdConfigRequest
257
+ SENSITIVE: []
258
+ end
259
+
260
+ class CapabilityConfigurationResponse
261
+ attr_accessor argo_cd: Types::ArgoCdConfigResponse
262
+ SENSITIVE: []
263
+ end
264
+
265
+ class CapabilityHealth
266
+ attr_accessor issues: ::Array[Types::CapabilityIssue]
267
+ SENSITIVE: []
268
+ end
269
+
270
+ class CapabilityIssue
271
+ attr_accessor code: ("AccessDenied" | "ClusterUnreachable")
272
+ attr_accessor message: ::String
273
+ SENSITIVE: []
274
+ end
275
+
276
+ class CapabilitySummary
277
+ attr_accessor capability_name: ::String
278
+ attr_accessor arn: ::String
279
+ attr_accessor type: ("ACK" | "KRO" | "ARGOCD")
280
+ attr_accessor status: ("CREATING" | "CREATE_FAILED" | "UPDATING" | "DELETING" | "DELETE_FAILED" | "ACTIVE" | "DEGRADED")
281
+ attr_accessor version: ::String
282
+ attr_accessor created_at: ::Time
283
+ attr_accessor modified_at: ::Time
284
+ SENSITIVE: []
285
+ end
286
+
192
287
  class Certificate
193
288
  attr_accessor data: ::String
194
289
  SENSITIVE: []
@@ -360,6 +455,23 @@ module Aws::EKS
360
455
  SENSITIVE: []
361
456
  end
362
457
 
458
+ class CreateCapabilityRequest
459
+ attr_accessor capability_name: ::String
460
+ attr_accessor cluster_name: ::String
461
+ attr_accessor client_request_token: ::String
462
+ attr_accessor type: ("ACK" | "KRO" | "ARGOCD")
463
+ attr_accessor role_arn: ::String
464
+ attr_accessor configuration: Types::CapabilityConfigurationRequest
465
+ attr_accessor tags: ::Hash[::String, ::String]
466
+ attr_accessor delete_propagation_policy: ("RETAIN")
467
+ SENSITIVE: []
468
+ end
469
+
470
+ class CreateCapabilityResponse
471
+ attr_accessor capability: Types::Capability
472
+ SENSITIVE: []
473
+ end
474
+
363
475
  class CreateClusterRequest
364
476
  attr_accessor name: ::String
365
477
  attr_accessor version: ::String
@@ -486,6 +598,17 @@ module Aws::EKS
486
598
  SENSITIVE: []
487
599
  end
488
600
 
601
+ class DeleteCapabilityRequest
602
+ attr_accessor cluster_name: ::String
603
+ attr_accessor capability_name: ::String
604
+ SENSITIVE: []
605
+ end
606
+
607
+ class DeleteCapabilityResponse
608
+ attr_accessor capability: Types::Capability
609
+ SENSITIVE: []
610
+ end
611
+
489
612
  class DeleteClusterRequest
490
613
  attr_accessor name: ::String
491
614
  SENSITIVE: []
@@ -611,6 +734,17 @@ module Aws::EKS
611
734
  SENSITIVE: []
612
735
  end
613
736
 
737
+ class DescribeCapabilityRequest
738
+ attr_accessor cluster_name: ::String
739
+ attr_accessor capability_name: ::String
740
+ SENSITIVE: []
741
+ end
742
+
743
+ class DescribeCapabilityResponse
744
+ attr_accessor capability: Types::Capability
745
+ SENSITIVE: []
746
+ end
747
+
614
748
  class DescribeClusterRequest
615
749
  attr_accessor name: ::String
616
750
  SENSITIVE: []
@@ -722,6 +856,7 @@ module Aws::EKS
722
856
  attr_accessor update_id: ::String
723
857
  attr_accessor nodegroup_name: ::String
724
858
  attr_accessor addon_name: ::String
859
+ attr_accessor capability_name: ::String
725
860
  SENSITIVE: []
726
861
  end
727
862
 
@@ -1010,6 +1145,19 @@ module Aws::EKS
1010
1145
  SENSITIVE: []
1011
1146
  end
1012
1147
 
1148
+ class ListCapabilitiesRequest
1149
+ attr_accessor cluster_name: ::String
1150
+ attr_accessor next_token: ::String
1151
+ attr_accessor max_results: ::Integer
1152
+ SENSITIVE: []
1153
+ end
1154
+
1155
+ class ListCapabilitiesResponse
1156
+ attr_accessor capabilities: ::Array[Types::CapabilitySummary]
1157
+ attr_accessor next_token: ::String
1158
+ SENSITIVE: []
1159
+ end
1160
+
1013
1161
  class ListClustersRequest
1014
1162
  attr_accessor max_results: ::Integer
1015
1163
  attr_accessor next_token: ::String
@@ -1118,6 +1266,7 @@ module Aws::EKS
1118
1266
  attr_accessor name: ::String
1119
1267
  attr_accessor nodegroup_name: ::String
1120
1268
  attr_accessor addon_name: ::String
1269
+ attr_accessor capability_name: ::String
1121
1270
  attr_accessor next_token: ::String
1122
1271
  attr_accessor max_results: ::Integer
1123
1272
  SENSITIVE: []
@@ -1387,6 +1536,12 @@ module Aws::EKS
1387
1536
  SENSITIVE: []
1388
1537
  end
1389
1538
 
1539
+ class SsoIdentity
1540
+ attr_accessor id: ::String
1541
+ attr_accessor type: ("SSO_USER" | "SSO_GROUP")
1542
+ SENSITIVE: []
1543
+ end
1544
+
1390
1545
  class StartInsightsRefreshRequest
1391
1546
  attr_accessor cluster_name: ::String
1392
1547
  SENSITIVE: []
@@ -1493,6 +1648,32 @@ module Aws::EKS
1493
1648
  SENSITIVE: []
1494
1649
  end
1495
1650
 
1651
+ class UpdateArgoCdConfig
1652
+ attr_accessor rbac_role_mappings: Types::UpdateRoleMappings
1653
+ attr_accessor network_access: Types::ArgoCdNetworkAccessConfigRequest
1654
+ SENSITIVE: []
1655
+ end
1656
+
1657
+ class UpdateCapabilityConfiguration
1658
+ attr_accessor argo_cd: Types::UpdateArgoCdConfig
1659
+ SENSITIVE: []
1660
+ end
1661
+
1662
+ class UpdateCapabilityRequest
1663
+ attr_accessor cluster_name: ::String
1664
+ attr_accessor capability_name: ::String
1665
+ attr_accessor role_arn: ::String
1666
+ attr_accessor configuration: Types::UpdateCapabilityConfiguration
1667
+ attr_accessor client_request_token: ::String
1668
+ attr_accessor delete_propagation_policy: ("RETAIN")
1669
+ SENSITIVE: []
1670
+ end
1671
+
1672
+ class UpdateCapabilityResponse
1673
+ attr_accessor update: Types::Update
1674
+ SENSITIVE: []
1675
+ end
1676
+
1496
1677
  class UpdateClusterConfigRequest
1497
1678
  attr_accessor name: ::String
1498
1679
  attr_accessor resources_vpc_config: Types::VpcConfigRequest
@@ -1600,6 +1781,12 @@ module Aws::EKS
1600
1781
  SENSITIVE: []
1601
1782
  end
1602
1783
 
1784
+ class UpdateRoleMappings
1785
+ attr_accessor add_or_update_role_mappings: ::Array[Types::ArgoCdRoleMapping]
1786
+ attr_accessor remove_role_mappings: ::Array[Types::ArgoCdRoleMapping]
1787
+ SENSITIVE: []
1788
+ end
1789
+
1603
1790
  class UpdateTaintsPayload
1604
1791
  attr_accessor add_or_update_taints: ::Array[Types::Taint]
1605
1792
  attr_accessor remove_taints: ::Array[Types::Taint]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-eks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.151.0
4
+ version: 1.152.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services