amazonka-redshift-serverless-2.0: Amazon Redshift Serverless 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.RedshiftServerLess.RestoreFromRecoveryPoint

Description

Restore the data from a recovery point.

Synopsis

Creating a Request

data RestoreFromRecoveryPoint Source #

See: newRestoreFromRecoveryPoint smart constructor.

Constructors

RestoreFromRecoveryPoint' 

Fields

Instances

Instances details
ToJSON RestoreFromRecoveryPoint Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

ToHeaders RestoreFromRecoveryPoint Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

ToPath RestoreFromRecoveryPoint Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

ToQuery RestoreFromRecoveryPoint Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

AWSRequest RestoreFromRecoveryPoint Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

Generic RestoreFromRecoveryPoint Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

Associated Types

type Rep RestoreFromRecoveryPoint :: Type -> Type #

Read RestoreFromRecoveryPoint Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

Show RestoreFromRecoveryPoint Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

NFData RestoreFromRecoveryPoint Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

Eq RestoreFromRecoveryPoint Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

Hashable RestoreFromRecoveryPoint Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

type AWSResponse RestoreFromRecoveryPoint Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

type Rep RestoreFromRecoveryPoint Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

type Rep RestoreFromRecoveryPoint = D1 ('MetaData "RestoreFromRecoveryPoint" "Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "RestoreFromRecoveryPoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namespaceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "recoveryPointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "workgroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newRestoreFromRecoveryPoint Source #

Create a value of RestoreFromRecoveryPoint 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:

RestoreFromRecoveryPoint, restoreFromRecoveryPoint_namespaceName - The name of the namespace to restore data into.

RestoreFromRecoveryPoint, restoreFromRecoveryPoint_recoveryPointId - The unique identifier of the recovery point to restore from.

RestoreFromRecoveryPoint, restoreFromRecoveryPoint_workgroupName - The name of the workgroup used to restore data.

Request Lenses

restoreFromRecoveryPoint_namespaceName :: Lens' RestoreFromRecoveryPoint Text Source #

The name of the namespace to restore data into.

restoreFromRecoveryPoint_recoveryPointId :: Lens' RestoreFromRecoveryPoint Text Source #

The unique identifier of the recovery point to restore from.

restoreFromRecoveryPoint_workgroupName :: Lens' RestoreFromRecoveryPoint Text Source #

The name of the workgroup used to restore data.

Destructuring the Response

data RestoreFromRecoveryPointResponse Source #

See: newRestoreFromRecoveryPointResponse smart constructor.

Constructors

RestoreFromRecoveryPointResponse' 

Fields

Instances

Instances details
Generic RestoreFromRecoveryPointResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

Associated Types

type Rep RestoreFromRecoveryPointResponse :: Type -> Type #

Show RestoreFromRecoveryPointResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

NFData RestoreFromRecoveryPointResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

Eq RestoreFromRecoveryPointResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

type Rep RestoreFromRecoveryPointResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint

type Rep RestoreFromRecoveryPointResponse = D1 ('MetaData "RestoreFromRecoveryPointResponse" "Amazonka.RedshiftServerLess.RestoreFromRecoveryPoint" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "RestoreFromRecoveryPointResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Namespace)) :*: (S1 ('MetaSel ('Just "recoveryPointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRestoreFromRecoveryPointResponse Source #

Create a value of RestoreFromRecoveryPointResponse 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:namespace:RestoreFromRecoveryPointResponse', restoreFromRecoveryPointResponse_namespace - The namespace that data was restored into.

RestoreFromRecoveryPoint, restoreFromRecoveryPointResponse_recoveryPointId - The unique identifier of the recovery point used for the restore.

$sel:httpStatus:RestoreFromRecoveryPointResponse', restoreFromRecoveryPointResponse_httpStatus - The response's http status code.

Response Lenses

restoreFromRecoveryPointResponse_recoveryPointId :: Lens' RestoreFromRecoveryPointResponse (Maybe Text) Source #

The unique identifier of the recovery point used for the restore.