diff --git a/clients/client-dynamodb/src/commands/DescribeContinuousBackupsCommand.ts b/clients/client-dynamodb/src/commands/DescribeContinuousBackupsCommand.ts index d55a5cb441841..6400b082b9314 100644 --- a/clients/client-dynamodb/src/commands/DescribeContinuousBackupsCommand.ts +++ b/clients/client-dynamodb/src/commands/DescribeContinuousBackupsCommand.ts @@ -37,7 +37,7 @@ export interface DescribeContinuousBackupsCommandOutput extends DescribeContinuo * 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.

+ * You can restore your table to any point in time in the last 35 days. You can set the recovery period to any value between 1 and 35 days.

*

You can call DescribeContinuousBackups at a maximum rate of 10 times per * second.

* @example @@ -56,6 +56,7 @@ export interface DescribeContinuousBackupsCommandOutput extends DescribeContinuo * // ContinuousBackupsStatus: "ENABLED" || "DISABLED", // required * // PointInTimeRecoveryDescription: { // PointInTimeRecoveryDescription * // PointInTimeRecoveryStatus: "ENABLED" || "DISABLED", + * // RecoveryPeriodInDays: Number("int"), * // EarliestRestorableDateTime: new Date("TIMESTAMP"), * // LatestRestorableDateTime: new Date("TIMESTAMP"), * // }, diff --git a/clients/client-dynamodb/src/commands/RestoreTableToPointInTimeCommand.ts b/clients/client-dynamodb/src/commands/RestoreTableToPointInTimeCommand.ts index 6acee992c7b2c..41c10ce97844f 100644 --- a/clients/client-dynamodb/src/commands/RestoreTableToPointInTimeCommand.ts +++ b/clients/client-dynamodb/src/commands/RestoreTableToPointInTimeCommand.ts @@ -30,7 +30,7 @@ export interface RestoreTableToPointInTimeCommandOutput extends RestoreTableToPo /** *

Restores the specified table to the specified point in time within * EarliestRestorableDateTime and LatestRestorableDateTime. - * You can restore your table to any point in time during the last 35 days. Any number of + * You can restore your table to any point in time in the last 35 days. You can set the recovery period to any value between 1 and 35 days. Any number of * users can execute up to 50 concurrent restores (any type of restore) in a given account.

*

When you restore using point in time recovery, DynamoDB restores your table data to * the state based on the selected date and time (day:hour:minute:second) to a new table.

diff --git a/clients/client-dynamodb/src/commands/UpdateContinuousBackupsCommand.ts b/clients/client-dynamodb/src/commands/UpdateContinuousBackupsCommand.ts index c8ae17c3f5a6e..4e7587747f015 100644 --- a/clients/client-dynamodb/src/commands/UpdateContinuousBackupsCommand.ts +++ b/clients/client-dynamodb/src/commands/UpdateContinuousBackupsCommand.ts @@ -39,7 +39,7 @@ export interface UpdateContinuousBackupsCommandOutput extends UpdateContinuousBa * 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.

+ * You can restore your table to any point in time in the last 35 days. You can set the recovery period to any value between 1 and 35 days.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript @@ -50,6 +50,7 @@ export interface UpdateContinuousBackupsCommandOutput extends UpdateContinuousBa * TableName: "STRING_VALUE", // required * PointInTimeRecoverySpecification: { // PointInTimeRecoverySpecification * PointInTimeRecoveryEnabled: true || false, // required + * RecoveryPeriodInDays: Number("int"), * }, * }; * const command = new UpdateContinuousBackupsCommand(input); @@ -59,6 +60,7 @@ export interface UpdateContinuousBackupsCommandOutput extends UpdateContinuousBa * // ContinuousBackupsStatus: "ENABLED" || "DISABLED", // required * // PointInTimeRecoveryDescription: { // PointInTimeRecoveryDescription * // PointInTimeRecoveryStatus: "ENABLED" || "DISABLED", + * // RecoveryPeriodInDays: Number("int"), * // EarliestRestorableDateTime: new Date("TIMESTAMP"), * // LatestRestorableDateTime: new Date("TIMESTAMP"), * // }, diff --git a/clients/client-dynamodb/src/endpoint/ruleset.ts b/clients/client-dynamodb/src/endpoint/ruleset.ts index b3871d7500187..01abfd47f74da 100644 --- a/clients/client-dynamodb/src/endpoint/ruleset.ts +++ b/clients/client-dynamodb/src/endpoint/ruleset.ts @@ -47,5 +47,5 @@ D=[k], E=[l], F=[n], G=[o,{[J]:g,[K]:[p,"disabled"]}]; -const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i,AccountId:i,AccountIdEndpointMode:i},rules:[{conditions:[{[J]:b,[K]:[{[L]:"Endpoint"}]}],rules:[{conditions:D,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[I]:c},{conditions:E,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[I]:c},{endpoint:{[M]:"{Endpoint}",[N]:m,[O]:m},[I]:d}],[I]:e},{conditions:[{[J]:b,[K]:F}],rules:[{conditions:[{[J]:"aws.partition",[K]:F,assign:f}],rules:[{conditions:[{[J]:g,[K]:[n,"local"]}],rules:[{conditions:D,error:"Invalid Configuration: FIPS and local endpoint are not supported",[I]:c},{conditions:E,error:"Invalid Configuration: Dualstack and local endpoint are not supported",[I]:c},{endpoint:{[M]:"http://localhost:8000",[N]:{authSchemes:[{signingRegion:"us-east-1",signingName:"dynamodb",name:"sigv4"}]},[O]:m},[I]:d}],[I]:e},{conditions:[o,{[J]:g,[K]:[p,"required"]},{[J]:h,[K]:[q]}],error:"AccountIdEndpointMode is required but no AccountID was provided or able to be loaded.",[I]:c},{conditions:[q,s,u,v,{[J]:h,[K]:[{[J]:"isValidHostLabel",[K]:[r,a]}]}],error:"Credentials-sourced account ID parameter is invalid",[I]:c},{conditions:[k,l],rules:[{conditions:[w,x],rules:[{conditions:G,endpoint:y,[I]:d},{endpoint:y,[I]:d}],[I]:e},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[I]:c}],[I]:e},{conditions:D,rules:[{conditions:[w],rules:[{conditions:[{[J]:g,[K]:[t,"aws-us-gov"]}],rules:[z,A],[I]:e},{conditions:G,endpoint:B,[I]:d},{endpoint:B,[I]:d}],[I]:e},{error:"FIPS is enabled but this partition does not support FIPS",[I]:c}],[I]:e},{conditions:E,rules:[{conditions:[x],rules:[{conditions:G,endpoint:C,[I]:d},{endpoint:C,[I]:d}],[I]:e},{error:"DualStack is enabled but this partition does not support DualStack",[I]:c}],[I]:e},z,{conditions:[q,s,u,v],endpoint:{[M]:"https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}",[N]:m,[O]:m},[I]:d},A],[I]:e}],[I]:e},{error:"Invalid Configuration: Missing Region",[I]:c}]}; +const _data={version:"1.0",parameters:{Region:i,UseDualStack:j,UseFIPS:j,Endpoint:i,AccountId:i,AccountIdEndpointMode:i},rules:[{conditions:[{[J]:b,[K]:[{[L]:"Endpoint"}]}],rules:[{conditions:D,error:"Invalid Configuration: FIPS and custom endpoint are not supported",[I]:c},{conditions:E,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",[I]:c},{endpoint:{[M]:"{Endpoint}",[N]:m,[O]:m},[I]:d}],[I]:e},{conditions:[{[J]:b,[K]:F}],rules:[{conditions:[{[J]:"aws.partition",[K]:F,assign:f}],rules:[{conditions:[{[J]:g,[K]:[n,"local"]}],rules:[{conditions:D,error:"Invalid Configuration: FIPS and local endpoint are not supported",[I]:c},{conditions:E,error:"Invalid Configuration: Dualstack and local endpoint are not supported",[I]:c},{endpoint:{[M]:"http://localhost:8000",[N]:{authSchemes:[{name:"sigv4",signingName:"dynamodb",signingRegion:"us-east-1"}]},[O]:m},[I]:d}],[I]:e},{conditions:[o,{[J]:g,[K]:[p,"required"]},{[J]:h,[K]:[q]}],error:"AccountIdEndpointMode is required but no AccountID was provided or able to be loaded.",[I]:c},{conditions:[q,s,u,v,{[J]:h,[K]:[{[J]:"isValidHostLabel",[K]:[r,a]}]}],error:"Credentials-sourced account ID parameter is invalid",[I]:c},{conditions:[k,l],rules:[{conditions:[w,x],rules:[{conditions:G,endpoint:y,[I]:d},{endpoint:y,[I]:d}],[I]:e},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",[I]:c}],[I]:e},{conditions:D,rules:[{conditions:[w],rules:[{conditions:[{[J]:g,[K]:[t,"aws-us-gov"]}],rules:[z,A],[I]:e},{conditions:G,endpoint:B,[I]:d},{endpoint:B,[I]:d}],[I]:e},{error:"FIPS is enabled but this partition does not support FIPS",[I]:c}],[I]:e},{conditions:E,rules:[{conditions:[x],rules:[{conditions:G,endpoint:C,[I]:d},{endpoint:C,[I]:d}],[I]:e},{error:"DualStack is enabled but this partition does not support DualStack",[I]:c}],[I]:e},z,{conditions:[q,s,u,v],endpoint:{[M]:"https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}",[N]:m,[O]:m},[I]:d},A],[I]:e}],[I]:e},{error:"Invalid Configuration: Missing Region",[I]:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-dynamodb/src/models/models_0.ts b/clients/client-dynamodb/src/models/models_0.ts index 2f7ad27239ef4..565ea3c3a7636 100644 --- a/clients/client-dynamodb/src/models/models_0.ts +++ b/clients/client-dynamodb/src/models/models_0.ts @@ -84,8 +84,7 @@ export const ScalarAttributeType = { export type ScalarAttributeType = (typeof ScalarAttributeType)[keyof typeof ScalarAttributeType]; /** - *

