aws-sdk-assurance 1.0.0

AWS SDK for AWS Assurance
Documentation
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 [`ListOutboundInvitations`](crate::operation::list_outbound_invitations::builders::ListOutboundInvitationsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_outbound_invitations::builders::ListOutboundInvitationsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`environment_arn(impl Into<String>)`](crate::operation::list_outbound_invitations::builders::ListOutboundInvitationsFluentBuilder::environment_arn) / [`set_environment_arn(Option<String>)`](crate::operation::list_outbound_invitations::builders::ListOutboundInvitationsFluentBuilder::set_environment_arn):<br>required: **true**<br><p>The ARN of this governance environment.</p><br>
    ///   - [`status(InvitationStatus)`](crate::operation::list_outbound_invitations::builders::ListOutboundInvitationsFluentBuilder::status) / [`set_status(Option<InvitationStatus>)`](crate::operation::list_outbound_invitations::builders::ListOutboundInvitationsFluentBuilder::set_status):<br>required: **false**<br><p>The lifecycle state to filter results by. When specified, the operation returns only invitations in this state.</p><br>
    ///   - [`max_results(i32)`](crate::operation::list_outbound_invitations::builders::ListOutboundInvitationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_outbound_invitations::builders::ListOutboundInvitationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of records to return on one page. If you omit it, the operation uses its default page size. If more records are available, use the <code>nextToken</code> value from the response to get the next page.</p><br>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_outbound_invitations::builders::ListOutboundInvitationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_outbound_invitations::builders::ListOutboundInvitationsFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.</p><br>
    /// - On success, responds with [`ListOutboundInvitationsOutput`](crate::operation::list_outbound_invitations::ListOutboundInvitationsOutput) with field(s):
    ///   - [`invitation_summaries(Vec::<InvitationSummary>)`](crate::operation::list_outbound_invitations::ListOutboundInvitationsOutput::invitation_summaries): <p>The invitations extended from the environment, for this page of results.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_outbound_invitations::ListOutboundInvitationsOutput::next_token): <p>The pagination token returned by a previous request. Use it to retrieve the next page of results. If the value is null, there are no more results to return.</p>
    /// - On failure, responds with [`SdkError<ListOutboundInvitationsError>`](crate::operation::list_outbound_invitations::ListOutboundInvitationsError)
    pub fn list_outbound_invitations(&self) -> crate::operation::list_outbound_invitations::builders::ListOutboundInvitationsFluentBuilder {
        crate::operation::list_outbound_invitations::builders::ListOutboundInvitationsFluentBuilder::new(self.handle.clone())
    }
}