@aws-sdk/client-dynamodb-streams 3.32.0 → 3.36.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 (114) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/DynamoDBStreams.js +1 -2
  3. package/{dist/cjs → dist-cjs}/DynamoDBStreamsClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/DescribeStreamCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/GetRecordsCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/GetShardIteratorCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/ListStreamsCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  9. package/{dist/cjs → dist-cjs}/index.js +0 -1
  10. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  11. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  12. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_0.js +0 -1
  13. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  14. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  15. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  16. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  17. package/{dist/es → dist-es}/DynamoDBStreams.js +2 -11
  18. package/{dist/es → dist-es}/DynamoDBStreamsClient.js +2 -16
  19. package/dist-es/commands/DescribeStreamCommand.js +39 -0
  20. package/dist-es/commands/GetRecordsCommand.js +39 -0
  21. package/{dist/es → dist-es}/commands/GetShardIteratorCommand.js +4 -37
  22. package/{dist/es → dist-es}/commands/ListStreamsCommand.js +4 -35
  23. package/{dist/es → dist-es}/endpoints.js +1 -2
  24. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  25. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  26. package/{dist/es → dist-es}/models/models_0.js +0 -67
  27. package/{dist/es → dist-es}/protocols/Aws_json1_0.js +83 -89
  28. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  29. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  30. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  31. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  32. package/{dist/types → dist-types}/DynamoDBStreams.d.ts +2 -2
  33. package/{dist/types → dist-types}/DynamoDBStreamsClient.d.ts +5 -5
  34. package/{dist/types → dist-types}/commands/DescribeStreamCommand.d.ts +2 -2
  35. package/{dist/types → dist-types}/commands/GetRecordsCommand.d.ts +2 -2
  36. package/{dist/types → dist-types}/commands/GetShardIteratorCommand.d.ts +2 -2
  37. package/{dist/types → dist-types}/commands/ListStreamsCommand.d.ts +2 -2
  38. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  39. package/{index.ts → dist-types/index.d.ts} +0 -0
  40. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  41. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  42. package/{dist/types → dist-types}/protocols/Aws_json1_0.d.ts +2 -2
  43. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  44. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  45. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.native.d.ts +36 -35
  46. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  47. package/{dist/types → dist-types}/ts3.4/DynamoDBStreams.d.ts +2 -2
  48. package/{dist/types → dist-types}/ts3.4/DynamoDBStreamsClient.d.ts +5 -5
  49. package/{dist/types → dist-types}/ts3.4/commands/DescribeStreamCommand.d.ts +2 -2
  50. package/{dist/types → dist-types}/ts3.4/commands/GetRecordsCommand.d.ts +2 -2
  51. package/{dist/types → dist-types}/ts3.4/commands/GetShardIteratorCommand.d.ts +2 -2
  52. package/{dist/types → dist-types}/ts3.4/commands/ListStreamsCommand.d.ts +2 -2
  53. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  54. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  55. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  56. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  57. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_0.d.ts +2 -2
  58. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  59. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  60. package/{dist/types → dist-types/ts3.4}/runtimeConfig.native.d.ts +36 -35
  61. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  62. package/package.json +52 -49
  63. package/DynamoDBStreams.ts +0 -170
  64. package/DynamoDBStreamsClient.ts +0 -252
  65. package/commands/DescribeStreamCommand.ts +0 -102
  66. package/commands/GetRecordsCommand.ts +0 -104
  67. package/commands/GetShardIteratorCommand.ts +0 -101
  68. package/commands/ListStreamsCommand.ts +0 -99
  69. package/dist/cjs/DynamoDBStreams.js.map +0 -1
  70. package/dist/cjs/DynamoDBStreamsClient.js.map +0 -1
  71. package/dist/cjs/commands/DescribeStreamCommand.js.map +0 -1
  72. package/dist/cjs/commands/GetRecordsCommand.js.map +0 -1
  73. package/dist/cjs/commands/GetShardIteratorCommand.js.map +0 -1
  74. package/dist/cjs/commands/ListStreamsCommand.js.map +0 -1
  75. package/dist/cjs/endpoints.js.map +0 -1
  76. package/dist/cjs/index.js.map +0 -1
  77. package/dist/cjs/models/index.js.map +0 -1
  78. package/dist/cjs/models/models_0.js.map +0 -1
  79. package/dist/cjs/package.json +0 -91
  80. package/dist/cjs/protocols/Aws_json1_0.js.map +0 -1
  81. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  82. package/dist/cjs/runtimeConfig.js.map +0 -1
  83. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  84. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  85. package/dist/es/DynamoDBStreams.js.map +0 -1
  86. package/dist/es/DynamoDBStreamsClient.js.map +0 -1
  87. package/dist/es/commands/DescribeStreamCommand.js +0 -73
  88. package/dist/es/commands/DescribeStreamCommand.js.map +0 -1
  89. package/dist/es/commands/GetRecordsCommand.js +0 -75
  90. package/dist/es/commands/GetRecordsCommand.js.map +0 -1
  91. package/dist/es/commands/GetShardIteratorCommand.js.map +0 -1
  92. package/dist/es/commands/ListStreamsCommand.js.map +0 -1
  93. package/dist/es/endpoints.js.map +0 -1
  94. package/dist/es/index.js +0 -8
  95. package/dist/es/index.js.map +0 -1
  96. package/dist/es/models/index.js +0 -2
  97. package/dist/es/models/index.js.map +0 -1
  98. package/dist/es/models/models_0.js.map +0 -1
  99. package/dist/es/package.json +0 -91
  100. package/dist/es/protocols/Aws_json1_0.js.map +0 -1
  101. package/dist/es/runtimeConfig.browser.js.map +0 -1
  102. package/dist/es/runtimeConfig.js.map +0 -1
  103. package/dist/es/runtimeConfig.native.js.map +0 -1
  104. package/dist/es/runtimeConfig.shared.js.map +0 -1
  105. package/endpoints.ts +0 -96
  106. package/jest.config.js +0 -4
  107. package/models/models_0.ts +0 -1132
  108. package/protocols/Aws_json1_0.ts +0 -917
  109. package/runtimeConfig.browser.ts +0 -40
  110. package/runtimeConfig.native.ts +0 -16
  111. package/runtimeConfig.shared.ts +0 -16
  112. package/runtimeConfig.ts +0 -45
  113. package/tsconfig.es.json +0 -12
  114. package/tsconfig.json +0 -32
