Skip to main content

aws_sdk_cloudextensions/client/
list_profiles.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`ListProfiles`](crate::operation::list_profiles::builders::ListProfilesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_profiles::builders::ListProfilesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`name(impl Into<String>)`](crate::operation::list_profiles::builders::ListProfilesFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::list_profiles::builders::ListProfilesFluentBuilder::set_name):<br>required: **false**<br>Optional filter to match profiles by name.<br>
8    ///   - [`max_results(i32)`](crate::operation::list_profiles::builders::ListProfilesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_profiles::builders::ListProfilesFluentBuilder::set_max_results):<br>required: **false**<br>The maximum number of profiles to return in one page.<br>
9    ///   - [`next_token(impl Into<String>)`](crate::operation::list_profiles::builders::ListProfilesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_profiles::builders::ListProfilesFluentBuilder::set_next_token):<br>required: **false**<br>The token returned by a previous call, to retrieve the next page of results.<br>
10    /// - On success, responds with [`ListProfilesOutput`](crate::operation::list_profiles::ListProfilesOutput) with field(s):
11    ///   - [`items(Vec::<ProfileSummary>)`](crate::operation::list_profiles::ListProfilesOutput::items): The profiles in this page of results.
12    ///   - [`next_token(Option<String>)`](crate::operation::list_profiles::ListProfilesOutput::next_token): A token to retrieve the next page of results. Absent when there are no more results.
13    /// - On failure, responds with [`SdkError<ListProfilesError>`](crate::operation::list_profiles::ListProfilesError)
14    pub fn list_profiles(&self) -> crate::operation::list_profiles::builders::ListProfilesFluentBuilder {
15        crate::operation::list_profiles::builders::ListProfilesFluentBuilder::new(self.handle.clone())
16    }
17}