update_virtual_cluster
¶
update_virtual_cluster(
id: ResourceIdString,
client_token: ClientToken,
*,
config_overrides: Optional[EMRcontainersClientConfig] = None,
scheduler_configuration: Optional[SchedulerConfiguration] = None,
) -> UpdateVirtualClusterResponse
Updates a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, update, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.
Parameters:
-
id(ResourceIdString) –The ID of the virtual cluster to update.
-
scheduler_configuration(Optional[SchedulerConfiguration], default:None) –The scheduler configuration to apply to the virtual cluster. The new configuration fully replaces the existing one. If you omit a field, the corresponding limit is removed.
-
client_token(ClientToken) –A unique, case-sensitive identifier that you provide to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
Raises:
-
InternalServerException–This is an internal server exception.
-
ResourceNotFoundException–The specified resource was not found.
-
ValidationException–There are invalid parameters in the client request.
-
UnknownServiceError–The service returned an error code this client does not model.