Struct aws_sdk_macie2::client::fluent_builders::AcceptInvitation
source · [−]pub struct AcceptInvitation { /* private fields */ }
Expand description
Fluent builder constructing a request to AcceptInvitation
.
Accepts an Amazon Macie membership invitation that was received from a specific account.
Implementations
sourceimpl AcceptInvitation
impl AcceptInvitation
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AcceptInvitation, AwsResponseRetryClassifier>, SdkError<AcceptInvitationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AcceptInvitation, AwsResponseRetryClassifier>, SdkError<AcceptInvitationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AcceptInvitationOutput, SdkError<AcceptInvitationError>>
pub async fn send(
self
) -> Result<AcceptInvitationOutput, SdkError<AcceptInvitationError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn administrator_account_id(self, input: impl Into<String>) -> Self
pub fn administrator_account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account ID for the account that sent the invitation.
sourcepub fn set_administrator_account_id(self, input: Option<String>) -> Self
pub fn set_administrator_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account ID for the account that sent the invitation.
sourcepub fn invitation_id(self, input: impl Into<String>) -> Self
pub fn invitation_id(self, input: impl Into<String>) -> Self
The unique identifier for the invitation to accept.
sourcepub fn set_invitation_id(self, input: Option<String>) -> Self
pub fn set_invitation_id(self, input: Option<String>) -> Self
The unique identifier for the invitation to accept.
sourcepub fn master_account(self, input: impl Into<String>) -> Self
pub fn master_account(self, input: impl Into<String>) -> Self
(Deprecated) The Amazon Web Services account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
sourcepub fn set_master_account(self, input: Option<String>) -> Self
pub fn set_master_account(self, input: Option<String>) -> Self
(Deprecated) The Amazon Web Services account ID for the account that sent the invitation. This property has been replaced by the administratorAccountId property and is retained only for backward compatibility.
Trait Implementations
sourceimpl Clone for AcceptInvitation
impl Clone for AcceptInvitation
sourcefn clone(&self) -> AcceptInvitation
fn clone(&self) -> AcceptInvitation
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more