aws_sdk_datazone/client/delete_data_product.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteDataProduct`](crate::operation::delete_data_product::builders::DeleteDataProductFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_identifier(impl Into<String>)`](crate::operation::delete_data_product::builders::DeleteDataProductFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::delete_data_product::builders::DeleteDataProductFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the Amazon DataZone domain in which the data product is deleted.</p><br>
/// - [`identifier(impl Into<String>)`](crate::operation::delete_data_product::builders::DeleteDataProductFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_data_product::builders::DeleteDataProductFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the data product that is deleted.</p><br>
/// - On success, responds with [`DeleteDataProductOutput`](crate::operation::delete_data_product::DeleteDataProductOutput)
/// - On failure, responds with [`SdkError<DeleteDataProductError>`](crate::operation::delete_data_product::DeleteDataProductError)
pub fn delete_data_product(&self) -> crate::operation::delete_data_product::builders::DeleteDataProductFluentBuilder {
crate::operation::delete_data_product::builders::DeleteDataProductFluentBuilder::new(self.handle.clone())
}
}