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
Documentation
data PolicyDetail Source #
Contains information about an IAM policy, including the policy document.
This data type is used as a response element in the GetAccountAuthorizationDetails operation.
See: newPolicyDetail
smart constructor.
PolicyDetail' | |
|
Instances
newPolicyDetail :: PolicyDetail Source #
Create a value of PolicyDetail
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:policyDocument:PolicyDetail'
, policyDetail_policyDocument
- The policy document.
$sel:policyName:PolicyDetail'
, policyDetail_policyName
- The name of the policy.
policyDetail_policyDocument :: Lens' PolicyDetail (Maybe Text) Source #
The policy document.
policyDetail_policyName :: Lens' PolicyDetail (Maybe Text) Source #
The name of the policy.