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

Description

Converts a recovery point to a snapshot. For more information about recovery points and snapshots, see Working with snapshots and recovery points.

Synopsis

Creating a Request

data ConvertRecoveryPointToSnapshot Source #

See: newConvertRecoveryPointToSnapshot smart constructor.

Constructors

ConvertRecoveryPointToSnapshot' 

Fields

Instances

Instances details
ToJSON ConvertRecoveryPointToSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

ToHeaders ConvertRecoveryPointToSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

ToPath ConvertRecoveryPointToSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

ToQuery ConvertRecoveryPointToSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

AWSRequest ConvertRecoveryPointToSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

Generic ConvertRecoveryPointToSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

Associated Types

type Rep ConvertRecoveryPointToSnapshot :: Type -> Type #

Read ConvertRecoveryPointToSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

Show ConvertRecoveryPointToSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

NFData ConvertRecoveryPointToSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

Eq ConvertRecoveryPointToSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

Hashable ConvertRecoveryPointToSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

type AWSResponse ConvertRecoveryPointToSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

type Rep ConvertRecoveryPointToSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

type Rep ConvertRecoveryPointToSnapshot = D1 ('MetaData "ConvertRecoveryPointToSnapshot" "Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "ConvertRecoveryPointToSnapshot'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag]))) :*: (S1 ('MetaSel ('Just "recoveryPointId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "snapshotName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newConvertRecoveryPointToSnapshot Source #

Create a value of ConvertRecoveryPointToSnapshot 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:retentionPeriod:ConvertRecoveryPointToSnapshot', convertRecoveryPointToSnapshot_retentionPeriod - How long to retain the snapshot.

$sel:tags:ConvertRecoveryPointToSnapshot', convertRecoveryPointToSnapshot_tags - An array of Tag objects to associate with the created snapshot.

ConvertRecoveryPointToSnapshot, convertRecoveryPointToSnapshot_recoveryPointId - The unique identifier of the recovery point.

ConvertRecoveryPointToSnapshot, convertRecoveryPointToSnapshot_snapshotName - The name of the snapshot.

Request Lenses

convertRecoveryPointToSnapshot_tags :: Lens' ConvertRecoveryPointToSnapshot (Maybe [Tag]) Source #

An array of Tag objects to associate with the created snapshot.

Destructuring the Response

data ConvertRecoveryPointToSnapshotResponse Source #

Constructors

ConvertRecoveryPointToSnapshotResponse' 

Fields

Instances

Instances details
Generic ConvertRecoveryPointToSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

Read ConvertRecoveryPointToSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

Show ConvertRecoveryPointToSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

NFData ConvertRecoveryPointToSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

Eq ConvertRecoveryPointToSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

type Rep ConvertRecoveryPointToSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot

type Rep ConvertRecoveryPointToSnapshotResponse = D1 ('MetaData "ConvertRecoveryPointToSnapshotResponse" "Amazonka.RedshiftServerLess.ConvertRecoveryPointToSnapshot" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "ConvertRecoveryPointToSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "snapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Snapshot)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newConvertRecoveryPointToSnapshotResponse Source #

Create a value of ConvertRecoveryPointToSnapshotResponse 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:snapshot:ConvertRecoveryPointToSnapshotResponse', convertRecoveryPointToSnapshotResponse_snapshot - The snapshot converted from the recovery point.

$sel:httpStatus:ConvertRecoveryPointToSnapshotResponse', convertRecoveryPointToSnapshotResponse_httpStatus - The response's http status code.

Response Lenses