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

Description

 
Synopsis

Documentation

data DeletedObject Source #

Information about the deleted object.

See: newDeletedObject smart constructor.

Constructors

DeletedObject' 

Fields

  • deleteMarker :: Maybe Bool

    Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker. In a simple DELETE, this header indicates whether (true) or not (false) a delete marker was created.

  • deleteMarkerVersionId :: Maybe Text

    The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.

  • key :: Maybe ObjectKey

    The name of the deleted object.

  • versionId :: Maybe ObjectVersionId

    The version ID of the deleted object.

Instances

Instances details
FromXML DeletedObject Source # 
Instance details

Defined in Amazonka.S3.Types.DeletedObject

Generic DeletedObject Source # 
Instance details

Defined in Amazonka.S3.Types.DeletedObject

Associated Types

type Rep DeletedObject :: Type -> Type #

Read DeletedObject Source # 
Instance details

Defined in Amazonka.S3.Types.DeletedObject

Show DeletedObject Source # 
Instance details

Defined in Amazonka.S3.Types.DeletedObject

NFData DeletedObject Source # 
Instance details

Defined in Amazonka.S3.Types.DeletedObject

Methods

rnf :: DeletedObject -> () #

Eq DeletedObject Source # 
Instance details

Defined in Amazonka.S3.Types.DeletedObject

Hashable DeletedObject Source # 
Instance details

Defined in Amazonka.S3.Types.DeletedObject

type Rep DeletedObject Source # 
Instance details

Defined in Amazonka.S3.Types.DeletedObject

type Rep DeletedObject = D1 ('MetaData "DeletedObject" "Amazonka.S3.Types.DeletedObject" "amazonka-s3-2.0-CNZtv1UmVzj28JXsFvwNoj" 'False) (C1 ('MetaCons "DeletedObject'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "deleteMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "deleteMarkerVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ObjectKey)) :*: S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ObjectVersionId)))))

newDeletedObject :: DeletedObject Source #

Create a value of DeletedObject 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:deleteMarker:DeletedObject', deletedObject_deleteMarker - Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker. In a simple DELETE, this header indicates whether (true) or not (false) a delete marker was created.

$sel:deleteMarkerVersionId:DeletedObject', deletedObject_deleteMarkerVersionId - The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.

$sel:key:DeletedObject', deletedObject_key - The name of the deleted object.

$sel:versionId:DeletedObject', deletedObject_versionId - The version ID of the deleted object.

deletedObject_deleteMarker :: Lens' DeletedObject (Maybe Bool) Source #

Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker. In a simple DELETE, this header indicates whether (true) or not (false) a delete marker was created.

deletedObject_deleteMarkerVersionId :: Lens' DeletedObject (Maybe Text) Source #

The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.

deletedObject_key :: Lens' DeletedObject (Maybe ObjectKey) Source #

The name of the deleted object.

deletedObject_versionId :: Lens' DeletedObject (Maybe ObjectVersionId) Source #

The version ID of the deleted object.