libZSservicesZSamazonka-maciev2ZSamazonka-maciev2
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.MacieV2.UpdateFindingsFilter

Description

Updates the criteria and other settings for a findings filter.

Synopsis

Creating a Request

data UpdateFindingsFilter Source #

See: newUpdateFindingsFilter smart constructor.

Constructors

UpdateFindingsFilter' 

Fields

  • clientToken :: Maybe Text

    A unique, case-sensitive token that you provide to ensure the idempotency of the request.

  • findingCriteria :: Maybe FindingCriteria

    The criteria to use to filter findings.

  • action :: Maybe FindingsFilterAction

    The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

  • name :: Maybe Text

    A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.

    We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users might be able to see the filter's name, depending on the actions that they're allowed to perform in Amazon Macie.

  • description :: Maybe Text

    A custom description of the filter. The description can contain as many as 512 characters.

    We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.

  • position :: Maybe Int

    The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

  • id :: Text

    The unique identifier for the Amazon Macie resource or account that the request applies to.

Instances

Instances details
Eq UpdateFindingsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

Read UpdateFindingsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

Show UpdateFindingsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

Generic UpdateFindingsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

Associated Types

type Rep UpdateFindingsFilter :: Type -> Type #

NFData UpdateFindingsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

Methods

rnf :: UpdateFindingsFilter -> () #

Hashable UpdateFindingsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

ToJSON UpdateFindingsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

AWSRequest UpdateFindingsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

Associated Types

type AWSResponse UpdateFindingsFilter #

ToHeaders UpdateFindingsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

ToPath UpdateFindingsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

ToQuery UpdateFindingsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

type Rep UpdateFindingsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

type AWSResponse UpdateFindingsFilter Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

newUpdateFindingsFilter Source #

Create a value of UpdateFindingsFilter 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:clientToken:UpdateFindingsFilter', updateFindingsFilter_clientToken - A unique, case-sensitive token that you provide to ensure the idempotency of the request.

$sel:findingCriteria:UpdateFindingsFilter', updateFindingsFilter_findingCriteria - The criteria to use to filter findings.

$sel:action:UpdateFindingsFilter', updateFindingsFilter_action - The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

$sel:name:UpdateFindingsFilter', updateFindingsFilter_name - A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.

We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users might be able to see the filter's name, depending on the actions that they're allowed to perform in Amazon Macie.

$sel:description:UpdateFindingsFilter', updateFindingsFilter_description - A custom description of the filter. The description can contain as many as 512 characters.

We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.

$sel:position:UpdateFindingsFilter', updateFindingsFilter_position - The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

$sel:id:UpdateFindingsFilter', updateFindingsFilter_id - The unique identifier for the Amazon Macie resource or account that the request applies to.

Request Lenses

updateFindingsFilter_clientToken :: Lens' UpdateFindingsFilter (Maybe Text) Source #

A unique, case-sensitive token that you provide to ensure the idempotency of the request.

updateFindingsFilter_action :: Lens' UpdateFindingsFilter (Maybe FindingsFilterAction) Source #

The action to perform on findings that meet the filter criteria (findingCriteria). Valid values are: ARCHIVE, suppress (automatically archive) the findings; and, NOOP, don't perform any action on the findings.

updateFindingsFilter_name :: Lens' UpdateFindingsFilter (Maybe Text) Source #

A custom name for the filter. The name must contain at least 3 characters and can contain as many as 64 characters.

We strongly recommend that you avoid including any sensitive data in the name of a filter. Other users might be able to see the filter's name, depending on the actions that they're allowed to perform in Amazon Macie.

updateFindingsFilter_description :: Lens' UpdateFindingsFilter (Maybe Text) Source #

A custom description of the filter. The description can contain as many as 512 characters.

We strongly recommend that you avoid including any sensitive data in the description of a filter. Other users might be able to see the filter's description, depending on the actions that they're allowed to perform in Amazon Macie.

updateFindingsFilter_position :: Lens' UpdateFindingsFilter (Maybe Int) Source #

The position of the filter in the list of saved filters on the Amazon Macie console. This value also determines the order in which the filter is applied to findings, relative to other filters that are also applied to the findings.

updateFindingsFilter_id :: Lens' UpdateFindingsFilter Text Source #

The unique identifier for the Amazon Macie resource or account that the request applies to.

Destructuring the Response

data UpdateFindingsFilterResponse Source #

See: newUpdateFindingsFilterResponse smart constructor.

Constructors

UpdateFindingsFilterResponse' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the filter that was updated.

  • id :: Maybe Text

    The unique identifier for the filter that was updated.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq UpdateFindingsFilterResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

Read UpdateFindingsFilterResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

Show UpdateFindingsFilterResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

Generic UpdateFindingsFilterResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

Associated Types

type Rep UpdateFindingsFilterResponse :: Type -> Type #

NFData UpdateFindingsFilterResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

type Rep UpdateFindingsFilterResponse Source # 
Instance details

Defined in Amazonka.MacieV2.UpdateFindingsFilter

type Rep UpdateFindingsFilterResponse = D1 ('MetaData "UpdateFindingsFilterResponse" "Amazonka.MacieV2.UpdateFindingsFilter" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "UpdateFindingsFilterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateFindingsFilterResponse Source #

Create a value of UpdateFindingsFilterResponse 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:arn:UpdateFindingsFilterResponse', updateFindingsFilterResponse_arn - The Amazon Resource Name (ARN) of the filter that was updated.

$sel:id:UpdateFindingsFilter', updateFindingsFilterResponse_id - The unique identifier for the filter that was updated.

$sel:httpStatus:UpdateFindingsFilterResponse', updateFindingsFilterResponse_httpStatus - The response's http status code.

Response Lenses

updateFindingsFilterResponse_arn :: Lens' UpdateFindingsFilterResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the filter that was updated.

updateFindingsFilterResponse_id :: Lens' UpdateFindingsFilterResponse (Maybe Text) Source #

The unique identifier for the filter that was updated.