@aws-sdk/client-dynamodb 3.112.0 → 3.118.1
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/CHANGELOG.md +24 -0
- package/dist-types/DynamoDB.d.ts +15 -62
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +8 -1
- package/dist-types/commands/BatchWriteItemCommand.d.ts +3 -3
- package/dist-types/commands/PutItemCommand.d.ts +0 -52
- package/dist-types/commands/UpdateContributorInsightsCommand.d.ts +4 -3
- package/dist-types/commands/UpdateTableCommand.d.ts +0 -3
- package/dist-types/models/models_0.d.ts +50 -39
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.118.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.118.0...v3.118.1) (2022-06-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-dynamodb
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.118.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.117.0...v3.118.0) (2022-06-24)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-dynamodb
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.113.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.112.0...v3.113.0) (2022-06-17)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-dynamodb
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.112.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.111.0...v3.112.0) (2022-06-16)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @aws-sdk/client-dynamodb
|
package/dist-types/DynamoDB.d.ts
CHANGED
|
@@ -75,11 +75,18 @@ import { DynamoDBClient } from "./DynamoDBClient";
|
|
|
75
75
|
export declare class DynamoDB extends DynamoDBClient {
|
|
76
76
|
/**
|
|
77
77
|
* <p>This operation allows you to perform batch reads or writes on data stored in DynamoDB,
|
|
78
|
-
* using PartiQL
|
|
78
|
+
* using PartiQL. Each read statement in a <code>BatchExecuteStatement</code> must specify an equality
|
|
79
|
+
* condition on all key attributes. This enforces that each <code>SELECT</code> statement in a
|
|
80
|
+
* batch returns at most a single item.</p>
|
|
79
81
|
* <note>
|
|
80
82
|
* <p>The entire batch must consist of either read statements or write statements, you
|
|
81
83
|
* cannot mix both in one batch.</p>
|
|
82
84
|
* </note>
|
|
85
|
+
* <important>
|
|
86
|
+
* <p>A HTTP 200 response does not mean that all statements in the BatchExecuteStatement
|
|
87
|
+
* succeeded. Error details for individual statements can be found under the <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchStatementResponse.html#DDB-Type-BatchStatementResponse-Error">Error</a> field of the <code>BatchStatementResponse</code> for each
|
|
88
|
+
* statement.</p>
|
|
89
|
+
* </important>
|
|
83
90
|
*/
|
|
84
91
|
batchExecuteStatement(args: BatchExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise<BatchExecuteStatementCommandOutput>;
|
|
85
92
|
batchExecuteStatement(args: BatchExecuteStatementCommandInput, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
|
|
@@ -140,9 +147,9 @@ export declare class DynamoDB extends DynamoDBClient {
|
|
|
140
147
|
* <p>The <code>BatchWriteItem</code> operation puts or deletes multiple items in one or
|
|
141
148
|
* more tables. A single call to <code>BatchWriteItem</code> can transmit up to 16MB of
|
|
142
149
|
* data over the network, consisting of up to 25 item put or delete operations. While
|
|
143
|
-
* individual items can be up to 400 KB once stored, it's important to
|
|
144
|
-
*
|
|
145
|
-
*
|
|
150
|
+
* individual items can be up to 400 KB once stored, it's important to note that an item's
|
|
151
|
+
* representation might be greater than 400KB while being sent in DynamoDB's JSON format
|
|
152
|
+
* for the API call. For more details on this distinction, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html">Naming Rules and Data Types</a>.</p>
|
|
146
153
|
* <note>
|
|
147
154
|
* <p>
|
|
148
155
|
* <code>BatchWriteItem</code> cannot update items. To update items, use the
|
|
@@ -692,58 +699,6 @@ export declare class DynamoDB extends DynamoDBClient {
|
|
|
692
699
|
* a new item if one with the specified primary key doesn't exist), or replace an existing
|
|
693
700
|
* item if it has certain attribute values. You can return the item's attribute values in
|
|
694
701
|
* the same operation, using the <code>ReturnValues</code> parameter.</p>
|
|
695
|
-
* <important>
|
|
696
|
-
* <p>This topic provides general information about the <code>PutItem</code> API.</p>
|
|
697
|
-
* <p>For information on how to call the <code>PutItem</code> API using the Amazon Web Services SDK in specific languages, see the following:</p>
|
|
698
|
-
* <ul>
|
|
699
|
-
* <li>
|
|
700
|
-
* <p>
|
|
701
|
-
* <a href="http://docs.aws.amazon.com/goto/aws-cli/dynamodb-2012-08-10/PutItem"> PutItem in the Command Line Interface</a>
|
|
702
|
-
* </p>
|
|
703
|
-
* </li>
|
|
704
|
-
* <li>
|
|
705
|
-
* <p>
|
|
706
|
-
* <a href="http://docs.aws.amazon.com/goto/DotNetSDKV3/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for .NET</a>
|
|
707
|
-
* </p>
|
|
708
|
-
* </li>
|
|
709
|
-
* <li>
|
|
710
|
-
* <p>
|
|
711
|
-
* <a href="http://docs.aws.amazon.com/goto/SdkForCpp/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for C++</a>
|
|
712
|
-
* </p>
|
|
713
|
-
* </li>
|
|
714
|
-
* <li>
|
|
715
|
-
* <p>
|
|
716
|
-
* <a href="http://docs.aws.amazon.com/goto/SdkForGoV1/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for Go</a>
|
|
717
|
-
* </p>
|
|
718
|
-
* </li>
|
|
719
|
-
* <li>
|
|
720
|
-
* <p>
|
|
721
|
-
* <a href="http://docs.aws.amazon.com/goto/SdkForJava/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for Java</a>
|
|
722
|
-
* </p>
|
|
723
|
-
* </li>
|
|
724
|
-
* <li>
|
|
725
|
-
* <p>
|
|
726
|
-
* <a href="http://docs.aws.amazon.com/goto/AWSJavaScriptSDK/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for JavaScript</a>
|
|
727
|
-
* </p>
|
|
728
|
-
* </li>
|
|
729
|
-
* <li>
|
|
730
|
-
* <p>
|
|
731
|
-
* <a href="http://docs.aws.amazon.com/goto/SdkForPHPV3/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for PHP V3</a>
|
|
732
|
-
* </p>
|
|
733
|
-
* </li>
|
|
734
|
-
* <li>
|
|
735
|
-
* <p>
|
|
736
|
-
* <a href="http://docs.aws.amazon.com/goto/boto3/dynamodb-2012-08-10/PutItem">
|
|
737
|
-
* PutItem in the SDK for Python (Boto)</a>
|
|
738
|
-
* </p>
|
|
739
|
-
* </li>
|
|
740
|
-
* <li>
|
|
741
|
-
* <p>
|
|
742
|
-
* <a href="http://docs.aws.amazon.com/goto/SdkForRubyV2/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for Ruby V2</a>
|
|
743
|
-
* </p>
|
|
744
|
-
* </li>
|
|
745
|
-
* </ul>
|
|
746
|
-
* </important>
|
|
747
702
|
*
|
|
748
703
|
* <p>When you add an item, the primary key attributes are the only required attributes.
|
|
749
704
|
* Attribute values cannot be null.</p>
|
|
@@ -1093,9 +1048,10 @@ export declare class DynamoDB extends DynamoDBClient {
|
|
|
1093
1048
|
* <p>Updates the status for contributor insights for a specific table or index. CloudWatch
|
|
1094
1049
|
* Contributor Insights for DynamoDB graphs display the partition key and (if applicable)
|
|
1095
1050
|
* sort key of frequently accessed items and frequently throttled items in plaintext. If
|
|
1096
|
-
* you require the use of Amazon Web Services Key Management Service (KMS) to encrypt this
|
|
1097
|
-
* partition key and sort key data with an Amazon Web Services managed key or
|
|
1098
|
-
* should not enable CloudWatch Contributor Insights for DynamoDB
|
|
1051
|
+
* you require the use of Amazon Web Services Key Management Service (KMS) to encrypt this
|
|
1052
|
+
* table’s partition key and sort key data with an Amazon Web Services managed key or
|
|
1053
|
+
* customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB
|
|
1054
|
+
* for this table.</p>
|
|
1099
1055
|
*/
|
|
1100
1056
|
updateContributorInsights(args: UpdateContributorInsightsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateContributorInsightsCommandOutput>;
|
|
1101
1057
|
updateContributorInsights(args: UpdateContributorInsightsCommandInput, cb: (err: any, data?: UpdateContributorInsightsCommandOutput) => void): void;
|
|
@@ -1156,9 +1112,6 @@ export declare class DynamoDB extends DynamoDBClient {
|
|
|
1156
1112
|
* <p>Modify the provisioned throughput settings of the table.</p>
|
|
1157
1113
|
* </li>
|
|
1158
1114
|
* <li>
|
|
1159
|
-
* <p>Enable or disable DynamoDB Streams on the table.</p>
|
|
1160
|
-
* </li>
|
|
1161
|
-
* <li>
|
|
1162
1115
|
* <p>Remove a global secondary index from the table.</p>
|
|
1163
1116
|
* </li>
|
|
1164
1117
|
* <li>
|
|
@@ -8,11 +8,18 @@ export interface BatchExecuteStatementCommandOutput extends BatchExecuteStatemen
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>This operation allows you to perform batch reads or writes on data stored in DynamoDB,
|
|
11
|
-
* using PartiQL
|
|
11
|
+
* using PartiQL. Each read statement in a <code>BatchExecuteStatement</code> must specify an equality
|
|
12
|
+
* condition on all key attributes. This enforces that each <code>SELECT</code> statement in a
|
|
13
|
+
* batch returns at most a single item.</p>
|
|
12
14
|
* <note>
|
|
13
15
|
* <p>The entire batch must consist of either read statements or write statements, you
|
|
14
16
|
* cannot mix both in one batch.</p>
|
|
15
17
|
* </note>
|
|
18
|
+
* <important>
|
|
19
|
+
* <p>A HTTP 200 response does not mean that all statements in the BatchExecuteStatement
|
|
20
|
+
* succeeded. Error details for individual statements can be found under the <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchStatementResponse.html#DDB-Type-BatchStatementResponse-Error">Error</a> field of the <code>BatchStatementResponse</code> for each
|
|
21
|
+
* statement.</p>
|
|
22
|
+
* </important>
|
|
16
23
|
* @example
|
|
17
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
25
|
* ```javascript
|
|
@@ -10,9 +10,9 @@ export interface BatchWriteItemCommandOutput extends BatchWriteItemOutput, __Met
|
|
|
10
10
|
* <p>The <code>BatchWriteItem</code> operation puts or deletes multiple items in one or
|
|
11
11
|
* more tables. A single call to <code>BatchWriteItem</code> can transmit up to 16MB of
|
|
12
12
|
* data over the network, consisting of up to 25 item put or delete operations. While
|
|
13
|
-
* individual items can be up to 400 KB once stored, it's important to
|
|
14
|
-
*
|
|
15
|
-
*
|
|
13
|
+
* individual items can be up to 400 KB once stored, it's important to note that an item's
|
|
14
|
+
* representation might be greater than 400KB while being sent in DynamoDB's JSON format
|
|
15
|
+
* for the API call. For more details on this distinction, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.NamingRulesDataTypes.html">Naming Rules and Data Types</a>.</p>
|
|
16
16
|
* <note>
|
|
17
17
|
* <p>
|
|
18
18
|
* <code>BatchWriteItem</code> cannot update items. To update items, use the
|
|
@@ -13,58 +13,6 @@ export interface PutItemCommandOutput extends PutItemOutput, __MetadataBearer {
|
|
|
13
13
|
* a new item if one with the specified primary key doesn't exist), or replace an existing
|
|
14
14
|
* item if it has certain attribute values. You can return the item's attribute values in
|
|
15
15
|
* the same operation, using the <code>ReturnValues</code> parameter.</p>
|
|
16
|
-
* <important>
|
|
17
|
-
* <p>This topic provides general information about the <code>PutItem</code> API.</p>
|
|
18
|
-
* <p>For information on how to call the <code>PutItem</code> API using the Amazon Web Services SDK in specific languages, see the following:</p>
|
|
19
|
-
* <ul>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>
|
|
22
|
-
* <a href="http://docs.aws.amazon.com/goto/aws-cli/dynamodb-2012-08-10/PutItem"> PutItem in the Command Line Interface</a>
|
|
23
|
-
* </p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>
|
|
27
|
-
* <a href="http://docs.aws.amazon.com/goto/DotNetSDKV3/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for .NET</a>
|
|
28
|
-
* </p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>
|
|
32
|
-
* <a href="http://docs.aws.amazon.com/goto/SdkForCpp/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for C++</a>
|
|
33
|
-
* </p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>
|
|
37
|
-
* <a href="http://docs.aws.amazon.com/goto/SdkForGoV1/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for Go</a>
|
|
38
|
-
* </p>
|
|
39
|
-
* </li>
|
|
40
|
-
* <li>
|
|
41
|
-
* <p>
|
|
42
|
-
* <a href="http://docs.aws.amazon.com/goto/SdkForJava/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for Java</a>
|
|
43
|
-
* </p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>
|
|
47
|
-
* <a href="http://docs.aws.amazon.com/goto/AWSJavaScriptSDK/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for JavaScript</a>
|
|
48
|
-
* </p>
|
|
49
|
-
* </li>
|
|
50
|
-
* <li>
|
|
51
|
-
* <p>
|
|
52
|
-
* <a href="http://docs.aws.amazon.com/goto/SdkForPHPV3/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for PHP V3</a>
|
|
53
|
-
* </p>
|
|
54
|
-
* </li>
|
|
55
|
-
* <li>
|
|
56
|
-
* <p>
|
|
57
|
-
* <a href="http://docs.aws.amazon.com/goto/boto3/dynamodb-2012-08-10/PutItem">
|
|
58
|
-
* PutItem in the SDK for Python (Boto)</a>
|
|
59
|
-
* </p>
|
|
60
|
-
* </li>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>
|
|
63
|
-
* <a href="http://docs.aws.amazon.com/goto/SdkForRubyV2/dynamodb-2012-08-10/PutItem"> PutItem in the SDK for Ruby V2</a>
|
|
64
|
-
* </p>
|
|
65
|
-
* </li>
|
|
66
|
-
* </ul>
|
|
67
|
-
* </important>
|
|
68
16
|
*
|
|
69
17
|
* <p>When you add an item, the primary key attributes are the only required attributes.
|
|
70
18
|
* Attribute values cannot be null.</p>
|
|
@@ -10,9 +10,10 @@ export interface UpdateContributorInsightsCommandOutput extends UpdateContributo
|
|
|
10
10
|
* <p>Updates the status for contributor insights for a specific table or index. CloudWatch
|
|
11
11
|
* Contributor Insights for DynamoDB graphs display the partition key and (if applicable)
|
|
12
12
|
* sort key of frequently accessed items and frequently throttled items in plaintext. If
|
|
13
|
-
* you require the use of Amazon Web Services Key Management Service (KMS) to encrypt this
|
|
14
|
-
* partition key and sort key data with an Amazon Web Services managed key or
|
|
15
|
-
* should not enable CloudWatch Contributor Insights for DynamoDB
|
|
13
|
+
* you require the use of Amazon Web Services Key Management Service (KMS) to encrypt this
|
|
14
|
+
* table’s partition key and sort key data with an Amazon Web Services managed key or
|
|
15
|
+
* customer managed key, you should not enable CloudWatch Contributor Insights for DynamoDB
|
|
16
|
+
* for this table.</p>
|
|
16
17
|
* @example
|
|
17
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
19
|
* ```javascript
|
|
@@ -15,9 +15,6 @@ export interface UpdateTableCommandOutput extends UpdateTableOutput, __MetadataB
|
|
|
15
15
|
* <p>Modify the provisioned throughput settings of the table.</p>
|
|
16
16
|
* </li>
|
|
17
17
|
* <li>
|
|
18
|
-
* <p>Enable or disable DynamoDB Streams on the table.</p>
|
|
19
|
-
* </li>
|
|
20
|
-
* <li>
|
|
21
18
|
* <p>Remove a global secondary index from the table.</p>
|
|
22
19
|
* </li>
|
|
23
20
|
* <li>
|
|
@@ -278,7 +278,8 @@ export interface BackupDetails {
|
|
|
278
278
|
*/
|
|
279
279
|
BackupName: string | undefined;
|
|
280
280
|
/**
|
|
281
|
-
* <p>Size of the backup in bytes
|
|
281
|
+
* <p>Size of the backup in bytes. DynamoDB updates this value approximately every six hours.
|
|
282
|
+
* Recent changes might not be reflected in this value.</p>
|
|
282
283
|
*/
|
|
283
284
|
BackupSizeBytes?: number;
|
|
284
285
|
/**
|
|
@@ -499,7 +500,7 @@ export interface Projection {
|
|
|
499
500
|
/**
|
|
500
501
|
* <p>Represents the non-key attribute names which will be projected into the index.</p>
|
|
501
502
|
* <p>For local secondary indexes, the total count of <code>NonKeyAttributes</code> summed
|
|
502
|
-
* across all of the local secondary indexes, must not exceed
|
|
503
|
+
* across all of the local secondary indexes, must not exceed 100. If you project the same
|
|
503
504
|
* attribute into two different indexes, this counts as two distinct attributes when
|
|
504
505
|
* determining the total.</p>
|
|
505
506
|
*/
|
|
@@ -1236,15 +1237,15 @@ export declare namespace CreateBackupOutput {
|
|
|
1236
1237
|
}
|
|
1237
1238
|
/**
|
|
1238
1239
|
* <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
|
|
1239
|
-
* <p>Up to
|
|
1240
|
+
* <p>Up to 500 simultaneous table operations are allowed per account. These operations
|
|
1240
1241
|
* include <code>CreateTable</code>, <code>UpdateTable</code>,
|
|
1241
1242
|
* <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
|
|
1242
1243
|
* <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
|
|
1243
1244
|
* <p>The only exception is when you are creating a table with one or more secondary
|
|
1244
|
-
* indexes. You can have up to
|
|
1245
|
+
* indexes. You can have up to 250 such requests running at a time; however, if the table or
|
|
1245
1246
|
* index specifications are complex, DynamoDB might temporarily reduce the number
|
|
1246
1247
|
* of concurrent operations.</p>
|
|
1247
|
-
* <p>There is a soft account quota of
|
|
1248
|
+
* <p>There is a soft account quota of 2,500 tables.</p>
|
|
1248
1249
|
*/
|
|
1249
1250
|
export declare class LimitExceededException extends __BaseException {
|
|
1250
1251
|
readonly name: "LimitExceededException";
|
|
@@ -1268,7 +1269,7 @@ export declare class TableInUseException extends __BaseException {
|
|
|
1268
1269
|
}
|
|
1269
1270
|
/**
|
|
1270
1271
|
* <p>A source table with the name <code>TableName</code> does not currently exist within
|
|
1271
|
-
* the subscriber's account.</p>
|
|
1272
|
+
* the subscriber's account or the subscriber is operating in the wrong Amazon Web Services Region.</p>
|
|
1272
1273
|
*/
|
|
1273
1274
|
export declare class TableNotFoundException extends __BaseException {
|
|
1274
1275
|
readonly name: "TableNotFoundException";
|
|
@@ -2501,7 +2502,7 @@ export interface TableDescription {
|
|
|
2501
2502
|
* <code>NonKeyAttributes</code> - A list of one or more non-key attribute
|
|
2502
2503
|
* names that are projected into the secondary index. The total count of
|
|
2503
2504
|
* attributes provided in <code>NonKeyAttributes</code>, summed across all
|
|
2504
|
-
* of the secondary indexes, must not exceed
|
|
2505
|
+
* of the secondary indexes, must not exceed 100. If you project the same
|
|
2505
2506
|
* attribute into two different indexes, this counts as two distinct
|
|
2506
2507
|
* attributes when determining the total.</p>
|
|
2507
2508
|
* </li>
|
|
@@ -2621,7 +2622,7 @@ export interface TableDescription {
|
|
|
2621
2622
|
* <code>NonKeyAttributes</code> - A list of one or more non-key attribute
|
|
2622
2623
|
* names that are projected into the secondary index. The total count of
|
|
2623
2624
|
* attributes provided in <code>NonKeyAttributes</code>, summed across all
|
|
2624
|
-
* of the secondary indexes, must not exceed
|
|
2625
|
+
* of the secondary indexes, must not exceed 100. If you project the same
|
|
2625
2626
|
* attribute into two different indexes, this counts as two distinct
|
|
2626
2627
|
* attributes when determining the total.</p>
|
|
2627
2628
|
* </li>
|
|
@@ -3763,8 +3764,9 @@ export interface ExportTableToPointInTimeInput {
|
|
|
3763
3764
|
*/
|
|
3764
3765
|
TableArn: string | undefined;
|
|
3765
3766
|
/**
|
|
3766
|
-
* <p>Time in the past from which to export table data
|
|
3767
|
-
* of the table's state at this point
|
|
3767
|
+
* <p>Time in the past from which to export table data, counted in seconds from the start of
|
|
3768
|
+
* the Unix epoch. The table export will be a snapshot of the table's state at this point
|
|
3769
|
+
* in time.</p>
|
|
3768
3770
|
*/
|
|
3769
3771
|
ExportTime?: Date;
|
|
3770
3772
|
/**
|
|
@@ -3897,7 +3899,7 @@ export interface ListBackupsInput {
|
|
|
3897
3899
|
* <ul>
|
|
3898
3900
|
* <li>
|
|
3899
3901
|
* <p>
|
|
3900
|
-
* <code>USER</code> - On-demand backup created by you
|
|
3902
|
+
* <code>USER</code> - On-demand backup created by you. (The default setting if no other backup types are specified.)</p>
|
|
3901
3903
|
* </li>
|
|
3902
3904
|
* <li>
|
|
3903
3905
|
* <p>
|
|
@@ -4837,6 +4839,11 @@ export declare namespace UpdateReplicationGroupMemberAction {
|
|
|
4837
4839
|
* the replica and all if its items in the destination Region.</p>
|
|
4838
4840
|
* </li>
|
|
4839
4841
|
* </ul>
|
|
4842
|
+
* <note>
|
|
4843
|
+
* <p>When you manually remove a table or global table replica, you do not
|
|
4844
|
+
* automatically remove any associated scalable targets, scaling policies, or
|
|
4845
|
+
* CloudWatch alarms.</p>
|
|
4846
|
+
* </note>
|
|
4840
4847
|
*/
|
|
4841
4848
|
export interface ReplicationGroupUpdate {
|
|
4842
4849
|
/**
|
|
@@ -5280,7 +5287,7 @@ export declare namespace AttributeValue {
|
|
|
5280
5287
|
/**
|
|
5281
5288
|
* <p>An attribute of type List. For example:</p>
|
|
5282
5289
|
* <p>
|
|
5283
|
-
* <code>"L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N"
|
|
5290
|
+
* <code>"L": [ {"S": "Cookies"} , {"S": "Coffee"}, {"N": "3.14159"}]</code>
|
|
5284
5291
|
* </p>
|
|
5285
5292
|
*/
|
|
5286
5293
|
interface LMember {
|
|
@@ -5480,9 +5487,9 @@ export interface AttributeValueUpdate {
|
|
|
5480
5487
|
* </li>
|
|
5481
5488
|
* <li>
|
|
5482
5489
|
* <p>
|
|
5483
|
-
* <code>ADD</code> - DynamoDB creates
|
|
5484
|
-
* number (or set
|
|
5485
|
-
* are number
|
|
5490
|
+
* <code>ADD</code> - DynamoDB creates a new item with the supplied primary key and
|
|
5491
|
+
* number (or set) for the attribute value. The only data types allowed
|
|
5492
|
+
* are number, number set, string set or binary set.</p>
|
|
5486
5493
|
* </li>
|
|
5487
5494
|
* </ul>
|
|
5488
5495
|
*/
|
|
@@ -6329,8 +6336,8 @@ export interface ExecuteTransactionInput {
|
|
|
6329
6336
|
*/
|
|
6330
6337
|
ClientRequestToken?: string;
|
|
6331
6338
|
/**
|
|
6332
|
-
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
6333
|
-
* returned in the response. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html">TransactGetItems</a> and <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html">TransactWriteItems</a>.</p>
|
|
6339
|
+
* <p>Determines the level of detail about either provisioned or on-demand throughput
|
|
6340
|
+
* consumption that is returned in the response. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactGetItems.html">TransactGetItems</a> and <a href="https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_TransactWriteItems.html">TransactWriteItems</a>.</p>
|
|
6334
6341
|
*/
|
|
6335
6342
|
ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
|
|
6336
6343
|
}
|
|
@@ -6441,7 +6448,7 @@ export declare namespace TransactGetItemsOutput {
|
|
|
6441
6448
|
* <p>If using Java, DynamoDB lists the cancellation reasons on the
|
|
6442
6449
|
* <code>CancellationReasons</code> property. This property is not set for other
|
|
6443
6450
|
* languages. Transaction cancellation reasons are ordered in the order of requested
|
|
6444
|
-
* items, if an item has no error it will have <code>
|
|
6451
|
+
* items, if an item has no error it will have <code>None</code> code and
|
|
6445
6452
|
* <code>Null</code> message.</p>
|
|
6446
6453
|
* </note>
|
|
6447
6454
|
* <p>Cancellation reason codes and possible error messages:</p>
|
|
@@ -6450,7 +6457,7 @@ export declare namespace TransactGetItemsOutput {
|
|
|
6450
6457
|
* <p>No Errors:</p>
|
|
6451
6458
|
* <ul>
|
|
6452
6459
|
* <li>
|
|
6453
|
-
* <p>Code: <code>
|
|
6460
|
+
* <p>Code: <code>None</code>
|
|
6454
6461
|
* </p>
|
|
6455
6462
|
* </li>
|
|
6456
6463
|
* <li>
|
|
@@ -7726,8 +7733,8 @@ export interface ScanInput {
|
|
|
7726
7733
|
* <li>
|
|
7727
7734
|
* <p>
|
|
7728
7735
|
* <code>SPECIFIC_ATTRIBUTES</code> - Returns only the attributes listed in
|
|
7729
|
-
* <code>
|
|
7730
|
-
*
|
|
7736
|
+
* <code>ProjectionExpression</code>. This return value is equivalent to
|
|
7737
|
+
* specifying <code>ProjectionExpression</code> without specifying any value for
|
|
7731
7738
|
* <code>Select</code>.</p>
|
|
7732
7739
|
* <p>If you query or scan a local secondary index and request only attributes that
|
|
7733
7740
|
* are projected into that index, the operation reads only the index and not the
|
|
@@ -7739,13 +7746,13 @@ export interface ScanInput {
|
|
|
7739
7746
|
* attributes from the parent table.</p>
|
|
7740
7747
|
* </li>
|
|
7741
7748
|
* </ul>
|
|
7742
|
-
* <p>If neither <code>Select</code> nor <code>
|
|
7749
|
+
* <p>If neither <code>Select</code> nor <code>ProjectionExpression</code> are specified,
|
|
7743
7750
|
* DynamoDB defaults to <code>ALL_ATTRIBUTES</code> when accessing a table, and
|
|
7744
7751
|
* <code>ALL_PROJECTED_ATTRIBUTES</code> when accessing an index. You cannot use both
|
|
7745
|
-
* <code>Select</code> and <code>
|
|
7746
|
-
* unless the value for <code>Select</code> is <code>SPECIFIC_ATTRIBUTES</code>.
|
|
7747
|
-
* usage is equivalent to specifying <code>
|
|
7748
|
-
*
|
|
7752
|
+
* <code>Select</code> and <code>ProjectionExpression</code> together in a single
|
|
7753
|
+
* request, unless the value for <code>Select</code> is <code>SPECIFIC_ATTRIBUTES</code>.
|
|
7754
|
+
* (This usage is equivalent to specifying <code>ProjectionExpression</code> without any
|
|
7755
|
+
* value for <code>Select</code>.)</p>
|
|
7749
7756
|
* <note>
|
|
7750
7757
|
* <p>If you use the <code>ProjectionExpression</code> parameter, then the value for
|
|
7751
7758
|
* <code>Select</code> can only be <code>SPECIFIC_ATTRIBUTES</code>. Any other
|
|
@@ -7852,9 +7859,8 @@ export interface ScanInput {
|
|
|
7852
7859
|
* <p>A <code>FilterExpression</code> is applied after the items have already been read;
|
|
7853
7860
|
* the process of filtering does not consume any additional read capacity units.</p>
|
|
7854
7861
|
* </note>
|
|
7855
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#
|
|
7856
|
-
*
|
|
7857
|
-
* Guide</i>.</p>
|
|
7862
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression">Filter Expressions</a> in the <i>Amazon DynamoDB Developer
|
|
7863
|
+
* Guide</i>.</p>
|
|
7858
7864
|
*/
|
|
7859
7865
|
FilterExpression?: string;
|
|
7860
7866
|
/**
|
|
@@ -8097,6 +8103,9 @@ export interface DeleteItemInput {
|
|
|
8097
8103
|
* <code>ALL_OLD</code> - The content of the old item is returned.</p>
|
|
8098
8104
|
* </li>
|
|
8099
8105
|
* </ul>
|
|
8106
|
+
* <p>There is no additional cost associated with requesting a return value aside from the small
|
|
8107
|
+
* network and processing overhead of receiving a larger response. No read capacity units are
|
|
8108
|
+
* consumed.</p>
|
|
8100
8109
|
* <note>
|
|
8101
8110
|
* <p>The <code>ReturnValues</code> parameter is used by several DynamoDB operations;
|
|
8102
8111
|
* however, <code>DeleteItem</code> does not recognize any values other than
|
|
@@ -8301,6 +8310,9 @@ export interface PutItemInput {
|
|
|
8301
8310
|
* </li>
|
|
8302
8311
|
* </ul>
|
|
8303
8312
|
* <p>The values returned are strongly consistent.</p>
|
|
8313
|
+
* <p>There is no additional cost associated with requesting a return value aside from the small
|
|
8314
|
+
* network and processing overhead of receiving a larger response. No read capacity units are
|
|
8315
|
+
* consumed.</p>
|
|
8304
8316
|
* <note>
|
|
8305
8317
|
* <p>The <code>ReturnValues</code> parameter is used by several DynamoDB operations;
|
|
8306
8318
|
* however, <code>PutItem</code> does not recognize any values other than
|
|
@@ -8502,8 +8514,8 @@ export interface QueryInput {
|
|
|
8502
8514
|
* <li>
|
|
8503
8515
|
* <p>
|
|
8504
8516
|
* <code>SPECIFIC_ATTRIBUTES</code> - Returns only the attributes listed in
|
|
8505
|
-
* <code>
|
|
8506
|
-
*
|
|
8517
|
+
* <code>ProjectionExpression</code>. This return value is equivalent to
|
|
8518
|
+
* specifying <code>ProjectionExpression</code> without specifying any value for
|
|
8507
8519
|
* <code>Select</code>.</p>
|
|
8508
8520
|
* <p>If you query or scan a local secondary index and request only attributes that
|
|
8509
8521
|
* are projected into that index, the operation will read only the index and not
|
|
@@ -8515,13 +8527,13 @@ export interface QueryInput {
|
|
|
8515
8527
|
* attributes from the parent table.</p>
|
|
8516
8528
|
* </li>
|
|
8517
8529
|
* </ul>
|
|
8518
|
-
* <p>If neither <code>Select</code> nor <code>
|
|
8530
|
+
* <p>If neither <code>Select</code> nor <code>ProjectionExpression</code> are specified,
|
|
8519
8531
|
* DynamoDB defaults to <code>ALL_ATTRIBUTES</code> when accessing a table, and
|
|
8520
8532
|
* <code>ALL_PROJECTED_ATTRIBUTES</code> when accessing an index. You cannot use both
|
|
8521
|
-
* <code>Select</code> and <code>
|
|
8522
|
-
* unless the value for <code>Select</code> is <code>SPECIFIC_ATTRIBUTES</code>.
|
|
8523
|
-
* usage is equivalent to specifying <code>
|
|
8524
|
-
*
|
|
8533
|
+
* <code>Select</code> and <code>ProjectionExpression</code> together in a single
|
|
8534
|
+
* request, unless the value for <code>Select</code> is <code>SPECIFIC_ATTRIBUTES</code>.
|
|
8535
|
+
* (This usage is equivalent to specifying <code>ProjectionExpression</code> without any
|
|
8536
|
+
* value for <code>Select</code>.)</p>
|
|
8525
8537
|
* <note>
|
|
8526
8538
|
* <p>If you use the <code>ProjectionExpression</code> parameter, then the value for
|
|
8527
8539
|
* <code>Select</code> can only be <code>SPECIFIC_ATTRIBUTES</code>. Any other
|
|
@@ -8643,9 +8655,8 @@ export interface QueryInput {
|
|
|
8643
8655
|
* <p>A <code>FilterExpression</code> is applied after the items have already been read;
|
|
8644
8656
|
* the process of filtering does not consume any additional read capacity units.</p>
|
|
8645
8657
|
* </note>
|
|
8646
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#
|
|
8647
|
-
*
|
|
8648
|
-
* Guide</i>.</p>
|
|
8658
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/QueryAndScan.html#Query.FilterExpression">Filter Expressions</a> in the <i>Amazon DynamoDB Developer
|
|
8659
|
+
* Guide</i>.</p>
|
|
8649
8660
|
*/
|
|
8650
8661
|
FilterExpression?: string;
|
|
8651
8662
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.118.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.118.1",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.110.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.118.1",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.110.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.110.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.110.0",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.110.0",
|
|
30
30
|
"@aws-sdk/middleware-logger": "3.110.0",
|
|
31
31
|
"@aws-sdk/middleware-recursion-detection": "3.110.0",
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
+
"@aws-sdk/middleware-retry": "3.118.1",
|
|
33
33
|
"@aws-sdk/middleware-serde": "3.110.0",
|
|
34
34
|
"@aws-sdk/middleware-signing": "3.110.0",
|
|
35
35
|
"@aws-sdk/middleware-stack": "3.110.0",
|
|
36
36
|
"@aws-sdk/middleware-user-agent": "3.110.0",
|
|
37
37
|
"@aws-sdk/node-config-provider": "3.110.0",
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
+
"@aws-sdk/node-http-handler": "3.118.1",
|
|
39
39
|
"@aws-sdk/protocol-http": "3.110.0",
|
|
40
40
|
"@aws-sdk/smithy-client": "3.110.0",
|
|
41
41
|
"@aws-sdk/types": "3.110.0",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"@aws-sdk/util-defaults-mode-browser": "3.110.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-node": "3.110.0",
|
|
49
49
|
"@aws-sdk/util-user-agent-browser": "3.110.0",
|
|
50
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
50
|
+
"@aws-sdk/util-user-agent-node": "3.118.0",
|
|
51
51
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
52
52
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
53
|
-
"@aws-sdk/util-waiter": "3.
|
|
53
|
+
"@aws-sdk/util-waiter": "3.118.1",
|
|
54
54
|
"tslib": "^2.3.1",
|
|
55
55
|
"uuid": "^8.3.2"
|
|
56
56
|
},
|