@aws-sdk/client-keyspacesstreams 3.893.0 → 3.895.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 +853 -10
- package/package.json +7 -7
- package/dist-cjs/KeyspacesStreams.js +0 -19
- package/dist-cjs/KeyspacesStreamsClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/GetRecordsCommand.js +0 -26
- package/dist-cjs/commands/GetShardIteratorCommand.js +0 -26
- package/dist-cjs/commands/GetStreamCommand.js +0 -26
- package/dist-cjs/commands/ListStreamsCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -7
- package/dist-cjs/endpoint/EndpointParameters.js +0 -15
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/KeyspacesStreamsServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -159
- package/dist-cjs/pagination/GetStreamPaginator.js +0 -7
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListStreamsPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -6
- package/dist-cjs/protocols/Aws_json1_0.js +0 -392
- package/dist-cjs/runtimeExtensions.js +0 -13
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-keyspacesstreams",
|
|
3
3
|
"description": "AWS SDK for JavaScript Keyspacesstreams Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.895.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
-
"build:cjs": "
|
|
7
|
+
"build:cjs": "node ../../scripts/compilation/inline client-keyspacesstreams",
|
|
8
8
|
"build:es": "tsc -p tsconfig.es.json",
|
|
9
9
|
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.894.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.895.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.893.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.893.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.893.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.895.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.893.0",
|
|
30
30
|
"@aws-sdk/types": "3.893.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.895.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.893.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.895.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.2.2",
|
|
35
35
|
"@smithy/core": "^3.11.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.2.1",
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KeyspacesStreams = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const GetRecordsCommand_1 = require("./commands/GetRecordsCommand");
|
|
6
|
-
const GetShardIteratorCommand_1 = require("./commands/GetShardIteratorCommand");
|
|
7
|
-
const GetStreamCommand_1 = require("./commands/GetStreamCommand");
|
|
8
|
-
const ListStreamsCommand_1 = require("./commands/ListStreamsCommand");
|
|
9
|
-
const KeyspacesStreamsClient_1 = require("./KeyspacesStreamsClient");
|
|
10
|
-
const commands = {
|
|
11
|
-
GetRecordsCommand: GetRecordsCommand_1.GetRecordsCommand,
|
|
12
|
-
GetShardIteratorCommand: GetShardIteratorCommand_1.GetShardIteratorCommand,
|
|
13
|
-
GetStreamCommand: GetStreamCommand_1.GetStreamCommand,
|
|
14
|
-
ListStreamsCommand: ListStreamsCommand_1.ListStreamsCommand,
|
|
15
|
-
};
|
|
16
|
-
class KeyspacesStreams extends KeyspacesStreamsClient_1.KeyspacesStreamsClient {
|
|
17
|
-
}
|
|
18
|
-
exports.KeyspacesStreams = KeyspacesStreams;
|
|
19
|
-
(0, smithy_client_1.createAggregatedClient)(commands, KeyspacesStreams);
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KeyspacesStreamsClient = exports.__Client = void 0;
|
|
4
|
-
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
5
|
-
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
6
|
-
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
7
|
-
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
8
|
-
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
|
-
const core_1 = require("@smithy/core");
|
|
10
|
-
const middleware_content_length_1 = require("@smithy/middleware-content-length");
|
|
11
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
12
|
-
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
13
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
|
-
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
15
|
-
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
16
|
-
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
17
|
-
const runtimeConfig_1 = require("./runtimeConfig");
|
|
18
|
-
const runtimeExtensions_1 = require("./runtimeExtensions");
|
|
19
|
-
class KeyspacesStreamsClient extends smithy_client_1.Client {
|
|
20
|
-
config;
|
|
21
|
-
constructor(...[configuration]) {
|
|
22
|
-
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {});
|
|
23
|
-
super(_config_0);
|
|
24
|
-
this.initConfig = _config_0;
|
|
25
|
-
const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0);
|
|
26
|
-
const _config_2 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_1);
|
|
27
|
-
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
28
|
-
const _config_4 = (0, config_resolver_1.resolveRegionConfig)(_config_3);
|
|
29
|
-
const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4);
|
|
30
|
-
const _config_6 = (0, middleware_endpoint_1.resolveEndpointConfig)(_config_5);
|
|
31
|
-
const _config_7 = (0, httpAuthSchemeProvider_1.resolveHttpAuthSchemeConfig)(_config_6);
|
|
32
|
-
const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []);
|
|
33
|
-
this.config = _config_8;
|
|
34
|
-
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
35
|
-
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
36
|
-
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
37
|
-
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
38
|
-
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
39
|
-
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
40
|
-
this.middlewareStack.use((0, core_1.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
41
|
-
httpAuthSchemeParametersProvider: httpAuthSchemeProvider_1.defaultKeyspacesStreamsHttpAuthSchemeParametersProvider,
|
|
42
|
-
identityProviderConfigProvider: async (config) => new core_1.DefaultIdentityProviderConfig({
|
|
43
|
-
"aws.auth#sigv4": config.credentials,
|
|
44
|
-
}),
|
|
45
|
-
}));
|
|
46
|
-
this.middlewareStack.use((0, core_1.getHttpSigningPlugin)(this.config));
|
|
47
|
-
}
|
|
48
|
-
destroy() {
|
|
49
|
-
super.destroy();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
exports.KeyspacesStreamsClient = KeyspacesStreamsClient;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = void 0;
|
|
4
|
-
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
5
|
-
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
6
|
-
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
7
|
-
let _credentials = runtimeConfig.credentials;
|
|
8
|
-
return {
|
|
9
|
-
setHttpAuthScheme(httpAuthScheme) {
|
|
10
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
11
|
-
if (index === -1) {
|
|
12
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
httpAuthSchemes() {
|
|
19
|
-
return _httpAuthSchemes;
|
|
20
|
-
},
|
|
21
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
22
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
23
|
-
},
|
|
24
|
-
httpAuthSchemeProvider() {
|
|
25
|
-
return _httpAuthSchemeProvider;
|
|
26
|
-
},
|
|
27
|
-
setCredentials(credentials) {
|
|
28
|
-
_credentials = credentials;
|
|
29
|
-
},
|
|
30
|
-
credentials() {
|
|
31
|
-
return _credentials;
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
exports.getHttpAuthExtensionConfiguration = getHttpAuthExtensionConfiguration;
|
|
36
|
-
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
37
|
-
return {
|
|
38
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
39
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
40
|
-
credentials: config.credentials(),
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetRecordsCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class GetRecordsCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("KeyspacesStreams", "GetRecords", {})
|
|
20
|
-
.n("KeyspacesStreamsClient", "GetRecordsCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_json1_0_1.se_GetRecordsCommand)
|
|
23
|
-
.de(Aws_json1_0_1.de_GetRecordsCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.GetRecordsCommand = GetRecordsCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetShardIteratorCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class GetShardIteratorCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("KeyspacesStreams", "GetShardIterator", {})
|
|
20
|
-
.n("KeyspacesStreamsClient", "GetShardIteratorCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_json1_0_1.se_GetShardIteratorCommand)
|
|
23
|
-
.de(Aws_json1_0_1.de_GetShardIteratorCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.GetShardIteratorCommand = GetShardIteratorCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetStreamCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class GetStreamCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("KeyspacesStreams", "GetStream", {})
|
|
20
|
-
.n("KeyspacesStreamsClient", "GetStreamCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_json1_0_1.se_GetStreamCommand)
|
|
23
|
-
.de(Aws_json1_0_1.de_GetStreamCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.GetStreamCommand = GetStreamCommand;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListStreamsCommand = exports.$Command = void 0;
|
|
4
|
-
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
-
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
|
-
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
10
|
-
class ListStreamsCommand extends smithy_client_1.Command
|
|
11
|
-
.classBuilder()
|
|
12
|
-
.ep(EndpointParameters_1.commonParams)
|
|
13
|
-
.m(function (Command, cs, config, o) {
|
|
14
|
-
return [
|
|
15
|
-
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
16
|
-
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
17
|
-
];
|
|
18
|
-
})
|
|
19
|
-
.s("KeyspacesStreams", "ListStreams", {})
|
|
20
|
-
.n("KeyspacesStreamsClient", "ListStreamsCommand")
|
|
21
|
-
.f(void 0, void 0)
|
|
22
|
-
.ser(Aws_json1_0_1.se_ListStreamsCommand)
|
|
23
|
-
.de(Aws_json1_0_1.de_ListStreamsCommand)
|
|
24
|
-
.build() {
|
|
25
|
-
}
|
|
26
|
-
exports.ListStreamsCommand = ListStreamsCommand;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./GetRecordsCommand"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./GetShardIteratorCommand"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./GetStreamCommand"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListStreamsCommand"), exports);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
|
-
const resolveClientEndpointParameters = (options) => {
|
|
5
|
-
return Object.assign(options, {
|
|
6
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
7
|
-
defaultSigningName: "cassandra",
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
11
|
-
exports.commonParams = {
|
|
12
|
-
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
-
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
-
Region: { type: "builtInParams", name: "region" },
|
|
15
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KeyspacesStreamsServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class KeyspacesStreamsServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, KeyspacesStreamsServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.KeyspacesStreamsServiceException = KeyspacesStreamsServiceException;
|
package/dist-cjs/models/index.js
DELETED
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.KeyspacesCellValue = exports.StreamViewType = exports.StreamStatus = exports.ShardFilterType = exports.ShardIteratorType = exports.ValidationException = exports.ValidationExceptionType = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.OriginType = exports.AccessDeniedException = void 0;
|
|
4
|
-
const KeyspacesStreamsServiceException_1 = require("./KeyspacesStreamsServiceException");
|
|
5
|
-
class AccessDeniedException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {
|
|
6
|
-
name = "AccessDeniedException";
|
|
7
|
-
$fault = "client";
|
|
8
|
-
constructor(opts) {
|
|
9
|
-
super({
|
|
10
|
-
name: "AccessDeniedException",
|
|
11
|
-
$fault: "client",
|
|
12
|
-
...opts,
|
|
13
|
-
});
|
|
14
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
18
|
-
exports.OriginType = {
|
|
19
|
-
REPLICATION: "REPLICATION",
|
|
20
|
-
TTL: "TTL",
|
|
21
|
-
USER: "USER",
|
|
22
|
-
};
|
|
23
|
-
class InternalServerException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {
|
|
24
|
-
name = "InternalServerException";
|
|
25
|
-
$fault = "server";
|
|
26
|
-
constructor(opts) {
|
|
27
|
-
super({
|
|
28
|
-
name: "InternalServerException",
|
|
29
|
-
$fault: "server",
|
|
30
|
-
...opts,
|
|
31
|
-
});
|
|
32
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.InternalServerException = InternalServerException;
|
|
36
|
-
class ResourceNotFoundException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {
|
|
37
|
-
name = "ResourceNotFoundException";
|
|
38
|
-
$fault = "client";
|
|
39
|
-
constructor(opts) {
|
|
40
|
-
super({
|
|
41
|
-
name: "ResourceNotFoundException",
|
|
42
|
-
$fault: "client",
|
|
43
|
-
...opts,
|
|
44
|
-
});
|
|
45
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
49
|
-
class ThrottlingException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {
|
|
50
|
-
name = "ThrottlingException";
|
|
51
|
-
$fault = "client";
|
|
52
|
-
constructor(opts) {
|
|
53
|
-
super({
|
|
54
|
-
name: "ThrottlingException",
|
|
55
|
-
$fault: "client",
|
|
56
|
-
...opts,
|
|
57
|
-
});
|
|
58
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
exports.ThrottlingException = ThrottlingException;
|
|
62
|
-
exports.ValidationExceptionType = {
|
|
63
|
-
ExpiredIterator: "ExpiredIterator",
|
|
64
|
-
ExpiredNextToken: "ExpiredNextToken",
|
|
65
|
-
InvalidFormat: "InvalidFormat",
|
|
66
|
-
TrimmedDataAccess: "TrimmedDataAccess",
|
|
67
|
-
};
|
|
68
|
-
class ValidationException extends KeyspacesStreamsServiceException_1.KeyspacesStreamsServiceException {
|
|
69
|
-
name = "ValidationException";
|
|
70
|
-
$fault = "client";
|
|
71
|
-
errorCode;
|
|
72
|
-
constructor(opts) {
|
|
73
|
-
super({
|
|
74
|
-
name: "ValidationException",
|
|
75
|
-
$fault: "client",
|
|
76
|
-
...opts,
|
|
77
|
-
});
|
|
78
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
79
|
-
this.errorCode = opts.errorCode;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
exports.ValidationException = ValidationException;
|
|
83
|
-
exports.ShardIteratorType = {
|
|
84
|
-
AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER",
|
|
85
|
-
AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER",
|
|
86
|
-
LATEST: "LATEST",
|
|
87
|
-
TRIM_HORIZON: "TRIM_HORIZON",
|
|
88
|
-
};
|
|
89
|
-
exports.ShardFilterType = {
|
|
90
|
-
CHILD_SHARDS: "CHILD_SHARDS",
|
|
91
|
-
};
|
|
92
|
-
exports.StreamStatus = {
|
|
93
|
-
DISABLED: "DISABLED",
|
|
94
|
-
DISABLING: "DISABLING",
|
|
95
|
-
ENABLED: "ENABLED",
|
|
96
|
-
ENABLING: "ENABLING",
|
|
97
|
-
};
|
|
98
|
-
exports.StreamViewType = {
|
|
99
|
-
KEYS_ONLY: "KEYS_ONLY",
|
|
100
|
-
NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES",
|
|
101
|
-
NEW_IMAGE: "NEW_IMAGE",
|
|
102
|
-
OLD_IMAGE: "OLD_IMAGE",
|
|
103
|
-
};
|
|
104
|
-
var KeyspacesCellValue;
|
|
105
|
-
(function (KeyspacesCellValue) {
|
|
106
|
-
KeyspacesCellValue.visit = (value, visitor) => {
|
|
107
|
-
if (value.asciiT !== undefined)
|
|
108
|
-
return visitor.asciiT(value.asciiT);
|
|
109
|
-
if (value.bigintT !== undefined)
|
|
110
|
-
return visitor.bigintT(value.bigintT);
|
|
111
|
-
if (value.blobT !== undefined)
|
|
112
|
-
return visitor.blobT(value.blobT);
|
|
113
|
-
if (value.boolT !== undefined)
|
|
114
|
-
return visitor.boolT(value.boolT);
|
|
115
|
-
if (value.counterT !== undefined)
|
|
116
|
-
return visitor.counterT(value.counterT);
|
|
117
|
-
if (value.dateT !== undefined)
|
|
118
|
-
return visitor.dateT(value.dateT);
|
|
119
|
-
if (value.decimalT !== undefined)
|
|
120
|
-
return visitor.decimalT(value.decimalT);
|
|
121
|
-
if (value.doubleT !== undefined)
|
|
122
|
-
return visitor.doubleT(value.doubleT);
|
|
123
|
-
if (value.floatT !== undefined)
|
|
124
|
-
return visitor.floatT(value.floatT);
|
|
125
|
-
if (value.inetT !== undefined)
|
|
126
|
-
return visitor.inetT(value.inetT);
|
|
127
|
-
if (value.intT !== undefined)
|
|
128
|
-
return visitor.intT(value.intT);
|
|
129
|
-
if (value.listT !== undefined)
|
|
130
|
-
return visitor.listT(value.listT);
|
|
131
|
-
if (value.mapT !== undefined)
|
|
132
|
-
return visitor.mapT(value.mapT);
|
|
133
|
-
if (value.setT !== undefined)
|
|
134
|
-
return visitor.setT(value.setT);
|
|
135
|
-
if (value.smallintT !== undefined)
|
|
136
|
-
return visitor.smallintT(value.smallintT);
|
|
137
|
-
if (value.textT !== undefined)
|
|
138
|
-
return visitor.textT(value.textT);
|
|
139
|
-
if (value.timeT !== undefined)
|
|
140
|
-
return visitor.timeT(value.timeT);
|
|
141
|
-
if (value.timestampT !== undefined)
|
|
142
|
-
return visitor.timestampT(value.timestampT);
|
|
143
|
-
if (value.timeuuidT !== undefined)
|
|
144
|
-
return visitor.timeuuidT(value.timeuuidT);
|
|
145
|
-
if (value.tinyintT !== undefined)
|
|
146
|
-
return visitor.tinyintT(value.tinyintT);
|
|
147
|
-
if (value.tupleT !== undefined)
|
|
148
|
-
return visitor.tupleT(value.tupleT);
|
|
149
|
-
if (value.uuidT !== undefined)
|
|
150
|
-
return visitor.uuidT(value.uuidT);
|
|
151
|
-
if (value.varcharT !== undefined)
|
|
152
|
-
return visitor.varcharT(value.varcharT);
|
|
153
|
-
if (value.varintT !== undefined)
|
|
154
|
-
return visitor.varintT(value.varintT);
|
|
155
|
-
if (value.udtT !== undefined)
|
|
156
|
-
return visitor.udtT(value.udtT);
|
|
157
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
158
|
-
};
|
|
159
|
-
})(KeyspacesCellValue || (exports.KeyspacesCellValue = KeyspacesCellValue = {}));
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateGetStream = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const GetStreamCommand_1 = require("../commands/GetStreamCommand");
|
|
6
|
-
const KeyspacesStreamsClient_1 = require("../KeyspacesStreamsClient");
|
|
7
|
-
exports.paginateGetStream = (0, core_1.createPaginator)(KeyspacesStreamsClient_1.KeyspacesStreamsClient, GetStreamCommand_1.GetStreamCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListStreams = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListStreamsCommand_1 = require("../commands/ListStreamsCommand");
|
|
6
|
-
const KeyspacesStreamsClient_1 = require("../KeyspacesStreamsClient");
|
|
7
|
-
exports.paginateListStreams = (0, core_1.createPaginator)(KeyspacesStreamsClient_1.KeyspacesStreamsClient, ListStreamsCommand_1.ListStreamsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./GetStreamPaginator"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListStreamsPaginator"), exports);
|