aws_sdk_datazone/client/
start_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
22
23
24
25
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`StartMetadataGenerationRun`](crate::operation::start_metadata_generation_run::builders::StartMetadataGenerationRunFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::start_metadata_generation_run::builders::StartMetadataGenerationRunFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::start_metadata_generation_run::builders::StartMetadataGenerationRunFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain where you want to start a metadata generation run.</p><br>
    ///   - [`r#type(MetadataGenerationRunType)`](crate::operation::start_metadata_generation_run::builders::StartMetadataGenerationRunFluentBuilder::type) / [`set_type(Option<MetadataGenerationRunType>)`](crate::operation::start_metadata_generation_run::builders::StartMetadataGenerationRunFluentBuilder::set_type):<br>required: **true**<br><p>The type of the metadata generation run.</p><br>
    ///   - [`target(MetadataGenerationRunTarget)`](crate::operation::start_metadata_generation_run::builders::StartMetadataGenerationRunFluentBuilder::target) / [`set_target(Option<MetadataGenerationRunTarget>)`](crate::operation::start_metadata_generation_run::builders::StartMetadataGenerationRunFluentBuilder::set_target):<br>required: **true**<br><p>The asset for which you want to start a metadata generation run.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::start_metadata_generation_run::builders::StartMetadataGenerationRunFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::start_metadata_generation_run::builders::StartMetadataGenerationRunFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure idempotency of the request. This field is automatically populated if not provided.</p><br>
    ///   - [`owning_project_identifier(impl Into<String>)`](crate::operation::start_metadata_generation_run::builders::StartMetadataGenerationRunFluentBuilder::owning_project_identifier) / [`set_owning_project_identifier(Option<String>)`](crate::operation::start_metadata_generation_run::builders::StartMetadataGenerationRunFluentBuilder::set_owning_project_identifier):<br>required: **true**<br><p>The ID of the project that owns the asset for which you want to start a metadata generation run.</p><br>
    /// - On success, responds with [`StartMetadataGenerationRunOutput`](crate::operation::start_metadata_generation_run::StartMetadataGenerationRunOutput) with field(s):
    ///   - [`domain_id(String)`](crate::operation::start_metadata_generation_run::StartMetadataGenerationRunOutput::domain_id): <p>The ID of the Amazon DataZone domain in which the metadata generation run was started.</p>
    ///   - [`id(String)`](crate::operation::start_metadata_generation_run::StartMetadataGenerationRunOutput::id): <p>The ID of the metadata generation run.</p>
    ///   - [`status(Option<MetadataGenerationRunStatus>)`](crate::operation::start_metadata_generation_run::StartMetadataGenerationRunOutput::status): <p>The status of the metadata generation run.</p>
    ///   - [`r#type(Option<MetadataGenerationRunType>)`](crate::operation::start_metadata_generation_run::StartMetadataGenerationRunOutput::type): <p>The type of the metadata generation run.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::start_metadata_generation_run::StartMetadataGenerationRunOutput::created_at): <p>The timestamp at which the metadata generation run was started.</p>
    ///   - [`created_by(Option<String>)`](crate::operation::start_metadata_generation_run::StartMetadataGenerationRunOutput::created_by): <p>The ID of the user who started the metadata generation run.</p>
    ///   - [`owning_project_id(Option<String>)`](crate::operation::start_metadata_generation_run::StartMetadataGenerationRunOutput::owning_project_id): <p>The ID of the project that owns the asset for which the metadata generation run was started.</p>
    /// - On failure, responds with [`SdkError<StartMetadataGenerationRunError>`](crate::operation::start_metadata_generation_run::StartMetadataGenerationRunError)
    pub fn start_metadata_generation_run(
        &self,
    ) -> crate::operation::start_metadata_generation_run::builders::StartMetadataGenerationRunFluentBuilder {
        crate::operation::start_metadata_generation_run::builders::StartMetadataGenerationRunFluentBuilder::new(self.handle.clone())
    }
}