aws_sdk_customerprofiles/client/
get_segment_definition.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetSegmentDefinition`](crate::operation::get_segment_definition::builders::GetSegmentDefinitionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain_name(impl Into<String>)`](crate::operation::get_segment_definition::builders::GetSegmentDefinitionFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::get_segment_definition::builders::GetSegmentDefinitionFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain.</p><br>
    ///   - [`segment_definition_name(impl Into<String>)`](crate::operation::get_segment_definition::builders::GetSegmentDefinitionFluentBuilder::segment_definition_name) / [`set_segment_definition_name(Option<String>)`](crate::operation::get_segment_definition::builders::GetSegmentDefinitionFluentBuilder::set_segment_definition_name):<br>required: **true**<br><p>The unique name of the segment definition.</p><br>
    /// - On success, responds with [`GetSegmentDefinitionOutput`](crate::operation::get_segment_definition::GetSegmentDefinitionOutput) with field(s):
    ///   - [`segment_definition_name(Option<String>)`](crate::operation::get_segment_definition::GetSegmentDefinitionOutput::segment_definition_name): <p>The name of the segment definition.</p>
    ///   - [`display_name(Option<String>)`](crate::operation::get_segment_definition::GetSegmentDefinitionOutput::display_name): <p>The display name of the segment definition.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_segment_definition::GetSegmentDefinitionOutput::description): <p>The description of the segment definition.</p>
    ///   - [`segment_groups(Option<SegmentGroup>)`](crate::operation::get_segment_definition::GetSegmentDefinitionOutput::segment_groups): <p>The segment criteria associated with this definition.</p>
    ///   - [`segment_definition_arn(String)`](crate::operation::get_segment_definition::GetSegmentDefinitionOutput::segment_definition_arn): <p>The arn of the segment definition.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_segment_definition::GetSegmentDefinitionOutput::created_at): <p>The timestamp of when the segment definition was created.</p>
    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::get_segment_definition::GetSegmentDefinitionOutput::tags): <p>The tags used to organize, track, or control access for this resource.</p>
    /// - On failure, responds with [`SdkError<GetSegmentDefinitionError>`](crate::operation::get_segment_definition::GetSegmentDefinitionError)
    pub fn get_segment_definition(&self) -> crate::operation::get_segment_definition::builders::GetSegmentDefinitionFluentBuilder {
        crate::operation::get_segment_definition::builders::GetSegmentDefinitionFluentBuilder::new(self.handle.clone())
    }
}