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

Description

 
Synopsis

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.

Constructors

PolicyRole' 

Fields

Instances

Instances details
Eq PolicyRole Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyRole

Read PolicyRole Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyRole

Show PolicyRole Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyRole

Generic PolicyRole Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyRole

Associated Types

type Rep PolicyRole :: Type -> Type #

NFData PolicyRole Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyRole

Methods

rnf :: PolicyRole -> () #

Hashable PolicyRole Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyRole

FromXML PolicyRole Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyRole

type Rep PolicyRole Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyRole

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

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.