libZSservicesZSamazonka-organizationsZSamazonka-organizations
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.Organizations.Types.EffectivePolicy

Description

 
Synopsis

Documentation

data EffectivePolicy Source #

Contains rules to be applied to the affected accounts. The effective policy is the aggregation of any policies the account inherits, plus any policy directly attached to the account.

See: newEffectivePolicy smart constructor.

Constructors

EffectivePolicy' 

Fields

Instances

Instances details
Eq EffectivePolicy Source # 
Instance details

Defined in Amazonka.Organizations.Types.EffectivePolicy

Read EffectivePolicy Source # 
Instance details

Defined in Amazonka.Organizations.Types.EffectivePolicy

Show EffectivePolicy Source # 
Instance details

Defined in Amazonka.Organizations.Types.EffectivePolicy

Generic EffectivePolicy Source # 
Instance details

Defined in Amazonka.Organizations.Types.EffectivePolicy

Associated Types

type Rep EffectivePolicy :: Type -> Type #

NFData EffectivePolicy Source # 
Instance details

Defined in Amazonka.Organizations.Types.EffectivePolicy

Methods

rnf :: EffectivePolicy -> () #

Hashable EffectivePolicy Source # 
Instance details

Defined in Amazonka.Organizations.Types.EffectivePolicy

FromJSON EffectivePolicy Source # 
Instance details

Defined in Amazonka.Organizations.Types.EffectivePolicy

type Rep EffectivePolicy Source # 
Instance details

Defined in Amazonka.Organizations.Types.EffectivePolicy

type Rep EffectivePolicy = D1 ('MetaData "EffectivePolicy" "Amazonka.Organizations.Types.EffectivePolicy" "libZSservicesZSamazonka-organizationsZSamazonka-organizations" 'False) (C1 ('MetaCons "EffectivePolicy'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "targetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EffectivePolicyType))) :*: (S1 ('MetaSel ('Just "lastUpdatedTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "policyContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEffectivePolicy :: EffectivePolicy Source #

Create a value of EffectivePolicy 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:targetId:EffectivePolicy', effectivePolicy_targetId - The account ID of the policy target.

$sel:policyType:EffectivePolicy', effectivePolicy_policyType - The policy type.

$sel:lastUpdatedTimestamp:EffectivePolicy', effectivePolicy_lastUpdatedTimestamp - The time of the last update to this policy.

$sel:policyContent:EffectivePolicy', effectivePolicy_policyContent - The text content of the policy.

effectivePolicy_targetId :: Lens' EffectivePolicy (Maybe Text) Source #

The account ID of the policy target.

effectivePolicy_lastUpdatedTimestamp :: Lens' EffectivePolicy (Maybe UTCTime) Source #

The time of the last update to this policy.