@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.
Files changed (111) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +237 -0
  3. package/dist-cjs/KeyspacesStreams.js +19 -0
  4. package/dist-cjs/KeyspacesStreamsClient.js +52 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/GetRecordsCommand.js +26 -0
  8. package/dist-cjs/commands/GetShardIteratorCommand.js +26 -0
  9. package/dist-cjs/commands/GetStreamCommand.js +26 -0
  10. package/dist-cjs/commands/ListStreamsCommand.js +26 -0
  11. package/dist-cjs/commands/index.js +7 -0
  12. package/dist-cjs/endpoint/EndpointParameters.js +15 -0
  13. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  14. package/dist-cjs/endpoint/ruleset.js +7 -0
  15. package/dist-cjs/extensionConfiguration.js +2 -0
  16. package/dist-cjs/index.js +11 -0
  17. package/dist-cjs/models/KeyspacesStreamsServiceException.js +12 -0
  18. package/dist-cjs/models/index.js +4 -0
  19. package/dist-cjs/models/models_0.js +159 -0
  20. package/dist-cjs/pagination/GetStreamPaginator.js +7 -0
  21. package/dist-cjs/pagination/Interfaces.js +2 -0
  22. package/dist-cjs/pagination/ListStreamsPaginator.js +7 -0
  23. package/dist-cjs/pagination/index.js +6 -0
  24. package/dist-cjs/protocols/Aws_json1_0.js +392 -0
  25. package/dist-cjs/runtimeConfig.browser.js +39 -0
  26. package/dist-cjs/runtimeConfig.js +56 -0
  27. package/dist-cjs/runtimeConfig.native.js +15 -0
  28. package/dist-cjs/runtimeConfig.shared.js +34 -0
  29. package/dist-cjs/runtimeExtensions.js +13 -0
  30. package/dist-es/KeyspacesStreams.js +15 -0
  31. package/dist-es/KeyspacesStreamsClient.js +48 -0
  32. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  33. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  34. package/dist-es/commands/GetRecordsCommand.js +22 -0
  35. package/dist-es/commands/GetShardIteratorCommand.js +22 -0
  36. package/dist-es/commands/GetStreamCommand.js +22 -0
  37. package/dist-es/commands/ListStreamsCommand.js +22 -0
  38. package/dist-es/commands/index.js +4 -0
  39. package/dist-es/endpoint/EndpointParameters.js +11 -0
  40. package/dist-es/endpoint/endpointResolver.js +14 -0
  41. package/dist-es/endpoint/ruleset.js +4 -0
  42. package/dist-es/extensionConfiguration.js +1 -0
  43. package/dist-es/index.js +6 -0
  44. package/dist-es/models/KeyspacesStreamsServiceException.js +8 -0
  45. package/dist-es/models/index.js +1 -0
  46. package/dist-es/models/models_0.js +151 -0
  47. package/dist-es/pagination/GetStreamPaginator.js +4 -0
  48. package/dist-es/pagination/Interfaces.js +1 -0
  49. package/dist-es/pagination/ListStreamsPaginator.js +4 -0
  50. package/dist-es/pagination/index.js +3 -0
  51. package/dist-es/protocols/Aws_json1_0.js +381 -0
  52. package/dist-es/runtimeConfig.browser.js +34 -0
  53. package/dist-es/runtimeConfig.js +51 -0
  54. package/dist-es/runtimeConfig.native.js +11 -0
  55. package/dist-es/runtimeConfig.shared.js +30 -0
  56. package/dist-es/runtimeExtensions.js +9 -0
  57. package/dist-types/KeyspacesStreams.d.ts +39 -0
  58. package/dist-types/KeyspacesStreamsClient.d.ts +191 -0
  59. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  60. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  61. package/dist-types/commands/GetRecordsCommand.d.ts +228 -0
  62. package/dist-types/commands/GetShardIteratorCommand.d.ts +90 -0
  63. package/dist-types/commands/GetStreamCommand.d.ts +112 -0
  64. package/dist-types/commands/ListStreamsCommand.d.ts +98 -0
  65. package/dist-types/commands/index.d.ts +4 -0
  66. package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
  67. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  68. package/dist-types/endpoint/ruleset.d.ts +2 -0
  69. package/dist-types/extensionConfiguration.d.ts +9 -0
  70. package/dist-types/index.d.ts +14 -0
  71. package/dist-types/models/KeyspacesStreamsServiceException.d.ts +14 -0
  72. package/dist-types/models/index.d.ts +1 -0
  73. package/dist-types/models/models_0.d.ts +1396 -0
  74. package/dist-types/pagination/GetStreamPaginator.d.ts +7 -0
  75. package/dist-types/pagination/Interfaces.d.ts +8 -0
  76. package/dist-types/pagination/ListStreamsPaginator.d.ts +7 -0
  77. package/dist-types/pagination/index.d.ts +3 -0
  78. package/dist-types/protocols/Aws_json1_0.d.ts +38 -0
  79. package/dist-types/runtimeConfig.browser.d.ts +50 -0
  80. package/dist-types/runtimeConfig.d.ts +50 -0
  81. package/dist-types/runtimeConfig.native.d.ts +49 -0
  82. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  83. package/dist-types/runtimeExtensions.d.ts +17 -0
  84. package/dist-types/ts3.4/KeyspacesStreams.d.ts +76 -0
  85. package/dist-types/ts3.4/KeyspacesStreamsClient.d.ts +146 -0
  86. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  87. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  88. package/dist-types/ts3.4/commands/GetRecordsCommand.d.ts +47 -0
  89. package/dist-types/ts3.4/commands/GetShardIteratorCommand.d.ts +50 -0
  90. package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +47 -0
  91. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +47 -0
  92. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  93. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  94. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  95. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  96. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  97. package/dist-types/ts3.4/index.d.ts +9 -0
  98. package/dist-types/ts3.4/models/KeyspacesStreamsServiceException.d.ts +9 -0
  99. package/dist-types/ts3.4/models/index.d.ts +1 -0
  100. package/dist-types/ts3.4/models/models_0.d.ts +957 -0
  101. package/dist-types/ts3.4/pagination/GetStreamPaginator.d.ts +11 -0
  102. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  103. package/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  105. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +53 -0
  106. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
  107. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  108. package/dist-types/ts3.4/runtimeConfig.native.d.ts +97 -0
  109. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  110. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  111. package/package.json +99 -0
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { GetStreamCommandInput, GetStreamCommandOutput } from "../commands/GetStreamCommand";
3
+ import { KeyspacesStreamsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateGetStream: (config: KeyspacesStreamsPaginationConfiguration, input: GetStreamCommandInput, ...rest: any[]) => Paginator<GetStreamCommandOutput>;
@@ -0,0 +1,8 @@
1
+ import { PaginationConfiguration } from "@smithy/types";
2
+ import { KeyspacesStreamsClient } from "../KeyspacesStreamsClient";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface KeyspacesStreamsPaginationConfiguration extends PaginationConfiguration {
7
+ client: KeyspacesStreamsClient;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListStreamsCommandInput, ListStreamsCommandOutput } from "../commands/ListStreamsCommand";
3
+ import { KeyspacesStreamsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListStreams: (config: KeyspacesStreamsPaginationConfiguration, input: ListStreamsCommandInput, ...rest: any[]) => Paginator<ListStreamsCommandOutput>;
@@ -0,0 +1,3 @@
1
+ export * from "./GetStreamPaginator";
2
+ export * from "./Interfaces";
3
+ export * from "./ListStreamsPaginator";
@@ -0,0 +1,38 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { GetRecordsCommandInput, GetRecordsCommandOutput } from "../commands/GetRecordsCommand";
4
+ import { GetShardIteratorCommandInput, GetShardIteratorCommandOutput } from "../commands/GetShardIteratorCommand";
5
+ import { GetStreamCommandInput, GetStreamCommandOutput } from "../commands/GetStreamCommand";
6
+ import { ListStreamsCommandInput, ListStreamsCommandOutput } from "../commands/ListStreamsCommand";
7
+ /**
8
+ * serializeAws_json1_0GetRecordsCommand
9
+ */
10
+ export declare const se_GetRecordsCommand: (input: GetRecordsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
11
+ /**
12
+ * serializeAws_json1_0GetShardIteratorCommand
13
+ */
14
+ export declare const se_GetShardIteratorCommand: (input: GetShardIteratorCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
15
+ /**
16
+ * serializeAws_json1_0GetStreamCommand
17
+ */
18
+ export declare const se_GetStreamCommand: (input: GetStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
19
+ /**
20
+ * serializeAws_json1_0ListStreamsCommand
21
+ */
22
+ export declare const se_ListStreamsCommand: (input: ListStreamsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
23
+ /**
24
+ * deserializeAws_json1_0GetRecordsCommand
25
+ */
26
+ export declare const de_GetRecordsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRecordsCommandOutput>;
27
+ /**
28
+ * deserializeAws_json1_0GetShardIteratorCommand
29
+ */
30
+ export declare const de_GetShardIteratorCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetShardIteratorCommandOutput>;
31
+ /**
32
+ * deserializeAws_json1_0GetStreamCommand
33
+ */
34
+ export declare const de_GetStreamCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetStreamCommandOutput>;
35
+ /**
36
+ * deserializeAws_json1_0ListStreamsCommand
37
+ */
38
+ export declare const de_ListStreamsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListStreamsCommandOutput>;
@@ -0,0 +1,50 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { KeyspacesStreamsClientConfig } from "./KeyspacesStreamsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
20
+ apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
22
+ urlParser: import("@smithy/types").UrlParser;
23
+ base64Decoder: import("@smithy/types").Decoder;
24
+ base64Encoder: (_input: Uint8Array | string) => string;
25
+ utf8Decoder: import("@smithy/types").Decoder;
26
+ utf8Encoder: (input: Uint8Array | string) => string;
27
+ disableHostPrefix: boolean;
28
+ serviceId: string;
29
+ profile?: string;
30
+ logger: import("@smithy/types").Logger;
31
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ customUserAgent?: string | import("@smithy/types").UserAgent;
33
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
35
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
36
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
37
+ logger?: import("@smithy/types").Logger;
38
+ }) => import("@smithy/types").EndpointV2;
39
+ tls?: boolean;
40
+ serviceConfiguredEndpoint?: never;
41
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
42
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
43
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KeyspacesStreamsHttpAuthSchemeProvider;
44
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
45
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
46
+ signingEscapePath?: boolean;
47
+ systemClockOffset?: number;
48
+ signingRegion?: string;
49
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
50
+ };
@@ -0,0 +1,50 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { KeyspacesStreamsClientConfig } from "./KeyspacesStreamsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
10
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
12
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
13
+ maxAttempts: number | import("@smithy/types").Provider<number>;
14
+ region: string | import("@smithy/types").Provider<string>;
15
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
16
+ retryMode: string | import("@smithy/types").Provider<string>;
17
+ sha256: import("@smithy/types").HashConstructor;
18
+ streamCollector: import("@smithy/types").StreamCollector;
19
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
22
+ apiVersion: string;
23
+ cacheMiddleware?: boolean | undefined;
24
+ urlParser: import("@smithy/types").UrlParser;
25
+ base64Decoder: import("@smithy/types").Decoder;
26
+ base64Encoder: (_input: Uint8Array | string) => string;
27
+ utf8Decoder: import("@smithy/types").Decoder;
28
+ utf8Encoder: (input: Uint8Array | string) => string;
29
+ disableHostPrefix: boolean;
30
+ serviceId: string;
31
+ profile?: string;
32
+ logger: import("@smithy/types").Logger;
33
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ customUserAgent?: string | import("@smithy/types").UserAgent;
35
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
37
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
38
+ logger?: import("@smithy/types").Logger;
39
+ }) => import("@smithy/types").EndpointV2;
40
+ tls?: boolean;
41
+ serviceConfiguredEndpoint?: never;
42
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
43
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KeyspacesStreamsHttpAuthSchemeProvider;
44
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
45
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
46
+ signingEscapePath?: boolean;
47
+ systemClockOffset?: number;
48
+ signingRegion?: string;
49
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
50
+ };
@@ -0,0 +1,49 @@
1
+ import { KeyspacesStreamsClientConfig } from "./KeyspacesStreamsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ cacheMiddleware?: boolean;
11
+ urlParser: import("@smithy/types").UrlParser;
12
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
+ streamCollector: import("@smithy/types").StreamCollector;
14
+ base64Decoder: import("@smithy/types").Decoder;
15
+ base64Encoder: (_input: Uint8Array | string) => string;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: (input: Uint8Array | string) => string;
18
+ disableHostPrefix: boolean;
19
+ serviceId: string;
20
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
22
+ region: string | import("@smithy/types").Provider<any>;
23
+ profile?: string;
24
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
25
+ credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
26
+ maxAttempts: number | import("@smithy/types").Provider<number>;
27
+ retryMode: string | import("@smithy/types").Provider<string>;
28
+ logger: import("@smithy/types").Logger;
29
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
+ customUserAgent?: string | import("@smithy/types").UserAgent;
32
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean;
39
+ serviceConfiguredEndpoint?: never;
40
+ authSchemePreference?: string[] | import("@smithy/types").Provider<string[]>;
41
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
42
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KeyspacesStreamsHttpAuthSchemeProvider;
43
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider;
44
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme) => Promise<import("@smithy/types").RequestSigner>);
45
+ signingEscapePath?: boolean;
46
+ systemClockOffset?: number;
47
+ signingRegion?: string;
48
+ signerConstructor?: new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner;
49
+ };
@@ -0,0 +1,21 @@
1
+ import { KeyspacesStreamsClientConfig } from "./KeyspacesStreamsClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: KeyspacesStreamsClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: Uint8Array | string) => string;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").KeyspacesStreamsHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
+ logger: import("@smithy/types").Logger;
17
+ serviceId: string;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: (input: Uint8Array | string) => string;
21
+ };
@@ -0,0 +1,17 @@
1
+ import { KeyspacesStreamsExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: KeyspacesStreamsExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,76 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ GetRecordsCommandInput,
4
+ GetRecordsCommandOutput,
5
+ } from "./commands/GetRecordsCommand";
6
+ import {
7
+ GetShardIteratorCommandInput,
8
+ GetShardIteratorCommandOutput,
9
+ } from "./commands/GetShardIteratorCommand";
10
+ import {
11
+ GetStreamCommandInput,
12
+ GetStreamCommandOutput,
13
+ } from "./commands/GetStreamCommand";
14
+ import {
15
+ ListStreamsCommandInput,
16
+ ListStreamsCommandOutput,
17
+ } from "./commands/ListStreamsCommand";
18
+ import { KeyspacesStreamsClient } from "./KeyspacesStreamsClient";
19
+ export interface KeyspacesStreams {
20
+ getRecords(
21
+ args: GetRecordsCommandInput,
22
+ options?: __HttpHandlerOptions
23
+ ): Promise<GetRecordsCommandOutput>;
24
+ getRecords(
25
+ args: GetRecordsCommandInput,
26
+ cb: (err: any, data?: GetRecordsCommandOutput) => void
27
+ ): void;
28
+ getRecords(
29
+ args: GetRecordsCommandInput,
30
+ options: __HttpHandlerOptions,
31
+ cb: (err: any, data?: GetRecordsCommandOutput) => void
32
+ ): void;
33
+ getShardIterator(
34
+ args: GetShardIteratorCommandInput,
35
+ options?: __HttpHandlerOptions
36
+ ): Promise<GetShardIteratorCommandOutput>;
37
+ getShardIterator(
38
+ args: GetShardIteratorCommandInput,
39
+ cb: (err: any, data?: GetShardIteratorCommandOutput) => void
40
+ ): void;
41
+ getShardIterator(
42
+ args: GetShardIteratorCommandInput,
43
+ options: __HttpHandlerOptions,
44
+ cb: (err: any, data?: GetShardIteratorCommandOutput) => void
45
+ ): void;
46
+ getStream(
47
+ args: GetStreamCommandInput,
48
+ options?: __HttpHandlerOptions
49
+ ): Promise<GetStreamCommandOutput>;
50
+ getStream(
51
+ args: GetStreamCommandInput,
52
+ cb: (err: any, data?: GetStreamCommandOutput) => void
53
+ ): void;
54
+ getStream(
55
+ args: GetStreamCommandInput,
56
+ options: __HttpHandlerOptions,
57
+ cb: (err: any, data?: GetStreamCommandOutput) => void
58
+ ): void;
59
+ listStreams(): Promise<ListStreamsCommandOutput>;
60
+ listStreams(
61
+ args: ListStreamsCommandInput,
62
+ options?: __HttpHandlerOptions
63
+ ): Promise<ListStreamsCommandOutput>;
64
+ listStreams(
65
+ args: ListStreamsCommandInput,
66
+ cb: (err: any, data?: ListStreamsCommandOutput) => void
67
+ ): void;
68
+ listStreams(
69
+ args: ListStreamsCommandInput,
70
+ options: __HttpHandlerOptions,
71
+ cb: (err: any, data?: ListStreamsCommandOutput) => void
72
+ ): void;
73
+ }
74
+ export declare class KeyspacesStreams
75
+ extends KeyspacesStreamsClient
76
+ implements KeyspacesStreams {}
@@ -0,0 +1,146 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ GetRecordsCommandInput,
50
+ GetRecordsCommandOutput,
51
+ } from "./commands/GetRecordsCommand";
52
+ import {
53
+ GetShardIteratorCommandInput,
54
+ GetShardIteratorCommandOutput,
55
+ } from "./commands/GetShardIteratorCommand";
56
+ import {
57
+ GetStreamCommandInput,
58
+ GetStreamCommandOutput,
59
+ } from "./commands/GetStreamCommand";
60
+ import {
61
+ ListStreamsCommandInput,
62
+ ListStreamsCommandOutput,
63
+ } from "./commands/ListStreamsCommand";
64
+ import {
65
+ ClientInputEndpointParameters,
66
+ ClientResolvedEndpointParameters,
67
+ EndpointParameters,
68
+ } from "./endpoint/EndpointParameters";
69
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
70
+ export { __Client };
71
+ export type ServiceInputTypes =
72
+ | GetRecordsCommandInput
73
+ | GetShardIteratorCommandInput
74
+ | GetStreamCommandInput
75
+ | ListStreamsCommandInput;
76
+ export type ServiceOutputTypes =
77
+ | GetRecordsCommandOutput
78
+ | GetShardIteratorCommandOutput
79
+ | GetStreamCommandOutput
80
+ | ListStreamsCommandOutput;
81
+ export interface ClientDefaults
82
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
83
+ requestHandler?: __HttpHandlerUserInput;
84
+ sha256?: __ChecksumConstructor | __HashConstructor;
85
+ urlParser?: __UrlParser;
86
+ bodyLengthChecker?: __BodyLengthCalculator;
87
+ streamCollector?: __StreamCollector;
88
+ base64Decoder?: __Decoder;
89
+ base64Encoder?: __Encoder;
90
+ utf8Decoder?: __Decoder;
91
+ utf8Encoder?: __Encoder;
92
+ runtime?: string;
93
+ disableHostPrefix?: boolean;
94
+ serviceId?: string;
95
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
96
+ useFipsEndpoint?: boolean | __Provider<boolean>;
97
+ region?: string | __Provider<string>;
98
+ profile?: string;
99
+ defaultUserAgentProvider?: Provider<__UserAgent>;
100
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
101
+ maxAttempts?: number | __Provider<number>;
102
+ retryMode?: string | __Provider<string>;
103
+ logger?: __Logger;
104
+ extensions?: RuntimeExtension[];
105
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
106
+ }
107
+ export type KeyspacesStreamsClientConfigType = Partial<
108
+ __SmithyConfiguration<__HttpHandlerOptions>
109
+ > &
110
+ ClientDefaults &
111
+ UserAgentInputConfig &
112
+ RetryInputConfig &
113
+ RegionInputConfig &
114
+ HostHeaderInputConfig &
115
+ EndpointInputConfig<EndpointParameters> &
116
+ HttpAuthSchemeInputConfig &
117
+ ClientInputEndpointParameters;
118
+ export interface KeyspacesStreamsClientConfig
119
+ extends KeyspacesStreamsClientConfigType {}
120
+ export type KeyspacesStreamsClientResolvedConfigType =
121
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
122
+ Required<ClientDefaults> &
123
+ RuntimeExtensionsConfig &
124
+ UserAgentResolvedConfig &
125
+ RetryResolvedConfig &
126
+ RegionResolvedConfig &
127
+ HostHeaderResolvedConfig &
128
+ EndpointResolvedConfig<EndpointParameters> &
129
+ HttpAuthSchemeResolvedConfig &
130
+ ClientResolvedEndpointParameters;
131
+ export interface KeyspacesStreamsClientResolvedConfig
132
+ extends KeyspacesStreamsClientResolvedConfigType {}
133
+ export declare class KeyspacesStreamsClient extends __Client<
134
+ __HttpHandlerOptions,
135
+ ServiceInputTypes,
136
+ ServiceOutputTypes,
137
+ KeyspacesStreamsClientResolvedConfig
138
+ > {
139
+ readonly config: KeyspacesStreamsClientResolvedConfig;
140
+ constructor(
141
+ ...[
142
+ configuration,
143
+ ]: __CheckOptionalClientConfig<KeyspacesStreamsClientConfig>
144
+ );
145
+ destroy(): void;
146
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { KeyspacesStreamsHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: KeyspacesStreamsHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): KeyspacesStreamsHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: KeyspacesStreamsHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,47 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ Provider,
13
+ } from "@smithy/types";
14
+ import { KeyspacesStreamsClientResolvedConfig } from "../KeyspacesStreamsClient";
15
+ export interface KeyspacesStreamsHttpAuthSchemeParameters
16
+ extends HttpAuthSchemeParameters {
17
+ region?: string;
18
+ }
19
+ export interface KeyspacesStreamsHttpAuthSchemeParametersProvider
20
+ extends HttpAuthSchemeParametersProvider<
21
+ KeyspacesStreamsClientResolvedConfig,
22
+ HandlerExecutionContext,
23
+ KeyspacesStreamsHttpAuthSchemeParameters,
24
+ object
25
+ > {}
26
+ export declare const defaultKeyspacesStreamsHttpAuthSchemeParametersProvider: (
27
+ config: KeyspacesStreamsClientResolvedConfig,
28
+ context: HandlerExecutionContext,
29
+ input: object
30
+ ) => Promise<KeyspacesStreamsHttpAuthSchemeParameters>;
31
+ export interface KeyspacesStreamsHttpAuthSchemeProvider
32
+ extends HttpAuthSchemeProvider<KeyspacesStreamsHttpAuthSchemeParameters> {}
33
+ export declare const defaultKeyspacesStreamsHttpAuthSchemeProvider: KeyspacesStreamsHttpAuthSchemeProvider;
34
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
+ authSchemePreference?: string[] | Provider<string[]>;
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ httpAuthSchemeProvider?: KeyspacesStreamsHttpAuthSchemeProvider;
38
+ }
39
+ export interface HttpAuthSchemeResolvedConfig
40
+ extends AwsSdkSigV4AuthResolvedConfig {
41
+ readonly authSchemePreference: Provider<string[]>;
42
+ readonly httpAuthSchemes: HttpAuthScheme[];
43
+ readonly httpAuthSchemeProvider: KeyspacesStreamsHttpAuthSchemeProvider;
44
+ }
45
+ export declare const resolveHttpAuthSchemeConfig: <T>(
46
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
47
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -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 { GetRecordsInput, GetRecordsOutput } from "../models/models_0";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface GetRecordsCommandInput extends GetRecordsInput {}
12
+ export interface GetRecordsCommandOutput
13
+ extends GetRecordsOutput,
14
+ __MetadataBearer {}
15
+ declare const GetRecordsCommand_base: {
16
+ new (
17
+ input: GetRecordsCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ GetRecordsCommandInput,
20
+ GetRecordsCommandOutput,
21
+ KeyspacesStreamsClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: GetRecordsCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ GetRecordsCommandInput,
29
+ GetRecordsCommandOutput,
30
+ KeyspacesStreamsClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class GetRecordsCommand extends GetRecordsCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: GetRecordsInput;
40
+ output: GetRecordsOutput;
41
+ };
42
+ sdk: {
43
+ input: GetRecordsCommandInput;
44
+ output: GetRecordsCommandOutput;
45
+ };
46
+ };
47
+ }