@aws-sdk/client-dynamodb-streams 3.1087.0 → 3.1088.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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1086.0";
72
+ var version = "3.1087.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -3,74 +3,66 @@ import {
3
3
  DescribeStreamCommandInput,
4
4
  DescribeStreamCommandOutput,
5
5
  } from "./commands/DescribeStreamCommand";
6
- import {
7
- GetRecordsCommandInput,
8
- GetRecordsCommandOutput,
9
- } from "./commands/GetRecordsCommand";
6
+ import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
10
7
  import {
11
8
  GetShardIteratorCommandInput,
12
9
  GetShardIteratorCommandOutput,
13
10
  } from "./commands/GetShardIteratorCommand";
14
- import {
15
- ListStreamsCommandInput,
16
- ListStreamsCommandOutput,
17
- } from "./commands/ListStreamsCommand";
11
+ import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
18
12
  import { DynamoDBStreamsClient } from "./DynamoDBStreamsClient";
19
13
  export interface DynamoDBStreams {
20
14
  describeStream(
21
15
  args: DescribeStreamCommandInput,
22
- options?: __HttpHandlerOptions
16
+ options?: __HttpHandlerOptions,
23
17
  ): Promise<DescribeStreamCommandOutput>;
24
18
  describeStream(
25
19
  args: DescribeStreamCommandInput,
26
- cb: (err: any, data?: DescribeStreamCommandOutput) => void
20
+ cb: (err: any, data?: DescribeStreamCommandOutput) => void,
27
21
  ): void;
28
22
  describeStream(
29
23
  args: DescribeStreamCommandInput,
30
24
  options: __HttpHandlerOptions,
31
- cb: (err: any, data?: DescribeStreamCommandOutput) => void
25
+ cb: (err: any, data?: DescribeStreamCommandOutput) => void,
32
26
  ): void;
33
27
  getRecords(
34
28
  args: GetRecordsCommandInput,
35
- options?: __HttpHandlerOptions
29
+ options?: __HttpHandlerOptions,
36
30
  ): Promise<GetRecordsCommandOutput>;
37
31
  getRecords(
38
32
  args: GetRecordsCommandInput,
39
- cb: (err: any, data?: GetRecordsCommandOutput) => void
33
+ cb: (err: any, data?: GetRecordsCommandOutput) => void,
40
34
  ): void;
41
35
  getRecords(
42
36
  args: GetRecordsCommandInput,
43
37
  options: __HttpHandlerOptions,
44
- cb: (err: any, data?: GetRecordsCommandOutput) => void
38
+ cb: (err: any, data?: GetRecordsCommandOutput) => void,
45
39
  ): void;
46
40
  getShardIterator(
47
41
  args: GetShardIteratorCommandInput,
48
- options?: __HttpHandlerOptions
42
+ options?: __HttpHandlerOptions,
49
43
  ): Promise<GetShardIteratorCommandOutput>;
50
44
  getShardIterator(
51
45
  args: GetShardIteratorCommandInput,
52
- cb: (err: any, data?: GetShardIteratorCommandOutput) => void
46
+ cb: (err: any, data?: GetShardIteratorCommandOutput) => void,
53
47
  ): void;
54
48
  getShardIterator(
55
49
  args: GetShardIteratorCommandInput,
56
50
  options: __HttpHandlerOptions,
57
- cb: (err: any, data?: GetShardIteratorCommandOutput) => void
51
+ cb: (err: any, data?: GetShardIteratorCommandOutput) => void,
58
52
  ): void;
59
53
  listStreams(): Promise<ListStreamsCommandOutput>;
60
54
  listStreams(
61
55
  args: ListStreamsCommandInput,
62
- options?: __HttpHandlerOptions
56
+ options?: __HttpHandlerOptions,
63
57
  ): Promise<ListStreamsCommandOutput>;
64
58
  listStreams(
65
59
  args: ListStreamsCommandInput,
66
- cb: (err: any, data?: ListStreamsCommandOutput) => void
60
+ cb: (err: any, data?: ListStreamsCommandOutput) => void,
67
61
  ): void;
68
62
  listStreams(
69
63
  args: ListStreamsCommandInput,
70
64
  options: __HttpHandlerOptions,
71
- cb: (err: any, data?: ListStreamsCommandOutput) => void
65
+ cb: (err: any, data?: ListStreamsCommandOutput) => void,
72
66
  ): void;
73
67
  }
