libZSservicesZSamazonka-inspectorZSamazonka-inspector
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Inspector.Types.Attribute

Description

 
Synopsis

Documentation

data Attribute Source #

This data type is used as a request parameter in the AddAttributesToFindings and CreateAssessmentTemplate actions.

See: newAttribute smart constructor.

Constructors

Attribute' 

Fields

Instances

Instances details
Eq Attribute Source # 
Instance details

Defined in Amazonka.Inspector.Types.Attribute

Read Attribute Source # 
Instance details

Defined in Amazonka.Inspector.Types.Attribute

Show Attribute Source # 
Instance details

Defined in Amazonka.Inspector.Types.Attribute

Generic Attribute Source # 
Instance details

Defined in Amazonka.Inspector.Types.Attribute

Associated Types

type Rep Attribute :: Type -> Type #

NFData Attribute Source # 
Instance details

Defined in Amazonka.Inspector.Types.Attribute

Methods

rnf :: Attribute -> () #

Hashable Attribute Source # 
Instance details

Defined in Amazonka.Inspector.Types.Attribute

ToJSON Attribute Source # 
Instance details

Defined in Amazonka.Inspector.Types.Attribute

FromJSON Attribute Source # 
Instance details

Defined in Amazonka.Inspector.Types.Attribute

type Rep Attribute Source # 
Instance details

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)))

newAttribute 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 assigned to the attribute key.

$sel:key:Attribute', attribute_key - The attribute key.

attribute_value :: Lens' Attribute (Maybe Text) Source #

The value assigned to the attribute key.

attribute_key :: Lens' Attribute Text Source #

The attribute key.