@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.
Files changed (74) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +2 -2
  3. package/dist-es/DynamoDB.js +221 -214
  4. package/dist-es/DynamoDBClient.js +29 -23
  5. package/dist-es/commands/BatchExecuteStatementCommand.js +28 -21
  6. package/dist-es/commands/BatchGetItemCommand.js +28 -21
  7. package/dist-es/commands/BatchWriteItemCommand.js +28 -21
  8. package/dist-es/commands/CreateBackupCommand.js +28 -21
  9. package/dist-es/commands/CreateGlobalTableCommand.js +28 -21
  10. package/dist-es/commands/CreateTableCommand.js +28 -21
  11. package/dist-es/commands/DeleteBackupCommand.js +28 -21
  12. package/dist-es/commands/DeleteItemCommand.js +28 -21
  13. package/dist-es/commands/DeleteTableCommand.js +28 -21
  14. package/dist-es/commands/DescribeBackupCommand.js +28 -21
  15. package/dist-es/commands/DescribeContinuousBackupsCommand.js +28 -21
  16. package/dist-es/commands/DescribeContributorInsightsCommand.js +28 -21
  17. package/dist-es/commands/DescribeEndpointsCommand.js +28 -21
  18. package/dist-es/commands/DescribeExportCommand.js +28 -21
  19. package/dist-es/commands/DescribeGlobalTableCommand.js +28 -21
  20. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +28 -21
  21. package/dist-es/commands/DescribeImportCommand.js +28 -21
  22. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +28 -21
  23. package/dist-es/commands/DescribeLimitsCommand.js +28 -21
  24. package/dist-es/commands/DescribeTableCommand.js +28 -21
  25. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +28 -21
  26. package/dist-es/commands/DescribeTimeToLiveCommand.js +28 -21
  27. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +28 -21
  28. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +28 -21
  29. package/dist-es/commands/ExecuteStatementCommand.js +28 -21
  30. package/dist-es/commands/ExecuteTransactionCommand.js +28 -21
  31. package/dist-es/commands/ExportTableToPointInTimeCommand.js +28 -21
  32. package/dist-es/commands/GetItemCommand.js +28 -21
  33. package/dist-es/commands/ImportTableCommand.js +28 -21
  34. package/dist-es/commands/ListBackupsCommand.js +28 -21
  35. package/dist-es/commands/ListContributorInsightsCommand.js +28 -21
  36. package/dist-es/commands/ListExportsCommand.js +28 -21
  37. package/dist-es/commands/ListGlobalTablesCommand.js +28 -21
  38. package/dist-es/commands/ListImportsCommand.js +28 -21
  39. package/dist-es/commands/ListTablesCommand.js +28 -21
  40. package/dist-es/commands/ListTagsOfResourceCommand.js +28 -21
  41. package/dist-es/commands/PutItemCommand.js +28 -21
  42. package/dist-es/commands/QueryCommand.js +28 -21
  43. package/dist-es/commands/RestoreTableFromBackupCommand.js +28 -21
  44. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +28 -21
  45. package/dist-es/commands/ScanCommand.js +28 -21
  46. package/dist-es/commands/TagResourceCommand.js +29 -22
  47. package/dist-es/commands/TransactGetItemsCommand.js +28 -21
  48. package/dist-es/commands/TransactWriteItemsCommand.js +28 -21
  49. package/dist-es/commands/UntagResourceCommand.js +29 -22
  50. package/dist-es/commands/UpdateContinuousBackupsCommand.js +28 -21
  51. package/dist-es/commands/UpdateContributorInsightsCommand.js +28 -21
  52. package/dist-es/commands/UpdateGlobalTableCommand.js +28 -21
  53. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +28 -21
  54. package/dist-es/commands/UpdateItemCommand.js +28 -21
  55. package/dist-es/commands/UpdateTableCommand.js +28 -21
  56. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +28 -21
  57. package/dist-es/commands/UpdateTimeToLiveCommand.js +28 -21
  58. package/dist-es/endpoints.js +8 -8
  59. package/dist-es/models/DynamoDBServiceException.js +10 -5
  60. package/dist-es/models/models_0.js +900 -1314
  61. package/dist-es/pagination/ListContributorInsightsPaginator.js +68 -25
  62. package/dist-es/pagination/ListExportsPaginator.js +68 -25
  63. package/dist-es/pagination/ListImportsPaginator.js +68 -25
  64. package/dist-es/pagination/ListTablesPaginator.js +68 -25
  65. package/dist-es/pagination/QueryPaginator.js +68 -25
  66. package/dist-es/pagination/ScanPaginator.js +68 -25
  67. package/dist-es/protocols/Aws_json1_0.js +5368 -4593
  68. package/dist-es/runtimeConfig.browser.js +12 -27
  69. package/dist-es/runtimeConfig.js +12 -31
  70. package/dist-es/runtimeConfig.native.js +5 -8
  71. package/dist-es/runtimeConfig.shared.js +11 -8
  72. package/dist-es/waiters/waitForTableExists.js +50 -30
  73. package/dist-es/waiters/waitForTableNotExists.js +42 -22
  74. package/package.json +35 -35
