@aws-sdk/client-dynamodb-streams 3.289.0 → 3.292.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.
@@ -37,6 +37,15 @@ export interface DescribeStreamCommandOutput extends DescribeStreamOutput, __Met
37
37
  * @see {@link DescribeStreamCommandOutput} for command's `response` shape.
38
38
  * @see {@link DynamoDBStreamsClientResolvedConfig | config} for DynamoDBStreamsClient's `config` shape.
39
39
  *
40
+ * @throws {@link InternalServerError} (server fault)
41
+ * <p>An error occurred on the server side.</p>
42
+ *
43
+ * @throws {@link ResourceNotFoundException} (client fault)
44
+ * <p>The operation tried to access a nonexistent table or index. The resource
45
+ * might not be specified correctly, or its status might not be
46
+ * <code>ACTIVE</code>.</p>
47
+ *
48
+ *
40
49
  * @example To describe a stream with a given stream ARN
41
50
  * ```javascript
42
51
  * // The following example describes a stream with a given stream ARN.
@@ -39,6 +39,47 @@ export interface GetRecordsCommandOutput extends GetRecordsOutput, __MetadataBea
39
39
  * @see {@link GetRecordsCommandOutput} for command's `response` shape.
40
40
  * @see {@link DynamoDBStreamsClientResolvedConfig | config} for DynamoDBStreamsClient's `config` shape.
41
41
  *
42
+ * @throws {@link ExpiredIteratorException} (client fault)
43
+ * <p>The shard iterator has expired and can no longer be used to retrieve stream records. A shard
44
+ * iterator expires 15 minutes after it is retrieved using the <code>GetShardIterator</code>
45
+ * action.</p>
46
+ *
47
+ * @throws {@link InternalServerError} (server fault)
48
+ * <p>An error occurred on the server side.</p>
49
+ *
50
+ * @throws {@link LimitExceededException} (client fault)
51
+ * <p>There is no limit to the number of daily on-demand backups that can be taken. </p>
52
+ * <p>For most purposes, up to 500 simultaneous table operations are allowed per account. These operations
53
+ * include <code>CreateTable</code>, <code>UpdateTable</code>,
54
+ * <code>DeleteTable</code>,<code>UpdateTimeToLive</code>,
55
+ * <code>RestoreTableFromBackup</code>, and <code>RestoreTableToPointInTime</code>. </p>
56
+ * <p>When you are creating a table with one or more secondary
57
+ * indexes, you can have up to 250 such requests running at a time. However, if the table or
58
+ * index specifications are complex, then DynamoDB might temporarily reduce the number
59
+ * of concurrent operations.</p>
60
+ * <p>When importing into DynamoDB, up to 50 simultaneous import table operations are allowed per account.</p>
61
+ * <p>There is a soft account quota of 2,500 tables.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The operation tried to access a nonexistent table or index. The resource
65
+ * might not be specified correctly, or its status might not be
66
+ * <code>ACTIVE</code>.</p>
67
+ *
68
+ * @throws {@link TrimmedDataAccessException} (client fault)
69
+ * <p>The operation attempted to read past the oldest stream record in a shard.</p>
70
+ * <p>In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records whose age exceeds this limit are subject to removal (trimming) from the stream. You might receive a TrimmedDataAccessException if:</p>
71
+ * <ul>
72
+ * <li>
73
+ * <p>You request a shard iterator with a sequence number older than the trim point (24 hours).</p>
74
+ * </li>
75
+ * <li>
76
+ * <p>You obtain a shard iterator, but before you use the iterator in a <code>GetRecords</code>
77
+ * request, a stream record in the shard exceeds the 24 hour period and is trimmed. This causes
78
+ * the iterator to access a record that no longer exists.</p>
79
+ * </li>
80
+ * </ul>
81
+ *
82
+ *
42
83
  * @example To retrieve all the stream records from a shard
43
84
  * ```javascript
44
85
  * // The following example retrieves all the stream records from a shard.
@@ -36,6 +36,29 @@ export interface GetShardIteratorCommandOutput extends GetShardIteratorOutput, _
36
36
  * @see {@link GetShardIteratorCommandOutput} for command's `response` shape.
37
37
  * @see {@link DynamoDBStreamsClientResolvedConfig | config} for DynamoDBStreamsClient's `config` shape.
38
38
  *
39
+ * @throws {@link InternalServerError} (server fault)
40
+ * <p>An error occurred on the server side.</p>
41
+ *
42
+ * @throws {@link ResourceNotFoundException} (client fault)
43
+ * <p>The operation tried to access a nonexistent table or index. The resource
44
+ * might not be specified correctly, or its status might not be
45
+ * <code>ACTIVE</code>.</p>
46
+ *
47
+ * @throws {@link TrimmedDataAccessException} (client fault)
48
+ * <p>The operation attempted to read past the oldest stream record in a shard.</p>
49
+ * <p>In DynamoDB Streams, there is a 24 hour limit on data retention. Stream records whose age exceeds this limit are subject to removal (trimming) from the stream. You might receive a TrimmedDataAccessException if:</p>
50
+ * <ul>
51
+ * <li>
52
+ * <p>You request a shard iterator with a sequence number older than the trim point (24 hours).</p>
53
+ * </li>
54
+ * <li>
55
+ * <p>You obtain a shard iterator, but before you use the iterator in a <code>GetRecords</code>
56
+ * request, a stream record in the shard exceeds the 24 hour period and is trimmed. This causes
57
+ * the iterator to access a record that no longer exists.</p>
58
+ * </li>
59
+ * </ul>
60
+ *
61
+ *
39
62
  * @example To obtain a shard iterator for the provided stream ARN and shard ID
