@aws-sdk/client-dynamodb 3.1160.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.
Files changed (99) hide show
  1. package/README.md +28 -0
  2. package/dist-cjs/index.js +367 -93
  3. package/dist-es/DynamoDB.js +12 -0
  4. package/dist-es/commandBuilder.js +14 -11
  5. package/dist-es/commands/CancelBulkOperationCommand.js +4 -0
  6. package/dist-es/commands/CreateBackupCommand.js +2 -2
  7. package/dist-es/commands/CreateGlobalTableCommand.js +2 -2
  8. package/dist-es/commands/CreateTableCommand.js +2 -2
  9. package/dist-es/commands/DeleteBackupCommand.js +2 -2
  10. package/dist-es/commands/DeleteItemCommand.js +2 -2
  11. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  12. package/dist-es/commands/DeleteTableCommand.js +2 -2
  13. package/dist-es/commands/DescribeBackupCommand.js +2 -2
  14. package/dist-es/commands/DescribeBulkOperationCommand.js +4 -0
  15. package/dist-es/commands/DescribeContinuousBackupsCommand.js +2 -2
  16. package/dist-es/commands/DescribeContributorInsightsCommand.js +2 -2
  17. package/dist-es/commands/DescribeExportCommand.js +2 -2
  18. package/dist-es/commands/DescribeGlobalTableCommand.js +2 -2
  19. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +2 -2
  20. package/dist-es/commands/DescribeImportCommand.js +2 -2
  21. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +2 -2
  22. package/dist-es/commands/DescribeTableCommand.js +2 -2
  23. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +2 -2
  24. package/dist-es/commands/DescribeTimeToLiveCommand.js +2 -2
  25. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +2 -2
  26. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +2 -2
  27. package/dist-es/commands/ExportTableToPointInTimeCommand.js +2 -2
  28. package/dist-es/commands/GetItemCommand.js +2 -2
  29. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  30. package/dist-es/commands/ImportTableCommand.js +2 -2
  31. package/dist-es/commands/ListBackupsCommand.js +2 -2
  32. package/dist-es/commands/ListBulkOperationsCommand.js +4 -0
  33. package/dist-es/commands/ListContributorInsightsCommand.js +2 -2
  34. package/dist-es/commands/ListExportsCommand.js +2 -2
  35. package/dist-es/commands/ListImportsCommand.js +2 -2
  36. package/dist-es/commands/ListTagsOfResourceCommand.js +2 -2
  37. package/dist-es/commands/PutItemCommand.js +2 -2
  38. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  39. package/dist-es/commands/QueryCommand.js +2 -2
  40. package/dist-es/commands/RestoreTableFromBackupCommand.js +2 -2
  41. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +2 -2
  42. package/dist-es/commands/ScanCommand.js +2 -2
  43. package/dist-es/commands/SearchVectorsCommand.js +2 -2
  44. package/dist-es/commands/StartBulkPutItemsCommand.js +4 -0
  45. package/dist-es/commands/TagResourceCommand.js +2 -2
  46. package/dist-es/commands/TransactGetItemsCommand.js +2 -2
  47. package/dist-es/commands/TransactWriteItemsCommand.js +2 -2
  48. package/dist-es/commands/UntagResourceCommand.js +2 -2
  49. package/dist-es/commands/UpdateContinuousBackupsCommand.js +2 -2
  50. package/dist-es/commands/UpdateContributorInsightsCommand.js +2 -2
  51. package/dist-es/commands/UpdateGlobalTableCommand.js +2 -2
  52. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +2 -2
  53. package/dist-es/commands/UpdateItemCommand.js +2 -2
  54. package/dist-es/commands/UpdateKinesisStreamingDestinationCommand.js +2 -2
  55. package/dist-es/commands/UpdateTableCommand.js +2 -2
  56. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +2 -2
  57. package/dist-es/commands/UpdateTimeToLiveCommand.js +2 -2
  58. package/dist-es/commands/index.js +4 -0
  59. package/dist-es/endpoint/bdd.js +1 -1
  60. package/dist-es/models/enums.js +29 -9
  61. package/dist-es/pagination/ListBulkOperationsPaginator.js +4 -0
  62. package/dist-es/pagination/index.js +1 -0
  63. package/dist-es/runtimeConfig.js +2 -1
  64. package/dist-es/schemas/schemas_0.js +164 -21
  65. package/dist-es/waiters/index.js +1 -0
  66. package/dist-es/waiters/waitForBulkOperationCompleted.js +58 -0
  67. package/dist-types/DynamoDB.d.ts +42 -0
  68. package/dist-types/DynamoDBClient.d.ts +6 -2
  69. package/dist-types/commandBuilder.d.ts +4 -0
  70. package/dist-types/commands/CancelBulkOperationCommand.d.ts +80 -0
  71. package/dist-types/commands/DescribeBulkOperationCommand.d.ts +138 -0
  72. package/dist-types/commands/ListBulkOperationsCommand.d.ts +84 -0
  73. package/dist-types/commands/StartBulkPutItemsCommand.d.ts +199 -0
  74. package/dist-types/commands/index.d.ts +4 -0
  75. package/dist-types/models/enums.d.ts +77 -25
  76. package/dist-types/models/models_0.d.ts +505 -5
  77. package/dist-types/pagination/ListBulkOperationsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/index.d.ts +1 -0
  79. package/dist-types/runtimeConfig.d.ts +1 -0
  80. package/dist-types/schemas/schemas_0.d.ts +20 -0
  81. package/dist-types/ts3.4/DynamoDB.d.ts +82 -0
  82. package/dist-types/ts3.4/DynamoDBClient.d.ts +24 -0
  83. package/dist-types/ts3.4/commandBuilder.d.ts +1 -0
  84. package/dist-types/ts3.4/commands/CancelBulkOperationCommand.d.ts +39 -0
  85. package/dist-types/ts3.4/commands/DescribeBulkOperationCommand.d.ts +39 -0
  86. package/dist-types/ts3.4/commands/ListBulkOperationsCommand.d.ts +39 -0
  87. package/dist-types/ts3.4/commands/StartBulkPutItemsCommand.d.ts +38 -0
  88. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  89. package/dist-types/ts3.4/models/enums.d.ts +37 -11
  90. package/dist-types/ts3.4/models/models_0.d.ts +94 -0
  91. package/dist-types/ts3.4/pagination/ListBulkOperationsPaginator.d.ts +11 -0
  92. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  93. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
  94. package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
  95. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  96. package/dist-types/ts3.4/waiters/waitForBulkOperationCompleted.d.ts +15 -0
  97. package/dist-types/waiters/index.d.ts +1 -0
  98. package/dist-types/waiters/waitForBulkOperationCompleted.d.ts +15 -0
  99. package/package.json +7 -7
