@aws-sdk/client-dynamodb-streams 3.840.0 → 3.845.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -35,6 +35,7 @@ __export(index_exports, {
35
35
  ListStreamsCommand: () => ListStreamsCommand,
36
36
  OperationType: () => OperationType,
37
37
  ResourceNotFoundException: () => ResourceNotFoundException,
38
+ ShardFilterType: () => ShardFilterType,
38
39
  ShardIteratorType: () => ShardIteratorType,
39
40
  StreamStatus: () => StreamStatus,
40
41
  StreamViewType: () => StreamViewType,
@@ -213,6 +214,9 @@ var DynamoDBStreamsServiceException = class _DynamoDBStreamsServiceException ext
213
214
  };
214
215
 
215
216
  // src/models/models_0.ts
217
+ var ShardFilterType = {
218
+ CHILD_SHARDS: "CHILD_SHARDS"
219
+ };
216
220
  var KeyType = {
217
221
  HASH: "HASH",
218
222
  RANGE: "RANGE"
@@ -742,6 +746,7 @@ var DynamoDBStreams = class extends DynamoDBStreamsClient {
742
746
  GetRecordsCommand,
743
747
  GetShardIteratorCommand,
744
748
  ListStreamsCommand,
749
+ ShardFilterType,
745
750
  KeyType,
746
751
  StreamStatus,
747
752
  StreamViewType,
@@ -1,4 +1,7 @@
1
1
  import { DynamoDBStreamsServiceException as __BaseException } from "./DynamoDBStreamsServiceException";
2
+ export const ShardFilterType = {
3
+ CHILD_SHARDS: "CHILD_SHARDS",
4
+ };
2
5
  export const KeyType = {
3
6
  HASH: "HASH",
4
7
  RANGE: "RANGE",
@@ -46,6 +46,10 @@ declare const DescribeStreamCommand_base: {
46
46
  * StreamArn: "STRING_VALUE", // required
47
47
  * Limit: Number("int"),
48
48
  * ExclusiveStartShardId: "STRING_VALUE",
49
+ * ShardFilter: { // ShardFilter
50
+ * Type: "CHILD_SHARDS",
51
+ * ShardId: "STRING_VALUE",
52
+ * },
49
53
  * };
50
54
  * const command = new DescribeStreamCommand(input);
51
55
  * const response = await client.send(command);
@@ -1,5 +1,37 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { DynamoDBStreamsServiceException as __BaseException } from "./DynamoDBStreamsServiceException";
3
+ /**
4
+ * @public
5
+ * @enum
6
+ */
7
+ export declare const ShardFilterType: {
8
+ readonly CHILD_SHARDS: "CHILD_SHARDS";
9
+ };
10
+ /**
11
+ * @public
12
+ */
13
+ export type ShardFilterType = (typeof ShardFilterType)[keyof typeof ShardFilterType];
14
+ /**
15
+ * <p>This optional field contains the filter
16
+ * definition for the <code>DescribeStream</code> API.</p>
17
+ * @public
18
+ */
19
+ export interface ShardFilter {
20
+ /**
21
+ * <p>Contains the type of filter to be applied on the <code>DescribeStream</code> API.
22
+ * Currently, the only value this parameter accepts is <code>CHILD_SHARDS</code>.</p>
23
+ * @public
24
+ */
25
+ Type?: ShardFilterType | undefined;
26
+ /**
27
+ * <p>Contains the <code>shardId</code> of the parent shard for which you are requesting child shards.</p>
28
+ * <p>
29
+ * <i>Sample request:</i>
30
+ * </p>
31
+ * @public
32
+ */
33
+ ShardId?: string | undefined;
34
+ }
3
35
  /**
4
36
  * <p>Represents the input of a <code>DescribeStream</code> operation.</p>
5
37
  * @public
@@ -21,6 +53,12 @@ export interface DescribeStreamInput {
21
53
  * @public
22
54
  */
23
55
  ExclusiveStartShardId?: string | undefined;
56
+ /**
57
+ * <p>This optional field contains the filter definition for the
58
+ * <code>DescribeStream</code> API.</p>
59
+ * @public
60
+ */
61
+ ShardFilter?: ShardFilter | undefined;
24
62
  }
25
63
  /**
26
64
  * @public
@@ -803,7 +841,7 @@ export declare namespace AttributeValue {
803
841
  */
804
842
  export interface StreamRecord {
805
843
  /**
806
- * <p>The approximate date and time when the stream record was created, in <a href="http://www.epochconverter.com/">UNIX epoch time</a> format and rounded down to the closest second.</p>
844
+ * <p>The approximate date and time when the stream record was created, in <a href="https://www.iso.org/iso-8601-date-and-time-format.html">ISO 8601</a> format and rounded down to the closest second.</p>
807
845
  * @public
808
846
  */
809
847
  ApproximateCreationDateTime?: Date | undefined;
@@ -1,9 +1,19 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { DynamoDBStreamsServiceException as __BaseException } from "./DynamoDBStreamsServiceException";
3
+ export declare const ShardFilterType: {
4
+ readonly CHILD_SHARDS: "CHILD_SHARDS";
5
+ };
6
+ export type ShardFilterType =
7
+ (typeof ShardFilterType)[keyof typeof ShardFilterType];
8
+ export interface ShardFilter {
9
+ Type?: ShardFilterType | undefined;
10
+ ShardId?: string | undefined;
11
+ }
3
12
  export interface DescribeStreamInput {
4
13
  StreamArn: string | undefined;
5
14
  Limit?: number | undefined;
6
15
  ExclusiveStartShardId?: string | undefined;
16
+ ShardFilter?: ShardFilter | undefined;
7
17
  }
8
18
  export declare const KeyType: {
9
19
  readonly HASH: "HASH";
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.840.0",
4
+ "version": "3.845.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-dynamodb-streams",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.840.0",
24
- "@aws-sdk/credential-provider-node": "3.840.0",
23
+ "@aws-sdk/core": "3.845.0",
24
+ "@aws-sdk/credential-provider-node": "3.845.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-user-agent": "3.840.0",
28
+ "@aws-sdk/middleware-user-agent": "3.845.0",
29
29
  "@aws-sdk/region-config-resolver": "3.840.0",
30
30
  "@aws-sdk/types": "3.840.0",
31
- "@aws-sdk/util-endpoints": "3.840.0",
31
+ "@aws-sdk/util-endpoints": "3.845.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.840.0",
33
- "@aws-sdk/util-user-agent-node": "3.840.0",
33
+ "@aws-sdk/util-user-agent-node": "3.845.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
- "@smithy/core": "^3.6.0",
36
- "@smithy/fetch-http-handler": "^5.0.4",
35
+ "@smithy/core": "^3.7.0",
36
+ "@smithy/fetch-http-handler": "^5.1.0",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.13",
41
- "@smithy/middleware-retry": "^4.1.14",
40
+ "@smithy/middleware-endpoint": "^4.1.15",
41
+ "@smithy/middleware-retry": "^4.1.16",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
- "@smithy/node-http-handler": "^4.0.6",
45
+ "@smithy/node-http-handler": "^4.1.0",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.5",
47
+ "@smithy/smithy-client": "^4.4.7",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.21",
54
- "@smithy/util-defaults-mode-node": "^4.0.21",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.23",
54
+ "@smithy/util-defaults-mode-node": "^4.0.23",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
57
  "@smithy/util-retry": "^4.0.6",