74
- export declare class DynamoDBStreams
75
- extends DynamoDBStreamsClient
76
- implements DynamoDBStreams {}
68
+ export declare class DynamoDBStreams extends DynamoDBStreamsClient implements DynamoDBStreams {}
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -40,18 +37,12 @@ import {
40
37
  DescribeStreamCommandInput,
41
38
  DescribeStreamCommandOutput,
42
39
  } from "./commands/DescribeStreamCommand";
43
- import {
44
- GetRecordsCommandInput,
45
- GetRecordsCommandOutput,
46
- } from "./commands/GetRecordsCommand";
40
+ import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
47
41
  import {
48
42
  GetShardIteratorCommandInput,
49
43
  GetShardIteratorCommandOutput,
50
44
  } from "./commands/GetShardIteratorCommand";
51
- import {
52
- ListStreamsCommandInput,
53
- ListStreamsCommandOutput,
54
- } from "./commands/ListStreamsCommand";
45
+ import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
55
46
  import {
56
47
  ClientInputEndpointParameters,
57
48
  ClientResolvedEndpointParameters,
@@ -69,8 +60,7 @@ export type ServiceOutputTypes =
69
60
  | GetRecordsCommandOutput
70
61
  | GetShardIteratorCommandOutput
71
62
  | ListStreamsCommandOutput;
72
- export interface ClientDefaults
73
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
63
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
74
64
  requestHandler?: __HttpHandlerUserInput;
75
65
  sha256?: __ChecksumConstructor | __HashConstructor;
76
66
  urlParser?: __UrlParser;
@@ -95,9 +85,7 @@ export interface ClientDefaults
95
85
  extensions?: RuntimeExtension[];
96
86
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
97
87
  }
98
- export type DynamoDBStreamsClientConfigType = Partial<
99
- __SmithyConfiguration<__HttpHandlerOptions>
100
- > &
88
+ export type DynamoDBStreamsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
101
89
  ClientDefaults &
102
90
  UserAgentInputConfig &
103
91
  RetryInputConfig &
@@ -106,8 +94,7 @@ export type DynamoDBStreamsClientConfigType = Partial<
106
94
  EndpointInputConfig<EndpointParameters> &
107
95
  HttpAuthSchemeInputConfig &
108
96
  ClientInputEndpointParameters;
109
- export interface DynamoDBStreamsClientConfig
110
- extends DynamoDBStreamsClientConfigType {}
97
+ export interface DynamoDBStreamsClientConfig extends DynamoDBStreamsClientConfigType {}
111
98
  export type DynamoDBStreamsClientResolvedConfigType =
112
99
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
113
100
  Required<ClientDefaults> &
@@ -119,8 +106,7 @@ export type DynamoDBStreamsClientResolvedConfigType =
119
106
  EndpointResolvedConfig<EndpointParameters> &
120
107
  HttpAuthSchemeResolvedConfig &
121
108
  ClientResolvedEndpointParameters;
122
- export interface DynamoDBStreamsClientResolvedConfig
123
- extends DynamoDBStreamsClientResolvedConfigType {}
109
+ export interface DynamoDBStreamsClientResolvedConfig extends DynamoDBStreamsClientResolvedConfigType {}
124
110
  export declare class DynamoDBStreamsClient extends __Client<
125
111
  __HttpHandlerOptions,
126
112
  ServiceInputTypes,
@@ -128,8 +114,6 @@ export declare class DynamoDBStreamsClient extends __Client<
128
114
  DynamoDBStreamsClientResolvedConfig
129
115
  > {
130
116
  readonly config: DynamoDBStreamsClientResolvedConfig;
131
- constructor(
132
- ...[configuration]: __CheckOptionalClientConfig<DynamoDBStreamsClientConfig>
133
- );
117
+ constructor(...[configuration]: __CheckOptionalClientConfig<DynamoDBStreamsClientConfig>);
134
118
  destroy(): void;
135
119
  }
@@ -7,17 +7,10 @@ import { DynamoDBStreamsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider"
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: DynamoDBStreamsHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: DynamoDBStreamsHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): DynamoDBStreamsHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
14
  }
22
15
  export type HttpAuthRuntimeConfig = Partial<{
23
16
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
18
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
19
  }>;
27
20
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
21
+ runtimeConfig: HttpAuthRuntimeConfig,
29
22
  ) => HttpAuthExtensionConfiguration;
