update_collector
async
¶
update_collector(
collector_id: CollectorId,
*,
config_overrides: Optional[AsyncContinuumClientConfig] = None,
name: Optional[CollectorName] = None,
kubernetes_cluster_role: Optional[KubernetesClusterRoleUpdate] = None,
) -> UpdateCollectorOutput
Updates the customer-controlled mutable properties of a Collector. Only the name and Kubernetes cluster IAM role can be changed.
Parameters:
-
collector_id(CollectorId) –The unique identifier of the Collector to update.
-
name(Optional[CollectorName], default:None) –The new customer-visible name.
-
kubernetes_cluster_role(Optional[KubernetesClusterRoleUpdate], default:None) –Atomic update to the IAM role configuration used to collect Kubernetes cluster metadata. The set variant requires a complete configuration; the authenticated caller must be allowed to pass its exact roleArn to Continuum. The remove variant clears both the role and external ID.
Raises:
-
AccessDeniedException–The request is not authorized. Verify that your credentials and request signature are valid and that you have permission to perform this action.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource.
-
InternalServerException–The request couldn't be processed because of an internal server issue. Try again later. If the problem persists, contact AWS Support.
-
ResourceNotFoundException–The specified resource was not found. Verify that the resource identifier is correct and that the resource exists.
-
ThrottlingException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.