amazonka-s3-2.0: Amazon Simple Storage Service 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.S3.Types.MetadataEntry

Description

 
Synopsis

Documentation

data MetadataEntry Source #

A metadata key-value pair to store with an object.

See: newMetadataEntry smart constructor.

Constructors

MetadataEntry' 

Fields

Instances

Instances details
ToXML MetadataEntry Source # 
Instance details

Defined in Amazonka.S3.Types.MetadataEntry

Methods

toXML :: MetadataEntry -> XML #

Generic MetadataEntry Source # 
Instance details

Defined in Amazonka.S3.Types.MetadataEntry

Associated Types

type Rep MetadataEntry :: Type -> Type #

Read MetadataEntry Source # 
Instance details

Defined in Amazonka.S3.Types.MetadataEntry

Show MetadataEntry Source # 
Instance details

Defined in Amazonka.S3.Types.MetadataEntry

NFData MetadataEntry Source # 
Instance details

Defined in Amazonka.S3.Types.MetadataEntry

Methods

rnf :: MetadataEntry -> () #

Eq MetadataEntry Source # 
Instance details

Defined in Amazonka.S3.Types.MetadataEntry

Hashable MetadataEntry Source # 
Instance details

Defined in Amazonka.S3.Types.MetadataEntry

type Rep MetadataEntry Source # 
Instance details

Defined in Amazonka.S3.Types.MetadataEntry

type Rep MetadataEntry = D1 ('MetaData "MetadataEntry" "Amazonka.S3.Types.MetadataEntry" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "MetadataEntry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMetadataEntry :: MetadataEntry Source #

Create a value of MetadataEntry 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:name:MetadataEntry', metadataEntry_name - Name of the Object.

$sel:value:MetadataEntry', metadataEntry_value - Value of the Object.