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 |
Synopsis
- data Attribute = Attribute' {}
- newAttribute :: Attribute
- attribute_name :: Lens' Attribute (Maybe Text)
- attribute_value :: Lens' Attribute (Maybe Text)
Documentation
Represents a named directory attribute.
See: newAttribute
smart constructor.
Instances
FromJSON Attribute Source # | |
ToJSON Attribute Source # | |
Defined in Amazonka.DirectoryService.Types.Attribute | |
Generic Attribute Source # | |
Read Attribute Source # | |
Show Attribute Source # | |
NFData Attribute Source # | |
Defined in Amazonka.DirectoryService.Types.Attribute | |
Eq Attribute Source # | |
Hashable Attribute Source # | |
Defined in Amazonka.DirectoryService.Types.Attribute | |
type Rep Attribute Source # | |
Defined in Amazonka.DirectoryService.Types.Attribute type Rep Attribute = D1 ('MetaData "Attribute" "Amazonka.DirectoryService.Types.Attribute" "amazonka-ds-2.0-AgXI5fcN8ZxCoi4kNvhD3" 'False) (C1 ('MetaCons "Attribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newAttribute :: Attribute Source #
Create a value of Attribute
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:name:Attribute'
, attribute_name
- The name of the attribute.
$sel:value:Attribute'
, attribute_value
- The value of the attribute.