aws-sdk-eks 1.170.0 → 1.171.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1aea106f81e79f9777802cded21938c0e890181996ccd759755d329178d662a4
4
- data.tar.gz: 0dc1bbc4cbaa66b163b737ce77af3196cceffe9f329b34f8d360918a8672c6d4
3
+ metadata.gz: 0a728ded2891fdfcb9ea87c541cd8c04b8ee0b80da02e7cb76e20376165521f5
4
+ data.tar.gz: 3182a37be2537fa5cb55f734e65fe2623521cf97ff9b8a6a7f674255e9d0a0a2
5
5
  SHA512:
6
- metadata.gz: fad71a5328434664eb1d312f661e49de598cd02904251ac37f8c6441bd87e349665d259098ca3298c4eaac1b4c5cfa6864a0d2f0fbd0e7241cf897e437127ab4
7
- data.tar.gz: f4fb387bd26c2241320302eafa9b41d39987385f30b1246ce4537bdd201ce11053c531a8387781c428d3ee4684432ccc3e88f4c6c317d7e5fca60d3e6aa70522
6
+ metadata.gz: 1e900cf6660e6adaa1685e9721e543a407df68c61feda6c5714d94deb4cebe5dafd16b6c3555a444dee75f7857bd321fa42ece82f29b0a7509c4d28b23db88e3
7
+ data.tar.gz: 6dbd7a57d80cd143e4aa9c914d935b85f6f3a2d43f6ba8b1d892c84980da83b9a621e7364a03f56b4dbd730ab5cfa3393d3c65cf54dba4c3f145053dc0cef108
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.171.0 (2026-06-30)
5
+ ------------------
6
+
7
+ * Feature - Adds Kubernetes version rollback support, including the CancelUpdate operation to cancel an in-progress VersionRollback update, the RollbackConfig structure with a timeoutMinutes field, and the Cancellation structure surfaced via the new cancellation field on the Update object.
8
+
4
9
  1.170.0 (2026-06-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.170.0
1
+ 1.171.0
@@ -579,7 +579,7 @@ module Aws::EKS
579
579
  #
580
580
  # resp.update.id #=> String
581
581
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
582
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate"
582
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate", "VersionRollback"
583
583
  # resp.update.params #=> Array
584
584
  # resp.update.params[0].type #=> String, one of "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"
585
585
  # resp.update.params[0].value #=> String
@@ -589,6 +589,8 @@ module Aws::EKS
589
589
  # resp.update.errors[0].error_message #=> String
590
590
  # resp.update.errors[0].resource_ids #=> Array
591
591
  # resp.update.errors[0].resource_ids[0] #=> String
592
+ # resp.update.cancellation.status #=> String, one of "InProgress", "Failed", "Successful"
593
+ # resp.update.cancellation.reason #=> String
592
594
  #
593
595
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/AssociateEncryptionConfig AWS API Documentation
594
596
  #
@@ -663,7 +665,7 @@ module Aws::EKS
663
665
  #
664
666
  # resp.update.id #=> String
665
667
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
666
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate"
668
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate", "VersionRollback"
667
669
  # resp.update.params #=> Array
668
670
  # resp.update.params[0].type #=> String, one of "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"
669
671
  # resp.update.params[0].value #=> String
@@ -673,6 +675,8 @@ module Aws::EKS
673
675
  # resp.update.errors[0].error_message #=> String
674
676
  # resp.update.errors[0].resource_ids #=> Array
675
677
  # resp.update.errors[0].resource_ids[0] #=> String
678
+ # resp.update.cancellation.status #=> String, one of "InProgress", "Failed", "Successful"
679
+ # resp.update.cancellation.reason #=> String
676
680
  # resp.tags #=> Hash
677
681
  # resp.tags["TagKey"] #=> String
678
682
  #
@@ -685,6 +689,67 @@ module Aws::EKS
685
689
  req.send_request(options)
686
690
  end
687
691
 
692
+ # Cancels an in-progress update to an Amazon EKS cluster on a
693
+ # best-effort basis. Cancellation is only performed if the update can be
694
+ # cancelled. Currently, this is supported for `VersionRollback` update
695
+ # types on EKS Auto Mode clusters when nodes are rolling back.
696
+ #
697
+ # A successful cancellation stops the node rollback. After cancellation,
698
+ # nodes converge to the current cluster version honoring configured
699
+ # disruption controls. If the control plane rollback has already begun,
700
+ # the cancellation request fails.
701
+ #
702
+ # @option params [required, String] :name
703
+ # The name of the Amazon EKS cluster associated with the update.
704
+ #
705
+ # @option params [required, String] :update_id
706
+ # The ID of the update to cancel.
707
+ #
708
+ # @option params [String] :client_request_token
709
+ # A unique, case-sensitive identifier that you provide to ensure the
710
+ # idempotency of the request.
711
+ #
712
+ # **A suitable default value is auto-generated.** You should normally
713
+ # not need to pass this option.**
714
+ #
715
+ # @return [Types::CancelUpdateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
716
+ #
717
+ # * {Types::CancelUpdateResponse#update #update} => Types::Update
718
+ #
719
+ # @example Request syntax with placeholder values
720
+ #
721
+ # resp = client.cancel_update({
722
+ # name: "String", # required
723
+ # update_id: "String", # required
724
+ # client_request_token: "String",
725
+ # })
726
+ #
727
+ # @example Response structure
728
+ #
729
+ # resp.update.id #=> String
730
+ # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
731
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate", "VersionRollback"
732
+ # resp.update.params #=> Array
733
+ # resp.update.params[0].type #=> String, one of "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"
734
+ # resp.update.params[0].value #=> String
735
+ # resp.update.created_at #=> Time
736
+ # resp.update.errors #=> Array
737
+ # resp.update.errors[0].error_code #=> String, one of "SubnetNotFound", "SecurityGroupNotFound", "EniLimitReached", "IpNotAvailable", "AccessDenied", "OperationNotPermitted", "VpcIdNotFound", "Unknown", "NodeCreationFailure", "PodEvictionFailure", "InsufficientFreeAddresses", "ClusterUnreachable", "InsufficientNumberOfReplicas", "ConfigurationConflict", "AdmissionRequestDenied", "UnsupportedAddonModification", "K8sResourceNotFound"
738
+ # resp.update.errors[0].error_message #=> String
739
+ # resp.update.errors[0].resource_ids #=> Array
740
+ # resp.update.errors[0].resource_ids[0] #=> String
741
+ # resp.update.cancellation.status #=> String, one of "InProgress", "Failed", "Successful"
742
+ # resp.update.cancellation.reason #=> String
743
+ #
744
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CancelUpdate AWS API Documentation
745
+ #
746
+ # @overload cancel_update(params = {})
747
+ # @param [Hash] params ({})
748
+ def cancel_update(params = {}, options = {})
749
+ req = build_request(:cancel_update, params)
750
+ req.send_request(options)
751
+ end
752
+
688
753
  # Creates an access entry.
689
754
  #
690
755
  # An access entry allows an IAM principal to access your cluster. Access
@@ -3791,7 +3856,7 @@ module Aws::EKS
3791
3856
  #
3792
3857
  # resp.insight.id #=> String
3793
3858
  # resp.insight.name #=> String
3794
- # resp.insight.category #=> String, one of "UPGRADE_READINESS", "MISCONFIGURATION"
3859
+ # resp.insight.category #=> String, one of "UPGRADE_READINESS", "MISCONFIGURATION", "ROLLBACK_READINESS"
3795
3860
  # resp.insight.kubernetes_version #=> String
3796
3861
  # resp.insight.last_refresh_time #=> Time
3797
3862
  # resp.insight.last_transition_time #=> Time
@@ -4059,7 +4124,7 @@ module Aws::EKS
4059
4124
  #
4060
4125
  # resp.update.id #=> String
4061
4126
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
4062
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate"
4127
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate", "VersionRollback"
4063
4128
  # resp.update.params #=> Array
4064
4129
  # resp.update.params[0].type #=> String, one of "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"
4065
4130
  # resp.update.params[0].value #=> String
@@ -4069,6 +4134,8 @@ module Aws::EKS
4069
4134
  # resp.update.errors[0].error_message #=> String
4070
4135
  # resp.update.errors[0].resource_ids #=> Array
4071
4136
  # resp.update.errors[0].resource_ids[0] #=> String
4137
+ # resp.update.cancellation.status #=> String, one of "InProgress", "Failed", "Successful"
4138
+ # resp.update.cancellation.reason #=> String
4072
4139
  #
4073
4140
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DescribeUpdate AWS API Documentation
4074
4141
  #
@@ -4148,7 +4215,7 @@ module Aws::EKS
4148
4215
  #
4149
4216
  # resp.update.id #=> String
4150
4217
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
4151
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate"
4218
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate", "VersionRollback"
4152
4219
  # resp.update.params #=> Array
4153
4220
  # resp.update.params[0].type #=> String, one of "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"
4154
4221
  # resp.update.params[0].value #=> String
@@ -4158,6 +4225,8 @@ module Aws::EKS
4158
4225
  # resp.update.errors[0].error_message #=> String
4159
4226
  # resp.update.errors[0].resource_ids #=> Array
4160
4227
  # resp.update.errors[0].resource_ids[0] #=> String
4228
+ # resp.update.cancellation.status #=> String, one of "InProgress", "Failed", "Successful"
4229
+ # resp.update.cancellation.reason #=> String
4161
4230
  #
4162
4231
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/DisassociateIdentityProviderConfig AWS API Documentation
4163
4232
  #
@@ -4789,7 +4858,7 @@ module Aws::EKS
4789
4858
  # resp = client.list_insights({
4790
4859
  # cluster_name: "String", # required
4791
4860
  # filter: {
4792
- # categories: ["UPGRADE_READINESS"], # accepts UPGRADE_READINESS, MISCONFIGURATION
4861
+ # categories: ["UPGRADE_READINESS"], # accepts UPGRADE_READINESS, MISCONFIGURATION, ROLLBACK_READINESS
4793
4862
  # kubernetes_versions: ["String"],
4794
4863
  # statuses: ["PASSING"], # accepts PASSING, WARNING, ERROR, UNKNOWN
4795
4864
  # },
@@ -4802,7 +4871,7 @@ module Aws::EKS
4802
4871
  # resp.insights #=> Array
4803
4872
  # resp.insights[0].id #=> String
4804
4873
  # resp.insights[0].name #=> String
4805
- # resp.insights[0].category #=> String, one of "UPGRADE_READINESS", "MISCONFIGURATION"
4874
+ # resp.insights[0].category #=> String, one of "UPGRADE_READINESS", "MISCONFIGURATION", "ROLLBACK_READINESS"
4806
4875
  # resp.insights[0].kubernetes_version #=> String
4807
4876
  # resp.insights[0].last_refresh_time #=> Time
4808
4877
  # resp.insights[0].last_transition_time #=> Time
@@ -5504,7 +5573,7 @@ module Aws::EKS
5504
5573
  #
5505
5574
  # resp.update.id #=> String
5506
5575
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
5507
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate"
5576
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate", "VersionRollback"
5508
5577
  # resp.update.params #=> Array
5509
5578
  # resp.update.params[0].type #=> String, one of "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"
5510
5579
  # resp.update.params[0].value #=> String
@@ -5514,6 +5583,8 @@ module Aws::EKS
5514
5583
  # resp.update.errors[0].error_message #=> String
5515
5584
  # resp.update.errors[0].resource_ids #=> Array
5516
5585
  # resp.update.errors[0].resource_ids[0] #=> String
5586
+ # resp.update.cancellation.status #=> String, one of "InProgress", "Failed", "Successful"
5587
+ # resp.update.cancellation.reason #=> String
5517
5588
  #
5518
5589
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateAddon AWS API Documentation
5519
5590
  #
@@ -5613,7 +5684,7 @@ module Aws::EKS
5613
5684
  #
5614
5685
  # resp.update.id #=> String
5615
5686
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
5616
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate"
5687
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate", "VersionRollback"
5617
5688
  # resp.update.params #=> Array
5618
5689
  # resp.update.params[0].type #=> String, one of "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"
5619
5690
  # resp.update.params[0].value #=> String
@@ -5623,6 +5694,8 @@ module Aws::EKS
5623
5694
  # resp.update.errors[0].error_message #=> String
5624
5695
  # resp.update.errors[0].resource_ids #=> Array
5625
5696
  # resp.update.errors[0].resource_ids[0] #=> String
5697
+ # resp.update.cancellation.status #=> String, one of "InProgress", "Failed", "Successful"
5698
+ # resp.update.cancellation.reason #=> String
5626
5699
  #
5627
5700
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateCapability AWS API Documentation
5628
5701
  #
@@ -5858,7 +5931,7 @@ module Aws::EKS
5858
5931
  #
5859
5932
  # resp.update.id #=> String
5860
5933
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
5861
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate"
5934
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate", "VersionRollback"
5862
5935
  # resp.update.params #=> Array
5863
5936
  # resp.update.params[0].type #=> String, one of "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"
5864
5937
  # resp.update.params[0].value #=> String
@@ -5868,6 +5941,8 @@ module Aws::EKS
5868
5941
  # resp.update.errors[0].error_message #=> String
5869
5942
  # resp.update.errors[0].resource_ids #=> Array
5870
5943
  # resp.update.errors[0].resource_ids[0] #=> String
5944
+ # resp.update.cancellation.status #=> String, one of "InProgress", "Failed", "Successful"
5945
+ # resp.update.cancellation.reason #=> String
5871
5946
  #
5872
5947
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterConfig AWS API Documentation
5873
5948
  #
@@ -5911,8 +5986,11 @@ module Aws::EKS
5911
5986
  # not need to pass this option.**
5912
5987
  #
5913
5988
  # @option params [Boolean] :force
5914
- # Set this value to `true` to override upgrade-blocking readiness checks
5915
- # when updating a cluster.
5989
+ # Set this value to `true` to override upgrade-blocking or
5990
+ # rollback-blocking readiness checks when updating a cluster.
5991
+ #
5992
+ # @option params [Types::RollbackConfig] :rollback_config
5993
+ # The rollback configuration for the cluster version rollback.
5916
5994
  #
5917
5995
  # @return [Types::UpdateClusterVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5918
5996
  #
@@ -5925,13 +6003,16 @@ module Aws::EKS
5925
6003
  # version: "String", # required
5926
6004
  # client_request_token: "String",
5927
6005
  # force: false,
6006
+ # rollback_config: {
6007
+ # timeout_minutes: 1,
6008
+ # },
5928
6009
  # })
5929
6010
  #
5930
6011
  # @example Response structure
5931
6012
  #
5932
6013
  # resp.update.id #=> String
5933
6014
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
5934
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate"
6015
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate", "VersionRollback"
5935
6016
  # resp.update.params #=> Array
5936
6017
  # resp.update.params[0].type #=> String, one of "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"
5937
6018
  # resp.update.params[0].value #=> String
@@ -5941,6 +6022,8 @@ module Aws::EKS
5941
6022
  # resp.update.errors[0].error_message #=> String
5942
6023
  # resp.update.errors[0].resource_ids #=> Array
5943
6024
  # resp.update.errors[0].resource_ids[0] #=> String
6025
+ # resp.update.cancellation.status #=> String, one of "InProgress", "Failed", "Successful"
6026
+ # resp.update.cancellation.reason #=> String
5944
6027
  #
5945
6028
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterVersion AWS API Documentation
5946
6029
  #
@@ -6132,7 +6215,7 @@ module Aws::EKS
6132
6215
  #
6133
6216
  # resp.update.id #=> String
6134
6217
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
6135
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate"
6218
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate", "VersionRollback"
6136
6219
  # resp.update.params #=> Array
6137
6220
  # resp.update.params[0].type #=> String, one of "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"
6138
6221
  # resp.update.params[0].value #=> String
@@ -6142,6 +6225,8 @@ module Aws::EKS
6142
6225
  # resp.update.errors[0].error_message #=> String
6143
6226
  # resp.update.errors[0].resource_ids #=> Array
6144
6227
  # resp.update.errors[0].resource_ids[0] #=> String
6228
+ # resp.update.cancellation.status #=> String, one of "InProgress", "Failed", "Successful"
6229
+ # resp.update.cancellation.reason #=> String
6145
6230
  #
6146
6231
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateNodegroupConfig AWS API Documentation
6147
6232
  #
@@ -6279,7 +6364,7 @@ module Aws::EKS
6279
6364
  #
6280
6365
  # resp.update.id #=> String
6281
6366
  # resp.update.status #=> String, one of "InProgress", "Failed", "Cancelled", "Successful"
6282
- # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate"
6367
+ # resp.update.type #=> String, one of "VersionUpdate", "EndpointAccessUpdate", "LoggingUpdate", "ConfigUpdate", "AssociateIdentityProviderConfig", "DisassociateIdentityProviderConfig", "AssociateEncryptionConfig", "AddonUpdate", "VpcConfigUpdate", "AccessConfigUpdate", "UpgradePolicyUpdate", "ZonalShiftConfigUpdate", "AutoModeUpdate", "RemoteNetworkConfigUpdate", "DeletionProtectionUpdate", "CapabilityUpdate", "ControlPlaneScalingConfigUpdate", "VendedLogsUpdate", "ControlPlaneEgressUpdate", "VersionRollback"
6283
6368
  # resp.update.params #=> Array
6284
6369
  # resp.update.params[0].type #=> String, one of "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"
6285
6370
  # resp.update.params[0].value #=> String
@@ -6289,6 +6374,8 @@ module Aws::EKS
6289
6374
  # resp.update.errors[0].error_message #=> String
6290
6375
  # resp.update.errors[0].resource_ids #=> Array
6291
6376
  # resp.update.errors[0].resource_ids[0] #=> String
6377
+ # resp.update.cancellation.status #=> String, one of "InProgress", "Failed", "Successful"
6378
+ # resp.update.cancellation.reason #=> String
6292
6379
  #
6293
6380
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateNodegroupVersion AWS API Documentation
6294
6381
  #
@@ -6466,7 +6553,7 @@ module Aws::EKS
6466
6553
  tracer: tracer
6467
6554
  )
