Struct aws_sdk_workmail::client::fluent_builders::PutMobileDeviceAccessOverride [−][src]
pub struct PutMobileDeviceAccessOverride<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to PutMobileDeviceAccessOverride
.
Creates or updates a mobile device access override for the given WorkMail organization, user, and device.
Implementations
impl<C, M, R> PutMobileDeviceAccessOverride<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutMobileDeviceAccessOverride<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutMobileDeviceAccessOverrideOutput, SdkError<PutMobileDeviceAccessOverrideError>> where
R::Policy: SmithyRetryPolicy<PutMobileDeviceAccessOverrideInputOperationOutputAlias, PutMobileDeviceAccessOverrideOutput, PutMobileDeviceAccessOverrideError, PutMobileDeviceAccessOverrideInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutMobileDeviceAccessOverrideOutput, SdkError<PutMobileDeviceAccessOverrideError>> where
R::Policy: SmithyRetryPolicy<PutMobileDeviceAccessOverrideInputOperationOutputAlias, PutMobileDeviceAccessOverrideOutput, PutMobileDeviceAccessOverrideError, PutMobileDeviceAccessOverrideInputOperationRetryAlias>,
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.
Identifies the Amazon WorkMail organization for which you create the override.
Identifies the Amazon WorkMail organization for which you create the override.
The WorkMail user for which you create the override. Accepts the following types of user identities:
-
User ID:
12345678-1234-1234-1234-123456789012
orS-1-1-12-1234567890-123456789-123456789-1234
-
Email address:
user@domain.tld
-
User name:
user
The WorkMail user for which you create the override. Accepts the following types of user identities:
-
User ID:
12345678-1234-1234-1234-123456789012
orS-1-1-12-1234567890-123456789-123456789-1234
-
Email address:
user@domain.tld
-
User name:
user
The mobile device for which you create the override. DeviceId
is case insensitive.
The mobile device for which you create the override. DeviceId
is case insensitive.
The effect of the override, ALLOW
or DENY
.
The effect of the override, ALLOW
or DENY
.
A description of the override.
A description of the override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for PutMobileDeviceAccessOverride<C, M, R>
impl<C, M, R> Send for PutMobileDeviceAccessOverride<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for PutMobileDeviceAccessOverride<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for PutMobileDeviceAccessOverride<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for PutMobileDeviceAccessOverride<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