aws-sdk-route53profiles 1.4.0

AWS SDK for Route 53 Profiles
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListProfileResourceAssociations`](crate::operation::list_profile_resource_associations::builders::ListProfileResourceAssociationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_profile_resource_associations::builders::ListProfileResourceAssociationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`profile_id(impl Into<String>)`](crate::operation::list_profile_resource_associations::builders::ListProfileResourceAssociationsFluentBuilder::profile_id) / [`set_profile_id(Option<String>)`](crate::operation::list_profile_resource_associations::builders::ListProfileResourceAssociationsFluentBuilder::set_profile_id):<br>required: **true**<br><p>The ID of the Profile.</p><br>
    ///   - [`resource_type(impl Into<String>)`](crate::operation::list_profile_resource_associations::builders::ListProfileResourceAssociationsFluentBuilder::resource_type) / [`set_resource_type(Option<String>)`](crate::operation::list_profile_resource_associations::builders::ListProfileResourceAssociationsFluentBuilder::set_resource_type):<br>required: **false**<br><p>ID of a resource if you want information on only one type.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_profile_resource_associations::builders::ListProfileResourceAssociationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_profile_resource_associations::builders::ListProfileResourceAssociationsFluentBuilder::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_resource_associations::builders::ListProfileResourceAssociationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_profile_resource_associations::builders::ListProfileResourceAssociationsFluentBuilder::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 [`ListProfileResourceAssociationsOutput`](crate::operation::list_profile_resource_associations::ListProfileResourceAssociationsOutput) with field(s):
    ///   - [`profile_resource_associations(Option<Vec::<ProfileResourceAssociation>>)`](crate::operation::list_profile_resource_associations::ListProfileResourceAssociationsOutput::profile_resource_associations): <p>Information about the profile resource association that you specified in a <code>GetProfileResourceAssociation</code> request.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_profile_resource_associations::ListProfileResourceAssociationsOutput::next_token): <p>If more than <code>MaxResults</code> resource associations match the specified criteria, you can submit another <code>ListProfileResourceAssociations</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<ListProfileResourceAssociationsError>`](crate::operation::list_profile_resource_associations::ListProfileResourceAssociationsError)
    pub fn list_profile_resource_associations(
        &self,
    ) -> crate::operation::list_profile_resource_associations::builders::ListProfileResourceAssociationsFluentBuilder {
        crate::operation::list_profile_resource_associations::builders::ListProfileResourceAssociationsFluentBuilder::new(self.handle.clone())
    }
}