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 :: Text -> Attribute
- attribute_value :: Lens' Attribute (Maybe Text)
- attribute_key :: Lens' Attribute Text
Documentation
This data type is used as a request parameter in the AddAttributesToFindings and CreateAssessmentTemplate actions.
See: newAttribute
smart constructor.
Instances
Eq Attribute Source # | |
Read Attribute Source # | |
Show Attribute Source # | |
Generic Attribute Source # | |
NFData Attribute Source # | |
Defined in Amazonka.Inspector.Types.Attribute | |
Hashable Attribute Source # | |
Defined in Amazonka.Inspector.Types.Attribute | |
ToJSON Attribute Source # | |
Defined in Amazonka.Inspector.Types.Attribute | |
FromJSON Attribute Source # | |
type Rep Attribute Source # | |
Defined in Amazonka.Inspector.Types.Attribute type Rep Attribute = D1 ('MetaData "Attribute" "Amazonka.Inspector.Types.Attribute" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "Attribute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
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 assigned to the attribute key.
$sel:key:Attribute'
, attribute_key
- The attribute key.