30
23
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
24
+ config: HttpAuthExtensionConfiguration,
32
25
  ) => HttpAuthRuntimeConfig;
@@ -12,36 +12,32 @@ import {
12
12
  Provider,
13
13
  } from "@smithy/types";
14
14
  import { DynamoDBStreamsClientResolvedConfig } from "../DynamoDBStreamsClient";
15
- export interface DynamoDBStreamsHttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface DynamoDBStreamsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface DynamoDBStreamsHttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- DynamoDBStreamsClientResolvedConfig,
22
- HandlerExecutionContext,
23
- DynamoDBStreamsHttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface DynamoDBStreamsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ DynamoDBStreamsClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ DynamoDBStreamsHttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultDynamoDBStreamsHttpAuthSchemeParametersProvider: (
27
25
  config: DynamoDBStreamsClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<DynamoDBStreamsHttpAuthSchemeParameters>;
31
- export interface DynamoDBStreamsHttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<DynamoDBStreamsHttpAuthSchemeParameters> {}
29
+ export interface DynamoDBStreamsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<DynamoDBStreamsHttpAuthSchemeParameters> {}
33
30
  export declare const defaultDynamoDBStreamsHttpAuthSchemeProvider: DynamoDBStreamsHttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: DynamoDBStreamsHttpAuthSchemeProvider;
38
35
  }
