@aws-sdk/client-dynamodb 3.325.0 → 3.326.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +86 -0
- package/dist-types/commands/BatchGetItemCommand.d.ts +98 -0
- package/dist-types/commands/BatchWriteItemCommand.d.ts +102 -0
- package/dist-types/commands/CreateBackupCommand.d.ts +14 -0
- package/dist-types/commands/CreateGlobalTableCommand.d.ts +36 -0
- package/dist-types/commands/CreateTableCommand.d.ts +140 -0
- package/dist-types/commands/DeleteBackupCommand.d.ts +89 -0
- package/dist-types/commands/DeleteItemCommand.d.ts +83 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +140 -0
- package/dist-types/commands/DescribeBackupCommand.d.ts +89 -0
- package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +13 -0
- package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +16 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeExportCommand.d.ts +26 -0
- package/dist-types/commands/DescribeGlobalTableCommand.d.ts +36 -0
- package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +98 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +82 -0
- package/dist-types/commands/DescribeKinesisStreamingDestinationCommand.d.ts +13 -0
- package/dist-types/commands/DescribeLimitsCommand.d.ts +9 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +140 -0
- package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +89 -0
- package/dist-types/commands/DescribeTimeToLiveCommand.d.ts +9 -0
- package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +8 -0
- package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +8 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +81 -0
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +81 -0
- package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +26 -0
- package/dist-types/commands/GetItemCommand.d.ts +75 -0
- package/dist-types/commands/ImportTableCommand.d.ts +82 -0
- package/dist-types/commands/ListBackupsCommand.d.ts +20 -0
- package/dist-types/commands/ListContributorInsightsCommand.d.ts +13 -0
- package/dist-types/commands/ListExportsCommand.d.ts +12 -0
- package/dist-types/commands/ListGlobalTablesCommand.d.ts +16 -0
- package/dist-types/commands/ListImportsCommand.d.ts +22 -0
- package/dist-types/commands/ListTablesCommand.d.ts +9 -0
- package/dist-types/commands/ListTagsOfResourceCommand.d.ts +12 -0
- package/dist-types/commands/PutItemCommand.d.ts +83 -0
- package/dist-types/commands/QueryCommand.d.ts +82 -0
- package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +140 -0
- package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +140 -0
- package/dist-types/commands/ScanCommand.d.ts +82 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/TransactGetItemsCommand.d.ts +81 -0
- package/dist-types/commands/TransactWriteItemsCommand.d.ts +86 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +13 -0
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +8 -0
- package/dist-types/commands/UpdateGlobalTableCommand.d.ts +36 -0
- package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +98 -0
- package/dist-types/commands/UpdateItemCommand.d.ts +83 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +140 -0
- package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +89 -0
- package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +9 -0
- package/package.json +4 -4
|
@@ -104,6 +104,144 @@ export interface RestoreTableFromBackupCommandOutput extends RestoreTableFromBac
|
|
|
104
104
|
* };
|
|
105
105
|
* const command = new RestoreTableFromBackupCommand(input);
|
|
106
106
|
* const response = await client.send(command);
|
|
107
|
+
* // { // RestoreTableFromBackupOutput
|
|
108
|
+
* // TableDescription: { // TableDescription
|
|
109
|
+
* // AttributeDefinitions: [ // AttributeDefinitions
|
|
110
|
+
* // { // AttributeDefinition
|
|
111
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
112
|
+
* // AttributeType: "S" || "N" || "B", // required
|
|
113
|
+
* // },
|
|
114
|
+
* // ],
|
|
115
|
+
* // TableName: "STRING_VALUE",
|
|
116
|
+
* // KeySchema: [ // KeySchema
|
|
117
|
+
* // { // KeySchemaElement
|
|
118
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
119
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
120
|
+
* // },
|
|
121
|
+
* // ],
|
|
122
|
+
* // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED",
|
|
123
|
+
* // CreationDateTime: new Date("TIMESTAMP"),
|
|
124
|
+
* // ProvisionedThroughput: { // ProvisionedThroughputDescription
|
|
125
|
+
* // LastIncreaseDateTime: new Date("TIMESTAMP"),
|
|
126
|
+
* // LastDecreaseDateTime: new Date("TIMESTAMP"),
|
|
127
|
+
* // NumberOfDecreasesToday: Number("long"),
|
|
128
|
+
* // ReadCapacityUnits: Number("long"),
|
|
129
|
+
* // WriteCapacityUnits: Number("long"),
|
|
130
|
+
* // },
|
|
131
|
+
* // TableSizeBytes: Number("long"),
|
|
132
|
+
* // ItemCount: Number("long"),
|
|
133
|
+
* // TableArn: "STRING_VALUE",
|
|
134
|
+
* // TableId: "STRING_VALUE",
|
|
135
|
+
* // BillingModeSummary: { // BillingModeSummary
|
|
136
|
+
* // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
137
|
+
* // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"),
|
|
138
|
+
* // },
|
|
139
|
+
* // LocalSecondaryIndexes: [ // LocalSecondaryIndexDescriptionList
|
|
140
|
+
* // { // LocalSecondaryIndexDescription
|
|
141
|
+
* // IndexName: "STRING_VALUE",
|
|
142
|
+
* // KeySchema: [
|
|
143
|
+
* // {
|
|
144
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
145
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
146
|
+
* // },
|
|
147
|
+
* // ],
|
|
148
|
+
* // Projection: { // Projection
|
|
149
|
+
* // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
150
|
+
* // NonKeyAttributes: [ // NonKeyAttributeNameList
|
|
151
|
+
* // "STRING_VALUE",
|
|
152
|
+
* // ],
|
|
153
|
+
* // },
|
|
154
|
+
* // IndexSizeBytes: Number("long"),
|
|
155
|
+
* // ItemCount: Number("long"),
|
|
156
|
+
* // IndexArn: "STRING_VALUE",
|
|
157
|
+
* // },
|
|
158
|
+
* // ],
|
|
159
|
+
* // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexDescriptionList
|
|
160
|
+
* // { // GlobalSecondaryIndexDescription
|
|
161
|
+
* // IndexName: "STRING_VALUE",
|
|
162
|
+
* // KeySchema: [
|
|
163
|
+
* // {
|
|
164
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
165
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
166
|
+
* // },
|
|
167
|
+
* // ],
|
|
168
|
+
* // Projection: {
|
|
169
|
+
* // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
170
|
+
* // NonKeyAttributes: [
|
|
171
|
+
* // "STRING_VALUE",
|
|
172
|
+
* // ],
|
|
173
|
+
* // },
|
|
174
|
+
* // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
|
|
175
|
+
* // Backfilling: true || false,
|
|
176
|
+
* // ProvisionedThroughput: {
|
|
177
|
+
* // LastIncreaseDateTime: new Date("TIMESTAMP"),
|
|
178
|
+
* // LastDecreaseDateTime: new Date("TIMESTAMP"),
|
|
179
|
+
* // NumberOfDecreasesToday: Number("long"),
|
|
180
|
+
* // ReadCapacityUnits: Number("long"),
|
|
181
|
+
* // WriteCapacityUnits: Number("long"),
|
|
182
|
+
* // },
|
|
183
|
+
* // IndexSizeBytes: Number("long"),
|
|
184
|
+
* // ItemCount: Number("long"),
|
|
185
|
+
* // IndexArn: "STRING_VALUE",
|
|
186
|
+
* // },
|
|
187
|
+
* // ],
|
|
188
|
+
* // StreamSpecification: { // StreamSpecification
|
|
189
|
+
* // StreamEnabled: true || false, // required
|
|
190
|
+
* // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY",
|
|
191
|
+
* // },
|
|
192
|
+
* // LatestStreamLabel: "STRING_VALUE",
|
|
193
|
+
* // LatestStreamArn: "STRING_VALUE",
|
|
194
|
+
* // GlobalTableVersion: "STRING_VALUE",
|
|
195
|
+
* // Replicas: [ // ReplicaDescriptionList
|
|
196
|
+
* // { // ReplicaDescription
|
|
197
|
+
* // RegionName: "STRING_VALUE",
|
|
198
|
+
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
199
|
+
* // ReplicaStatusDescription: "STRING_VALUE",
|
|
200
|
+
* // ReplicaStatusPercentProgress: "STRING_VALUE",
|
|
201
|
+
* // KMSMasterKeyId: "STRING_VALUE",
|
|
202
|
+
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
203
|
+
* // ReadCapacityUnits: Number("long"),
|
|
204
|
+
* // },
|
|
205
|
+
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
206
|
+
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
207
|
+
* // IndexName: "STRING_VALUE",
|
|
208
|
+
* // ProvisionedThroughputOverride: {
|
|
209
|
+
* // ReadCapacityUnits: Number("long"),
|
|
210
|
+
* // },
|
|
211
|
+
* // },
|
|
212
|
+
* // ],
|
|
213
|
+
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
214
|
+
* // ReplicaTableClassSummary: { // TableClassSummary
|
|
215
|
+
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
216
|
+
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
217
|
+
* // },
|
|
218
|
+
* // },
|
|
219
|
+
* // ],
|
|
220
|
+
* // RestoreSummary: { // RestoreSummary
|
|
221
|
+
* // SourceBackupArn: "STRING_VALUE",
|
|
222
|
+
* // SourceTableArn: "STRING_VALUE",
|
|
223
|
+
* // RestoreDateTime: new Date("TIMESTAMP"), // required
|
|
224
|
+
* // RestoreInProgress: true || false, // required
|
|
225
|
+
* // },
|
|
226
|
+
* // SSEDescription: { // SSEDescription
|
|
227
|
+
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING",
|
|
228
|
+
* // SSEType: "AES256" || "KMS",
|
|
229
|
+
* // KMSMasterKeyArn: "STRING_VALUE",
|
|
230
|
+
* // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"),
|
|
231
|
+
* // },
|
|
232
|
+
* // ArchivalSummary: { // ArchivalSummary
|
|
233
|
+
* // ArchivalDateTime: new Date("TIMESTAMP"),
|
|
234
|
+
* // ArchivalReason: "STRING_VALUE",
|
|
235
|
+
* // ArchivalBackupArn: "STRING_VALUE",
|
|
236
|
+
* // },
|
|
237
|
+
* // TableClassSummary: {
|
|
238
|
+
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
239
|
+
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
240
|
+
* // },
|
|
241
|
+
* // DeletionProtectionEnabled: true || false,
|
|
242
|
+
* // },
|
|
243
|
+
* // };
|
|
244
|
+
*
|
|
107
245
|
* ```
|
|
108
246
|
*
|
|
109
247
|
* @param RestoreTableFromBackupCommandInput - {@link RestoreTableFromBackupCommandInput}
|
|
@@ -144,6 +282,8 @@ export interface RestoreTableFromBackupCommandOutput extends RestoreTableFromBac
|
|
|
144
282
|
* <p>A target table with the specified name is either being created or deleted.
|
|
145
283
|
* </p>
|
|
146
284
|
*
|
|
285
|
+
* @throws {@link DynamoDBServiceException}
|
|
286
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
147
287
|
*
|
|
148
288
|
*/
|
|
149
289
|
export declare class RestoreTableFromBackupCommand extends $Command<RestoreTableFromBackupCommandInput, RestoreTableFromBackupCommandOutput, DynamoDBClientResolvedConfig> {
|
|
@@ -132,6 +132,144 @@ export interface RestoreTableToPointInTimeCommandOutput extends RestoreTableToPo
|
|
|
132
132
|
* };
|
|
133
133
|
* const command = new RestoreTableToPointInTimeCommand(input);
|
|
134
134
|
* const response = await client.send(command);
|
|
135
|
+
* // { // RestoreTableToPointInTimeOutput
|
|
136
|
+
* // TableDescription: { // TableDescription
|
|
137
|
+
* // AttributeDefinitions: [ // AttributeDefinitions
|
|
138
|
+
* // { // AttributeDefinition
|
|
139
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
140
|
+
* // AttributeType: "S" || "N" || "B", // required
|
|
141
|
+
* // },
|
|
142
|
+
* // ],
|
|
143
|
+
* // TableName: "STRING_VALUE",
|
|
144
|
+
* // KeySchema: [ // KeySchema
|
|
145
|
+
* // { // KeySchemaElement
|
|
146
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
147
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
148
|
+
* // },
|
|
149
|
+
* // ],
|
|
150
|
+
* // TableStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED",
|
|
151
|
+
* // CreationDateTime: new Date("TIMESTAMP"),
|
|
152
|
+
* // ProvisionedThroughput: { // ProvisionedThroughputDescription
|
|
153
|
+
* // LastIncreaseDateTime: new Date("TIMESTAMP"),
|
|
154
|
+
* // LastDecreaseDateTime: new Date("TIMESTAMP"),
|
|
155
|
+
* // NumberOfDecreasesToday: Number("long"),
|
|
156
|
+
* // ReadCapacityUnits: Number("long"),
|
|
157
|
+
* // WriteCapacityUnits: Number("long"),
|
|
158
|
+
* // },
|
|
159
|
+
* // TableSizeBytes: Number("long"),
|
|
160
|
+
* // ItemCount: Number("long"),
|
|
161
|
+
* // TableArn: "STRING_VALUE",
|
|
162
|
+
* // TableId: "STRING_VALUE",
|
|
163
|
+
* // BillingModeSummary: { // BillingModeSummary
|
|
164
|
+
* // BillingMode: "PROVISIONED" || "PAY_PER_REQUEST",
|
|
165
|
+
* // LastUpdateToPayPerRequestDateTime: new Date("TIMESTAMP"),
|
|
166
|
+
* // },
|
|
167
|
+
* // LocalSecondaryIndexes: [ // LocalSecondaryIndexDescriptionList
|
|
168
|
+
* // { // LocalSecondaryIndexDescription
|
|
169
|
+
* // IndexName: "STRING_VALUE",
|
|
170
|
+
* // KeySchema: [
|
|
171
|
+
* // {
|
|
172
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
173
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
174
|
+
* // },
|
|
175
|
+
* // ],
|
|
176
|
+
* // Projection: { // Projection
|
|
177
|
+
* // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
178
|
+
* // NonKeyAttributes: [ // NonKeyAttributeNameList
|
|
179
|
+
* // "STRING_VALUE",
|
|
180
|
+
* // ],
|
|
181
|
+
* // },
|
|
182
|
+
* // IndexSizeBytes: Number("long"),
|
|
183
|
+
* // ItemCount: Number("long"),
|
|
184
|
+
* // IndexArn: "STRING_VALUE",
|
|
185
|
+
* // },
|
|
186
|
+
* // ],
|
|
187
|
+
* // GlobalSecondaryIndexes: [ // GlobalSecondaryIndexDescriptionList
|
|
188
|
+
* // { // GlobalSecondaryIndexDescription
|
|
189
|
+
* // IndexName: "STRING_VALUE",
|
|
190
|
+
* // KeySchema: [
|
|
191
|
+
* // {
|
|
192
|
+
* // AttributeName: "STRING_VALUE", // required
|
|
193
|
+
* // KeyType: "HASH" || "RANGE", // required
|
|
194
|
+
* // },
|
|
195
|
+
* // ],
|
|
196
|
+
* // Projection: {
|
|
197
|
+
* // ProjectionType: "ALL" || "KEYS_ONLY" || "INCLUDE",
|
|
198
|
+
* // NonKeyAttributes: [
|
|
199
|
+
* // "STRING_VALUE",
|
|
200
|
+
* // ],
|
|
201
|
+
* // },
|
|
202
|
+
* // IndexStatus: "CREATING" || "UPDATING" || "DELETING" || "ACTIVE",
|
|
203
|
+
* // Backfilling: true || false,
|
|
204
|
+
* // ProvisionedThroughput: {
|
|
205
|
+
* // LastIncreaseDateTime: new Date("TIMESTAMP"),
|
|
206
|
+
* // LastDecreaseDateTime: new Date("TIMESTAMP"),
|
|
207
|
+
* // NumberOfDecreasesToday: Number("long"),
|
|
208
|
+
* // ReadCapacityUnits: Number("long"),
|
|
209
|
+
* // WriteCapacityUnits: Number("long"),
|
|
210
|
+
* // },
|
|
211
|
+
* // IndexSizeBytes: Number("long"),
|
|
212
|
+
* // ItemCount: Number("long"),
|
|
213
|
+
* // IndexArn: "STRING_VALUE",
|
|
214
|
+
* // },
|
|
215
|
+
* // ],
|
|
216
|
+
* // StreamSpecification: { // StreamSpecification
|
|
217
|
+
* // StreamEnabled: true || false, // required
|
|
218
|
+
* // StreamViewType: "NEW_IMAGE" || "OLD_IMAGE" || "NEW_AND_OLD_IMAGES" || "KEYS_ONLY",
|
|
219
|
+
* // },
|
|
220
|
+
* // LatestStreamLabel: "STRING_VALUE",
|
|
221
|
+
* // LatestStreamArn: "STRING_VALUE",
|
|
222
|
+
* // GlobalTableVersion: "STRING_VALUE",
|
|
223
|
+
* // Replicas: [ // ReplicaDescriptionList
|
|
224
|
+
* // { // ReplicaDescription
|
|
225
|
+
* // RegionName: "STRING_VALUE",
|
|
226
|
+
* // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS",
|
|
227
|
+
* // ReplicaStatusDescription: "STRING_VALUE",
|
|
228
|
+
* // ReplicaStatusPercentProgress: "STRING_VALUE",
|
|
229
|
+
* // KMSMasterKeyId: "STRING_VALUE",
|
|
230
|
+
* // ProvisionedThroughputOverride: { // ProvisionedThroughputOverride
|
|
231
|
+
* // ReadCapacityUnits: Number("long"),
|
|
232
|
+
* // },
|
|
233
|
+
* // GlobalSecondaryIndexes: [ // ReplicaGlobalSecondaryIndexDescriptionList
|
|
234
|
+
* // { // ReplicaGlobalSecondaryIndexDescription
|
|
235
|
+
* // IndexName: "STRING_VALUE",
|
|
236
|
+
* // ProvisionedThroughputOverride: {
|
|
237
|
+
* // ReadCapacityUnits: Number("long"),
|
|
238
|
+
* // },
|
|
239
|
+
* // },
|
|
240
|
+
* // ],
|
|
241
|
+
* // ReplicaInaccessibleDateTime: new Date("TIMESTAMP"),
|
|
242
|
+
* // ReplicaTableClassSummary: { // TableClassSummary
|
|
243
|
+
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
244
|
+
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
245
|
+
* // },
|
|
246
|
+
* // },
|
|
247
|
+
* // ],
|
|
248
|
+
* // RestoreSummary: { // RestoreSummary
|
|
249
|
+
* // SourceBackupArn: "STRING_VALUE",
|
|
250
|
+
* // SourceTableArn: "STRING_VALUE",
|
|
251
|
+
* // RestoreDateTime: new Date("TIMESTAMP"), // required
|
|
252
|
+
* // RestoreInProgress: true || false, // required
|
|
253
|
+
* // },
|
|
254
|
+
* // SSEDescription: { // SSEDescription
|
|
255
|
+
* // Status: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED" || "UPDATING",
|
|
256
|
+
* // SSEType: "AES256" || "KMS",
|
|
257
|
+
* // KMSMasterKeyArn: "STRING_VALUE",
|
|
258
|
+
* // InaccessibleEncryptionDateTime: new Date("TIMESTAMP"),
|
|
259
|
+
* // },
|
|
260
|
+
* // ArchivalSummary: { // ArchivalSummary
|
|
261
|
+
* // ArchivalDateTime: new Date("TIMESTAMP"),
|
|
262
|
+
* // ArchivalReason: "STRING_VALUE",
|
|
263
|
+
* // ArchivalBackupArn: "STRING_VALUE",
|
|
264
|
+
* // },
|
|
265
|
+
* // TableClassSummary: {
|
|
266
|
+
* // TableClass: "STANDARD" || "STANDARD_INFREQUENT_ACCESS",
|
|
267
|
+
* // LastUpdateDateTime: new Date("TIMESTAMP"),
|
|
268
|
+
* // },
|
|
269
|
+
* // DeletionProtectionEnabled: true || false,
|
|
270
|
+
* // },
|
|
271
|
+
* // };
|
|
272
|
+
*
|
|
135
273
|
* ```
|
|
136
274
|
*
|
|
137
275
|
* @param RestoreTableToPointInTimeCommandInput - {@link RestoreTableToPointInTimeCommandInput}
|
|
@@ -176,6 +314,8 @@ export interface RestoreTableToPointInTimeCommandOutput extends RestoreTableToPo
|
|
|
176
314
|
* <p>A source table with the name <code>TableName</code> does not currently exist within
|
|
177
315
|
* the subscriber's account or the subscriber is operating in the wrong Amazon Web Services Region.</p>
|
|
178
316
|
*
|
|
317
|
+
* @throws {@link DynamoDBServiceException}
|
|
318
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
179
319
|
*
|
|
180
320
|
*/
|
|
181
321
|
export declare class RestoreTableToPointInTimeCommand extends $Command<RestoreTableToPointInTimeCommandInput, RestoreTableToPointInTimeCommandOutput, DynamoDBClientResolvedConfig> {
|
|
@@ -128,6 +128,86 @@ export interface ScanCommandOutput extends ScanOutput, __MetadataBearer {
|
|
|
128
128
|
* };
|
|
129
129
|
* const command = new ScanCommand(input);
|
|
130
130
|
* const response = await client.send(command);
|
|
131
|
+
* // { // ScanOutput
|
|
132
|
+
* // Items: [ // ItemList
|
|
133
|
+
* // { // AttributeMap
|
|
134
|
+
* // "<keys>": { // AttributeValue Union: only one key present
|
|
135
|
+
* // S: "STRING_VALUE",
|
|
136
|
+
* // N: "STRING_VALUE",
|
|
137
|
+
* // B: "BLOB_VALUE",
|
|
138
|
+
* // SS: [ // StringSetAttributeValue
|
|
139
|
+
* // "STRING_VALUE",
|
|
140
|
+
* // ],
|
|
141
|
+
* // NS: [ // NumberSetAttributeValue
|
|
142
|
+
* // "STRING_VALUE",
|
|
143
|
+
* // ],
|
|
144
|
+
* // BS: [ // BinarySetAttributeValue
|
|
145
|
+
* // "BLOB_VALUE",
|
|
146
|
+
* // ],
|
|
147
|
+
* // M: { // MapAttributeValue
|
|
148
|
+
* // "<keys>": {// Union: only one key present
|
|
149
|
+
* // S: "STRING_VALUE",
|
|
150
|
+
* // N: "STRING_VALUE",
|
|
151
|
+
* // B: "BLOB_VALUE",
|
|
152
|
+
* // SS: [
|
|
153
|
+
* // "STRING_VALUE",
|
|
154
|
+
* // ],
|
|
155
|
+
* // NS: [
|
|
156
|
+
* // "STRING_VALUE",
|
|
157
|
+
* // ],
|
|
158
|
+
* // BS: [
|
|
159
|
+
* // "BLOB_VALUE",
|
|
160
|
+
* // ],
|
|
161
|
+
* // M: {
|
|
162
|
+
* // "<keys>": "<AttributeValue>",
|
|
163
|
+
* // },
|
|
164
|
+
* // L: [ // ListAttributeValue
|
|
165
|
+
* // "<AttributeValue>",
|
|
166
|
+
* // ],
|
|
167
|
+
* // NULL: true || false,
|
|
168
|
+
* // BOOL: true || false,
|
|
169
|
+
* // },
|
|
170
|
+
* // },
|
|
171
|
+
* // L: [
|
|
172
|
+
* // "<AttributeValue>",
|
|
173
|
+
* // ],
|
|
174
|
+
* // NULL: true || false,
|
|
175
|
+
* // BOOL: true || false,
|
|
176
|
+
* // },
|
|
177
|
+
* // },
|
|
178
|
+
* // ],
|
|
179
|
+
* // Count: Number("int"),
|
|
180
|
+
* // ScannedCount: Number("int"),
|
|
181
|
+
* // LastEvaluatedKey: { // Key
|
|
182
|
+
* // "<keys>": "<AttributeValue>",
|
|
183
|
+
* // },
|
|
184
|
+
* // ConsumedCapacity: { // ConsumedCapacity
|
|
185
|
+
* // TableName: "STRING_VALUE",
|
|
186
|
+
* // CapacityUnits: Number("double"),
|
|
187
|
+
* // ReadCapacityUnits: Number("double"),
|
|
188
|
+
* // WriteCapacityUnits: Number("double"),
|
|
189
|
+
* // Table: { // Capacity
|
|
190
|
+
* // ReadCapacityUnits: Number("double"),
|
|
191
|
+
* // WriteCapacityUnits: Number("double"),
|
|
192
|
+
* // CapacityUnits: Number("double"),
|
|
193
|
+
* // },
|
|
194
|
+
* // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap
|
|
195
|
+
* // "<keys>": {
|
|
196
|
+
* // ReadCapacityUnits: Number("double"),
|
|
197
|
+
* // WriteCapacityUnits: Number("double"),
|
|
198
|
+
* // CapacityUnits: Number("double"),
|
|
199
|
+
* // },
|
|
200
|
+
* // },
|
|
201
|
+
* // GlobalSecondaryIndexes: {
|
|
202
|
+
* // "<keys>": {
|
|
203
|
+
* // ReadCapacityUnits: Number("double"),
|
|
204
|
+
* // WriteCapacityUnits: Number("double"),
|
|
205
|
+
* // CapacityUnits: Number("double"),
|
|
206
|
+
* // },
|
|
207
|
+
* // },
|
|
208
|
+
* // },
|
|
209
|
+
* // };
|
|
210
|
+
*
|
|
131
211
|
* ```
|
|
132
212
|
*
|
|
133
213
|
* @param ScanCommandInput - {@link ScanCommandInput}
|
|
@@ -156,6 +236,8 @@ export interface ScanCommandOutput extends ScanOutput, __MetadataBearer {
|
|
|
156
236
|
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
157
237
|
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
158
238
|
*
|
|
239
|
+
* @throws {@link DynamoDBServiceException}
|
|
240
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
159
241
|
*
|
|
160
242
|
* @example To scan a table
|
|
161
243
|
* ```javascript
|
|
@@ -42,6 +42,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new TagResourceCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
45
47
|
* ```
|
|
46
48
|
*
|
|
47
49
|
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
@@ -77,6 +79,8 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
|
77
79
|
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
78
80
|
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
79
81
|
*
|
|
82
|
+
* @throws {@link DynamoDBServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
80
84
|
*
|
|
81
85
|
*/
|
|
82
86
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, DynamoDBClientResolvedConfig> {
|
|
@@ -113,6 +113,85 @@ export interface TransactGetItemsCommandOutput extends TransactGetItemsOutput, _
|
|
|
113
113
|
* };
|
|
114
114
|
* const command = new TransactGetItemsCommand(input);
|
|
115
115
|
* const response = await client.send(command);
|
|
116
|
+
* // { // TransactGetItemsOutput
|
|
117
|
+
* // ConsumedCapacity: [ // ConsumedCapacityMultiple
|
|
118
|
+
* // { // ConsumedCapacity
|
|
119
|
+
* // TableName: "STRING_VALUE",
|
|
120
|
+
* // CapacityUnits: Number("double"),
|
|
121
|
+
* // ReadCapacityUnits: Number("double"),
|
|
122
|
+
* // WriteCapacityUnits: Number("double"),
|
|
123
|
+
* // Table: { // Capacity
|
|
124
|
+
* // ReadCapacityUnits: Number("double"),
|
|
125
|
+
* // WriteCapacityUnits: Number("double"),
|
|
126
|
+
* // CapacityUnits: Number("double"),
|
|
127
|
+
* // },
|
|
128
|
+
* // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap
|
|
129
|
+
* // "<keys>": {
|
|
130
|
+
* // ReadCapacityUnits: Number("double"),
|
|
131
|
+
* // WriteCapacityUnits: Number("double"),
|
|
132
|
+
* // CapacityUnits: Number("double"),
|
|
133
|
+
* // },
|
|
134
|
+
* // },
|
|
135
|
+
* // GlobalSecondaryIndexes: {
|
|
136
|
+
* // "<keys>": {
|
|
137
|
+
* // ReadCapacityUnits: Number("double"),
|
|
138
|
+
* // WriteCapacityUnits: Number("double"),
|
|
139
|
+
* // CapacityUnits: Number("double"),
|
|
140
|
+
* // },
|
|
141
|
+
* // },
|
|
142
|
+
* // },
|
|
143
|
+
* // ],
|
|
144
|
+
* // Responses: [ // ItemResponseList
|
|
145
|
+
* // { // ItemResponse
|
|
146
|
+
* // Item: { // AttributeMap
|
|
147
|
+
* // "<keys>": { // AttributeValue Union: only one key present
|
|
148
|
+
* // S: "STRING_VALUE",
|
|
149
|
+
* // N: "STRING_VALUE",
|
|
150
|
+
* // B: "BLOB_VALUE",
|
|
151
|
+
* // SS: [ // StringSetAttributeValue
|
|
152
|
+
* // "STRING_VALUE",
|
|
153
|
+
* // ],
|
|
154
|
+
* // NS: [ // NumberSetAttributeValue
|
|
155
|
+
* // "STRING_VALUE",
|
|
156
|
+
* // ],
|
|
157
|
+
* // BS: [ // BinarySetAttributeValue
|
|
158
|
+
* // "BLOB_VALUE",
|
|
159
|
+
* // ],
|
|
160
|
+
* // M: { // MapAttributeValue
|
|
161
|
+
* // "<keys>": {// Union: only one key present
|
|
162
|
+
* // S: "STRING_VALUE",
|
|
163
|
+
* // N: "STRING_VALUE",
|
|
164
|
+
* // B: "BLOB_VALUE",
|
|
165
|
+
* // SS: [
|
|
166
|
+
* // "STRING_VALUE",
|
|
167
|
+
* // ],
|
|
168
|
+
* // NS: [
|
|
169
|
+
* // "STRING_VALUE",
|
|
170
|
+
* // ],
|
|
171
|
+
* // BS: [
|
|
172
|
+
* // "BLOB_VALUE",
|
|
173
|
+
* // ],
|
|
174
|
+
* // M: {
|
|
175
|
+
* // "<keys>": "<AttributeValue>",
|
|
176
|
+
* // },
|
|
177
|
+
* // L: [ // ListAttributeValue
|
|
178
|
+
* // "<AttributeValue>",
|
|
179
|
+
* // ],
|
|
180
|
+
* // NULL: true || false,
|
|
181
|
+
* // BOOL: true || false,
|
|
182
|
+
* // },
|
|
183
|
+
* // },
|
|
184
|
+
* // L: [
|
|
185
|
+
* // "<AttributeValue>",
|
|
186
|
+
* // ],
|
|
187
|
+
* // NULL: true || false,
|
|
188
|
+
* // BOOL: true || false,
|
|
189
|
+
* // },
|
|
190
|
+
* // },
|
|
191
|
+
* // },
|
|
192
|
+
* // ],
|
|
193
|
+
* // };
|
|
194
|
+
*
|
|
116
195
|
* ```
|
|
117
196
|
*
|
|
118
197
|
* @param TransactGetItemsCommandInput - {@link TransactGetItemsCommandInput}
|
|
@@ -374,6 +453,8 @@ export interface TransactGetItemsCommandOutput extends TransactGetItemsOutput, _
|
|
|
374
453
|
* </li>
|
|
375
454
|
* </ul>
|
|
376
455
|
*
|
|
456
|
+
* @throws {@link DynamoDBServiceException}
|
|
457
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
377
458
|
*
|
|
378
459
|
*/
|
|
379
460
|
export declare class TransactGetItemsCommand extends $Command<TransactGetItemsCommandInput, TransactGetItemsCommandOutput, DynamoDBClientResolvedConfig> {
|
|
@@ -208,6 +208,90 @@ export interface TransactWriteItemsCommandOutput extends TransactWriteItemsOutpu
|
|
|
208
208
|
* };
|
|
209
209
|
* const command = new TransactWriteItemsCommand(input);
|
|
210
210
|
* const response = await client.send(command);
|
|
211
|
+
* // { // TransactWriteItemsOutput
|
|
212
|
+
* // ConsumedCapacity: [ // ConsumedCapacityMultiple
|
|
213
|
+
* // { // ConsumedCapacity
|
|
214
|
+
* // TableName: "STRING_VALUE",
|
|
215
|
+
* // CapacityUnits: Number("double"),
|
|
216
|
+
* // ReadCapacityUnits: Number("double"),
|
|
217
|
+
* // WriteCapacityUnits: Number("double"),
|
|
218
|
+
* // Table: { // Capacity
|
|
219
|
+
* // ReadCapacityUnits: Number("double"),
|
|
220
|
+
* // WriteCapacityUnits: Number("double"),
|
|
221
|
+
* // CapacityUnits: Number("double"),
|
|
222
|
+
* // },
|
|
223
|
+
* // LocalSecondaryIndexes: { // SecondaryIndexesCapacityMap
|
|
224
|
+
* // "<keys>": {
|
|
225
|
+
* // ReadCapacityUnits: Number("double"),
|
|
226
|
+
* // WriteCapacityUnits: Number("double"),
|
|
227
|
+
* // CapacityUnits: Number("double"),
|
|
228
|
+
* // },
|
|
229
|
+
* // },
|
|
230
|
+
* // GlobalSecondaryIndexes: {
|
|
231
|
+
* // "<keys>": {
|
|
232
|
+
* // ReadCapacityUnits: Number("double"),
|
|
233
|
+
* // WriteCapacityUnits: Number("double"),
|
|
234
|
+
* // CapacityUnits: Number("double"),
|
|
235
|
+
* // },
|
|
236
|
+
* // },
|
|
237
|
+
* // },
|
|
238
|
+
* // ],
|
|
239
|
+
* // ItemCollectionMetrics: { // ItemCollectionMetricsPerTable
|
|
240
|
+
* // "<keys>": [ // ItemCollectionMetricsMultiple
|
|
241
|
+
* // { // ItemCollectionMetrics
|
|
242
|
+
* // ItemCollectionKey: { // ItemCollectionKeyAttributeMap
|
|
243
|
+
* // "<keys>": { // AttributeValue Union: only one key present
|
|
244
|
+
* // S: "STRING_VALUE",
|
|
245
|
+
* // N: "STRING_VALUE",
|
|
246
|
+
* // B: "BLOB_VALUE",
|
|
247
|
+
* // SS: [ // StringSetAttributeValue
|
|
248
|
+
* // "STRING_VALUE",
|
|
249
|
+
* // ],
|
|
250
|
+
* // NS: [ // NumberSetAttributeValue
|
|
251
|
+
* // "STRING_VALUE",
|
|
252
|
+
* // ],
|
|
253
|
+
* // BS: [ // BinarySetAttributeValue
|
|
254
|
+
* // "BLOB_VALUE",
|
|
255
|
+
* // ],
|
|
256
|
+
* // M: { // MapAttributeValue
|
|
257
|
+
* // "<keys>": {// Union: only one key present
|
|
258
|
+
* // S: "STRING_VALUE",
|
|
259
|
+
* // N: "STRING_VALUE",
|
|
260
|
+
* // B: "BLOB_VALUE",
|
|
261
|
+
* // SS: [
|
|
262
|
+
* // "STRING_VALUE",
|
|
263
|
+
* // ],
|
|
264
|
+
* // NS: [
|
|
265
|
+
* // "STRING_VALUE",
|
|
266
|
+
* // ],
|
|
267
|
+
* // BS: [
|
|
268
|
+
* // "BLOB_VALUE",
|
|
269
|
+
* // ],
|
|
270
|
+
* // M: {
|
|
271
|
+
* // "<keys>": "<AttributeValue>",
|
|
272
|
+
* // },
|
|
273
|
+
* // L: [ // ListAttributeValue
|
|
274
|
+
* // "<AttributeValue>",
|
|
275
|
+
* // ],
|
|
276
|
+
* // NULL: true || false,
|
|
277
|
+
* // BOOL: true || false,
|
|
278
|
+
* // },
|
|
279
|
+
* // },
|
|
280
|
+
* // L: [
|
|
281
|
+
* // "<AttributeValue>",
|
|
282
|
+
* // ],
|
|
283
|
+
* // NULL: true || false,
|
|
284
|
+
* // BOOL: true || false,
|
|
285
|
+
* // },
|
|
286
|
+
* // },
|
|
287
|
+
* // SizeEstimateRangeGB: [ // ItemCollectionSizeEstimateRange
|
|
288
|
+
* // Number("double"),
|
|
289
|
+
* // ],
|
|
290
|
+
* // },
|
|
291
|
+
* // ],
|
|
292
|
+
* // },
|
|
293
|
+
* // };
|
|
294
|
+
*
|
|
211
295
|
* ```
|
|
212
296
|
*
|
|
213
297
|
* @param TransactWriteItemsCommandInput - {@link TransactWriteItemsCommandInput}
|
|
@@ -538,6 +622,8 @@ export interface TransactWriteItemsCommandOutput extends TransactWriteItemsOutpu
|
|
|
538
622
|
* </li>
|
|
539
623
|
* </ul>
|
|
540
624
|
*
|
|
625
|
+
* @throws {@link DynamoDBServiceException}
|
|
626
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
541
627
|
*
|
|
542
628
|
*/
|
|
543
629
|
export declare class TransactWriteItemsCommand extends $Command<TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput, DynamoDBClientResolvedConfig> {
|
|
@@ -37,6 +37,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
37
37
|
* };
|
|
38
38
|
* const command = new UntagResourceCommand(input);
|
|
39
39
|
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
40
42
|
* ```
|
|
41
43
|
*
|
|
42
44
|
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
@@ -72,6 +74,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
|
72
74
|
* <p>The operation tried to access a nonexistent table or index. The resource might not
|
|
73
75
|
* be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
74
76
|
*
|
|
77
|
+
* @throws {@link DynamoDBServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
75
79
|
*
|
|
76
80
|
*/
|
|
77
81
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, DynamoDBClientResolvedConfig> {
|
|
@@ -45,6 +45,17 @@ export interface UpdateContinuousBackupsCommandOutput extends UpdateContinuousBa
|
|
|
45
45
|
* };
|
|
46
46
|
* const command = new UpdateContinuousBackupsCommand(input);
|
|
47
47
|
* const response = await client.send(command);
|
|
48
|
+
* // { // UpdateContinuousBackupsOutput
|
|
49
|
+
* // ContinuousBackupsDescription: { // ContinuousBackupsDescription
|
|
50
|
+
* // ContinuousBackupsStatus: "ENABLED" || "DISABLED", // required
|
|
51
|
+
* // PointInTimeRecoveryDescription: { // PointInTimeRecoveryDescription
|
|
52
|
+
* // PointInTimeRecoveryStatus: "ENABLED" || "DISABLED",
|
|
53
|
+
* // EarliestRestorableDateTime: new Date("TIMESTAMP"),
|
|
54
|
+
* // LatestRestorableDateTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // },
|
|
56
|
+
* // },
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
48
59
|
* ```
|
|
49
60
|
*
|
|
50
61
|
* @param UpdateContinuousBackupsCommandInput - {@link UpdateContinuousBackupsCommandInput}
|
|
@@ -65,6 +76,8 @@ export interface UpdateContinuousBackupsCommandOutput extends UpdateContinuousBa
|
|
|
65
76
|
* <p>A source table with the name <code>TableName</code> does not currently exist within
|
|
66
77
|
* the subscriber's account or the subscriber is operating in the wrong Amazon Web Services Region.</p>
|
|
67
78
|
*
|
|
79
|
+
* @throws {@link DynamoDBServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from DynamoDB service.</p>
|
|
68
81
|
*
|
|
69
82
|
*/
|
|
70
83
|
export declare class UpdateContinuousBackupsCommand extends $Command<UpdateContinuousBackupsCommandInput, UpdateContinuousBackupsCommandOutput, DynamoDBClientResolvedConfig> {
|