aws-sdk-pinpoint 1.94.0

AWS SDK for Amazon Pinpoint
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteSegment`](crate::operation::delete_segment::builders::DeleteSegmentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteSegmentOutput`](crate::operation::delete_segment::DeleteSegmentOutput) with field(s):
    ///   - [`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>
    /// - On failure, responds with [`SdkError<DeleteSegmentError>`](crate::operation::delete_segment::DeleteSegmentError)
    pub fn delete_segment(&self) -> crate::operation::delete_segment::builders::DeleteSegmentFluentBuilder {
        crate::operation::delete_segment::builders::DeleteSegmentFluentBuilder::new(self.handle.clone())
    }
}