aws_sdk_route53profiles/client/
list_profile_associations.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 [`ListProfileAssociations`](crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`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>
8    ///   - [`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>
9    ///   - [`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>
10    ///   - [`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>
11    /// - On success, responds with [`ListProfileAssociationsOutput`](crate::operation::list_profile_associations::ListProfileAssociationsOutput) with field(s):
12    ///   - [`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>
13    ///   - [`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>
14    /// - On failure, responds with [`SdkError<ListProfileAssociationsError>`](crate::operation::list_profile_associations::ListProfileAssociationsError)
15    pub fn list_profile_associations(&self) -> crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder {
16        crate::operation::list_profile_associations::builders::ListProfileAssociationsFluentBuilder::new(self.handle.clone())
17    }
18}