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 |
Documentation
Contains information about either a root or an organizational unit (OU) that can contain OUs or accounts in an organization.
See: newParent
smart constructor.
Parent' | |
|
Instances
FromJSON Parent Source # | |
Generic Parent Source # | |
Read Parent Source # | |
Show Parent Source # | |
NFData Parent Source # | |
Defined in Amazonka.Organizations.Types.Parent | |
Eq Parent Source # | |
Hashable Parent Source # | |
Defined in Amazonka.Organizations.Types.Parent | |
type Rep Parent Source # | |
Defined in Amazonka.Organizations.Types.Parent type Rep Parent = D1 ('MetaData "Parent" "Amazonka.Organizations.Types.Parent" "amazonka-organizations-2.0-JONpdX4PtttLcKxQshpOlA" 'False) (C1 ('MetaCons "Parent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ParentType)))) |
Create a value of Parent
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:Parent'
, parent_id
- The unique identifier (ID) of the parent entity.
The regex pattern for a parent ID string requires one of the following:
- Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or 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':Parent'
, parent_type
- The type of the parent entity.
parent_id :: Lens' Parent (Maybe Text) Source #
The unique identifier (ID) of the parent entity.
The regex pattern for a parent ID string requires one of the following:
- Root - A string that begins with "r-" followed by from 4 to 32 lowercase letters or 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.
parent_type :: Lens' Parent (Maybe ParentType) Source #
The type of the parent entity.