amazonka-storagegateway-2.0: Amazon Storage Gateway 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.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 for 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
ToJSON DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.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

AWSRequest DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Associated Types

type AWSResponse DeleteSnapshotSchedule #

Generic DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Associated Types

type Rep DeleteSnapshotSchedule :: Type -> Type #

Read DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Show DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

NFData DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Methods

rnf :: DeleteSnapshotSchedule -> () #

Eq DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Hashable DeleteSnapshotSchedule Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

type AWSResponse 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" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "DeleteSnapshotSchedule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "volumeARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

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

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Associated Types

type Rep DeleteSnapshotScheduleResponse :: Type -> Type #

Read DeleteSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Show DeleteSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

NFData DeleteSnapshotScheduleResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.DeleteSnapshotSchedule

Eq 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" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" '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:

DeleteSnapshotSchedule, deleteSnapshotScheduleResponse_volumeARN - The volume which snapshot schedule was deleted.

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

Response Lenses