6468
6555
  context[:gem_name] = 'aws-sdk-eks'
6469
- context[:gem_version] = '1.170.0'
6556
+ context[:gem_version] = '1.171.0'
6470
6557
  Seahorse::Client::Request.new(handlers, context)
6471
6558
  end
6472
6559
 
@@ -66,6 +66,10 @@ module Aws::EKS
66
66
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
67
67
  BoxedBoolean = Shapes::BooleanShape.new(name: 'BoxedBoolean')
68
68
  BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger')
69
+ CancelUpdateRequest = Shapes::StructureShape.new(name: 'CancelUpdateRequest')
70
+ CancelUpdateResponse = Shapes::StructureShape.new(name: 'CancelUpdateResponse')
71
+ Cancellation = Shapes::StructureShape.new(name: 'Cancellation')
72
+ CancellationStatus = Shapes::StringShape.new(name: 'CancellationStatus')
69
73
  Capability = Shapes::StructureShape.new(name: 'Capability')
70
74
  CapabilityConfigurationRequest = Shapes::StructureShape.new(name: 'CapabilityConfigurationRequest')
71
75
  CapabilityConfigurationResponse = Shapes::StructureShape.new(name: 'CapabilityConfigurationResponse')
@@ -320,6 +324,7 @@ module Aws::EKS
320
324
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
321
325
  ResourcePropagationDelayException = Shapes::StructureShape.new(name: 'ResourcePropagationDelayException')
