aws-sdk-pinpoint 0.28.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 [`GetSegment`](crate::operation::get_segment::builders::GetSegmentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`application_id(impl ::std::convert::Into<String>)`](crate::operation::get_segment::builders::GetSegmentFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_segment::builders::GetSegmentFluentBuilder::set_application_id): <p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p>
    ///   - [`segment_id(impl ::std::convert::Into<String>)`](crate::operation::get_segment::builders::GetSegmentFluentBuilder::segment_id) / [`set_segment_id(Option<String>)`](crate::operation::get_segment::builders::GetSegmentFluentBuilder::set_segment_id): <p>The unique identifier for the segment.</p>
    /// - On success, responds with [`GetSegmentOutput`](crate::operation::get_segment::GetSegmentOutput) with field(s):
    ///   - [`segment_response(Option<SegmentResponse>)`](crate::operation::get_segment::GetSegmentOutput::segment_response): <p>Provides information about the configuration, dimension, and other settings for a segment.</p>
    /// - On failure, responds with [`SdkError<GetSegmentError>`](crate::operation::get_segment::GetSegmentError)
    pub fn get_segment(&self) -> crate::operation::get_segment::builders::GetSegmentFluentBuilder {
        crate::operation::get_segment::builders::GetSegmentFluentBuilder::new(self.handle.clone())
    }
}