aws_sdk_ram/client/get_resource_share_invitations.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetResourceShareInvitations`](crate::operation::get_resource_share_invitations::builders::GetResourceShareInvitationsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::get_resource_share_invitations::builders::GetResourceShareInvitationsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`resource_share_invitation_arns(impl Into<String>)`](crate::operation::get_resource_share_invitations::builders::GetResourceShareInvitationsFluentBuilder::resource_share_invitation_arns) / [`set_resource_share_invitation_arns(Option<Vec::<String>>)`](crate::operation::get_resource_share_invitations::builders::GetResourceShareInvitationsFluentBuilder::set_resource_share_invitation_arns):<br>required: **false**<br><p>Specifies the <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a> of the resource share invitations you want information about.</p><br>
/// - [`resource_share_arns(impl Into<String>)`](crate::operation::get_resource_share_invitations::builders::GetResourceShareInvitationsFluentBuilder::resource_share_arns) / [`set_resource_share_arns(Option<Vec::<String>>)`](crate::operation::get_resource_share_invitations::builders::GetResourceShareInvitationsFluentBuilder::set_resource_share_arns):<br>required: **false**<br><p>Specifies that you want details about invitations only for the resource shares described by this list of <a href="https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html">Amazon Resource Names (ARNs)</a></p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::get_resource_share_invitations::builders::GetResourceShareInvitationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_resource_share_invitations::builders::GetResourceShareInvitationsFluentBuilder::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::get_resource_share_invitations::builders::GetResourceShareInvitationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_resource_share_invitations::builders::GetResourceShareInvitationsFluentBuilder::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 [`GetResourceShareInvitationsOutput`](crate::operation::get_resource_share_invitations::GetResourceShareInvitationsOutput) with field(s):
/// - [`resource_share_invitations(Option<Vec::<ResourceShareInvitation>>)`](crate::operation::get_resource_share_invitations::GetResourceShareInvitationsOutput::resource_share_invitations): <p>An array of objects that contain the details about the invitations.</p>
/// - [`next_token(Option<String>)`](crate::operation::get_resource_share_invitations::GetResourceShareInvitationsOutput::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<GetResourceShareInvitationsError>`](crate::operation::get_resource_share_invitations::GetResourceShareInvitationsError)
pub fn get_resource_share_invitations(
&self,
) -> crate::operation::get_resource_share_invitations::builders::GetResourceShareInvitationsFluentBuilder {
crate::operation::get_resource_share_invitations::builders::GetResourceShareInvitationsFluentBuilder::new(self.handle.clone())
}
}