libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
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.StorageGateway.DeleteSnapshotSchedule

Description

Deletes a snapshot of a volume.

You can take snapshots of your gateway volumes on a scheduled or ad hoc basis. This API action enables you to delete a snapshot schedule for a volume. For more information, see Backing up your volumes. In the DeleteSnapshotSchedule request, you identify the volume by providing its Amazon Resource Name (ARN). This operation is only supported in stored and cached volume gateway types.

To list or delete a snapshot, you must use the Amazon EC2 API. For more information, go to DescribeSnapshots in the Amazon Elastic Compute Cloud API Reference.

Synopsis

Creating a Request

data DeleteSnapshotSchedule Source #

See: newDeleteSnapshotSchedule smart constructor.

Constructors

DeleteSnapshotSchedule' 

Fields

Instances

Instances details
Eq DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Read DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Show DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Generic DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Associated Types

type Rep DeleteSnapshotSchedule :: Type -> Type #

NFData DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Methods

rnf :: DeleteSnapshotSchedule -> () #

Hashable DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

ToJSON DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

AWSRequest DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Associated Types

type AWSResponse DeleteSnapshotSchedule #

ToHeaders DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

ToPath DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

ToQuery DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

type Rep DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

type Rep DeleteSnapshotSchedule = D1 ('MetaData "DeleteSnapshotSchedule" "Amazonka.StorageGateway.DeleteSnapshotSchedule" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DeleteSnapshotSchedule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "volumeARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

newDeleteSnapshotSchedule Source #

Create a value of DeleteSnapshotSchedule 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:volumeARN:DeleteSnapshotSchedule', deleteSnapshotSchedule_volumeARN - The volume which snapshot schedule to delete.

Request Lenses

deleteSnapshotSchedule_volumeARN :: Lens' DeleteSnapshotSchedule Text Source #

The volume which snapshot schedule to delete.

Destructuring the Response

data DeleteSnapshotScheduleResponse Source #

See: newDeleteSnapshotScheduleResponse smart constructor.

Constructors

DeleteSnapshotScheduleResponse' 

Fields

Instances

Instances details
Eq DeleteSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Read DeleteSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Show DeleteSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Generic DeleteSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Associated Types

type Rep DeleteSnapshotScheduleResponse :: Type -> Type #

NFData DeleteSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

type Rep DeleteSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

type Rep DeleteSnapshotScheduleResponse = D1 ('MetaData "DeleteSnapshotScheduleResponse" "Amazonka.StorageGateway.DeleteSnapshotSchedule" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "DeleteSnapshotScheduleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "volumeARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteSnapshotScheduleResponse Source #

Create a value of DeleteSnapshotScheduleResponse 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:volumeARN:DeleteSnapshotSchedule', deleteSnapshotScheduleResponse_volumeARN - The volume which snapshot schedule was deleted.

$sel:httpStatus:DeleteSnapshotScheduleResponse', deleteSnapshotScheduleResponse_httpStatus - The response's http status code.

Response Lenses