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

Description

 
Synopsis

Documentation

data TagValuePair Source #

Specifies a tag key or tag key and value pair to use in a tag-based condition that determines whether an S3 object is included or excluded from a classification job. Tag keys and values are case sensitive. Also, Amazon Macie doesn't support use of partial values or wildcard characters in tag-based conditions.

See: newTagValuePair smart constructor.

Constructors

TagValuePair' 

Fields

  • value :: Maybe Text

    The tag value, associated with the specified tag key (key), to use in the condition. To specify only a tag key for a condition, specify the tag key for the key property and set this value to an empty string.

  • key :: Maybe Text

    The value for the tag key to use in the condition.

Instances

Instances details
Eq TagValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagValuePair

Read TagValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagValuePair

Show TagValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagValuePair

Generic TagValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagValuePair

Associated Types

type Rep TagValuePair :: Type -> Type #

NFData TagValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagValuePair

Methods

rnf :: TagValuePair -> () #

Hashable TagValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagValuePair

ToJSON TagValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagValuePair

FromJSON TagValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagValuePair

type Rep TagValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.TagValuePair

type Rep TagValuePair = D1 ('MetaData "TagValuePair" "Amazonka.MacieV2.Types.TagValuePair" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "TagValuePair'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTagValuePair :: TagValuePair Source #

Create a value of TagValuePair 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:value:TagValuePair', tagValuePair_value - The tag value, associated with the specified tag key (key), to use in the condition. To specify only a tag key for a condition, specify the tag key for the key property and set this value to an empty string.

$sel:key:TagValuePair', tagValuePair_key - The value for the tag key to use in the condition.

tagValuePair_value :: Lens' TagValuePair (Maybe Text) Source #

The tag value, associated with the specified tag key (key), to use in the condition. To specify only a tag key for a condition, specify the tag key for the key property and set this value to an empty string.

tagValuePair_key :: Lens' TagValuePair (Maybe Text) Source #

The value for the tag key to use in the condition.