40
63
  * ```javascript
41
64
  * // The following example returns a shard iterator for the provided stream ARN and shard ID.
@@ -34,6 +34,15 @@ export interface ListStreamsCommandOutput extends ListStreamsOutput, __MetadataB
34
34
  * @see {@link ListStreamsCommandOutput} for command's `response` shape.
35
35
  * @see {@link DynamoDBStreamsClientResolvedConfig | config} for DynamoDBStreamsClient's `config` shape.
36
36
  *
37
+ * @throws {@link InternalServerError} (server fault)
38
+ * <p>An error occurred on the server side.</p>
39
+ *
40
+ * @throws {@link ResourceNotFoundException} (client fault)
41
+ * <p>The operation tried to access a nonexistent table or index. The resource
42
+ * might not be specified correctly, or its status might not be
43
+ * <code>ACTIVE</code>.</p>
44
+ *
45
+ *
37
46
  * @example To list all of the stream ARNs
38
47
  * ```javascript
39
48
  * // The following example lists all of the stream ARNs.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb-streams",
3
3
  "description": "AWS SDK for JavaScript Dynamodb Streams Client for Node.js, Browser and React Native",
4
- "version": "3.289.0",
4
+ "version": "3.292.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,55 +20,50 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.289.0",
24
- "@aws-sdk/config-resolver": "3.289.0",
25
- "@aws-sdk/credential-provider-node": "3.289.0",
26
- "@aws-sdk/fetch-http-handler": "3.289.0",
27
- "@aws-sdk/hash-node": "3.289.0",
28
- "@aws-sdk/invalid-dependency": "3.289.0",
29
- "@aws-sdk/middleware-content-length": "3.289.0",
30
- "@aws-sdk/middleware-endpoint": "3.289.0",
31
- "@aws-sdk/middleware-host-header": "3.289.0",
32
- "@aws-sdk/middleware-logger": "3.289.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
- "@aws-sdk/middleware-retry": "3.289.0",
35
- "@aws-sdk/middleware-serde": "3.289.0",
36
- "@aws-sdk/middleware-signing": "3.289.0",
37
- "@aws-sdk/middleware-stack": "3.289.0",
38
- "@aws-sdk/middleware-user-agent": "3.289.0",
39
- "@aws-sdk/node-config-provider": "3.289.0",
40
- "@aws-sdk/node-http-handler": "3.289.0",
41
- "@aws-sdk/protocol-http": "3.289.0",
42
- "@aws-sdk/smithy-client": "3.289.0",
43
- "@aws-sdk/types": "3.289.0",
44
- "@aws-sdk/url-parser": "3.289.0",
45
- "@aws-sdk/util-base64": "3.208.0",
46
- "@aws-sdk/util-body-length-browser": "3.188.0",
47
- "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
- "@aws-sdk/util-endpoints": "3.289.0",
51
- "@aws-sdk/util-retry": "3.289.0",
52
- "@aws-sdk/util-user-agent-browser": "3.289.0",
53
- "@aws-sdk/util-user-agent-node": "3.289.0",
54
- "@aws-sdk/util-utf8": "3.254.0",
23
+ "@aws-sdk/client-sts": "3.292.0",
24
+ "@aws-sdk/config-resolver": "3.292.0",
25
+ "@aws-sdk/credential-provider-node": "3.292.0",
26
+ "@aws-sdk/fetch-http-handler": "3.292.0",
27
+ "@aws-sdk/hash-node": "3.292.0",
28
+ "@aws-sdk/invalid-dependency": "3.292.0",
29
+ "@aws-sdk/middleware-content-length": "3.292.0",
30
+ "@aws-sdk/middleware-endpoint": "3.292.0",
31
+ "@aws-sdk/middleware-host-header": "3.292.0",
32
+ "@aws-sdk/middleware-logger": "3.292.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
+ "@aws-sdk/middleware-retry": "3.292.0",
35
+ "@aws-sdk/middleware-serde": "3.292.0",
36
+ "@aws-sdk/middleware-signing": "3.292.0",
37
+ "@aws-sdk/middleware-stack": "3.292.0",
38
+ "@aws-sdk/middleware-user-agent": "3.292.0",
39
+ "@aws-sdk/node-config-provider": "3.292.0",
40
+ "@aws-sdk/node-http-handler": "3.292.0",
41
+ "@aws-sdk/protocol-http": "3.292.0",
42
+ "@aws-sdk/smithy-client": "3.292.0",
43
+ "@aws-sdk/types": "3.292.0",
44
+ "@aws-sdk/url-parser": "3.292.0",
45
+ "@aws-sdk/util-base64": "3.292.0",
46
+ "@aws-sdk/util-body-length-browser": "3.292.0",
47
+ "@aws-sdk/util-body-length-node": "3.292.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
+ "@aws-sdk/util-endpoints": "3.292.0",
51
+ "@aws-sdk/util-retry": "3.292.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.292.0",
53
+ "@aws-sdk/util-user-agent-node": "3.292.0",
54
+ "@aws-sdk/util-utf8": "3.292.0",
55
55
  "tslib": "^2.3.1"
56
56
  },
57
57
  "devDependencies": {
58
- "@aws-sdk/service-client-documentation-generator": "3.208.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.292.0",
59
59
  "@tsconfig/node14": "1.0.3",
60
60
  "@types/node": "^14.14.31",
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "rimraf": "3.0.2",
64
- "typedoc": "0.19.2",
64
+ "typedoc": "0.23.23",
65
65
  "typescript": "~4.6.2"
66
66
  },
67
- "overrides": {
68
- "typedoc": {
69
- "typescript": "~4.6.2"
70
- }
71
- },
72
67
  "engines": {
73
68
  "node": ">=14.0.0"
74
69
  },