322
326
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
327
+ RollbackConfig = Shapes::StructureShape.new(name: 'RollbackConfig')
323
328
  ServerException = Shapes::StructureShape.new(name: 'ServerException')
324
329
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
325
330
  SpreadLevel = Shapes::StringShape.new(name: 'SpreadLevel')
@@ -585,6 +590,18 @@ module Aws::EKS
585
590
  BlockStorage.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enabled"))
586
591
  BlockStorage.struct_class = Types::BlockStorage
587
592
 
593
+ CancelUpdateRequest.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "name"))
594
+ CancelUpdateRequest.add_member(:update_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "updateId"))
595
+ CancelUpdateRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
596
+ CancelUpdateRequest.struct_class = Types::CancelUpdateRequest
597
+
598
+ CancelUpdateResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
599
+ CancelUpdateResponse.struct_class = Types::CancelUpdateResponse
600
+
601
+ Cancellation.add_member(:status, Shapes::ShapeRef.new(shape: CancellationStatus, location_name: "status"))
602
+ Cancellation.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
603
+ Cancellation.struct_class = Types::Cancellation
604
+
588
605
  Capability.add_member(:capability_name, Shapes::ShapeRef.new(shape: String, location_name: "capabilityName"))
589
606
  Capability.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
590
607
  Capability.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
