aws-sdk-eks 1.173.0 → 1.174.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/sig/client.rbs CHANGED
@@ -78,6 +78,19 @@ module Aws
78
78
  | (?Hash[Symbol, untyped]) -> instance
79
79
 
80
80
 
81
+ interface _ActivateCertificateAuthorityResponseSuccess
82
+ include ::Seahorse::Client::_ResponseSuccess[Types::ActivateCertificateAuthorityResponse]
83
+ def update: () -> Types::Update
84
+ def certificate_authority: () -> Types::CertificateAuthoritySummary
85
+ end
86
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKS/Client.html#activate_certificate_authority-instance_method
87
+ def activate_certificate_authority: (
88
+ cluster_name: ::String,
89
+ certificate_authority_id: ::String,
90
+ ?client_request_token: ::String
91
+ ) -> _ActivateCertificateAuthorityResponseSuccess
92
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ActivateCertificateAuthorityResponseSuccess
93
+
81
94
  interface _AssociateAccessPolicyResponseSuccess
82
95
  include ::Seahorse::Client::_ResponseSuccess[Types::AssociateAccessPolicyResponse]
83
96
  def cluster_name: () -> ::String
@@ -231,6 +244,18 @@ module Aws
231
244
  ) -> _CreateCapabilityResponseSuccess
232
245
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCapabilityResponseSuccess
233
246
 
247
+ interface _CreateCertificateAuthorityResponseSuccess
248
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateCertificateAuthorityResponse]
249
+ def update: () -> Types::Update
250
+ def certificate_authority: () -> Types::CertificateAuthoritySummary
251
+ end
252
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKS/Client.html#create_certificate_authority-instance_method
253
+ def create_certificate_authority: (
254
+ cluster_name: ::String,
255
+ ?client_request_token: ::String
256
+ ) -> _CreateCertificateAuthorityResponseSuccess
257
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCertificateAuthorityResponseSuccess
258
+
234
259
  interface _CreateClusterResponseSuccess
235
260
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateClusterResponse]
236
261
  def cluster: () -> Types::Cluster
@@ -467,6 +492,19 @@ module Aws
467
492
  ) -> _DeleteCapabilityResponseSuccess
468
493
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCapabilityResponseSuccess
469
494
 
495
+ interface _DeleteCertificateAuthorityResponseSuccess
496
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCertificateAuthorityResponse]
497
+ def update: () -> Types::Update
498
+ def certificate_authority: () -> Types::CertificateAuthoritySummary
499
+ end
500
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKS/Client.html#delete_certificate_authority-instance_method
501
+ def delete_certificate_authority: (
502
+ cluster_name: ::String,
503
+ certificate_authority_id: ::String,
504
+ ?client_request_token: ::String
505
+ ) -> _DeleteCertificateAuthorityResponseSuccess
506
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCertificateAuthorityResponseSuccess
507
+
470
508
  interface _DeleteClusterResponseSuccess
471
509
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClusterResponse]
472
510
  def cluster: () -> Types::Cluster
@@ -594,6 +632,17 @@ module Aws
594
632
  ) -> _DescribeCapabilityResponseSuccess
595
633
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCapabilityResponseSuccess
596
634
 
635
+ interface _DescribeCertificateAuthorityResponseSuccess
636
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCertificateAuthorityResponse]
637
+ def certificate_authority: () -> Types::CertificateAuthority
638
+ end
639
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKS/Client.html#describe_certificate_authority-instance_method
640
+ def describe_certificate_authority: (
641
+ cluster_name: ::String,
642
+ certificate_authority_id: ::String
643
+ ) -> _DescribeCertificateAuthorityResponseSuccess
644
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCertificateAuthorityResponseSuccess
645
+
597
646
  interface _DescribeClusterResponseSuccess
598
647
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClusterResponse]
599
648
  def cluster: () -> Types::Cluster
@@ -811,6 +860,19 @@ module Aws
811
860
  ) -> _ListCapabilitiesResponseSuccess
812
861
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCapabilitiesResponseSuccess
813
862
 
863
+ interface _ListCertificateAuthoritiesResponseSuccess
864
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListCertificateAuthoritiesResponse]
865
+ def certificate_authorities: () -> ::Array[Types::CertificateAuthoritySummary]
866
+ def next_token: () -> ::String
867
+ end
868
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKS/Client.html#list_certificate_authorities-instance_method
869
+ def list_certificate_authorities: (
870
+ cluster_name: ::String,
871
+ ?max_results: ::Integer,
872
+ ?next_token: ::String
873
+ ) -> _ListCertificateAuthoritiesResponseSuccess
874
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCertificateAuthoritiesResponseSuccess
875
+
814
876
  interface _ListClustersResponseSuccess
