@aws-sdk/client-dynamodb 3.183.0 → 3.186.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 +19 -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 +35 -35
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
|
|
2
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
4
|
import { resolveEndpointDiscoveryConfig, } from "@aws-sdk/middleware-endpoint-discovery";
|
|
@@ -10,29 +11,34 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
|
|
|
10
11
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
12
|
import { DescribeEndpointsCommand, } from "./commands/DescribeEndpointsCommand";
|
|
12
13
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
14
|
+
var DynamoDBClient = (function (_super) {
|
|
15
|
+
__extends(DynamoDBClient, _super);
|
|
16
|
+
function DynamoDBClient(configuration) {
|
|
17
|
+
var _this = this;
|
|
18
|
+
var _config_0 = __getRuntimeConfig(configuration);
|
|
19
|
+
var _config_1 = resolveRegionConfig(_config_0);
|
|
20
|
+
var _config_2 = resolveEndpointsConfig(_config_1);
|
|
21
|
+
var _config_3 = resolveRetryConfig(_config_2);
|
|
22
|
+
var _config_4 = resolveHostHeaderConfig(_config_3);
|
|
23
|
+
var _config_5 = resolveAwsAuthConfig(_config_4);
|
|
24
|
+
var _config_6 = resolveUserAgentConfig(_config_5);
|
|
25
|
+
var _config_7 = resolveEndpointDiscoveryConfig(_config_6, {
|
|
23
26
|
endpointDiscoveryCommandCtor: DescribeEndpointsCommand,
|
|
24
27
|
});
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
28
|
+
_this = _super.call(this, _config_7) || this;
|
|
29
|
+
_this.config = _config_7;
|
|
30
|
+
_this.middlewareStack.use(getRetryPlugin(_this.config));
|
|
31
|
+
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
32
|
+
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
33
|
+
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
34
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
35
|
+
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
36
|
+
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
37
|
+
return _this;
|
|
34
38
|
}
|
|
35
|
-
destroy() {
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
+
DynamoDBClient.prototype.destroy = function () {
|
|
40
|
+
_super.prototype.destroy.call(this);
|
|
41
|
+
};
|
|
42
|
+
return DynamoDBClient;
|
|
43
|
+
}(__Client));
|
|
44
|
+
export { DynamoDBClient };
|
|
@@ -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 { BatchExecuteStatementInputFilterSensitiveLog, BatchExecuteStatementOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0BatchExecuteStatementCommand, serializeAws_json1_0BatchExecuteStatementCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var BatchExecuteStatementCommand = (function (_super) {
|
|
7
|
+
__extends(BatchExecuteStatementCommand, _super);
|
|
8
|
+
function BatchExecuteStatementCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
BatchExecuteStatementCommand.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 = "BatchExecuteStatementCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: BatchExecuteStatementInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: BatchExecuteStatementOutputFilterSensitiveLog,
|
|
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
|
+
BatchExecuteStatementCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0BatchExecuteStatementCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
BatchExecuteStatementCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0BatchExecuteStatementCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return BatchExecuteStatementCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchExecuteStatementCommand };
|
|
@@ -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 { BatchGetItemInputFilterSensitiveLog, BatchGetItemOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0BatchGetItemCommand, serializeAws_json1_0BatchGetItemCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var BatchGetItemCommand = (function (_super) {
|
|
7
|
+
__extends(BatchGetItemCommand, _super);
|
|
8
|
+
function BatchGetItemCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
BatchGetItemCommand.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 = "BatchGetItemCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: BatchGetItemInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: BatchGetItemOutputFilterSensitiveLog,
|
|
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
|
+
BatchGetItemCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0BatchGetItemCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
BatchGetItemCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0BatchGetItemCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return BatchGetItemCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchGetItemCommand };
|
|
@@ -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 { BatchWriteItemInputFilterSensitiveLog, BatchWriteItemOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0BatchWriteItemCommand, serializeAws_json1_0BatchWriteItemCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var BatchWriteItemCommand = (function (_super) {
|
|
7
|
+
__extends(BatchWriteItemCommand, _super);
|
|
8
|
+
function BatchWriteItemCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
BatchWriteItemCommand.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 = "BatchWriteItemCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: BatchWriteItemInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: BatchWriteItemOutputFilterSensitiveLog,
|
|
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
|
+
BatchWriteItemCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0BatchWriteItemCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
BatchWriteItemCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0BatchWriteItemCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return BatchWriteItemCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { BatchWriteItemCommand };
|
|
@@ -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 { CreateBackupInputFilterSensitiveLog, CreateBackupOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0CreateBackupCommand, serializeAws_json1_0CreateBackupCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateBackupCommand = (function (_super) {
|
|
7
|
+
__extends(CreateBackupCommand, _super);
|
|
8
|
+
function CreateBackupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateBackupCommand.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 = "CreateBackupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateBackupInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateBackupOutputFilterSensitiveLog,
|
|
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
|
+
CreateBackupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0CreateBackupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateBackupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0CreateBackupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateBackupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateBackupCommand };
|
|
@@ -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 { CreateGlobalTableInputFilterSensitiveLog, CreateGlobalTableOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0CreateGlobalTableCommand, serializeAws_json1_0CreateGlobalTableCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateGlobalTableCommand = (function (_super) {
|
|
7
|
+
__extends(CreateGlobalTableCommand, _super);
|
|
8
|
+
function CreateGlobalTableCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateGlobalTableCommand.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 = "CreateGlobalTableCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateGlobalTableInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateGlobalTableOutputFilterSensitiveLog,
|
|
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
|
+
CreateGlobalTableCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0CreateGlobalTableCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateGlobalTableCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0CreateGlobalTableCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateGlobalTableCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateGlobalTableCommand };
|
|
@@ -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 { CreateTableInputFilterSensitiveLog, CreateTableOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0CreateTableCommand, serializeAws_json1_0CreateTableCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var CreateTableCommand = (function (_super) {
|
|
7
|
+
__extends(CreateTableCommand, _super);
|
|
8
|
+
function CreateTableCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
CreateTableCommand.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 = "CreateTableCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: CreateTableInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: CreateTableOutputFilterSensitiveLog,
|
|
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
|
+
CreateTableCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0CreateTableCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
CreateTableCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0CreateTableCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return CreateTableCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateTableCommand };
|
|
@@ -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 { DeleteBackupInputFilterSensitiveLog, DeleteBackupOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0DeleteBackupCommand, serializeAws_json1_0DeleteBackupCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteBackupCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteBackupCommand, _super);
|
|
8
|
+
function DeleteBackupCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteBackupCommand.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 = "DeleteBackupCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteBackupInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteBackupOutputFilterSensitiveLog,
|
|
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
|
+
DeleteBackupCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0DeleteBackupCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteBackupCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0DeleteBackupCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteBackupCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteBackupCommand };
|
|
@@ -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 { DeleteItemInputFilterSensitiveLog, DeleteItemOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0DeleteItemCommand, serializeAws_json1_0DeleteItemCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteItemCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteItemCommand, _super);
|
|
8
|
+
function DeleteItemCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteItemCommand.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 = "DeleteItemCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteItemInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteItemOutputFilterSensitiveLog,
|
|
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
|
+
DeleteItemCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0DeleteItemCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteItemCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0DeleteItemCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteItemCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteItemCommand };
|
|
@@ -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 { DeleteTableInputFilterSensitiveLog, DeleteTableOutputFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_json1_0DeleteTableCommand, serializeAws_json1_0DeleteTableCommand, } from "../protocols/Aws_json1_0";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DeleteTableCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteTableCommand, _super);
|
|
8
|
+
function DeleteTableCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DeleteTableCommand.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 = "DeleteTableCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DeleteTableInputFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DeleteTableOutputFilterSensitiveLog,
|
|
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
|
+
DeleteTableCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_json1_0DeleteTableCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DeleteTableCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_json1_0DeleteTableCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DeleteTableCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteTableCommand };
|