aws_sdk_pinpoint/client/delete_segment.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteSegment`](crate::operation::delete_segment::builders::DeleteSegmentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`application_id(impl Into<String>)`](crate::operation::delete_segment::builders::DeleteSegmentFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::delete_segment::builders::DeleteSegmentFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p><br>
7 /// - [`segment_id(impl Into<String>)`](crate::operation::delete_segment::builders::DeleteSegmentFluentBuilder::segment_id) / [`set_segment_id(Option<String>)`](crate::operation::delete_segment::builders::DeleteSegmentFluentBuilder::set_segment_id):<br>required: **true**<br><p>The unique identifier for the segment.</p><br>
8 /// - On success, responds with [`DeleteSegmentOutput`](crate::operation::delete_segment::DeleteSegmentOutput) with field(s):
9 /// - [`segment_response(Option<SegmentResponse>)`](crate::operation::delete_segment::DeleteSegmentOutput::segment_response): <p>Provides information about the configuration, dimension, and other settings for a segment.</p>
10 /// - On failure, responds with [`SdkError<DeleteSegmentError>`](crate::operation::delete_segment::DeleteSegmentError)
11 pub fn delete_segment(&self) -> crate::operation::delete_segment::builders::DeleteSegmentFluentBuilder {
12 crate::operation::delete_segment::builders::DeleteSegmentFluentBuilder::new(self.handle.clone())
13 }
14}