Struct aws_sdk_workmail::client::fluent_builders::PutMailboxPermissions [−][src]
pub struct PutMailboxPermissions<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to PutMailboxPermissions
.
Sets permissions for a user, group, or resource. This replaces any pre-existing permissions.
Implementations
impl<C, M, R> PutMailboxPermissions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutMailboxPermissions<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutMailboxPermissionsOutput, SdkError<PutMailboxPermissionsError>> where
R::Policy: SmithyRetryPolicy<PutMailboxPermissionsInputOperationOutputAlias, PutMailboxPermissionsOutput, PutMailboxPermissionsError, PutMailboxPermissionsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutMailboxPermissionsOutput, SdkError<PutMailboxPermissionsError>> where
R::Policy: SmithyRetryPolicy<PutMailboxPermissionsInputOperationOutputAlias, PutMailboxPermissionsOutput, PutMailboxPermissionsError, PutMailboxPermissionsInputOperationRetryAlias>,
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 identifier of the organization under which the user, group, or resource exists.
The identifier of the organization under which the user, group, or resource exists.
The identifier of the user, group, or resource for which to update mailbox permissions.
The identifier of the user, group, or resource for which to update mailbox permissions.
The identifier of the user, group, or resource to which to grant the permissions.
The identifier of the user, group, or resource to which to grant the permissions.
Appends an item to PermissionValues
.
To override the contents of this collection use set_permission_values
.
The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.
The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for PutMailboxPermissions<C, M, R>
impl<C, M, R> Send for PutMailboxPermissions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for PutMailboxPermissions<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for PutMailboxPermissions<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for PutMailboxPermissions<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