@aws-sdk/client-dynamodb 3.1161.0 → 3.1162.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/README.md +28 -0
- package/dist-cjs/index.js +367 -93
- package/dist-es/DynamoDB.js +12 -0
- package/dist-es/commandBuilder.js +14 -11
- package/dist-es/commands/CancelBulkOperationCommand.js +4 -0
- package/dist-es/commands/CreateBackupCommand.js +2 -2
- package/dist-es/commands/CreateGlobalTableCommand.js +2 -2
- package/dist-es/commands/CreateTableCommand.js +2 -2
- package/dist-es/commands/DeleteBackupCommand.js +2 -2
- package/dist-es/commands/DeleteItemCommand.js +2 -2
- package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
- package/dist-es/commands/DeleteTableCommand.js +2 -2
- package/dist-es/commands/DescribeBackupCommand.js +2 -2
- package/dist-es/commands/DescribeBulkOperationCommand.js +4 -0
- package/dist-es/commands/DescribeContinuousBackupsCommand.js +2 -2
- package/dist-es/commands/DescribeContributorInsightsCommand.js +2 -2
- package/dist-es/commands/DescribeExportCommand.js +2 -2
- package/dist-es/commands/DescribeGlobalTableCommand.js +2 -2
- package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +2 -2
- package/dist-es/commands/DescribeImportCommand.js +2 -2
- package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +2 -2
- package/dist-es/commands/DescribeTableCommand.js +2 -2
- package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +2 -2
- package/dist-es/commands/DescribeTimeToLiveCommand.js +2 -2
- package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +2 -2
- package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +2 -2
- package/dist-es/commands/ExportTableToPointInTimeCommand.js +2 -2
- package/dist-es/commands/GetItemCommand.js +2 -2
- package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
- package/dist-es/commands/ImportTableCommand.js +2 -2
- package/dist-es/commands/ListBackupsCommand.js +2 -2
- package/dist-es/commands/ListBulkOperationsCommand.js +4 -0
- package/dist-es/commands/ListContributorInsightsCommand.js +2 -2
- package/dist-es/commands/ListExportsCommand.js +2 -2
- package/dist-es/commands/ListImportsCommand.js +2 -2
- package/dist-es/commands/ListTagsOfResourceCommand.js +2 -2
- package/dist-es/commands/PutItemCommand.js +2 -2
- package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
- package/dist-es/commands/QueryCommand.js +2 -2
- package/dist-es/commands/RestoreTableFromBackupCommand.js +2 -2
- package/dist-es/commands/RestoreTableToPointInTimeCommand.js +2 -2
- package/dist-es/commands/ScanCommand.js +2 -2
- package/dist-es/commands/SearchVectorsCommand.js +2 -2
- package/dist-es/commands/StartBulkPutItemsCommand.js +4 -0
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/TransactGetItemsCommand.js +2 -2
- package/dist-es/commands/TransactWriteItemsCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateContinuousBackupsCommand.js +2 -2
- package/dist-es/commands/UpdateContributorInsightsCommand.js +2 -2
- package/dist-es/commands/UpdateGlobalTableCommand.js +2 -2
- package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +2 -2
- package/dist-es/commands/UpdateItemCommand.js +2 -2
- package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +2 -2
- package/dist-es/commands/UpdateTableCommand.js +2 -2
- package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +2 -2
- package/dist-es/commands/UpdateTimeToLiveCommand.js +2 -2
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/models/enums.js +29 -9
- package/dist-es/pagination/ListBulkOperationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/schemas/schemas_0.js +164 -21
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForBulkOperationCompleted.js +58 -0
- package/dist-types/DynamoDB.d.ts +42 -0
- package/dist-types/DynamoDBClient.d.ts +6 -2
- package/dist-types/commandBuilder.d.ts +4 -0
- package/dist-types/commands/CancelBulkOperationCommand.d.ts +80 -0
- package/dist-types/commands/DescribeBulkOperationCommand.d.ts +138 -0
- package/dist-types/commands/ListBulkOperationsCommand.d.ts +84 -0
- package/dist-types/commands/StartBulkPutItemsCommand.d.ts +199 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +77 -25
- package/dist-types/models/models_0.d.ts +505 -5
- package/dist-types/pagination/ListBulkOperationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +20 -0
- package/dist-types/ts3.4/DynamoDB.d.ts +82 -0
- package/dist-types/ts3.4/DynamoDBClient.d.ts +24 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +1 -0
- package/dist-types/ts3.4/commands/CancelBulkOperationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeBulkOperationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListBulkOperationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StartBulkPutItemsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +37 -11
- package/dist-types/ts3.4/models/models_0.d.ts +94 -0
- package/dist-types/ts3.4/pagination/ListBulkOperationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForBulkOperationCompleted.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForBulkOperationCompleted.d.ts +15 -0
- package/package.json +4 -4
|
@@ -64,6 +64,14 @@ export declare var BatchStatementResponse$: StaticStructureSchema;
|
|
|
64
64
|
export declare var BatchWriteItemInput$: StaticStructureSchema;
|
|
65
65
|
export declare var BatchWriteItemOutput$: StaticStructureSchema;
|
|
66
66
|
export declare var BillingModeSummary$: StaticStructureSchema;
|
|
67
|
+
export declare var BulkOperationBytes$: StaticStructureSchema;
|
|
68
|
+
export declare var BulkOperationDescription$: StaticStructureSchema;
|
|
69
|
+
export declare var BulkOperationSummary$: StaticStructureSchema;
|
|
70
|
+
export declare var BulkOperationTableDetail$: StaticStructureSchema;
|
|
71
|
+
export declare var BulkOperationUsage$: StaticStructureSchema;
|
|
72
|
+
export declare var BulkOperationVectorBytes$: StaticStructureSchema;
|
|
73
|
+
export declare var CancelBulkOperationInput$: StaticStructureSchema;
|
|
74
|
+
export declare var CancelBulkOperationOutput$: StaticStructureSchema;
|
|
67
75
|
export declare var CancellationReason$: StaticStructureSchema;
|
|
68
76
|
export declare var Capacity$: StaticStructureSchema;
|
|
69
77
|
export declare var Condition$: StaticStructureSchema;
|
|
@@ -100,6 +108,8 @@ export declare var DeleteTableOutput$: StaticStructureSchema;
|
|
|
100
108
|
export declare var DeleteVectorIndexAction$: StaticStructureSchema;
|
|
101
109
|
export declare var DescribeBackupInput$: StaticStructureSchema;
|
|
102
110
|
export declare var DescribeBackupOutput$: StaticStructureSchema;
|
|
111
|
+
export declare var DescribeBulkOperationInput$: StaticStructureSchema;
|
|
112
|
+
export declare var DescribeBulkOperationOutput$: StaticStructureSchema;
|
|
103
113
|
export declare var DescribeContinuousBackupsInput$: StaticStructureSchema;
|
|
104
114
|
export declare var DescribeContinuousBackupsOutput$: StaticStructureSchema;
|
|
105
115
|
export declare var DescribeContributorInsightsInput$: StaticStructureSchema;
|
|
@@ -160,6 +170,7 @@ export declare var ImportTableInput$: StaticStructureSchema;
|
|
|
160
170
|
export declare var ImportTableOutput$: StaticStructureSchema;
|
|
161
171
|
export declare var IncrementalExportSpecification$: StaticStructureSchema;
|
|
162
172
|
export declare var InputFormatOptions$: StaticStructureSchema;
|
|
173
|
+
export declare var InputS3Configuration$: StaticStructureSchema;
|
|
163
174
|
export declare var ItemCollectionMetrics$: StaticStructureSchema;
|
|
164
175
|
export declare var ItemResponse$: StaticStructureSchema;
|
|
165
176
|
export declare var KeysAndAttributes$: StaticStructureSchema;
|
|
@@ -169,6 +180,8 @@ export declare var KinesisStreamingDestinationInput$: StaticStructureSchema;
|
|
|
169
180
|
export declare var KinesisStreamingDestinationOutput$: StaticStructureSchema;
|
|
170
181
|
export declare var ListBackupsInput$: StaticStructureSchema;
|
|
171
182
|
export declare var ListBackupsOutput$: StaticStructureSchema;
|
|
183
|
+
export declare var ListBulkOperationsInput$: StaticStructureSchema;
|
|
184
|
+
export declare var ListBulkOperationsOutput$: StaticStructureSchema;
|
|
172
185
|
export declare var ListContributorInsightsInput$: StaticStructureSchema;
|
|
173
186
|
export declare var ListContributorInsightsOutput$: StaticStructureSchema;
|
|
174
187
|
export declare var ListExportsInput$: StaticStructureSchema;
|
|
@@ -186,6 +199,7 @@ export declare var LocalSecondaryIndexDescription$: StaticStructureSchema;
|
|
|
186
199
|
export declare var LocalSecondaryIndexInfo$: StaticStructureSchema;
|
|
187
200
|
export declare var OnDemandThroughput$: StaticStructureSchema;
|
|
188
201
|
export declare var OnDemandThroughputOverride$: StaticStructureSchema;
|
|
202
|
+
export declare var OutputS3Configuration$: StaticStructureSchema;
|
|
189
203
|
export declare var ParameterizedStatement$: StaticStructureSchema;
|
|
190
204
|
export declare var PointInTimeRecoveryDescription$: StaticStructureSchema;
|
|
191
205
|
export declare var PointInTimeRecoverySpecification$: StaticStructureSchema;
|
|
@@ -231,6 +245,8 @@ export declare var SourceTableDetails$: StaticStructureSchema;
|
|
|
231
245
|
export declare var SourceTableFeatureDetails$: StaticStructureSchema;
|
|
232
246
|
export declare var SSEDescription$: StaticStructureSchema;
|
|
233
247
|
export declare var SSESpecification$: StaticStructureSchema;
|
|
248
|
+
export declare var StartBulkPutItemsInput$: StaticStructureSchema;
|
|
249
|
+
export declare var StartBulkPutItemsOutput$: StaticStructureSchema;
|
|
234
250
|
export declare var StreamSpecification$: StaticStructureSchema;
|
|
235
251
|
export declare var TableAutoScalingDescription$: StaticStructureSchema;
|
|
236
252
|
export declare var TableClassSummary$: StaticStructureSchema;
|
|
@@ -283,6 +299,7 @@ export declare var AttributeValue$: StaticUnionSchema;
|
|
|
283
299
|
export declare var BatchExecuteStatement$: StaticOperationSchema;
|
|
284
300
|
export declare var BatchGetItem$: StaticOperationSchema;
|
|
285
301
|
export declare var BatchWriteItem$: StaticOperationSchema;
|
|
302
|
+
export declare var CancelBulkOperation$: StaticOperationSchema;
|
|
286
303
|
export declare var CreateBackup$: StaticOperationSchema;
|
|
287
304
|
export declare var CreateGlobalTable$: StaticOperationSchema;
|
|
288
305
|
export declare var CreateTable$: StaticOperationSchema;
|
|
@@ -291,6 +308,7 @@ export declare var DeleteItem$: StaticOperationSchema;
|
|
|
291
308
|
export declare var DeleteResourcePolicy$: StaticOperationSchema;
|
|
292
309
|
export declare var DeleteTable$: StaticOperationSchema;
|
|
293
310
|
export declare var DescribeBackup$: StaticOperationSchema;
|
|
311
|
+
export declare var DescribeBulkOperation$: StaticOperationSchema;
|
|
294
312
|
export declare var DescribeContinuousBackups$: StaticOperationSchema;
|
|
295
313
|
export declare var DescribeContributorInsights$: StaticOperationSchema;
|
|
296
314
|
export declare var DescribeEndpoints$: StaticOperationSchema;
|
|
@@ -312,6 +330,7 @@ export declare var GetItem$: StaticOperationSchema;
|
|
|
312
330
|
export declare var GetResourcePolicy$: StaticOperationSchema;
|
|
313
331
|
export declare var ImportTable$: StaticOperationSchema;
|
|
314
332
|
export declare var ListBackups$: StaticOperationSchema;
|
|
333
|
+
export declare var ListBulkOperations$: StaticOperationSchema;
|
|
315
334
|
export declare var ListContributorInsights$: StaticOperationSchema;
|
|
316
335
|
export declare var ListExports$: StaticOperationSchema;
|
|
317
336
|
export declare var ListGlobalTables$: StaticOperationSchema;
|
|
@@ -325,6 +344,7 @@ export declare var RestoreTableFromBackup$: StaticOperationSchema;
|
|
|
325
344
|
export declare var RestoreTableToPointInTime$: StaticOperationSchema;
|
|
326
345
|
export declare var Scan$: StaticOperationSchema;
|
|
327
346
|
export declare var SearchVectors$: StaticOperationSchema;
|
|
347
|
+
export declare var StartBulkPutItems$: StaticOperationSchema;
|
|
328
348
|
export declare var TagResource$: StaticOperationSchema;
|
|
329
349
|
export declare var TransactGetItems$: StaticOperationSchema;
|
|
330
350
|
export declare var TransactWriteItems$: StaticOperationSchema;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import {
|
|
3
|
+
DescribeBulkOperationCommandInput,
|
|
4
|
+
DescribeBulkOperationCommandOutput,
|
|
5
|
+
} from "../commands/DescribeBulkOperationCommand";
|
|
6
|
+
import { DynamoDBClient } from "../DynamoDBClient";
|
|
7
|
+
import { DynamoDBServiceException } from "../models/DynamoDBServiceException";
|
|
8
|
+
export declare const waitForBulkOperationCompleted: (
|
|
9
|
+
params: WaiterConfiguration<DynamoDBClient>,
|
|
10
|
+
input: DescribeBulkOperationCommandInput,
|
|
11
|
+
) => Promise<WaiterResult<DescribeBulkOperationCommandOutput | DynamoDBServiceException>>;
|
|
12
|
+
export declare const waitUntilBulkOperationCompleted: (
|
|
13
|
+
params: WaiterConfiguration<DynamoDBClient>,
|
|
14
|
+
input: DescribeBulkOperationCommandInput,
|
|
15
|
+
) => Promise<WaiterResult<DescribeBulkOperationCommandOutput>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import { type DescribeBulkOperationCommandInput, type DescribeBulkOperationCommandOutput } from "../commands/DescribeBulkOperationCommand";
|
|
3
|
+
import type { DynamoDBClient } from "../DynamoDBClient";
|
|
4
|
+
import type { DynamoDBServiceException } from "../models/DynamoDBServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* Wait until a bulk operation is completed.
|
|
7
|
+
* @deprecated Use waitUntilBulkOperationCompleted instead. waitForBulkOperationCompleted does not throw error in non-success cases.
|
|
8
|
+
*/
|
|
9
|
+
export declare const waitForBulkOperationCompleted: (params: WaiterConfiguration<DynamoDBClient>, input: DescribeBulkOperationCommandInput) => Promise<WaiterResult<DescribeBulkOperationCommandOutput | DynamoDBServiceException>>;
|
|
10
|
+
/**
|
|
11
|
+
* Wait until a bulk operation is completed.
|
|
12
|
+
* @param params - Waiter configuration options.
|
|
13
|
+
* @param input - The input to DescribeBulkOperationCommand for polling.
|
|
14
|
+
*/
|
|
15
|
+
export declare const waitUntilBulkOperationCompleted: (params: WaiterConfiguration<DynamoDBClient>, input: DescribeBulkOperationCommandInput) => Promise<WaiterResult<DescribeBulkOperationCommandOutput>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1162.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dynamodb",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@aws-sdk/core": "^3.
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
57
|
-
"@aws-sdk/dynamodb-codec": "^3.973.
|
|
55
|
+
"@aws-sdk/core": "^3.980.0",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.93",
|
|
57
|
+
"@aws-sdk/dynamodb-codec": "^3.973.55",
|
|
58
58
|
"@aws-sdk/middleware-endpoint-discovery": "^3.972.37",
|
|
59
59
|
"@aws-sdk/types": "^3.975.0",
|
|
60
60
|
"@smithy/core": "^3.38.0",
|