libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.DeleteDiskSnapshot

Description

Deletes the specified disk snapshot.

When you make periodic snapshots of a disk, the snapshots are incremental, and only the blocks on the device that have changed since your last snapshot are saved in the new snapshot. When you delete a snapshot, only the data not needed for any other snapshot is removed. So regardless of which prior snapshots have been deleted, all active snapshots will have access to all the information needed to restore the disk.

The delete disk snapshot operation supports tag-based access control via resource tags applied to the resource identified by disk snapshot name. For more information, see the Amazon Lightsail Developer Guide.

Synopsis

Creating a Request

data DeleteDiskSnapshot Source #

See: newDeleteDiskSnapshot smart constructor.

Constructors

DeleteDiskSnapshot' 

Fields

Instances

Instances details
Eq DeleteDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

Read DeleteDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

Show DeleteDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

Generic DeleteDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

Associated Types

type Rep DeleteDiskSnapshot :: Type -> Type #

NFData DeleteDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

Methods

rnf :: DeleteDiskSnapshot -> () #

Hashable DeleteDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

ToJSON DeleteDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

AWSRequest DeleteDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

Associated Types

type AWSResponse DeleteDiskSnapshot #

ToHeaders DeleteDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

ToPath DeleteDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

ToQuery DeleteDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

type Rep DeleteDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

type Rep DeleteDiskSnapshot = D1 ('MetaData "DeleteDiskSnapshot" "Amazonka.Lightsail.DeleteDiskSnapshot" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DeleteDiskSnapshot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "diskSnapshotName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

newDeleteDiskSnapshot Source #

Create a value of DeleteDiskSnapshot 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:diskSnapshotName:DeleteDiskSnapshot', deleteDiskSnapshot_diskSnapshotName - The name of the disk snapshot you want to delete (e.g., my-disk-snapshot).

Request Lenses

deleteDiskSnapshot_diskSnapshotName :: Lens' DeleteDiskSnapshot Text Source #

The name of the disk snapshot you want to delete (e.g., my-disk-snapshot).

Destructuring the Response

data DeleteDiskSnapshotResponse Source #

See: newDeleteDiskSnapshotResponse smart constructor.

Constructors

DeleteDiskSnapshotResponse' 

Fields

  • operations :: Maybe [Operation]

    An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DeleteDiskSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

Read DeleteDiskSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

Show DeleteDiskSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

Generic DeleteDiskSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

Associated Types

type Rep DeleteDiskSnapshotResponse :: Type -> Type #

NFData DeleteDiskSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

type Rep DeleteDiskSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteDiskSnapshot

type Rep DeleteDiskSnapshotResponse = D1 ('MetaData "DeleteDiskSnapshotResponse" "Amazonka.Lightsail.DeleteDiskSnapshot" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DeleteDiskSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteDiskSnapshotResponse Source #

Create a value of DeleteDiskSnapshotResponse 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:operations:DeleteDiskSnapshotResponse', deleteDiskSnapshotResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:DeleteDiskSnapshotResponse', deleteDiskSnapshotResponse_httpStatus - The response's http status code.

Response Lenses

deleteDiskSnapshotResponse_operations :: Lens' DeleteDiskSnapshotResponse (Maybe [Operation]) Source #

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.