| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Organizations.Types.Child
Description
Documentation
Contains a list of child entities, either OUs or accounts.
See: newChild smart constructor.
Constructors
| Child' | |
Fields
| |
Instances
| FromJSON Child Source # | |
| Generic Child Source # | |
| Read Child Source # | |
| Show Child Source # | |
| NFData Child Source # | |
Defined in Amazonka.Organizations.Types.Child | |
| Eq Child Source # | |
| Hashable Child Source # | |
Defined in Amazonka.Organizations.Types.Child | |
| type Rep Child Source # | |
Defined in Amazonka.Organizations.Types.Child type Rep Child = D1 ('MetaData "Child" "Amazonka.Organizations.Types.Child" "amazonka-organizations-2.0-JONpdX4PtttLcKxQshpOlA" '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)))) | |
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.