@aws-sdk/client-dynamodb 3.36.0 → 3.39.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/CHANGELOG.md +42 -0
- package/dist-cjs/DynamoDB.js +0 -21
- package/dist-cjs/DynamoDBClient.js +0 -26
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +0 -26
- package/dist-cjs/commands/BatchGetItemCommand.js +0 -69
- package/dist-cjs/commands/BatchWriteItemCommand.js +0 -98
- package/dist-cjs/commands/CreateBackupCommand.js +0 -53
- package/dist-cjs/commands/CreateGlobalTableCommand.js +0 -91
- package/dist-cjs/commands/CreateTableCommand.js +0 -36
- package/dist-cjs/commands/DeleteBackupCommand.js +0 -25
- package/dist-cjs/commands/DeleteItemCommand.js +0 -29
- package/dist-cjs/commands/DeleteTableCommand.js +0 -40
- package/dist-cjs/commands/DescribeBackupCommand.js +0 -25
- package/dist-cjs/commands/DescribeContinuousBackupsCommand.js +0 -34
- package/dist-cjs/commands/DescribeContributorInsightsCommand.js +0 -24
- package/dist-cjs/commands/DescribeEndpointsCommand.js +0 -24
- package/dist-cjs/commands/DescribeExportCommand.js +0 -24
- package/dist-cjs/commands/DescribeGlobalTableCommand.js +0 -28
- package/dist-cjs/commands/DescribeGlobalTableSettingsCommand.js +0 -27
- package/dist-cjs/commands/DescribeKinesisStreamingDestinationCommand.js +0 -24
- package/dist-cjs/commands/DescribeLimitsCommand.js +0 -87
- package/dist-cjs/commands/DescribeTableCommand.js +0 -30
- package/dist-cjs/commands/DescribeTableReplicaAutoScalingCommand.js +0 -27
- package/dist-cjs/commands/DescribeTimeToLiveCommand.js +0 -24
- package/dist-cjs/commands/DisableKinesisStreamingDestinationCommand.js +0 -25
- package/dist-cjs/commands/EnableKinesisStreamingDestinationCommand.js +0 -27
- package/dist-cjs/commands/ExecuteStatementCommand.js +0 -26
- package/dist-cjs/commands/ExecuteTransactionCommand.js +0 -26
- package/dist-cjs/commands/ExportTableToPointInTimeCommand.js +0 -26
- package/dist-cjs/commands/GetItemCommand.js +0 -30
- package/dist-cjs/commands/ListBackupsCommand.js +0 -30
- package/dist-cjs/commands/ListContributorInsightsCommand.js +0 -24
- package/dist-cjs/commands/ListExportsCommand.js +0 -24
- package/dist-cjs/commands/ListGlobalTablesCommand.js +0 -27
- package/dist-cjs/commands/ListTablesCommand.js +0 -26
- package/dist-cjs/commands/ListTagsOfResourceCommand.js +0 -27
- package/dist-cjs/commands/PutItemCommand.js +0 -91
- package/dist-cjs/commands/QueryCommand.js +0 -79
- package/dist-cjs/commands/RestoreTableFromBackupCommand.js +0 -48
- package/dist-cjs/commands/RestoreTableToPointInTimeCommand.js +0 -79
- package/dist-cjs/commands/ScanCommand.js +0 -48
- package/dist-cjs/commands/TagResourceCommand.js +0 -30
- package/dist-cjs/commands/TransactGetItemsCommand.js +0 -49
- package/dist-cjs/commands/TransactWriteItemsCommand.js +0 -97
- package/dist-cjs/commands/UntagResourceCommand.js +0 -28
- package/dist-cjs/commands/UpdateContinuousBackupsCommand.js +0 -35
- package/dist-cjs/commands/UpdateContributorInsightsCommand.js +0 -24
- package/dist-cjs/commands/UpdateGlobalTableCommand.js +0 -52
- package/dist-cjs/commands/UpdateGlobalTableSettingsCommand.js +0 -24
- package/dist-cjs/commands/UpdateItemCommand.js +0 -26
- package/dist-cjs/commands/UpdateTableCommand.js +0 -46
- package/dist-cjs/commands/UpdateTableReplicaAutoScalingCommand.js +0 -27
- package/dist-cjs/commands/UpdateTimeToLiveCommand.js +0 -48
- package/dist-cjs/commands/index.js +53 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +5 -60
- package/dist-cjs/models/models_0.js +0 -660
- package/dist-cjs/pagination/ListContributorInsightsPaginator.js +0 -10
- package/dist-cjs/pagination/ListExportsPaginator.js +0 -10
- package/dist-cjs/pagination/ListTablesPaginator.js +0 -10
- package/dist-cjs/pagination/QueryPaginator.js +0 -10
- package/dist-cjs/pagination/ScanPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +9 -0
- package/dist-cjs/protocols/Aws_json1_0.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-cjs/waiters/index.js +5 -0
- package/dist-cjs/waiters/waitForTableExists.js +0 -9
- package/dist-cjs/waiters/waitForTableNotExists.js +0 -9
- package/dist-es/commands/index.js +50 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +5 -60
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/waiters/index.js +2 -0
- package/dist-types/commands/index.d.ts +50 -0
- package/dist-types/index.d.ts +5 -60
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/DynamoDB.d.ts +51 -965
- package/dist-types/ts3.4/DynamoDBClient.d.ts +25 -112
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/BatchGetItemCommand.d.ts +2 -65
- package/dist-types/ts3.4/commands/BatchWriteItemCommand.d.ts +2 -94
- package/dist-types/ts3.4/commands/CreateBackupCommand.d.ts +2 -49
- package/dist-types/ts3.4/commands/CreateGlobalTableCommand.d.ts +2 -87
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +2 -32
- package/dist-types/ts3.4/commands/DeleteBackupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteItemCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +2 -36
- package/dist-types/ts3.4/commands/DescribeBackupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeContinuousBackupsCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/DescribeContributorInsightsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeGlobalTableCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DescribeGlobalTableSettingsCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeKinesisStreamingDestinationCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +2 -83
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DescribeTimeToLiveCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisableKinesisStreamingDestinationCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/EnableKinesisStreamingDestinationCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ExportTableToPointInTimeCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetItemCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListBackupsCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/ListContributorInsightsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGlobalTablesCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListTagsOfResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/PutItemCommand.d.ts +2 -87
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +2 -75
- package/dist-types/ts3.4/commands/RestoreTableFromBackupCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/RestoreTableToPointInTimeCommand.d.ts +2 -75
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/TransactGetItemsCommand.d.ts +2 -45
- package/dist-types/ts3.4/commands/TransactWriteItemsCommand.d.ts +2 -93
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UpdateContinuousBackupsCommand.d.ts +2 -31
- package/dist-types/ts3.4/commands/UpdateContributorInsightsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateGlobalTableCommand.d.ts +2 -48
- package/dist-types/ts3.4/commands/UpdateGlobalTableSettingsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateItemCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +2 -42
- package/dist-types/ts3.4/commands/UpdateTableReplicaAutoScalingCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateTimeToLiveCommand.d.ts +2 -44
- package/dist-types/ts3.4/commands/index.d.ts +50 -0
- package/dist-types/ts3.4/index.d.ts +5 -60
- package/dist-types/ts3.4/models/models_0.d.ts +1022 -6658
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForTableExists.d.ts +2 -9
- package/dist-types/ts3.4/waiters/waitForTableNotExists.d.ts +2 -9
- package/dist-types/waiters/index.d.ts +2 -0
- package/package.json +34 -34
|
@@ -6,84 +6,11 @@ export interface RestoreTableToPointInTimeCommandInput extends RestoreTableToPoi
|
|
|
6
6
|
}
|
|
7
7
|
export interface RestoreTableToPointInTimeCommandOutput extends RestoreTableToPointInTimeOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Restores the specified table to the specified point in time within
|
|
11
|
-
* <code>EarliestRestorableDateTime</code> and <code>LatestRestorableDateTime</code>.
|
|
12
|
-
* You can restore your table to any point in time during the last 35 days.
|
|
13
|
-
* Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.
|
|
14
|
-
* </p>
|
|
15
|
-
* <p>
|
|
16
|
-
* When you restore using point in time recovery, DynamoDB restores your table data to the state based on
|
|
17
|
-
* the selected date and time (day:hour:minute:second) to a new table.
|
|
18
|
-
* </p>
|
|
19
|
-
* <p>
|
|
20
|
-
* Along with data, the following are also included on the new restored table using point in time recovery:
|
|
21
|
-
* </p>
|
|
22
|
-
* <ul>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>Global secondary indexes (GSIs)</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>Local secondary indexes (LSIs)</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>Provisioned read and write capacity</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>Encryption settings</p>
|
|
34
|
-
* <important>
|
|
35
|
-
* <p>
|
|
36
|
-
* All these settings come from the current settings of the source table at the time of restore.
|
|
37
|
-
* </p>
|
|
38
|
-
* </important>
|
|
39
|
-
* </li>
|
|
40
|
-
* </ul>
|
|
41
|
-
*
|
|
42
|
-
* <p>You must manually set up the following on the restored table:</p>
|
|
43
|
-
* <ul>
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>Auto scaling policies</p>
|
|
46
|
-
* </li>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>IAM policies</p>
|
|
49
|
-
* </li>
|
|
50
|
-
* <li>
|
|
51
|
-
* <p>Amazon CloudWatch metrics and alarms</p>
|
|
52
|
-
* </li>
|
|
53
|
-
* <li>
|
|
54
|
-
* <p>Tags</p>
|
|
55
|
-
* </li>
|
|
56
|
-
* <li>
|
|
57
|
-
* <p>Stream settings</p>
|
|
58
|
-
* </li>
|
|
59
|
-
* <li>
|
|
60
|
-
* <p>Time to Live (TTL) settings</p>
|
|
61
|
-
* </li>
|
|
62
|
-
* <li>
|
|
63
|
-
* <p>Point in time recovery settings</p>
|
|
64
|
-
* </li>
|
|
65
|
-
* </ul>
|
|
66
|
-
* @example
|
|
67
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
68
|
-
* ```javascript
|
|
69
|
-
* import { DynamoDBClient, RestoreTableToPointInTimeCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
70
|
-
* // const { DynamoDBClient, RestoreTableToPointInTimeCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
71
|
-
* const client = new DynamoDBClient(config);
|
|
72
|
-
* const command = new RestoreTableToPointInTimeCommand(input);
|
|
73
|
-
* const response = await client.send(command);
|
|
74
|
-
* ```
|
|
75
|
-
*
|
|
76
|
-
* @see {@link RestoreTableToPointInTimeCommandInput} for command's `input` shape.
|
|
77
|
-
* @see {@link RestoreTableToPointInTimeCommandOutput} for command's `response` shape.
|
|
78
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
79
|
-
*
|
|
80
|
-
*/
|
|
9
|
+
|
|
81
10
|
export declare class RestoreTableToPointInTimeCommand extends $Command<RestoreTableToPointInTimeCommandInput, RestoreTableToPointInTimeCommandOutput, DynamoDBClientResolvedConfig> {
|
|
82
11
|
readonly input: RestoreTableToPointInTimeCommandInput;
|
|
83
12
|
constructor(input: RestoreTableToPointInTimeCommandInput);
|
|
84
|
-
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
13
|
+
|
|
87
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RestoreTableToPointInTimeCommandInput, RestoreTableToPointInTimeCommandOutput>;
|
|
88
15
|
private serialize;
|
|
89
16
|
private deserialize;
|
|
@@ -6,53 +6,11 @@ export interface ScanCommandInput extends ScanInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface ScanCommandOutput extends ScanOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>The <code>Scan</code> operation returns one or more items and item attributes by accessing every
|
|
11
|
-
* item in a table or a secondary index. To have DynamoDB return fewer items, you can provide a <code>FilterExpression</code> operation.</p>
|
|
12
|
-
* <p>If the total number of scanned items exceeds the maximum dataset size limit of 1 MB, the
|
|
13
|
-
* scan stops and results are returned to the user as a <code>LastEvaluatedKey</code> value
|
|
14
|
-
* to continue the scan in a subsequent operation. The results also include the number of
|
|
15
|
-
* items exceeding the limit. A scan can result in no table data meeting the filter
|
|
16
|
-
* criteria. </p>
|
|
17
|
-
* <p>A single <code>Scan</code> operation reads up to the maximum number of items set (if
|
|
18
|
-
* using the <code>Limit</code> parameter) or a maximum of 1 MB of data and then apply any
|
|
19
|
-
* filtering to the results using <code>FilterExpression</code>. If
|
|
20
|
-
* <code>LastEvaluatedKey</code> is present in the response, you need to paginate the
|
|
21
|
-
* result set. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.Pagination">Paginating the
|
|
22
|
-
* Results</a> in the <i>Amazon DynamoDB Developer Guide</i>. </p>
|
|
23
|
-
* <p>
|
|
24
|
-
* <code>Scan</code> operations proceed sequentially; however, for faster performance on
|
|
25
|
-
* a large table or secondary index, applications can request a parallel <code>Scan</code>
|
|
26
|
-
* operation by providing the <code>Segment</code> and <code>TotalSegments</code>
|
|
27
|
-
* parameters. For more information, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Scan.html#Scan.ParallelScan">Parallel
|
|
28
|
-
* Scan</a> in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
|
29
|
-
* <p>
|
|
30
|
-
* <code>Scan</code> uses eventually consistent reads when accessing the data in a
|
|
31
|
-
* table; therefore, the result set might not include the changes to data in the table
|
|
32
|
-
* immediately before the operation began. If you need a consistent copy of the data, as of
|
|
33
|
-
* the time that the <code>Scan</code> begins, you can set the <code>ConsistentRead</code>
|
|
34
|
-
* parameter to <code>true</code>.</p>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { DynamoDBClient, ScanCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
39
|
-
* // const { DynamoDBClient, ScanCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
40
|
-
* const client = new DynamoDBClient(config);
|
|
41
|
-
* const command = new ScanCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link ScanCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link ScanCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
9
|
+
|
|
50
10
|
export declare class ScanCommand extends $Command<ScanCommandInput, ScanCommandOutput, DynamoDBClientResolvedConfig> {
|
|
51
11
|
readonly input: ScanCommandInput;
|
|
52
12
|
constructor(input: ScanCommandInput);
|
|
53
|
-
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
13
|
+
|
|
56
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ScanCommandInput, ScanCommandOutput>;
|
|
57
15
|
private serialize;
|
|
58
16
|
private deserialize;
|
|
@@ -6,35 +6,11 @@ export interface TagResourceCommandInput extends TagResourceInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Associate a set of tags with an Amazon DynamoDB resource. You can then activate these
|
|
11
|
-
* user-defined tags so that they appear on the Billing and Cost Management console for
|
|
12
|
-
* cost allocation tracking. You can call TagResource up to five times per second, per
|
|
13
|
-
* account. </p>
|
|
14
|
-
* <p>For an overview on tagging DynamoDB resources, see
|
|
15
|
-
* <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html">Tagging for DynamoDB</a>
|
|
16
|
-
* in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { DynamoDBClient, TagResourceCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
21
|
-
* // const { DynamoDBClient, TagResourceCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
22
|
-
* const client = new DynamoDBClient(config);
|
|
23
|
-
* const command = new TagResourceCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
9
|
+
|
|
32
10
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, DynamoDBClientResolvedConfig> {
|
|
33
11
|
readonly input: TagResourceCommandInput;
|
|
34
12
|
constructor(input: TagResourceCommandInput);
|
|
35
|
-
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
13
|
+
|
|
38
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
|
|
39
15
|
private serialize;
|
|
40
16
|
private deserialize;
|
|
@@ -6,54 +6,11 @@ export interface TransactGetItemsCommandInput extends TransactGetItemsInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface TransactGetItemsCommandOutput extends TransactGetItemsOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>
|
|
11
|
-
* <code>TransactGetItems</code> is a synchronous operation that atomically retrieves
|
|
12
|
-
* multiple items from one or more tables (but not from indexes) in a single account and
|
|
13
|
-
* Region. A <code>TransactGetItems</code> call can contain up to 25
|
|
14
|
-
* <code>TransactGetItem</code> objects, each of which contains a <code>Get</code>
|
|
15
|
-
* structure that specifies an item to retrieve from a table in the account and Region. A
|
|
16
|
-
* call to <code>TransactGetItems</code> cannot retrieve items from tables in more than one
|
|
17
|
-
* AWS account or Region. The aggregate size of the items in the transaction cannot exceed
|
|
18
|
-
* 4 MB.</p>
|
|
19
|
-
* <p>DynamoDB rejects the entire <code>TransactGetItems</code> request if any of the following is true:</p>
|
|
20
|
-
* <ul>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>A conflicting operation is in the process of updating an
|
|
23
|
-
* item to be read.</p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>There is insufficient provisioned capacity for the transaction
|
|
27
|
-
* to be completed.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>There is a user error, such as an invalid data format.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>The aggregate size of the items in the transaction cannot exceed 4 MB.</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* </ul>
|
|
36
|
-
* @example
|
|
37
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
38
|
-
* ```javascript
|
|
39
|
-
* import { DynamoDBClient, TransactGetItemsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
40
|
-
* // const { DynamoDBClient, TransactGetItemsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
41
|
-
* const client = new DynamoDBClient(config);
|
|
42
|
-
* const command = new TransactGetItemsCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link TransactGetItemsCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link TransactGetItemsCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
9
|
+
|
|
51
10
|
export declare class TransactGetItemsCommand extends $Command<TransactGetItemsCommandInput, TransactGetItemsCommandOutput, DynamoDBClientResolvedConfig> {
|
|
52
11
|
readonly input: TransactGetItemsCommandInput;
|
|
53
12
|
constructor(input: TransactGetItemsCommandInput);
|
|
54
|
-
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
13
|
+
|
|
57
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TransactGetItemsCommandInput, TransactGetItemsCommandOutput>;
|
|
58
15
|
private serialize;
|
|
59
16
|
private deserialize;
|
|
@@ -6,102 +6,11 @@ export interface TransactWriteItemsCommandInput extends TransactWriteItemsInput
|
|
|
6
6
|
}
|
|
7
7
|
export interface TransactWriteItemsCommandOutput extends TransactWriteItemsOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>
|
|
11
|
-
* <code>TransactWriteItems</code> is a synchronous write operation that groups up to 25
|
|
12
|
-
* action requests. These actions can target items in different tables, but not in
|
|
13
|
-
* different AWS accounts or Regions, and no two actions can target the same item. For
|
|
14
|
-
* example, you cannot both <code>ConditionCheck</code> and <code>Update</code> the same
|
|
15
|
-
* item. The aggregate size of the items in the transaction cannot exceed 4 MB.</p>
|
|
16
|
-
*
|
|
17
|
-
* <p>The actions are completed atomically so that either all of
|
|
18
|
-
* them succeed, or all of them fail. They are defined by the following objects:</p>
|
|
19
|
-
*
|
|
20
|
-
* <ul>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>
|
|
23
|
-
* <code>Put</code> Initiates a <code>PutItem</code> operation to write a new
|
|
24
|
-
* item. This structure specifies the primary key of the item to be written, the
|
|
25
|
-
* name of the table to write it in, an optional condition expression that must be
|
|
26
|
-
* satisfied for the write to succeed, a list of the item's attributes, and a field
|
|
27
|
-
* indicating whether to retrieve the item's attributes if the condition is not
|
|
28
|
-
* met.</p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>
|
|
32
|
-
* <code>Update</code> Initiates an <code>UpdateItem</code> operation to
|
|
33
|
-
* update an existing item. This structure specifies the primary key of the item to
|
|
34
|
-
* be updated, the name of the table where it resides, an optional condition
|
|
35
|
-
* expression that must be satisfied for the update to succeed, an expression that
|
|
36
|
-
* defines one or more attributes to be updated, and a field indicating whether to
|
|
37
|
-
* retrieve the item's attributes if the condition is not met.</p>
|
|
38
|
-
* </li>
|
|
39
|
-
* <li>
|
|
40
|
-
* <p>
|
|
41
|
-
* <code>Delete</code> Initiates a <code>DeleteItem</code> operation to
|
|
42
|
-
* delete an existing item. This structure specifies the primary key of the item to
|
|
43
|
-
* be deleted, the name of the table where it resides, an optional condition
|
|
44
|
-
* expression that must be satisfied for the deletion to succeed, and a field
|
|
45
|
-
* indicating whether to retrieve the item's attributes if the condition is not
|
|
46
|
-
* met.</p>
|
|
47
|
-
* </li>
|
|
48
|
-
* <li>
|
|
49
|
-
* <p>
|
|
50
|
-
* <code>ConditionCheck</code> Applies a condition to an item that is not
|
|
51
|
-
* being modified by the transaction. This structure specifies the primary key of
|
|
52
|
-
* the item to be checked, the name of the table where it resides, a condition
|
|
53
|
-
* expression that must be satisfied for the transaction to succeed, and a field
|
|
54
|
-
* indicating whether to retrieve the item's attributes if the condition is not
|
|
55
|
-
* met.</p>
|
|
56
|
-
* </li>
|
|
57
|
-
* </ul>
|
|
58
|
-
*
|
|
59
|
-
* <p>DynamoDB rejects the entire <code>TransactWriteItems</code> request if any of the following is true:</p>
|
|
60
|
-
* <ul>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>A condition in one of the condition expressions is not met.</p>
|
|
63
|
-
* </li>
|
|
64
|
-
* <li>
|
|
65
|
-
* <p>An ongoing operation is in the process of updating the same
|
|
66
|
-
* item.</p>
|
|
67
|
-
* </li>
|
|
68
|
-
* <li>
|
|
69
|
-
* <p>There is insufficient provisioned capacity for the transaction
|
|
70
|
-
* to be completed.</p>
|
|
71
|
-
* </li>
|
|
72
|
-
* <li>
|
|
73
|
-
* <p>An item size becomes too large (bigger than 400 KB), a local secondary index (LSI) becomes too
|
|
74
|
-
* large, or a similar validation error occurs because of changes made by the
|
|
75
|
-
* transaction.</p>
|
|
76
|
-
* </li>
|
|
77
|
-
* <li>
|
|
78
|
-
* <p>The aggregate size of the items in the transaction exceeds 4 MB.</p>
|
|
79
|
-
* </li>
|
|
80
|
-
* <li>
|
|
81
|
-
* <p>There is a user error, such as an invalid data format.</p>
|
|
82
|
-
* </li>
|
|
83
|
-
* </ul>
|
|
84
|
-
* @example
|
|
85
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
86
|
-
* ```javascript
|
|
87
|
-
* import { DynamoDBClient, TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
88
|
-
* // const { DynamoDBClient, TransactWriteItemsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
89
|
-
* const client = new DynamoDBClient(config);
|
|
90
|
-
* const command = new TransactWriteItemsCommand(input);
|
|
91
|
-
* const response = await client.send(command);
|
|
92
|
-
* ```
|
|
93
|
-
*
|
|
94
|
-
* @see {@link TransactWriteItemsCommandInput} for command's `input` shape.
|
|
95
|
-
* @see {@link TransactWriteItemsCommandOutput} for command's `response` shape.
|
|
96
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
97
|
-
*
|
|
98
|
-
*/
|
|
9
|
+
|
|
99
10
|
export declare class TransactWriteItemsCommand extends $Command<TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput, DynamoDBClientResolvedConfig> {
|
|
100
11
|
readonly input: TransactWriteItemsCommandInput;
|
|
101
12
|
constructor(input: TransactWriteItemsCommandInput);
|
|
102
|
-
|
|
103
|
-
* @internal
|
|
104
|
-
*/
|
|
13
|
+
|
|
105
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput>;
|
|
106
15
|
private serialize;
|
|
107
16
|
private deserialize;
|
|
@@ -6,33 +6,11 @@ export interface UntagResourceCommandInput extends UntagResourceInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Removes the association of tags from an Amazon DynamoDB resource. You can call
|
|
11
|
-
* <code>UntagResource</code> up to five times per second, per account. </p>
|
|
12
|
-
* <p>For an overview on tagging DynamoDB resources, see
|
|
13
|
-
* <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html">Tagging for DynamoDB</a>
|
|
14
|
-
* in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { DynamoDBClient, UntagResourceCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
19
|
-
* // const { DynamoDBClient, UntagResourceCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
20
|
-
* const client = new DynamoDBClient(config);
|
|
21
|
-
* const command = new UntagResourceCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
9
|
+
|
|
30
10
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, DynamoDBClientResolvedConfig> {
|
|
31
11
|
readonly input: UntagResourceCommandInput;
|
|
32
12
|
constructor(input: UntagResourceCommandInput);
|
|
33
|
-
|
|
34
|
-
* @internal
|
|
35
|
-
*/
|
|
13
|
+
|
|
36
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
|
|
37
15
|
private serialize;
|
|
38
16
|
private deserialize;
|
|
@@ -6,40 +6,11 @@ export interface UpdateContinuousBackupsCommandInput extends UpdateContinuousBac
|
|
|
6
6
|
}
|
|
7
7
|
export interface UpdateContinuousBackupsCommandOutput extends UpdateContinuousBackupsOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>
|
|
11
|
-
* <code>UpdateContinuousBackups</code> enables or disables point in time recovery for the specified table.
|
|
12
|
-
* A successful <code>UpdateContinuousBackups</code> call returns the current <code>ContinuousBackupsDescription</code>.
|
|
13
|
-
* Continuous backups are <code>ENABLED</code> on all tables at table creation.
|
|
14
|
-
* If point in time recovery is enabled, <code>PointInTimeRecoveryStatus</code> will be set to ENABLED.</p>
|
|
15
|
-
* <p>
|
|
16
|
-
* Once continuous backups and point in time recovery are enabled, you can restore to any point in time within
|
|
17
|
-
* <code>EarliestRestorableDateTime</code> and <code>LatestRestorableDateTime</code>.
|
|
18
|
-
* </p>
|
|
19
|
-
* <p>
|
|
20
|
-
* <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.
|
|
21
|
-
* You can restore your table to any point in time during the last 35 days. </p>
|
|
22
|
-
* @example
|
|
23
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
24
|
-
* ```javascript
|
|
25
|
-
* import { DynamoDBClient, UpdateContinuousBackupsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
26
|
-
* // const { DynamoDBClient, UpdateContinuousBackupsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
27
|
-
* const client = new DynamoDBClient(config);
|
|
28
|
-
* const command = new UpdateContinuousBackupsCommand(input);
|
|
29
|
-
* const response = await client.send(command);
|
|
30
|
-
* ```
|
|
31
|
-
*
|
|
32
|
-
* @see {@link UpdateContinuousBackupsCommandInput} for command's `input` shape.
|
|
33
|
-
* @see {@link UpdateContinuousBackupsCommandOutput} for command's `response` shape.
|
|
34
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
9
|
+
|
|
37
10
|
export declare class UpdateContinuousBackupsCommand extends $Command<UpdateContinuousBackupsCommandInput, UpdateContinuousBackupsCommandOutput, DynamoDBClientResolvedConfig> {
|
|
38
11
|
readonly input: UpdateContinuousBackupsCommandInput;
|
|
39
12
|
constructor(input: UpdateContinuousBackupsCommandInput);
|
|
40
|
-
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
13
|
+
|
|
43
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateContinuousBackupsCommandInput, UpdateContinuousBackupsCommandOutput>;
|
|
44
15
|
private serialize;
|
|
45
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface UpdateContributorInsightsCommandInput extends UpdateContributor
|
|
|
6
6
|
}
|
|
7
7
|
export interface UpdateContributorInsightsCommandOutput extends UpdateContributorInsightsOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Updates the status for contributor insights for a specific table or index.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { DynamoDBClient, UpdateContributorInsightsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
15
|
-
* // const { DynamoDBClient, UpdateContributorInsightsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
16
|
-
* const client = new DynamoDBClient(config);
|
|
17
|
-
* const command = new UpdateContributorInsightsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UpdateContributorInsightsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UpdateContributorInsightsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class UpdateContributorInsightsCommand extends $Command<UpdateContributorInsightsCommandInput, UpdateContributorInsightsCommandOutput, DynamoDBClientResolvedConfig> {
|
|
27
11
|
readonly input: UpdateContributorInsightsCommandInput;
|
|
28
12
|
constructor(input: UpdateContributorInsightsCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateContributorInsightsCommandInput, UpdateContributorInsightsCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,57 +6,11 @@ export interface UpdateGlobalTableCommandInput extends UpdateGlobalTableInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface UpdateGlobalTableCommandOutput extends UpdateGlobalTableOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Adds or removes replicas in the specified global table. The global table must already
|
|
11
|
-
* exist to be able to use this operation. Any replica to be added must be empty, have the
|
|
12
|
-
* same name as the global table, have the same key schema, have DynamoDB Streams enabled,
|
|
13
|
-
* and have the same provisioned and maximum write capacity units.</p>
|
|
14
|
-
* <note>
|
|
15
|
-
* <p>Although you can use <code>UpdateGlobalTable</code> to add replicas and remove replicas in
|
|
16
|
-
* a single request, for simplicity we recommend that you issue separate requests for
|
|
17
|
-
* adding or removing replicas.</p>
|
|
18
|
-
* </note>
|
|
19
|
-
* <p>
|
|
20
|
-
* If global secondary indexes are specified, then the following conditions must also be met:
|
|
21
|
-
* </p>
|
|
22
|
-
* <ul>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>
|
|
25
|
-
* The global secondary indexes must have the same name.
|
|
26
|
-
* </p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>
|
|
30
|
-
* The global secondary indexes must have the same hash key and sort key (if present).
|
|
31
|
-
* </p>
|
|
32
|
-
* </li>
|
|
33
|
-
* <li>
|
|
34
|
-
* <p>
|
|
35
|
-
* The global secondary indexes must have the same provisioned and maximum write capacity units.
|
|
36
|
-
* </p>
|
|
37
|
-
* </li>
|
|
38
|
-
* </ul>
|
|
39
|
-
* @example
|
|
40
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
-
* ```javascript
|
|
42
|
-
* import { DynamoDBClient, UpdateGlobalTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
43
|
-
* // const { DynamoDBClient, UpdateGlobalTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
44
|
-
* const client = new DynamoDBClient(config);
|
|
45
|
-
* const command = new UpdateGlobalTableCommand(input);
|
|
46
|
-
* const response = await client.send(command);
|
|
47
|
-
* ```
|
|
48
|
-
*
|
|
49
|
-
* @see {@link UpdateGlobalTableCommandInput} for command's `input` shape.
|
|
50
|
-
* @see {@link UpdateGlobalTableCommandOutput} for command's `response` shape.
|
|
51
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
52
|
-
*
|
|
53
|
-
*/
|
|
9
|
+
|
|
54
10
|
export declare class UpdateGlobalTableCommand extends $Command<UpdateGlobalTableCommandInput, UpdateGlobalTableCommandOutput, DynamoDBClientResolvedConfig> {
|
|
55
11
|
readonly input: UpdateGlobalTableCommandInput;
|
|
56
12
|
constructor(input: UpdateGlobalTableCommandInput);
|
|
57
|
-
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
13
|
+
|
|
60
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateGlobalTableCommandInput, UpdateGlobalTableCommandOutput>;
|
|
61
15
|
private serialize;
|
|
62
16
|
private deserialize;
|
|
@@ -6,29 +6,11 @@ export interface UpdateGlobalTableSettingsCommandInput extends UpdateGlobalTable
|
|
|
6
6
|
}
|
|
7
7
|
export interface UpdateGlobalTableSettingsCommandOutput extends UpdateGlobalTableSettingsOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Updates settings for a global table.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { DynamoDBClient, UpdateGlobalTableSettingsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
15
|
-
* // const { DynamoDBClient, UpdateGlobalTableSettingsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
16
|
-
* const client = new DynamoDBClient(config);
|
|
17
|
-
* const command = new UpdateGlobalTableSettingsCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link UpdateGlobalTableSettingsCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link UpdateGlobalTableSettingsCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
9
|
+
|
|
26
10
|
export declare class UpdateGlobalTableSettingsCommand extends $Command<UpdateGlobalTableSettingsCommandInput, UpdateGlobalTableSettingsCommandOutput, DynamoDBClientResolvedConfig> {
|
|
27
11
|
readonly input: UpdateGlobalTableSettingsCommandInput;
|
|
28
12
|
constructor(input: UpdateGlobalTableSettingsCommandInput);
|
|
29
|
-
|
|
30
|
-
* @internal
|
|
31
|
-
*/
|
|
13
|
+
|
|
32
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateGlobalTableSettingsCommandInput, UpdateGlobalTableSettingsCommandOutput>;
|
|
33
15
|
private serialize;
|
|
34
16
|
private deserialize;
|
|
@@ -6,31 +6,11 @@ export interface UpdateItemCommandInput extends UpdateItemInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface UpdateItemCommandOutput extends UpdateItemOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Edits an existing item's attributes, or adds a new item to the table if it does not already exist. You can put, delete, or add attribute values. You can also perform a conditional update on an existing item (insert a new attribute name-value pair if it doesn't exist, or replace an existing name-value pair if it has certain expected attribute values).</p>
|
|
11
|
-
* <p>You can also return the item's attribute values in the same <code>UpdateItem</code>
|
|
12
|
-
* operation using the <code>ReturnValues</code> parameter.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { DynamoDBClient, UpdateItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
17
|
-
* // const { DynamoDBClient, UpdateItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
18
|
-
* const client = new DynamoDBClient(config);
|
|
19
|
-
* const command = new UpdateItemCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link UpdateItemCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link UpdateItemCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
9
|
+
|
|
28
10
|
export declare class UpdateItemCommand extends $Command<UpdateItemCommandInput, UpdateItemCommandOutput, DynamoDBClientResolvedConfig> {
|
|
29
11
|
readonly input: UpdateItemCommandInput;
|
|
30
12
|
constructor(input: UpdateItemCommandInput);
|
|
31
|
-
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
13
|
+
|
|
34
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateItemCommandInput, UpdateItemCommandOutput>;
|
|
35
15
|
private serialize;
|
|
36
16
|
private deserialize;
|
|
@@ -6,51 +6,11 @@ export interface UpdateTableCommandInput extends UpdateTableInput {
|
|
|
6
6
|
}
|
|
7
7
|
export interface UpdateTableCommandOutput extends UpdateTableOutput, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Modifies the provisioned throughput settings, global secondary indexes, or DynamoDB Streams settings for a given table.</p>
|
|
11
|
-
* <p>You can only perform one of the following operations at once:</p>
|
|
12
|
-
* <ul>
|
|
13
|
-
* <li>
|
|
14
|
-
* <p>Modify the provisioned throughput settings of the table.</p>
|
|
15
|
-
* </li>
|
|
16
|
-
* <li>
|
|
17
|
-
* <p>Enable or disable DynamoDB Streams on the table.</p>
|
|
18
|
-
* </li>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>Remove a global secondary index from the table.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>Create a new global secondary index on the table. After the index begins
|
|
24
|
-
* backfilling, you can use <code>UpdateTable</code> to perform other
|
|
25
|
-
* operations.</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* </ul>
|
|
28
|
-
* <p>
|
|
29
|
-
* <code>UpdateTable</code> is an asynchronous operation; while it is executing, the table status
|
|
30
|
-
* changes from <code>ACTIVE</code> to <code>UPDATING</code>. While it is <code>UPDATING</code>,
|
|
31
|
-
* you cannot issue another <code>UpdateTable</code> request. When the table returns to the
|
|
32
|
-
* <code>ACTIVE</code> state, the <code>UpdateTable</code> operation is complete.</p>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { DynamoDBClient, UpdateTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
37
|
-
* // const { DynamoDBClient, UpdateTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
38
|
-
* const client = new DynamoDBClient(config);
|
|
39
|
-
* const command = new UpdateTableCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link UpdateTableCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link UpdateTableCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
9
|
+
|
|
48
10
|
export declare class UpdateTableCommand extends $Command<UpdateTableCommandInput, UpdateTableCommandOutput, DynamoDBClientResolvedConfig> {
|
|
49
11
|
readonly input: UpdateTableCommandInput;
|
|
50
12
|
constructor(input: UpdateTableCommandInput);
|
|
51
|
-
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
13
|
+
|
|
54
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTableCommandInput, UpdateTableCommandOutput>;
|
|
55
15
|
private serialize;
|
|
56
16
|
private deserialize;
|