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

Description

 
Synopsis

Documentation

data ResourcePolicySummary Source #

A structure that contains resource policy ID and Amazon Resource Name (ARN).

See: newResourcePolicySummary smart constructor.

Constructors

ResourcePolicySummary' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the resource policy.

  • id :: Maybe Text

    The unique identifier (ID) of the resource policy.

Instances

Instances details
FromJSON ResourcePolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.ResourcePolicySummary

Generic ResourcePolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.ResourcePolicySummary

Associated Types

type Rep ResourcePolicySummary :: Type -> Type #

Read ResourcePolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.ResourcePolicySummary

Show ResourcePolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.ResourcePolicySummary

NFData ResourcePolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.ResourcePolicySummary

Methods

rnf :: ResourcePolicySummary -> () #

Eq ResourcePolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.ResourcePolicySummary

Hashable ResourcePolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.ResourcePolicySummary

type Rep ResourcePolicySummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.ResourcePolicySummary

type Rep ResourcePolicySummary = D1 ('MetaData "ResourcePolicySummary" "Amazonka.Organizations.Types.ResourcePolicySummary" "amazonka-organizations-2.0-JONpdX4PtttLcKxQshpOlA" 'False) (C1 ('MetaCons "ResourcePolicySummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newResourcePolicySummary :: ResourcePolicySummary Source #

Create a value of ResourcePolicySummary 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:arn:ResourcePolicySummary', resourcePolicySummary_arn - The Amazon Resource Name (ARN) of the resource policy.

$sel:id:ResourcePolicySummary', resourcePolicySummary_id - The unique identifier (ID) of the resource policy.

resourcePolicySummary_arn :: Lens' ResourcePolicySummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the resource policy.

resourcePolicySummary_id :: Lens' ResourcePolicySummary (Maybe Text) Source #

The unique identifier (ID) of the resource policy.