aws_sdk_customerprofiles/client/delete_segment_definition.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteSegmentDefinition`](crate::operation::delete_segment_definition::builders::DeleteSegmentDefinitionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`domain_name(impl Into<String>)`](crate::operation::delete_segment_definition::builders::DeleteSegmentDefinitionFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::delete_segment_definition::builders::DeleteSegmentDefinitionFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
/// - [`segment_definition_name(impl Into<String>)`](crate::operation::delete_segment_definition::builders::DeleteSegmentDefinitionFluentBuilder::segment_definition_name) / [`set_segment_definition_name(Option<String>)`](crate::operation::delete_segment_definition::builders::DeleteSegmentDefinitionFluentBuilder::set_segment_definition_name):<br>required: **true**<br><p>The unique name of the segment definition.</p><br>
/// - On success, responds with [`DeleteSegmentDefinitionOutput`](crate::operation::delete_segment_definition::DeleteSegmentDefinitionOutput) with field(s):
/// - [`message(Option<String>)`](crate::operation::delete_segment_definition::DeleteSegmentDefinitionOutput::message): <p>A message that indicates the delete request is done.</p>
/// - On failure, responds with [`SdkError<DeleteSegmentDefinitionError>`](crate::operation::delete_segment_definition::DeleteSegmentDefinitionError)
pub fn delete_segment_definition(&self) -> crate::operation::delete_segment_definition::builders::DeleteSegmentDefinitionFluentBuilder {
crate::operation::delete_segment_definition::builders::DeleteSegmentDefinitionFluentBuilder::new(self.handle.clone())
}
}