amazonka-workmail-2.0: Amazon WorkMail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WorkMail.GetAccessControlEffect

Description

Gets the effects of an organization's access control rules as they apply to a specified IPv4 address, access protocol action, and user ID or impersonation role ID. You must provide either the user ID or impersonation role ID. Impersonation role ID can only be used with Action EWS.

Synopsis

Creating a Request

data GetAccessControlEffect Source #

See: newGetAccessControlEffect smart constructor.

Constructors

GetAccessControlEffect' 

Fields

Instances

Instances details
ToJSON GetAccessControlEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

ToHeaders GetAccessControlEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

ToPath GetAccessControlEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

ToQuery GetAccessControlEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

AWSRequest GetAccessControlEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

Associated Types

type AWSResponse GetAccessControlEffect #

Generic GetAccessControlEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

Associated Types

type Rep GetAccessControlEffect :: Type -> Type #

Read GetAccessControlEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

Show GetAccessControlEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

NFData GetAccessControlEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

Methods

rnf :: GetAccessControlEffect -> () #

Eq GetAccessControlEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

Hashable GetAccessControlEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

type AWSResponse GetAccessControlEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

type Rep GetAccessControlEffect Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

type Rep GetAccessControlEffect = D1 ('MetaData "GetAccessControlEffect" "Amazonka.WorkMail.GetAccessControlEffect" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "GetAccessControlEffect'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "impersonationRoleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "organizationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "ipAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newGetAccessControlEffect Source #

Create a value of GetAccessControlEffect 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:

GetAccessControlEffect, getAccessControlEffect_impersonationRoleId - The impersonation role ID.

GetAccessControlEffect, getAccessControlEffect_userId - The user ID.

GetAccessControlEffect, getAccessControlEffect_organizationId - The identifier for the organization.

$sel:ipAddress:GetAccessControlEffect', getAccessControlEffect_ipAddress - The IPv4 address.

GetAccessControlEffect, getAccessControlEffect_action - The access protocol action. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

Request Lenses

getAccessControlEffect_action :: Lens' GetAccessControlEffect Text Source #

The access protocol action. Valid values include ActiveSync, AutoDiscover, EWS, IMAP, SMTP, WindowsOutlook, and WebMail.

Destructuring the Response

data GetAccessControlEffectResponse Source #

See: newGetAccessControlEffectResponse smart constructor.

Constructors

GetAccessControlEffectResponse' 

Fields

Instances

Instances details
Generic GetAccessControlEffectResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

Associated Types

type Rep GetAccessControlEffectResponse :: Type -> Type #

Read GetAccessControlEffectResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

Show GetAccessControlEffectResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

NFData GetAccessControlEffectResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

Eq GetAccessControlEffectResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

type Rep GetAccessControlEffectResponse Source # 
Instance details

Defined in Amazonka.WorkMail.GetAccessControlEffect

type Rep GetAccessControlEffectResponse = D1 ('MetaData "GetAccessControlEffectResponse" "Amazonka.WorkMail.GetAccessControlEffect" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "GetAccessControlEffectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "effect") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AccessControlRuleEffect)) :*: (S1 ('MetaSel ('Just "matchedRules") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetAccessControlEffectResponse Source #

Create a value of GetAccessControlEffectResponse 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:

GetAccessControlEffectResponse, getAccessControlEffectResponse_effect - The rule effect.

$sel:matchedRules:GetAccessControlEffectResponse', getAccessControlEffectResponse_matchedRules - The rules that match the given parameters, resulting in an effect.

$sel:httpStatus:GetAccessControlEffectResponse', getAccessControlEffectResponse_httpStatus - The response's http status code.

Response Lenses

getAccessControlEffectResponse_matchedRules :: Lens' GetAccessControlEffectResponse (Maybe [Text]) Source #

The rules that match the given parameters, resulting in an effect.