libZSservicesZSamazonka-guarddutyZSamazonka-guardduty
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.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

Instances

Instances details
Eq UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Read UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Show UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Generic UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Associated Types

type Rep UpdateFilter :: Type -> Type #

NFData UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Methods

rnf :: UpdateFilter -> () #

Hashable UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

ToJSON UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

AWSRequest UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Associated Types

type AWSResponse 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

type Rep UpdateFilter Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

type Rep UpdateFilter = D1 ('MetaData "UpdateFilter" "Amazonka.GuardDuty.UpdateFilter" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" 'False) (C1 ('MetaCons "UpdateFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "findingCriteria") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FindingCriteria)) :*: (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe FilterAction)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "rank") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "detectorId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "filterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse 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:

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

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

$sel:description:UpdateFilter', updateFilter_description - The description of the filter.

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

$sel:detectorId: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_findingCriteria :: Lens' UpdateFilter (Maybe FindingCriteria) Source #

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

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.

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
Eq UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Read UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Show UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Generic UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Associated Types

type Rep UpdateFilterResponse :: Type -> Type #

NFData UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

Methods

rnf :: UpdateFilterResponse -> () #

type Rep UpdateFilterResponse Source # 
Instance details

Defined in Amazonka.GuardDuty.UpdateFilter

type Rep UpdateFilterResponse = D1 ('MetaData "UpdateFilterResponse" "Amazonka.GuardDuty.UpdateFilter" "libZSservicesZSamazonka-guarddutyZSamazonka-guardduty" '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.

$sel:name:UpdateFilterResponse', updateFilterResponse_name - The name of the filter.

Response Lenses