@aws-sdk/client-dynamodb-streams 3.1019.0 → 3.1021.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.
@@ -1,8 +1,8 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
2
  import { DescribeStreamCommand, } from "./commands/DescribeStreamCommand";
3
- import { GetRecordsCommand } from "./commands/GetRecordsCommand";
3
+ import { GetRecordsCommand, } from "./commands/GetRecordsCommand";
4
4
  import { GetShardIteratorCommand, } from "./commands/GetShardIteratorCommand";
5
- import { ListStreamsCommand } from "./commands/ListStreamsCommand";
5
+ import { ListStreamsCommand, } from "./commands/ListStreamsCommand";
6
6
  import { DynamoDBStreamsClient } from "./DynamoDBStreamsClient";
7
7
  const commands = {
8
8
  DescribeStreamCommand,
@@ -1,8 +1,8 @@
1
1
  import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
- import { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
3
- import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
4
- import { GetShardIteratorCommandInput, GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
5
- import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
2
+ import { type DescribeStreamCommandInput, type DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
3
+ import { type GetRecordsCommandInput, type GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
4
+ import { type GetShardIteratorCommandInput, type GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
5
+ import { type ListStreamsCommandInput, type ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
6
6
  import { DynamoDBStreamsClient } from "./DynamoDBStreamsClient";
7
7
  export interface DynamoDBStreams {
8
8
  /**
@@ -5,13 +5,13 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
5
5
  import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
- import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
8
+ import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
- import { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
11
- import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
12
- import { GetShardIteratorCommandInput, GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
13
- import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
14
- import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
10
+ import type { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
11
+ import type { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
12
+ import type { GetShardIteratorCommandInput, GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
13
+ import type { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
14
+ import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
15
15
  import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
16
16
  export { __Client };
17
17
  /**
@@ -120,7 +120,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
120
120
  * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
121
121
  * @internal
122
122
  */
123
- defaultUserAgentProvider?: Provider<__UserAgent>;
123
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
124
124
  /**
125
125
  * Default credentials provider; Not available in browser runtime.
126
126
  * @deprecated
@@ -1,4 +1,4 @@
1
- import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
1
+ import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
2
  import type { DynamoDBStreamsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
@@ -9,7 +9,7 @@
9
9
  */
10
10
  export * from "./DynamoDBStreamsClient";
11
11
  export * from "./DynamoDBStreams";
12
- export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
12
+ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
13
13
  export type { RuntimeExtension } from "./runtimeExtensions";
14
14
  export type { DynamoDBStreamsExtensionConfiguration } from "./extensionConfiguration";
15
15
  export * from "./commands";
@@ -1,4 +1,4 @@
1
- import { KeyType, OperationType, ShardFilterType, ShardIteratorType, StreamStatus, StreamViewType } from "./enums";
1
+ import type { KeyType, OperationType, ShardFilterType, ShardIteratorType, StreamStatus, StreamViewType } from "./enums";
2
2
  /**
3
3
  * <p>This optional field contains the filter
4
4
  * definition for the <code>DescribeStream</code> API.</p>
@@ -26,6 +26,7 @@ import {
26
26
  Client as __Client,
27
27
  } from "@smithy/smithy-client";
28
28
  import {
29
+ AwsCredentialIdentityProvider,
29
30
  BodyLengthCalculator as __BodyLengthCalculator,
30
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
31
32
  ChecksumConstructor as __ChecksumConstructor,
@@ -37,8 +38,6 @@ import {
37
38
  Provider as __Provider,
38
39
  StreamCollector as __StreamCollector,
39
40
  UrlParser as __UrlParser,
40
- AwsCredentialIdentityProvider,
41
- Provider,
42
41
  UserAgent as __UserAgent,
43
42
  } from "@smithy/types";
44
43
  import {
@@ -96,7 +95,7 @@ export interface ClientDefaults
96
95
  useFipsEndpoint?: boolean | __Provider<boolean>;
97
96
  region?: string | __Provider<string>;
98
97
  profile?: string;
99
- defaultUserAgentProvider?: Provider<__UserAgent>;
98
+ defaultUserAgentProvider?: __Provider<__UserAgent>;
100
99
  credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
101
100
  maxAttempts?: number | __Provider<number>;
102
101
  retryMode?: string | __Provider<string>;
@@ -1,7 +1,7 @@
1
1
  import {
2
- HttpAuthScheme,
3
2
  AwsCredentialIdentity,
4
3
  AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { DynamoDBStreamsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
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.1019.0",
4
+ "version": "3.1021.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-dynamodb-streams",
@@ -27,46 +27,46 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "5.2.0",
29
29
  "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/core": "^3.973.25",
31
- "@aws-sdk/credential-provider-node": "^3.972.27",
30
+ "@aws-sdk/core": "^3.973.26",
31
+ "@aws-sdk/credential-provider-node": "^3.972.29",
32
32
  "@aws-sdk/middleware-host-header": "^3.972.8",
33
33
  "@aws-sdk/middleware-logger": "^3.972.8",
34
34
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",
35
- "@aws-sdk/middleware-user-agent": "^3.972.26",
35
+ "@aws-sdk/middleware-user-agent": "^3.972.28",
36
36
  "@aws-sdk/region-config-resolver": "^3.972.10",
37
37
  "@aws-sdk/types": "^3.973.6",
38
38
  "@aws-sdk/util-endpoints": "^3.996.5",
39
39
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
40
- "@aws-sdk/util-user-agent-node": "^3.973.12",
40
+ "@aws-sdk/util-user-agent-node": "^3.973.14",
41
41
  "@smithy/config-resolver": "^4.4.13",
42
- "@smithy/core": "^3.23.12",
42
+ "@smithy/core": "^3.23.13",
43
43
  "@smithy/fetch-http-handler": "^5.3.15",
44
44
  "@smithy/hash-node": "^4.2.12",
45
45
  "@smithy/invalid-dependency": "^4.2.12",
46
46
  "@smithy/middleware-content-length": "^4.2.12",
47
- "@smithy/middleware-endpoint": "^4.4.27",
48
- "@smithy/middleware-retry": "^4.4.44",
49
- "@smithy/middleware-serde": "^4.2.15",
47
+ "@smithy/middleware-endpoint": "^4.4.28",
48
+ "@smithy/middleware-retry": "^4.4.46",
49
+ "@smithy/middleware-serde": "^4.2.16",
50
50
  "@smithy/middleware-stack": "^4.2.12",
51
51
  "@smithy/node-config-provider": "^4.3.12",
52
- "@smithy/node-http-handler": "^4.5.0",
52
+ "@smithy/node-http-handler": "^4.5.1",
53
53
  "@smithy/protocol-http": "^5.3.12",
54
- "@smithy/smithy-client": "^4.12.7",
54
+ "@smithy/smithy-client": "^4.12.8",
55
55
  "@smithy/types": "^4.13.1",
56
56
  "@smithy/url-parser": "^4.2.12",
57
57
  "@smithy/util-base64": "^4.3.2",
58
58
  "@smithy/util-body-length-browser": "^4.2.2",
59
59
  "@smithy/util-body-length-node": "^4.2.3",
60
- "@smithy/util-defaults-mode-browser": "^4.3.43",
61
- "@smithy/util-defaults-mode-node": "^4.2.47",
60
+ "@smithy/util-defaults-mode-browser": "^4.3.44",
61
+ "@smithy/util-defaults-mode-node": "^4.2.48",
62
62
  "@smithy/util-endpoints": "^3.3.3",
63
63
  "@smithy/util-middleware": "^4.2.12",
64
- "@smithy/util-retry": "^4.2.12",
64
+ "@smithy/util-retry": "^4.2.13",
65
65
  "@smithy/util-utf8": "^4.2.2",
66
66
  "tslib": "^2.6.2"
67
67
  },
68
68
  "devDependencies": {
69
- "@smithy/snapshot-testing": "^2.0.3",
69
+ "@smithy/snapshot-testing": "^2.0.4",
70
70
  "@tsconfig/node20": "20.1.8",
71
71
  "@types/node": "^20.14.8",
72
72
  "concurrently": "7.0.0",