1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateArtifact`](crate::operation::create_artifact::builders::CreateArtifactFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`artifact_name(impl Into<String>)`](crate::operation::create_artifact::builders::CreateArtifactFluentBuilder::artifact_name) / [`set_artifact_name(Option<String>)`](crate::operation::create_artifact::builders::CreateArtifactFluentBuilder::set_artifact_name): <p>The name of the artifact. Must be unique to your account in an Amazon Web Services Region.</p>
    ///   - [`source(ArtifactSource)`](crate::operation::create_artifact::builders::CreateArtifactFluentBuilder::source) / [`set_source(Option<ArtifactSource>)`](crate::operation::create_artifact::builders::CreateArtifactFluentBuilder::set_source): <p>The ID, ID type, and URI of the source.</p>
    ///   - [`artifact_type(impl Into<String>)`](crate::operation::create_artifact::builders::CreateArtifactFluentBuilder::artifact_type) / [`set_artifact_type(Option<String>)`](crate::operation::create_artifact::builders::CreateArtifactFluentBuilder::set_artifact_type): <p>The artifact type.</p>
    ///   - [`properties(HashMap<String, String>)`](crate::operation::create_artifact::builders::CreateArtifactFluentBuilder::properties) / [`set_properties(Option<HashMap<String, String>>)`](crate::operation::create_artifact::builders::CreateArtifactFluentBuilder::set_properties): <p>A list of properties to add to the artifact.</p>
    ///   - [`metadata_properties(MetadataProperties)`](crate::operation::create_artifact::builders::CreateArtifactFluentBuilder::metadata_properties) / [`set_metadata_properties(Option<MetadataProperties>)`](crate::operation::create_artifact::builders::CreateArtifactFluentBuilder::set_metadata_properties): <p>Metadata properties of the tracking entity, trial, or trial component.</p>
    ///   - [`tags(Vec<Tag>)`](crate::operation::create_artifact::builders::CreateArtifactFluentBuilder::tags) / [`set_tags(Option<Vec<Tag>>)`](crate::operation::create_artifact::builders::CreateArtifactFluentBuilder::set_tags): <p>A list of tags to apply to the artifact.</p>
    /// - On success, responds with [`CreateArtifactOutput`](crate::operation::create_artifact::CreateArtifactOutput) with field(s):
    ///   - [`artifact_arn(Option<String>)`](crate::operation::create_artifact::CreateArtifactOutput::artifact_arn): <p>The Amazon Resource Name (ARN) of the artifact.</p>
    /// - On failure, responds with [`SdkError<CreateArtifactError>`](crate::operation::create_artifact::CreateArtifactError)
    pub fn create_artifact(
        &self,
    ) -> crate::operation::create_artifact::builders::CreateArtifactFluentBuilder {
        crate::operation::create_artifact::builders::CreateArtifactFluentBuilder::new(
            self.handle.clone(),
        )
    }
}