1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListProfileAssociations`](crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`resource_id(impl Into<String>)`](crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder::resource_id) / [`set_resource_id(Option<String>)`](crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder::set_resource_id):<br>required: **false**<br><p>ID of the VPC.</p><br>
    ///   - [`profile_id(impl Into<String>)`](crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder::profile_id) / [`set_profile_id(Option<String>)`](crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder::set_profile_id):<br>required: **false**<br><p>ID of the Profile.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of objects that you want to return for this request. If more objects are available, in the response, a <code>NextToken</code> value, which you can use in a subsequent call to get the next batch of objects, is provided.</p> <p>If you don't specify a value for <code>MaxResults</code>, up to 100 objects are returned.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder::set_next_token):<br>required: **false**<br><p>For the first call to this list request, omit this value.</p> <p>When you request a list of objects, at most the number of objects specified by <code>MaxResults</code> is returned. If more objects are available for retrieval, a <code>NextToken</code> value is returned in the response. To retrieve the next batch of objects, use the token that was returned for the prior request in your next request.</p><br>
    /// - On success, responds with [`ListProfileAssociationsOutput`](crate::operation::list_profile_associations::ListProfileAssociationsOutput) with field(s):
    ///   - [`profile_associations(Option<Vec::<ProfileAssociation>>)`](crate::operation::list_profile_associations::ListProfileAssociationsOutput::profile_associations): <p>A complex type that containts settings information about the profile's VPC associations.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_profile_associations::ListProfileAssociationsOutput::next_token): <p>If more than <code>MaxResults</code> profile associations match the specified criteria, you can submit another <code>ListProfileAssociations</code> request to get the next group of results. In the next request, specify the value of <code>NextToken</code> from the previous response.</p>
    /// - On failure, responds with [`SdkError<ListProfileAssociationsError>`](crate::operation::list_profile_associations::ListProfileAssociationsError)
    pub fn list_profile_associations(&self) -> crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder {
        crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder::new(self.handle.clone())
    }
}