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

Description

 
Synopsis

Documentation

data PolicyTargetSummary Source #

Contains information about a root, OU, or account that a policy is attached to.

See: newPolicyTargetSummary smart constructor.

Constructors

PolicyTargetSummary' 

Fields

  • arn :: Maybe Text

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

    For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.

  • name :: Maybe Text

    The friendly name of the policy target.

    The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

  • targetId :: Maybe Text

    The unique identifier (ID) of the policy target.

    The regex pattern for a target ID string requires one of the following:

    • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.
    • Account - A string that consists of exactly 12 digits.
    • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.
  • type' :: Maybe TargetType

    The type of the policy target.

Instances

Instances details
FromJSON PolicyTargetSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTargetSummary

Generic PolicyTargetSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTargetSummary

Associated Types

type Rep PolicyTargetSummary :: Type -> Type #

Read PolicyTargetSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTargetSummary

Show PolicyTargetSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTargetSummary

NFData PolicyTargetSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTargetSummary

Methods

rnf :: PolicyTargetSummary -> () #

Eq PolicyTargetSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTargetSummary

Hashable PolicyTargetSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTargetSummary

type Rep PolicyTargetSummary Source # 
Instance details

Defined in Amazonka.Organizations.Types.PolicyTargetSummary

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

newPolicyTargetSummary :: PolicyTargetSummary Source #

Create a value of PolicyTargetSummary 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:PolicyTargetSummary', policyTargetSummary_arn - The Amazon Resource Name (ARN) of the policy target.

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.

$sel:name:PolicyTargetSummary', policyTargetSummary_name - The friendly name of the policy target.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

$sel:targetId:PolicyTargetSummary', policyTargetSummary_targetId - The unique identifier (ID) of the policy target.

The regex pattern for a target ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.
  • Account - A string that consists of exactly 12 digits.
  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

$sel:type':PolicyTargetSummary', policyTargetSummary_type - The type of the policy target.

policyTargetSummary_arn :: Lens' PolicyTargetSummary (Maybe Text) Source #

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

For more information about ARNs in Organizations, see ARN Formats Supported by Organizations in the Amazon Web Services Service Authorization Reference.

policyTargetSummary_name :: Lens' PolicyTargetSummary (Maybe Text) Source #

The friendly name of the policy target.

The regex pattern that is used to validate this parameter is a string of any of the characters in the ASCII character range.

policyTargetSummary_targetId :: Lens' PolicyTargetSummary (Maybe Text) Source #

The unique identifier (ID) of the policy target.

The regex pattern for a target ID string requires one of the following:

  • Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or digits.
  • Account - A string that consists of exactly 12 digits.
  • Organizational unit (OU) - A string that begins with "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that the OU is in). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.