aws_sdk_datazone/client/
get_metadata_generation_run.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetMetadataGenerationRun`](crate::operation::get_metadata_generation_run::builders::GetMetadataGenerationRunFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::get_metadata_generation_run::builders::GetMetadataGenerationRunFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::get_metadata_generation_run::builders::GetMetadataGenerationRunFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain the metadata generation run of which you want to get.</p><br>
    ///   - [`identifier(impl Into<String>)`](crate::operation::get_metadata_generation_run::builders::GetMetadataGenerationRunFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_metadata_generation_run::builders::GetMetadataGenerationRunFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the metadata generation run.</p><br>
    /// - On success, responds with [`GetMetadataGenerationRunOutput`](crate::operation::get_metadata_generation_run::GetMetadataGenerationRunOutput) with field(s):
    ///   - [`domain_id(String)`](crate::operation::get_metadata_generation_run::GetMetadataGenerationRunOutput::domain_id): <p>The ID of the Amazon DataZone domain the metadata generation run of which you want to get.</p>
    ///   - [`id(String)`](crate::operation::get_metadata_generation_run::GetMetadataGenerationRunOutput::id): <p>The ID of the metadata generation run.</p>
    ///   - [`target(Option<MetadataGenerationRunTarget>)`](crate::operation::get_metadata_generation_run::GetMetadataGenerationRunOutput::target): <p>The asset for which you're generating metadata.</p>
    ///   - [`status(Option<MetadataGenerationRunStatus>)`](crate::operation::get_metadata_generation_run::GetMetadataGenerationRunOutput::status): <p>The status of the metadata generation run.</p>
    ///   - [`r#type(Option<MetadataGenerationRunType>)`](crate::operation::get_metadata_generation_run::GetMetadataGenerationRunOutput::type): <p>The type of metadata generation run.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_metadata_generation_run::GetMetadataGenerationRunOutput::created_at): <p>The timestamp of when the metadata generation run was start.</p>
    ///   - [`created_by(Option<String>)`](crate::operation::get_metadata_generation_run::GetMetadataGenerationRunOutput::created_by): <p>The Amazon DataZone user who started the metadata generation run.</p>
    ///   - [`owning_project_id(String)`](crate::operation::get_metadata_generation_run::GetMetadataGenerationRunOutput::owning_project_id): <p>The ID of the project that owns the assets for which you're running metadata generation.</p>
    /// - On failure, responds with [`SdkError<GetMetadataGenerationRunError>`](crate::operation::get_metadata_generation_run::GetMetadataGenerationRunError)
    pub fn get_metadata_generation_run(&self) -> crate::operation::get_metadata_generation_run::builders::GetMetadataGenerationRunFluentBuilder {
        crate::operation::get_metadata_generation_run::builders::GetMetadataGenerationRunFluentBuilder::new(self.handle.clone())
    }
}