amazonka-inspector2-2.0: Amazon Inspector2 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.Inspector2.UpdateFilter

Description

Specifies the action that is to be applied to the findings that match the filter.

Synopsis

Creating a Request

data UpdateFilter Source #

See: newUpdateFilter smart constructor.

Constructors

UpdateFilter' 

Fields

Instances

Instances details
ToJSON UpdateFilter Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

ToHeaders UpdateFilter Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

ToPath UpdateFilter Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

ToQuery UpdateFilter Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

AWSRequest UpdateFilter Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

Associated Types

type AWSResponse UpdateFilter #

Generic UpdateFilter Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

Associated Types

type Rep UpdateFilter :: Type -> Type #

Read UpdateFilter Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

Show UpdateFilter Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

NFData UpdateFilter Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

Methods

rnf :: UpdateFilter -> () #

Eq UpdateFilter Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

Hashable UpdateFilter Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

type AWSResponse UpdateFilter Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

type Rep UpdateFilter Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

newUpdateFilter Source #

Create a value of UpdateFilter 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:

UpdateFilter, updateFilter_action - Specifies the action that is to be applied to the findings that match the filter.

UpdateFilter, updateFilter_description - A description of the filter.

$sel:filterCriteria:UpdateFilter', updateFilter_filterCriteria - Defines the criteria to be update in the filter.

UpdateFilter, updateFilter_name - The name of the filter.

UpdateFilter, updateFilter_reason - The reason the filter was updated.

$sel:filterArn:UpdateFilter', updateFilter_filterArn - The Amazon Resource Number (ARN) of the filter to update.

Request Lenses

updateFilter_action :: Lens' UpdateFilter (Maybe FilterAction) Source #

Specifies the action that is to be applied to the findings that match the filter.

updateFilter_description :: Lens' UpdateFilter (Maybe Text) Source #

A description of the filter.

updateFilter_filterCriteria :: Lens' UpdateFilter (Maybe FilterCriteria) Source #

Defines the criteria to be update in the filter.

updateFilter_name :: Lens' UpdateFilter (Maybe Text) Source #

The name of the filter.

updateFilter_reason :: Lens' UpdateFilter (Maybe Text) Source #

The reason the filter was updated.

updateFilter_filterArn :: Lens' UpdateFilter Text Source #

The Amazon Resource Number (ARN) of the filter to update.

Destructuring the Response

data UpdateFilterResponse Source #

See: newUpdateFilterResponse smart constructor.

Constructors

UpdateFilterResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • arn :: Text

    The Amazon Resource Number (ARN) of the successfully updated filter.

Instances

Instances details
Generic UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

Associated Types

type Rep UpdateFilterResponse :: Type -> Type #

Read UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

Show UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

NFData UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

Methods

rnf :: UpdateFilterResponse -> () #

Eq UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

type Rep UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.Inspector2.UpdateFilter

type Rep UpdateFilterResponse = D1 ('MetaData "UpdateFilterResponse" "Amazonka.Inspector2.UpdateFilter" "amazonka-inspector2-2.0-EI0CfxGdACSBWwvVde8cFy" 'False) (C1 ('MetaCons "UpdateFilterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newUpdateFilterResponse Source #

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

UpdateFilterResponse, updateFilterResponse_arn - The Amazon Resource Number (ARN) of the successfully updated filter.

Response Lenses

updateFilterResponse_arn :: Lens' UpdateFilterResponse Text Source #

The Amazon Resource Number (ARN) of the successfully updated filter.