Struct aws_sdk_workmail::client::fluent_builders::GetMobileDeviceAccessEffect [−][src]
pub struct GetMobileDeviceAccessEffect<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to GetMobileDeviceAccessEffect
.
Simulates the effect of the mobile device access rules for the given attributes of a sample access event. Use this method to test the effects of the current set of mobile device access rules for the Amazon WorkMail organization for a particular user's attributes.
Implementations
impl<C, M, R> GetMobileDeviceAccessEffect<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetMobileDeviceAccessEffect<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetMobileDeviceAccessEffectOutput, SdkError<GetMobileDeviceAccessEffectError>> where
R::Policy: SmithyRetryPolicy<GetMobileDeviceAccessEffectInputOperationOutputAlias, GetMobileDeviceAccessEffectOutput, GetMobileDeviceAccessEffectError, GetMobileDeviceAccessEffectInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetMobileDeviceAccessEffectOutput, SdkError<GetMobileDeviceAccessEffectError>> where
R::Policy: SmithyRetryPolicy<GetMobileDeviceAccessEffectInputOperationOutputAlias, GetMobileDeviceAccessEffectOutput, GetMobileDeviceAccessEffectError, GetMobileDeviceAccessEffectInputOperationRetryAlias>,
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 Amazon WorkMail organization to simulate the access effect for.
The Amazon WorkMail organization to simulate the access effect for.
Device type the simulated user will report.
Device type the simulated user will report.
Device model the simulated user will report.
Device model the simulated user will report.
Device operating system the simulated user will report.
Device operating system the simulated user will report.
Device user agent the simulated user will report.
Device user agent the simulated user will report.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for GetMobileDeviceAccessEffect<C, M, R>
impl<C, M, R> Send for GetMobileDeviceAccessEffect<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetMobileDeviceAccessEffect<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetMobileDeviceAccessEffect<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for GetMobileDeviceAccessEffect<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