@aws-sdk/client-dynamodb 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_json1_0.js +2 -2
- package/dist-es/DynamoDB.js +221 -214
- package/dist-es/DynamoDBClient.js +29 -23
- package/dist-es/commands/BatchExecuteStatementCommand.js +28 -21
- package/dist-es/commands/BatchGetItemCommand.js +28 -21
- package/dist-es/commands/BatchWriteItemCommand.js +28 -21
- package/dist-es/commands/CreateBackupCommand.js +28 -21
- package/dist-es/commands/CreateGlobalTableCommand.js +28 -21
- package/dist-es/commands/CreateTableCommand.js +28 -21
- package/dist-es/commands/DeleteBackupCommand.js +28 -21
- package/dist-es/commands/DeleteItemCommand.js +28 -21
- package/dist-es/commands/DeleteTableCommand.js +28 -21
- package/dist-es/commands/DescribeBackupCommand.js +28 -21
- package/dist-es/commands/DescribeContinuousBackupsCommand.js +28 -21
- package/dist-es/commands/DescribeContributorInsightsCommand.js +28 -21
- package/dist-es/commands/DescribeEndpointsCommand.js +28 -21
- package/dist-es/commands/DescribeExportCommand.js +28 -21
- package/dist-es/commands/DescribeGlobalTableCommand.js +28 -21
- package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +28 -21
- package/dist-es/commands/DescribeImportCommand.js +28 -21
- package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +28 -21
- package/dist-es/commands/DescribeLimitsCommand.js +28 -21
- package/dist-es/commands/DescribeTableCommand.js +28 -21
- package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +28 -21
- package/dist-es/commands/DescribeTimeToLiveCommand.js +28 -21
- package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +28 -21
- package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +28 -21
- package/dist-es/commands/ExecuteStatementCommand.js +28 -21
- package/dist-es/commands/ExecuteTransactionCommand.js +28 -21
- package/dist-es/commands/ExportTableToPointInTimeCommand.js +28 -21
- package/dist-es/commands/GetItemCommand.js +28 -21
- package/dist-es/commands/ImportTableCommand.js +28 -21
- package/dist-es/commands/ListBackupsCommand.js +28 -21
- package/dist-es/commands/ListContributorInsightsCommand.js +28 -21
- package/dist-es/commands/ListExportsCommand.js +28 -21
- package/dist-es/commands/ListGlobalTablesCommand.js +28 -21
- package/dist-es/commands/ListImportsCommand.js +28 -21
- package/dist-es/commands/ListTablesCommand.js +28 -21
- package/dist-es/commands/ListTagsOfResourceCommand.js +28 -21
- package/dist-es/commands/PutItemCommand.js +28 -21
- package/dist-es/commands/QueryCommand.js +28 -21
- package/dist-es/commands/RestoreTableFromBackupCommand.js +28 -21
- package/dist-es/commands/RestoreTableToPointInTimeCommand.js +28 -21
- package/dist-es/commands/ScanCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/TransactGetItemsCommand.js +28 -21
- package/dist-es/commands/TransactWriteItemsCommand.js +28 -21
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/commands/UpdateContinuousBackupsCommand.js +28 -21
- package/dist-es/commands/UpdateContributorInsightsCommand.js +28 -21
- package/dist-es/commands/UpdateGlobalTableCommand.js +28 -21
- package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +28 -21
- package/dist-es/commands/UpdateItemCommand.js +28 -21
- package/dist-es/commands/UpdateTableCommand.js +28 -21
- package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +28 -21
- package/dist-es/commands/UpdateTimeToLiveCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/DynamoDBServiceException.js +10 -5
- package/dist-es/models/models_0.js +900 -1314
- package/dist-es/pagination/ListContributorInsightsPaginator.js +68 -25
- package/dist-es/pagination/ListExportsPaginator.js +68 -25
- package/dist-es/pagination/ListImportsPaginator.js +68 -25
- package/dist-es/pagination/ListTablesPaginator.js +68 -25
- package/dist-es/pagination/QueryPaginator.js +68 -25
- package/dist-es/pagination/ScanPaginator.js +68 -25
- package/dist-es/protocols/Aws_json1_0.js +5368 -4593
- package/dist-es/runtimeConfig.browser.js +12 -27
- package/dist-es/runtimeConfig.js +12 -31
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/dist-es/waiters/waitForTableExists.js +50 -30
- package/dist-es/waiters/waitForTableNotExists.js +42 -22
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateItemInputFilterSensitiveLog, UpdateItemOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0UpdateItemCommand, serializeAws_json1_0UpdateItemCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateItemCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateItemCommand, _super);
|
|
8
|
+
function UpdateItemCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateItemCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "DynamoDBClient";
|
|
18
|
+
var commandName = "UpdateItemCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateItemInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateItemOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateItemCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0UpdateItemCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateItemCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0UpdateItemCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateItemCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateItemCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateTableInputFilterSensitiveLog, UpdateTableOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0UpdateTableCommand, serializeAws_json1_0UpdateTableCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateTableCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateTableCommand, _super);
|
|
8
|
+
function UpdateTableCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateTableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "DynamoDBClient";
|
|
18
|
+
var commandName = "UpdateTableCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateTableInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateTableOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateTableCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0UpdateTableCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateTableCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0UpdateTableCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateTableCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateTableCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateTableReplicaAutoScalingInputFilterSensitiveLog, UpdateTableReplicaAutoScalingOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0UpdateTableReplicaAutoScalingCommand, serializeAws_json1_0UpdateTableReplicaAutoScalingCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateTableReplicaAutoScalingCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateTableReplicaAutoScalingCommand, _super);
|
|
8
|
+
function UpdateTableReplicaAutoScalingCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateTableReplicaAutoScalingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "DynamoDBClient";
|
|
18
|
+
var commandName = "UpdateTableReplicaAutoScalingCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateTableReplicaAutoScalingInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateTableReplicaAutoScalingOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateTableReplicaAutoScalingCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0UpdateTableReplicaAutoScalingCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateTableReplicaAutoScalingCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0UpdateTableReplicaAutoScalingCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateTableReplicaAutoScalingCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateTableReplicaAutoScalingCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateTimeToLiveInputFilterSensitiveLog, UpdateTimeToLiveOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0UpdateTimeToLiveCommand, serializeAws_json1_0UpdateTimeToLiveCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var UpdateTimeToLiveCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateTimeToLiveCommand, _super);
|
|
8
|
+
function UpdateTimeToLiveCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
UpdateTimeToLiveCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "DynamoDBClient";
|
|
18
|
+
var commandName = "UpdateTimeToLiveCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: UpdateTimeToLiveInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: UpdateTimeToLiveOutputFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateTimeToLiveCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0UpdateTimeToLiveCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
UpdateTimeToLiveCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0UpdateTimeToLiveCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return UpdateTimeToLiveCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateTimeToLiveCommand };
|
package/dist-es/endpoints.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
2
|
-
|
|
3
|
+
var regionHash = {
|
|
3
4
|
"ca-central-1": {
|
|
4
5
|
variants: [
|
|
5
6
|
{
|
|
@@ -66,7 +67,7 @@ const regionHash = {
|
|
|
66
67
|
],
|
|
67
68
|
},
|
|
68
69
|
};
|
|
69
|
-
|
|
70
|
+
var partitionHash = {
|
|
70
71
|
aws: {
|
|
71
72
|
regions: [
|
|
72
73
|
"af-south-1",
|
|
@@ -192,9 +193,8 @@ const partitionHash = {
|
|
|
192
193
|
],
|
|
193
194
|
},
|
|
194
195
|
};
|
|
195
|
-
export
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
});
|
|
196
|
+
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
197
|
+
return __generator(this, function (_a) {
|
|
198
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "dynamodb", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
199
|
+
});
|
|
200
|
+
}); };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
var DynamoDBServiceException = (function (_super) {
|
|
4
|
+
__extends(DynamoDBServiceException, _super);
|
|
5
|
+
function DynamoDBServiceException(options) {
|
|
6
|
+
var _this = _super.call(this, options) || this;
|
|
7
|
+
Object.setPrototypeOf(_this, DynamoDBServiceException.prototype);
|
|
8
|
+
return _this;
|
|
6
9
|
}
|
|
7
|
-
|
|
10
|
+
return DynamoDBServiceException;
|
|
11
|
+
}(__ServiceException));
|
|
12
|
+
export { DynamoDBServiceException };
|