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 AttachedPolicy Source #
Contains information about an attached policy.
An attached policy is a managed policy that has been attached to a user, group, or role. This data type is used as a response element in the ListAttachedGroupPolicies, ListAttachedRolePolicies, ListAttachedUserPolicies, and GetAccountAuthorizationDetails operations.
For more information about managed policies, refer to Managed policies and inline policies in the IAM User Guide.
See: newAttachedPolicy
smart constructor.
Instances
newAttachedPolicy :: AttachedPolicy Source #
Create a value of AttachedPolicy
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:AttachedPolicy'
, attachedPolicy_policyName
- The friendly name of the attached policy.
$sel:policyArn:AttachedPolicy'
, attachedPolicy_policyArn
- Undocumented member.
attachedPolicy_policyName :: Lens' AttachedPolicy (Maybe Text) Source #
The friendly name of the attached policy.
attachedPolicy_policyArn :: Lens' AttachedPolicy (Maybe Text) Source #
Undocumented member.