| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.Types.AuthResult
Description
Synopsis
- data AuthResult = AuthResult' {}
- newAuthResult :: AuthResult
- authResult_allowed :: Lens' AuthResult (Maybe Allowed)
- authResult_authDecision :: Lens' AuthResult (Maybe AuthDecision)
- authResult_authInfo :: Lens' AuthResult (Maybe AuthInfo)
- authResult_denied :: Lens' AuthResult (Maybe Denied)
- authResult_missingContextValues :: Lens' AuthResult (Maybe [Text])
Documentation
data AuthResult Source #
The authorizer result.
See: newAuthResult smart constructor.
Constructors
| AuthResult' | |
Fields
| |
Instances
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:allowed:AuthResult', authResult_allowed - The policies and statements that allowed 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:authInfo:AuthResult', authResult_authInfo - Authorization information.
$sel:denied:AuthResult', authResult_denied - The policies and statements that denied the specified action.
$sel:missingContextValues:AuthResult', authResult_missingContextValues - Contains any missing context values found while evaluating policy.
authResult_allowed :: Lens' AuthResult (Maybe Allowed) Source #
The policies and statements that allowed 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_authInfo :: Lens' AuthResult (Maybe AuthInfo) Source #
Authorization information.
authResult_denied :: Lens' AuthResult (Maybe Denied) Source #
The policies and statements that denied the specified action.
authResult_missingContextValues :: Lens' AuthResult (Maybe [Text]) Source #
Contains any missing context values found while evaluating policy.