pub struct CreateIAMPolicyAssignment<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to CreateIAMPolicyAssignment.
Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name (ARN). This policy assignment is attached to the specified groups or users of Amazon QuickSight. Assignment names are unique per Amazon Web Services account. To avoid overwriting rules in other namespaces, use assignment names that are unique.
Implementations
impl<C, M, R> CreateIAMPolicyAssignment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateIAMPolicyAssignment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateIamPolicyAssignmentOutput, SdkError<CreateIAMPolicyAssignmentError>> where
R::Policy: SmithyRetryPolicy<CreateIamPolicyAssignmentInputOperationOutputAlias, CreateIamPolicyAssignmentOutput, CreateIAMPolicyAssignmentError, CreateIamPolicyAssignmentInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateIamPolicyAssignmentOutput, SdkError<CreateIAMPolicyAssignmentError>> where
R::Policy: SmithyRetryPolicy<CreateIamPolicyAssignmentInputOperationOutputAlias, CreateIamPolicyAssignmentOutput, CreateIAMPolicyAssignmentError, CreateIamPolicyAssignmentInputOperationRetryAlias>,
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 ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or groups.
The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon QuickSight users or groups.
The name of the assignment, also called a rule. It must be unique within an Amazon Web Services account.
The name of the assignment, also called a rule. It must be unique within an Amazon Web Services account.
The status of the assignment. Possible values are as follows:
-
ENABLED- Anything specified in this assignment is used when creating the data source. -
DISABLED- This assignment isn't used when creating the data source. -
DRAFT- This assignment is an unfinished draft and isn't used when creating the data source.
The status of the assignment. Possible values are as follows:
-
ENABLED- Anything specified in this assignment is used when creating the data source. -
DISABLED- This assignment isn't used when creating the data source. -
DRAFT- This assignment is an unfinished draft and isn't used when creating the data source.
The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.
The ARN for the IAM policy to apply to the Amazon QuickSight users and groups specified in this assignment.
Adds a key-value pair to Identities.
To override the contents of this collection use set_identities.
The Amazon QuickSight users, groups, or both that you want to assign the policy to.
The Amazon QuickSight users, groups, or both that you want to assign the policy to.
The namespace that contains the assignment.
The namespace that contains the assignment.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateIAMPolicyAssignment<C, M, R>
impl<C, M, R> Send for CreateIAMPolicyAssignment<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateIAMPolicyAssignment<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateIAMPolicyAssignment<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateIAMPolicyAssignment<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