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

Description

Updates a snapshot.

Synopsis

Creating a Request

data UpdateSnapshot Source #

See: newUpdateSnapshot smart constructor.

Constructors

UpdateSnapshot' 

Fields

Instances

Instances details
ToJSON UpdateSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

ToHeaders UpdateSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

ToPath UpdateSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

ToQuery UpdateSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

AWSRequest UpdateSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

Associated Types

type AWSResponse UpdateSnapshot #

Generic UpdateSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

Associated Types

type Rep UpdateSnapshot :: Type -> Type #

Read UpdateSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

Show UpdateSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

NFData UpdateSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

Methods

rnf :: UpdateSnapshot -> () #

Eq UpdateSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

Hashable UpdateSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

type AWSResponse UpdateSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

type Rep UpdateSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

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

newUpdateSnapshot Source #

Create a value of UpdateSnapshot 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:UpdateSnapshot', updateSnapshot_retentionPeriod - The new retention period of the snapshot.

UpdateSnapshot, updateSnapshot_snapshotName - The name of the snapshot.

Request Lenses

updateSnapshot_retentionPeriod :: Lens' UpdateSnapshot (Maybe Int) Source #

The new retention period of the snapshot.

Destructuring the Response

data UpdateSnapshotResponse Source #

See: newUpdateSnapshotResponse smart constructor.

Constructors

UpdateSnapshotResponse' 

Fields

Instances

Instances details
Generic UpdateSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

Associated Types

type Rep UpdateSnapshotResponse :: Type -> Type #

Read UpdateSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

Show UpdateSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

NFData UpdateSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

Methods

rnf :: UpdateSnapshotResponse -> () #

Eq UpdateSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

type Rep UpdateSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.UpdateSnapshot

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

newUpdateSnapshotResponse Source #

Create a value of UpdateSnapshotResponse 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:UpdateSnapshotResponse', updateSnapshotResponse_snapshot - The updated snapshot object.

$sel:httpStatus:UpdateSnapshotResponse', updateSnapshotResponse_httpStatus - The response's http status code.

Response Lenses