@aws-sdk/client-dynamodb 3.180.0 → 3.183.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 +20 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +59 -53
  3. package/dist-es/DynamoDB.js +214 -221
  4. package/dist-es/DynamoDBClient.js +23 -29
  5. package/dist-es/commands/BatchExecuteStatementCommand.js +21 -28
  6. package/dist-es/commands/BatchGetItemCommand.js +21 -28
  7. package/dist-es/commands/BatchWriteItemCommand.js +21 -28
  8. package/dist-es/commands/CreateBackupCommand.js +21 -28
  9. package/dist-es/commands/CreateGlobalTableCommand.js +21 -28
  10. package/dist-es/commands/CreateTableCommand.js +21 -28
  11. package/dist-es/commands/DeleteBackupCommand.js +21 -28
  12. package/dist-es/commands/DeleteItemCommand.js +21 -28
  13. package/dist-es/commands/DeleteTableCommand.js +21 -28
  14. package/dist-es/commands/DescribeBackupCommand.js +21 -28
  15. package/dist-es/commands/DescribeContinuousBackupsCommand.js +21 -28
  16. package/dist-es/commands/DescribeContributorInsightsCommand.js +21 -28
  17. package/dist-es/commands/DescribeEndpointsCommand.js +21 -28
  18. package/dist-es/commands/DescribeExportCommand.js +21 -28
  19. package/dist-es/commands/DescribeGlobalTableCommand.js +21 -28
  20. package/dist-es/commands/DescribeGlobalTableSettingsCommand.js +21 -28
  21. package/dist-es/commands/DescribeImportCommand.js +21 -28
  22. package/dist-es/commands/DescribeKinesisStreamingDestinationCommand.js +21 -28
  23. package/dist-es/commands/DescribeLimitsCommand.js +21 -28
  24. package/dist-es/commands/DescribeTableCommand.js +21 -28
  25. package/dist-es/commands/DescribeTableReplicaAutoScalingCommand.js +21 -28
  26. package/dist-es/commands/DescribeTimeToLiveCommand.js +21 -28
  27. package/dist-es/commands/DisableKinesisStreamingDestinationCommand.js +21 -28
  28. package/dist-es/commands/EnableKinesisStreamingDestinationCommand.js +21 -28
  29. package/dist-es/commands/ExecuteStatementCommand.js +21 -28
  30. package/dist-es/commands/ExecuteTransactionCommand.js +21 -28
  31. package/dist-es/commands/ExportTableToPointInTimeCommand.js +21 -28
  32. package/dist-es/commands/GetItemCommand.js +21 -28
  33. package/dist-es/commands/ImportTableCommand.js +21 -28
  34. package/dist-es/commands/ListBackupsCommand.js +21 -28
  35. package/dist-es/commands/ListContributorInsightsCommand.js +21 -28
  36. package/dist-es/commands/ListExportsCommand.js +21 -28
  37. package/dist-es/commands/ListGlobalTablesCommand.js +21 -28
  38. package/dist-es/commands/ListImportsCommand.js +21 -28
  39. package/dist-es/commands/ListTablesCommand.js +21 -28
  40. package/dist-es/commands/ListTagsOfResourceCommand.js +21 -28
  41. package/dist-es/commands/PutItemCommand.js +21 -28
  42. package/dist-es/commands/QueryCommand.js +21 -28
  43. package/dist-es/commands/RestoreTableFromBackupCommand.js +21 -28
  44. package/dist-es/commands/RestoreTableToPointInTimeCommand.js +21 -28
  45. package/dist-es/commands/ScanCommand.js +21 -28
  46. package/dist-es/commands/TagResourceCommand.js +22 -29
  47. package/dist-es/commands/TransactGetItemsCommand.js +21 -28
  48. package/dist-es/commands/TransactWriteItemsCommand.js +21 -28
  49. package/dist-es/commands/UntagResourceCommand.js +22 -29
  50. package/dist-es/commands/UpdateContinuousBackupsCommand.js +21 -28
  51. package/dist-es/commands/UpdateContributorInsightsCommand.js +21 -28
  52. package/dist-es/commands/UpdateGlobalTableCommand.js +21 -28
  53. package/dist-es/commands/UpdateGlobalTableSettingsCommand.js +21 -28
  54. package/dist-es/commands/UpdateItemCommand.js +21 -28
  55. package/dist-es/commands/UpdateTableCommand.js +21 -28
  56. package/dist-es/commands/UpdateTableReplicaAutoScalingCommand.js +21 -28
  57. package/dist-es/commands/UpdateTimeToLiveCommand.js +21 -28
  58. package/dist-es/endpoints.js +8 -8
  59. package/dist-es/models/DynamoDBServiceException.js +5 -10
  60. package/dist-es/models/models_0.js +1314 -900
  61. package/dist-es/pagination/ListContributorInsightsPaginator.js +25 -68
  62. package/dist-es/pagination/ListExportsPaginator.js +25 -68
  63. package/dist-es/pagination/ListImportsPaginator.js +25 -68
  64. package/dist-es/pagination/ListTablesPaginator.js +25 -68
  65. package/dist-es/pagination/QueryPaginator.js +25 -68
  66. package/dist-es/pagination/ScanPaginator.js +25 -68
  67. package/dist-es/protocols/Aws_json1_0.js +4593 -5355
  68. package/dist-es/runtimeConfig.browser.js +27 -12
  69. package/dist-es/runtimeConfig.js +31 -12
  70. package/dist-es/runtimeConfig.native.js +8 -5
  71. package/dist-es/runtimeConfig.shared.js +8 -11
  72. package/dist-es/waiters/waitForTableExists.js +30 -50
  73. package/dist-es/waiters/waitForTableNotExists.js +22 -42
  74. package/package.json +35 -35
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeBackupInputFilterSensitiveLog, DescribeBackupOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeBackupCommand, serializeAws_json1_0DescribeBackupCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeBackupCommand = (function (_super) {
7
- __extends(DescribeBackupCommand, _super);
8
- function DescribeBackupCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeBackupCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeBackupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DynamoDBClient";
18
- var commandName = "DescribeBackupCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DynamoDBClient";
15
+ const commandName = "DescribeBackupCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeBackupInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeBackupOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeBackupCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0DescribeBackupCommand(input, context);
33
- };
34
- DescribeBackupCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeBackupCommand(output, context);
36
- };
37
- return DescribeBackupCommand;
38
- }($Command));
39
- export { DescribeBackupCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeContinuousBackupsInputFilterSensitiveLog, DescribeContinuousBackupsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeContinuousBackupsCommand, serializeAws_json1_0DescribeContinuousBackupsCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeContinuousBackupsCommand = (function (_super) {
7
- __extends(DescribeContinuousBackupsCommand, _super);
8
- function DescribeContinuousBackupsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeContinuousBackupsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeContinuousBackupsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DynamoDBClient";
18
- var commandName = "DescribeContinuousBackupsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DynamoDBClient";
15
+ const commandName = "DescribeContinuousBackupsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeContinuousBackupsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeContinuousBackupsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeContinuousBackupsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0DescribeContinuousBackupsCommand(input, context);
33
- };
34
- DescribeContinuousBackupsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeContinuousBackupsCommand(output, context);
36
- };
37
- return DescribeContinuousBackupsCommand;
38
- }($Command));
39
- export { DescribeContinuousBackupsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeContributorInsightsInputFilterSensitiveLog, DescribeContributorInsightsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeContributorInsightsCommand, serializeAws_json1_0DescribeContributorInsightsCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeContributorInsightsCommand = (function (_super) {
7
- __extends(DescribeContributorInsightsCommand, _super);
8
- function DescribeContributorInsightsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeContributorInsightsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeContributorInsightsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DynamoDBClient";
18
- var commandName = "DescribeContributorInsightsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DynamoDBClient";
15
+ const commandName = "DescribeContributorInsightsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeContributorInsightsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeContributorInsightsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeContributorInsightsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0DescribeContributorInsightsCommand(input, context);
33
- };
34
- DescribeContributorInsightsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeContributorInsightsCommand(output, context);
36
- };
37
- return DescribeContributorInsightsCommand;
38
- }($Command));
39
- export { DescribeContributorInsightsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeEndpointsRequestFilterSensitiveLog, DescribeEndpointsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeEndpointsCommand, serializeAws_json1_0DescribeEndpointsCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeEndpointsCommand = (function (_super) {
7
- __extends(DescribeEndpointsCommand, _super);
8
- function DescribeEndpointsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeEndpointsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeEndpointsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DynamoDBClient";
18
- var commandName = "DescribeEndpointsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DynamoDBClient";
15
+ const commandName = "DescribeEndpointsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeEndpointsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeEndpointsResponseFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeEndpointsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0DescribeEndpointsCommand(input, context);
33
- };
34
- DescribeEndpointsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeEndpointsCommand(output, context);
36
- };
37
- return DescribeEndpointsCommand;
38
- }($Command));
39
- export { DescribeEndpointsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeExportInputFilterSensitiveLog, DescribeExportOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeExportCommand, serializeAws_json1_0DescribeExportCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeExportCommand = (function (_super) {
7
- __extends(DescribeExportCommand, _super);
8
- function DescribeExportCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeExportCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeExportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DynamoDBClient";
18
- var commandName = "DescribeExportCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DynamoDBClient";
15
+ const commandName = "DescribeExportCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeExportInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeExportOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeExportCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0DescribeExportCommand(input, context);
33
- };
34
- DescribeExportCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeExportCommand(output, context);
36
- };
37
- return DescribeExportCommand;
38
- }($Command));
39
- export { DescribeExportCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeGlobalTableInputFilterSensitiveLog, DescribeGlobalTableOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeGlobalTableCommand, serializeAws_json1_0DescribeGlobalTableCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeGlobalTableCommand = (function (_super) {
7
- __extends(DescribeGlobalTableCommand, _super);
8
- function DescribeGlobalTableCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeGlobalTableCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeGlobalTableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DynamoDBClient";
18
- var commandName = "DescribeGlobalTableCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DynamoDBClient";
15
+ const commandName = "DescribeGlobalTableCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeGlobalTableInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeGlobalTableOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeGlobalTableCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0DescribeGlobalTableCommand(input, context);
33
- };
34
- DescribeGlobalTableCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeGlobalTableCommand(output, context);
36
- };
37
- return DescribeGlobalTableCommand;
38
- }($Command));
39
- export { DescribeGlobalTableCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeGlobalTableSettingsInputFilterSensitiveLog, DescribeGlobalTableSettingsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeGlobalTableSettingsCommand, serializeAws_json1_0DescribeGlobalTableSettingsCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeGlobalTableSettingsCommand = (function (_super) {
7
- __extends(DescribeGlobalTableSettingsCommand, _super);
8
- function DescribeGlobalTableSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeGlobalTableSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeGlobalTableSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DynamoDBClient";
18
- var commandName = "DescribeGlobalTableSettingsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DynamoDBClient";
15
+ const commandName = "DescribeGlobalTableSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeGlobalTableSettingsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeGlobalTableSettingsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeGlobalTableSettingsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0DescribeGlobalTableSettingsCommand(input, context);
33
- };
34
- DescribeGlobalTableSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeGlobalTableSettingsCommand(output, context);
36
- };
37
- return DescribeGlobalTableSettingsCommand;
38
- }($Command));
39
- export { DescribeGlobalTableSettingsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeImportInputFilterSensitiveLog, DescribeImportOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeImportCommand, serializeAws_json1_0DescribeImportCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeImportCommand = (function (_super) {
7
- __extends(DescribeImportCommand, _super);
8
- function DescribeImportCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeImportCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeImportCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DynamoDBClient";
18
- var commandName = "DescribeImportCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DynamoDBClient";
15
+ const commandName = "DescribeImportCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeImportInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeImportOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeImportCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0DescribeImportCommand(input, context);
33
- };
34
- DescribeImportCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeImportCommand(output, context);
36
- };
37
- return DescribeImportCommand;
38
- }($Command));
39
- export { DescribeImportCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeKinesisStreamingDestinationInputFilterSensitiveLog, DescribeKinesisStreamingDestinationOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeKinesisStreamingDestinationCommand, serializeAws_json1_0DescribeKinesisStreamingDestinationCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeKinesisStreamingDestinationCommand = (function (_super) {
7
- __extends(DescribeKinesisStreamingDestinationCommand, _super);
8
- function DescribeKinesisStreamingDestinationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeKinesisStreamingDestinationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeKinesisStreamingDestinationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DynamoDBClient";
18
- var commandName = "DescribeKinesisStreamingDestinationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DynamoDBClient";
15
+ const commandName = "DescribeKinesisStreamingDestinationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeKinesisStreamingDestinationInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeKinesisStreamingDestinationOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeKinesisStreamingDestinationCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0DescribeKinesisStreamingDestinationCommand(input, context);
33
- };
34
- DescribeKinesisStreamingDestinationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeKinesisStreamingDestinationCommand(output, context);
36
- };
37
- return DescribeKinesisStreamingDestinationCommand;
38
- }($Command));
39
- export { DescribeKinesisStreamingDestinationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeLimitsInputFilterSensitiveLog, DescribeLimitsOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_0DescribeLimitsCommand, serializeAws_json1_0DescribeLimitsCommand, } from "../protocols/Aws_json1_0";
6
- var DescribeLimitsCommand = (function (_super) {
7
- __extends(DescribeLimitsCommand, _super);
8
- function DescribeLimitsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeLimitsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeLimitsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DynamoDBClient";
18
- var commandName = "DescribeLimitsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DynamoDBClient";
15
+ const commandName = "DescribeLimitsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeLimitsInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeLimitsOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeLimitsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_0DescribeLimitsCommand(input, context);
33
- };
34
- DescribeLimitsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_0DescribeLimitsCommand(output, context);
36
- };
37
- return DescribeLimitsCommand;
38
- }($Command));
39
- export { DescribeLimitsCommand };
31
+ }
32
+ }