pub struct GetMobileDeviceAccessEffect { /* private fields */ }
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 WorkMail organization for a particular user's attributes.
Implementations§
source§impl GetMobileDeviceAccessEffect
impl GetMobileDeviceAccessEffect
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetMobileDeviceAccessEffect, AwsResponseRetryClassifier>, SdkError<GetMobileDeviceAccessEffectError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetMobileDeviceAccessEffect, AwsResponseRetryClassifier>, SdkError<GetMobileDeviceAccessEffectError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetMobileDeviceAccessEffectOutput, SdkError<GetMobileDeviceAccessEffectError>>
pub async fn send(
self
) -> Result<GetMobileDeviceAccessEffectOutput, SdkError<GetMobileDeviceAccessEffectError>>
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.
sourcepub fn organization_id(self, input: impl Into<String>) -> Self
pub fn organization_id(self, input: impl Into<String>) -> Self
The WorkMail organization to simulate the access effect for.
sourcepub fn set_organization_id(self, input: Option<String>) -> Self
pub fn set_organization_id(self, input: Option<String>) -> Self
The WorkMail organization to simulate the access effect for.
sourcepub fn device_type(self, input: impl Into<String>) -> Self
pub fn device_type(self, input: impl Into<String>) -> Self
Device type the simulated user will report.
sourcepub fn set_device_type(self, input: Option<String>) -> Self
pub fn set_device_type(self, input: Option<String>) -> Self
Device type the simulated user will report.
sourcepub fn device_model(self, input: impl Into<String>) -> Self
pub fn device_model(self, input: impl Into<String>) -> Self
Device model the simulated user will report.
sourcepub fn set_device_model(self, input: Option<String>) -> Self
pub fn set_device_model(self, input: Option<String>) -> Self
Device model the simulated user will report.
sourcepub fn device_operating_system(self, input: impl Into<String>) -> Self
pub fn device_operating_system(self, input: impl Into<String>) -> Self
Device operating system the simulated user will report.
sourcepub fn set_device_operating_system(self, input: Option<String>) -> Self
pub fn set_device_operating_system(self, input: Option<String>) -> Self
Device operating system the simulated user will report.
sourcepub fn device_user_agent(self, input: impl Into<String>) -> Self
pub fn device_user_agent(self, input: impl Into<String>) -> Self
Device user agent the simulated user will report.
sourcepub fn set_device_user_agent(self, input: Option<String>) -> Self
pub fn set_device_user_agent(self, input: Option<String>) -> Self
Device user agent the simulated user will report.
Trait Implementations§
source§impl Clone for GetMobileDeviceAccessEffect
impl Clone for GetMobileDeviceAccessEffect
source§fn clone(&self) -> GetMobileDeviceAccessEffect
fn clone(&self) -> GetMobileDeviceAccessEffect
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more