aws_sdk_sagemaker/client/
update_artifact.rs

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