aws_sdk_customerprofiles/client/list_segment_definitions.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListSegmentDefinitions`](crate::operation::list_segment_definitions::builders::ListSegmentDefinitionsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_segment_definitions::builders::ListSegmentDefinitionsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`domain_name(impl Into<String>)`](crate::operation::list_segment_definitions::builders::ListSegmentDefinitionsFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::list_segment_definitions::builders::ListSegmentDefinitionsFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique identifier of the domain.</p><br>
/// - [`max_results(i32)`](crate::operation::list_segment_definitions::builders::ListSegmentDefinitionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_segment_definitions::builders::ListSegmentDefinitionsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of objects returned per page.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_segment_definitions::builders::ListSegmentDefinitionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_segment_definitions::builders::ListSegmentDefinitionsFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token from the previous call.</p><br>
/// - On success, responds with [`ListSegmentDefinitionsOutput`](crate::operation::list_segment_definitions::ListSegmentDefinitionsOutput) with field(s):
/// - [`next_token(Option<String>)`](crate::operation::list_segment_definitions::ListSegmentDefinitionsOutput::next_token): <p>The pagination token from the previous call.</p>
/// - [`items(Option<Vec::<SegmentDefinitionItem>>)`](crate::operation::list_segment_definitions::ListSegmentDefinitionsOutput::items): <p>List of segment definitions.</p>
/// - On failure, responds with [`SdkError<ListSegmentDefinitionsError>`](crate::operation::list_segment_definitions::ListSegmentDefinitionsError)
pub fn list_segment_definitions(&self) -> crate::operation::list_segment_definitions::builders::ListSegmentDefinitionsFluentBuilder {
crate::operation::list_segment_definitions::builders::ListSegmentDefinitionsFluentBuilder::new(self.handle.clone())
}
}