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.Types.ImpersonationMatchedRule

Description

 
Synopsis

Documentation

data ImpersonationMatchedRule Source #

The impersonation rule that matched the input.

See: newImpersonationMatchedRule smart constructor.

Constructors

ImpersonationMatchedRule' 

Fields

Instances

Instances details
FromJSON ImpersonationMatchedRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.ImpersonationMatchedRule

Generic ImpersonationMatchedRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.ImpersonationMatchedRule

Associated Types

type Rep ImpersonationMatchedRule :: Type -> Type #

Read ImpersonationMatchedRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.ImpersonationMatchedRule

Show ImpersonationMatchedRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.ImpersonationMatchedRule

NFData ImpersonationMatchedRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.ImpersonationMatchedRule

Eq ImpersonationMatchedRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.ImpersonationMatchedRule

Hashable ImpersonationMatchedRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.ImpersonationMatchedRule

type Rep ImpersonationMatchedRule Source # 
Instance details

Defined in Amazonka.WorkMail.Types.ImpersonationMatchedRule

type Rep ImpersonationMatchedRule = D1 ('MetaData "ImpersonationMatchedRule" "Amazonka.WorkMail.Types.ImpersonationMatchedRule" "amazonka-workmail-2.0-6w5uOhF45UX4mlfLHLnG5b" 'False) (C1 ('MetaCons "ImpersonationMatchedRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "impersonationRuleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newImpersonationMatchedRule :: ImpersonationMatchedRule Source #

Create a value of ImpersonationMatchedRule 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:impersonationRuleId:ImpersonationMatchedRule', impersonationMatchedRule_impersonationRuleId - The ID of the rule that matched the input

$sel:name:ImpersonationMatchedRule', impersonationMatchedRule_name - The name of the rule that matched the input.

impersonationMatchedRule_name :: Lens' ImpersonationMatchedRule (Maybe Text) Source #

The name of the rule that matched the input.