aws-sdk-ram 1.100.0

AWS SDK for AWS Resource Access Manager
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListReplacePermissionAssociationsWork`](crate::operation::list_replace_permission_associations_work::builders::ListReplacePermissionAssociationsWorkFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_replace_permission_associations_work::builders::ListReplacePermissionAssociationsWorkFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`work_ids(impl Into<String>)`](crate::operation::list_replace_permission_associations_work::builders::ListReplacePermissionAssociationsWorkFluentBuilder::work_ids) / [`set_work_ids(Option<Vec::<String>>)`](crate::operation::list_replace_permission_associations_work::builders::ListReplacePermissionAssociationsWorkFluentBuilder::set_work_ids):<br>required: **false**<br><p>A list of IDs. These values come from the <code>id</code>field of the <code>replacePermissionAssociationsWork</code>structure returned by the <code>ReplacePermissionAssociations</code> operation.</p><br>
    ///   - [`status(ReplacePermissionAssociationsWorkStatus)`](crate::operation::list_replace_permission_associations_work::builders::ListReplacePermissionAssociationsWorkFluentBuilder::status) / [`set_status(Option<ReplacePermissionAssociationsWorkStatus>)`](crate::operation::list_replace_permission_associations_work::builders::ListReplacePermissionAssociationsWorkFluentBuilder::set_status):<br>required: **false**<br><p>Specifies that you want to see only the details about requests with a status that matches this value.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_replace_permission_associations_work::builders::ListReplacePermissionAssociationsWorkFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_replace_permission_associations_work::builders::ListReplacePermissionAssociationsWorkFluentBuilder::set_next_token):<br>required: **false**<br><p>Specifies that you want to receive the next page of results. Valid only if you received a <code>NextToken</code> response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's <code>NextToken</code> response to request the next page of results.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_replace_permission_associations_work::builders::ListReplacePermissionAssociationsWorkFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_replace_permission_associations_work::builders::ListReplacePermissionAssociationsWorkFluentBuilder::set_max_results):<br>required: **false**<br><p>Specifies the total number of results that you want included on each page of the response. If you do not include this parameter, it defaults to a value that is specific to the operation. If additional items exist beyond the number you specify, the <code>NextToken</code> response element is returned with a value (not null). Include the specified value as the <code>NextToken</code> request parameter in the next call to the operation to get the next part of the results. Note that the service might return fewer results than the maximum even when there are more results available. You should check <code>NextToken</code> after every operation to ensure that you receive all of the results.</p><br>
    /// - On success, responds with [`ListReplacePermissionAssociationsWorkOutput`](crate::operation::list_replace_permission_associations_work::ListReplacePermissionAssociationsWorkOutput) with field(s):
    ///   - [`replace_permission_associations_works(Option<Vec::<ReplacePermissionAssociationsWork>>)`](crate::operation::list_replace_permission_associations_work::ListReplacePermissionAssociationsWorkOutput::replace_permission_associations_works): <p>An array of data structures that provide details of the matching work IDs.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_replace_permission_associations_work::ListReplacePermissionAssociationsWorkOutput::next_token): <p>If present, this value indicates that more output is available than is included in the current response. Use this value in the <code>NextToken</code> request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until the <code>NextToken</code> response element comes back as <code>null</code>. This indicates that this is the last page of results.</p>
    /// - On failure, responds with [`SdkError<ListReplacePermissionAssociationsWorkError>`](crate::operation::list_replace_permission_associations_work::ListReplacePermissionAssociationsWorkError)
    pub fn list_replace_permission_associations_work(
        &self,
    ) -> crate::operation::list_replace_permission_associations_work::builders::ListReplacePermissionAssociationsWorkFluentBuilder {
        crate::operation::list_replace_permission_associations_work::builders::ListReplacePermissionAssociationsWorkFluentBuilder::new(
            self.handle.clone(),
        )
    }
}