package/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
+
8
+
9
+ ### Features
10
+
11
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
12
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
13
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
14
+
15
+
16
+
17
+
18
+
19
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
20
+
21
+
22
+ ### Features
23
+
24
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
25
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
26
+
27
+
28
+
29
+
30
+
31
+ # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
32
+
33
+
34
+ ### Features
35
+
36
+ * **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
37
+
38
+
39
+
40
+
41
+
42
+ # [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
43
+
44
+ **Note:** Version bump only for package @aws-sdk/client-dynamodb-streams
45
+
46
+
47
+
48
+
49
+
6
50
  # [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
51
 
8
52
  **Note:** Version bump only for package @aws-sdk/client-dynamodb-streams
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DynamoDBStreams = void 0;
4
- const DynamoDBStreamsClient_1 = require("./DynamoDBStreamsClient");
5
4
  const DescribeStreamCommand_1 = require("./commands/DescribeStreamCommand");
6
5
  const GetRecordsCommand_1 = require("./commands/GetRecordsCommand");
7
6
  const GetShardIteratorCommand_1 = require("./commands/GetShardIteratorCommand");
8
7
  const ListStreamsCommand_1 = require("./commands/ListStreamsCommand");
8
+ const DynamoDBStreamsClient_1 = require("./DynamoDBStreamsClient");
9
9
  /**
10
10
  * <fullname>Amazon DynamoDB</fullname>
11
11
  *
@@ -73,4 +73,3 @@ class DynamoDBStreams extends DynamoDBStreamsClient_1.DynamoDBStreamsClient {
73
73
  }
74
74
  }
75
75
  exports.DynamoDBStreams = DynamoDBStreams;
76
- //# sourceMappingURL=DynamoDBStreams.js.map
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DynamoDBStreamsClient = void 0;
4
- const runtimeConfig_1 = require("./runtimeConfig");
5
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
6
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
7
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
@@ -10,6 +9,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
9
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
11
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
12
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
13
  /**
14
14
  * <fullname>Amazon DynamoDB</fullname>
15
15
  *
@@ -20,13 +20,13 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
20
20
  */
