libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2
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.CloudHSMV2.DeleteBackup

Description

Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request is made. For more information on restoring a backup, see RestoreBackup.

Synopsis

Creating a Request

data DeleteBackup Source #

See: newDeleteBackup smart constructor.

Constructors

DeleteBackup' 

Fields

  • backupId :: Text

    The ID of the backup to be deleted. To find the ID of a backup, use the DescribeBackups operation.

Instances

Instances details
Eq DeleteBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

Read DeleteBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

Show DeleteBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

Generic DeleteBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

Associated Types

type Rep DeleteBackup :: Type -> Type #

NFData DeleteBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

Methods

rnf :: DeleteBackup -> () #

Hashable DeleteBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

ToJSON DeleteBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

AWSRequest DeleteBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

Associated Types

type AWSResponse DeleteBackup #

ToHeaders DeleteBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

ToPath DeleteBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

ToQuery DeleteBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

type Rep DeleteBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

type Rep DeleteBackup = D1 ('MetaData "DeleteBackup" "Amazonka.CloudHSMV2.DeleteBackup" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'False) (C1 ('MetaCons "DeleteBackup'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

newDeleteBackup Source #

Create a value of DeleteBackup 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:backupId:DeleteBackup', deleteBackup_backupId - The ID of the backup to be deleted. To find the ID of a backup, use the DescribeBackups operation.

Request Lenses

deleteBackup_backupId :: Lens' DeleteBackup Text Source #

The ID of the backup to be deleted. To find the ID of a backup, use the DescribeBackups operation.

Destructuring the Response

data DeleteBackupResponse Source #

See: newDeleteBackupResponse smart constructor.

Constructors

DeleteBackupResponse' 

Fields

Instances

Instances details
Eq DeleteBackupResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

Read DeleteBackupResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

Show DeleteBackupResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

Generic DeleteBackupResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

Associated Types

type Rep DeleteBackupResponse :: Type -> Type #

NFData DeleteBackupResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

Methods

rnf :: DeleteBackupResponse -> () #

type Rep DeleteBackupResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.DeleteBackup

type Rep DeleteBackupResponse = D1 ('MetaData "DeleteBackupResponse" "Amazonka.CloudHSMV2.DeleteBackup" "libZSservicesZSamazonka-cloudhsmv2ZSamazonka-cloudhsmv2" 'False) (C1 ('MetaCons "DeleteBackupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "backup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Backup)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteBackupResponse Source #

Create a value of DeleteBackupResponse 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:backup:DeleteBackupResponse', deleteBackupResponse_backup - Information on the Backup object deleted.

$sel:httpStatus:DeleteBackupResponse', deleteBackupResponse_httpStatus - The response's http status code.

Response Lenses

deleteBackupResponse_backup :: Lens' DeleteBackupResponse (Maybe Backup) Source #

Information on the Backup object deleted.