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

Description

Removes entire attributes (key and value pairs) from the findings that are specified by the ARNs of the findings where an attribute with the specified key exists.

Synopsis

Creating a Request

data RemoveAttributesFromFindings Source #

See: newRemoveAttributesFromFindings smart constructor.

Constructors

RemoveAttributesFromFindings' 

Fields

  • findingArns :: NonEmpty Text

    The ARNs that specify the findings that you want to remove attributes from.

  • attributeKeys :: [Text]

    The array of attribute keys that you want to remove from specified findings.

Instances

Instances details
Eq RemoveAttributesFromFindings Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

Read RemoveAttributesFromFindings Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

Show RemoveAttributesFromFindings Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

Generic RemoveAttributesFromFindings Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

Associated Types

type Rep RemoveAttributesFromFindings :: Type -> Type #

NFData RemoveAttributesFromFindings Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

Hashable RemoveAttributesFromFindings Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

ToJSON RemoveAttributesFromFindings Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

AWSRequest RemoveAttributesFromFindings Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

ToHeaders RemoveAttributesFromFindings Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

ToPath RemoveAttributesFromFindings Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

ToQuery RemoveAttributesFromFindings Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

type Rep RemoveAttributesFromFindings Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

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

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

newRemoveAttributesFromFindings Source #

Create a value of RemoveAttributesFromFindings 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:RemoveAttributesFromFindings', removeAttributesFromFindings_findingArns - The ARNs that specify the findings that you want to remove attributes from.

$sel:attributeKeys:RemoveAttributesFromFindings', removeAttributesFromFindings_attributeKeys - The array of attribute keys that you want to remove from specified findings.

Request Lenses

removeAttributesFromFindings_findingArns :: Lens' RemoveAttributesFromFindings (NonEmpty Text) Source #

The ARNs that specify the findings that you want to remove attributes from.

removeAttributesFromFindings_attributeKeys :: Lens' RemoveAttributesFromFindings [Text] Source #

The array of attribute keys that you want to remove from specified findings.

Destructuring the Response

data RemoveAttributesFromFindingsResponse Source #

Constructors

RemoveAttributesFromFindingsResponse' 

Fields

Instances

Instances details
Eq RemoveAttributesFromFindingsResponse Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

Read RemoveAttributesFromFindingsResponse Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

Show RemoveAttributesFromFindingsResponse Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

Generic RemoveAttributesFromFindingsResponse Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

NFData RemoveAttributesFromFindingsResponse Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

type Rep RemoveAttributesFromFindingsResponse Source # 
Instance details

Defined in Amazonka.Inspector.RemoveAttributesFromFindings

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

newRemoveAttributesFromFindingsResponse Source #

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

$sel:failedItems:RemoveAttributesFromFindingsResponse', removeAttributesFromFindingsResponse_failedItems - Attributes details that cannot be described. An error code is provided for each failed item.

Response Lenses

removeAttributesFromFindingsResponse_failedItems :: Lens' RemoveAttributesFromFindingsResponse (HashMap Text FailedItemDetails) Source #

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