21
21
  class DynamoDBStreamsClient extends smithy_client_1.Client {
22
22
  constructor(configuration) {
23
- let _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
24
- let _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
25
- let _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
26
- let _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
27
- let _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
28
- let _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
29
- let _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
23
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
24
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
25
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
26
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
27
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
28
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
29
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
30
30
  super(_config_6);
31
31
  this.config = _config_6;
32
32
  this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
@@ -46,4 +46,3 @@ class DynamoDBStreamsClient extends smithy_client_1.Client {
46
46
  }
47
47
  }
48
48
  exports.DynamoDBStreamsClient = DynamoDBStreamsClient;
49
- //# sourceMappingURL=DynamoDBStreamsClient.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeStreamCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
8
  /**
9
9
  * <p>Returns information about a stream, including the current status of the stream, its Amazon Resource Name (ARN), the composition of its shards, and its corresponding DynamoDB table.</p>
10
10
  * <note>
@@ -66,4 +66,3 @@ class DescribeStreamCommand extends smithy_client_1.Command {
66
66
  }
67
67
  }
68
68
  exports.DescribeStreamCommand = DescribeStreamCommand;
69
- //# sourceMappingURL=DescribeStreamCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetRecordsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
8
  /**
9
9
  * <p>Retrieves the stream records from a given shard.</p>
10
10
  * <p>Specify a shard iterator using the <code>ShardIterator</code> parameter. The shard iterator
@@ -68,4 +68,3 @@ class GetRecordsCommand extends smithy_client_1.Command {
68
68
  }
69
69
  }
70
70
  exports.GetRecordsCommand = GetRecordsCommand;
71
- //# sourceMappingURL=GetRecordsCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetShardIteratorCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
8
  /**
9
9
  * <p>Returns a shard iterator. A shard iterator provides information
10
10
  * about how to retrieve the stream records from within a shard. Use
@@ -65,4 +65,3 @@ class GetShardIteratorCommand extends smithy_client_1.Command {
65
65
  }
66
66
  }
67
67
  exports.GetShardIteratorCommand = GetShardIteratorCommand;
68
- //# sourceMappingURL=GetShardIteratorCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ListStreamsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
8
8
  /**
9
9
  * <p>Returns an array of stream ARNs associated with the current account and endpoint. If the
10
10
  * <code>TableName</code> parameter is present, then <code>ListStreams</code> will return only the
@@ -63,4 +63,3 @@ class ListStreamsCommand extends smithy_client_1.Command {
63
63
  }
64
64
  }
65
65
  exports.ListStreamsCommand = ListStreamsCommand;
66
- //# sourceMappingURL=ListStreamsCommand.js.map
@@ -93,4 +93,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
93
93
  partitionHash,
94
94
  });
95
95
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
96
- //# sourceMappingURL=endpoints.js.map
@@ -8,4 +8,3 @@ tslib_1.__exportStar(require("./commands/GetRecordsCommand"), exports);
8
8
  tslib_1.__exportStar(require("./commands/GetShardIteratorCommand"), exports);
9
9
  tslib_1.__exportStar(require("./commands/ListStreamsCommand"), exports);
10
10
  tslib_1.__exportStar(require("./models/index"), exports);
11
- //# sourceMappingURL=index.js.map
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -268,4 +268,3 @@ var GetRecordsOutput;
268
268
  ...(obj.Records && { Records: obj.Records.map((item) => _Record.filterSensitiveLog(item)) }),
269
269
  });
270
270
  })(GetRecordsOutput = exports.GetRecordsOutput || (exports.GetRecordsOutput = {}));
271
- //# sourceMappingURL=models_0.js.map
@@ -738,4 +738,3 @@ const loadRestJsonErrorCode = (output, data) => {
738
738
  }
739
739
  return "";
740
740
  };
741
- //# sourceMappingURL=Aws_json1_0.js.map
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
38
39
  };
39
40
  };
40
41
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const package_json_1 = tslib_1.__importDefault(require("./package.json"));
5
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const client_sts_1 = require("@aws-sdk/client-sts");
7
8
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
9
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
43
44
  };
44
45
  };
45
46
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -17,4 +17,3 @@ const getRuntimeConfig = (config) => {
17
17
  };
18
18
  };
19
19
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
+ const endpoints_1 = require("./endpoints");
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
18
18
  });
19
19
  };
20
20
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,18 +1,10 @@
1
1
  import { __extends } from "tslib";
2
- import { DynamoDBStreamsClient } from "./DynamoDBStreamsClient";
3
2
  import { DescribeStreamCommand, } from "./commands/DescribeStreamCommand";
4
3
  import { GetRecordsCommand } from "./commands/GetRecordsCommand";
5
4
  import { GetShardIteratorCommand, } from "./commands/GetShardIteratorCommand";
6
5
  import { ListStreamsCommand } from "./commands/ListStreamsCommand";
7
- /**
8
- * <fullname>Amazon DynamoDB</fullname>
9
- *
10
- * <p>Amazon DynamoDB Streams provides API actions for accessing streams and processing
11
- * stream records. To learn more about application development with Streams, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html">Capturing
12
- * Table Activity with DynamoDB Streams</a> in the Amazon DynamoDB Developer
13
- * Guide.</p>
14
- */
15
- var DynamoDBStreams = /** @class */ (function (_super) {
6
+ import { DynamoDBStreamsClient } from "./DynamoDBStreamsClient";
7
+ var DynamoDBStreams = (function (_super) {
16
8
  __extends(DynamoDBStreams, _super);
17
9
  function DynamoDBStreams() {
18
10
  return _super !== null && _super.apply(this, arguments) || this;
@@ -76,4 +68,3 @@ var DynamoDBStreams = /** @class */ (function (_super) {
76
68
  return DynamoDBStreams;
77
69
  }(DynamoDBStreamsClient));
78
70
  export { DynamoDBStreams };
79
- //# sourceMappingURL=DynamoDBStreams.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,15 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * <fullname>Amazon DynamoDB</fullname>
13
- *
14
- * <p>Amazon DynamoDB Streams provides API actions for accessing streams and processing
15
- * stream records. To learn more about application development with Streams, see <a href="https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Streams.html">Capturing
16
- * Table Activity with DynamoDB Streams</a> in the Amazon DynamoDB Developer
17
- * Guide.</p>
18
- */
19
- var DynamoDBStreamsClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var DynamoDBStreamsClient = (function (_super) {
20
12
  __extends(DynamoDBStreamsClient, _super);
21
13
  function DynamoDBStreamsClient(configuration) {
22
14
  var _this = this;
@@ -37,15 +29,9 @@ var DynamoDBStreamsClient = /** @class */ (function (_super) {
37
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
38
30
  return _this;
39
31
  }
40
- /**
41
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
42
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
43
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
44
- */
45
32
  DynamoDBStreamsClient.prototype.destroy = function () {
46
33
  _super.prototype.destroy.call(this);
47
34
  };
48
35
  return DynamoDBStreamsClient;
49
36
  }(__Client));
50
37
  export { DynamoDBStreamsClient };
51
- //# sourceMappingURL=DynamoDBStreamsClient.js.map
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeStreamInput, DescribeStreamOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_0DescribeStreamCommand, serializeAws_json1_0DescribeStreamCommand, } from "../protocols/Aws_json1_0";
6
+ var DescribeStreamCommand = (function (_super) {
7
+ __extends(DescribeStreamCommand, _super);
8
+ function DescribeStreamCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ DescribeStreamCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DynamoDBStreamsClient";
18
+ var commandName = "DescribeStreamCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: DescribeStreamInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeStreamOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeStreamCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_0DescribeStreamCommand(input, context);
33
+ };
34
+ DescribeStreamCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_0DescribeStreamCommand(output, context);
36
+ };
37
+ return DescribeStreamCommand;
38
+ }($Command));
39
+ export { DescribeStreamCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetRecordsInput, GetRecordsOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_0GetRecordsCommand, serializeAws_json1_0GetRecordsCommand, } from "../protocols/Aws_json1_0";
6
+ var GetRecordsCommand = (function (_super) {
7
+ __extends(GetRecordsCommand, _super);
8
+ function GetRecordsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetRecordsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DynamoDBStreamsClient";
18
+ var commandName = "GetRecordsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetRecordsInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetRecordsOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetRecordsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_json1_0GetRecordsCommand(input, context);
33
+ };
34
+ GetRecordsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_0GetRecordsCommand(output, context);
36
+ };
37
+ return GetRecordsCommand;
38
+ }($Command));
39
+ export { GetRecordsCommand };
@@ -1,47 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { GetShardIteratorInput, GetShardIteratorOutput } from "../models/models_0";
3
- import { deserializeAws_json1_0GetShardIteratorCommand, serializeAws_json1_0GetShardIteratorCommand, } from "../protocols/Aws_json1_0";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Returns a shard iterator. A shard iterator provides information
8
- * about how to retrieve the stream records from within a shard. Use
9
- * the shard iterator in a subsequent
10
- * <code>GetRecords</code> request to read the stream records
11
- * from the shard.</p>
12
- * <note>
13
- * <p>A shard iterator expires 15 minutes after it is returned to the requester.</p>
14
- * </note>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { DynamoDBStreamsClient, GetShardIteratorCommand } from "@aws-sdk/client-dynamodb-streams"; // ES Modules import
19
- * // const { DynamoDBStreamsClient, GetShardIteratorCommand } = require("@aws-sdk/client-dynamodb-streams"); // CommonJS import
20
- * const client = new DynamoDBStreamsClient(config);
21
- * const command = new GetShardIteratorCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link GetShardIteratorCommandInput} for command's `input` shape.
26
- * @see {@link GetShardIteratorCommandOutput} for command's `response` shape.
27
- * @see {@link DynamoDBStreamsClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
- var GetShardIteratorCommand = /** @class */ (function (_super) {
4
+ import { GetShardIteratorInput, GetShardIteratorOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_0GetShardIteratorCommand, serializeAws_json1_0GetShardIteratorCommand, } from "../protocols/Aws_json1_0";
6
+ var GetShardIteratorCommand = (function (_super) {
31
7
  __extends(GetShardIteratorCommand, _super);
32
- // Start section: command_properties
33
- // End section: command_properties
34
8
  function GetShardIteratorCommand(input) {
35
- var _this =
36
- // Start section: command_constructor
37
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
38
10
  _this.input = input;
39
11
  return _this;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  GetShardIteratorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
46
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -69,4 +37,3 @@ var GetShardIteratorCommand = /** @class */ (function (_super) {
69
37
  return GetShardIteratorCommand;
70
38
  }($Command));
71
39
  export { GetShardIteratorCommand };
72
- //# sourceMappingURL=GetShardIteratorCommand.js.map
@@ -1,45 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ListStreamsInput, ListStreamsOutput } from "../models/models_0";
3
- import { deserializeAws_json1_0ListStreamsCommand, serializeAws_json1_0ListStreamsCommand, } from "../protocols/Aws_json1_0";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Returns an array of stream ARNs associated with the current account and endpoint. If the
8
- * <code>TableName</code> parameter is present, then <code>ListStreams</code> will return only the
9
- * streams ARNs for that table.</p>
10
- * <note>
11
- * <p>You can call <code>ListStreams</code> at a maximum rate of 5 times per second.</p>
12
- * </note>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { DynamoDBStreamsClient, ListStreamsCommand } from "@aws-sdk/client-dynamodb-streams"; // ES Modules import
17
- * // const { DynamoDBStreamsClient, ListStreamsCommand } = require("@aws-sdk/client-dynamodb-streams"); // CommonJS import
18
- * const client = new DynamoDBStreamsClient(config);
19
- * const command = new ListStreamsCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ListStreamsCommandInput} for command's `input` shape.
24
- * @see {@link ListStreamsCommandOutput} for command's `response` shape.
25
- * @see {@link DynamoDBStreamsClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
- var ListStreamsCommand = /** @class */ (function (_super) {
4
+ import { ListStreamsInput, ListStreamsOutput } from "../models/models_0";
5
+ import { deserializeAws_json1_0ListStreamsCommand, serializeAws_json1_0ListStreamsCommand, } from "../protocols/Aws_json1_0";
6
+ var ListStreamsCommand = (function (_super) {
29
7
  __extends(ListStreamsCommand, _super);
30
- // Start section: command_properties
31
- // End section: command_properties
32
8
  function ListStreamsCommand(input) {
33
- var _this =
34
- // Start section: command_constructor
35
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
36
10
  _this.input = input;
37
11
  return _this;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  ListStreamsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
44
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -67,4 +37,3 @@ var ListStreamsCommand = /** @class */ (function (_super) {
67
37
  return ListStreamsCommand;
68
38
  }($Command));
69
39
  export { ListStreamsCommand };
70
- //# sourceMappingURL=ListStreamsCommand.js.map
@@ -86,7 +86,6 @@ var partitionHash = {
86
86
  };
87
87
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
88
88
  return __generator(this, function (_a) {
89
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "dynamodb", regionHash: regionHash, partitionHash: partitionHash }))];
89
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "dynamodb", regionHash: regionHash, partitionHash: partitionHash }))];
90
90
  });
91
91
  }); };
92
- //# sourceMappingURL=endpoints.js.map
File without changes