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

Description

 
Synopsis

Documentation

data PolicyDetail Source #

Contains information about an IAM policy, including the policy document.

This data type is used as a response element in the GetAccountAuthorizationDetails operation.

See: newPolicyDetail smart constructor.

Constructors

PolicyDetail' 

Fields

Instances

Instances details
Eq PolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyDetail

Read PolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyDetail

Show PolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyDetail

Generic PolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyDetail

Associated Types

type Rep PolicyDetail :: Type -> Type #

NFData PolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyDetail

Methods

rnf :: PolicyDetail -> () #

Hashable PolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyDetail

FromXML PolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyDetail

type Rep PolicyDetail Source # 
Instance details

Defined in Amazonka.IAM.Types.PolicyDetail

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

newPolicyDetail :: PolicyDetail Source #

Create a value of PolicyDetail 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:policyDocument:PolicyDetail', policyDetail_policyDocument - The policy document.

$sel:policyName:PolicyDetail', policyDetail_policyName - The name of the policy.