@@ -1597,6 +1614,9 @@ module Aws::EKS
1597
1614
  ResourcePropagationDelayException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1598
1615
  ResourcePropagationDelayException.struct_class = Types::ResourcePropagationDelayException
1599
1616
 
1617
+ RollbackConfig.add_member(:timeout_minutes, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "timeoutMinutes"))
1618
+ RollbackConfig.struct_class = Types::RollbackConfig
1619
+
1600
1620
  ServerException.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
1601
1621
  ServerException.add_member(:nodegroup_name, Shapes::ShapeRef.new(shape: String, location_name: "nodegroupName"))
1602
1622
  ServerException.add_member(:addon_name, Shapes::ShapeRef.new(shape: String, location_name: "addonName"))
@@ -1666,6 +1686,7 @@ module Aws::EKS
1666
1686
  Update.add_member(:params, Shapes::ShapeRef.new(shape: UpdateParams, location_name: "params"))
1667
1687
  Update.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
1668
1688
  Update.add_member(:errors, Shapes::ShapeRef.new(shape: ErrorDetails, location_name: "errors"))
1689
+ Update.add_member(:cancellation, Shapes::ShapeRef.new(shape: Cancellation, location_name: "cancellation"))
1669
1690
  Update.struct_class = Types::Update
1670
1691
 
