@aws-sdk/client-keyspacesstreams 3.1086.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 +1 -1
- package/dist-types/ts3.4/KeyspacesStreams.d.ts +18 -29
- package/dist-types/ts3.4/KeyspacesStreamsClient.d.ts +8 -27
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/GetRecordsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetShardIteratorCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +7 -5
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +2 -4
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +4 -8
- package/dist-types/ts3.4/models/errors.d.ts +5 -15
- package/dist-types/ts3.4/pagination/GetStreamPaginator.d.ts +1 -4
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +1 -4
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -3,92 +3,81 @@ import {
|
|
|
3
3
|
PaginationConfiguration,
|
|
4
4
|
Paginator,
|
|
5
5
|
} from "@smithy/types";
|
|
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
|
-
|
|
16
|
-
GetStreamCommandOutput,
|
|
17
|
-
} from "./commands/GetStreamCommand";
|
|
18
|
-
import {
|
|
19
|
-
ListStreamsCommandInput,
|
|
20
|
-
ListStreamsCommandOutput,
|
|
21
|
-
} from "./commands/ListStreamsCommand";
|
|
11
|
+
import { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
|
|
12
|
+
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
22
13
|
import { KeyspacesStreamsClient } from "./KeyspacesStreamsClient";
|
|
23
14
|
export interface KeyspacesStreams {
|
|
24
15
|
getRecords(
|
|
25
16
|
args: GetRecordsCommandInput,
|
|
26
|
-
options?: __HttpHandlerOptions
|
|
17
|
+
options?: __HttpHandlerOptions,
|
|
27
18
|
): Promise<GetRecordsCommandOutput>;
|
|
28
19
|
getRecords(
|
|
29
20
|
args: GetRecordsCommandInput,
|
|
30
|
-
cb: (err: any, data?: GetRecordsCommandOutput) => void
|
|
21
|
+
cb: (err: any, data?: GetRecordsCommandOutput) => void,
|
|
31
22
|
): void;
|
|
32
23
|
getRecords(
|
|
33
24
|
args: GetRecordsCommandInput,
|
|
34
25
|
options: __HttpHandlerOptions,
|
|
35
|
-
cb: (err: any, data?: GetRecordsCommandOutput) => void
|
|
26
|
+
cb: (err: any, data?: GetRecordsCommandOutput) => void,
|
|
36
27
|
): void;
|
|
37
28
|
getShardIterator(
|
|
38
29
|
args: GetShardIteratorCommandInput,
|
|
39
|
-
options?: __HttpHandlerOptions
|
|
30
|
+
options?: __HttpHandlerOptions,
|
|
40
31
|
): Promise<GetShardIteratorCommandOutput>;
|
|
41
32
|
getShardIterator(
|
|
42
33
|
args: GetShardIteratorCommandInput,
|
|
43
|
-
cb: (err: any, data?: GetShardIteratorCommandOutput) => void
|
|
34
|
+
cb: (err: any, data?: GetShardIteratorCommandOutput) => void,
|
|
44
35
|
): void;
|
|
45
36
|
getShardIterator(
|
|
46
37
|
args: GetShardIteratorCommandInput,
|
|
47
38
|
options: __HttpHandlerOptions,
|
|
48
|
-
cb: (err: any, data?: GetShardIteratorCommandOutput) => void
|
|
39
|
+
cb: (err: any, data?: GetShardIteratorCommandOutput) => void,
|
|
49
40
|
): void;
|
|
50
41
|
getStream(
|
|
51
42
|
args: GetStreamCommandInput,
|
|
52
|
-
options?: __HttpHandlerOptions
|
|
43
|
+
options?: __HttpHandlerOptions,
|
|
53
44
|
): Promise<GetStreamCommandOutput>;
|
|
54
45
|
getStream(
|
|
55
46
|
args: GetStreamCommandInput,
|
|
56
|
-
cb: (err: any, data?: GetStreamCommandOutput) => void
|
|
47
|
+
cb: (err: any, data?: GetStreamCommandOutput) => void,
|
|
57
48
|
): void;
|
|
58
49
|
getStream(
|
|
59
50
|
args: GetStreamCommandInput,
|
|
60
51
|
options: __HttpHandlerOptions,
|
|
61
|
-
cb: (err: any, data?: GetStreamCommandOutput) => void
|
|
52
|
+
cb: (err: any, data?: GetStreamCommandOutput) => void,
|
|
62
53
|
): void;
|
|
63
54
|
listStreams(): Promise<ListStreamsCommandOutput>;
|
|
64
55
|
listStreams(
|
|
65
56
|
args: ListStreamsCommandInput,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
57
|
+
options?: __HttpHandlerOptions,
|
|
67
58
|
): Promise<ListStreamsCommandOutput>;
|
|
68
59
|
listStreams(
|
|
69
60
|
args: ListStreamsCommandInput,
|
|
70
|
-
cb: (err: any, data?: ListStreamsCommandOutput) => void
|
|
61
|
+
cb: (err: any, data?: ListStreamsCommandOutput) => void,
|
|
71
62
|
): void;
|
|
72
63
|
listStreams(
|
|
73
64
|
args: ListStreamsCommandInput,
|
|
74
65
|
options: __HttpHandlerOptions,
|
|
75
|
-
cb: (err: any, data?: ListStreamsCommandOutput) => void
|
|
66
|
+
cb: (err: any, data?: ListStreamsCommandOutput) => void,
|
|
76
67
|
): void;
|
|
77
68
|
paginateGetStream(
|
|
78
69
|
args: GetStreamCommandInput,
|
|
79
70
|
paginationConfig?: Pick<
|
|
80
71
|
PaginationConfiguration,
|
|
81
72
|
Exclude<keyof PaginationConfiguration, "client">
|
|
82
|
-
|
|
73
|
+
>,
|
|
83
74
|
): Paginator<GetStreamCommandOutput>;
|
|
84
75
|
paginateListStreams(
|
|
85
76
|
args?: ListStreamsCommandInput,
|
|
86
77
|
paginationConfig?: Pick<
|
|
87
78
|
PaginationConfiguration,
|
|
88
79
|
Exclude<keyof PaginationConfiguration, "client">
|
|
89
|
-
|
|
80
|
+
>,
|
|
90
81
|
): Paginator<ListStreamsCommandOutput>;
|
|
91
82
|
}
|
|
92
|
-
export declare class KeyspacesStreams
|
|
93
|
-
extends KeyspacesStreamsClient
|
|
94
|
-
implements KeyspacesStreams {}
|
|
83
|
+
export declare class KeyspacesStreams extends KeyspacesStreamsClient implements KeyspacesStreams {}
|
|
@@ -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 {
|
|
@@ -36,22 +33,13 @@ import {
|
|
|
36
33
|
HttpAuthSchemeInputConfig,
|
|
37
34
|
HttpAuthSchemeResolvedConfig,
|
|
38
35
|
} from "./auth/httpAuthSchemeProvider";
|
|
39
|
-
import {
|
|
40
|
-
GetRecordsCommandInput,
|
|
41
|
-
GetRecordsCommandOutput,
|
|
42
|
-
} from "./commands/GetRecordsCommand";
|
|
36
|
+
import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
|
|
43
37
|
import {
|
|
44
38
|
GetShardIteratorCommandInput,
|
|
45
39
|
GetShardIteratorCommandOutput,
|
|
46
40
|
} from "./commands/GetShardIteratorCommand";
|
|
47
|
-
import {
|
|
48
|
-
|
|
49
|
-
GetStreamCommandOutput,
|
|
50
|
-
} from "./commands/GetStreamCommand";
|
|
51
|
-
import {
|
|
52
|
-
ListStreamsCommandInput,
|
|
53
|
-
ListStreamsCommandOutput,
|
|
54
|
-
} from "./commands/ListStreamsCommand";
|
|
41
|
+
import { GetStreamCommandInput, GetStreamCommandOutput } from "./commands/GetStreamCommand";
|
|
42
|
+
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
55
43
|
import {
|
|
56
44
|
ClientInputEndpointParameters,
|
|
57
45
|
ClientResolvedEndpointParameters,
|
|
@@ -69,8 +57,7 @@ export type ServiceOutputTypes =
|
|
|
69
57
|
| GetShardIteratorCommandOutput
|
|
70
58
|
| GetStreamCommandOutput
|
|
71
59
|
| ListStreamsCommandOutput;
|
|
72
|
-
export interface ClientDefaults
|
|
73
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
60
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
74
61
|
requestHandler?: __HttpHandlerUserInput;
|
|
75
62
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
76
63
|
urlParser?: __UrlParser;
|
|
@@ -106,8 +93,7 @@ export type KeyspacesStreamsClientConfigType = Partial<
|
|
|
106
93
|
EndpointInputConfig<EndpointParameters> &
|
|
107
94
|
HttpAuthSchemeInputConfig &
|
|
108
95
|
ClientInputEndpointParameters;
|
|
109
|
-
export interface KeyspacesStreamsClientConfig
|
|
110
|
-
extends KeyspacesStreamsClientConfigType {}
|
|
96
|
+
export interface KeyspacesStreamsClientConfig extends KeyspacesStreamsClientConfigType {}
|
|
111
97
|
export type KeyspacesStreamsClientResolvedConfigType =
|
|
112
98
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
113
99
|
Required<ClientDefaults> &
|
|
@@ -119,8 +105,7 @@ export type KeyspacesStreamsClientResolvedConfigType =
|
|
|
119
105
|
EndpointResolvedConfig<EndpointParameters> &
|
|
120
106
|
HttpAuthSchemeResolvedConfig &
|
|
121
107
|
ClientResolvedEndpointParameters;
|
|
122
|
-
export interface KeyspacesStreamsClientResolvedConfig
|
|
123
|
-
extends KeyspacesStreamsClientResolvedConfigType {}
|
|
108
|
+
export interface KeyspacesStreamsClientResolvedConfig extends KeyspacesStreamsClientResolvedConfigType {}
|
|
124
109
|
export declare class KeyspacesStreamsClient extends __Client<
|
|
125
110
|
__HttpHandlerOptions,
|
|
126
111
|
ServiceInputTypes,
|
|
@@ -128,10 +113,6 @@ export declare class KeyspacesStreamsClient extends __Client<
|
|
|
128
113
|
KeyspacesStreamsClientResolvedConfig
|
|
129
114
|
> {
|
|
130
115
|
readonly config: KeyspacesStreamsClientResolvedConfig;
|
|
131
|
-
constructor(
|
|
132
|
-
...[
|
|
133
|
-
configuration,
|
|
134
|
-
]: __CheckOptionalClientConfig<KeyspacesStreamsClientConfig>
|
|
135
|
-
);
|
|
116
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<KeyspacesStreamsClientConfig>);
|
|
136
117
|
destroy(): void;
|
|
137
118
|
}
|
|
@@ -7,17 +7,10 @@ import { KeyspacesStreamsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider
|
|
|
7
7
|
export interface HttpAuthExtensionConfiguration {
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
-
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: KeyspacesStreamsHttpAuthSchemeProvider
|
|
12
|
-
): void;
|
|
10
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: KeyspacesStreamsHttpAuthSchemeProvider): void;
|
|
13
11
|
httpAuthSchemeProvider(): KeyspacesStreamsHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
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 { KeyspacesStreamsClientResolvedConfig } from "../KeyspacesStreamsClient";
|
|
15
|
-
export interface KeyspacesStreamsHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface KeyspacesStreamsHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface KeyspacesStreamsHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface KeyspacesStreamsHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
KeyspacesStreamsClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
KeyspacesStreamsHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultKeyspacesStreamsHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: KeyspacesStreamsClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<KeyspacesStreamsHttpAuthSchemeParameters>;
|
|
31
|
-
export interface KeyspacesStreamsHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<KeyspacesStreamsHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface KeyspacesStreamsHttpAuthSchemeProvider extends HttpAuthSchemeProvider<KeyspacesStreamsHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultKeyspacesStreamsHttpAuthSchemeProvider: KeyspacesStreamsHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: KeyspacesStreamsHttpAuthSchemeProvider;
|
|
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: KeyspacesStreamsHttpAuthSchemeProvider;
|
|
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 "./KeyspacesStreamsClient";
|
|
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 (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
KeyspacesStreamsClientResolvedConfig,
|
|
@@ -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 { 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,18 +2,20 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
|
2
2
|
import { GetStreamInput, GetStreamOutput } from "../models/models_0";
|
|
3
3
|
export { __MetadataBearer };
|
|
4
4
|
export interface GetStreamCommandInput extends GetStreamInput {}
|
|
5
|
-
export interface GetStreamCommandOutput
|
|
6
|
-
extends GetStreamOutput,
|
|
7
|
-
__MetadataBearer {}
|
|
5
|
+
export interface GetStreamCommandOutput extends GetStreamOutput, __MetadataBearer {}
|
|
8
6
|
declare const GetStreamCommand_base: {
|
|
9
|
-
new (
|
|
7
|
+
new (
|
|
8
|
+
input: GetStreamCommandInput,
|
|
9
|
+
): import("@smithy/core/client").CommandImpl<
|
|
10
10
|
GetStreamCommandInput,
|
|
11
11
|
GetStreamCommandOutput,
|
|
12
12
|
import("..").KeyspacesStreamsClientResolvedConfig,
|
|
13
13
|
import("..").ServiceInputTypes,
|
|
14
14
|
import("..").ServiceOutputTypes
|
|
15
15
|
>;
|
|
16
|
-
new (
|
|
16
|
+
new (
|
|
17
|
+
input: GetStreamCommandInput,
|
|
18
|
+
): import("@smithy/core/client").CommandImpl<
|
|
17
19
|
GetStreamCommandInput,
|
|
18
20
|
GetStreamCommandOutput,
|
|
19
21
|
import("..").KeyspacesStreamsClientResolvedConfig,
|
|
@@ -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,
|
|
@@ -22,7 +22,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
22
22
|
defaultSigningName: string;
|
|
23
23
|
};
|
|
24
24
|
export declare const resolveClientEndpointParameters: <T>(
|
|
25
|
-
options: T & ClientInputEndpointParameters
|
|
25
|
+
options: T & ClientInputEndpointParameters,
|
|
26
26
|
) => T & ClientResolvedEndpointParameters;
|
|
27
27
|
export declare const commonParams: {
|
|
28
28
|
readonly UseFIPS: {
|
|
@@ -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 KeyspacesStreamsExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -8,8 +8,7 @@ export declare const IteratorPosition: {
|
|
|
8
8
|
readonly AT_TIP: "AT_TIP";
|
|
9
9
|
readonly BEHIND_TIP: "BEHIND_TIP";
|
|
10
10
|
};
|
|
11
|
-
export type IteratorPosition =
|
|
12
|
-
(typeof IteratorPosition)[keyof typeof IteratorPosition];
|
|
11
|
+
export type IteratorPosition = (typeof IteratorPosition)[keyof typeof IteratorPosition];
|
|
13
12
|
export declare const ValidationExceptionType: {
|
|
14
13
|
readonly ExpiredIterator: "ExpiredIterator";
|
|
15
14
|
readonly ExpiredNextToken: "ExpiredNextToken";
|
|
@@ -24,13 +23,11 @@ export declare const ShardIteratorType: {
|
|
|
24
23
|
readonly LATEST: "LATEST";
|
|
25
24
|
readonly TRIM_HORIZON: "TRIM_HORIZON";
|
|
26
25
|
};
|
|
27
|
-
export type ShardIteratorType =
|
|
28
|
-
(typeof ShardIteratorType)[keyof typeof ShardIteratorType];
|
|
26
|
+
export type ShardIteratorType = (typeof ShardIteratorType)[keyof typeof ShardIteratorType];
|
|
29
27
|
export declare const ShardFilterType: {
|
|
30
28
|
readonly CHILD_SHARDS: "CHILD_SHARDS";
|
|
31
29
|
};
|
|
32
|
-
export type ShardFilterType =
|
|
33
|
-
(typeof ShardFilterType)[keyof typeof ShardFilterType];
|
|
30
|
+
export type ShardFilterType = (typeof ShardFilterType)[keyof typeof ShardFilterType];
|
|
34
31
|
export declare const StreamStatus: {
|
|
35
32
|
readonly DISABLED: "DISABLED";
|
|
36
33
|
readonly DISABLING: "DISABLING";
|
|
@@ -44,5 +41,4 @@ export declare const StreamViewType: {
|
|
|
44
41
|
readonly NEW_IMAGE: "NEW_IMAGE";
|
|
45
42
|
readonly OLD_IMAGE: "OLD_IMAGE";
|
|
46
43
|
};
|
|
47
|
-
export type StreamViewType =
|
|
48
|
-
(typeof StreamViewType)[keyof typeof StreamViewType];
|
|
44
|
+
export type StreamViewType = (typeof StreamViewType)[keyof typeof StreamViewType];
|
|
@@ -4,36 +4,26 @@ import { KeyspacesStreamsServiceException as __BaseException } from "./Keyspaces
|
|
|
4
4
|
export declare class AccessDeniedException extends __BaseException {
|
|
5
5
|
readonly name: "AccessDeniedException";
|
|
6
6
|
readonly $fault: "client";
|
|
7
|
-
constructor(
|
|
8
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
9
|
-
);
|
|
7
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
10
8
|
}
|
|
11
9
|
export declare class InternalServerException extends __BaseException {
|
|
12
10
|
readonly name: "InternalServerException";
|
|
13
11
|
readonly $fault: "server";
|
|
14
|
-
constructor(
|
|
15
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
16
|
-
);
|
|
12
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
17
13
|
}
|
|
18
14
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
19
15
|
readonly name: "ResourceNotFoundException";
|
|
20
16
|
readonly $fault: "client";
|
|
21
|
-
constructor(
|
|
22
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
23
|
-
);
|
|
17
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
24
18
|
}
|
|
25
19
|
export declare class ThrottlingException extends __BaseException {
|
|
26
20
|
readonly name: "ThrottlingException";
|
|
27
21
|
readonly $fault: "client";
|
|
28
|
-
constructor(
|
|
29
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
30
|
-
);
|
|
22
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
31
23
|
}
|
|
32
24
|
export declare class ValidationException extends __BaseException {
|
|
33
25
|
readonly name: "ValidationException";
|
|
34
26
|
readonly $fault: "client";
|
|
35
27
|
errorCode?: ValidationExceptionType | undefined;
|
|
36
|
-
constructor(
|
|
37
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
38
|
-
);
|
|
28
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
39
29
|
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Paginator } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
GetStreamCommandInput,
|
|
4
|
-
GetStreamCommandOutput,
|
|
5
|
-
} from "../commands/GetStreamCommand";
|
|
2
|
+
import { GetStreamCommandInput, GetStreamCommandOutput } from "../commands/GetStreamCommand";
|
|
6
3
|
import { KeyspacesStreamsPaginationConfiguration } from "./Interfaces";
|
|
7
4
|
export declare const paginateGetStream: (
|
|
8
5
|
config: KeyspacesStreamsPaginationConfiguration,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@smithy/types";
|
|
2
2
|
import { KeyspacesStreamsClient } from "../KeyspacesStreamsClient";
|
|
3
|
-
export interface KeyspacesStreamsPaginationConfiguration
|
|
4
|
-
extends PaginationConfiguration {
|
|
3
|
+
export interface KeyspacesStreamsPaginationConfiguration extends PaginationConfiguration {
|
|
5
4
|
client: KeyspacesStreamsClient;
|
|
6
5
|
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { Paginator } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListStreamsCommandInput,
|
|
4
|
-
ListStreamsCommandOutput,
|
|
5
|
-
} from "../commands/ListStreamsCommand";
|
|
2
|
+
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "../commands/ListStreamsCommand";
|
|
6
3
|
import { KeyspacesStreamsPaginationConfiguration } from "./Interfaces";
|
|
7
4
|
export declare const paginateListStreams: (
|
|
8
5
|
config: KeyspacesStreamsPaginationConfiguration,
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { KeyspacesStreamsClientConfig } from "./KeyspacesStreamsClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: KeyspacesStreamsClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) => {
|
|
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
|
-
|
|
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 { KeyspacesStreamsClientConfig } from "./KeyspacesStreamsClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: KeyspacesStreamsClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) => {
|
|
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 { KeyspacesStreamsClientConfig } from "./KeyspacesStreamsClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: KeyspacesStreamsClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) => {
|
|
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
|
-
|
|
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 { KeyspacesStreamsClientConfig } from "./KeyspacesStreamsClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: KeyspacesStreamsClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) => {
|
|
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").KeyspacesStreamsHttpAuthSchemeProvider;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { KeyspacesStreamsExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: KeyspacesStreamsExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: KeyspacesStreamsExtensionConfiguration): 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-keyspacesstreams",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Keyspacesstreams Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-keyspacesstreams",
|
|
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-keyspacesstreams"
|
|
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",
|
|
@@ -14,18 +45,14 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
28
|
-
"@smithy/types": "^4.16.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
55
|
+
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
31
58
|
"devDependencies": {
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-keyspacesstreams",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-keyspacesstreams"
|
|
68
68
|
}
|
|
69
69
|
}
|