Skip to content

Commit

Permalink
service/dynamodb: Add feature update for Amazon DynamoDB (aws#3142)
Browse files Browse the repository at this point in the history
Amazon DynamoDB enables you to restore your DynamoDB backup or table
data across AWS Regions such that the restored table is created in a
different AWS Region from where the source table or backup resides. You
can do cross-region restores between AWS commercial Regions, AWS China
Regions, and AWS GovCloud (US) Regions.
  • Loading branch information
jasdel authored Feb 17, 2020
1 parent 3da93ec commit 23a440c
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 14 deletions.
12 changes: 6 additions & 6 deletions models/apis/dynamodb/2012-08-10/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2494,7 +2494,8 @@
"BillingModeOverride":{"shape":"BillingMode"},
"GlobalSecondaryIndexOverride":{"shape":"GlobalSecondaryIndexList"},
"LocalSecondaryIndexOverride":{"shape":"LocalSecondaryIndexList"},
"ProvisionedThroughputOverride":{"shape":"ProvisionedThroughput"}
"ProvisionedThroughputOverride":{"shape":"ProvisionedThroughput"},
"SSESpecificationOverride":{"shape":"SSESpecification"}
}
},
"RestoreTableFromBackupOutput":{
Expand All @@ -2505,19 +2506,18 @@
},
"RestoreTableToPointInTimeInput":{
"type":"structure",
"required":[
"SourceTableName",
"TargetTableName"
],
"required":["TargetTableName"],
"members":{
"SourceTableArn":{"shape":"TableArn"},
"SourceTableName":{"shape":"TableName"},
"TargetTableName":{"shape":"TableName"},
"UseLatestRestorableTime":{"shape":"BooleanObject"},
"RestoreDateTime":{"shape":"Date"},
"BillingModeOverride":{"shape":"BillingMode"},
"GlobalSecondaryIndexOverride":{"shape":"GlobalSecondaryIndexList"},
"LocalSecondaryIndexOverride":{"shape":"LocalSecondaryIndexList"},
"ProvisionedThroughputOverride":{"shape":"ProvisionedThroughput"}
"ProvisionedThroughputOverride":{"shape":"ProvisionedThroughput"},
"SSESpecificationOverride":{"shape":"SSESpecification"}
}
},
"RestoreTableToPointInTimeOutput":{
Expand Down
5 changes: 4 additions & 1 deletion models/apis/dynamodb/2012-08-10/docs-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -1528,7 +1528,7 @@
"PositiveIntegerObject": {
"base": null,
"refs": {
"ListGlobalTablesInput$Limit": "<p>The maximum number of table names to return.</p>",
"ListGlobalTablesInput$Limit": "<p>The maximum number of table names to return, if the parameter is not specified DynamoDB defaults to 100.</p> <p>If the number of global tables DynamoDB finds reaches this limit, it stops the operation and returns the table names collected up to that point, with a table name in the <code>LastEvaluatedGlobalTableName</code> to apply in a subsequent operation to the <code>ExclusiveStartGlobalTableName</code> parameter.</p>",
"QueryInput$Limit": "<p>The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the number of items up to the limit while processing the results, it stops the operation and returns the matching values up to that point, and a key in <code>LastEvaluatedKey</code> to apply in a subsequent operation, so that you can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up to the limit, and a key in <code>LastEvaluatedKey</code> to apply in a subsequent operation to continue the operation. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html\">Query and Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>",
"ScanInput$Limit": "<p>The maximum number of items to evaluate (not necessarily the number of matching items). If DynamoDB processes the number of items up to the limit while processing the results, it stops the operation and returns the matching values up to that point, and a key in <code>LastEvaluatedKey</code> to apply in a subsequent operation, so that you can pick up where you left off. Also, if the processed dataset size exceeds 1 MB before DynamoDB reaches this limit, it stops the operation and returns the matching values up to the limit, and a key in <code>LastEvaluatedKey</code> to apply in a subsequent operation to continue the operation. For more information, see <a href=\"https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html\">Working with Queries</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>"
}
Expand Down Expand Up @@ -1993,6 +1993,8 @@
"base": "<p>Represents the settings used to enable server-side encryption.</p>",
"refs": {
"CreateTableInput$SSESpecification": "<p>Represents the settings used to enable server-side encryption.</p>",
"RestoreTableFromBackupInput$SSESpecificationOverride": "<p>The new server-side encryption settings for the restored table.</p>",
"RestoreTableToPointInTimeInput$SSESpecificationOverride": "<p>The new server-side encryption settings for the restored table.</p>",
"UpdateTableInput$SSESpecification": "<p>The new server-side encryption settings for the specified table.</p>"
}
},
Expand Down Expand Up @@ -2125,6 +2127,7 @@
"refs": {
"BackupSummary$TableArn": "<p>ARN associated with the table.</p>",
"RestoreSummary$SourceTableArn": "<p>The ARN of the source table of the backup that is being restored.</p>",
"RestoreTableToPointInTimeInput$SourceTableArn": "<p>The DynamoDB table that will be restored. This value is an Amazon Resource Name (ARN).</p>",
"SourceTableDetails$TableArn": "<p>ARN of the table for which backup was created. </p>"
}
},
Expand Down
43 changes: 36 additions & 7 deletions service/dynamodb/api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 23a440c

Please sign in to comment.