Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AuthResult = AuthResult' {}
- newAuthResult :: AuthResult
- authResult_denied :: Lens' AuthResult (Maybe Denied)
- authResult_authDecision :: Lens' AuthResult (Maybe AuthDecision)
- authResult_allowed :: Lens' AuthResult (Maybe Allowed)
- authResult_missingContextValues :: Lens' AuthResult (Maybe [Text])
- authResult_authInfo :: Lens' AuthResult (Maybe AuthInfo)
Documentation
data AuthResult Source #
The authorizer result.
See: newAuthResult
smart constructor.
AuthResult' | |
|
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: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.