Struct aws_sdk_securityhub::client::fluent_builders::InviteMembers [−][src]
pub struct InviteMembers<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to InviteMembers
.
Invites other Amazon Web Services accounts to become member accounts for the Security Hub administrator account that the invitation is sent from.
This operation is only used to invite accounts that do not belong to an organization. Organization accounts do not receive invitations.
Before you can use this action to invite a member, you must first use the CreateMembers
action to create the member account in Security Hub.
When the account owner enables Security Hub and accepts the invitation to become a member account, the administrator account can view the findings generated from the member account.
Implementations
impl<C, M, R> InviteMembers<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> InviteMembers<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<InviteMembersOutput, SdkError<InviteMembersError>> where
R::Policy: SmithyRetryPolicy<InviteMembersInputOperationOutputAlias, InviteMembersOutput, InviteMembersError, InviteMembersInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<InviteMembersOutput, SdkError<InviteMembersError>> where
R::Policy: SmithyRetryPolicy<InviteMembersInputOperationOutputAlias, InviteMembersOutput, InviteMembersError, InviteMembersInputOperationRetryAlias>,
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.
Appends an item to AccountIds
.
To override the contents of this collection use set_account_ids
.
The list of account IDs of the Amazon Web Services accounts to invite to Security Hub as members.
The list of account IDs of the Amazon Web Services accounts to invite to Security Hub as members.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for InviteMembers<C, M, R>
impl<C, M, R> Unpin for InviteMembers<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for InviteMembers<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