pub struct UpdateAnalysisPermissions<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateAnalysisPermissions.
Updates the read and write permissions for an analysis.
Implementations
impl<C, M, R> UpdateAnalysisPermissions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateAnalysisPermissions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateAnalysisPermissionsOutput, SdkError<UpdateAnalysisPermissionsError>> where
R::Policy: SmithyRetryPolicy<UpdateAnalysisPermissionsInputOperationOutputAlias, UpdateAnalysisPermissionsOutput, UpdateAnalysisPermissionsError, UpdateAnalysisPermissionsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateAnalysisPermissionsOutput, SdkError<UpdateAnalysisPermissionsError>> where
R::Policy: SmithyRetryPolicy<UpdateAnalysisPermissionsInputOperationOutputAlias, UpdateAnalysisPermissionsOutput, UpdateAnalysisPermissionsError, UpdateAnalysisPermissionsInputOperationRetryAlias>,
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 analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.
The ID of the Amazon Web Services account that contains the analysis whose permissions you're updating. You must be using the Amazon Web Services account that the analysis is in.
The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.
The ID of the analysis whose permissions you're updating. The ID is part of the analysis URL.
Appends an item to GrantPermissions.
To override the contents of this collection use set_grant_permissions.
A structure that describes the permissions to add and the principal to add them to.
A structure that describes the permissions to add and the principal to add them to.
Appends an item to RevokePermissions.
To override the contents of this collection use set_revoke_permissions.
A structure that describes the permissions to remove and the principal to remove them from.
A structure that describes the permissions to remove and the principal to remove them from.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateAnalysisPermissions<C, M, R>
impl<C, M, R> Send for UpdateAnalysisPermissions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateAnalysisPermissions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateAnalysisPermissions<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateAnalysisPermissions<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