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

Description

 
Synopsis

Documentation

data OrganizationalUnit Source #

Contains details about an organizational unit (OU). An OU is a container of AWS accounts within a root of an organization. Policies that are attached to an OU apply to all accounts contained in that OU and in any child OUs.

See: newOrganizationalUnit smart constructor.

Constructors

OrganizationalUnit' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of this OU.

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

  • name :: Maybe Text

    The friendly name of this OU.

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

  • id :: Maybe Text

    The unique identifier (ID) associated with this OU.

    The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

Instances

Instances details
Eq OrganizationalUnit Source # 
Instance details

Defined in Amazonka.Organizations.Types.OrganizationalUnit

Read OrganizationalUnit Source # 
Instance details

Defined in Amazonka.Organizations.Types.OrganizationalUnit

Show OrganizationalUnit Source # 
Instance details

Defined in Amazonka.Organizations.Types.OrganizationalUnit

Generic OrganizationalUnit Source # 
Instance details

Defined in Amazonka.Organizations.Types.OrganizationalUnit

Associated Types

type Rep OrganizationalUnit :: Type -> Type #

NFData OrganizationalUnit Source # 
Instance details

Defined in Amazonka.Organizations.Types.OrganizationalUnit

Methods

rnf :: OrganizationalUnit -> () #

Hashable OrganizationalUnit Source # 
Instance details

Defined in Amazonka.Organizations.Types.OrganizationalUnit

FromJSON OrganizationalUnit Source # 
Instance details

Defined in Amazonka.Organizations.Types.OrganizationalUnit

type Rep OrganizationalUnit Source # 
Instance details

Defined in Amazonka.Organizations.Types.OrganizationalUnit

type Rep OrganizationalUnit = D1 ('MetaData "OrganizationalUnit" "Amazonka.Organizations.Types.OrganizationalUnit" "libZSservicesZSamazonka-organizationsZSamazonka-organizations" 'False) (C1 ('MetaCons "OrganizationalUnit'" '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 "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newOrganizationalUnit :: OrganizationalUnit Source #

Create a value of OrganizationalUnit 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:OrganizationalUnit', organizationalUnit_arn - The Amazon Resource Name (ARN) of this OU.

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

$sel:name:OrganizationalUnit', organizationalUnit_name - The friendly name of this OU.

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

$sel:id:OrganizationalUnit', organizationalUnit_id - The unique identifier (ID) associated with this OU.

The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

organizationalUnit_arn :: Lens' OrganizationalUnit (Maybe Text) Source #

The Amazon Resource Name (ARN) of this OU.

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

organizationalUnit_name :: Lens' OrganizationalUnit (Maybe Text) Source #

The friendly name of this OU.

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

organizationalUnit_id :: Lens' OrganizationalUnit (Maybe Text) Source #

The unique identifier (ID) associated with this OU.

The regex pattern for an organizational unit ID string requires "ou-" followed by from 4 to 32 lowercase letters or digits (the ID of the root that contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.