| 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 |
Amazonka.IAM.Types.PolicyDetail
Description
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.
Constructors
| PolicyDetail' | |
Fields
| |
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.