| 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.PolicyUser
Description
Synopsis
- data PolicyUser = PolicyUser' {}
- newPolicyUser :: PolicyUser
- policyUser_userId :: Lens' PolicyUser (Maybe Text)
- policyUser_userName :: Lens' PolicyUser (Maybe Text)
Documentation
data PolicyUser Source #
Contains information about a user 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: newPolicyUser smart constructor.
Constructors
| PolicyUser' | |
Instances
newPolicyUser :: PolicyUser Source #
Create a value of PolicyUser 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:userId:PolicyUser', policyUser_userId - The stable and unique string identifying the user. For more information
about IDs, see
IAM identifiers
in the IAM User Guide.
$sel:userName:PolicyUser', policyUser_userName - The name (friendly name, not ARN) identifying the user.
policyUser_userId :: Lens' PolicyUser (Maybe Text) Source #
The stable and unique string identifying the user. For more information about IDs, see IAM identifiers in the IAM User Guide.
policyUser_userName :: Lens' PolicyUser (Maybe Text) Source #
The name (friendly name, not ARN) identifying the user.