libZSservicesZSamazonka-s3ZSamazonka-s3
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.S3.Types.DeletedObject

Description

 
Synopsis

Documentation

data DeletedObject Source #

Information about the deleted object.

See: newDeletedObject smart constructor.

Constructors

DeletedObject' 

Fields

  • versionId :: Maybe ObjectVersionId

    The version ID of the deleted object.

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

Instances

Instances details
Eq DeletedObject Source # 
Instance details

Defined in Amazonka.S3.Types.DeletedObject

Read DeletedObject Source # 
Instance details

Defined in Amazonka.S3.Types.DeletedObject

Show 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 #

NFData DeletedObject Source # 
Instance details

Defined in Amazonka.S3.Types.DeletedObject

Methods

rnf :: DeletedObject -> () #

Hashable DeletedObject Source # 
Instance details

Defined in Amazonka.S3.Types.DeletedObject

FromXML 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" "libZSservicesZSamazonka-s3ZSamazonka-s3" 'False) (C1 ('MetaCons "DeletedObject'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "versionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ObjectVersionId)) :*: 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)))))

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:versionId:DeletedObject', deletedObject_versionId - The version ID of the deleted object.

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

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

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.