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 EffectivePolicy = EffectivePolicy' {
- policyArn :: Maybe Text
- policyDocument :: Maybe Text
- policyName :: Maybe Text
- newEffectivePolicy :: EffectivePolicy
- effectivePolicy_policyArn :: Lens' EffectivePolicy (Maybe Text)
- effectivePolicy_policyDocument :: Lens' EffectivePolicy (Maybe Text)
- effectivePolicy_policyName :: 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:policyArn:EffectivePolicy'
, effectivePolicy_policyArn
- The policy ARN.
$sel:policyDocument:EffectivePolicy'
, effectivePolicy_policyDocument
- The IAM policy document.
$sel:policyName:EffectivePolicy'
, effectivePolicy_policyName
- The policy name.
effectivePolicy_policyArn :: Lens' EffectivePolicy (Maybe Text) Source #
The policy ARN.
effectivePolicy_policyDocument :: Lens' EffectivePolicy (Maybe Text) Source #
The IAM policy document.
effectivePolicy_policyName :: Lens' EffectivePolicy (Maybe Text) Source #
The policy name.