@aws-sdk/client-dynamodb 3.30.0 → 3.34.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 +35 -0
- package/dist/cjs/DynamoDBClient.js +14 -14
- package/dist/cjs/DynamoDBClient.js.map +1 -1
- package/dist/cjs/commands/BatchExecuteStatementCommand.js +3 -3
- package/dist/cjs/commands/BatchExecuteStatementCommand.js.map +1 -1
- package/dist/cjs/commands/BatchGetItemCommand.js +3 -3
- package/dist/cjs/commands/BatchGetItemCommand.js.map +1 -1
- package/dist/cjs/commands/BatchWriteItemCommand.js +3 -3
- package/dist/cjs/commands/BatchWriteItemCommand.js.map +1 -1
- package/dist/cjs/commands/CreateBackupCommand.js +3 -3
- package/dist/cjs/commands/CreateBackupCommand.js.map +1 -1
- package/dist/cjs/commands/CreateGlobalTableCommand.js +3 -3
- package/dist/cjs/commands/CreateGlobalTableCommand.js.map +1 -1
- package/dist/cjs/commands/CreateTableCommand.js +3 -3
- package/dist/cjs/commands/CreateTableCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteBackupCommand.js +3 -3
- package/dist/cjs/commands/DeleteBackupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteItemCommand.js +3 -3
- package/dist/cjs/commands/DeleteItemCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteTableCommand.js +3 -3
- package/dist/cjs/commands/DeleteTableCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeBackupCommand.js +3 -3
- package/dist/cjs/commands/DescribeBackupCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeContinuousBackupsCommand.js +3 -3
- package/dist/cjs/commands/DescribeContinuousBackupsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeContributorInsightsCommand.js +3 -3
- package/dist/cjs/commands/DescribeContributorInsightsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeEndpointsCommand.js +3 -3
- package/dist/cjs/commands/DescribeEndpointsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeExportCommand.js +3 -3
- package/dist/cjs/commands/DescribeExportCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeGlobalTableCommand.js +3 -3
- package/dist/cjs/commands/DescribeGlobalTableCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeGlobalTableSettingsCommand.js +3 -3
- package/dist/cjs/commands/DescribeGlobalTableSettingsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeKinesisStreamingDestinationCommand.js +3 -3
- package/dist/cjs/commands/DescribeKinesisStreamingDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeLimitsCommand.js +3 -3
- package/dist/cjs/commands/DescribeLimitsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTableCommand.js +3 -3
- package/dist/cjs/commands/DescribeTableCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTableReplicaAutoScalingCommand.js +3 -3
- package/dist/cjs/commands/DescribeTableReplicaAutoScalingCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTimeToLiveCommand.js +3 -3
- package/dist/cjs/commands/DescribeTimeToLiveCommand.js.map +1 -1
- package/dist/cjs/commands/DisableKinesisStreamingDestinationCommand.js +3 -3
- package/dist/cjs/commands/DisableKinesisStreamingDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/EnableKinesisStreamingDestinationCommand.js +3 -3
- package/dist/cjs/commands/EnableKinesisStreamingDestinationCommand.js.map +1 -1
- package/dist/cjs/commands/ExecuteStatementCommand.js +3 -3
- package/dist/cjs/commands/ExecuteStatementCommand.js.map +1 -1
- package/dist/cjs/commands/ExecuteTransactionCommand.js +3 -3
- package/dist/cjs/commands/ExecuteTransactionCommand.js.map +1 -1
- package/dist/cjs/commands/ExportTableToPointInTimeCommand.js +3 -3
- package/dist/cjs/commands/ExportTableToPointInTimeCommand.js.map +1 -1
- package/dist/cjs/commands/GetItemCommand.js +3 -3
- package/dist/cjs/commands/GetItemCommand.js.map +1 -1
- package/dist/cjs/commands/ListBackupsCommand.js +3 -3
- package/dist/cjs/commands/ListBackupsCommand.js.map +1 -1
- package/dist/cjs/commands/ListContributorInsightsCommand.js +3 -3
- package/dist/cjs/commands/ListContributorInsightsCommand.js.map +1 -1
- package/dist/cjs/commands/ListExportsCommand.js +3 -3
- package/dist/cjs/commands/ListExportsCommand.js.map +1 -1
- package/dist/cjs/commands/ListGlobalTablesCommand.js +3 -3
- package/dist/cjs/commands/ListGlobalTablesCommand.js.map +1 -1
- package/dist/cjs/commands/ListTablesCommand.js +3 -3
- package/dist/cjs/commands/ListTablesCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsOfResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsOfResourceCommand.js.map +1 -1
- package/dist/cjs/commands/PutItemCommand.js +3 -3
- package/dist/cjs/commands/PutItemCommand.js.map +1 -1
- package/dist/cjs/commands/QueryCommand.js +3 -3
- package/dist/cjs/commands/QueryCommand.js.map +1 -1
- package/dist/cjs/commands/RestoreTableFromBackupCommand.js +3 -3
- package/dist/cjs/commands/RestoreTableFromBackupCommand.js.map +1 -1
- package/dist/cjs/commands/RestoreTableToPointInTimeCommand.js +3 -3
- package/dist/cjs/commands/RestoreTableToPointInTimeCommand.js.map +1 -1
- package/dist/cjs/commands/ScanCommand.js +3 -3
- package/dist/cjs/commands/ScanCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/TransactGetItemsCommand.js +3 -3
- package/dist/cjs/commands/TransactGetItemsCommand.js.map +1 -1
- package/dist/cjs/commands/TransactWriteItemsCommand.js +3 -3
- package/dist/cjs/commands/TransactWriteItemsCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateContinuousBackupsCommand.js +3 -3
- package/dist/cjs/commands/UpdateContinuousBackupsCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateContributorInsightsCommand.js +3 -3
- package/dist/cjs/commands/UpdateContributorInsightsCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateGlobalTableCommand.js +3 -3
- package/dist/cjs/commands/UpdateGlobalTableCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateGlobalTableSettingsCommand.js +3 -3
- package/dist/cjs/commands/UpdateGlobalTableSettingsCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateItemCommand.js +3 -3
- package/dist/cjs/commands/UpdateItemCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateTableCommand.js +3 -3
- package/dist/cjs/commands/UpdateTableCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateTableReplicaAutoScalingCommand.js +3 -3
- package/dist/cjs/commands/UpdateTableReplicaAutoScalingCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateTimeToLiveCommand.js +3 -3
- package/dist/cjs/commands/UpdateTimeToLiveCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +61 -61
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +41 -41
- package/dist/cjs/protocols/Aws_json1_0.js +252 -250
- package/dist/cjs/protocols/Aws_json1_0.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +9 -9
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForTableExists.js +3 -3
- package/dist/cjs/waiters/waitForTableExists.js.map +1 -1
- package/dist/cjs/waiters/waitForTableNotExists.js +3 -3
- package/dist/cjs/waiters/waitForTableNotExists.js.map +1 -1
- package/dist/es/DynamoDB.js +1 -22
- package/dist/es/DynamoDB.js.map +1 -1
- package/dist/es/DynamoDBClient.js +1 -27
- package/dist/es/DynamoDBClient.js.map +1 -1
- package/dist/es/commands/BatchExecuteStatementCommand.js +2 -29
- package/dist/es/commands/BatchExecuteStatementCommand.js.map +1 -1
- package/dist/es/commands/BatchGetItemCommand.js +2 -72
- package/dist/es/commands/BatchGetItemCommand.js.map +1 -1
- package/dist/es/commands/BatchWriteItemCommand.js +2 -101
- package/dist/es/commands/BatchWriteItemCommand.js.map +1 -1
- package/dist/es/commands/CreateBackupCommand.js +2 -56
- package/dist/es/commands/CreateBackupCommand.js.map +1 -1
- package/dist/es/commands/CreateGlobalTableCommand.js +2 -94
- package/dist/es/commands/CreateGlobalTableCommand.js.map +1 -1
- package/dist/es/commands/CreateTableCommand.js +2 -39
- package/dist/es/commands/CreateTableCommand.js.map +1 -1
- package/dist/es/commands/DeleteBackupCommand.js +2 -28
- package/dist/es/commands/DeleteBackupCommand.js.map +1 -1
- package/dist/es/commands/DeleteItemCommand.js +2 -32
- package/dist/es/commands/DeleteItemCommand.js.map +1 -1
- package/dist/es/commands/DeleteTableCommand.js +2 -43
- package/dist/es/commands/DeleteTableCommand.js.map +1 -1
- package/dist/es/commands/DescribeBackupCommand.js +2 -28
- package/dist/es/commands/DescribeBackupCommand.js.map +1 -1
- package/dist/es/commands/DescribeContinuousBackupsCommand.js +2 -37
- package/dist/es/commands/DescribeContinuousBackupsCommand.js.map +1 -1
- package/dist/es/commands/DescribeContributorInsightsCommand.js +2 -27
- package/dist/es/commands/DescribeContributorInsightsCommand.js.map +1 -1
- package/dist/es/commands/DescribeEndpointsCommand.js +2 -27
- package/dist/es/commands/DescribeEndpointsCommand.js.map +1 -1
- package/dist/es/commands/DescribeExportCommand.js +2 -27
- package/dist/es/commands/DescribeExportCommand.js.map +1 -1
- package/dist/es/commands/DescribeGlobalTableCommand.js +2 -31
- package/dist/es/commands/DescribeGlobalTableCommand.js.map +1 -1
- package/dist/es/commands/DescribeGlobalTableSettingsCommand.js +2 -30
- package/dist/es/commands/DescribeGlobalTableSettingsCommand.js.map +1 -1
- package/dist/es/commands/DescribeKinesisStreamingDestinationCommand.js +2 -27
- package/dist/es/commands/DescribeKinesisStreamingDestinationCommand.js.map +1 -1
- package/dist/es/commands/DescribeLimitsCommand.js +2 -90
- package/dist/es/commands/DescribeLimitsCommand.js.map +1 -1
- package/dist/es/commands/DescribeTableCommand.js +2 -33
- package/dist/es/commands/DescribeTableCommand.js.map +1 -1
- package/dist/es/commands/DescribeTableReplicaAutoScalingCommand.js +2 -30
- package/dist/es/commands/DescribeTableReplicaAutoScalingCommand.js.map +1 -1
- package/dist/es/commands/DescribeTimeToLiveCommand.js +2 -27
- package/dist/es/commands/DescribeTimeToLiveCommand.js.map +1 -1
- package/dist/es/commands/DisableKinesisStreamingDestinationCommand.js +2 -28
- package/dist/es/commands/DisableKinesisStreamingDestinationCommand.js.map +1 -1
- package/dist/es/commands/EnableKinesisStreamingDestinationCommand.js +2 -30
- package/dist/es/commands/EnableKinesisStreamingDestinationCommand.js.map +1 -1
- package/dist/es/commands/ExecuteStatementCommand.js +2 -29
- package/dist/es/commands/ExecuteStatementCommand.js.map +1 -1
- package/dist/es/commands/ExecuteTransactionCommand.js +2 -29
- package/dist/es/commands/ExecuteTransactionCommand.js.map +1 -1
- package/dist/es/commands/ExportTableToPointInTimeCommand.js +2 -29
- package/dist/es/commands/ExportTableToPointInTimeCommand.js.map +1 -1
- package/dist/es/commands/GetItemCommand.js +2 -33
- package/dist/es/commands/GetItemCommand.js.map +1 -1
- package/dist/es/commands/ListBackupsCommand.js +2 -33
- package/dist/es/commands/ListBackupsCommand.js.map +1 -1
- package/dist/es/commands/ListContributorInsightsCommand.js +2 -27
- package/dist/es/commands/ListContributorInsightsCommand.js.map +1 -1
- package/dist/es/commands/ListExportsCommand.js +2 -27
- package/dist/es/commands/ListExportsCommand.js.map +1 -1
- package/dist/es/commands/ListGlobalTablesCommand.js +2 -30
- package/dist/es/commands/ListGlobalTablesCommand.js.map +1 -1
- package/dist/es/commands/ListTablesCommand.js +2 -29
- package/dist/es/commands/ListTablesCommand.js.map +1 -1
- package/dist/es/commands/ListTagsOfResourceCommand.js +2 -30
- package/dist/es/commands/ListTagsOfResourceCommand.js.map +1 -1
- package/dist/es/commands/PutItemCommand.js +2 -94
- package/dist/es/commands/PutItemCommand.js.map +1 -1
- package/dist/es/commands/QueryCommand.js +2 -82
- package/dist/es/commands/QueryCommand.js.map +1 -1
- package/dist/es/commands/RestoreTableFromBackupCommand.js +2 -51
- package/dist/es/commands/RestoreTableFromBackupCommand.js.map +1 -1
- package/dist/es/commands/RestoreTableToPointInTimeCommand.js +2 -82
- package/dist/es/commands/RestoreTableToPointInTimeCommand.js.map +1 -1
- package/dist/es/commands/ScanCommand.js +2 -51
- package/dist/es/commands/ScanCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -33
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/TransactGetItemsCommand.js +2 -52
- package/dist/es/commands/TransactGetItemsCommand.js.map +1 -1
- package/dist/es/commands/TransactWriteItemsCommand.js +2 -100
- package/dist/es/commands/TransactWriteItemsCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -31
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateContinuousBackupsCommand.js +2 -38
- package/dist/es/commands/UpdateContinuousBackupsCommand.js.map +1 -1
- package/dist/es/commands/UpdateContributorInsightsCommand.js +2 -27
- package/dist/es/commands/UpdateContributorInsightsCommand.js.map +1 -1
- package/dist/es/commands/UpdateGlobalTableCommand.js +2 -55
- package/dist/es/commands/UpdateGlobalTableCommand.js.map +1 -1
- package/dist/es/commands/UpdateGlobalTableSettingsCommand.js +2 -27
- package/dist/es/commands/UpdateGlobalTableSettingsCommand.js.map +1 -1
- package/dist/es/commands/UpdateItemCommand.js +2 -29
- package/dist/es/commands/UpdateItemCommand.js.map +1 -1
- package/dist/es/commands/UpdateTableCommand.js +2 -49
- package/dist/es/commands/UpdateTableCommand.js.map +1 -1
- package/dist/es/commands/UpdateTableReplicaAutoScalingCommand.js +2 -30
- package/dist/es/commands/UpdateTableReplicaAutoScalingCommand.js.map +1 -1
- package/dist/es/commands/UpdateTimeToLiveCommand.js +2 -51
- package/dist/es/commands/UpdateTimeToLiveCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -660
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +41 -41
- package/dist/es/pagination/ListContributorInsightsPaginator.js +16 -28
- package/dist/es/pagination/ListContributorInsightsPaginator.js.map +1 -1
- package/dist/es/pagination/ListExportsPaginator.js +16 -28
- package/dist/es/pagination/ListExportsPaginator.js.map +1 -1
- package/dist/es/pagination/ListTablesPaginator.js +16 -28
- package/dist/es/pagination/ListTablesPaginator.js.map +1 -1
- package/dist/es/pagination/QueryPaginator.js +16 -28
- package/dist/es/pagination/QueryPaginator.js.map +1 -1
- package/dist/es/pagination/ScanPaginator.js +16 -28
- package/dist/es/pagination/ScanPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_0.js +1306 -1309
- package/dist/es/protocols/Aws_json1_0.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/es/waiters/waitForTableExists.js +9 -18
- package/dist/es/waiters/waitForTableExists.js.map +1 -1
- package/dist/es/waiters/waitForTableNotExists.js +8 -17
- package/dist/es/waiters/waitForTableNotExists.js.map +1 -1
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +41 -41
- package/protocols/Aws_json1_0.ts +32 -26
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,44 +3,13 @@ import { TagResourceInput } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_0TagResourceCommand, serializeAws_json1_0TagResourceCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Associate a set of tags with an Amazon DynamoDB resource. You can then activate these
|
|
8
|
-
* user-defined tags so that they appear on the Billing and Cost Management console for
|
|
9
|
-
* cost allocation tracking. You can call TagResource up to five times per second, per
|
|
10
|
-
* account. </p>
|
|
11
|
-
* <p>For an overview on tagging DynamoDB resources, see
|
|
12
|
-
* <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html">Tagging for DynamoDB</a>
|
|
13
|
-
* in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { DynamoDBClient, TagResourceCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
18
|
-
* // const { DynamoDBClient, TagResourceCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
19
|
-
* const client = new DynamoDBClient(config);
|
|
20
|
-
* const command = new TagResourceCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
var TagResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
30
7
|
__extends(TagResourceCommand, _super);
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
8
|
function TagResourceCommand(input) {
|
|
34
|
-
var _this =
|
|
35
|
-
// Start section: command_constructor
|
|
36
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
37
10
|
_this.input = input;
|
|
38
11
|
return _this;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagResourceCommand.js","sourceRoot":"","sources":["../../../commands/TagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"TagResourceCommand.js","sourceRoot":"","sources":["../../../commands/TagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAA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,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
|
|
@@ -3,63 +3,13 @@ import { TransactGetItemsInput, TransactGetItemsOutput } from "../models/models_
|
|
|
3
3
|
import { deserializeAws_json1_0TransactGetItemsCommand, serializeAws_json1_0TransactGetItemsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>
|
|
8
|
-
* <code>TransactGetItems</code> is a synchronous operation that atomically retrieves
|
|
9
|
-
* multiple items from one or more tables (but not from indexes) in a single account and
|
|
10
|
-
* Region. A <code>TransactGetItems</code> call can contain up to 25
|
|
11
|
-
* <code>TransactGetItem</code> objects, each of which contains a <code>Get</code>
|
|
12
|
-
* structure that specifies an item to retrieve from a table in the account and Region. A
|
|
13
|
-
* call to <code>TransactGetItems</code> cannot retrieve items from tables in more than one
|
|
14
|
-
* AWS account or Region. The aggregate size of the items in the transaction cannot exceed
|
|
15
|
-
* 4 MB.</p>
|
|
16
|
-
* <p>DynamoDB rejects the entire <code>TransactGetItems</code> request if any of the following is true:</p>
|
|
17
|
-
* <ul>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>A conflicting operation is in the process of updating an
|
|
20
|
-
* item to be read.</p>
|
|
21
|
-
* </li>
|
|
22
|
-
* <li>
|
|
23
|
-
* <p>There is insufficient provisioned capacity for the transaction
|
|
24
|
-
* to be completed.</p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>There is a user error, such as an invalid data format.</p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>The aggregate size of the items in the transaction cannot exceed 4 MB.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* </ul>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { DynamoDBClient, TransactGetItemsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
37
|
-
* // const { DynamoDBClient, TransactGetItemsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
38
|
-
* const client = new DynamoDBClient(config);
|
|
39
|
-
* const command = new TransactGetItemsCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link TransactGetItemsCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link TransactGetItemsCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
var TransactGetItemsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var TransactGetItemsCommand = (function (_super) {
|
|
49
7
|
__extends(TransactGetItemsCommand, _super);
|
|
50
|
-
// Start section: command_properties
|
|
51
|
-
// End section: command_properties
|
|
52
8
|
function TransactGetItemsCommand(input) {
|
|
53
|
-
var _this =
|
|
54
|
-
// Start section: command_constructor
|
|
55
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
56
10
|
_this.input = input;
|
|
57
11
|
return _this;
|
|
58
|
-
// End section: command_constructor
|
|
59
12
|
}
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
13
|
TransactGetItemsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
64
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactGetItemsCommand.js","sourceRoot":"","sources":["../../../commands/TransactGetItemsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,M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CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAtDD,CAA6C,QAAQ,GAsDpD"}
|
|
@@ -3,111 +3,13 @@ import { TransactWriteItemsInput, TransactWriteItemsOutput } from "../models/mod
|
|
|
3
3
|
import { deserializeAws_json1_0TransactWriteItemsCommand, serializeAws_json1_0TransactWriteItemsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>
|
|
8
|
-
* <code>TransactWriteItems</code> is a synchronous write operation that groups up to 25
|
|
9
|
-
* action requests. These actions can target items in different tables, but not in
|
|
10
|
-
* different AWS accounts or Regions, and no two actions can target the same item. For
|
|
11
|
-
* example, you cannot both <code>ConditionCheck</code> and <code>Update</code> the same
|
|
12
|
-
* item. The aggregate size of the items in the transaction cannot exceed 4 MB.</p>
|
|
13
|
-
*
|
|
14
|
-
* <p>The actions are completed atomically so that either all of
|
|
15
|
-
* them succeed, or all of them fail. They are defined by the following objects:</p>
|
|
16
|
-
*
|
|
17
|
-
* <ul>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>
|
|
20
|
-
* <code>Put</code> Initiates a <code>PutItem</code> operation to write a new
|
|
21
|
-
* item. This structure specifies the primary key of the item to be written, the
|
|
22
|
-
* name of the table to write it in, an optional condition expression that must be
|
|
23
|
-
* satisfied for the write to succeed, a list of the item's attributes, and a field
|
|
24
|
-
* indicating whether to retrieve the item's attributes if the condition is not
|
|
25
|
-
* met.</p>
|
|
26
|
-
* </li>
|
|
27
|
-
* <li>
|
|
28
|
-
* <p>
|
|
29
|
-
* <code>Update</code> Initiates an <code>UpdateItem</code> operation to
|
|
30
|
-
* update an existing item. This structure specifies the primary key of the item to
|
|
31
|
-
* be updated, the name of the table where it resides, an optional condition
|
|
32
|
-
* expression that must be satisfied for the update to succeed, an expression that
|
|
33
|
-
* defines one or more attributes to be updated, and a field indicating whether to
|
|
34
|
-
* retrieve the item's attributes if the condition is not met.</p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>
|
|
38
|
-
* <code>Delete</code> Initiates a <code>DeleteItem</code> operation to
|
|
39
|
-
* delete an existing item. This structure specifies the primary key of the item to
|
|
40
|
-
* be deleted, the name of the table where it resides, an optional condition
|
|
41
|
-
* expression that must be satisfied for the deletion to succeed, and a field
|
|
42
|
-
* indicating whether to retrieve the item's attributes if the condition is not
|
|
43
|
-
* met.</p>
|
|
44
|
-
* </li>
|
|
45
|
-
* <li>
|
|
46
|
-
* <p>
|
|
47
|
-
* <code>ConditionCheck</code> Applies a condition to an item that is not
|
|
48
|
-
* being modified by the transaction. This structure specifies the primary key of
|
|
49
|
-
* the item to be checked, the name of the table where it resides, a condition
|
|
50
|
-
* expression that must be satisfied for the transaction to succeed, and a field
|
|
51
|
-
* indicating whether to retrieve the item's attributes if the condition is not
|
|
52
|
-
* met.</p>
|
|
53
|
-
* </li>
|
|
54
|
-
* </ul>
|
|
55
|
-
*
|
|
56
|
-
* <p>DynamoDB rejects the entire <code>TransactWriteItems</code> request if any of the following is true:</p>
|
|
57
|
-
* <ul>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>A condition in one of the condition expressions is not met.</p>
|
|
60
|
-
* </li>
|
|
61
|
-
* <li>
|
|
62
|
-
* <p>An ongoing operation is in the process of updating the same
|
|
63
|
-
* item.</p>
|
|
64
|
-
* </li>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p>There is insufficient provisioned capacity for the transaction
|
|
67
|
-
* to be completed.</p>
|
|
68
|
-
* </li>
|
|
69
|
-
* <li>
|
|
70
|
-
* <p>An item size becomes too large (bigger than 400 KB), a local secondary index (LSI) becomes too
|
|
71
|
-
* large, or a similar validation error occurs because of changes made by the
|
|
72
|
-
* transaction.</p>
|
|
73
|
-
* </li>
|
|
74
|
-
* <li>
|
|
75
|
-
* <p>The aggregate size of the items in the transaction exceeds 4 MB.</p>
|
|
76
|
-
* </li>
|
|
77
|
-
* <li>
|
|
78
|
-
* <p>There is a user error, such as an invalid data format.</p>
|
|
79
|
-
* </li>
|
|
80
|
-
* </ul>
|
|
81
|
-
* @example
|
|
82
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
83
|
-
* ```javascript
|
|
84
|
-
* import { DynamoDBClient, TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
85
|
-
* // const { DynamoDBClient, TransactWriteItemsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
86
|
-
* const client = new DynamoDBClient(config);
|
|
87
|
-
* const command = new TransactWriteItemsCommand(input);
|
|
88
|
-
* const response = await client.send(command);
|
|
89
|
-
* ```
|
|
90
|
-
*
|
|
91
|
-
* @see {@link TransactWriteItemsCommandInput} for command's `input` shape.
|
|
92
|
-
* @see {@link TransactWriteItemsCommandOutput} for command's `response` shape.
|
|
93
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
94
|
-
*
|
|
95
|
-
*/
|
|
96
|
-
var TransactWriteItemsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var TransactWriteItemsCommand = (function (_super) {
|
|
97
7
|
__extends(TransactWriteItemsCommand, _super);
|
|
98
|
-
// Start section: command_properties
|
|
99
|
-
// End section: command_properties
|
|
100
8
|
function TransactWriteItemsCommand(input) {
|
|
101
|
-
var _this =
|
|
102
|
-
// Start section: command_constructor
|
|
103
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
104
10
|
_this.input = input;
|
|
105
11
|
return _this;
|
|
106
|
-
// End section: command_constructor
|
|
107
12
|
}
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
13
|
TransactWriteItemsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
112
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
113
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactWriteItemsCommand.js","sourceRoot":"","sources":["../../../commands/TransactWriteItemsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"TransactWriteItemsCommand.js","sourceRoot":"","sources":["../../../commands/TransactWriteItemsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAwG7D;IAA+C,6CAI9C;IAIC,mCAAqB,KAA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import { deserializeAws_json1_0UntagResourceCommand, serializeAws_json1_0UntagResourceCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Removes the association of tags from an Amazon DynamoDB resource. You can call
|
|
8
|
-
* <code>UntagResource</code> up to five times per second, per account. </p>
|
|
9
|
-
* <p>For an overview on tagging DynamoDB resources, see
|
|
10
|
-
* <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html">Tagging for DynamoDB</a>
|
|
11
|
-
* in the <i>Amazon DynamoDB Developer Guide</i>.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { DynamoDBClient, UntagResourceCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
16
|
-
* // const { DynamoDBClient, UntagResourceCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
17
|
-
* const client = new DynamoDBClient(config);
|
|
18
|
-
* const command = new UntagResourceCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
var UntagResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
28
7
|
__extends(UntagResourceCommand, _super);
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
8
|
function UntagResourceCommand(input) {
|
|
32
|
-
var _this =
|
|
33
|
-
// Start section: command_constructor
|
|
34
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
35
10
|
_this.input = input;
|
|
36
11
|
return _this;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UntagResourceCommand.js","sourceRoot":"","sources":["../../../commands/UntagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UntagResourceCommand.js","sourceRoot":"","sources":["../../../commands/UntagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAmC7D;IAA0C,wCAIzC;IAIC,8BAAqB,KAAgC;QAArD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2B;;IAIrD,CAAC;IAKD,gDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,sBAAsB,CAAC;QAC3C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kBAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,UAAC,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,wCAAS,GAAjB,UAAkB,KAAgC,EAAE,OAAuB;QACzE,OAAO,wCAAwC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,0CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,0CAA0C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAIH,2BAAC;AAAD,CAAC,AAtDD,CAA0C,QAAQ,GAsDjD"}
|
|
@@ -3,49 +3,13 @@ import { UpdateContinuousBackupsInput, UpdateContinuousBackupsOutput } from "../
|
|
|
3
3
|
import { deserializeAws_json1_0UpdateContinuousBackupsCommand, serializeAws_json1_0UpdateContinuousBackupsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>
|
|
8
|
-
* <code>UpdateContinuousBackups</code> enables or disables point in time recovery for the specified table.
|
|
9
|
-
* A successful <code>UpdateContinuousBackups</code> call returns the current <code>ContinuousBackupsDescription</code>.
|
|
10
|
-
* Continuous backups are <code>ENABLED</code> on all tables at table creation.
|
|
11
|
-
* If point in time recovery is enabled, <code>PointInTimeRecoveryStatus</code> will be set to ENABLED.</p>
|
|
12
|
-
* <p>
|
|
13
|
-
* Once continuous backups and point in time recovery are enabled, you can restore to any point in time within
|
|
14
|
-
* <code>EarliestRestorableDateTime</code> and <code>LatestRestorableDateTime</code>.
|
|
15
|
-
* </p>
|
|
16
|
-
* <p>
|
|
17
|
-
* <code>LatestRestorableDateTime</code> is typically 5 minutes before the current time.
|
|
18
|
-
* You can restore your table to any point in time during the last 35 days. </p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { DynamoDBClient, UpdateContinuousBackupsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
23
|
-
* // const { DynamoDBClient, UpdateContinuousBackupsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
24
|
-
* const client = new DynamoDBClient(config);
|
|
25
|
-
* const command = new UpdateContinuousBackupsCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link UpdateContinuousBackupsCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link UpdateContinuousBackupsCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
var UpdateContinuousBackupsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateContinuousBackupsCommand = (function (_super) {
|
|
35
7
|
__extends(UpdateContinuousBackupsCommand, _super);
|
|
36
|
-
// Start section: command_properties
|
|
37
|
-
// End section: command_properties
|
|
38
8
|
function UpdateContinuousBackupsCommand(input) {
|
|
39
|
-
var _this =
|
|
40
|
-
// Start section: command_constructor
|
|
41
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
42
10
|
_this.input = input;
|
|
43
11
|
return _this;
|
|
44
|
-
// End section: command_constructor
|
|
45
12
|
}
|
|
46
|
-
/**
|
|
47
|
-
* @internal
|
|
48
|
-
*/
|
|
49
13
|
UpdateContinuousBackupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
50
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
51
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateContinuousBackupsCommand.js","sourceRoot":"","sources":["../../../commands/UpdateContinuousBackupsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateContinuousBackupsCommand.js","sourceRoot":"","sources":["../../../commands/UpdateContinuousBackupsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,4BAA4B,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAC;AACjG,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA0C7D;IAAoD,kDAInD;IAIC,wCAAqB,KAA0C;QAA/D,YAEE,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{ deserializeAws_json1_0UpdateContributorInsightsCommand, serializeAws_json1_0UpdateContributorInsightsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates the status for contributor insights for a specific table or index.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { DynamoDBClient, UpdateContributorInsightsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
12
|
-
* // const { DynamoDBClient, UpdateContributorInsightsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
13
|
-
* const client = new DynamoDBClient(config);
|
|
14
|
-
* const command = new UpdateContributorInsightsCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateContributorInsightsCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateContributorInsightsCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateContributorInsightsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateContributorInsightsCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateContributorInsightsCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateContributorInsightsCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UpdateContributorInsightsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateContributorInsightsCommand.js","sourceRoot":"","sources":["../../../commands/UpdateContributorInsightsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateContributorInsightsCommand.js","sourceRoot":"","sources":["../../../commands/UpdateContributorInsightsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAsD,oDAIrD;IAIC,0CAAqB,KAA4C;QAAjE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuC;;IAIjE,CAAC;IAKD,4DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,kCAAkC,CAAC;QACvD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,8BAA8B,CAAC,kBAAkB;YAC1E,wBAAwB,EAAE,+BAA+B,CAAC,kBAAkB;SAC7E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oDAAS,GAAjB,UAAkB,KAA4C,EAAE,OAAuB;QACrF,OAAO,oDAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
|
|
@@ -3,66 +3,13 @@ import { UpdateGlobalTableInput, UpdateGlobalTableOutput } from "../models/model
|
|
|
3
3
|
import { deserializeAws_json1_0UpdateGlobalTableCommand, serializeAws_json1_0UpdateGlobalTableCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Adds or removes replicas in the specified global table. The global table must already
|
|
8
|
-
* exist to be able to use this operation. Any replica to be added must be empty, have the
|
|
9
|
-
* same name as the global table, have the same key schema, have DynamoDB Streams enabled,
|
|
10
|
-
* and have the same provisioned and maximum write capacity units.</p>
|
|
11
|
-
* <note>
|
|
12
|
-
* <p>Although you can use <code>UpdateGlobalTable</code> to add replicas and remove replicas in
|
|
13
|
-
* a single request, for simplicity we recommend that you issue separate requests for
|
|
14
|
-
* adding or removing replicas.</p>
|
|
15
|
-
* </note>
|
|
16
|
-
* <p>
|
|
17
|
-
* If global secondary indexes are specified, then the following conditions must also be met:
|
|
18
|
-
* </p>
|
|
19
|
-
* <ul>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>
|
|
22
|
-
* The global secondary indexes must have the same name.
|
|
23
|
-
* </p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>
|
|
27
|
-
* The global secondary indexes must have the same hash key and sort key (if present).
|
|
28
|
-
* </p>
|
|
29
|
-
* </li>
|
|
30
|
-
* <li>
|
|
31
|
-
* <p>
|
|
32
|
-
* The global secondary indexes must have the same provisioned and maximum write capacity units.
|
|
33
|
-
* </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, UpdateGlobalTableCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
40
|
-
* // const { DynamoDBClient, UpdateGlobalTableCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
41
|
-
* const client = new DynamoDBClient(config);
|
|
42
|
-
* const command = new UpdateGlobalTableCommand(input);
|
|
43
|
-
* const response = await client.send(command);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* @see {@link UpdateGlobalTableCommandInput} for command's `input` shape.
|
|
47
|
-
* @see {@link UpdateGlobalTableCommandOutput} for command's `response` shape.
|
|
48
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
49
|
-
*
|
|
50
|
-
*/
|
|
51
|
-
var UpdateGlobalTableCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateGlobalTableCommand = (function (_super) {
|
|
52
7
|
__extends(UpdateGlobalTableCommand, _super);
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
8
|
function UpdateGlobalTableCommand(input) {
|
|
56
|
-
var _this =
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
59
10
|
_this.input = input;
|
|
60
11
|
return _this;
|
|
61
|
-
// End section: command_constructor
|
|
62
12
|
}
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
13
|
UpdateGlobalTableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
67
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
68
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateGlobalTableCommand.js","sourceRoot":"","sources":["../../../commands/UpdateGlobalTableCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateGlobalTableCommand.js","sourceRoot":"","sources":["../../../commands/UpdateGlobalTableCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA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,+BAAC;AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
|
|
@@ -3,38 +3,13 @@ import { UpdateGlobalTableSettingsInput, UpdateGlobalTableSettingsOutput } from
|
|
|
3
3
|
import { deserializeAws_json1_0UpdateGlobalTableSettingsCommand, serializeAws_json1_0UpdateGlobalTableSettingsCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates settings for a global table.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { DynamoDBClient, UpdateGlobalTableSettingsCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
12
|
-
* // const { DynamoDBClient, UpdateGlobalTableSettingsCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
13
|
-
* const client = new DynamoDBClient(config);
|
|
14
|
-
* const command = new UpdateGlobalTableSettingsCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateGlobalTableSettingsCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateGlobalTableSettingsCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateGlobalTableSettingsCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateGlobalTableSettingsCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateGlobalTableSettingsCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateGlobalTableSettingsCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UpdateGlobalTableSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateGlobalTableSettingsCommand.js","sourceRoot":"","sources":["../../../commands/UpdateGlobalTableSettingsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateGlobalTableSettingsCommand.js","sourceRoot":"","sources":["../../../commands/UpdateGlobalTableSettingsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAsD,oDAIrD;IAIC,0CAAqB,KAA4C;QAAjE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuC;;IAIjE,CAAC;IAKD,4DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,gBAAgB,CAAC;QACpC,IAAM,WAAW,GAAG,kCAAkC,CAAC;QACvD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,8BAA8B,CAAC,kBAAkB;YAC1E,wBAAwB,EAAE,+BAA+B,CAAC,kBAAkB;SAC7E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,oDAAS,GAAjB,UAAkB,KAA4C,EAAE,OAAuB;QACrF,OAAO,oDAAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
|
|
@@ -3,40 +3,13 @@ import { UpdateItemInput, UpdateItemOutput } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_json1_0UpdateItemCommand, serializeAws_json1_0UpdateItemCommand, } from "../protocols/Aws_json1_0";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <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>
|
|
8
|
-
* <p>You can also return the item's attribute values in the same <code>UpdateItem</code>
|
|
9
|
-
* operation using the <code>ReturnValues</code> parameter.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { DynamoDBClient, UpdateItemCommand } from "@aws-sdk/client-dynamodb"; // ES Modules import
|
|
14
|
-
* // const { DynamoDBClient, UpdateItemCommand } = require("@aws-sdk/client-dynamodb"); // CommonJS import
|
|
15
|
-
* const client = new DynamoDBClient(config);
|
|
16
|
-
* const command = new UpdateItemCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link UpdateItemCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link UpdateItemCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link DynamoDBClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var UpdateItemCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateItemCommand = (function (_super) {
|
|
26
7
|
__extends(UpdateItemCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function UpdateItemCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
UpdateItemCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateItemCommand.js","sourceRoot":"","sources":["../../../commands/UpdateItemCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateItemCommand.js","sourceRoot":"","sources":["../../../commands/UpdateItemCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACvE,OAAO,EACL,uCAAuC,EACvC,qCAAqC,GACtC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiC7D;IAAuC,qCAItC;IAIC,2BAAqB,KAA6B;QAAlD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwB;;IAIlD,CAAC;IAKD,6CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA2C,EAC3C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;Q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