amazonka-organizations-2.0: Amazon Organizations SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Read PolicyTypeSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTypeSummary

Show PolicyTypeSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTypeSummary

NFData PolicyTypeSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTypeSummary

Methods

rnf :: PolicyTypeSummary -> () #

Eq PolicyTypeSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTypeSummary

Hashable 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" "amazonka-organizations-2.0-JONpdX4PtttLcKxQshpOlA" '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.