1671
1692
  UpdateAccessConfigRequest.add_member(:authentication_mode, Shapes::ShapeRef.new(shape: AuthenticationMode, location_name: "authenticationMode"))
@@ -1734,6 +1755,7 @@ module Aws::EKS
1734
1755
  UpdateClusterVersionRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
1735
1756
  UpdateClusterVersionRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: String, location_name: "clientRequestToken", metadata: {"idempotencyToken" => true}))
1736
1757
  UpdateClusterVersionRequest.add_member(:force, Shapes::ShapeRef.new(shape: Boolean, location_name: "force"))
1758
+ UpdateClusterVersionRequest.add_member(:rollback_config, Shapes::ShapeRef.new(shape: RollbackConfig, location_name: "rollbackConfig"))
1737
1759
  UpdateClusterVersionRequest.struct_class = Types::UpdateClusterVersionRequest
1738
1760
 
1739
1761
  UpdateClusterVersionResponse.add_member(:update, Shapes::ShapeRef.new(shape: Update, location_name: "update"))
@@ -1913,6 +1935,22 @@ module Aws::EKS
1913
1935
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1914
1936
  end)
1915
1937
 
1938
+ api.add_operation(:cancel_update, Seahorse::Model::Operation.new.tap do |o|
1939
+ o.name = "CancelUpdate"
1940
+ o.http_method = "POST"
1941
+ o.http_request_uri = "/clusters/{name}/updates/{updateId}/cancel-update"
1942
+ o.input = Shapes::ShapeRef.new(shape: CancelUpdateRequest)
1943
+ o.output = Shapes::ShapeRef.new(shape: CancelUpdateResponse)
1944
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1945
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1946
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1947
+ o.errors << Shapes::ShapeRef.new(shape: ResourceInUseException)
1948
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1949
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1950
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1951
+ o.errors << Shapes::ShapeRef.new(shape: InvalidStateException)
1952
+ end)
1953
+
1916
1954
  api.add_operation(:create_access_entry, Seahorse::Model::Operation.new.tap do |o|
1917
1955
  o.name = "CreateAccessEntry"
1918
1956
  o.http_method = "POST"
@@ -952,6 +952,66 @@ module Aws::EKS
952
952
  include Aws::Structure
953
953
  end
954
954
 
955
+ # @!attribute [rw] name
956
+ # The name of the Amazon EKS cluster associated with the update.
957
+ # @return [String]
958
+ #
959
+ # @!attribute [rw] update_id
960
+ # The ID of the update to cancel.
961
+ # @return [String]
962
+ #
963
+ # @!attribute [rw] client_request_token
964
+ # A unique, case-sensitive identifier that you provide to ensure the
965
+ # idempotency of the request.
966
+ #
967
+ # **A suitable default value is auto-generated.** You should normally
968
+ # not need to pass this option.
969
+ # @return [String]
970
+ #
971
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CancelUpdateRequest AWS API Documentation
972
+ #
973
+ class CancelUpdateRequest < Struct.new(
974
+ :name,
975
+ :update_id,
976
+ :client_request_token)
977
+ SENSITIVE = []
978
+ include Aws::Structure
979
+ end
980
+
981
+ # @!attribute [rw] update
982
+ # The full description of the specified update.
983
+ # @return [Types::Update]
984
+ #
985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/CancelUpdateResponse AWS API Documentation
986
+ #
987
+ class CancelUpdateResponse < Struct.new(
988
+ :update)
989
+ SENSITIVE = []
990
+ include Aws::Structure
991
+ end
992
+
993
+ # Contains information about the latest cancellation of an update to an
994
+ # Amazon EKS cluster.
995
+ #
996
+ # @!attribute [rw] status
997
+ # The current status of the cancellation. Valid values are
998
+ # `InProgress`, `Failed`, and `Successful`.
999
+ # @return [String]
1000
+ #
1001
+ # @!attribute [rw] reason
1002
+ # A message providing additional details about the cancellation, such
1003
+ # as the reason for the cancellation or failure details.
1004
+ # @return [String]
1005
+ #
1006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Cancellation AWS API Documentation
1007
+ #
1008
+ class Cancellation < Struct.new(
1009
+ :status,
1010
+ :reason)
1011
+ SENSITIVE = []
1012
+ include Aws::Structure
1013
+ end
1014
+
955
1015
  # An object representing a managed capability in an Amazon EKS cluster.
956
1016
  # This includes all configuration, status, and health information for
957
1017
  # the capability.
@@ -7417,6 +7477,24 @@ module Aws::EKS
7417
7477
  include Aws::Structure
7418
7478
  end
7419
7479
 
7480
+ # The rollback configuration for the cluster version rollback.
7481
+ #
7482
+ # @!attribute [rw] timeout_minutes
7483
+ # The length of time in minutes to wait before cancelling the update.
7484
+ # Timeout is a minimum-bound property, meaning the timeout occurs no
7485
+ # sooner than the time you specify, but can occur shortly thereafter.
7486
+ # This value can be between 120 (2 hours) and 10080 (7 days). Default:
7487
+ # `720` (12 hours) if not specified.
7488
+ # @return [Integer]
7489
+ #
7490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/RollbackConfig AWS API Documentation
7491
+ #
7492
+ class RollbackConfig < Struct.new(
7493
+ :timeout_minutes)
7494
+ SENSITIVE = []
7495
+ include Aws::Structure
7496
+ end
7497
+
7420
7498
  # These errors are usually caused by a server-side issue.
7421
7499
  #
7422
7500
  # @!attribute [rw] cluster_name
@@ -7707,6 +7785,11 @@ module Aws::EKS
7707
7785
  # Any errors associated with a `Failed` update.
7708
7786
  # @return [Array<Types::ErrorDetail>]
7709
7787
  #
7788
+ # @!attribute [rw] cancellation
7789
+ # The latest cancellation information for the update. This field is
7790
+ # present only if any cancellation is attempted for the update.
7791
+ # @return [Types::Cancellation]
7792
+ #
7710
7793
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/Update AWS API Documentation
7711
7794
  #
7712
7795
  class Update < Struct.new(
@@ -7715,7 +7798,8 @@ module Aws::EKS
7715
7798
  :type,
7716
7799
  :params,
7717
7800
  :created_at,
7718
- :errors)
7801
+ :errors,
7802
+ :cancellation)
7719
7803
  SENSITIVE = []
