1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteArtifact`](crate::operation::delete_artifact::builders::DeleteArtifactFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`artifact_arn(impl Into<String>)`](crate::operation::delete_artifact::builders::DeleteArtifactFluentBuilder::artifact_arn) / [`set_artifact_arn(Option<String>)`](crate::operation::delete_artifact::builders::DeleteArtifactFluentBuilder::set_artifact_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the artifact to delete.</p><br>
    ///   - [`source(ArtifactSource)`](crate::operation::delete_artifact::builders::DeleteArtifactFluentBuilder::source) / [`set_source(Option<ArtifactSource>)`](crate::operation::delete_artifact::builders::DeleteArtifactFluentBuilder::set_source):<br>required: **false**<br><p>The URI of the source.</p><br>
    /// - On success, responds with [`DeleteArtifactOutput`](crate::operation::delete_artifact::DeleteArtifactOutput) with field(s):
    ///   - [`artifact_arn(Option<String>)`](crate::operation::delete_artifact::DeleteArtifactOutput::artifact_arn): <p>The Amazon Resource Name (ARN) of the artifact.</p>
    /// - On failure, responds with [`SdkError<DeleteArtifactError>`](crate::operation::delete_artifact::DeleteArtifactError)
    pub fn delete_artifact(&self) -> crate::operation::delete_artifact::builders::DeleteArtifactFluentBuilder {
        crate::operation::delete_artifact::builders::DeleteArtifactFluentBuilder::new(self.handle.clone())
    }
}