libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb
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.DynamoDB.UpdateContinuousBackups

Description

UpdateContinuousBackups enables or disables point in time recovery for the specified table. A successful UpdateContinuousBackups call returns the current ContinuousBackupsDescription. Continuous backups are ENABLED on all tables at table creation. If point in time recovery is enabled, PointInTimeRecoveryStatus will be set to ENABLED.

Once continuous backups and point in time recovery are enabled, you can restore to any point in time within EarliestRestorableDateTime and LatestRestorableDateTime.

LatestRestorableDateTime is typically 5 minutes before the current time. You can restore your table to any point in time during the last 35 days.

Synopsis

Creating a Request

data UpdateContinuousBackups Source #

See: newUpdateContinuousBackups smart constructor.

Constructors

UpdateContinuousBackups' 

Fields

Instances

Instances details
Eq UpdateContinuousBackups Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

Read UpdateContinuousBackups Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

Show UpdateContinuousBackups Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

Generic UpdateContinuousBackups Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

Associated Types

type Rep UpdateContinuousBackups :: Type -> Type #

NFData UpdateContinuousBackups Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

Methods

rnf :: UpdateContinuousBackups -> () #

Hashable UpdateContinuousBackups Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

ToJSON UpdateContinuousBackups Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

AWSRequest UpdateContinuousBackups Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

ToHeaders UpdateContinuousBackups Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

ToPath UpdateContinuousBackups Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

ToQuery UpdateContinuousBackups Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

type Rep UpdateContinuousBackups Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

type Rep UpdateContinuousBackups = D1 ('MetaData "UpdateContinuousBackups" "Amazonka.DynamoDB.UpdateContinuousBackups" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "UpdateContinuousBackups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "pointInTimeRecoverySpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PointInTimeRecoverySpecification)))
type AWSResponse UpdateContinuousBackups Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

newUpdateContinuousBackups Source #

Create a value of UpdateContinuousBackups 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:tableName:UpdateContinuousBackups', updateContinuousBackups_tableName - The name of the table.

$sel:pointInTimeRecoverySpecification:UpdateContinuousBackups', updateContinuousBackups_pointInTimeRecoverySpecification - Represents the settings used to enable point in time recovery.

Request Lenses

Destructuring the Response

data UpdateContinuousBackupsResponse Source #

See: newUpdateContinuousBackupsResponse smart constructor.

Constructors

UpdateContinuousBackupsResponse' 

Fields

Instances

Instances details
Eq UpdateContinuousBackupsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

Read UpdateContinuousBackupsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

Show UpdateContinuousBackupsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

Generic UpdateContinuousBackupsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

Associated Types

type Rep UpdateContinuousBackupsResponse :: Type -> Type #

NFData UpdateContinuousBackupsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

type Rep UpdateContinuousBackupsResponse Source # 
Instance details

Defined in Amazonka.DynamoDB.UpdateContinuousBackups

type Rep UpdateContinuousBackupsResponse = D1 ('MetaData "UpdateContinuousBackupsResponse" "Amazonka.DynamoDB.UpdateContinuousBackups" "libZSservicesZSamazonka-dynamodbZSamazonka-dynamodb" 'False) (C1 ('MetaCons "UpdateContinuousBackupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "continuousBackupsDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContinuousBackupsDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateContinuousBackupsResponse Source #

Create a value of UpdateContinuousBackupsResponse 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:continuousBackupsDescription:UpdateContinuousBackupsResponse', updateContinuousBackupsResponse_continuousBackupsDescription - Represents the continuous backups and point in time recovery settings on the table.

$sel:httpStatus:UpdateContinuousBackupsResponse', updateContinuousBackupsResponse_httpStatus - The response's http status code.

Response Lenses

updateContinuousBackupsResponse_continuousBackupsDescription :: Lens' UpdateContinuousBackupsResponse (Maybe ContinuousBackupsDescription) Source #

Represents the continuous backups and point in time recovery settings on the table.