@aws-sdk/client-keyspacesstreams 3.838.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/LICENSE +201 -0
- package/README.md +237 -0
- package/dist-cjs/KeyspacesStreams.js +19 -0
- package/dist-cjs/KeyspacesStreamsClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/GetRecordsCommand.js +26 -0
- package/dist-cjs/commands/GetShardIteratorCommand.js +26 -0
- package/dist-cjs/commands/GetStreamCommand.js +26 -0
- package/dist-cjs/commands/ListStreamsCommand.js +26 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/endpoint/EndpointParameters.js +15 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/KeyspacesStreamsServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +159 -0
- package/dist-cjs/pagination/GetStreamPaginator.js +7 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListStreamsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_json1_0.js +392 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-es/KeyspacesStreams.js +15 -0
- package/dist-es/KeyspacesStreamsClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/GetRecordsCommand.js +22 -0
- package/dist-es/commands/GetShardIteratorCommand.js +22 -0
- package/dist-es/commands/GetStreamCommand.js +22 -0
- package/dist-es/commands/ListStreamsCommand.js +22 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/KeyspacesStreamsServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +151 -0
- package/dist-es/pagination/GetStreamPaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListStreamsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_0.js +381 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-types/KeyspacesStreams.d.ts +39 -0
- package/dist-types/KeyspacesStreamsClient.d.ts +191 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/GetRecordsCommand.d.ts +228 -0
- package/dist-types/commands/GetShardIteratorCommand.d.ts +90 -0
- package/dist-types/commands/GetStreamCommand.d.ts +112 -0
- package/dist-types/commands/ListStreamsCommand.d.ts +98 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/KeyspacesStreamsServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1396 -0
- package/dist-types/pagination/GetStreamPaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListStreamsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +38 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/KeyspacesStreams.d.ts +76 -0
- package/dist-types/ts3.4/KeyspacesStreamsClient.d.ts +146 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetRecordsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetShardIteratorCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/KeyspacesStreamsServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +957 -0
- package/dist-types/ts3.4/pagination/GetStreamPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +53 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +99 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KeyspacesStreamsClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KeyspacesStreamsClient";
|
|
8
|
+
import {
|
|
9
|
+
GetShardIteratorInput,
|
|
10
|
+
GetShardIteratorOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetShardIteratorCommandInput extends GetShardIteratorInput {}
|
|
15
|
+
export interface GetShardIteratorCommandOutput
|
|
16
|
+
extends GetShardIteratorOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const GetShardIteratorCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: GetShardIteratorCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
GetShardIteratorCommandInput,
|
|
23
|
+
GetShardIteratorCommandOutput,
|
|
24
|
+
KeyspacesStreamsClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
input: GetShardIteratorCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
GetShardIteratorCommandInput,
|
|
32
|
+
GetShardIteratorCommandOutput,
|
|
33
|
+
KeyspacesStreamsClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class GetShardIteratorCommand extends GetShardIteratorCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: GetShardIteratorInput;
|
|
43
|
+
output: GetShardIteratorOutput;
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: GetShardIteratorCommandInput;
|
|
47
|
+
output: GetShardIteratorCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KeyspacesStreamsClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KeyspacesStreamsClient";
|
|
8
|
+
import { GetStreamInput, GetStreamOutput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetStreamCommandInput extends GetStreamInput {}
|
|
12
|
+
export interface GetStreamCommandOutput
|
|
13
|
+
extends GetStreamOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const GetStreamCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: GetStreamCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
GetStreamCommandInput,
|
|
20
|
+
GetStreamCommandOutput,
|
|
21
|
+
KeyspacesStreamsClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: GetStreamCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
GetStreamCommandInput,
|
|
29
|
+
GetStreamCommandOutput,
|
|
30
|
+
KeyspacesStreamsClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class GetStreamCommand extends GetStreamCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: GetStreamInput;
|
|
40
|
+
output: GetStreamOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: GetStreamCommandInput;
|
|
44
|
+
output: GetStreamCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
KeyspacesStreamsClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../KeyspacesStreamsClient";
|
|
8
|
+
import { ListStreamsInput, ListStreamsOutput } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface ListStreamsCommandInput extends ListStreamsInput {}
|
|
12
|
+
export interface ListStreamsCommandOutput
|
|
13
|
+
extends ListStreamsOutput,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const ListStreamsCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: ListStreamsCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
ListStreamsCommandInput,
|
|
20
|
+
ListStreamsCommandOutput,
|
|
21
|
+
KeyspacesStreamsClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
...[input]: [] | [ListStreamsCommandInput]
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
ListStreamsCommandInput,
|
|
29
|
+
ListStreamsCommandOutput,
|
|
30
|
+
KeyspacesStreamsClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class ListStreamsCommand extends ListStreamsCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: ListStreamsInput;
|
|
40
|
+
output: ListStreamsOutput;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: ListStreamsCommandInput;
|
|
44
|
+
output: ListStreamsCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
|
|
9
|
+
endpoint?:
|
|
10
|
+
| string
|
|
11
|
+
| Provider<string>
|
|
12
|
+
| Endpoint
|
|
13
|
+
| Provider<Endpoint>
|
|
14
|
+
| EndpointV2
|
|
15
|
+
| Provider<EndpointV2>;
|
|
16
|
+
region?: string | undefined | Provider<string | undefined>;
|
|
17
|
+
}
|
|
18
|
+
export type ClientResolvedEndpointParameters = Pick<
|
|
19
|
+
ClientInputEndpointParameters,
|
|
20
|
+
Exclude<keyof ClientInputEndpointParameters, "endpoint">
|
|
21
|
+
> & {
|
|
22
|
+
defaultSigningName: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
25
|
+
options: T & ClientInputEndpointParameters
|
|
26
|
+
) => T & ClientResolvedEndpointParameters;
|
|
27
|
+
export declare const commonParams: {
|
|
28
|
+
readonly UseFIPS: {
|
|
29
|
+
readonly type: "builtInParams";
|
|
30
|
+
readonly name: "useFipsEndpoint";
|
|
31
|
+
};
|
|
32
|
+
readonly Endpoint: {
|
|
33
|
+
readonly type: "builtInParams";
|
|
34
|
+
readonly name: "endpoint";
|
|
35
|
+
};
|
|
36
|
+
readonly Region: {
|
|
37
|
+
readonly type: "builtInParams";
|
|
38
|
+
readonly name: "region";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
42
|
+
UseFIPS?: boolean | undefined;
|
|
43
|
+
Endpoint?: string | undefined;
|
|
44
|
+
Region?: string | undefined;
|
|
45
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
|
|
2
|
+
import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
|
|
3
|
+
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
|
+
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
export interface KeyspacesStreamsExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from "./KeyspacesStreamsClient";
|
|
2
|
+
export * from "./KeyspacesStreams";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { KeyspacesStreamsExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./pagination";
|
|
8
|
+
export * from "./models";
|
|
9
|
+
export { KeyspacesStreamsServiceException } from "./models/KeyspacesStreamsServiceException";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class KeyspacesStreamsServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|