7720
7804
  include Aws::Structure
7721
7805
  end
@@ -8185,17 +8269,22 @@ module Aws::EKS
8185
8269
  # @return [String]
8186
8270
  #
8187
8271
  # @!attribute [rw] force
8188
- # Set this value to `true` to override upgrade-blocking readiness
8189
- # checks when updating a cluster.
8272
+ # Set this value to `true` to override upgrade-blocking or
8273
+ # rollback-blocking readiness checks when updating a cluster.
8190
8274
  # @return [Boolean]
8191
8275
  #
8276
+ # @!attribute [rw] rollback_config
8277
+ # The rollback configuration for the cluster version rollback.
8278
+ # @return [Types::RollbackConfig]
8279
+ #
8192
8280
  # @see http://docs.aws.amazon.com/goto/WebAPI/eks-2017-11-01/UpdateClusterVersionRequest AWS API Documentation
8193
8281
  #
8194
8282
  class UpdateClusterVersionRequest < Struct.new(
8195
8283
  :name,
8196
8284
  :version,
8197
8285
  :client_request_token,
8198
- :force)
8286
+ :force,
8287
+ :rollback_config)
8199
8288
  SENSITIVE = []
8200
8289
  include Aws::Structure
8201
8290
  end
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.170.0'
58
+ GEM_VERSION = '1.171.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -138,6 +138,18 @@ module Aws
138
138
  ) -> _AssociateIdentityProviderConfigResponseSuccess
