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.Types.TagScopeTerm

Description

 
Synopsis

Documentation

data TagScopeTerm Source #

Specifies a tag-based condition that determines whether an S3 object is included or excluded from a classification job.

See: newTagScopeTerm smart constructor.

Constructors

TagScopeTerm' 

Fields

  • tagValues :: Maybe [TagValuePair]

    The tag keys or tag key and value pairs to use in the condition. To specify only tag keys in a condition, specify the keys in this array and set the value for each associated tag value to an empty string.

  • key :: Maybe Text

    The object property to use in the condition. The only valid value is TAG.

  • comparator :: Maybe JobComparator

    The operator to use in the condition. Valid values are EQ (equals) or NE (not equals).

  • target :: Maybe TagTarget

    The type of object to apply the condition to.

Instances

Instances details
Eq TagScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagScopeTerm

Read TagScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagScopeTerm

Show TagScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagScopeTerm

Generic TagScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagScopeTerm

Associated Types

type Rep TagScopeTerm :: Type -> Type #

NFData TagScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagScopeTerm

Methods

rnf :: TagScopeTerm -> () #

Hashable TagScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagScopeTerm

ToJSON TagScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagScopeTerm

FromJSON TagScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagScopeTerm

type Rep TagScopeTerm Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagScopeTerm

type Rep TagScopeTerm = D1 ('MetaData "TagScopeTerm" "Amazonka.MacieV2.Types.TagScopeTerm" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "TagScopeTerm'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "tagValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagValuePair])) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "comparator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobComparator)) :*: S1 ('MetaSel ('Just "target") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TagTarget)))))

newTagScopeTerm :: TagScopeTerm Source #

Create a value of TagScopeTerm 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:tagValues:TagScopeTerm', tagScopeTerm_tagValues - The tag keys or tag key and value pairs to use in the condition. To specify only tag keys in a condition, specify the keys in this array and set the value for each associated tag value to an empty string.

$sel:key:TagScopeTerm', tagScopeTerm_key - The object property to use in the condition. The only valid value is TAG.

$sel:comparator:TagScopeTerm', tagScopeTerm_comparator - The operator to use in the condition. Valid values are EQ (equals) or NE (not equals).

$sel:target:TagScopeTerm', tagScopeTerm_target - The type of object to apply the condition to.

tagScopeTerm_tagValues :: Lens' TagScopeTerm (Maybe [TagValuePair]) Source #

The tag keys or tag key and value pairs to use in the condition. To specify only tag keys in a condition, specify the keys in this array and set the value for each associated tag value to an empty string.

tagScopeTerm_key :: Lens' TagScopeTerm (Maybe Text) Source #

The object property to use in the condition. The only valid value is TAG.

tagScopeTerm_comparator :: Lens' TagScopeTerm (Maybe JobComparator) Source #

The operator to use in the condition. Valid values are EQ (equals) or NE (not equals).

tagScopeTerm_target :: Lens' TagScopeTerm (Maybe TagTarget) Source #

The type of object to apply the condition to.