libZSservicesZSamazonka-workmailZSamazonka-workmail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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 Amazon WorkMail organization for a particular user's attributes.

Synopsis

Creating a Request

data GetMobileDeviceAccessEffect Source #

See: newGetMobileDeviceAccessEffect smart constructor.

Constructors

GetMobileDeviceAccessEffect' 

Fields

Instances

Instances details
Eq GetMobileDeviceAccessEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

Read GetMobileDeviceAccessEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

Show GetMobileDeviceAccessEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

Generic GetMobileDeviceAccessEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

Associated Types

type Rep GetMobileDeviceAccessEffect :: Type -> Type #

NFData GetMobileDeviceAccessEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

Hashable GetMobileDeviceAccessEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

ToJSON GetMobileDeviceAccessEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

AWSRequest GetMobileDeviceAccessEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

ToHeaders GetMobileDeviceAccessEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

ToPath GetMobileDeviceAccessEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

ToQuery GetMobileDeviceAccessEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

type Rep GetMobileDeviceAccessEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

type Rep GetMobileDeviceAccessEffect = D1 ('MetaData "GetMobileDeviceAccessEffect" "Amazonka.WorkMail.GetMobileDeviceAccessEffect" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "GetMobileDeviceAccessEffect'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deviceOperatingSystem") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deviceModel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "deviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "deviceUserAgent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse GetMobileDeviceAccessEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

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_organizationId :: Lens' GetMobileDeviceAccessEffect Text Source #

The Amazon WorkMail organization to simulate the access effect for.

Destructuring the Response

data GetMobileDeviceAccessEffectResponse Source #

Constructors

GetMobileDeviceAccessEffectResponse' 

Fields

Instances

Instances details
Eq GetMobileDeviceAccessEffectResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

Read GetMobileDeviceAccessEffectResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

Show GetMobileDeviceAccessEffectResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

Generic GetMobileDeviceAccessEffectResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

NFData GetMobileDeviceAccessEffectResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

type Rep GetMobileDeviceAccessEffectResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetMobileDeviceAccessEffect

type Rep GetMobileDeviceAccessEffectResponse = D1 ('MetaData "GetMobileDeviceAccessEffectResponse" "Amazonka.WorkMail.GetMobileDeviceAccessEffect" "libZSservicesZSamazonka-workmailZSamazonka-workmail" 'False) (C1 ('MetaCons "GetMobileDeviceAccessEffectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "effect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MobileDeviceAccessRuleEffect)) :*: (S1 ('MetaSel ('Just "matchedRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MobileDeviceAccessMatchedRule])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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.