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

Description

 
Synopsis

Documentation

data Policy Source #

Contains rules to be applied to the affected accounts. Policies can be attached directly to accounts, or to roots and OUs to affect all accounts in those hierarchies.

See: newPolicy smart constructor.

Constructors

Policy' 

Fields

Instances

Instances details
Eq Policy Source # 
Instance details

Defined in Amazonka.Organizations.Types.Policy

Methods

(==) :: Policy -> Policy -> Bool #

(/=) :: Policy -> Policy -> Bool #

Read Policy Source # 
Instance details

Defined in Amazonka.Organizations.Types.Policy

Show Policy Source # 
Instance details

Defined in Amazonka.Organizations.Types.Policy

Generic Policy Source # 
Instance details

Defined in Amazonka.Organizations.Types.Policy

Associated Types

type Rep Policy :: Type -> Type #

Methods

from :: Policy -> Rep Policy x #

to :: Rep Policy x -> Policy #

NFData Policy Source # 
Instance details

Defined in Amazonka.Organizations.Types.Policy

Methods

rnf :: Policy -> () #

Hashable Policy Source # 
Instance details

Defined in Amazonka.Organizations.Types.Policy

Methods

hashWithSalt :: Int -> Policy -> Int #

hash :: Policy -> Int #

FromJSON Policy Source # 
Instance details

Defined in Amazonka.Organizations.Types.Policy

type Rep Policy Source # 
Instance details

Defined in Amazonka.Organizations.Types.Policy

type Rep Policy = D1 ('MetaData "Policy" "Amazonka.Organizations.Types.Policy" "libZSservicesZSamazonka-organizationsZSamazonka-organizations" 'False) (C1 ('MetaCons "Policy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policySummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PolicySummary))))

newPolicy :: Policy Source #

Create a value of Policy 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:content:Policy', policy_content - The text content of the policy.

$sel:policySummary:Policy', policy_policySummary - A structure that contains additional details about the policy.

policy_content :: Lens' Policy (Maybe Text) Source #

The text content of the policy.

policy_policySummary :: Lens' Policy (Maybe PolicySummary) Source #

A structure that contains additional details about the policy.