39
- export interface HttpAuthSchemeResolvedConfig
40
- extends AwsSdkSigV4AuthResolvedConfig {
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
41
37
  readonly authSchemePreference: Provider<string[]>;
42
38
  readonly httpAuthSchemes: HttpAuthScheme[];
43
39
  readonly httpAuthSchemeProvider: DynamoDBStreamsHttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -4,22 +4,21 @@ import {
4
4
  ServiceInputTypes,
5
5
  ServiceOutputTypes,
6
6
  } from "./DynamoDBStreamsClient";
7
- export declare const command: <
8
- I extends ServiceInputTypes,
9
- O extends ServiceOutputTypes
10
- >(
7
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
11
8
  added: EndpointParameterInstructions,
12
9
  plugins: (
13
10
  CommandCtor: any,
14
11
  clientStack: any,
15
12
  config: any,
16
- options: any
13
+ options: any,
17
14
  ) => import("@smithy/types").Pluggable<any, any>[],
18
15
  op: string,
19
16
  $: import("@smithy/types").StaticOperationSchema,
20
- smithyContext?: Record<string, unknown>
17
+ smithyContext?: Record<string, unknown>,
21
18
  ) => {
22
- new (input: I): import("@smithy/core/client").CommandImpl<
19
+ new (
20
+ input: I,
21
+ ): import("@smithy/core/client").CommandImpl<
23
22
  I,
24
23
  O,
25
24
  DynamoDBStreamsClientResolvedConfig,
@@ -38,9 +37,4 @@ export declare const command: <
38
37
  getEndpointParameterInstructions(): EndpointParameterInstructions;
39
38
  };
40
39
  export declare const _ep0: EndpointParameterInstructions;
41
- export declare const _mw0: (
42
- Command: any,
43
- cs: any,
44
- config: any,
45
- o: any
46
- ) => never[];
40
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { DescribeStreamInput, DescribeStreamOutput } from "../models/models_0";
3
3
  export { __MetadataBearer };
4
4
  export interface DescribeStreamCommandInput extends DescribeStreamInput {}
5
- export interface DescribeStreamCommandOutput
6
- extends DescribeStreamOutput,
7
- __MetadataBearer {}
5
+ export interface DescribeStreamCommandOutput extends DescribeStreamOutput, __MetadataBearer {}
8
6
  declare const DescribeStreamCommand_base: {
9
7
  new (
10
- input: DescribeStreamCommandInput
8
+ input: DescribeStreamCommandInput,
11
9
  ): import("@smithy/core/client").CommandImpl<
12
10
  DescribeStreamCommandInput,
13
11
  DescribeStreamCommandOutput,
@@ -16,7 +14,7 @@ declare const DescribeStreamCommand_base: {
16
14
  import("..").ServiceOutputTypes
17
15
  >;
18
16
  new (
19
- input: DescribeStreamCommandInput
17
+ input: DescribeStreamCommandInput,
20
18
  ): import("@smithy/core/client").CommandImpl<
21
19
  DescribeStreamCommandInput,
22
20
  DescribeStreamCommandOutput,
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { GetRecordsInput, GetRecordsOutput } from "../models/models_0";
3
3
  export { __MetadataBearer };
4
4
  export interface GetRecordsCommandInput extends GetRecordsInput {}
5
- export interface GetRecordsCommandOutput
6
- extends GetRecordsOutput,
7
- __MetadataBearer {}
5
+ export interface GetRecordsCommandOutput extends GetRecordsOutput, __MetadataBearer {}
8
6
  declare const GetRecordsCommand_base: {
9
7
  new (
10
- input: GetRecordsCommandInput
8
+ input: GetRecordsCommandInput,
11
9
  ): import("@smithy/core/client").CommandImpl<
12
10
  GetRecordsCommandInput,
13
11
  GetRecordsCommandOutput,
@@ -16,7 +14,7 @@ declare const GetRecordsCommand_base: {
16
14
  import("..").ServiceOutputTypes
17
15
  >;
18
16
  new (
19
- input: GetRecordsCommandInput
17
+ input: GetRecordsCommandInput,
20
18
  ): import("@smithy/core/client").CommandImpl<
21
19
  GetRecordsCommandInput,
22
20
  GetRecordsCommandOutput,
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- GetShardIteratorInput,
4
- GetShardIteratorOutput,
5
- } from "../models/models_0";
2
+ import { GetShardIteratorInput, GetShardIteratorOutput } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface GetShardIteratorCommandInput extends GetShardIteratorInput {}
8
- export interface GetShardIteratorCommandOutput
9
- extends GetShardIteratorOutput,
10
- __MetadataBearer {}
5
+ export interface GetShardIteratorCommandOutput extends GetShardIteratorOutput, __MetadataBearer {}
11
6
  declare const GetShardIteratorCommand_base: {
12
7
  new (
13
- input: GetShardIteratorCommandInput
8
+ input: GetShardIteratorCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  GetShardIteratorCommandInput,
16
11
  GetShardIteratorCommandOutput,
@@ -19,7 +14,7 @@ declare const GetShardIteratorCommand_base: {
19
14
  import("..").ServiceOutputTypes
20
15
  >;
21
16
  new (
22
- input: GetShardIteratorCommandInput
17
+ input: GetShardIteratorCommandInput,
23
18
  ): import("@smithy/core/client").CommandImpl<
24
19
  GetShardIteratorCommandInput,
25
20
  GetShardIteratorCommandOutput,
@@ -2,12 +2,10 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
2
  import { ListStreamsInput, ListStreamsOutput } from "../models/models_0";
3
3
  export { __MetadataBearer };
4
4
  export interface ListStreamsCommandInput extends ListStreamsInput {}
5
- export interface ListStreamsCommandOutput
6
- extends ListStreamsOutput,
7
- __MetadataBearer {}
5
+ export interface ListStreamsCommandOutput extends ListStreamsOutput, __MetadataBearer {}
8
6
  declare const ListStreamsCommand_base: {
9
7
  new (
10
- input: ListStreamsCommandInput
8
+ input: ListStreamsCommandInput,
11
9
  ): import("@smithy/core/client").CommandImpl<
12
10
  ListStreamsCommandInput,
13
11
  ListStreamsCommandOutput,
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
23
23
  defaultSigningName: string;
24
24
  };
25
25
  export declare const resolveClientEndpointParameters: <T>(
26
- options: T & ClientInputEndpointParameters
26
+ options: T & ClientInputEndpointParameters,
27
27
  ) => T & ClientResolvedEndpointParameters;
28
28
  export declare const commonParams: {
29
29
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface DynamoDBStreamsExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -1,8 +1,7 @@
1
1
  export declare const ShardFilterType: {
2
2
  readonly CHILD_SHARDS: "CHILD_SHARDS";
3
3
  };
4
- export type ShardFilterType =
5
- (typeof ShardFilterType)[keyof typeof ShardFilterType];
4
+ export type ShardFilterType = (typeof ShardFilterType)[keyof typeof ShardFilterType];
6
5
  export declare const KeyType: {
7
6
  readonly HASH: "HASH";
8
7
  readonly RANGE: "RANGE";
@@ -21,8 +20,7 @@ export declare const StreamViewType: {
21
20
  readonly NEW_IMAGE: "NEW_IMAGE";
22
21
  readonly OLD_IMAGE: "OLD_IMAGE";
23
22
  };
24
- export type StreamViewType =
25
- (typeof StreamViewType)[keyof typeof StreamViewType];
23
+ export type StreamViewType = (typeof StreamViewType)[keyof typeof StreamViewType];
26
24
  export declare const OperationType: {
27
25
  readonly INSERT: "INSERT";
28
26
  readonly MODIFY: "MODIFY";
@@ -35,5 +33,4 @@ export declare const ShardIteratorType: {
35
33
  readonly LATEST: "LATEST";
36
34
  readonly TRIM_HORIZON: "TRIM_HORIZON";
37
35
  };
38
- export type ShardIteratorType =
39
- (typeof ShardIteratorType)[keyof typeof ShardIteratorType];
36
+ export type ShardIteratorType = (typeof ShardIteratorType)[keyof typeof ShardIteratorType];
@@ -3,35 +3,25 @@ import { DynamoDBStreamsServiceException as __BaseException } from "./DynamoDBSt
3
3
  export declare class InternalServerError extends __BaseException {
4
4
  readonly name: "InternalServerError";
5
5
  readonly $fault: "server";
6
- constructor(
7
- opts: __ExceptionOptionType<InternalServerError, __BaseException>
8
- );
6
+ constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
9
7
  }
10
8
  export declare class ResourceNotFoundException extends __BaseException {
11
9
  readonly name: "ResourceNotFoundException";
12
10
  readonly $fault: "client";
13
- constructor(
14
- opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
15
- );
11
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
16
12
  }
17
13
  export declare class ExpiredIteratorException extends __BaseException {
18
14
  readonly name: "ExpiredIteratorException";
19
15
  readonly $fault: "client";
20
- constructor(
21
- opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>
22
- );
16
+ constructor(opts: __ExceptionOptionType<ExpiredIteratorException, __BaseException>);
23
17
  }
24
18
  export declare class LimitExceededException extends __BaseException {
25
19
  readonly name: "LimitExceededException";
26
20
  readonly $fault: "client";
27
- constructor(
28
- opts: __ExceptionOptionType<LimitExceededException, __BaseException>
29
- );
21
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
30
22
  }
31
23
  export declare class TrimmedDataAccessException extends __BaseException {
32
24
  readonly name: "TrimmedDataAccessException";
33
25
  readonly $fault: "client";
34
- constructor(
35
- opts: __ExceptionOptionType<TrimmedDataAccessException, __BaseException>
36
- );
26
+ constructor(opts: __ExceptionOptionType<TrimmedDataAccessException, __BaseException>);
37
27
  }
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { DynamoDBStreamsClientConfig } from "./DynamoDBStreamsClient";
3
- export declare const getRuntimeConfig: (
4
- config: DynamoDBStreamsClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
10
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider:
12
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
- | ((
14
- _: unknown
15
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
12
  defaultUserAgentProvider: (
17
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
18
14
  ) => Promise<import("@smithy/types").UserAgent>;
19
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
20
16
  region: string | import("@smithy/types").Provider<any>;
21
- requestHandler:
22
- | import("@smithy/core/protocols").HttpHandler<any>
23
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
24
18
  retryMode: string | import("@smithy/types").Provider<string>;
25
19
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
21
  ) => Promise<Uint8Array>;
32
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
33
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
55
45
  logger: import("@smithy/types").Logger;
56
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
58
- userAgentAppId?:
59
- | string
60
- | undefined
61
- | import("@smithy/types").Provider<string | undefined>;
62
- retryStrategy?:
63
- | import("@smithy/types").RetryStrategy
64
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
65
50
  endpoint?:
66
51
  | ((
67
52
  | string
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
83
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
84
69
  context?: {
85
70
  logger?: import("@smithy/types").Logger;
86
- }
71
+ },
87
72
  ) => import("@smithy/types").EndpointV2;
88
73
  tls?: boolean;
89
74
  serviceConfiguredEndpoint?: never;
@@ -96,13 +81,13 @@ export declare const getRuntimeConfig: (
96
81
  signer?:
97
82
  | import("@smithy/types").RequestSigner
98
83
  | ((
99
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
100
85
  ) => Promise<import("@smithy/types").RequestSigner>);
101
86
  signingEscapePath?: boolean;
102
87
  systemClockOffset?: number;
103
88
  signingRegion?: string;
104
89
  signerConstructor?: new (
105
90
  options: import("@smithy/signature-v4").SignatureV4Init &
106
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
107
92
  ) => import("@smithy/types").RequestSigner;
108
93
  };
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { DynamoDBStreamsClientConfig } from "./DynamoDBStreamsClient";
3
- export declare const getRuntimeConfig: (
4
- config: DynamoDBStreamsClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
12
10
  credentialDefaultProvider:
13
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
12
  | ((
15
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
16
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
17
15
  defaultUserAgentProvider: (
18
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
19
17
  ) => Promise<import("@smithy/types").UserAgent>;
20
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
21
19
  region: string | import("@smithy/types").Provider<string>;
22
- requestHandler:
23
- | RequestHandler
24
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
25
21
  retryMode: string | import("@smithy/types").Provider<string>;
26
22
  streamCollector: (
27
- stream:
28
- | import("stream").Readable
29
- | import("stream/web").ReadableStream
30
- | ReadableStream
31
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
32
24
  ) => Promise<Uint8Array>;
33
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
34
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -55,9 +47,7 @@ export declare const getRuntimeConfig: (
55
47
  logger: import("@smithy/types").Logger;
56
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
57
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
58
- retryStrategy?:
59
- | import("@smithy/types").RetryStrategy
60
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
61
51
  endpoint?:
62
52
  | ((
63
53
  | string
@@ -79,7 +69,7 @@ export declare const getRuntimeConfig: (
79
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
80
70
  context?: {
81
71
  logger?: import("@smithy/types").Logger;
82
- }
72
+ },
83
73
  ) => import("@smithy/types").EndpointV2;
84
74
  tls?: boolean;
85
75
  serviceConfiguredEndpoint?: never;
@@ -91,13 +81,13 @@ export declare const getRuntimeConfig: (
91
81
  signer?:
92
82
  | import("@smithy/types").RequestSigner
93
83
  | ((
94
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
95
85
  ) => Promise<import("@smithy/types").RequestSigner>);
96
86
  signingEscapePath?: boolean;
97
87
  systemClockOffset?: number;
98
88
  signingRegion?: string;
99
89
  signerConstructor?: new (
100
90
  options: import("@smithy/signature-v4").SignatureV4Init &
101
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
102
92
  ) => import("@smithy/types").RequestSigner;
103
93
  };
@@ -1,7 +1,5 @@
1
1
  import { DynamoDBStreamsClientConfig } from "./DynamoDBStreamsClient";
2
- export declare const getRuntimeConfig: (
3
- config: DynamoDBStreamsClientConfig
4
- ) => {
2
+ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) => {
5
3
  runtime: string;
6
4
  requestHandler:
7
5
  | import("@smithy/types").NodeHttpHandlerOptions
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
23
21
  urlParser: import("@smithy/types").UrlParser;
24
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
23
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
25
  ) => Promise<Uint8Array>;
32
26
  base64Decoder: import("@smithy/types").Decoder;
33
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
42
36
  region: string | import("@smithy/types").Provider<any>;
43
37
  profile?: string;
44
38
  defaultUserAgentProvider: (
45
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
46
40
  ) => Promise<import("@smithy/types").UserAgent>;
47
41
  credentialDefaultProvider:
48
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
49
- | ((
50
- _: unknown
51
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
52
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
53
45
  retryMode: string | import("@smithy/types").Provider<string>;
54
46
  logger: import("@smithy/types").Logger;
55
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
56
48
  defaultsMode:
57
49
  | import("@smithy/core/client").DefaultsMode
58
- | import("@smithy/types").Provider<
59
- import("@smithy/core/client").DefaultsMode
60
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
61
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
62
- userAgentAppId?:
63
- | string
64
- | undefined
65
- | import("@smithy/types").Provider<string | undefined>;
66
- retryStrategy?:
67
- | import("@smithy/types").RetryStrategy
68
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
69
54
  endpoint?:
70
55
  | ((
71
56
  | string
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
87
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
88
73
  context?: {
89
74
  logger?: import("@smithy/types").Logger;
90
- }
75
+ },
91
76
  ) => import("@smithy/types").EndpointV2;
92
77
  tls?: boolean;
93
78
  serviceConfiguredEndpoint?: never;
@@ -100,13 +85,13 @@ export declare const getRuntimeConfig: (
100
85
  signer?:
101
86
  | import("@smithy/types").RequestSigner
102
87
  | ((
103
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
104
89
  ) => Promise<import("@smithy/types").RequestSigner>);
105
90
  signingEscapePath?: boolean;
106
91
  systemClockOffset?: number;
107
92
  signingRegion?: string;
108
93
  signerConstructor?: new (
109
94
  options: import("@smithy/signature-v4").SignatureV4Init &
110
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
111
96
  ) => import("@smithy/types").RequestSigner;
112
97
  };
@@ -1,8 +1,6 @@
1
1
  import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
2
2
  import { DynamoDBStreamsClientConfig } from "./DynamoDBStreamsClient";
3
- export declare const getRuntimeConfig: (
4
- config: DynamoDBStreamsClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) => {
6
4
  apiVersion: string;
7
5
  base64Decoder: import("@smithy/types").Decoder;
8
6
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
11
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
12
10
  context?: {
13
11
  logger?: import("@smithy/types").Logger;
14
- }
12
+ },
15
13
  ) => import("@smithy/types").EndpointV2;
16
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
17
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBStreamsHttpAuthSchemeProvider;
@@ -1,13 +1,11 @@
1
1
  import { DynamoDBStreamsExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(
4
- extensionConfiguration: DynamoDBStreamsExtensionConfiguration
5
- ): void;
3
+ configure(extensionConfiguration: DynamoDBStreamsExtensionConfiguration): void;
6
4
  }
7
5
  export interface RuntimeExtensionsConfig {
8
6
  extensions: RuntimeExtension[];
9
7
  }
10
8
  export declare const resolveRuntimeExtensions: (
11
9
  runtimeConfig: any,
12
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
13
11
  ) => any;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb-streams",
3
+ "version": "3.1088.0",
3
4
  "description": "AWS SDK for JavaScript Dynamodb Streams Client for Node.js, Browser and React Native",
4
- "version": "3.1087.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dynamodb-streams",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-dynamodb-streams"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -20,22 +51,18 @@
20
51
  "test:e2e:watch": "yarn g:vitest watch -c vitest.config.e2e.mts",
21
52
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
22
53
  },
23
- "main": "./dist-cjs/index.js",
24
- "types": "./dist-types/index.d.ts",
25
- "module": "./dist-es/index.js",
26
- "sideEffects": false,
27
54
  "dependencies": {
28
- "@aws-sdk/core": "^3.975.2",
29
- "@aws-sdk/credential-provider-node": "^3.972.68",
30
- "@aws-sdk/types": "^3.974.1",
31
- "@smithy/core": "^3.29.3",
32
- "@smithy/fetch-http-handler": "^5.6.5",
33
- "@smithy/node-http-handler": "^4.9.5",
55
+ "@aws-sdk/core": "^3.975.3",
56
+ "@aws-sdk/credential-provider-node": "^3.972.69",
57
+ "@aws-sdk/types": "^3.974.2",
58
+ "@smithy/core": "^3.29.4",
59
+ "@smithy/fetch-http-handler": "^5.6.6",
60
+ "@smithy/node-http-handler": "^4.9.6",
34
61
  "@smithy/types": "^4.16.1",
35
62
  "tslib": "^2.6.2"
36
63
  },
37
64
  "devDependencies": {
38
- "@smithy/snapshot-testing": "^2.2.8",
65
+ "@smithy/snapshot-testing": "^2.2.9",
39
66
  "@tsconfig/node20": "20.1.8",
40
67
  "@types/node": "^20.14.8",
41
68
  "concurrently": "7.0.0",
@@ -46,32 +73,5 @@
46
73
  },
47
74
  "engines": {
48
75
  "node": ">=20.0.0"
49
- },
50
- "typesVersions": {
51
- "<4.5": {
52
- "dist-types/*": [
53
- "dist-types/ts3.4/*"
54
- ]
55
- }
56
- },
57
- "files": [
58
- "dist-*/**"
59
- ],
60
- "author": {
61
- "name": "AWS SDK for JavaScript Team",
62
- "url": "https://aws.amazon.com/sdk-for-javascript/"
63
- },
64
- "license": "Apache-2.0",
65
- "browser": {
66
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
67
- },
68
- "react-native": {
69
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
70
- },
71
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dynamodb-streams",
72
- "repository": {
73
- "type": "git",
74
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
75
- "directory": "clients/client-dynamodb-streams"
76
76
  }
77
77
  }