1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListServiceTemplates`](crate::operation::list_service_templates::builders::ListServiceTemplatesFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_service_templates::builders::ListServiceTemplatesFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_service_templates::builders::ListServiceTemplatesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_service_templates::builders::ListServiceTemplatesFluentBuilder::set_next_token):<br>required: **false**<br><p>A token that indicates the location of the next service template in the array of service templates, after the list of service templates previously requested.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_service_templates::builders::ListServiceTemplatesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_service_templates::builders::ListServiceTemplatesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of service templates to list.</p><br>
    /// - On success, responds with [`ListServiceTemplatesOutput`](crate::operation::list_service_templates::ListServiceTemplatesOutput) with field(s):
    ///   - [`next_token(Option<String>)`](crate::operation::list_service_templates::ListServiceTemplatesOutput::next_token): <p>A token that indicates the location of the next service template in the array of service templates, after the current requested list of service templates.</p>
    ///   - [`templates(Vec::<ServiceTemplateSummary>)`](crate::operation::list_service_templates::ListServiceTemplatesOutput::templates): <p>An array of service templates with detail data.</p>
    /// - On failure, responds with [`SdkError<ListServiceTemplatesError>`](crate::operation::list_service_templates::ListServiceTemplatesError)
    pub fn list_service_templates(&self) -> crate::operation::list_service_templates::builders::ListServiceTemplatesFluentBuilder {
        crate::operation::list_service_templates::builders::ListServiceTemplatesFluentBuilder::new(self.handle.clone())
    }
}