139
139
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateIdentityProviderConfigResponseSuccess
140
140
 
141
+ interface _CancelUpdateResponseSuccess
142
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelUpdateResponse]
143
+ def update: () -> Types::Update
144
+ end
145
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/EKS/Client.html#cancel_update-instance_method
146
+ def cancel_update: (
147
+ name: ::String,
148
+ update_id: ::String,
149
+ ?client_request_token: ::String
150
+ ) -> _CancelUpdateResponseSuccess
151
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelUpdateResponseSuccess
152
+
141
153
  interface _CreateAccessEntryResponseSuccess
142
154
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateAccessEntryResponse]
143
155
  def access_entry: () -> Types::AccessEntry
@@ -847,7 +859,7 @@ module Aws
847
859
  def list_insights: (
848
860
  cluster_name: ::String,
849
861
  ?filter: {
850
- categories: Array[("UPGRADE_READINESS" | "MISCONFIGURATION")]?,
862
+ categories: Array[("UPGRADE_READINESS" | "MISCONFIGURATION" | "ROLLBACK_READINESS")]?,
851
863
  kubernetes_versions: Array[::String]?,
852
864
  statuses: Array[("PASSING" | "WARNING" | "ERROR" | "UNKNOWN")]?
853
865
  },
@@ -1098,7 +1110,10 @@ module Aws
1098
1110
  name: ::String,
1099
1111
  version: ::String,
1100
1112
  ?client_request_token: ::String,
1101
- ?force: bool
1113
+ ?force: bool,
1114
+ ?rollback_config: {
1115
+ timeout_minutes: ::Integer?
1116
+ }
1102
1117
  ) -> _UpdateClusterVersionResponseSuccess
1103
1118
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClusterVersionResponseSuccess
1104
1119
 
data/sig/types.rbs CHANGED
@@ -235,6 +235,24 @@ module Aws::EKS
235
235
  SENSITIVE: []
236
236
  end
237
237
 
238
+ class CancelUpdateRequest
239
+ attr_accessor name: ::String
240
+ attr_accessor update_id: ::String
241
+ attr_accessor client_request_token: ::String
242
+ SENSITIVE: []
243
+ end
244
+
245
+ class CancelUpdateResponse
246
+ attr_accessor update: Types::Update
247
+ SENSITIVE: []
248
+ end
249
+
250
+ class Cancellation
251
+ attr_accessor status: ("InProgress" | "Failed" | "Successful")
252
+ attr_accessor reason: ::String
253
+ SENSITIVE: []
254
+ end
255
+
238
256
  class Capability
239
257
  attr_accessor capability_name: ::String
240
258
  attr_accessor arn: ::String
@@ -993,7 +1011,7 @@ module Aws::EKS
993
1011
  class Insight
994
1012
  attr_accessor id: ::String
