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 PolicyRole = PolicyRole' {}
- newPolicyRole :: PolicyRole
- policyRole_roleName :: Lens' PolicyRole (Maybe Text)
- policyRole_roleId :: Lens' PolicyRole (Maybe Text)
Documentation
data PolicyRole Source #
Contains information about a role that a managed policy is attached to.
This data type is used as a response element in the ListEntitiesForPolicy operation.
For more information about managed policies, refer to Managed policies and inline policies in the IAM User Guide.
See: newPolicyRole
smart constructor.
Instances
newPolicyRole :: PolicyRole Source #
Create a value of PolicyRole
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:roleName:PolicyRole'
, policyRole_roleName
- The name (friendly name, not ARN) identifying the role.
$sel:roleId:PolicyRole'
, policyRole_roleId
- The stable and unique string identifying the role. For more information
about IDs, see
IAM identifiers
in the IAM User Guide.
policyRole_roleName :: Lens' PolicyRole (Maybe Text) Source #
The name (friendly name, not ARN) identifying the role.
policyRole_roleId :: Lens' PolicyRole (Maybe Text) Source #
The stable and unique string identifying the role. For more information about IDs, see IAM identifiers in the IAM User Guide.