pub struct UpdateIAMPolicyAssignment<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateIAMPolicyAssignment.
Updates an existing IAM policy assignment. This operation updates only the optional parameter or parameters that are specified in the request. This overwrites all of the users included in Identities.
Implementations
impl<C, M, R> UpdateIAMPolicyAssignment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateIAMPolicyAssignment<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateIamPolicyAssignmentOutput, SdkError<UpdateIAMPolicyAssignmentError>> where
R::Policy: SmithyRetryPolicy<UpdateIamPolicyAssignmentInputOperationOutputAlias, UpdateIamPolicyAssignmentOutput, UpdateIAMPolicyAssignmentError, UpdateIamPolicyAssignmentInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateIamPolicyAssignmentOutput, SdkError<UpdateIAMPolicyAssignmentError>> where
R::Policy: SmithyRetryPolicy<UpdateIamPolicyAssignmentInputOperationOutputAlias, UpdateIamPolicyAssignmentOutput, UpdateIAMPolicyAssignmentError, UpdateIamPolicyAssignmentInputOperationRetryAlias>,
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 that contains the IAM policy assignment.
The ID of the Amazon Web Services account that contains the IAM policy assignment.
The name of the assignment, also called a rule. This name must be unique within an Amazon Web Services account.
The name of the assignment, also called a rule. This name must be unique within an Amazon Web Services account.
The namespace of the assignment.
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateIAMPolicyAssignment<C, M, R>
impl<C, M, R> Send for UpdateIAMPolicyAssignment<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateIAMPolicyAssignment<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateIAMPolicyAssignment<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateIAMPolicyAssignment<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