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

Description

Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION state. For mor information on deleting a backup, see DeleteBackup.

Synopsis

Creating a Request

data RestoreBackup Source #

See: newRestoreBackup smart constructor.

Constructors

RestoreBackup' 

Fields

  • backupId :: Text

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

Instances

Instances details
Eq RestoreBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

Read RestoreBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

Show RestoreBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

Generic RestoreBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

Associated Types

type Rep RestoreBackup :: Type -> Type #

NFData RestoreBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

Methods

rnf :: RestoreBackup -> () #

Hashable RestoreBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

ToJSON RestoreBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

AWSRequest RestoreBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

Associated Types

type AWSResponse RestoreBackup #

ToHeaders RestoreBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

ToPath RestoreBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

ToQuery RestoreBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

type Rep RestoreBackup Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

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

Defined in Amazonka.CloudHSMV2.RestoreBackup

newRestoreBackup Source #

Create a value of RestoreBackup 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:RestoreBackup', restoreBackup_backupId - The ID of the backup to be restored. To find the ID of a backup, use the DescribeBackups operation.

Request Lenses

restoreBackup_backupId :: Lens' RestoreBackup Text Source #

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

Destructuring the Response

data RestoreBackupResponse Source #

See: newRestoreBackupResponse smart constructor.

Constructors

RestoreBackupResponse' 

Fields

Instances

Instances details
Eq RestoreBackupResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

Read RestoreBackupResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

Show RestoreBackupResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

Generic RestoreBackupResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

Associated Types

type Rep RestoreBackupResponse :: Type -> Type #

NFData RestoreBackupResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

Methods

rnf :: RestoreBackupResponse -> () #

type Rep RestoreBackupResponse Source # 
Instance details

Defined in Amazonka.CloudHSMV2.RestoreBackup

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

newRestoreBackupResponse Source #

Create a value of RestoreBackupResponse 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:RestoreBackupResponse', restoreBackupResponse_backup - Information on the Backup object created.

$sel:httpStatus:RestoreBackupResponse', restoreBackupResponse_httpStatus - The response's http status code.

Response Lenses

restoreBackupResponse_backup :: Lens' RestoreBackupResponse (Maybe Backup) Source #

Information on the Backup object created.