Struct aws_sdk_quicksight::client::fluent_builders::UpdateThemePermissions [−][src]
pub struct UpdateThemePermissions<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to UpdateThemePermissions.
Updates the resource permissions for a theme. Permissions apply to the action to grant or
revoke permissions on, for example "quicksight:DescribeTheme".
Theme permissions apply in groupings. Valid groupings include the following for the three levels of permissions, which are user, owner, or no permissions:
-
User
-
"quicksight:DescribeTheme" -
"quicksight:DescribeThemeAlias" -
"quicksight:ListThemeAliases" -
"quicksight:ListThemeVersions"
-
-
Owner
-
"quicksight:DescribeTheme" -
"quicksight:DescribeThemeAlias" -
"quicksight:ListThemeAliases" -
"quicksight:ListThemeVersions" -
"quicksight:DeleteTheme" -
"quicksight:UpdateTheme" -
"quicksight:CreateThemeAlias" -
"quicksight:DeleteThemeAlias" -
"quicksight:UpdateThemeAlias" -
"quicksight:UpdateThemePermissions" -
"quicksight:DescribeThemePermissions"
-
-
To specify no permissions, omit the permissions list.
Implementations
impl<C, M, R> UpdateThemePermissions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateThemePermissions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateThemePermissionsOutput, SdkError<UpdateThemePermissionsError>> where
R::Policy: SmithyRetryPolicy<UpdateThemePermissionsInputOperationOutputAlias, UpdateThemePermissionsOutput, UpdateThemePermissionsError, UpdateThemePermissionsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateThemePermissionsOutput, SdkError<UpdateThemePermissionsError>> where
R::Policy: SmithyRetryPolicy<UpdateThemePermissionsInputOperationOutputAlias, UpdateThemePermissionsOutput, UpdateThemePermissionsError, UpdateThemePermissionsInputOperationRetryAlias>,
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 theme.
The ID of the Amazon Web Services account that contains the theme.
The ID for the theme.
Appends an item to GrantPermissions.
To override the contents of this collection use set_grant_permissions.
A list of resource permissions to be granted for the theme.
A list of resource permissions to be granted for the theme.
Appends an item to RevokePermissions.
To override the contents of this collection use set_revoke_permissions.
A list of resource permissions to be revoked from the theme.
A list of resource permissions to be revoked from the theme.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateThemePermissions<C, M, R>
impl<C, M, R> Send for UpdateThemePermissions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateThemePermissions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateThemePermissions<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateThemePermissions<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