1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateArtifact`](crate::operation::update_artifact::builders::UpdateArtifactFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`artifact_arn(impl Into<String>)`](crate::operation::update_artifact::builders::UpdateArtifactFluentBuilder::artifact_arn) / [`set_artifact_arn(Option<String>)`](crate::operation::update_artifact::builders::UpdateArtifactFluentBuilder::set_artifact_arn): <p>The Amazon Resource Name (ARN) of the artifact to update.</p>
    ///   - [`artifact_name(impl Into<String>)`](crate::operation::update_artifact::builders::UpdateArtifactFluentBuilder::artifact_name) / [`set_artifact_name(Option<String>)`](crate::operation::update_artifact::builders::UpdateArtifactFluentBuilder::set_artifact_name): <p>The new name for the artifact.</p>
    ///   - [`properties(HashMap<String, String>)`](crate::operation::update_artifact::builders::UpdateArtifactFluentBuilder::properties) / [`set_properties(Option<HashMap<String, String>>)`](crate::operation::update_artifact::builders::UpdateArtifactFluentBuilder::set_properties): <p>The new list of properties. Overwrites the current property list.</p>
    ///   - [`properties_to_remove(Vec<String>)`](crate::operation::update_artifact::builders::UpdateArtifactFluentBuilder::properties_to_remove) / [`set_properties_to_remove(Option<Vec<String>>)`](crate::operation::update_artifact::builders::UpdateArtifactFluentBuilder::set_properties_to_remove): <p>A list of properties to remove.</p>
    /// - On success, responds with [`UpdateArtifactOutput`](crate::operation::update_artifact::UpdateArtifactOutput) with field(s):
    ///   - [`artifact_arn(Option<String>)`](crate::operation::update_artifact::UpdateArtifactOutput::artifact_arn): <p>The Amazon Resource Name (ARN) of the artifact.</p>
    /// - On failure, responds with [`SdkError<UpdateArtifactError>`](crate::operation::update_artifact::UpdateArtifactError)
    pub fn update_artifact(
        &self,
    ) -> crate::operation::update_artifact::builders::UpdateArtifactFluentBuilder {
        crate::operation::update_artifact::builders::UpdateArtifactFluentBuilder::new(
            self.handle.clone(),
        )
    }
}