815
877
  include ::Seahorse::Client::_ResponseSuccess[Types::ListClustersResponse]
816
878
  def clusters: () -> ::Array[::String]
@@ -1252,6 +1314,14 @@ module Aws
1252
1314
  addon_name: ::String
1253
1315
  ) -> Client::_DescribeAddonResponseSuccess
1254
1316
  | (:addon_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeAddonResponseSuccess
1317
+ | (:certificate_authority_update_complete waiter_name,
1318
+ name: ::String,
1319
+ update_id: ::String,
1320
+ ?nodegroup_name: ::String,
1321
+ ?addon_name: ::String,
1322
+ ?capability_name: ::String
1323
+ ) -> Client::_DescribeUpdateResponseSuccess
1324
+ | (:certificate_authority_update_complete waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeUpdateResponseSuccess
1255
1325
  | (:cluster_active waiter_name,
1256
1326
  name: ::String
1257
1327
  ) -> Client::_DescribeClusterResponseSuccess
data/sig/types.rbs CHANGED
@@ -44,6 +44,25 @@ module Aws::EKS
44
44
  SENSITIVE: []
45
45
  end
46
46
 
47
+ class ActivateCertificateAuthorityRequest
48
+ attr_accessor cluster_name: ::String
49
+ attr_accessor certificate_authority_id: ::String
50
+ attr_accessor client_request_token: ::String
51
+ SENSITIVE: []
52
+ end
53
+
54
+ class ActivateCertificateAuthorityResponse
55
+ attr_accessor update: Types::Update
56
+ attr_accessor certificate_authority: Types::CertificateAuthoritySummary
57
+ SENSITIVE: []
58
+ end
59
+
60
+ class ActiveCertificateAuthority
61
+ attr_accessor id: ::String
62
+ attr_accessor activated_by: ("EKS" | "CUSTOMER")
63
+ SENSITIVE: []
64
+ end
65
+
47
66
  class Addon
48
67
  attr_accessor addon_name: ::String
49
68
  attr_accessor cluster_name: ::String
@@ -309,6 +328,45 @@ module Aws::EKS
309
328
 
310
329
  class Certificate
311
330
  attr_accessor data: ::String
331
+ attr_accessor active: Types::ActiveCertificateAuthority
332
+ SENSITIVE: []
333
+ end
334
+
335
+ class CertificateAuthority
336
+ attr_accessor id: ::String
337
+ attr_accessor created_at: ::Time
338
+ attr_accessor created_by: ("EKS" | "CUSTOMER")
339
+ attr_accessor activated_at: ::Time
340
+ attr_accessor activated_by: ("EKS" | "CUSTOMER")
341
+ attr_accessor signing_status: ("NOT_USED" | "ACTIVATING" | "IN_USE")
342
+ attr_accessor distribution_status: ("IN_PROGRESS" | "COMPLETE" | "FAILED" | "DELETING")
343
+ attr_accessor validity: Types::CertificateAuthorityValidity
344
+ attr_accessor scheduled_events: Types::CertificateAuthorityScheduledEvents
345
+ attr_accessor rollback_available: bool
346
+ attr_accessor data: ::String
347
+ SENSITIVE: []
348
+ end
349
+
350
+ class CertificateAuthorityScheduledEvents
351
+ attr_accessor first_auto_activation: ::Time
352
+ attr_accessor final_auto_activation: ::Time
353
+ SENSITIVE: []
354
+ end
355
+
356
+ class CertificateAuthoritySummary
357
+ attr_accessor id: ::String
358
+ attr_accessor created_at: ::Time
359
+ attr_accessor created_by: ("EKS" | "CUSTOMER")
360
+ attr_accessor activated_at: ::Time
361
+ attr_accessor activated_by: ("EKS" | "CUSTOMER")
362
+ attr_accessor signing_status: ("NOT_USED" | "ACTIVATING" | "IN_USE")
363
+ attr_accessor distribution_status: ("IN_PROGRESS" | "COMPLETE" | "FAILED" | "DELETING")
364
+ SENSITIVE: []
365
+ end
366
+
367
+ class CertificateAuthorityValidity
368
+ attr_accessor not_before: ::Time
369
+ attr_accessor not_after: ::Time
312
370
  SENSITIVE: []
313
371
  end
314
372
 
@@ -518,6 +576,18 @@ module Aws::EKS
518
576
  SENSITIVE: []
519
577
  end
520
578
 
579
+ class CreateCertificateAuthorityRequest
580
+ attr_accessor cluster_name: ::String
581
+ attr_accessor client_request_token: ::String
582
+ SENSITIVE: []
583
+ end
584
+
585
+ class CreateCertificateAuthorityResponse
586
+ attr_accessor update: Types::Update
587
+ attr_accessor certificate_authority: Types::CertificateAuthoritySummary
588
+ SENSITIVE: []
589
+ end
590
+
521
591
  class CreateClusterRequest
522
592
  attr_accessor name: ::String
523
593
  attr_accessor version: ::String
@@ -660,6 +730,19 @@ module Aws::EKS
660
730
  SENSITIVE: []
661
731
  end
662
732
 
733
+ class DeleteCertificateAuthorityRequest
734
+ attr_accessor cluster_name: ::String
735
+ attr_accessor certificate_authority_id: ::String
736
+ attr_accessor client_request_token: ::String
737
+ SENSITIVE: []
738
+ end
739
+
740
+ class DeleteCertificateAuthorityResponse
741
+ attr_accessor update: Types::Update
742
+ attr_accessor certificate_authority: Types::CertificateAuthoritySummary
743
+ SENSITIVE: []
744
+ end
745
+
663
746
  class DeleteClusterRequest
664
747
  attr_accessor name: ::String
665
748
  SENSITIVE: []
@@ -796,6 +879,17 @@ module Aws::EKS
796
879
  SENSITIVE: []
797
880
  end
798
881
 
882
+ class DescribeCertificateAuthorityRequest
883
+ attr_accessor cluster_name: ::String
884
+ attr_accessor certificate_authority_id: ::String
885
+ SENSITIVE: []
886
+ end
887
+
888
+ class DescribeCertificateAuthorityResponse
889
+ attr_accessor certificate_authority: Types::CertificateAuthority
890
+ SENSITIVE: []
891
+ end
892
+
799
893
  class DescribeClusterRequest
800
894
  attr_accessor name: ::String
801
895
  SENSITIVE: []
@@ -1300,6 +1394,19 @@ module Aws::EKS
1300
1394
  SENSITIVE: []
1301
1395
  end
1302
1396
 
1397
+ class ListCertificateAuthoritiesRequest
1398
+ attr_accessor cluster_name: ::String
1399
+ attr_accessor max_results: ::Integer
1400
+ attr_accessor next_token: ::String
1401
+ SENSITIVE: []
1402
+ end
1403
+
1404
+ class ListCertificateAuthoritiesResponse
1405
+ attr_accessor certificate_authorities: ::Array[Types::CertificateAuthoritySummary]
1406
+ attr_accessor next_token: ::String
1407
+ SENSITIVE: []
1408
+ end
1409
+
1303
1410
  class ListClustersRequest
1304
1411
  attr_accessor max_results: ::Integer
1305
1412
  attr_accessor next_token: ::String
@@ -1816,7 +1923,7 @@ module Aws::EKS
1816
1923
  class Update
1817
1924
  attr_accessor id: ::String
1818
1925
  attr_accessor status: ("InProgress" | "Failed" | "Cancelled" | "Successful")
1819
- attr_accessor type: ("VersionUpdate" | "EndpointAccessUpdate" | "LoggingUpdate" | "ConfigUpdate" | "AssociateIdentityProviderConfig" | "DisassociateIdentityProviderConfig" | "AssociateEncryptionConfig" | "AddonUpdate" | "VpcConfigUpdate" | "AccessConfigUpdate" | "UpgradePolicyUpdate" | "ZonalShiftConfigUpdate" | "AutoModeUpdate" | "RemoteNetworkConfigUpdate" | "DeletionProtectionUpdate" | "CapabilityUpdate" | "ControlPlaneScalingConfigUpdate" | "VendedLogsUpdate" | "ControlPlaneEgressUpdate" | "VersionRollback" | "ControlPlaneComponentConfigUpdate")
1926
+ attr_accessor type: ("VersionUpdate" | "EndpointAccessUpdate" | "LoggingUpdate" | "ConfigUpdate" | "AssociateIdentityProviderConfig" | "DisassociateIdentityProviderConfig" | "AssociateEncryptionConfig" | "AddonUpdate" | "VpcConfigUpdate" | "AccessConfigUpdate" | "UpgradePolicyUpdate" | "ZonalShiftConfigUpdate" | "AutoModeUpdate" | "RemoteNetworkConfigUpdate" | "DeletionProtectionUpdate" | "CapabilityUpdate" | "ControlPlaneScalingConfigUpdate" | "VendedLogsUpdate" | "ControlPlaneEgressUpdate" | "VersionRollback" | "ControlPlaneComponentConfigUpdate" | "CertificateAuthorityUpdate")
1820
1927
  attr_accessor params: ::Array[Types::UpdateParam]
1821
1928
  attr_accessor created_at: ::Time
1822
1929
  attr_accessor errors: ::Array[Types::ErrorDetail]
@@ -1978,7 +2085,7 @@ module Aws::EKS
1978
2085
  end
1979
2086
 
1980
2087
  class UpdateParam
1981
- attr_accessor type: ("Version" | "PlatformVersion" | "EndpointPrivateAccess" | "EndpointPublicAccess" | "ClusterLogging" | "DesiredSize" | "LabelsToAdd" | "LabelsToRemove" | "TaintsToAdd" | "TaintsToRemove" | "MaxSize" | "MinSize" | "ReleaseVersion" | "PublicAccessCidrs" | "LaunchTemplateName" | "LaunchTemplateVersion" | "IdentityProviderConfig" | "EncryptionConfig" | "AddonVersion" | "ServiceAccountRoleArn" | "ResolveConflicts" | "MaxUnavailable" | "MaxUnavailablePercentage" | "NodeRepairEnabled" | "UpdateStrategy" | "ConfigurationValues" | "SecurityGroups" | "Subnets" | "AuthenticationMode" | "PodIdentityAssociations" | "UpgradePolicy" | "ZonalShiftConfig" | "ComputeConfig" | "StorageConfig" | "KubernetesNetworkConfig" | "RemoteNetworkConfig" | "DeletionProtection" | "NodeRepairConfig" | "RoleArn" | "RoleMappingsToAddOrUpdate" | "RoleMappingsToRemove" | "NetworkAccess" | "VendedLogs" | "UpdatedTier" | "PreviousTier" | "WarmPoolEnabled" | "WarmPoolMaxGroupPreparedCapacity" | "WarmPoolMinSize" | "WarmPoolState" | "WarmPoolReuseOnScaleIn" | "ControlPlaneEgressMode" | "KubeApiServerConfig" | "KubeSchedulerConfig" | "KubeControllerManagerConfig")
2088
+ attr_accessor type: ("Version" | "PlatformVersion" | "EndpointPrivateAccess" | "EndpointPublicAccess" | "ClusterLogging" | "DesiredSize" | "LabelsToAdd" | "LabelsToRemove" | "TaintsToAdd" | "TaintsToRemove" | "MaxSize" | "MinSize" | "ReleaseVersion" | "PublicAccessCidrs" | "LaunchTemplateName" | "LaunchTemplateVersion" | "IdentityProviderConfig" | "EncryptionConfig" | "AddonVersion" | "ServiceAccountRoleArn" | "ResolveConflicts" | "MaxUnavailable" | "MaxUnavailablePercentage" | "NodeRepairEnabled" | "UpdateStrategy" | "ConfigurationValues" | "SecurityGroups" | "Subnets" | "AuthenticationMode" | "PodIdentityAssociations" | "UpgradePolicy" | "ZonalShiftConfig" | "ComputeConfig" | "StorageConfig" | "KubernetesNetworkConfig" | "RemoteNetworkConfig" | "DeletionProtection" | "NodeRepairConfig" | "RoleArn" | "RoleMappingsToAddOrUpdate" | "RoleMappingsToRemove" | "NetworkAccess" | "VendedLogs" | "UpdatedTier" | "PreviousTier" | "WarmPoolEnabled" | "WarmPoolMaxGroupPreparedCapacity" | "WarmPoolMinSize" | "WarmPoolState" | "WarmPoolReuseOnScaleIn" | "ControlPlaneEgressMode" | "KubeApiServerConfig" | "KubeSchedulerConfig" | "KubeControllerManagerConfig" | "ActiveCertificateAuthority" | "TrustedCertificateAuthorities" | "CertificateAuthorityId" | "SigningStatus")
1982
2089
  attr_accessor value: ::String
1983
2090
  SENSITIVE: []
1984
2091
  end
data/sig/waiters.rbs CHANGED
@@ -31,6 +31,20 @@ module Aws
31
31
  | (Hash[Symbol, untyped]) -> Client::_DescribeAddonResponseSuccess
32
32
  end
33
33
 
34
+ class CertificateAuthorityUpdateComplete
35
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
36
+ | (?Hash[Symbol, untyped]) -> void
37
+
38
+ def wait: (
39
+ name: ::String,
40
+ update_id: ::String,
41
+ ?nodegroup_name: ::String,
42
+ ?addon_name: ::String,
43
+ ?capability_name: ::String
44
+ ) -> Client::_DescribeUpdateResponseSuccess
45
+ | (Hash[Symbol, untyped]) -> Client::_DescribeUpdateResponseSuccess
46
+ end
47
+
34
48
  class ClusterActive
35
49
  def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
36
50
  | (?Hash[Symbol, untyped]) -> void
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.173.0
4
+ version: 1.174.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services