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 |
Synopsis
- data ImpersonationRule = ImpersonationRule' {
- description :: Maybe Text
- name :: Maybe Text
- notTargetUsers :: Maybe (NonEmpty Text)
- targetUsers :: Maybe (NonEmpty Text)
- impersonationRuleId :: Text
- effect :: AccessEffect
- newImpersonationRule :: Text -> AccessEffect -> ImpersonationRule
- impersonationRule_description :: Lens' ImpersonationRule (Maybe Text)
- impersonationRule_name :: Lens' ImpersonationRule (Maybe Text)
- impersonationRule_notTargetUsers :: Lens' ImpersonationRule (Maybe (NonEmpty Text))
- impersonationRule_targetUsers :: Lens' ImpersonationRule (Maybe (NonEmpty Text))
- impersonationRule_impersonationRuleId :: Lens' ImpersonationRule Text
- impersonationRule_effect :: Lens' ImpersonationRule AccessEffect
Documentation
data ImpersonationRule Source #
The rules for the given impersonation role.
See: newImpersonationRule
smart constructor.
ImpersonationRule' | |
|
Instances
:: Text | |
-> AccessEffect | |
-> ImpersonationRule |
Create a value of ImpersonationRule
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:description:ImpersonationRule'
, impersonationRule_description
- The rule description.
$sel:name:ImpersonationRule'
, impersonationRule_name
- The rule name.
$sel:notTargetUsers:ImpersonationRule'
, impersonationRule_notTargetUsers
- A list of user IDs that don't match the rule.
$sel:targetUsers:ImpersonationRule'
, impersonationRule_targetUsers
- A list of user IDs that match the rule.
$sel:impersonationRuleId:ImpersonationRule'
, impersonationRule_impersonationRuleId
- The identifier of the rule.
$sel:effect:ImpersonationRule'
, impersonationRule_effect
- The effect of the rule when it matches the input. Allowed effect values
are ALLOW
or DENY
.
impersonationRule_description :: Lens' ImpersonationRule (Maybe Text) Source #
The rule description.
impersonationRule_name :: Lens' ImpersonationRule (Maybe Text) Source #
The rule name.
impersonationRule_notTargetUsers :: Lens' ImpersonationRule (Maybe (NonEmpty Text)) Source #
A list of user IDs that don't match the rule.
impersonationRule_targetUsers :: Lens' ImpersonationRule (Maybe (NonEmpty Text)) Source #
A list of user IDs that match the rule.
impersonationRule_impersonationRuleId :: Lens' ImpersonationRule Text Source #
The identifier of the rule.
impersonationRule_effect :: Lens' ImpersonationRule AccessEffect Source #
The effect of the rule when it matches the input. Allowed effect values
are ALLOW
or DENY
.