Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Synopsis
- data GetMobileDeviceAccessEffect = GetMobileDeviceAccessEffect' {}
- newGetMobileDeviceAccessEffect :: Text -> GetMobileDeviceAccessEffect
- getMobileDeviceAccessEffect_deviceOperatingSystem :: Lens' GetMobileDeviceAccessEffect (Maybe Text)
- getMobileDeviceAccessEffect_deviceModel :: 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.
GetMobileDeviceAccessEffect' | |
|
Instances
newGetMobileDeviceAccessEffect Source #
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:deviceOperatingSystem:GetMobileDeviceAccessEffect'
, getMobileDeviceAccessEffect_deviceOperatingSystem
- Device operating system the simulated user will report.
$sel:deviceModel:GetMobileDeviceAccessEffect'
, getMobileDeviceAccessEffect_deviceModel
- Device model 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.
$sel:organizationId:GetMobileDeviceAccessEffect'
, getMobileDeviceAccessEffect_organizationId
- The Amazon WorkMail organization to simulate the access effect for.
Request Lenses
getMobileDeviceAccessEffect_deviceOperatingSystem :: Lens' GetMobileDeviceAccessEffect (Maybe Text) Source #
Device operating system the simulated user will report.
getMobileDeviceAccessEffect_deviceModel :: Lens' GetMobileDeviceAccessEffect (Maybe Text) Source #
Device model 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 Amazon WorkMail organization to simulate the access effect for.
Destructuring the Response
data GetMobileDeviceAccessEffectResponse Source #
See: newGetMobileDeviceAccessEffectResponse
smart constructor.
GetMobileDeviceAccessEffectResponse' | |
|
Instances
newGetMobileDeviceAccessEffectResponse Source #
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:
$sel:effect:GetMobileDeviceAccessEffectResponse'
, getMobileDeviceAccessEffectResponse_effect
- The effect of the simulated access, ALLOW
or DENY
, after evaluating
mobile device access rules in the Amazon 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 Amazon 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.