update_capability
async
¶
update_capability(
cluster_name: String,
capability_name: String,
*,
config_overrides: Optional[AsyncEKSClientConfig] = None,
role_arn: Optional[String] = None,
configuration: Optional[UpdateCapabilityConfiguration] = None,
client_request_token: Optional[String] = None,
delete_propagation_policy: Optional[CapabilityDeletePropagationPolicy] = None,
) -> UpdateCapabilityResponse
Updates the configuration of a managed capability in your Amazon EKS cluster. You can update the IAM role, configuration settings, and delete propagation policy for a capability.
When you update a capability, Amazon EKS applies the changes and may restart capability components as needed. The capability remains available during the update process, but some operations may be temporarily unavailable.
Parameters:
-
cluster_name(String) –The name of the Amazon EKS cluster that contains the capability you want to update configuration for.
-
capability_name(String) –The name of the capability to update configuration for.
-
role_arn(Optional[String], default:None) –The Amazon Resource Name (ARN) of the IAM role that the capability uses to interact with Amazon Web Services services. If you specify a new role ARN, the capability will start using the new role for all subsequent operations.
-
configuration(Optional[UpdateCapabilityConfiguration], default:None) –The updated configuration settings for the capability. You only need to specify the configuration parameters you want to change. For Argo CD capabilities, you can update RBAC role mappings and network access settings.
-
client_request_token(Optional[String], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is valid for 24 hours after creation.
-
delete_propagation_policy(Optional[CapabilityDeletePropagationPolicy], default:None) –The updated delete propagation policy for the capability. Currently, the only supported value is
RETAIN.
Raises:
-
AccessDeniedException–You don't have permissions to perform the requested operation. The IAM principal making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management in the IAM User Guide.
-
InvalidParameterException–The specified parameter is invalid. Review the available parameters for the API request.
-
ResourceInUseException–The specified resource is in use.
-
ResourceNotFoundException–The specified resource could not be found. You can view your available clusters with
ListClusters. You can view your available managed node groups withListNodegroups. Amazon EKS clusters and node groups are Amazon Web Services Region specific. -
ServerException–These errors are usually caused by a server-side issue.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_eks/_services/async_eks.py
4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 | |