995
1013
  attr_accessor name: ::String
996
- attr_accessor category: ("UPGRADE_READINESS" | "MISCONFIGURATION")
1014
+ attr_accessor category: ("UPGRADE_READINESS" | "MISCONFIGURATION" | "ROLLBACK_READINESS")
997
1015
  attr_accessor kubernetes_version: ::String
998
1016
  attr_accessor last_refresh_time: ::Time
999
1017
  attr_accessor last_transition_time: ::Time
@@ -1028,7 +1046,7 @@ module Aws::EKS
1028
1046
  class InsightSummary
1029
1047
  attr_accessor id: ::String
1030
1048
  attr_accessor name: ::String
1031
- attr_accessor category: ("UPGRADE_READINESS" | "MISCONFIGURATION")
1049
+ attr_accessor category: ("UPGRADE_READINESS" | "MISCONFIGURATION" | "ROLLBACK_READINESS")
1032
1050
  attr_accessor kubernetes_version: ::String
1033
1051
  attr_accessor last_refresh_time: ::Time
1034
1052
  attr_accessor last_transition_time: ::Time
@@ -1038,7 +1056,7 @@ module Aws::EKS
1038
1056
  end
1039
1057
 
1040
1058
  class InsightsFilter
1041
- attr_accessor categories: ::Array[("UPGRADE_READINESS" | "MISCONFIGURATION")]
1059
+ attr_accessor categories: ::Array[("UPGRADE_READINESS" | "MISCONFIGURATION" | "ROLLBACK_READINESS")]
1042
1060
  attr_accessor kubernetes_versions: ::Array[::String]
1043
1061
  attr_accessor statuses: ::Array[("PASSING" | "WARNING" | "ERROR" | "UNKNOWN")]
1044
1062
  SENSITIVE: []
@@ -1542,6 +1560,11 @@ module Aws::EKS
1542
1560
  SENSITIVE: []
1543
1561
  end
1544
1562
 
1563
+ class RollbackConfig
1564
+ attr_accessor timeout_minutes: ::Integer
1565
+ SENSITIVE: []
1566
+ end
1567
+
1545
1568
  class ServerException
1546
1569
  attr_accessor cluster_name: ::String
1547
1570
  attr_accessor nodegroup_name: ::String
@@ -1625,10 +1648,11 @@ module Aws::EKS
1625
1648
  class Update
1626
1649
  attr_accessor id: ::String
1627
1650
  attr_accessor status: ("InProgress" | "Failed" | "Cancelled" | "Successful")
1628
- attr_accessor type: ("VersionUpdate" | "EndpointAccessUpdate" | "LoggingUpdate" | "ConfigUpdate" | "AssociateIdentityProviderConfig" | "DisassociateIdentityProviderConfig" | "AssociateEncryptionConfig" | "AddonUpdate" | "VpcConfigUpdate" | "AccessConfigUpdate" | "UpgradePolicyUpdate" | "ZonalShiftConfigUpdate" | "AutoModeUpdate" | "RemoteNetworkConfigUpdate" | "DeletionProtectionUpdate" | "CapabilityUpdate" | "ControlPlaneScalingConfigUpdate" | "VendedLogsUpdate" | "ControlPlaneEgressUpdate")
1651
+ attr_accessor type: ("VersionUpdate" | "EndpointAccessUpdate" | "LoggingUpdate" | "ConfigUpdate" | "AssociateIdentityProviderConfig" | "DisassociateIdentityProviderConfig" | "AssociateEncryptionConfig" | "AddonUpdate" | "VpcConfigUpdate" | "AccessConfigUpdate" | "UpgradePolicyUpdate" | "ZonalShiftConfigUpdate" | "AutoModeUpdate" | "RemoteNetworkConfigUpdate" | "DeletionProtectionUpdate" | "CapabilityUpdate" | "ControlPlaneScalingConfigUpdate" | "VendedLogsUpdate" | "ControlPlaneEgressUpdate" | "VersionRollback")
1629
1652
  attr_accessor params: ::Array[Types::UpdateParam]
1630
1653
  attr_accessor created_at: ::Time
1631
1654
  attr_accessor errors: ::Array[Types::ErrorDetail]
1655
+ attr_accessor cancellation: Types::Cancellation
1632
1656
  SENSITIVE: []
1633
1657
  end
1634
1658
 
@@ -1721,6 +1745,7 @@ module Aws::EKS
1721
1745
  attr_accessor version: ::String
1722
1746
  attr_accessor client_request_token: ::String
1723
1747
  attr_accessor force: bool
1748
+ attr_accessor rollback_config: Types::RollbackConfig
1724
1749
  SENSITIVE: []
1725
1750
  end
1726
1751
 
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.170.0
4
+ version: 1.171.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services