aws-sdk-continuum 1.1.0

AWS SDK for AWS Continuum
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateCollector`](crate::operation::update_collector::builders::UpdateCollectorFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`collector_id(impl Into<String>)`](crate::operation::update_collector::builders::UpdateCollectorFluentBuilder::collector_id) / [`set_collector_id(Option<String>)`](crate::operation::update_collector::builders::UpdateCollectorFluentBuilder::set_collector_id):<br>required: **true**<br>The unique identifier of the Collector to update.<br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_collector::builders::UpdateCollectorFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_collector::builders::UpdateCollectorFluentBuilder::set_name):<br>required: **false**<br>The new customer-visible name.<br>
    ///   - [`kubernetes_cluster_role(KubernetesClusterRoleUpdate)`](crate::operation::update_collector::builders::UpdateCollectorFluentBuilder::kubernetes_cluster_role) / [`set_kubernetes_cluster_role(Option<KubernetesClusterRoleUpdate>)`](crate::operation::update_collector::builders::UpdateCollectorFluentBuilder::set_kubernetes_cluster_role):<br>required: **false**<br>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.<br>
    /// - On success, responds with [`UpdateCollectorOutput`](crate::operation::update_collector::UpdateCollectorOutput) with field(s):
    ///   - [`collector_id(String)`](crate::operation::update_collector::UpdateCollectorOutput::collector_id): The unique identifier of the updated Collector.
    ///   - [`collector_arn(String)`](crate::operation::update_collector::UpdateCollectorOutput::collector_arn): The ARN of the updated Collector.
    ///   - [`r#type(CollectorType)`](crate::operation::update_collector::UpdateCollectorOutput::type): The source collected by this Collector.
    ///   - [`status(CollectorStatus)`](crate::operation::update_collector::UpdateCollectorOutput::status): The current lifecycle status.
    ///   - [`config_recorder_arn(Option<String>)`](crate::operation::update_collector::UpdateCollectorOutput::config_recorder_arn): The ARN of the provisioned AWS Config Recorder.
    ///   - [`kubernetes_cluster_role_arn(Option<String>)`](crate::operation::update_collector::UpdateCollectorOutput::kubernetes_cluster_role_arn): IAM role used to collect Kubernetes cluster metadata.
    ///   - [`created_at(DateTime)`](crate::operation::update_collector::UpdateCollectorOutput::created_at): The timestamp when the Collector was created.
    ///   - [`updated_at(DateTime)`](crate::operation::update_collector::UpdateCollectorOutput::updated_at): The time of the last successful UpdateCollector call, returned at whole-second precision in the same date-time format as createdAt.
    /// - On failure, responds with [`SdkError<UpdateCollectorError>`](crate::operation::update_collector::UpdateCollectorError)
    pub fn update_collector(&self) -> crate::operation::update_collector::builders::UpdateCollectorFluentBuilder {
        crate::operation::update_collector::builders::UpdateCollectorFluentBuilder::new(self.handle.clone())
    }
}