Struct aws_sdk_detective::client::fluent_builders::CreateMembers [−][src]
pub struct CreateMembers<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateMembers
.
CreateMembers
is used to send invitations to accounts. For the organization behavior graph, the Detective administrator account uses CreateMembers
to enable organization accounts as member accounts.
For invited accounts, CreateMembers
sends a request to invite the specified Amazon Web Services accounts to be member accounts in the behavior graph. This operation can only be called by the administrator account for a behavior graph.
CreateMembers
verifies the accounts and then invites the verified accounts. The administrator can optionally specify to not send invitation emails to the member accounts. This would be used when the administrator manages their member accounts centrally.
For organization accounts in the organization behavior graph, CreateMembers
attempts to enable the accounts. The organization accounts do not receive invitations.
The request provides the behavior graph ARN and the list of accounts to invite or to enable.
The response separates the requested accounts into two lists:
-
The accounts that
CreateMembers
was able to process. For invited accounts, includes member accounts that are being verified, that have passed verification and are to be invited, and that have failed verification. For organization accounts in the organization behavior graph, includes accounts that can be enabled and that cannot be enabled. -
The accounts that
CreateMembers
was unable to process. This list includes accounts that were already invited to be member accounts in the behavior graph.
Implementations
impl<C, M, R> CreateMembers<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateMembers<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateMembersOutput, SdkError<CreateMembersError>> where
R::Policy: SmithyRetryPolicy<CreateMembersInputOperationOutputAlias, CreateMembersOutput, CreateMembersError, CreateMembersInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateMembersOutput, SdkError<CreateMembersError>> where
R::Policy: SmithyRetryPolicy<CreateMembersInputOperationOutputAlias, CreateMembersOutput, CreateMembersError, CreateMembersInputOperationRetryAlias>,
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.
The ARN of the behavior graph.
Customized message text to include in the invitation email message to the invited member accounts.
Customized message text to include in the invitation email message to the invited member accounts.
if set to true
, then the invited accounts do not receive email notifications. By default, this is set to false
, and the invited accounts receive email notifications.
Organization accounts in the organization behavior graph do not receive email notifications.
if set to true
, then the invited accounts do not receive email notifications. By default, this is set to false
, and the invited accounts receive email notifications.
Organization accounts in the organization behavior graph do not receive email notifications.
Appends an item to Accounts
.
To override the contents of this collection use set_accounts
.
The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.
The list of Amazon Web Services accounts to invite or to enable. You can invite or enable up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the Amazon Web Services account root user email address. For organization accounts in the organization behavior graph, the email address is not required.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateMembers<C, M, R>
impl<C, M, R> Unpin for CreateMembers<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateMembers<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more