Struct aws_sdk_ssoadmin::client::fluent_builders::CreateAccountAssignment [−][src]
pub struct CreateAccountAssignment<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CreateAccountAssignment
.
Assigns access to a principal for a specified Amazon Web Services account using a specified permission set.
The term principal here refers to a user or group that is defined in Amazon Web Services SSO.
As part of a successful CreateAccountAssignment
call, the specified
permission set will automatically be provisioned to the account in the form of an IAM
policy. That policy is attached to the SSO-created IAM role. If the permission set is
subsequently updated, the corresponding IAM policies attached to roles in your accounts will
not be updated automatically. In this case, you must call
ProvisionPermissionSet
to make these updates.
Implementations
impl<C, M, R> CreateAccountAssignment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateAccountAssignment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateAccountAssignmentOutput, SdkError<CreateAccountAssignmentError>> where
R::Policy: SmithyRetryPolicy<CreateAccountAssignmentInputOperationOutputAlias, CreateAccountAssignmentOutput, CreateAccountAssignmentError, CreateAccountAssignmentInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateAccountAssignmentOutput, SdkError<CreateAccountAssignmentError>> where
R::Policy: SmithyRetryPolicy<CreateAccountAssignmentInputOperationOutputAlias, CreateAccountAssignmentOutput, CreateAccountAssignmentError, CreateAccountAssignmentInputOperationRetryAlias>,
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 SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
The ARN of the SSO instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
TargetID is an Amazon Web Services account identifier, typically a 10-12 digit string (For example, 123456789012).
TargetID is an Amazon Web Services account identifier, typically a 10-12 digit string (For example, 123456789012).
The entity type for which the assignment will be created.
The entity type for which the assignment will be created.
The ARN of the permission set that the admin wants to grant the principal access to.
The ARN of the permission set that the admin wants to grant the principal access to.
The entity type for which the assignment will be created.
The entity type for which the assignment will be created.
An identifier for an object in Amazon Web Services SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in Amazon Web Services SSO, see the Amazon Web Services SSO Identity Store API Reference.
An identifier for an object in Amazon Web Services SSO, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in Amazon Web Services SSO, see the Amazon Web Services SSO Identity Store API Reference.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateAccountAssignment<C, M, R>
impl<C, M, R> Send for CreateAccountAssignment<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateAccountAssignment<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateAccountAssignment<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateAccountAssignment<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