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

Description

 
Synopsis

Documentation

data PolicyTypeSummary Source #

Contains information about a policy type and its status in the associated root.

See: newPolicyTypeSummary smart constructor.

Constructors

PolicyTypeSummary' 

Fields

  • status :: Maybe PolicyTypeStatus

    The status of the policy type as it relates to the associated root. To attach a policy of the specified type to a root or to an OU or account in that root, it must be available in the organization and enabled for that root.

  • type' :: Maybe PolicyType

    The name of the policy type.

Instances

Instances details
Eq PolicyTypeSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTypeSummary

Read PolicyTypeSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTypeSummary

Show PolicyTypeSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTypeSummary

Generic PolicyTypeSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTypeSummary

Associated Types

type Rep PolicyTypeSummary :: Type -> Type #

NFData PolicyTypeSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTypeSummary

Methods

rnf :: PolicyTypeSummary -> () #

Hashable PolicyTypeSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTypeSummary

FromJSON PolicyTypeSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTypeSummary

type Rep PolicyTypeSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTypeSummary

type Rep PolicyTypeSummary = D1 ('MetaData "PolicyTypeSummary" "Amazonka.Organizations.Types.PolicyTypeSummary" "libZSservicesZSamazonka-organizationsZSamazonka-organizations" 'False) (C1 ('MetaCons "PolicyTypeSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PolicyTypeStatus)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PolicyType))))

newPolicyTypeSummary :: PolicyTypeSummary Source #

Create a value of PolicyTypeSummary 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:status:PolicyTypeSummary', policyTypeSummary_status - The status of the policy type as it relates to the associated root. To attach a policy of the specified type to a root or to an OU or account in that root, it must be available in the organization and enabled for that root.

$sel:type':PolicyTypeSummary', policyTypeSummary_type - The name of the policy type.

policyTypeSummary_status :: Lens' PolicyTypeSummary (Maybe PolicyTypeStatus) Source #

The status of the policy type as it relates to the associated root. To attach a policy of the specified type to a root or to an OU or account in that root, it must be available in the organization and enabled for that root.