amazonka-maciev2-2.0: Amazon Macie 2 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.MacieV2.Types.S3ClassificationScopeExclusionUpdate

Description

 
Synopsis

Documentation

data S3ClassificationScopeExclusionUpdate Source #

Specifies S3 buckets to add or remove from the exclusion list defined by the classification scope for an Amazon Macie account.

See: newS3ClassificationScopeExclusionUpdate smart constructor.

Constructors

S3ClassificationScopeExclusionUpdate' 

Fields

  • bucketNames :: [Text]

    Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.

  • operation :: ClassificationScopeUpdateOperation

    Specifies how to apply the changes to the exclusion list. Valid values are:

    • ADD - Append the specified bucket names to the current list.
    • REMOVE - Remove the specified bucket names from the current list.
    • REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.

Instances

Instances details
ToJSON S3ClassificationScopeExclusionUpdate Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3ClassificationScopeExclusionUpdate

Generic S3ClassificationScopeExclusionUpdate Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3ClassificationScopeExclusionUpdate

Read S3ClassificationScopeExclusionUpdate Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3ClassificationScopeExclusionUpdate

Show S3ClassificationScopeExclusionUpdate Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3ClassificationScopeExclusionUpdate

NFData S3ClassificationScopeExclusionUpdate Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3ClassificationScopeExclusionUpdate

Eq S3ClassificationScopeExclusionUpdate Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3ClassificationScopeExclusionUpdate

Hashable S3ClassificationScopeExclusionUpdate Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3ClassificationScopeExclusionUpdate

type Rep S3ClassificationScopeExclusionUpdate Source # 
Instance details

Defined in Amazonka.MacieV2.Types.S3ClassificationScopeExclusionUpdate

type Rep S3ClassificationScopeExclusionUpdate = D1 ('MetaData "S3ClassificationScopeExclusionUpdate" "Amazonka.MacieV2.Types.S3ClassificationScopeExclusionUpdate" "amazonka-maciev2-2.0-5WBPWSHaxt7LOrO1LzXg18" 'False) (C1 ('MetaCons "S3ClassificationScopeExclusionUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bucketNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "operation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ClassificationScopeUpdateOperation)))

newS3ClassificationScopeExclusionUpdate Source #

Create a value of S3ClassificationScopeExclusionUpdate 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:bucketNames:S3ClassificationScopeExclusionUpdate', s3ClassificationScopeExclusionUpdate_bucketNames - Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.

$sel:operation:S3ClassificationScopeExclusionUpdate', s3ClassificationScopeExclusionUpdate_operation - Specifies how to apply the changes to the exclusion list. Valid values are:

  • ADD - Append the specified bucket names to the current list.
  • REMOVE - Remove the specified bucket names from the current list.
  • REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.

s3ClassificationScopeExclusionUpdate_bucketNames :: Lens' S3ClassificationScopeExclusionUpdate [Text] Source #

Depending on the value specified for the update operation (ClassificationScopeUpdateOperation), an array of strings that: lists the names of buckets to add or remove from the list, or specifies a new set of bucket names that overwrites all existing names in the list. Each string must be the full name of an S3 bucket. Values are case sensitive.

s3ClassificationScopeExclusionUpdate_operation :: Lens' S3ClassificationScopeExclusionUpdate ClassificationScopeUpdateOperation Source #

Specifies how to apply the changes to the exclusion list. Valid values are:

  • ADD - Append the specified bucket names to the current list.
  • REMOVE - Remove the specified bucket names from the current list.
  • REPLACE - Overwrite the current list with the specified list of bucket names. If you specify this value, Amazon Macie removes all existing names from the list and adds all the specified names to the list.