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

Description

 
Synopsis

Documentation

data KeyValuePair Source #

Provides information about the tags that are associated with an S3 bucket or object. Each tag consists of a required tag key and an associated tag value.

See: newKeyValuePair smart constructor.

Constructors

KeyValuePair' 

Fields

  • value :: Maybe Text

    One part of a key-value pair that comprises a tag. A tag value acts as a descriptor for a tag key. A tag value can be an empty string.

  • key :: Maybe Text

    One part of a key-value pair that comprises a tag. A tag key is a general label that acts as a category for more specific tag values.

Instances

Instances details
Eq KeyValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.KeyValuePair

Read KeyValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.KeyValuePair

Show KeyValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.KeyValuePair

Generic KeyValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.KeyValuePair

Associated Types

type Rep KeyValuePair :: Type -> Type #

NFData KeyValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.KeyValuePair

Methods

rnf :: KeyValuePair -> () #

Hashable KeyValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.KeyValuePair

FromJSON KeyValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.KeyValuePair

type Rep KeyValuePair Source # 
Instance details

Defined in Amazonka.MacieV2.Types.KeyValuePair

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

newKeyValuePair :: KeyValuePair Source #

Create a value of KeyValuePair 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:KeyValuePair', keyValuePair_value - One part of a key-value pair that comprises a tag. A tag value acts as a descriptor for a tag key. A tag value can be an empty string.

$sel:key:KeyValuePair', keyValuePair_key - One part of a key-value pair that comprises a tag. A tag key is a general label that acts as a category for more specific tag values.

keyValuePair_value :: Lens' KeyValuePair (Maybe Text) Source #

One part of a key-value pair that comprises a tag. A tag value acts as a descriptor for a tag key. A tag value can be an empty string.

keyValuePair_key :: Lens' KeyValuePair (Maybe Text) Source #

One part of a key-value pair that comprises a tag. A tag key is a general label that acts as a category for more specific tag values.