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 EffectivePolicy = EffectivePolicy' {
- policyName :: Maybe Text
- policyDocument :: Maybe Text
- policyArn :: Maybe Text
- newEffectivePolicy :: EffectivePolicy
- effectivePolicy_policyName :: Lens' EffectivePolicy (Maybe Text)
- effectivePolicy_policyDocument :: Lens' EffectivePolicy (Maybe Text)
- effectivePolicy_policyArn :: Lens' EffectivePolicy (Maybe Text)
Documentation
data EffectivePolicy Source #
The policy that has the effect on the authorization results.
See: newEffectivePolicy
smart constructor.
EffectivePolicy' | |
|
Instances
newEffectivePolicy :: EffectivePolicy Source #
Create a value of EffectivePolicy
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:policyName:EffectivePolicy'
, effectivePolicy_policyName
- The policy name.
$sel:policyDocument:EffectivePolicy'
, effectivePolicy_policyDocument
- The IAM policy document.
$sel:policyArn:EffectivePolicy'
, effectivePolicy_policyArn
- The policy ARN.
effectivePolicy_policyName :: Lens' EffectivePolicy (Maybe Text) Source #
The policy name.
effectivePolicy_policyDocument :: Lens' EffectivePolicy (Maybe Text) Source #
The IAM policy document.
effectivePolicy_policyArn :: Lens' EffectivePolicy (Maybe Text) Source #
The policy ARN.