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.AddAttributesToFindings

Description

Assigns attributes (key and value pairs) to the findings that are specified by the ARNs of the findings.

Synopsis

Creating a Request

data AddAttributesToFindings Source #

See: newAddAttributesToFindings smart constructor.

Constructors

AddAttributesToFindings' 

Fields

Instances

Instances details
Eq AddAttributesToFindings Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

Read AddAttributesToFindings Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

Show AddAttributesToFindings Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

Generic AddAttributesToFindings Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

Associated Types

type Rep AddAttributesToFindings :: Type -> Type #

NFData AddAttributesToFindings Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

Methods

rnf :: AddAttributesToFindings -> () #

Hashable AddAttributesToFindings Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

ToJSON AddAttributesToFindings Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

AWSRequest AddAttributesToFindings Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

ToHeaders AddAttributesToFindings Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

ToPath AddAttributesToFindings Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

ToQuery AddAttributesToFindings Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

type Rep AddAttributesToFindings Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

type Rep AddAttributesToFindings = D1 ('MetaData "AddAttributesToFindings" "Amazonka.Inspector.AddAttributesToFindings" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "AddAttributesToFindings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "findingArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)) :*: S1 ('MetaSel ('Just "attributes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Attribute])))
type AWSResponse AddAttributesToFindings Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

newAddAttributesToFindings Source #

Create a value of AddAttributesToFindings 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:findingArns:AddAttributesToFindings', addAttributesToFindings_findingArns - The ARNs that specify the findings that you want to assign attributes to.

$sel:attributes:AddAttributesToFindings', addAttributesToFindings_attributes - The array of attributes that you want to assign to specified findings.

Request Lenses

addAttributesToFindings_findingArns :: Lens' AddAttributesToFindings (NonEmpty Text) Source #

The ARNs that specify the findings that you want to assign attributes to.

addAttributesToFindings_attributes :: Lens' AddAttributesToFindings [Attribute] Source #

The array of attributes that you want to assign to specified findings.

Destructuring the Response

data AddAttributesToFindingsResponse Source #

See: newAddAttributesToFindingsResponse smart constructor.

Constructors

AddAttributesToFindingsResponse' 

Fields

Instances

Instances details
Eq AddAttributesToFindingsResponse Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

Read AddAttributesToFindingsResponse Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

Show AddAttributesToFindingsResponse Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

Generic AddAttributesToFindingsResponse Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

Associated Types

type Rep AddAttributesToFindingsResponse :: Type -> Type #

NFData AddAttributesToFindingsResponse Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

type Rep AddAttributesToFindingsResponse Source # 
Instance details

Defined in Amazonka.Inspector.AddAttributesToFindings

type Rep AddAttributesToFindingsResponse = D1 ('MetaData "AddAttributesToFindingsResponse" "Amazonka.Inspector.AddAttributesToFindings" "libZSservicesZSamazonka-inspectorZSamazonka-inspector" 'False) (C1 ('MetaCons "AddAttributesToFindingsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "failedItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (HashMap Text FailedItemDetails))))

newAddAttributesToFindingsResponse Source #

Create a value of AddAttributesToFindingsResponse 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:httpStatus:AddAttributesToFindingsResponse', addAttributesToFindingsResponse_httpStatus - The response's http status code.

$sel:failedItems:AddAttributesToFindingsResponse', addAttributesToFindingsResponse_failedItems - Attribute details that cannot be described. An error code is provided for each failed item.

Response Lenses

addAttributesToFindingsResponse_failedItems :: Lens' AddAttributesToFindingsResponse (HashMap Text FailedItemDetails) Source #

Attribute details that cannot be described. An error code is provided for each failed item.