libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.AuthResult

Description

 
Synopsis

Documentation

data AuthResult Source #

The authorizer result.

See: newAuthResult smart constructor.

Constructors

AuthResult' 

Fields

Instances

Instances details
Eq AuthResult Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthResult

Read AuthResult Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthResult

Show AuthResult Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthResult

Generic AuthResult Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthResult

Associated Types

type Rep AuthResult :: Type -> Type #

NFData AuthResult Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthResult

Methods

rnf :: AuthResult -> () #

Hashable AuthResult Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthResult

FromJSON AuthResult Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthResult

type Rep AuthResult Source # 
Instance details

Defined in Amazonka.IoT.Types.AuthResult

type Rep AuthResult = D1 ('MetaData "AuthResult" "Amazonka.IoT.Types.AuthResult" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "AuthResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "denied") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Denied)) :*: S1 ('MetaSel ('Just "authDecision") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthDecision))) :*: (S1 ('MetaSel ('Just "allowed") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Allowed)) :*: (S1 ('MetaSel ('Just "missingContextValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "authInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AuthInfo))))))

newAuthResult :: AuthResult Source #

Create a value of AuthResult 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:denied:AuthResult', authResult_denied - The policies and statements that denied the specified action.

$sel:authDecision:AuthResult', authResult_authDecision - The final authorization decision of this scenario. Multiple statements are taken into account when determining the authorization decision. An explicit deny statement can override multiple allow statements.

$sel:allowed:AuthResult', authResult_allowed - The policies and statements that allowed the specified action.

$sel:missingContextValues:AuthResult', authResult_missingContextValues - Contains any missing context values found while evaluating policy.

$sel:authInfo:AuthResult', authResult_authInfo - Authorization information.

authResult_denied :: Lens' AuthResult (Maybe Denied) Source #

The policies and statements that denied the specified action.

authResult_authDecision :: Lens' AuthResult (Maybe AuthDecision) Source #

The final authorization decision of this scenario. Multiple statements are taken into account when determining the authorization decision. An explicit deny statement can override multiple allow statements.

authResult_allowed :: Lens' AuthResult (Maybe Allowed) Source #

The policies and statements that allowed the specified action.

authResult_missingContextValues :: Lens' AuthResult (Maybe [Text]) Source #

Contains any missing context values found while evaluating policy.

authResult_authInfo :: Lens' AuthResult (Maybe AuthInfo) Source #

Authorization information.