| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkMail.GetMobileDeviceAccessEffect
Description
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.
Synopsis
- data GetMobileDeviceAccessEffect = GetMobileDeviceAccessEffect' {}
- newGetMobileDeviceAccessEffect :: Text -> GetMobileDeviceAccessEffect
- getMobileDeviceAccessEffect_deviceModel :: Lens' GetMobileDeviceAccessEffect (Maybe Text)
- getMobileDeviceAccessEffect_deviceOperatingSystem :: Lens' GetMobileDeviceAccessEffect (Maybe Text)
- getMobileDeviceAccessEffect_deviceType :: Lens' GetMobileDeviceAccessEffect (Maybe Text)
- getMobileDeviceAccessEffect_deviceUserAgent :: Lens' GetMobileDeviceAccessEffect (Maybe Text)
- getMobileDeviceAccessEffect_organizationId :: Lens' GetMobileDeviceAccessEffect Text
- data GetMobileDeviceAccessEffectResponse = GetMobileDeviceAccessEffectResponse' {}
- newGetMobileDeviceAccessEffectResponse :: Int -> GetMobileDeviceAccessEffectResponse
- getMobileDeviceAccessEffectResponse_effect :: Lens' GetMobileDeviceAccessEffectResponse (Maybe MobileDeviceAccessRuleEffect)
- getMobileDeviceAccessEffectResponse_matchedRules :: Lens' GetMobileDeviceAccessEffectResponse (Maybe [MobileDeviceAccessMatchedRule])
- getMobileDeviceAccessEffectResponse_httpStatus :: Lens' GetMobileDeviceAccessEffectResponse Int
Creating a Request
data GetMobileDeviceAccessEffect Source #
See: newGetMobileDeviceAccessEffect smart constructor.
Constructors
| GetMobileDeviceAccessEffect' | |
Fields
| |
Instances
newGetMobileDeviceAccessEffect Source #
Arguments
| :: Text | |
| -> GetMobileDeviceAccessEffect |
Create a value of GetMobileDeviceAccessEffect with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:deviceModel:GetMobileDeviceAccessEffect', getMobileDeviceAccessEffect_deviceModel - Device model the simulated user will report.
$sel:deviceOperatingSystem:GetMobileDeviceAccessEffect', getMobileDeviceAccessEffect_deviceOperatingSystem - Device operating system the simulated user will report.
$sel:deviceType:GetMobileDeviceAccessEffect', getMobileDeviceAccessEffect_deviceType - Device type the simulated user will report.
$sel:deviceUserAgent:GetMobileDeviceAccessEffect', getMobileDeviceAccessEffect_deviceUserAgent - Device user agent the simulated user will report.
GetMobileDeviceAccessEffect, getMobileDeviceAccessEffect_organizationId - The WorkMail organization to simulate the access effect for.
Request Lenses
getMobileDeviceAccessEffect_deviceModel :: Lens' GetMobileDeviceAccessEffect (Maybe Text) Source #
Device model the simulated user will report.
getMobileDeviceAccessEffect_deviceOperatingSystem :: Lens' GetMobileDeviceAccessEffect (Maybe Text) Source #
Device operating system the simulated user will report.
getMobileDeviceAccessEffect_deviceType :: Lens' GetMobileDeviceAccessEffect (Maybe Text) Source #
Device type the simulated user will report.
getMobileDeviceAccessEffect_deviceUserAgent :: Lens' GetMobileDeviceAccessEffect (Maybe Text) Source #
Device user agent the simulated user will report.
getMobileDeviceAccessEffect_organizationId :: Lens' GetMobileDeviceAccessEffect Text Source #
The WorkMail organization to simulate the access effect for.
Destructuring the Response
data GetMobileDeviceAccessEffectResponse Source #
See: newGetMobileDeviceAccessEffectResponse smart constructor.
Constructors
| GetMobileDeviceAccessEffectResponse' | |
Fields
| |
Instances
newGetMobileDeviceAccessEffectResponse Source #
Arguments
| :: Int | |
| -> GetMobileDeviceAccessEffectResponse |
Create a value of GetMobileDeviceAccessEffectResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetMobileDeviceAccessEffectResponse, getMobileDeviceAccessEffectResponse_effect - The effect of the simulated access, ALLOW or DENY, after evaluating
mobile device access rules in the WorkMail organization for the
simulated user parameters.
$sel:matchedRules:GetMobileDeviceAccessEffectResponse', getMobileDeviceAccessEffectResponse_matchedRules - A list of the rules which matched the simulated user input and produced
the effect.
$sel:httpStatus:GetMobileDeviceAccessEffectResponse', getMobileDeviceAccessEffectResponse_httpStatus - The response's http status code.
Response Lenses
getMobileDeviceAccessEffectResponse_effect :: Lens' GetMobileDeviceAccessEffectResponse (Maybe MobileDeviceAccessRuleEffect) Source #
The effect of the simulated access, ALLOW or DENY, after evaluating
mobile device access rules in the WorkMail organization for the
simulated user parameters.
getMobileDeviceAccessEffectResponse_matchedRules :: Lens' GetMobileDeviceAccessEffectResponse (Maybe [MobileDeviceAccessMatchedRule]) Source #
A list of the rules which matched the simulated user input and produced the effect.
getMobileDeviceAccessEffectResponse_httpStatus :: Lens' GetMobileDeviceAccessEffectResponse Int Source #
The response's http status code.