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

Description

Deletes a specific snapshot of a virtual private server (or instance).

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

Synopsis

Creating a Request

data DeleteInstanceSnapshot Source #

See: newDeleteInstanceSnapshot smart constructor.

Constructors

DeleteInstanceSnapshot' 

Fields

Instances

Instances details
Eq DeleteInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

Read DeleteInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

Show DeleteInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

Generic DeleteInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

Associated Types

type Rep DeleteInstanceSnapshot :: Type -> Type #

NFData DeleteInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

Methods

rnf :: DeleteInstanceSnapshot -> () #

Hashable DeleteInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

ToJSON DeleteInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

AWSRequest DeleteInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

Associated Types

type AWSResponse DeleteInstanceSnapshot #

ToHeaders DeleteInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

ToPath DeleteInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

ToQuery DeleteInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

type Rep DeleteInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

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

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

newDeleteInstanceSnapshot Source #

Create a value of DeleteInstanceSnapshot 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:instanceSnapshotName:DeleteInstanceSnapshot', deleteInstanceSnapshot_instanceSnapshotName - The name of the snapshot to delete.

Request Lenses

Destructuring the Response

data DeleteInstanceSnapshotResponse Source #

See: newDeleteInstanceSnapshotResponse smart constructor.

Constructors

DeleteInstanceSnapshotResponse' 

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 DeleteInstanceSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

Read DeleteInstanceSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

Show DeleteInstanceSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

Generic DeleteInstanceSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

Associated Types

type Rep DeleteInstanceSnapshotResponse :: Type -> Type #

NFData DeleteInstanceSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

type Rep DeleteInstanceSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteInstanceSnapshot

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

newDeleteInstanceSnapshotResponse Source #

Create a value of DeleteInstanceSnapshotResponse 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:DeleteInstanceSnapshotResponse', deleteInstanceSnapshotResponse_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:DeleteInstanceSnapshotResponse', deleteInstanceSnapshotResponse_httpStatus - The response's http status code.

Response Lenses

deleteInstanceSnapshotResponse_operations :: Lens' DeleteInstanceSnapshotResponse (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.