1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListProfileObjectTypeTemplates`](crate::operation::list_profile_object_type_templates::builders::ListProfileObjectTypeTemplatesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_profile_object_type_templates::builders::ListProfileObjectTypeTemplatesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_profile_object_type_templates::builders::ListProfileObjectTypeTemplatesFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token from the previous ListObjectTypeTemplates API call.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_profile_object_type_templates::builders::ListProfileObjectTypeTemplatesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_profile_object_type_templates::builders::ListProfileObjectTypeTemplatesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of objects returned per page.</p><br>
    /// - On success, responds with [`ListProfileObjectTypeTemplatesOutput`](crate::operation::list_profile_object_type_templates::ListProfileObjectTypeTemplatesOutput) with field(s):
    ///   - [`items(Option<Vec::<ListProfileObjectTypeTemplateItem>>)`](crate::operation::list_profile_object_type_templates::ListProfileObjectTypeTemplatesOutput::items): <p>The list of ListProfileObjectType template instances.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_profile_object_type_templates::ListProfileObjectTypeTemplatesOutput::next_token): <p>The pagination token from the previous ListObjectTypeTemplates API call.</p>
    /// - On failure, responds with [`SdkError<ListProfileObjectTypeTemplatesError>`](crate::operation::list_profile_object_type_templates::ListProfileObjectTypeTemplatesError)
    pub fn list_profile_object_type_templates(
        &self,
    ) -> crate::operation::list_profile_object_type_templates::builders::ListProfileObjectTypeTemplatesFluentBuilder {
        crate::operation::list_profile_object_type_templates::builders::ListProfileObjectTypeTemplatesFluentBuilder::new(self.handle.clone())
    }
}