@@ -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 { RestoreTableToPointInTimeInputFilterSensitiveLog, RestoreTableToPointInTimeOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0RestoreTableToPointInTimeCommand, serializeAws_json1_0RestoreTableToPointInTimeCommand, } from "../protocols/Aws_json1_0";
5
- export class RestoreTableToPointInTimeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var RestoreTableToPointInTimeCommand = (function (_super) {
7
+ __extends(RestoreTableToPointInTimeCommand, _super);
8
+ function RestoreTableToPointInTimeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ RestoreTableToPointInTimeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DynamoDBClient";
15
- const commandName = "RestoreTableToPointInTimeCommand";
16
- const handlerExecutionContext = {
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 = "RestoreTableToPointInTimeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: RestoreTableToPointInTimeInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: RestoreTableToPointInTimeOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ RestoreTableToPointInTimeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0RestoreTableToPointInTimeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ RestoreTableToPointInTimeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0RestoreTableToPointInTimeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return RestoreTableToPointInTimeCommand;
38
+ }($Command));
39
+ export { RestoreTableToPointInTimeCommand };
@@ -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 { ScanInputFilterSensitiveLog, ScanOutputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_0ScanCommand, serializeAws_json1_0ScanCommand } from "../protocols/Aws_json1_0";
5
- export class ScanCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ScanCommand = (function (_super) {
7
+ __extends(ScanCommand, _super);
8
+ function ScanCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ScanCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DynamoDBClient";
15
- const commandName = "ScanCommand";
16
- const handlerExecutionContext = {
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 = "ScanCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ScanInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ScanOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ScanCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0ScanCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ScanCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0ScanCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ScanCommand;
38
+ }($Command));
39
+ export { ScanCommand };
@@ -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 { TagResourceInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_0TagResourceCommand, serializeAws_json1_0TagResourceCommand, } from "../protocols/Aws_json1_0";
5
- export class TagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TagResourceCommand = (function (_super) {
7
+ __extends(TagResourceCommand, _super);
8
+ function TagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DynamoDBClient";
15
- const commandName = "TagResourceCommand";
16
- const handlerExecutionContext = {
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 = "TagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TagResourceInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0TagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0TagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TagResourceCommand;
38
+ }($Command));
39
+ export { TagResourceCommand };
@@ -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 { TransactGetItemsInputFilterSensitiveLog, TransactGetItemsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0TransactGetItemsCommand, serializeAws_json1_0TransactGetItemsCommand, } from "../protocols/Aws_json1_0";
5
- export class TransactGetItemsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TransactGetItemsCommand = (function (_super) {
7
+ __extends(TransactGetItemsCommand, _super);
8
+ function TransactGetItemsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TransactGetItemsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DynamoDBClient";
15
- const commandName = "TransactGetItemsCommand";
16
- const handlerExecutionContext = {
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 = "TransactGetItemsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TransactGetItemsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TransactGetItemsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TransactGetItemsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0TransactGetItemsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TransactGetItemsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0TransactGetItemsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TransactGetItemsCommand;
38
+ }($Command));
39
+ export { TransactGetItemsCommand };
@@ -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 { TransactWriteItemsInputFilterSensitiveLog, TransactWriteItemsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0TransactWriteItemsCommand, serializeAws_json1_0TransactWriteItemsCommand, } from "../protocols/Aws_json1_0";
5
- export class TransactWriteItemsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TransactWriteItemsCommand = (function (_super) {
7
+ __extends(TransactWriteItemsCommand, _super);
8
+ function TransactWriteItemsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TransactWriteItemsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DynamoDBClient";
15
- const commandName = "TransactWriteItemsCommand";
16
- const handlerExecutionContext = {
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 = "TransactWriteItemsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TransactWriteItemsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TransactWriteItemsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ TransactWriteItemsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0TransactWriteItemsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TransactWriteItemsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0TransactWriteItemsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TransactWriteItemsCommand;
38
+ }($Command));
39
+ export { TransactWriteItemsCommand };
@@ -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 { UntagResourceInputFilterSensitiveLog } from "../models/models_0";
4
5
  import { deserializeAws_json1_0UntagResourceCommand, serializeAws_json1_0UntagResourceCommand, } from "../protocols/Aws_json1_0";
5
- export class UntagResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UntagResourceCommand = (function (_super) {
7
+ __extends(UntagResourceCommand, _super);
8
+ function UntagResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DynamoDBClient";
15
- const commandName = "UntagResourceCommand";
16
- const handlerExecutionContext = {
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 = "UntagResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UntagResourceInputFilterSensitiveLog,
21
- outputFilterSensitiveLog: (output) => output,
24
+ outputFilterSensitiveLog: function (output) { return output; },
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UntagResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0UntagResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0UntagResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UntagResourceCommand;
38
+ }($Command));
39
+ export { UntagResourceCommand };
@@ -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 { UpdateContinuousBackupsInputFilterSensitiveLog, UpdateContinuousBackupsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0UpdateContinuousBackupsCommand, serializeAws_json1_0UpdateContinuousBackupsCommand, } from "../protocols/Aws_json1_0";
5
- export class UpdateContinuousBackupsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateContinuousBackupsCommand = (function (_super) {
7
+ __extends(UpdateContinuousBackupsCommand, _super);
8
+ function UpdateContinuousBackupsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateContinuousBackupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DynamoDBClient";
15
- const commandName = "UpdateContinuousBackupsCommand";
16
- const handlerExecutionContext = {
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 = "UpdateContinuousBackupsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateContinuousBackupsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateContinuousBackupsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateContinuousBackupsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0UpdateContinuousBackupsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateContinuousBackupsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0UpdateContinuousBackupsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateContinuousBackupsCommand;
38
+ }($Command));
39
+ export { UpdateContinuousBackupsCommand };
@@ -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 { UpdateContributorInsightsInputFilterSensitiveLog, UpdateContributorInsightsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0UpdateContributorInsightsCommand, serializeAws_json1_0UpdateContributorInsightsCommand, } from "../protocols/Aws_json1_0";
5
- export class UpdateContributorInsightsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateContributorInsightsCommand = (function (_super) {
7
+ __extends(UpdateContributorInsightsCommand, _super);
8
+ function UpdateContributorInsightsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateContributorInsightsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DynamoDBClient";
15
- const commandName = "UpdateContributorInsightsCommand";
16
- const handlerExecutionContext = {
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 = "UpdateContributorInsightsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateContributorInsightsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateContributorInsightsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateContributorInsightsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0UpdateContributorInsightsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateContributorInsightsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0UpdateContributorInsightsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateContributorInsightsCommand;
38
+ }($Command));
39
+ export { UpdateContributorInsightsCommand };
@@ -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 { UpdateGlobalTableInputFilterSensitiveLog, UpdateGlobalTableOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0UpdateGlobalTableCommand, serializeAws_json1_0UpdateGlobalTableCommand, } from "../protocols/Aws_json1_0";
5
- export class UpdateGlobalTableCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateGlobalTableCommand = (function (_super) {
7
+ __extends(UpdateGlobalTableCommand, _super);
8
+ function UpdateGlobalTableCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateGlobalTableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DynamoDBClient";
15
- const commandName = "UpdateGlobalTableCommand";
16
- const handlerExecutionContext = {
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 = "UpdateGlobalTableCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateGlobalTableInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateGlobalTableOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateGlobalTableCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0UpdateGlobalTableCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateGlobalTableCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0UpdateGlobalTableCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateGlobalTableCommand;
38
+ }($Command));
39
+ export { UpdateGlobalTableCommand };
@@ -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 { UpdateGlobalTableSettingsInputFilterSensitiveLog, UpdateGlobalTableSettingsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0UpdateGlobalTableSettingsCommand, serializeAws_json1_0UpdateGlobalTableSettingsCommand, } from "../protocols/Aws_json1_0";
5
- export class UpdateGlobalTableSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateGlobalTableSettingsCommand = (function (_super) {
7
+ __extends(UpdateGlobalTableSettingsCommand, _super);
8
+ function UpdateGlobalTableSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateGlobalTableSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DynamoDBClient";
15
- const commandName = "UpdateGlobalTableSettingsCommand";
16
- const handlerExecutionContext = {
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 = "UpdateGlobalTableSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateGlobalTableSettingsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateGlobalTableSettingsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateGlobalTableSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0UpdateGlobalTableSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateGlobalTableSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0UpdateGlobalTableSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateGlobalTableSettingsCommand;
38
+ }($Command));
39
+ export { UpdateGlobalTableSettingsCommand };