@@ -1,6 +1,7 @@
1
1
  export * from "./BatchExecuteStatementCommand";
2
2
  export * from "./BatchGetItemCommand";
3
3
  export * from "./BatchWriteItemCommand";
4
+ export * from "./CancelBulkOperationCommand";
4
5
  export * from "./CreateBackupCommand";
5
6
  export * from "./CreateGlobalTableCommand";
6
7
  export * from "./CreateTableCommand";
@@ -9,6 +10,7 @@ export * from "./DeleteItemCommand";
9
10
  export * from "./DeleteResourcePolicyCommand";
10
11
  export * from "./DeleteTableCommand";
11
12
  export * from "./DescribeBackupCommand";
13
+ export * from "./DescribeBulkOperationCommand";
12
14
  export * from "./DescribeContinuousBackupsCommand";
13
15
  export * from "./DescribeContributorInsightsCommand";
14
16
  export * from "./DescribeEndpointsCommand";
@@ -30,6 +32,7 @@ export * from "./GetItemCommand";
30
32
  export * from "./GetResourcePolicyCommand";
31
33
  export * from "./ImportTableCommand";
32
34
  export * from "./ListBackupsCommand";
35
+ export * from "./ListBulkOperationsCommand";
33
36
  export * from "./ListContributorInsightsCommand";
34
37
  export * from "./ListExportsCommand";
35
38
  export * from "./ListGlobalTablesCommand";
@@ -43,6 +46,7 @@ export * from "./RestoreTableFromBackupCommand";
43
46
  export * from "./RestoreTableToPointInTimeCommand";
44
47
  export * from "./ScanCommand";
45
48
  export * from "./SearchVectorsCommand";
49
+ export * from "./StartBulkPutItemsCommand";
46
50
  export * from "./TagResourceCommand";
47
51
  export * from "./TransactGetItemsCommand";
48
52
  export * from "./TransactWriteItemsCommand";
