libZSservicesZSamazonka-iamZSamazonka-iam
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IAM.Types.PolicyUser

Description

 
Synopsis

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' 

Fields

Instances

Instances details
Eq PolicyUser Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyUser

Read PolicyUser Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyUser

Show PolicyUser Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyUser

Generic PolicyUser Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyUser

Associated Types

type Rep PolicyUser :: Type -> Type #

NFData PolicyUser Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyUser

Methods

rnf :: PolicyUser -> () #

Hashable PolicyUser Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyUser

FromXML PolicyUser Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyUser

type Rep PolicyUser Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyUser

type Rep PolicyUser = D1 ('MetaData "PolicyUser" "Amazonka.IAM.Types.PolicyUser" "libZSservicesZSamazonka-iamZSamazonka-iam" 'False) (C1 ('MetaCons "PolicyUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:userName:PolicyUser', policyUser_userName - The name (friendly name, not ARN) identifying the user.

$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.

policyUser_userName :: Lens' PolicyUser (Maybe Text) Source #

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.