amazonka-inspector-2.0: Amazon Inspector SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON Attribute Source # 
Instance details

Defined in Amazonka.Inspector.Types.Attribute

ToJSON 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 #

Read Attribute Source # 
Instance details

Defined in Amazonka.Inspector.Types.Attribute

Show Attribute Source # 
Instance details

Defined in Amazonka.Inspector.Types.Attribute

NFData Attribute Source # 
Instance details

Defined in Amazonka.Inspector.Types.Attribute

Methods

rnf :: Attribute -> () #

Eq Attribute Source # 
Instance details

Defined in Amazonka.Inspector.Types.Attribute

Hashable 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" "amazonka-inspector-2.0-DbkSB2KDR0U54GYFqTMz6L" '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.