@@ -48,7 +48,7 @@ const _data = {
48
48
  ["{Endpoint}", G],
49
49
  [a, "Invalid Configuration: FIPS and local endpoint are not supported"],
50
50
  [a, "Invalid Configuration: Dualstack and local endpoint are not supported"],
51
- ["http://localhost:8000", { authSchemes: [{ signingRegion: "us-east-1", name: "sigv4", signingName: m }] }],
51
+ ["http://localhost:8000", { authSchemes: [{ name: "sigv4", signingName: m, signingRegion: "us-east-1" }] }],
52
52
  [a, "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported"],
53
53
  ["https://search-dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
54
54
  ["https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", G],
@@ -99,6 +99,35 @@ export const ReturnItemCollectionMetrics = {
99
99
  NONE: "NONE",
100
100
  SIZE: "SIZE",
101
101
  };
102
+ export const BulkOperationStatus = {
103
+ CANCELLED: "CANCELLED",
104
+ CANCELLING: "CANCELLING",
105
+ COMPLETED: "COMPLETED",
106
+ COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS",
107
+ FAILED: "FAILED",
108
+ IN_PROGRESS: "IN_PROGRESS",
109
+ };
110
+ export const InputCompressionType = {
111
+ GZIP: "GZIP",
112
+ NONE: "NONE",
113
+ ZSTD: "ZSTD",
114
+ };
115
+ export const BulkOperationInputFormat = {
116
+ DYNAMODB_JSON: "DYNAMODB_JSON",
117
+ ION: "ION",
118
+ };
119
+ export const OutputTypeEnum = {
120
+ CONDITION_CHECK_FAILURE: "CONDITION_CHECK_FAILURE",
121
+ ERROR: "ERROR",
122
+ };
123
+ export const S3SseAlgorithm = {
124
+ AES256: "AES256",
125
+ KMS: "KMS",
126
+ };
127
+ export const BulkOperationPerformanceTier = {
128
+ ACCELERATED: "ACCELERATED",
129
+ STANDARD: "STANDARD",
130
+ };
102
131
  export const ComparisonOperator = {
103
132
  BEGINS_WITH: "BEGINS_WITH",
104
133
  BETWEEN: "BETWEEN",
@@ -217,10 +246,6 @@ export const ExportViewType = {
217
246
  NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
218
247
  NEW_IMAGE: "NEW_IMAGE",
219
248
  };
220
- export const S3SseAlgorithm = {
221
- AES256: "AES256",
222
- KMS: "KMS",
223
- };
224
249
  export const ImportStatus = {
225
250
  CANCELLED: "CANCELLED",
226
251
  CANCELLING: "CANCELLING",
@@ -228,11 +253,6 @@ export const ImportStatus = {
228
253
  FAILED: "FAILED",
229
254
  IN_PROGRESS: "IN_PROGRESS",
230
255
  };
231
- export const InputCompressionType = {
232
- GZIP: "GZIP",
233
- NONE: "NONE",
234
- ZSTD: "ZSTD",
235
- };
236
256
  export const InputFormat = {
237
257
  CSV: "CSV",
238
258
  DYNAMODB_JSON: "DYNAMODB_JSON",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListBulkOperationsCommand, } from "../commands/ListBulkOperationsCommand";
3
+ import { DynamoDBClient } from "../DynamoDBClient";
4
+ export const paginateListBulkOperations = createPaginator(DynamoDBClient, ListBulkOperationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,4 +1,5 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListBulkOperationsPaginator";
2
3
  export * from "./ListContributorInsightsPaginator";
3
4
  export * from "./ListExportsPaginator";
4
5
  export * from "./ListImportsPaginator";
@@ -1,6 +1,6 @@
1
1
  import packageInfo from "../package.json";
2
2
  import { NODE_ACCOUNT_ID_ENDPOINT_MODE_CONFIG_OPTIONS } from "@aws-sdk/core/account-id-endpoint";
3
- import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
3
+ import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
4
4
  import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endpoint-discovery";
@@ -29,6 +29,7 @@ export const getRuntimeConfig = (config) => {
29
29
  authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
30
30
  bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
31
31
  credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
32
+ defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
32
33
  defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
33
34
  endpointDiscoveryEnabledProvider: config?.endpointDiscoveryEnabledProvider ?? loadNodeConfig(NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS, loaderConfig),
34
35
  maxAttempts: config?.maxAttempts ?? loadNodeConfig(Retry.v2026 ? { ...NODE_MAX_ATTEMPT_CONFIG_OPTIONS, default: 4 } : NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
@@ -47,7 +47,20 @@ const _BMO = "BillingModeOverride";
47
47
  const _BMS = "BillingModeSummary";
48
48
  const _BN = "BackupName";
49
49
  const _BNFE = "BackupNotFoundException";
50
+ const _BOA = "BulkOperationArn";
51
+ const _BOB = "BulkOperationBytes";
52
+ const _BOD = "BulkOperationDescription";
50
53
  const _BOOL = "BOOL";
54
+ const _BOS = "BulkOperationStatus";
55
+ const _BOSL = "BulkOperationsSummaryList";
56
+ const _BOSu = "BulkOperationSummary";
57
+ const _BOTD = "BulkOperationTableDetail";
58
+ const _BOTDu = "BulkOperationTableDetails";
59
+ const _BOU = "BulkOperationUsage";
60
+ const _BOUM = "BulkOperationUsageMultiple";
61
+ const _BOVB = "BulkOperationVectorBytes";
62
+ const _BPB = "BulkPutBytes";
63
+ const _BPVB = "BulkPutVectorBytes";
51
64
  const _BS = "BackupStatus";
52
65
  const _BSB = "BackupSizeBytes";
53
66
  const _BSBi = "BilledSizeBytes";
@@ -68,6 +81,9 @@ const _CB = "CreateBackup";
68
81
  const _CBD = "ContinuousBackupsDescription";
69
82
  const _CBI = "CreateBackupInput";
70
83
  const _CBO = "CreateBackupOutput";
84
+ const _CBOI = "CancelBulkOperationInput";
85
+ const _CBOO = "CancelBulkOperationOutput";
86
+ const _CBOa = "CancelBulkOperation";
71
87
  const _CBS = "ContinuousBackupsStatus";
72
88
  const _CBUE = "ContinuousBackupsUnavailableException";
73
89
  const _CC = "ConsumedCapacity";
@@ -116,7 +132,10 @@ const _DB = "DeleteBackup";
116
132
  const _DBI = "DeleteBackupInput";
117
133
  const _DBIe = "DescribeBackupInput";
118
134
  const _DBO = "DeleteBackupOutput";
135
+ const _DBOI = "DescribeBulkOperationInput";
136
+ const _DBOO = "DescribeBulkOperationOutput";
119
137
  const _DBOe = "DescribeBackupOutput";
138
+ const _DBOes = "DescribeBulkOperation";
120
139
  const _DBe = "DescribeBackup";
121
140
  const _DCB = "DescribeContinuousBackups";
122
141
  const _DCBI = "DescribeContinuousBackupsInput";
@@ -232,6 +251,7 @@ const _FC = "FailureCode";
232
251
  const _FCM = "FilterConditionMap";
233
252
  const _FE = "FailureException";
234
253
  const _FEi = "FilterExpression";
254
+ const _FIC = "FailedItemCount";
235
255
  const _FM = "FailureMessage";
236
256
  const _FS = "FilterSpecification";
237
257
  const _G = "Get";
@@ -307,6 +327,7 @@ const _IRL = "ItemResponseList";
307
327
  const _IRTE = "InvalidRestoreTimeException";
308
328
  const _IS = "IndexStatus";
309
329
  const _ISB = "IndexSizeBytes";
330
+ const _ISC = "InputS3Configuration";
310
331
  const _ISE = "InternalServerError";
311
332
  const _ISL = "ImportSummaryList";
312
333
  const _ISm = "ImportSummary";
@@ -336,6 +357,9 @@ const _LAV = "ListAttributeValue";
336
357
  const _LB = "ListBackups";
337
358
  const _LBI = "ListBackupsInput";
338
359
  const _LBO = "ListBackupsOutput";
360
+ const _LBOI = "ListBulkOperationsInput";
361
+ const _LBOO = "ListBulkOperationsOutput";
362
+ const _LBOi = "ListBulkOperations";
339
363
  const _LCI = "ListContributorInsights";
340
364
  const _LCII = "ListContributorInsightsInput";
341
365
  const _LCIO = "ListContributorInsightsOutput";
@@ -391,9 +415,12 @@ const _NT = "NextToken";
391
415
  const _NULL = "NULL";
392
416
  const _ODT = "OnDemandThroughput";
393
417
  const _ODTO = "OnDemandThroughputOverride";
418
+ const _OSC = "OutputS3Configuration";
419
+ const _OT = "OutputType";
394
420
  const _P = "Parameters";
395
421
  const _PE = "ProjectionExpression";
396
422
  const _PI = "PutItem";
423
+ const _PIB = "ProcessedInputBytes";
397
424
  const _PIC = "ProcessedItemCount";
398
425
  const _PII = "PutItemInput";
399
426
  const _PIIAM = "PutItemInputAttributeMap";
@@ -420,11 +447,12 @@ const _PSB = "ProcessedSizeBytes";
420
447
  const _PSP = "PreparedStatementParameters";
421
448
  const _PSa = "ParameterizedStatement";
422
449
  const _PSar = "ParameterizedStatements";
423
- const _PT = "ProvisionedThroughput";
450
+ const _PT = "PerformanceTier";
424
451
  const _PTD = "ProvisionedThroughputDescription";
425
452
  const _PTEE = "ProvisionedThroughputExceededException";
426
453
  const _PTO = "ProvisionedThroughputOverride";
427
- const _PTr = "ProjectionType";
454
+ const _PTr = "ProvisionedThroughput";
455
+ const _PTro = "ProjectionType";
428
456
  const _PWCASS = "ProvisionedWriteCapacityAutoScalingSettings";
429
457
  const _PWCASSU = "ProvisionedWriteCapacityAutoScalingSettingsUpdate";
430
458
  const _PWCASU = "ProvisionedWriteCapacityAutoScalingUpdate";
@@ -517,6 +545,9 @@ const _SA = "StreamArn";
517
545
  const _SB = "S3Bucket";
518
546
  const _SBA = "SourceBackupArn";
519
547
  const _SBO = "S3BucketOwner";
548
+ const _SBPI = "StartBulkPutItems";
549
+ const _SBPII = "StartBulkPutItemsInput";
550
+ const _SBPIO = "StartBulkPutItemsOutput";
520
551
  const _SBS = "S3BucketSource";
521
552
  const _SC = "ScannedCount";
522
553
  const _SCE = "SearchConditionExpression";
@@ -525,6 +556,7 @@ const _SE = "StreamEnabled";
525
556
  const _SERGB = "SizeEstimateRangeGB";
526
557
  const _SF = "ScanFilter";
527
558
  const _SI = "ScanInput";
559
+ const _SIBBM = "SecondaryIndexesBulkBytesMap";
528
560
  const _SIC = "ScaleInCooldown";
529
561
  const _SICM = "SecondaryIndexesCapacityMap";
530
562
  const _SIF = "ScanIndexForward";
@@ -577,7 +609,8 @@ const _TCEr = "TransactionConflictException";
577
609
  const _TCO = "TableClassOverride";
578
610
  const _TCP = "TableCreationParameters";
579
611
  const _TCS = "TableClassSummary";
580
- const _TD = "TableDescription";
612
+ const _TD = "TableDetails";
613
+ const _TDa = "TableDescription";
581
614
  const _TE = "ThrottlingException";
582
615
  const _TGI = "TransactGetItem";
583
616
  const _TGII = "TransactGetItemsInput";
@@ -585,6 +618,7 @@ const _TGIL = "TransactGetItemList";
585
618
  const _TGIO = "TransactGetItemsOutput";
586
619
  const _TGIr = "TransactGetItems";
587
620
  const _TI = "TableId";
621
+ const _TIB = "TotalInputBytes";
588
622
  const _TIPE = "TransactionInProgressException";
589
623
  const _TIUE = "TableInUseException";
590
624
  const _TIr = "TransactItems";
@@ -663,6 +697,7 @@ const _VA = "VectorAttribute";
663
697
  const _VAD = "VectorAttributeDefinition";
664
698
  const _VC = "VectorCapacity";
665
699
  const _VI = "VectorIndexes";
700
+ const _VIBVBM = "VectorIndexesBulkVectorBytesMap";
666
701
  const _VICM = "VectorIndexesCapacityMap";
667
702
  const _VID = "VectorIndexDescription";
668
703
  const _VIDL = "VectorIndexDescriptionList";
@@ -1025,6 +1060,46 @@ export var BillingModeSummary$ = [3, n0, _BMS,
1025
1060
  [_BM, _LUTPPRDT],
1026
1061
  [0, 4]
1027
1062
  ];
1063
+ export var BulkOperationBytes$ = [3, n0, _BOB,
1064
+ 0,
1065
+ [_BPB],
1066
+ [1]
1067
+ ];
1068
+ export var BulkOperationDescription$ = [3, n0, _BOD,
1069
+ 0,
1070
+ [_BOA, _BOS, _TD, _CT, _ISC, _OSC, _ST, _ET, _PIC, _PIB, _TIB, _BOU, _FIC, _FC, _FM, _MWRU, _PT],
1071
+ [0, 0, () => BulkOperationTableDetails, 0, () => InputS3Configuration$, () => OutputS3Configuration$, 4, 4, 1, 1, 1, () => BulkOperationUsageMultiple, 1, 0, 0, 1, 0]
1072
+ ];
1073
+ export var BulkOperationSummary$ = [3, n0, _BOSu,
1074
+ 0,
1075
+ [_BOA, _BOS, _ST, _ET],
1076
+ [0, 0, 4, 4], 3
1077
+ ];
1078
+ export var BulkOperationTableDetail$ = [3, n0, _BOTD,
1079
+ 0,
1080
+ [_TN, _TI],
1081
+ [0, 0]
1082
+ ];
1083
+ export var BulkOperationUsage$ = [3, n0, _BOU,
1084
+ 0,
1085
+ [_TN, _BPB, _T, _LSI, _GSI, _VI],
1086
+ [0, 1, () => BulkOperationBytes$, () => SecondaryIndexesBulkBytesMap, () => SecondaryIndexesBulkBytesMap, () => VectorIndexesBulkVectorBytesMap]
1087
+ ];
1088
+ export var BulkOperationVectorBytes$ = [3, n0, _BOVB,
1089
+ 0,
1090
+ [_BPVB],
1091
+ [1]
1092
+ ];
1093
+ export var CancelBulkOperationInput$ = [3, n0, _CBOI,
1094
+ 0,
1095
+ [_BOA],
1096
+ [0], 1
1097
+ ];
1098
+ export var CancelBulkOperationOutput$ = [3, n0, _CBOO,
1099
+ 0,
1100
+ [_BOA, _BOS],
1101
+ [0, 0], 2
1102
+ ];
1028
1103
  export var CancellationReason$ = [3, n0, _CRa,
1029
1104
  0,
1030
1105
  [_I, _C, _M],
@@ -1072,7 +1147,7 @@ export var CreateBackupOutput$ = [3, n0, _CBO,
1072
1147
  ];
1073
1148
  export var CreateGlobalSecondaryIndexAction$ = [3, n0, _CGSIA,
1074
1149
  0,
1075
- [_IN, _KS, _Pr, _PT, _ODT, _WT],
1150
+ [_IN, _KS, _Pr, _PTr, _ODT, _WT],
1076
1151
  [0, () => KeySchema, () => Projection$, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => WarmThroughput$], 3
1077
1152
  ];
1078
1153
  export var CreateGlobalTableInput$ = [3, n0, _CGTI,
@@ -1102,12 +1177,12 @@ export var CreateReplicationGroupMemberAction$ = [3, n0, _CRGMA,
1102
1177
  ];
1103
1178
  export var CreateTableInput$ = [3, n0, _CTI,
1104
1179
  0,
1105
- [_TN, _ADt, _KS, _LSI, _GSI, _BM, _PT, _SS, _SSES, _Ta, _TC, _DPE, _WT, _RP, _ODT, _GTSA, _GTSRM, _VI],
1180
+ [_TN, _ADt, _KS, _LSI, _GSI, _BM, _PTr, _SS, _SSES, _Ta, _TC, _DPE, _WT, _RP, _ODT, _GTSA, _GTSRM, _VI],
1106
1181
  [0, () => AttributeDefinitions, () => KeySchema, () => LocalSecondaryIndexList, () => GlobalSecondaryIndexList, 0, () => ProvisionedThroughput$, () => StreamSpecification$, () => SSESpecification$, () => TagList, 0, 2, () => WarmThroughput$, 0, () => OnDemandThroughput$, 0, 0, () => VectorIndexList], 1
1107
1182
  ];
1108
1183
  export var CreateTableOutput$ = [3, n0, _CTO,
1109
1184
  0,
1110
- [_TD],
1185
+ [_TDa],
1111
1186
  [() => TableDescription$]
1112
1187
  ];
1113
1188
  export var CreateVectorIndexAction$ = [3, n0, _CVIA,
@@ -1187,7 +1262,7 @@ export var DeleteTableInput$ = [3, n0, _DTI,
1187
1262
  ];
1188
1263
  export var DeleteTableOutput$ = [3, n0, _DTO,
1189
1264
  0,
1190
- [_TD],
1265
+ [_TDa],
1191
1266
  [() => TableDescription$]
1192
1267
  ];
1193
1268
  export var DeleteVectorIndexAction$ = [3, n0, _DVIA,
@@ -1205,6 +1280,16 @@ export var DescribeBackupOutput$ = [3, n0, _DBOe,
1205
1280
  [_BD],
1206
1281
  [() => BackupDescription$]
1207
1282
  ];
1283
+ export var DescribeBulkOperationInput$ = [3, n0, _DBOI,
1284
+ 0,
1285
+ [_BOA],
1286
+ [0], 1
1287
+ ];
1288
+ export var DescribeBulkOperationOutput$ = [3, n0, _DBOO,
1289
+ 0,
1290
+ [_BOD],
1291
+ [() => BulkOperationDescription$], 1
1292
+ ];
1208
1293
  export var DescribeContinuousBackupsInput$ = [3, n0, _DCBI,
1209
1294
  0,
1210
1295
  [_TN],
@@ -1422,7 +1507,7 @@ export var GetResourcePolicyOutput$ = [3, n0, _GRPO,
1422
1507
  ];
1423
1508
  export var GlobalSecondaryIndex$ = [3, n0, _GSIl,
1424
1509
  0,
1425
- [_IN, _KS, _Pr, _PT, _ODT, _WT],
1510
+ [_IN, _KS, _Pr, _PTr, _ODT, _WT],
1426
1511
  [0, () => KeySchema, () => Projection$, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => WarmThroughput$], 3
1427
1512
  ];
1428
1513
  export var GlobalSecondaryIndexAutoScalingUpdate$ = [3, n0, _GSIASU,
@@ -1432,12 +1517,12 @@ export var GlobalSecondaryIndexAutoScalingUpdate$ = [3, n0, _GSIASU,
1432
1517
  ];
1433
1518
  export var GlobalSecondaryIndexDescription$ = [3, n0, _GSID,
1434
1519
  0,
1435
- [_IN, _KS, _Pr, _IS, _B, _PT, _ISB, _IC, _IAn, _ODT, _WT],
1520
+ [_IN, _KS, _Pr, _IS, _B, _PTr, _ISB, _IC, _IAn, _ODT, _WT],
1436
1521
  [0, () => KeySchema, () => Projection$, 0, 2, () => ProvisionedThroughputDescription$, 1, 1, 0, () => OnDemandThroughput$, () => GlobalSecondaryIndexWarmThroughputDescription$]
1437
1522
  ];
1438
1523
  export var GlobalSecondaryIndexInfo$ = [3, n0, _GSII,
1439
1524
  0,
1440
- [_IN, _KS, _Pr, _PT, _ODT],
1525
+ [_IN, _KS, _Pr, _PTr, _ODT],
1441
1526
  [0, () => KeySchema, () => Projection$, () => ProvisionedThroughput$, () => OnDemandThroughput$]
1442
1527
  ];
1443
1528
  export var GlobalSecondaryIndexUpdate$ = [3, n0, _GSIU,
@@ -1505,6 +1590,11 @@ export var InputFormatOptions$ = [3, n0, _IFO,
1505
1590
  [_Cs],
1506
1591
  [() => CsvOptions$]
1507
1592
  ];
1593
+ export var InputS3Configuration$ = [3, n0, _ISC,
1594
+ 0,
1595
+ [_SB, _IF, _SBO, _SKP, _ICT],
1596
+ [0, 0, 0, 0, 0], 2
1597
+ ];
1508
1598
  export var ItemCollectionMetrics$ = [3, n0, _ICM,
1509
1599
  0,
1510
1600
  [_ICK, _SERGB],
@@ -1550,6 +1640,16 @@ export var ListBackupsOutput$ = [3, n0, _LBO,
1550
1640
  [_BSac, _LEBA],
1551
1641
  [() => BackupSummaries, 0]
1552
1642
  ];
1643
+ export var ListBulkOperationsInput$ = [3, n0, _LBOI,
1644
+ 0,
1645
+ [_MR, _NT],
1646
+ [1, 0]
1647
+ ];
1648
+ export var ListBulkOperationsOutput$ = [3, n0, _LBOO,
1649
+ 0,
1650
+ [_BOSL, _NT],
1651
+ [() => BulkOperationsSummaryList, 0]
1652
+ ];
1553
1653
  export var ListContributorInsightsInput$ = [3, n0, _LCII,
1554
1654
  0,
1555
1655
  [_TN, _NT, _MR],
@@ -1635,6 +1735,11 @@ export var OnDemandThroughputOverride$ = [3, n0, _ODTO,
1635
1735
  [_MRRU],
1636
1736
  [1]
1637
1737
  ];
1738
+ export var OutputS3Configuration$ = [3, n0, _OSC,
1739
+ 0,
1740
+ [_OT, _SBO, _SB, _SKP, _SSA, _SSKKI],
1741
+ [64 | 0, 0, 0, 0, 0, 0], 1
1742
+ ];
1638
1743
  export var ParameterizedStatement$ = [3, n0, _PSa,
1639
1744
  0,
1640
1745
  [_St, _P, _RVOCCF],
@@ -1652,10 +1757,10 @@ export var PointInTimeRecoverySpecification$ = [3, n0, _PITRSo,
1652
1757
  ];
1653
1758
  export var Projection$ = [3, n0, _Pr,
1654
1759
  0,
1655
- [_PTr, _NKA],
1760
+ [_PTro, _NKA],
1656
1761
  [0, 64 | 0]
1657
1762
  ];
1658
- export var ProvisionedThroughput$ = [3, n0, _PT,
1763
+ export var ProvisionedThroughput$ = [3, n0, _PTr,
1659
1764
  0,
1660
1765
  [_RCU, _WCU],
1661
1766
  [1, 1], 2
@@ -1792,7 +1897,7 @@ export var RestoreTableFromBackupInput$ = [3, n0, _RTFBI,
1792
1897
  ];
1793
1898
  export var RestoreTableFromBackupOutput$ = [3, n0, _RTFBO,
1794
1899
  0,
1795
- [_TD],
1900
+ [_TDa],
1796
1901
  [() => TableDescription$]
1797
1902
  ];
1798
1903
  export var RestoreTableToPointInTimeInput$ = [3, n0, _RTTPITI,
@@ -1802,7 +1907,7 @@ export var RestoreTableToPointInTimeInput$ = [3, n0, _RTTPITI,
1802
1907
  ];
1803
1908
  export var RestoreTableToPointInTimeOutput$ = [3, n0, _RTTPITO,
1804
1909
  0,
1805
- [_TD],
1910
+ [_TDa],
1806
1911
  [() => TableDescription$]
1807
1912
  ];
1808
1913
  export var S3BucketSource$ = [3, n0, _SBS,
@@ -1842,7 +1947,7 @@ export var SearchVectorsOutput$ = [3, n0, _SVO,
1842
1947
  ];
1843
1948
  export var SourceTableDetails$ = [3, n0, _STD,
1844
1949
  0,
1845
- [_TN, _TI, _KS, _TCDT, _PT, _TA, _TSB, _ODT, _IC, _BM],
1950
+ [_TN, _TI, _KS, _TCDT, _PTr, _TA, _TSB, _ODT, _IC, _BM],
1846
1951
  [0, 0, () => KeySchema, 4, () => ProvisionedThroughput$, 0, 1, () => OnDemandThroughput$, 1, 0], 5
1847
1952
  ];
1848
1953
  export var SourceTableFeatureDetails$ = [3, n0, _STFD,
@@ -1860,6 +1965,16 @@ export var SSESpecification$ = [3, n0, _SSES,
1860
1965
  [_Ena, _SSETy, _KMSMKI],
1861
1966
  [2, 0, 0]
1862
1967
  ];
1968
+ export var StartBulkPutItemsInput$ = [3, n0, _SBPII,
1969
+ 0,
1970
+ [_ISC, _OSC, _TN, _CT, _MWRU, _PT],
1971
+ [() => InputS3Configuration$, () => OutputS3Configuration$, 0, [0, 4], 1, 0], 3
1972
+ ];
1973
+ export var StartBulkPutItemsOutput$ = [3, n0, _SBPIO,
1974
+ 0,
1975
+ [_BOD],
1976
+ [() => BulkOperationDescription$], 1
1977
+ ];
1863
1978
  export var StreamSpecification$ = [3, n0, _SS,
1864
1979
  0,
1865
1980
  [_SE, _SVT],
@@ -1877,12 +1992,12 @@ export var TableClassSummary$ = [3, n0, _TCS,
1877
1992
  ];
1878
1993
  export var TableCreationParameters$ = [3, n0, _TCP,
1879
1994
  0,
1880
- [_TN, _ADt, _KS, _BM, _PT, _ODT, _SSES, _GSI, _VI],
1995
+ [_TN, _ADt, _KS, _BM, _PTr, _ODT, _SSES, _GSI, _VI],
1881
1996
  [0, () => AttributeDefinitions, () => KeySchema, 0, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => SSESpecification$, () => GlobalSecondaryIndexList, () => VectorIndexList], 3
1882
1997
  ];
1883
- export var TableDescription$ = [3, n0, _TD,
1998
+ export var TableDescription$ = [3, n0, _TDa,
1884
1999
  0,
1885
- [_ADt, _TN, _KS, _TSa, _CDT, _PT, _TSB, _IC, _TA, _TI, _BMS, _LSI, _GSI, _SS, _LSL, _LSA, _GTV, _Rep, _GTW, _GTSRM, _RSes, _SSED, _AS, _TCS, _DPE, _DPEi, _ODT, _WT, _MRC, _VI],
2000
+ [_ADt, _TN, _KS, _TSa, _CDT, _PTr, _TSB, _IC, _TA, _TI, _BMS, _LSI, _GSI, _SS, _LSL, _LSA, _GTV, _Rep, _GTW, _GTSRM, _RSes, _SSED, _AS, _TCS, _DPE, _DPEi, _ODT, _WT, _MRC, _VI],
1886
2001
  [() => AttributeDefinitions, 0, () => KeySchema, 0, 4, () => ProvisionedThroughputDescription$, 1, 1, 0, 0, () => BillingModeSummary$, () => LocalSecondaryIndexDescriptionList, () => GlobalSecondaryIndexDescriptionList, () => StreamSpecification$, 0, 0, 0, () => ReplicaDescriptionList, () => GlobalTableWitnessDescriptionList, 0, () => RestoreSummary$, () => SSEDescription$, () => ArchivalSummary$, () => TableClassSummary$, 2, 2, () => OnDemandThroughput$, () => TableWarmThroughputDescription$, 0, () => VectorIndexDescriptionList]
1887
2002
  ];
1888
2003
  export var TableWarmThroughputDescription$ = [3, n0, _TWTD,
@@ -1977,7 +2092,7 @@ export var UpdateContributorInsightsOutput$ = [3, n0, _UCIO,
1977
2092
  ];
1978
2093
  export var UpdateGlobalSecondaryIndexAction$ = [3, n0, _UGSIA,
1979
2094
  0,
1980
- [_IN, _PT, _ODT, _WT],
2095
+ [_IN, _PTr, _ODT, _WT],
1981
2096
  [0, () => ProvisionedThroughput$, () => OnDemandThroughput$, () => WarmThroughput$], 1
1982
2097
  ];
1983
2098
  export var UpdateGlobalTableInput$ = [3, n0, _UGTI,
@@ -2032,12 +2147,12 @@ export var UpdateReplicationGroupMemberAction$ = [3, n0, _URGMA,
2032
2147
  ];
2033
2148
  export var UpdateTableInput$ = [3, n0, _UTI,
2034
2149
  0,
2035
- [_TN, _ADt, _BM, _PT, _GSIUl, _SS, _SSES, _RUe, _TC, _DPE, _MRC, _GTWU, _ODT, _WT, _GTSRM, _DPEi, _VIU],
2150
+ [_TN, _ADt, _BM, _PTr, _GSIUl, _SS, _SSES, _RUe, _TC, _DPE, _MRC, _GTWU, _ODT, _WT, _GTSRM, _DPEi, _VIU],
2036
2151
  [0, () => AttributeDefinitions, 0, () => ProvisionedThroughput$, () => GlobalSecondaryIndexUpdateList, () => StreamSpecification$, () => SSESpecification$, () => ReplicationGroupUpdateList, 0, 2, 0, () => GlobalTableWitnessGroupUpdateList, () => OnDemandThroughput$, () => WarmThroughput$, 0, 2, () => VectorIndexUpdateList], 1
2037
2152
  ];
2038
2153
  export var UpdateTableOutput$ = [3, n0, _UTO,
2039
2154
  0,
2040
- [_TD],
2155
+ [_TDa],
2041
2156
  [() => TableDescription$]
2042
2157
  ];
2043
2158
  export var UpdateTableReplicaAutoScalingInput$ = [3, n0, _UTRASI,
@@ -2115,6 +2230,15 @@ var BackupSummaries = [1, n0, _BSac,
2115
2230
  0, () => BackupSummary$
2116
2231
  ];
2117
2232
  var BinarySetAttributeValue = 64 | 21;
2233
+ var BulkOperationsSummaryList = [1, n0, _BOSL,
2234
+ 0, () => BulkOperationSummary$
2235
+ ];
2236
+ var BulkOperationTableDetails = [1, n0, _BOTDu,
2237
+ 0, () => BulkOperationTableDetail$
2238
+ ];
2239
+ var BulkOperationUsageMultiple = [1, n0, _BOUM,
2240
+ 0, () => BulkOperationUsage$
2241
+ ];
2118
2242
  var CancellationReasonList = [1, n0, _CRL,
2119
2243
  0, () => CancellationReason$
2120
2244
  ];
@@ -2195,6 +2319,7 @@ var LocalSecondaryIndexList = [1, n0, _LSIL,
2195
2319
  ];
2196
2320
  var NonKeyAttributeNameList = 64 | 0;
2197
2321
  var NumberSetAttributeValue = 64 | 0;
2322
+ var OutputTypeList = 64 | 0;
2198
2323
  var ParameterizedStatements = [1, n0, _PSar,
2199
2324
  0, () => ParameterizedStatement$
2200
2325
  ];
@@ -2331,9 +2456,15 @@ var MapAttributeValue = [2, n0, _MAV,
2331
2456
  var PutItemInputAttributeMap = [2, n0, _PIIAM,
2332
2457
  0, 0, () => AttributeValue$
2333
2458
  ];
2459
+ var SecondaryIndexesBulkBytesMap = [2, n0, _SIBBM,
2460
+ 0, 0, () => BulkOperationBytes$
2461
+ ];
2334
2462
  var SecondaryIndexesCapacityMap = [2, n0, _SICM,
2335
2463
  0, 0, () => Capacity$
2336
2464
  ];
2465
+ var VectorIndexesBulkVectorBytesMap = [2, n0, _VIBVBM,
2466
+ 0, 0, () => BulkOperationVectorBytes$
2467
+ ];
2337
2468
  var VectorIndexesCapacityMap = [2, n0, _VICM,
2338
2469
  0, 0, () => VectorCapacity$
2339
2470
  ];
@@ -2351,6 +2482,9 @@ export var BatchGetItem$ = [9, n0, _BGI,
2351
2482
  export var BatchWriteItem$ = [9, n0, _BWI,
2352
2483
  0, () => BatchWriteItemInput$, () => BatchWriteItemOutput$
2353
2484
  ];
2485
+ export var CancelBulkOperation$ = [9, n0, _CBOa,
2486
+ 0, () => CancelBulkOperationInput$, () => CancelBulkOperationOutput$
2487
+ ];
2354
2488
  export var CreateBackup$ = [9, n0, _CB,
2355
2489
  0, () => CreateBackupInput$, () => CreateBackupOutput$
2356
2490
  ];
@@ -2375,6 +2509,9 @@ export var DeleteTable$ = [9, n0, _DT,
2375
2509
  export var DescribeBackup$ = [9, n0, _DBe,
2376
2510
  0, () => DescribeBackupInput$, () => DescribeBackupOutput$
2377
2511
  ];
2512
+ export var DescribeBulkOperation$ = [9, n0, _DBOes,
2513
+ 0, () => DescribeBulkOperationInput$, () => DescribeBulkOperationOutput$
2514
+ ];
2378
2515
  export var DescribeContinuousBackups$ = [9, n0, _DCB,
2379
2516
  0, () => DescribeContinuousBackupsInput$, () => DescribeContinuousBackupsOutput$
2380
2517
  ];
@@ -2438,6 +2575,9 @@ export var ImportTable$ = [9, n0, _IT,
2438
2575
  export var ListBackups$ = [9, n0, _LB,
2439
2576
  0, () => ListBackupsInput$, () => ListBackupsOutput$
2440
2577
  ];
2578
+ export var ListBulkOperations$ = [9, n0, _LBOi,
2579
+ 0, () => ListBulkOperationsInput$, () => ListBulkOperationsOutput$
2580
+ ];
2441
2581
  export var ListContributorInsights$ = [9, n0, _LCI,
2442
2582
  0, () => ListContributorInsightsInput$, () => ListContributorInsightsOutput$
2443
2583
  ];
@@ -2477,6 +2617,9 @@ export var Scan$ = [9, n0, _Sca,
2477
2617
  export var SearchVectors$ = [9, n0, _SVe,
2478
2618
  0, () => SearchVectorsInput$, () => SearchVectorsOutput$
2479
2619
  ];
2620
+ export var StartBulkPutItems$ = [9, n0, _SBPI,
2621
+ 0, () => StartBulkPutItemsInput$, () => StartBulkPutItemsOutput$
2622
+ ];
2480
2623
  export var TagResource$ = [9, n0, _TRa,
2481
2624
  0, () => TagResourceInput$, () => __Unit
2482
2625
  ];
@@ -1,3 +1,4 @@
1
+ export * from "./waitForBulkOperationCompleted";
1
2
  export * from "./waitForContributorInsightsEnabled";
2
3
  export * from "./waitForExportCompleted";
3
4
  export * from "./waitForImportCompleted";
@@ -0,0 +1,58 @@
1
+ import { checkExceptions, createWaiter, WaiterState, } from "@smithy/core/client";
2
+ import { DescribeBulkOperationCommand, } from "../commands/DescribeBulkOperationCommand";
3
+ const checkState = async (client, input) => {
4
+ let reason;
5
+ try {
6
+ let result = await client.send(new DescribeBulkOperationCommand(input));
7
+ reason = result;
8
+ try {
9
+ const returnComparator = () => {
10
+ return result.BulkOperationDescription.BulkOperationStatus;
11
+ };
12
+ if (returnComparator() === "COMPLETED") {
13
+ return { state: WaiterState.SUCCESS, reason };
14
+ }
15
+ }
16
+ catch (e) { }
17
+ try {
18
+ const returnComparator = () => {
19
+ return result.BulkOperationDescription.BulkOperationStatus;
20
+ };
21
+ if (returnComparator() === "COMPLETED_WITH_ERRORS") {
22
+ return { state: WaiterState.SUCCESS, reason };
23
+ }
24
+ }
25
+ catch (e) { }
26
+ try {
27
+ const returnComparator = () => {
28
+ return result.BulkOperationDescription.BulkOperationStatus;
29
+ };
30
+ if (returnComparator() === "CANCELLED") {
31
+ return { state: WaiterState.FAILURE, reason };
32
+ }
33
+ }
34
+ catch (e) { }
35
+ try {
36
+ const returnComparator = () => {
37
+ return result.BulkOperationDescription.BulkOperationStatus;
38
+ };
39
+ if (returnComparator() === "FAILED") {
40
+ return { state: WaiterState.FAILURE, reason };
41
+ }
42
+ }
43
+ catch (e) { }
44
+ }
45
+ catch (exception) {
46
+ reason = exception;
47
+ }
48
+ return { state: WaiterState.RETRY, reason };
49
+ };
50
+ export const waitForBulkOperationCompleted = async (params, input) => {
51
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
52
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
53
+ };
54
+ export const waitUntilBulkOperationCompleted = async (params, input) => {
55
+ const serviceDefaults = { minDelay: 20, maxDelay: 120 };
56
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
57
+ return checkExceptions(result);
58
+ };