Struct aws_sdk_detective::client::fluent_builders::CreateMembers [−][src]
pub struct CreateMembers<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateMembers
.
Sends a request to invite the specified AWS 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.
The request provides the behavior graph ARN and the list of accounts to invite.
The response separates the requested accounts into two lists:
-
The accounts that
CreateMembers
was able to start the verification for. This list includes member accounts that are being verified, that have passed verification and are to be invited, and that have failed verification. -
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 to invite the member accounts to contribute their data to.
The ARN of the behavior graph to invite the member accounts to contribute their data to.
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 member accounts do not receive email
notifications. By default, this is set to false
, and the member accounts
receive email notifications.
if set to true
, then the member accounts do not receive email
notifications. By default, this is set to false
, and the member accounts
receive email notifications.
Appends an item to Accounts
.
To override the contents of this collection use set_accounts
.
The list of AWS accounts to invite to become member accounts in the behavior graph. You can invite up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the AWS account root user email address.
The list of AWS accounts to invite to become member accounts in the behavior graph. You can invite up to 50 accounts at a time. For each invited account, the account list contains the account identifier and the AWS account root user email address.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CreateMembers<C, M, R>
impl<C, M, R> Unpin for CreateMembers<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, 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