aws_sdk_datazone/client/cancel_metadata_generation_run.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`CancelMetadataGenerationRun`](crate::operation::cancel_metadata_generation_run::builders::CancelMetadataGenerationRunFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::cancel_metadata_generation_run::builders::CancelMetadataGenerationRunFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::cancel_metadata_generation_run::builders::CancelMetadataGenerationRunFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which the metadata generation run is to be cancelled.</p><br>
/// - [`identifier(impl Into<String>)`](crate::operation::cancel_metadata_generation_run::builders::CancelMetadataGenerationRunFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::cancel_metadata_generation_run::builders::CancelMetadataGenerationRunFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the metadata generation run.</p><br>
/// - On success, responds with [`CancelMetadataGenerationRunOutput`](crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunOutput)
/// - On failure, responds with [`SdkError<CancelMetadataGenerationRunError>`](crate::operation::cancel_metadata_generation_run::CancelMetadataGenerationRunError)
pub fn cancel_metadata_generation_run(
&self,
) -> crate::operation::cancel_metadata_generation_run::builders::CancelMetadataGenerationRunFluentBuilder {
crate::operation::cancel_metadata_generation_run::builders::CancelMetadataGenerationRunFluentBuilder::new(self.handle.clone())
}
}