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

Description

 
Synopsis

Documentation

data Child Source #

Contains a list of child entities, either OUs or accounts.

See: newChild smart constructor.

Constructors

Child' 

Fields

  • id :: Maybe Text

    The unique identifier (ID) of this child entity.

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

    • 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 contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.
  • type' :: Maybe ChildType

    The type of this child entity.

Instances

Instances details
Eq Child Source # 
Instance details

Defined in Amazonka.Organizations.Types.Child

Methods

(==) :: Child -> Child -> Bool #

(/=) :: Child -> Child -> Bool #

Read Child Source # 
Instance details

Defined in Amazonka.Organizations.Types.Child

Show Child Source # 
Instance details

Defined in Amazonka.Organizations.Types.Child

Methods

showsPrec :: Int -> Child -> ShowS #

show :: Child -> String #

showList :: [Child] -> ShowS #

Generic Child Source # 
Instance details

Defined in Amazonka.Organizations.Types.Child

Associated Types

type Rep Child :: Type -> Type #

Methods

from :: Child -> Rep Child x #

to :: Rep Child x -> Child #

NFData Child Source # 
Instance details

Defined in Amazonka.Organizations.Types.Child

Methods

rnf :: Child -> () #

Hashable Child Source # 
Instance details

Defined in Amazonka.Organizations.Types.Child

Methods

hashWithSalt :: Int -> Child -> Int #

hash :: Child -> Int #

FromJSON Child Source # 
Instance details

Defined in Amazonka.Organizations.Types.Child

type Rep Child Source # 
Instance details

Defined in Amazonka.Organizations.Types.Child

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

newChild :: Child Source #

Create a value of Child 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:id:Child', child_id - The unique identifier (ID) of this child entity.

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

  • 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 contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

$sel:type':Child', child_type - The type of this child entity.

child_id :: Lens' Child (Maybe Text) Source #

The unique identifier (ID) of this child entity.

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

  • 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 contains the OU). This string is followed by a second "-" dash and from 8 to 32 additional lowercase letters or digits.

child_type :: Lens' Child (Maybe ChildType) Source #

The type of this child entity.