Represents an attribute for describing the schema for the table and - * indexes.

+ *

Represents an attribute for describing the schema for the table and indexes.

* @public */ export interface AttributeDefinition { @@ -493,20 +492,28 @@ export interface KeySchemaElement { } /** - *

Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

+ *

Sets the maximum number of read and write units for the specified on-demand table. If + * you use this parameter, you must specify MaxReadRequestUnits, + * MaxWriteRequestUnits, or both.

* @public */ export interface OnDemandThroughput { /** *

Maximum number of read request units for the specified table.

- *

To specify a maximum OnDemandThroughput on your table, set the value of MaxReadRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxReadRequestUnits to -1.

+ *

To specify a maximum OnDemandThroughput on your table, set the value of + * MaxReadRequestUnits as greater than or equal to 1. To remove the + * maximum OnDemandThroughput that is currently set on your table, set the + * value of MaxReadRequestUnits to -1.

* @public */ MaxReadRequestUnits?: number | undefined; /** *

Maximum number of write request units for the specified table.

- *

To specify a maximum OnDemandThroughput on your table, set the value of MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxWriteRequestUnits to -1.

+ *

To specify a maximum OnDemandThroughput on your table, set the value of + * MaxWriteRequestUnits as greater than or equal to 1. To remove the + * maximum OnDemandThroughput that is currently set on your table, set the + * value of MaxWriteRequestUnits to -1.

* @public */ MaxWriteRequestUnits?: number | undefined; @@ -523,8 +530,9 @@ export interface OnDemandThroughput { export interface ProvisionedThroughput { /** *

The maximum number of strongly consistent reads consumed per second before DynamoDB - * returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB - * Developer Guide.

+ * returns a ThrottlingException. For more information, see Specifying + * Read and Write Requirements in the Amazon DynamoDB Developer + * Guide.

*

If read/write capacity mode is PAY_PER_REQUEST the value is set to * 0.

* @public @@ -533,8 +541,9 @@ export interface ProvisionedThroughput { /** *

The maximum number of writes consumed per second before DynamoDB returns a - * ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB - * Developer Guide.

+ * ThrottlingException. For more information, see Specifying + * Read and Write Requirements in the Amazon DynamoDB Developer + * Guide.

*

If read/write capacity mode is PAY_PER_REQUEST the value is set to * 0.

* @public @@ -590,7 +599,9 @@ export interface SourceTableDetails { ProvisionedThroughput: ProvisionedThroughput | undefined; /** - *

Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

+ *

Sets the maximum number of read and write units for the specified on-demand table. If + * you use this parameter, you must specify MaxReadRequestUnits, + * MaxWriteRequestUnits, or both.

* @public */ OnDemandThroughput?: OnDemandThroughput | undefined; @@ -735,7 +746,9 @@ export interface GlobalSecondaryIndexInfo { ProvisionedThroughput?: ProvisionedThroughput | undefined; /** - *

Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

+ *

Sets the maximum number of read and write units for the specified on-demand table. If + * you use this parameter, you must specify MaxReadRequestUnits, + * MaxWriteRequestUnits, or both.

* @public */ OnDemandThroughput?: OnDemandThroughput | undefined; @@ -1239,7 +1252,8 @@ export interface Capacity { */ export interface ConsumedCapacity { /** - *

The name of the table that was affected by the operation. If you had specified the Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.

+ *

The name of the table that was affected by the operation. If you had specified the + * Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.

* @public */ TableName?: string | undefined; @@ -1578,6 +1592,15 @@ export interface PointInTimeRecoveryDescription { */ PointInTimeRecoveryStatus?: PointInTimeRecoveryStatus | undefined; + /** + *

The number of preceding days for which continuous backups are taken and maintained. + * Your table data is only recoverable to any point-in-time from within the configured + * recovery period. This parameter is optional. If no value is provided, the value will + * default to 35.

+ * @public + */ + RecoveryPeriodInDays?: number | undefined; + /** *

Specifies the earliest point in time you can restore your table to. You can restore * your table to any point in time during the last 35 days.

@@ -1796,18 +1819,23 @@ export class TableNotFoundException extends __BaseException { } /** - *

Provides visibility into the number of read and write operations your table or secondary index can instantaneously support. The settings can be modified using the UpdateTable operation to meet the throughput requirements of an upcoming peak event.

+ *

Provides visibility into the number of read and write operations your table or + * secondary index can instantaneously support. The settings can be modified using the + * UpdateTable operation to meet the throughput requirements of an + * upcoming peak event.

* @public */ export interface WarmThroughput { /** - *

Represents the number of read operations your base table can instantaneously support.

+ *

Represents the number of read operations your base table can instantaneously + * support.

* @public */ ReadUnitsPerSecond?: number | undefined; /** - *

Represents the number of write operations your base table can instantaneously support.

+ *

Represents the number of write operations your base table can instantaneously + * support.

* @public */ WriteUnitsPerSecond?: number | undefined; @@ -1849,13 +1877,16 @@ export interface CreateGlobalSecondaryIndexAction { ProvisionedThroughput?: ProvisionedThroughput | undefined; /** - *

The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

+ *

The maximum number of read and write units for the global secondary index being + * created. If you use this parameter, you must specify MaxReadRequestUnits, + * MaxWriteRequestUnits, or both.

* @public */ OnDemandThroughput?: OnDemandThroughput | undefined; /** - *

Represents the warm throughput value (in read units per second and write units per second) when creating a secondary index.

+ *

Represents the warm throughput value (in read units per second and write units per + * second) when creating a secondary index.

* @public */ WarmThroughput?: WarmThroughput | undefined; @@ -1907,7 +1938,9 @@ export const GlobalTableStatus = { export type GlobalTableStatus = (typeof GlobalTableStatus)[keyof typeof GlobalTableStatus]; /** - *

Overrides the on-demand throughput settings for this replica table. If you don't specify a value for this parameter, it uses the source table's on-demand throughput settings.

+ *

Overrides the on-demand throughput settings for this replica table. If you don't + * specify a value for this parameter, it uses the source table's on-demand throughput + * settings.

* @public */ export interface OnDemandThroughputOverride { @@ -1954,19 +1987,22 @@ export type IndexStatus = (typeof IndexStatus)[keyof typeof IndexStatus]; */ export interface GlobalSecondaryIndexWarmThroughputDescription { /** - *

Represents warm throughput read units per second value for a global secondary index.

+ *

Represents warm throughput read units per second value for a global secondary + * index.

* @public */ ReadUnitsPerSecond?: number | undefined; /** - *

Represents warm throughput write units per second value for a global secondary index.

+ *

Represents warm throughput write units per second value for a global secondary + * index.

* @public */ WriteUnitsPerSecond?: number | undefined; /** - *

Represents the warm throughput status being created or updated on a global secondary index. The status can only be UPDATING or ACTIVE.

+ *

Represents the warm throughput status being created or updated on a global secondary + * index. The status can only be UPDATING or ACTIVE.

* @public */ Status?: IndexStatus | undefined; @@ -1990,7 +2026,8 @@ export interface ReplicaGlobalSecondaryIndexDescription { ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; /** - *

Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.

+ *

Overrides the maximum on-demand throughput for the specified global secondary index in + * the specified replica table.

* @public */ OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; @@ -2074,7 +2111,8 @@ export const TableStatus = { export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus]; /** - *

Represents the warm throughput value (in read units per second and write units per second) of the base table.

+ *

Represents the warm throughput value (in read units per second and write units per + * second) of the base table.

* @public */ export interface TableWarmThroughputDescription { @@ -2181,7 +2219,8 @@ export interface ReplicaDescription { ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; /** - *

Overrides the maximum on-demand throughput settings for the specified replica table.

+ *

Overrides the maximum on-demand throughput settings for the specified replica + * table.

* @public */ OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; @@ -2328,7 +2367,8 @@ export interface ReplicaGlobalSecondaryIndex { ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; /** - *

Overrides the maximum on-demand throughput settings for the specified global secondary index in the specified replica table.

+ *

Overrides the maximum on-demand throughput settings for the specified global secondary + * index in the specified replica table.

* @public */ OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; @@ -2363,8 +2403,9 @@ export interface CreateReplicationGroupMemberAction { ProvisionedThroughputOverride?: ProvisionedThroughputOverride | undefined; /** - *

The maximum on-demand throughput settings for the specified replica table being created. You can only modify MaxReadRequestUnits, because you can't modify MaxWriteRequestUnits for individual replica tables. - *

+ *

The maximum on-demand throughput settings for the specified replica table being + * created. You can only modify MaxReadRequestUnits, because you can't modify + * MaxWriteRequestUnits for individual replica tables.

* @public */ OnDemandThroughputOverride?: OnDemandThroughputOverride | undefined; @@ -2441,13 +2482,17 @@ export interface GlobalSecondaryIndex { ProvisionedThroughput?: ProvisionedThroughput | undefined; /** - *

The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

+ *

The maximum number of read and write units for the specified global secondary index. + * If you use this parameter, you must specify MaxReadRequestUnits, + * MaxWriteRequestUnits, or both.

* @public */ OnDemandThroughput?: OnDemandThroughput | undefined; /** - *

Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index. If you use this parameter, you must specify ReadUnitsPerSecond, WriteUnitsPerSecond, or both.

+ *

Represents the warm throughput value (in read units per second and write units per + * second) for the specified secondary index. If you use this parameter, you must specify + * ReadUnitsPerSecond, WriteUnitsPerSecond, or both.

* @public */ WarmThroughput?: WarmThroughput | undefined; @@ -3062,13 +3107,16 @@ export interface GlobalSecondaryIndexDescription { IndexArn?: string | undefined; /** - *

The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

+ *

The maximum number of read and write units for the specified global secondary index. + * If you use this parameter, you must specify MaxReadRequestUnits, + * MaxWriteRequestUnits, or both.

* @public */ OnDemandThroughput?: OnDemandThroughput | undefined; /** - *

Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index.

+ *

Represents the warm throughput value (in read units per second and write units per + * second) for the specified secondary index.

* @public */ WarmThroughput?: GlobalSecondaryIndexWarmThroughputDescription | undefined; @@ -3610,13 +3658,16 @@ export interface TableDescription { TableClassSummary?: TableClassSummary | undefined; /** - *

Indicates whether deletion protection is enabled (true) or disabled (false) on the table.

+ *

Indicates whether deletion protection is enabled (true) or disabled (false) on the + * table.

* @public */ DeletionProtectionEnabled?: boolean | undefined; /** - *

The maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

+ *

The maximum number of read and write units for the specified on-demand table. If you + * use this parameter, you must specify MaxReadRequestUnits, + * MaxWriteRequestUnits, or both.

* @public */ OnDemandThroughput?: OnDemandThroughput | undefined; @@ -4164,19 +4215,26 @@ export type ExportViewType = (typeof ExportViewType)[keyof typeof ExportViewType */ export interface IncrementalExportSpecification { /** - *

Time in the past which provides the inclusive start range for the export table's data, counted in seconds from the start of the Unix epoch. The incremental export will reflect the table's state including and after this point in time.

+ *

Time in the past which provides the inclusive start range for the export table's data, + * counted in seconds from the start of the Unix epoch. The incremental export will reflect + * the table's state including and after this point in time.

* @public */ ExportFromTime?: Date | undefined; /** - *

Time in the past which provides the exclusive end range for the export table's data, counted in seconds from the start of the Unix epoch. The incremental export will reflect the table's state just prior to this point in time. If this is not provided, the latest time with data available will be used.

+ *

Time in the past which provides the exclusive end range for the export table's data, + * counted in seconds from the start of the Unix epoch. The incremental export will reflect + * the table's state just prior to this point in time. If this is not provided, the latest + * time with data available will be used.

* @public */ ExportToTime?: Date | undefined; /** - *

The view type that was chosen for the export. Valid values are NEW_AND_OLD_IMAGES and NEW_IMAGES. The default value is NEW_AND_OLD_IMAGES.

+ *

The view type that was chosen for the export. Valid values are + * NEW_AND_OLD_IMAGES and NEW_IMAGES. The default value is + * NEW_AND_OLD_IMAGES.

* @public */ ExportViewType?: ExportViewType | undefined; @@ -4336,7 +4394,8 @@ export interface ExportDescription { ItemCount?: number | undefined; /** - *

The type of export that was performed. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT.

+ *

The type of export that was performed. Valid values are FULL_EXPORT or + * INCREMENTAL_EXPORT.

* @public */ ExportType?: ExportType | undefined; @@ -4735,7 +4794,9 @@ export interface TableCreationParameters { ProvisionedThroughput?: ProvisionedThroughput | undefined; /** - *

Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

+ *

Sets the maximum number of read and write units for the specified on-demand table. If + * you use this parameter, you must specify MaxReadRequestUnits, + * MaxWriteRequestUnits, or both.

* @public */ OnDemandThroughput?: OnDemandThroughput | undefined; @@ -4977,7 +5038,8 @@ export interface KinesisDataStreamDestination { DestinationStatusDescription?: string | undefined; /** - *

The precision of the Kinesis data stream timestamp. The values are either MILLISECOND or MICROSECOND.

+ *

The precision of the Kinesis data stream timestamp. The values are either + * MILLISECOND or MICROSECOND.

* @public */ ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision | undefined; @@ -5271,7 +5333,8 @@ export interface DescribeTimeToLiveOutput { */ export interface EnableKinesisStreamingConfiguration { /** - *

Toggle for the precision of Kinesis data stream timestamp. The values are either MILLISECOND or MICROSECOND.

+ *

Toggle for the precision of Kinesis data stream timestamp. The values are either + * MILLISECOND or MICROSECOND.

* @public */ ApproximateCreationDateTimePrecision?: ApproximateCreationDateTimePrecision | undefined; @@ -5929,7 +5992,8 @@ export interface ExportSummary { ExportStatus?: ExportStatus | undefined; /** - *

The type of export that was performed. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT.

+ *

The type of export that was performed. Valid values are FULL_EXPORT or + * INCREMENTAL_EXPORT.

* @public */ ExportType?: ExportType | undefined; @@ -6336,7 +6400,9 @@ export interface RestoreTableFromBackupInput { ProvisionedThroughputOverride?: ProvisionedThroughput | undefined; /** - *

Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

+ *

Sets the maximum number of read and write units for the specified on-demand table. If + * you use this parameter, you must specify MaxReadRequestUnits, + * MaxWriteRequestUnits, or both.

* @public */ OnDemandThroughputOverride?: OnDemandThroughput | undefined; @@ -6465,7 +6531,9 @@ export interface RestoreTableToPointInTimeInput { ProvisionedThroughputOverride?: ProvisionedThroughput | undefined; /** - *

Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

+ *

Sets the maximum number of read and write units for the specified on-demand table. If + * you use this parameter, you must specify MaxReadRequestUnits, + * MaxWriteRequestUnits, or both.

* @public */ OnDemandThroughputOverride?: OnDemandThroughput | undefined; @@ -6536,6 +6604,15 @@ export interface PointInTimeRecoverySpecification { * @public */ PointInTimeRecoveryEnabled: boolean | undefined; + + /** + *

The number of preceding days for which continuous backups are taken and maintained. + * Your table data is only recoverable to any point-in-time from within the configured + * recovery period. This parameter is optional. If no value is provided, the value will + * default to 35.

+ * @public + */ + RecoveryPeriodInDays?: number | undefined; } /** @@ -6995,13 +7072,16 @@ export interface UpdateGlobalSecondaryIndexAction { ProvisionedThroughput?: ProvisionedThroughput | undefined; /** - *

Updates the maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

+ *

Updates the maximum number of read and write units for the specified global secondary + * index. If you use this parameter, you must specify MaxReadRequestUnits, + * MaxWriteRequestUnits, or both.

* @public */ OnDemandThroughput?: OnDemandThroughput | undefined; /** - *

Represents the warm throughput value of the new provisioned throughput settings to be applied to a global secondary index.

+ *

Represents the warm throughput value of the new provisioned throughput settings to be + * applied to a global secondary index.

* @public */ WarmThroughput?: WarmThroughput | undefined; @@ -7919,7 +7999,8 @@ export interface BatchStatementError { Message?: string | undefined; /** - *

The item which caused the condition check to fail. This will be set if ReturnValuesOnConditionCheckFailure is specified as ALL_OLD.

+ *

The item which caused the condition check to fail. This will be set if + * ReturnValuesOnConditionCheckFailure is specified as ALL_OLD.

* @public */ Item?: Record | undefined; @@ -8355,7 +8436,8 @@ export interface Get { Key: Record | undefined; /** - *

The name of the table from which to retrieve the specified item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

+ *

The name of the table from which to retrieve the specified item. You can also provide + * the Amazon Resource Name (ARN) of the table in this parameter.

* @public */ TableName: string | undefined; @@ -8598,7 +8680,7 @@ export interface ParameterizedStatement { /** *

An optional parameter that returns the item attributes for a PartiQL - * ParameterizedStatement operation that failed a condition check.

+ * ParameterizedStatement operation that failed a condition check.

*

There is no additional cost associated with requesting a return value aside from the * small network and processing overhead of receiving a larger response. No read capacity * units are consumed.

@@ -9597,29 +9679,32 @@ export interface ConditionCheck { Key: Record | undefined; /** - *

Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

+ *

Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

* @public */ TableName: string | undefined; /** - *

A condition that must be satisfied in order for a conditional update to - * succeed. For more information, see Condition expressions in the Amazon DynamoDB Developer - * Guide.

+ *

A condition that must be satisfied in order for a conditional update to succeed. For + * more information, see Condition expressions in the Amazon DynamoDB Developer + * Guide.

* @public */ ConditionExpression: string | undefined; /** - *

One or more substitution tokens for attribute names in an expression. For more information, see - * Expression attribute names - * in the Amazon DynamoDB Developer Guide.

+ *

One or more substitution tokens for attribute names in an expression. For more + * information, see Expression attribute names in the Amazon DynamoDB Developer + * Guide.

* @public */ ExpressionAttributeNames?: Record | undefined; /** - *

One or more values that can be substituted in an expression. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.

+ *

One or more values that can be substituted in an expression. For more information, see + * Condition expressions in the Amazon DynamoDB Developer + * Guide.

* @public */ ExpressionAttributeValues?: Record | undefined; @@ -9647,7 +9732,8 @@ export interface Delete { Key: Record | undefined; /** - *

Name of the table in which the item to be deleted resides. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

+ *

Name of the table in which the item to be deleted resides. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

* @public */ TableName: string | undefined; @@ -9697,7 +9783,8 @@ export interface Put { Item: Record | undefined; /** - *

Name of the table in which to write the item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

+ *

Name of the table in which to write the item. You can also provide the Amazon Resource Name (ARN) of + * the table in this parameter.

* @public */ TableName: string | undefined; @@ -9751,7 +9838,8 @@ export interface Update { UpdateExpression: string | undefined; /** - *

Name of the table for the UpdateItem request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

+ *

Name of the table for the UpdateItem request. You can also provide the + * Amazon Resource Name (ARN) of the table in this parameter.

* @public */ TableName: string | undefined; diff --git a/clients/client-dynamodb/src/protocols/Aws_json1_0.ts b/clients/client-dynamodb/src/protocols/Aws_json1_0.ts index 5fb088ef936a1..b812741fad0c1 100644 --- a/clients/client-dynamodb/src/protocols/Aws_json1_0.ts +++ b/clients/client-dynamodb/src/protocols/Aws_json1_0.ts @@ -5084,6 +5084,7 @@ const de_PointInTimeRecoveryDescription = (output: any, context: __SerdeContext) EarliestRestorableDateTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), LatestRestorableDateTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), PointInTimeRecoveryStatus: __expectString, + RecoveryPeriodInDays: __expectInt32, }) as any; }; diff --git a/codegen/sdk-codegen/aws-models/dynamodb.json b/codegen/sdk-codegen/aws-models/dynamodb.json index 7202e7d33b56e..b730780425aca 100644 --- a/codegen/sdk-codegen/aws-models/dynamodb.json +++ b/codegen/sdk-codegen/aws-models/dynamodb.json @@ -125,7 +125,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents an attribute for describing the schema for the table and\n indexes.

" + "smithy.api#documentation": "

Represents an attribute for describing the schema for the table and indexes.

" } }, "com.amazonaws.dynamodb#AttributeDefinitions": { @@ -1009,7 +1009,7 @@ "Item": { "target": "com.amazonaws.dynamodb#AttributeMap", "traits": { - "smithy.api#documentation": "

The item which caused the condition check to fail. This will be set if ReturnValuesOnConditionCheckFailure is specified as ALL_OLD.

" + "smithy.api#documentation": "

The item which caused the condition check to fail. This will be set if\n ReturnValuesOnConditionCheckFailure is specified as ALL_OLD.

" } } }, @@ -1575,27 +1575,27 @@ "TableName": { "target": "com.amazonaws.dynamodb#TableArn", "traits": { - "smithy.api#documentation": "

Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

", + "smithy.api#documentation": "

Name of the table for the check item request. You can also provide the Amazon Resource Name (ARN) of\n the table in this parameter.

", "smithy.api#required": {} } }, "ConditionExpression": { "target": "com.amazonaws.dynamodb#ConditionExpression", "traits": { - "smithy.api#documentation": "

A condition that must be satisfied in order for a conditional update to\n succeed. For more information, see Condition expressions in the Amazon DynamoDB Developer\n Guide.

", + "smithy.api#documentation": "

A condition that must be satisfied in order for a conditional update to succeed. For\n more information, see Condition expressions in the Amazon DynamoDB Developer\n Guide.

", "smithy.api#required": {} } }, "ExpressionAttributeNames": { "target": "com.amazonaws.dynamodb#ExpressionAttributeNameMap", "traits": { - "smithy.api#documentation": "

One or more substitution tokens for attribute names in an expression. For more information, see\n Expression attribute names \n in the Amazon DynamoDB Developer Guide.

" + "smithy.api#documentation": "

One or more substitution tokens for attribute names in an expression. For more\n information, see Expression attribute names in the Amazon DynamoDB Developer\n Guide.

" } }, "ExpressionAttributeValues": { "target": "com.amazonaws.dynamodb#ExpressionAttributeValueMap", "traits": { - "smithy.api#documentation": "

One or more values that can be substituted in an expression. For more information, see Condition expressions in the Amazon DynamoDB Developer Guide.

" + "smithy.api#documentation": "

One or more values that can be substituted in an expression. For more information, see\n Condition expressions in the Amazon DynamoDB Developer\n Guide.

" } }, "ReturnValuesOnConditionCheckFailure": { @@ -1665,7 +1665,7 @@ "TableName": { "target": "com.amazonaws.dynamodb#TableArn", "traits": { - "smithy.api#documentation": "

The name of the table that was affected by the operation. If you had specified the Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.

" + "smithy.api#documentation": "

The name of the table that was affected by the operation. If you had specified the\n Amazon Resource Name (ARN) of a table in the input, you'll see the table ARN in the response.

" } }, "CapacityUnits": { @@ -1971,13 +1971,13 @@ "OnDemandThroughput": { "target": "com.amazonaws.dynamodb#OnDemandThroughput", "traits": { - "smithy.api#documentation": "

The maximum number of read and write units for the global secondary index being created. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

" + "smithy.api#documentation": "

The maximum number of read and write units for the global secondary index being\n created. If you use this parameter, you must specify MaxReadRequestUnits,\n MaxWriteRequestUnits, or both.

" } }, "WarmThroughput": { "target": "com.amazonaws.dynamodb#WarmThroughput", "traits": { - "smithy.api#documentation": "

Represents the warm throughput value (in read units per second and write units per second) when creating a secondary index.

" + "smithy.api#documentation": "

Represents the warm throughput value (in read units per second and write units per\n second) when creating a secondary index.

" } } }, @@ -2093,7 +2093,7 @@ "OnDemandThroughputOverride": { "target": "com.amazonaws.dynamodb#OnDemandThroughputOverride", "traits": { - "smithy.api#documentation": "

The maximum on-demand throughput settings for the specified replica table being created. You can only modify MaxReadRequestUnits, because you can't modify MaxWriteRequestUnits for individual replica tables.\n

" + "smithy.api#documentation": "

The maximum on-demand throughput settings for the specified replica table being\n created. You can only modify MaxReadRequestUnits, because you can't modify\n MaxWriteRequestUnits for individual replica tables.

" } }, "GlobalSecondaryIndexes": { @@ -2327,7 +2327,7 @@ "TableName": { "target": "com.amazonaws.dynamodb#TableArn", "traits": { - "smithy.api#documentation": "

Name of the table in which the item to be deleted resides. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

", + "smithy.api#documentation": "

Name of the table in which the item to be deleted resides. You can also provide the\n Amazon Resource Name (ARN) of the table in this parameter.

", "smithy.api#required": {} } }, @@ -2885,7 +2885,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

Checks the status of continuous backups and point in time recovery on the specified\n table. Continuous backups are ENABLED on all tables at table creation. If\n point in time recovery is enabled, PointInTimeRecoveryStatus will be set to\n ENABLED.

\n

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

\n

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

\n

You can call DescribeContinuousBackups at a maximum rate of 10 times per\n second.

" + "smithy.api#documentation": "

Checks the status of continuous backups and point in time recovery on the specified\n table. Continuous backups are ENABLED on all tables at table creation. If\n point in time recovery is enabled, PointInTimeRecoveryStatus will be set to\n ENABLED.

\n

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

\n

\n LatestRestorableDateTime is typically 5 minutes before the current time.\n You can restore your table to any point in time in the last 35 days. You can set the recovery period to any value between 1 and 35 days.

\n

You can call DescribeContinuousBackups at a maximum rate of 10 times per\n second.

" } }, "com.amazonaws.dynamodb#DescribeContinuousBackupsInput": { @@ -4041,9 +4041,9 @@ "properties": { "authSchemes": [ { - "signingRegion": "us-east-1", + "name": "sigv4", "signingName": "dynamodb", - "name": "sigv4" + "signingRegion": "us-east-1" } ] }, @@ -6148,7 +6148,7 @@ "ApproximateCreationDateTimePrecision": { "target": "com.amazonaws.dynamodb#ApproximateCreationDateTimePrecision", "traits": { - "smithy.api#documentation": "

Toggle for the precision of Kinesis data stream timestamp. The values are either MILLISECOND or MICROSECOND.

" + "smithy.api#documentation": "

Toggle for the precision of Kinesis data stream timestamp. The values are either\n MILLISECOND or MICROSECOND.

" } } }, @@ -6615,7 +6615,7 @@ "ExportType": { "target": "com.amazonaws.dynamodb#ExportType", "traits": { - "smithy.api#documentation": "

The type of export that was performed. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT.

" + "smithy.api#documentation": "

The type of export that was performed. Valid values are FULL_EXPORT or\n INCREMENTAL_EXPORT.

" } }, "IncrementalExportSpecification": { @@ -6720,7 +6720,7 @@ "ExportType": { "target": "com.amazonaws.dynamodb#ExportType", "traits": { - "smithy.api#documentation": "

The type of export that was performed. Valid values are FULL_EXPORT or INCREMENTAL_EXPORT.

" + "smithy.api#documentation": "

The type of export that was performed. Valid values are FULL_EXPORT or\n INCREMENTAL_EXPORT.

" } } }, @@ -6963,7 +6963,7 @@ "TableName": { "target": "com.amazonaws.dynamodb#TableArn", "traits": { - "smithy.api#documentation": "

The name of the table from which to retrieve the specified item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

", + "smithy.api#documentation": "

The name of the table from which to retrieve the specified item. You can also provide\n the Amazon Resource Name (ARN) of the table in this parameter.

", "smithy.api#required": {} } }, @@ -7214,13 +7214,13 @@ "OnDemandThroughput": { "target": "com.amazonaws.dynamodb#OnDemandThroughput", "traits": { - "smithy.api#documentation": "

The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

" + "smithy.api#documentation": "

The maximum number of read and write units for the specified global secondary index.\n If you use this parameter, you must specify MaxReadRequestUnits,\n MaxWriteRequestUnits, or both.

" } }, "WarmThroughput": { "target": "com.amazonaws.dynamodb#WarmThroughput", "traits": { - "smithy.api#documentation": "

Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index. If you use this parameter, you must specify ReadUnitsPerSecond, WriteUnitsPerSecond, or both.

" + "smithy.api#documentation": "

Represents the warm throughput value (in read units per second and write units per\n second) for the specified secondary index. If you use this parameter, you must specify\n ReadUnitsPerSecond, WriteUnitsPerSecond, or both.

" } } }, @@ -7316,13 +7316,13 @@ "OnDemandThroughput": { "target": "com.amazonaws.dynamodb#OnDemandThroughput", "traits": { - "smithy.api#documentation": "

The maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

" + "smithy.api#documentation": "

The maximum number of read and write units for the specified global secondary index.\n If you use this parameter, you must specify MaxReadRequestUnits,\n MaxWriteRequestUnits, or both.

" } }, "WarmThroughput": { "target": "com.amazonaws.dynamodb#GlobalSecondaryIndexWarmThroughputDescription", "traits": { - "smithy.api#documentation": "

Represents the warm throughput value (in read units per second and write units per second) for the specified secondary index.

" + "smithy.api#documentation": "

Represents the warm throughput value (in read units per second and write units per\n second) for the specified secondary index.

" } } }, @@ -7415,19 +7415,19 @@ "ReadUnitsPerSecond": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

Represents warm throughput read units per second value for a global secondary index.

" + "smithy.api#documentation": "

Represents warm throughput read units per second value for a global secondary\n index.

" } }, "WriteUnitsPerSecond": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

Represents warm throughput write units per second value for a global secondary index.

" + "smithy.api#documentation": "

Represents warm throughput write units per second value for a global secondary\n index.

" } }, "Status": { "target": "com.amazonaws.dynamodb#IndexStatus", "traits": { - "smithy.api#documentation": "

Represents the warm throughput status being created or updated on a global secondary index. The status can only be UPDATING or ACTIVE.

" + "smithy.api#documentation": "

Represents the warm throughput status being created or updated on a global secondary\n index. The status can only be UPDATING or ACTIVE.

" } } }, @@ -7984,19 +7984,19 @@ "ExportFromTime": { "target": "com.amazonaws.dynamodb#ExportFromTime", "traits": { - "smithy.api#documentation": "

Time in the past which provides the inclusive start range for the export table's data, counted in seconds from the start of the Unix epoch. The incremental export will reflect the table's state including and after this point in time.

" + "smithy.api#documentation": "

Time in the past which provides the inclusive start range for the export table's data,\n counted in seconds from the start of the Unix epoch. The incremental export will reflect\n the table's state including and after this point in time.

" } }, "ExportToTime": { "target": "com.amazonaws.dynamodb#ExportToTime", "traits": { - "smithy.api#documentation": "

Time in the past which provides the exclusive end range for the export table's data, counted in seconds from the start of the Unix epoch. The incremental export will reflect the table's state just prior to this point in time. If this is not provided, the latest time with data available will be used.

" + "smithy.api#documentation": "

Time in the past which provides the exclusive end range for the export table's data,\n counted in seconds from the start of the Unix epoch. The incremental export will reflect\n the table's state just prior to this point in time. If this is not provided, the latest\n time with data available will be used.

" } }, "ExportViewType": { "target": "com.amazonaws.dynamodb#ExportViewType", "traits": { - "smithy.api#documentation": "

The view type that was chosen for the export. Valid values are NEW_AND_OLD_IMAGES and NEW_IMAGES. The default value is NEW_AND_OLD_IMAGES.

" + "smithy.api#documentation": "

The view type that was chosen for the export. Valid values are\n NEW_AND_OLD_IMAGES and NEW_IMAGES. The default value is\n NEW_AND_OLD_IMAGES.

" } } }, @@ -8445,7 +8445,7 @@ "ApproximateCreationDateTimePrecision": { "target": "com.amazonaws.dynamodb#ApproximateCreationDateTimePrecision", "traits": { - "smithy.api#documentation": "

The precision of the Kinesis data stream timestamp. The values are either MILLISECOND or MICROSECOND.

" + "smithy.api#documentation": "

The precision of the Kinesis data stream timestamp. The values are either\n MILLISECOND or MICROSECOND.

" } } }, @@ -9304,18 +9304,18 @@ "MaxReadRequestUnits": { "target": "com.amazonaws.dynamodb#LongObject", "traits": { - "smithy.api#documentation": "

Maximum number of read request units for the specified table.

\n

To specify a maximum OnDemandThroughput on your table, set the value of MaxReadRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxReadRequestUnits to -1.

" + "smithy.api#documentation": "

Maximum number of read request units for the specified table.

\n

To specify a maximum OnDemandThroughput on your table, set the value of\n MaxReadRequestUnits as greater than or equal to 1. To remove the\n maximum OnDemandThroughput that is currently set on your table, set the\n value of MaxReadRequestUnits to -1.

" } }, "MaxWriteRequestUnits": { "target": "com.amazonaws.dynamodb#LongObject", "traits": { - "smithy.api#documentation": "

Maximum number of write request units for the specified table.

\n

To specify a maximum OnDemandThroughput on your table, set the value of MaxWriteRequestUnits as greater than or equal to 1. To remove the maximum OnDemandThroughput that is currently set on your table, set the value of MaxWriteRequestUnits to -1.

" + "smithy.api#documentation": "

Maximum number of write request units for the specified table.

\n

To specify a maximum OnDemandThroughput on your table, set the value of\n MaxWriteRequestUnits as greater than or equal to 1. To remove the\n maximum OnDemandThroughput that is currently set on your table, set the\n value of MaxWriteRequestUnits to -1.

" } } }, "traits": { - "smithy.api#documentation": "

Sets the maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

" + "smithy.api#documentation": "

Sets the maximum number of read and write units for the specified on-demand table. If\n you use this parameter, you must specify MaxReadRequestUnits,\n MaxWriteRequestUnits, or both.

" } }, "com.amazonaws.dynamodb#OnDemandThroughputOverride": { @@ -9329,7 +9329,7 @@ } }, "traits": { - "smithy.api#documentation": "

Overrides the on-demand throughput settings for this replica table. If you don't specify a value for this parameter, it uses the source table's on-demand throughput settings.

" + "smithy.api#documentation": "

Overrides the on-demand throughput settings for this replica table. If you don't\n specify a value for this parameter, it uses the source table's on-demand throughput\n settings.

" } }, "com.amazonaws.dynamodb#ParameterizedStatement": { @@ -9351,7 +9351,7 @@ "ReturnValuesOnConditionCheckFailure": { "target": "com.amazonaws.dynamodb#ReturnValuesOnConditionCheckFailure", "traits": { - "smithy.api#documentation": "

An optional parameter that returns the item attributes for a PartiQL\n ParameterizedStatement operation that failed a condition check.

\n

There is no additional cost associated with requesting a return value aside from the\n small network and processing overhead of receiving a larger response. No read capacity\n units are consumed.

" + "smithy.api#documentation": "

An optional parameter that returns the item attributes for a PartiQL\n ParameterizedStatement operation that failed a condition check.

\n

There is no additional cost associated with requesting a return value aside from the\n small network and processing overhead of receiving a larger response. No read capacity\n units are consumed.

" } } }, @@ -9416,6 +9416,12 @@ "smithy.api#documentation": "

The current state of point in time recovery:

\n
    \n
  • \n

    \n ENABLED - Point in time recovery is enabled.

    \n
  • \n
  • \n

    \n DISABLED - Point in time recovery is disabled.

    \n
  • \n
" } }, + "RecoveryPeriodInDays": { + "target": "com.amazonaws.dynamodb#RecoveryPeriodInDays", + "traits": { + "smithy.api#documentation": "

The number of preceding days for which continuous backups are taken and maintained.\n Your table data is only recoverable to any point-in-time from within the configured\n recovery period. This parameter is optional. If no value is provided, the value will\n default to 35.

" + } + }, "EarliestRestorableDateTime": { "target": "com.amazonaws.dynamodb#Date", "traits": { @@ -9442,6 +9448,12 @@ "smithy.api#documentation": "

Indicates whether point in time recovery is enabled (true) or disabled (false) on the\n table.

", "smithy.api#required": {} } + }, + "RecoveryPeriodInDays": { + "target": "com.amazonaws.dynamodb#RecoveryPeriodInDays", + "traits": { + "smithy.api#documentation": "

The number of preceding days for which continuous backups are taken and maintained.\n Your table data is only recoverable to any point-in-time from within the configured\n recovery period. This parameter is optional. If no value is provided, the value will\n default to 35.

" + } } }, "traits": { @@ -9586,14 +9598,14 @@ "ReadCapacityUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

The maximum number of strongly consistent reads consumed per second before DynamoDB\n returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB\n Developer Guide.

\n

If read/write capacity mode is PAY_PER_REQUEST the value is set to\n 0.

", + "smithy.api#documentation": "

The maximum number of strongly consistent reads consumed per second before DynamoDB\n returns a ThrottlingException. For more information, see Specifying\n Read and Write Requirements in the Amazon DynamoDB Developer\n Guide.

\n

If read/write capacity mode is PAY_PER_REQUEST the value is set to\n 0.

", "smithy.api#required": {} } }, "WriteCapacityUnits": { "target": "com.amazonaws.dynamodb#PositiveLongObject", "traits": { - "smithy.api#documentation": "

The maximum number of writes consumed per second before DynamoDB returns a\n ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB\n Developer Guide.

\n

If read/write capacity mode is PAY_PER_REQUEST the value is set to\n 0.

", + "smithy.api#documentation": "

The maximum number of writes consumed per second before DynamoDB returns a\n ThrottlingException. For more information, see Specifying\n Read and Write Requirements in the Amazon DynamoDB Developer\n Guide.

\n

If read/write capacity mode is PAY_PER_REQUEST the value is set to\n 0.

", "smithy.api#required": {} } } @@ -9682,7 +9694,7 @@ "TableName": { "target": "com.amazonaws.dynamodb#TableArn", "traits": { - "smithy.api#documentation": "

Name of the table in which to write the item. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

", + "smithy.api#documentation": "

Name of the table in which to write the item. You can also provide the Amazon Resource Name (ARN) of\n the table in this parameter.

", "smithy.api#required": {} } }, @@ -10213,6 +10225,15 @@ "smithy.api#output": {} } }, + "com.amazonaws.dynamodb#RecoveryPeriodInDays": { + "type": "integer", + "traits": { + "smithy.api#range": { + "min": 1, + "max": 35 + } + } + }, "com.amazonaws.dynamodb#RegionName": { "type": "string" }, @@ -10357,7 +10378,7 @@ "OnDemandThroughputOverride": { "target": "com.amazonaws.dynamodb#OnDemandThroughputOverride", "traits": { - "smithy.api#documentation": "

Overrides the maximum on-demand throughput settings for the specified replica table.

" + "smithy.api#documentation": "

Overrides the maximum on-demand throughput settings for the specified replica\n table.

" } }, "WarmThroughput": { @@ -10411,7 +10432,7 @@ "OnDemandThroughputOverride": { "target": "com.amazonaws.dynamodb#OnDemandThroughputOverride", "traits": { - "smithy.api#documentation": "

Overrides the maximum on-demand throughput settings for the specified global secondary index in the specified replica table.

" + "smithy.api#documentation": "

Overrides the maximum on-demand throughput settings for the specified global secondary\n index in the specified replica table.

" } } }, @@ -10492,7 +10513,7 @@ "OnDemandThroughputOverride": { "target": "com.amazonaws.dynamodb#OnDemandThroughputOverride", "traits": { - "smithy.api#documentation": "

Overrides the maximum on-demand throughput for the specified global secondary index in the specified replica table.

" + "smithy.api#documentation": "

Overrides the maximum on-demand throughput for the specified global secondary index in\n the specified replica table.

" } }, "WarmThroughput": { @@ -11112,7 +11133,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

Restores the specified table to the specified point in time within\n EarliestRestorableDateTime and LatestRestorableDateTime.\n You can restore your table to any point in time during the last 35 days. Any number of\n users can execute up to 50 concurrent restores (any type of restore) in a given account.

\n

When you restore using point in time recovery, DynamoDB restores your table data to\n the state based on the selected date and time (day:hour:minute:second) to a new table.

\n

Along with data, the following are also included on the new restored table using point\n in time recovery:

\n
    \n
  • \n

    Global secondary indexes (GSIs)

    \n
  • \n
  • \n

    Local secondary indexes (LSIs)

    \n
  • \n
  • \n

    Provisioned read and write capacity

    \n
  • \n
  • \n

    Encryption settings

    \n \n

    All these settings come from the current settings of the source table at\n the time of restore.

    \n
    \n
  • \n
\n

You must manually set up the following on the restored table:

\n
    \n
  • \n

    Auto scaling policies

    \n
  • \n
  • \n

    IAM policies

    \n
  • \n
  • \n

    Amazon CloudWatch metrics and alarms

    \n
  • \n
  • \n

    Tags

    \n
  • \n
  • \n

    Stream settings

    \n
  • \n
  • \n

    Time to Live (TTL) settings

    \n
  • \n
  • \n

    Point in time recovery settings

    \n
  • \n
" + "smithy.api#documentation": "

Restores the specified table to the specified point in time within\n EarliestRestorableDateTime and LatestRestorableDateTime.\n You can restore your table to any point in time in the last 35 days. You can set the recovery period to any value between 1 and 35 days. Any number of\n users can execute up to 50 concurrent restores (any type of restore) in a given account.

\n

When you restore using point in time recovery, DynamoDB restores your table data to\n the state based on the selected date and time (day:hour:minute:second) to a new table.

\n

Along with data, the following are also included on the new restored table using point\n in time recovery:

\n
    \n
  • \n

    Global secondary indexes (GSIs)

    \n
  • \n
  • \n

    Local secondary indexes (LSIs)

    \n
  • \n
  • \n

    Provisioned read and write capacity

    \n
  • \n
  • \n

    Encryption settings

    \n \n

    All these settings come from the current settings of the source table at\n the time of restore.

    \n
    \n
  • \n
\n

You must manually set up the following on the restored table:

\n
    \n
  • \n

    Auto scaling policies

    \n
  • \n
  • \n

    IAM policies

    \n
  • \n
  • \n

    Amazon CloudWatch metrics and alarms

    \n
  • \n
  • \n

    Tags

    \n
  • \n
  • \n

    Stream settings

    \n
  • \n
  • \n

    Time to Live (TTL) settings

    \n
  • \n
  • \n

    Point in time recovery settings

    \n
  • \n
" } }, "com.amazonaws.dynamodb#RestoreTableToPointInTimeInput": { @@ -12249,13 +12270,13 @@ "DeletionProtectionEnabled": { "target": "com.amazonaws.dynamodb#DeletionProtectionEnabled", "traits": { - "smithy.api#documentation": "

Indicates whether deletion protection is enabled (true) or disabled (false) on the table.

" + "smithy.api#documentation": "

Indicates whether deletion protection is enabled (true) or disabled (false) on the\n table.

" } }, "OnDemandThroughput": { "target": "com.amazonaws.dynamodb#OnDemandThroughput", "traits": { - "smithy.api#documentation": "

The maximum number of read and write units for the specified on-demand table. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

" + "smithy.api#documentation": "

The maximum number of read and write units for the specified on-demand table. If you\n use this parameter, you must specify MaxReadRequestUnits,\n MaxWriteRequestUnits, or both.

" } }, "WarmThroughput": { @@ -12391,7 +12412,7 @@ } }, "traits": { - "smithy.api#documentation": "

Represents the warm throughput value (in read units per second and write units per second) of the base table.

" + "smithy.api#documentation": "

Represents the warm throughput value (in read units per second and write units per\n second) of the base table.

" } }, "com.amazonaws.dynamodb#Tag": { @@ -12944,7 +12965,7 @@ "TableName": { "target": "com.amazonaws.dynamodb#TableArn", "traits": { - "smithy.api#documentation": "

Name of the table for the UpdateItem request. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.

", + "smithy.api#documentation": "

Name of the table for the UpdateItem request. You can also provide the\n Amazon Resource Name (ARN) of the table in this parameter.

", "smithy.api#required": {} } }, @@ -13003,7 +13024,7 @@ "aws.api#clientDiscoveredEndpoint": { "required": false }, - "smithy.api#documentation": "

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

\n

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

\n

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

" + "smithy.api#documentation": "

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

\n

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

\n

\n LatestRestorableDateTime is typically 5 minutes before the current time.\n You can restore your table to any point in time in the last 35 days. You can set the recovery period to any value between 1 and 35 days.

" } }, "com.amazonaws.dynamodb#UpdateContinuousBackupsInput": { @@ -13138,13 +13159,13 @@ "OnDemandThroughput": { "target": "com.amazonaws.dynamodb#OnDemandThroughput", "traits": { - "smithy.api#documentation": "

Updates the maximum number of read and write units for the specified global secondary index. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.

" + "smithy.api#documentation": "

Updates the maximum number of read and write units for the specified global secondary\n index. If you use this parameter, you must specify MaxReadRequestUnits,\n MaxWriteRequestUnits, or both.

" } }, "WarmThroughput": { "target": "com.amazonaws.dynamodb#WarmThroughput", "traits": { - "smithy.api#documentation": "

Represents the warm throughput value of the new provisioned throughput settings to be applied to a global secondary index.

" + "smithy.api#documentation": "

Represents the warm throughput value of the new provisioned throughput settings to be\n applied to a global secondary index.

" } } }, @@ -13961,18 +13982,18 @@ "ReadUnitsPerSecond": { "target": "com.amazonaws.dynamodb#LongObject", "traits": { - "smithy.api#documentation": "

Represents the number of read operations your base table can instantaneously support.

" + "smithy.api#documentation": "

Represents the number of read operations your base table can instantaneously\n support.

" } }, "WriteUnitsPerSecond": { "target": "com.amazonaws.dynamodb#LongObject", "traits": { - "smithy.api#documentation": "

Represents the number of write operations your base table can instantaneously support.

" + "smithy.api#documentation": "

Represents the number of write operations your base table can instantaneously\n support.

" } } }, "traits": { - "smithy.api#documentation": "

Provides visibility into the number of read and write operations your table or secondary index can instantaneously support. The settings can be modified using the UpdateTable operation to meet the throughput requirements of an upcoming peak event.

" + "smithy.api#documentation": "

Provides visibility into the number of read and write operations your table or\n secondary index can instantaneously support. The settings can be modified using the\n UpdateTable operation to meet the throughput requirements of an\n upcoming peak event.

" } }, "com.amazonaws.dynamodb#WriteRequest": {