amazonka-guardduty-2.0: Amazon GuardDuty 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.GuardDuty.UpdateFilter

Description

Updates the filter specified by the filter name.

Synopsis

Creating a Request

data UpdateFilter Source #

See: newUpdateFilter smart constructor.

Constructors

UpdateFilter' 

Fields

  • action :: Maybe FilterAction

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

  • description :: Maybe Text

    The description of the filter. Valid special characters include period (.), underscore (_), dash (-), and whitespace. The new line character is considered to be an invalid input for description.

  • findingCriteria :: Maybe FindingCriteria

    Represents the criteria to be used in the filter for querying findings.

  • rank :: Maybe Natural

    Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.

  • detectorId :: Text

    The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.

  • filterName :: Text

    The name of the filter.

Instances

Instances details
ToJSON UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

ToHeaders UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

ToPath UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

ToQuery UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

AWSRequest UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Associated Types

type AWSResponse UpdateFilter #

Generic UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Associated Types

type Rep UpdateFilter :: Type -> Type #

Read UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Show UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

NFData UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Methods

rnf :: UpdateFilter -> () #

Eq UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Hashable UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

type AWSResponse UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

type Rep UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.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 - The description of the filter. Valid special characters include period (.), underscore (_), dash (-), and whitespace. The new line character is considered to be an invalid input for description.

$sel:findingCriteria:UpdateFilter', updateFilter_findingCriteria - Represents the criteria to be used in the filter for querying findings.

$sel:rank:UpdateFilter', updateFilter_rank - Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.

UpdateFilter, updateFilter_detectorId - The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.

$sel:filterName:UpdateFilter', updateFilter_filterName - The name of the filter.

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 #

The description of the filter. Valid special characters include period (.), underscore (_), dash (-), and whitespace. The new line character is considered to be an invalid input for description.

updateFilter_findingCriteria :: Lens' UpdateFilter (Maybe FindingCriteria) Source #

Represents the criteria to be used in the filter for querying findings.

updateFilter_rank :: Lens' UpdateFilter (Maybe Natural) Source #

Specifies the position of the filter in the list of current filters. Also specifies the order in which this filter is applied to the findings.

updateFilter_detectorId :: Lens' UpdateFilter Text Source #

The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.

Destructuring the Response

data UpdateFilterResponse Source #

See: newUpdateFilterResponse smart constructor.

Constructors

UpdateFilterResponse' 

Fields

Instances

Instances details
Generic UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Associated Types

type Rep UpdateFilterResponse :: Type -> Type #

Read UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Show UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

NFData UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Methods

rnf :: UpdateFilterResponse -> () #

Eq UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

type Rep UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

type Rep UpdateFilterResponse = D1 ('MetaData "UpdateFilterResponse" "Amazonka.GuardDuty.UpdateFilter" "amazonka-guardduty-2.0-2NN502sGcQRH5risQZb24c" 'False) (C1 ('MetaCons "UpdateFilterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") '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_name - The name of the filter.

Response Lenses