Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Attribute = Attribute' {}
- newAttribute :: Attribute
- attribute_value :: Lens' Attribute (Maybe Text)
- attribute_name :: Lens' Attribute (Maybe Text)
Documentation
Represents a named directory attribute.
See: newAttribute
smart constructor.
Instances
Eq Attribute Source # | |
Read Attribute Source # | |
Show Attribute Source # | |
Generic Attribute Source # | |
NFData Attribute Source # | |
Defined in Amazonka.DirectoryService.Types.Attribute | |
Hashable Attribute Source # | |
Defined in Amazonka.DirectoryService.Types.Attribute | |
ToJSON Attribute Source # | |
Defined in Amazonka.DirectoryService.Types.Attribute | |
FromJSON Attribute Source # | |
type Rep Attribute Source # | |
Defined in Amazonka.DirectoryService.Types.Attribute type Rep Attribute = D1 ('MetaData "Attribute" "Amazonka.DirectoryService.Types.Attribute" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "Attribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") '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:value:Attribute'
, attribute_value
- The value of the attribute.
$sel:name:Attribute'
, attribute_name
- The name of the attribute.