@aws-sdk/client-dsql 3.1044.0 → 3.1046.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/README.md +28 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +202 -56
- package/dist-cjs/models/DSQLServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +12 -14
- package/dist-cjs/runtimeConfig.js +18 -22
- package/dist-cjs/runtimeConfig.shared.js +9 -10
- package/dist-cjs/schemas/schemas_0.js +109 -5
- package/dist-es/DSQL.js +15 -1
- package/dist-es/DSQLClient.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/commands/CreateClusterCommand.js +2 -2
- package/dist-es/commands/CreateStreamCommand.js +16 -0
- package/dist-es/commands/DeleteClusterCommand.js +2 -2
- package/dist-es/commands/DeleteClusterPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteStreamCommand.js +16 -0
- package/dist-es/commands/GetClusterCommand.js +2 -2
- package/dist-es/commands/GetClusterPolicyCommand.js +2 -2
- package/dist-es/commands/GetStreamCommand.js +16 -0
- package/dist-es/commands/GetVpcEndpointServiceNameCommand.js +2 -2
- package/dist-es/commands/ListClustersCommand.js +2 -2
- package/dist-es/commands/ListStreamsCommand.js +16 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
- package/dist-es/commands/PutClusterPolicyCommand.js +2 -2
- package/dist-es/commands/TagResourceCommand.js +2 -2
- package/dist-es/commands/UntagResourceCommand.js +2 -2
- package/dist-es/commands/UpdateClusterCommand.js +2 -2
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/DSQLServiceException.js +1 -1
- package/dist-es/models/enums.js +24 -0
- package/dist-es/pagination/ListStreamsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/runtimeConfig.browser.js +4 -6
- package/dist-es/runtimeConfig.js +4 -8
- package/dist-es/runtimeConfig.shared.js +3 -4
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/schemas/schemas_0.js +107 -4
- package/dist-es/waiters/index.js +2 -0
- package/dist-es/waiters/waitForClusterActive.js +1 -1
- package/dist-es/waiters/waitForClusterNotExists.js +1 -1
- package/dist-es/waiters/waitForStreamActive.js +31 -0
- package/dist-es/waiters/waitForStreamNotExists.js +25 -0
- package/dist-types/DSQL.d.ts +48 -1
- package/dist-types/DSQLClient.d.ts +11 -7
- package/dist-types/commands/CreateClusterCommand.d.ts +6 -4
- package/dist-types/commands/CreateStreamCommand.d.ts +115 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +6 -4
- package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteStreamCommand.d.ts +100 -0
- package/dist-types/commands/GetClusterCommand.d.ts +6 -4
- package/dist-types/commands/GetClusterPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetStreamCommand.d.ts +111 -0
- package/dist-types/commands/GetVpcEndpointServiceNameCommand.d.ts +6 -4
- package/dist-types/commands/ListClustersCommand.d.ts +6 -4
- package/dist-types/commands/ListStreamsCommand.d.ts +102 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/commands/PutClusterPolicyCommand.d.ts +6 -4
- package/dist-types/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/commands/UpdateClusterCommand.d.ts +6 -4
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/DSQLServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +56 -0
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +330 -1
- package/dist-types/pagination/ListStreamsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +17 -1
- package/dist-types/ts3.4/DSQL.d.ts +94 -1
- package/dist-types/ts3.4/DSQLClient.d.ts +32 -14
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetStreamCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/GetVpcEndpointServiceNameCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +49 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/DSQLServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +30 -0
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +95 -1
- package/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
- package/dist-types/ts3.4/waiters/index.d.ts +2 -0
- package/dist-types/ts3.4/waiters/waitForClusterActive.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForClusterNotExists.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForStreamActive.d.ts +15 -0
- package/dist-types/ts3.4/waiters/waitForStreamNotExists.d.ts +16 -0
- package/dist-types/waiters/index.d.ts +2 -0
- package/dist-types/waiters/waitForClusterActive.d.ts +1 -1
- package/dist-types/waiters/waitForClusterNotExists.d.ts +1 -1
- package/dist-types/waiters/waitForStreamActive.d.ts +15 -0
- package/dist-types/waiters/waitForStreamNotExists.d.ts +16 -0
- package/package.json +13 -35
package/README.md
CHANGED
|
@@ -188,6 +188,13 @@ CreateCluster
|
|
|
188
188
|
</details>
|
|
189
189
|
<details>
|
|
190
190
|
<summary>
|
|
191
|
+
CreateStream
|
|
192
|
+
</summary>
|
|
193
|
+
|
|
194
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/CreateStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/CreateStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/CreateStreamCommandOutput/)
|
|
195
|
+
</details>
|
|
196
|
+
<details>
|
|
197
|
+
<summary>
|
|
191
198
|
DeleteCluster
|
|
192
199
|
</summary>
|
|
193
200
|
|
|
@@ -202,6 +209,13 @@ DeleteClusterPolicy
|
|
|
202
209
|
</details>
|
|
203
210
|
<details>
|
|
204
211
|
<summary>
|
|
212
|
+
DeleteStream
|
|
213
|
+
</summary>
|
|
214
|
+
|
|
215
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/DeleteStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/DeleteStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/DeleteStreamCommandOutput/)
|
|
216
|
+
</details>
|
|
217
|
+
<details>
|
|
218
|
+
<summary>
|
|
205
219
|
GetCluster
|
|
206
220
|
</summary>
|
|
207
221
|
|
|
@@ -216,6 +230,13 @@ GetClusterPolicy
|
|
|
216
230
|
</details>
|
|
217
231
|
<details>
|
|
218
232
|
<summary>
|
|
233
|
+
GetStream
|
|
234
|
+
</summary>
|
|
235
|
+
|
|
236
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/GetStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/GetStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/GetStreamCommandOutput/)
|
|
237
|
+
</details>
|
|
238
|
+
<details>
|
|
239
|
+
<summary>
|
|
219
240
|
GetVpcEndpointServiceName
|
|
220
241
|
</summary>
|
|
221
242
|
|
|
@@ -230,6 +251,13 @@ ListClusters
|
|
|
230
251
|
</details>
|
|
231
252
|
<details>
|
|
232
253
|
<summary>
|
|
254
|
+
ListStreams
|
|
255
|
+
</summary>
|
|
256
|
+
|
|
257
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/dsql/command/ListStreamsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/ListStreamsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-dsql/Interface/ListStreamsCommandOutput/)
|
|
258
|
+
</details>
|
|
259
|
+
<details>
|
|
260
|
+
<summary>
|
|
233
261
|
ListTagsForResource
|
|
234
262
|
</summary>
|
|
235
263
|
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultDSQLHttpAuthSchemeProvider = exports.defaultDSQLHttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
|
-
const
|
|
5
|
+
const client_1 = require("@smithy/core/client");
|
|
6
6
|
const defaultDSQLHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
8
|
-
operation: (0,
|
|
9
|
-
region: await (0,
|
|
8
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
9
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
10
10
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
11
11
|
})(),
|
|
12
12
|
};
|
|
@@ -40,7 +40,7 @@ exports.defaultDSQLHttpAuthSchemeProvider = defaultDSQLHttpAuthSchemeProvider;
|
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
41
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
|
-
authSchemePreference: (0,
|
|
43
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
|
|
6
6
|
const _data = {
|
|
7
7
|
conditions: [
|
|
@@ -29,4 +29,4 @@ const nodes = new Int32Array([
|
|
|
29
29
|
3, r + 3, r + 4,
|
|
30
30
|
3, r + 1, r + 2,
|
|
31
31
|
]);
|
|
32
|
-
exports.bdd =
|
|
32
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: ["Endpoint", "Region", "UseFIPS"],
|
|
10
10
|
});
|
|
11
11
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
12
|
-
return cache.get(endpointParams, () => (0,
|
|
12
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
13
13
|
endpointParams: endpointParams,
|
|
14
14
|
logger: context.logger,
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -4,19 +4,17 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
|
4
4
|
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
5
|
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
-
var configResolver = require('@smithy/config-resolver');
|
|
8
7
|
var core = require('@smithy/core');
|
|
8
|
+
var client = require('@smithy/core/client');
|
|
9
|
+
var config = require('@smithy/core/config');
|
|
10
|
+
var endpoints = require('@smithy/core/endpoints');
|
|
11
|
+
var protocols = require('@smithy/core/protocols');
|
|
12
|
+
var retry = require('@smithy/core/retry');
|
|
9
13
|
var schema = require('@smithy/core/schema');
|
|
10
|
-
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
11
|
-
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
12
|
-
var middlewareRetry = require('@smithy/middleware-retry');
|
|
13
|
-
var smithyClient = require('@smithy/smithy-client');
|
|
14
14
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
|
-
var protocolHttp = require('@smithy/protocol-http');
|
|
18
17
|
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
-
var utilWaiter = require('@smithy/util-waiter');
|
|
20
18
|
var errors = require('./models/errors');
|
|
21
19
|
var DSQLServiceException = require('./models/DSQLServiceException');
|
|
22
20
|
|
|
@@ -72,12 +70,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
72
70
|
};
|
|
73
71
|
|
|
74
72
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
-
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig),
|
|
73
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
74
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
-
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
75
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
76
|
};
|
|
79
77
|
|
|
80
|
-
class DSQLClient extends
|
|
78
|
+
class DSQLClient extends client.Client {
|
|
81
79
|
config;
|
|
82
80
|
constructor(...[configuration]) {
|
|
83
81
|
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
@@ -85,17 +83,17 @@ class DSQLClient extends smithyClient.Client {
|
|
|
85
83
|
this.initConfig = _config_0;
|
|
86
84
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
85
|
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
88
|
-
const _config_3 =
|
|
89
|
-
const _config_4 =
|
|
86
|
+
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
87
|
+
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
90
88
|
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
91
|
-
const _config_6 =
|
|
89
|
+
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
95
93
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
96
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
97
|
-
this.middlewareStack.use(
|
|
98
|
-
this.middlewareStack.use(
|
|
95
|
+
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
99
97
|
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
100
98
|
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
101
99
|
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
@@ -112,11 +110,11 @@ class DSQLClient extends smithyClient.Client {
|
|
|
112
110
|
}
|
|
113
111
|
}
|
|
114
112
|
|
|
115
|
-
class CreateClusterCommand extends
|
|
113
|
+
class CreateClusterCommand extends client.Command
|
|
116
114
|
.classBuilder()
|
|
117
115
|
.ep(commonParams)
|
|
118
116
|
.m(function (Command, cs, config, o) {
|
|
119
|
-
return [
|
|
117
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
120
118
|
})
|
|
121
119
|
.s("DSQL", "CreateCluster", {})
|
|
122
120
|
.n("DSQLClient", "CreateClusterCommand")
|
|
@@ -124,11 +122,23 @@ class CreateClusterCommand extends smithyClient.Command
|
|
|
124
122
|
.build() {
|
|
125
123
|
}
|
|
126
124
|
|
|
127
|
-
class
|
|
125
|
+
class CreateStreamCommand extends client.Command
|
|
128
126
|
.classBuilder()
|
|
129
127
|
.ep(commonParams)
|
|
130
128
|
.m(function (Command, cs, config, o) {
|
|
131
|
-
return [
|
|
129
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
130
|
+
})
|
|
131
|
+
.s("DSQL", "CreateStream", {})
|
|
132
|
+
.n("DSQLClient", "CreateStreamCommand")
|
|
133
|
+
.sc(schemas_0.CreateStream$)
|
|
134
|
+
.build() {
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
class DeleteClusterCommand extends client.Command
|
|
138
|
+
.classBuilder()
|
|
139
|
+
.ep(commonParams)
|
|
140
|
+
.m(function (Command, cs, config, o) {
|
|
141
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
132
142
|
})
|
|
133
143
|
.s("DSQL", "DeleteCluster", {})
|
|
134
144
|
.n("DSQLClient", "DeleteClusterCommand")
|
|
@@ -136,11 +146,11 @@ class DeleteClusterCommand extends smithyClient.Command
|
|
|
136
146
|
.build() {
|
|
137
147
|
}
|
|
138
148
|
|
|
139
|
-
class DeleteClusterPolicyCommand extends
|
|
149
|
+
class DeleteClusterPolicyCommand extends client.Command
|
|
140
150
|
.classBuilder()
|
|
141
151
|
.ep(commonParams)
|
|
142
152
|
.m(function (Command, cs, config, o) {
|
|
143
|
-
return [
|
|
153
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
144
154
|
})
|
|
145
155
|
.s("DSQL", "DeleteClusterPolicy", {})
|
|
146
156
|
.n("DSQLClient", "DeleteClusterPolicyCommand")
|
|
@@ -148,11 +158,23 @@ class DeleteClusterPolicyCommand extends smithyClient.Command
|
|
|
148
158
|
.build() {
|
|
149
159
|
}
|
|
150
160
|
|
|
151
|
-
class
|
|
161
|
+
class DeleteStreamCommand extends client.Command
|
|
152
162
|
.classBuilder()
|
|
153
163
|
.ep(commonParams)
|
|
154
164
|
.m(function (Command, cs, config, o) {
|
|
155
|
-
return [
|
|
165
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
166
|
+
})
|
|
167
|
+
.s("DSQL", "DeleteStream", {})
|
|
168
|
+
.n("DSQLClient", "DeleteStreamCommand")
|
|
169
|
+
.sc(schemas_0.DeleteStream$)
|
|
170
|
+
.build() {
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
class GetClusterCommand extends client.Command
|
|
174
|
+
.classBuilder()
|
|
175
|
+
.ep(commonParams)
|
|
176
|
+
.m(function (Command, cs, config, o) {
|
|
177
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
156
178
|
})
|
|
157
179
|
.s("DSQL", "GetCluster", {})
|
|
158
180
|
.n("DSQLClient", "GetClusterCommand")
|
|
@@ -160,11 +182,11 @@ class GetClusterCommand extends smithyClient.Command
|
|
|
160
182
|
.build() {
|
|
161
183
|
}
|
|
162
184
|
|
|
163
|
-
class GetClusterPolicyCommand extends
|
|
185
|
+
class GetClusterPolicyCommand extends client.Command
|
|
164
186
|
.classBuilder()
|
|
165
187
|
.ep(commonParams)
|
|
166
188
|
.m(function (Command, cs, config, o) {
|
|
167
|
-
return [
|
|
189
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
168
190
|
})
|
|
169
191
|
.s("DSQL", "GetClusterPolicy", {})
|
|
170
192
|
.n("DSQLClient", "GetClusterPolicyCommand")
|
|
@@ -172,11 +194,23 @@ class GetClusterPolicyCommand extends smithyClient.Command
|
|
|
172
194
|
.build() {
|
|
173
195
|
}
|
|
174
196
|
|
|
175
|
-
class
|
|
197
|
+
class GetStreamCommand extends client.Command
|
|
176
198
|
.classBuilder()
|
|
177
199
|
.ep(commonParams)
|
|
178
200
|
.m(function (Command, cs, config, o) {
|
|
179
|
-
return [
|
|
201
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
202
|
+
})
|
|
203
|
+
.s("DSQL", "GetStream", {})
|
|
204
|
+
.n("DSQLClient", "GetStreamCommand")
|
|
205
|
+
.sc(schemas_0.GetStream$)
|
|
206
|
+
.build() {
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
class GetVpcEndpointServiceNameCommand extends client.Command
|
|
210
|
+
.classBuilder()
|
|
211
|
+
.ep(commonParams)
|
|
212
|
+
.m(function (Command, cs, config, o) {
|
|
213
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
180
214
|
})
|
|
181
215
|
.s("DSQL", "GetVpcEndpointServiceName", {})
|
|
182
216
|
.n("DSQLClient", "GetVpcEndpointServiceNameCommand")
|
|
@@ -184,11 +218,11 @@ class GetVpcEndpointServiceNameCommand extends smithyClient.Command
|
|
|
184
218
|
.build() {
|
|
185
219
|
}
|
|
186
220
|
|
|
187
|
-
class ListClustersCommand extends
|
|
221
|
+
class ListClustersCommand extends client.Command
|
|
188
222
|
.classBuilder()
|
|
189
223
|
.ep(commonParams)
|
|
190
224
|
.m(function (Command, cs, config, o) {
|
|
191
|
-
return [
|
|
225
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
192
226
|
})
|
|
193
227
|
.s("DSQL", "ListClusters", {})
|
|
194
228
|
.n("DSQLClient", "ListClustersCommand")
|
|
@@ -196,11 +230,23 @@ class ListClustersCommand extends smithyClient.Command
|
|
|
196
230
|
.build() {
|
|
197
231
|
}
|
|
198
232
|
|
|
199
|
-
class
|
|
233
|
+
class ListStreamsCommand extends client.Command
|
|
234
|
+
.classBuilder()
|
|
235
|
+
.ep(commonParams)
|
|
236
|
+
.m(function (Command, cs, config, o) {
|
|
237
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
238
|
+
})
|
|
239
|
+
.s("DSQL", "ListStreams", {})
|
|
240
|
+
.n("DSQLClient", "ListStreamsCommand")
|
|
241
|
+
.sc(schemas_0.ListStreams$)
|
|
242
|
+
.build() {
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
class ListTagsForResourceCommand extends client.Command
|
|
200
246
|
.classBuilder()
|
|
201
247
|
.ep(commonParams)
|
|
202
248
|
.m(function (Command, cs, config, o) {
|
|
203
|
-
return [
|
|
249
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
204
250
|
})
|
|
205
251
|
.s("DSQL", "ListTagsForResource", {})
|
|
206
252
|
.n("DSQLClient", "ListTagsForResourceCommand")
|
|
@@ -208,11 +254,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
208
254
|
.build() {
|
|
209
255
|
}
|
|
210
256
|
|
|
211
|
-
class PutClusterPolicyCommand extends
|
|
257
|
+
class PutClusterPolicyCommand extends client.Command
|
|
212
258
|
.classBuilder()
|
|
213
259
|
.ep(commonParams)
|
|
214
260
|
.m(function (Command, cs, config, o) {
|
|
215
|
-
return [
|
|
261
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
216
262
|
})
|
|
217
263
|
.s("DSQL", "PutClusterPolicy", {})
|
|
218
264
|
.n("DSQLClient", "PutClusterPolicyCommand")
|
|
@@ -220,11 +266,11 @@ class PutClusterPolicyCommand extends smithyClient.Command
|
|
|
220
266
|
.build() {
|
|
221
267
|
}
|
|
222
268
|
|
|
223
|
-
class TagResourceCommand extends
|
|
269
|
+
class TagResourceCommand extends client.Command
|
|
224
270
|
.classBuilder()
|
|
225
271
|
.ep(commonParams)
|
|
226
272
|
.m(function (Command, cs, config, o) {
|
|
227
|
-
return [
|
|
273
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
228
274
|
})
|
|
229
275
|
.s("DSQL", "TagResource", {})
|
|
230
276
|
.n("DSQLClient", "TagResourceCommand")
|
|
@@ -232,11 +278,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
232
278
|
.build() {
|
|
233
279
|
}
|
|
234
280
|
|
|
235
|
-
class UntagResourceCommand extends
|
|
281
|
+
class UntagResourceCommand extends client.Command
|
|
236
282
|
.classBuilder()
|
|
237
283
|
.ep(commonParams)
|
|
238
284
|
.m(function (Command, cs, config, o) {
|
|
239
|
-
return [
|
|
285
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
240
286
|
})
|
|
241
287
|
.s("DSQL", "UntagResource", {})
|
|
242
288
|
.n("DSQLClient", "UntagResourceCommand")
|
|
@@ -244,11 +290,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
244
290
|
.build() {
|
|
245
291
|
}
|
|
246
292
|
|
|
247
|
-
class UpdateClusterCommand extends
|
|
293
|
+
class UpdateClusterCommand extends client.Command
|
|
248
294
|
.classBuilder()
|
|
249
295
|
.ep(commonParams)
|
|
250
296
|
.m(function (Command, cs, config, o) {
|
|
251
|
-
return [
|
|
297
|
+
return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
252
298
|
})
|
|
253
299
|
.s("DSQL", "UpdateCluster", {})
|
|
254
300
|
.n("DSQLClient", "UpdateClusterCommand")
|
|
@@ -258,17 +304,19 @@ class UpdateClusterCommand extends smithyClient.Command
|
|
|
258
304
|
|
|
259
305
|
const paginateListClusters = core.createPaginator(DSQLClient, ListClustersCommand, "nextToken", "nextToken", "maxResults");
|
|
260
306
|
|
|
261
|
-
const
|
|
307
|
+
const paginateListStreams = core.createPaginator(DSQLClient, ListStreamsCommand, "nextToken", "nextToken", "maxResults");
|
|
308
|
+
|
|
309
|
+
const checkState$3 = async (client$1, input) => {
|
|
262
310
|
let reason;
|
|
263
311
|
try {
|
|
264
|
-
let result = await client.send(new GetClusterCommand(input));
|
|
312
|
+
let result = await client$1.send(new GetClusterCommand(input));
|
|
265
313
|
reason = result;
|
|
266
314
|
try {
|
|
267
315
|
const returnComparator = () => {
|
|
268
316
|
return result.status;
|
|
269
317
|
};
|
|
270
318
|
if (returnComparator() === "ACTIVE") {
|
|
271
|
-
return { state:
|
|
319
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
272
320
|
}
|
|
273
321
|
}
|
|
274
322
|
catch (e) { }
|
|
@@ -276,50 +324,108 @@ const checkState$1 = async (client, input) => {
|
|
|
276
324
|
catch (exception) {
|
|
277
325
|
reason = exception;
|
|
278
326
|
}
|
|
279
|
-
return { state:
|
|
327
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
280
328
|
};
|
|
281
329
|
const waitForClusterActive = async (params, input) => {
|
|
282
330
|
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
283
|
-
return
|
|
331
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
284
332
|
};
|
|
285
333
|
const waitUntilClusterActive = async (params, input) => {
|
|
286
334
|
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
287
|
-
const result = await
|
|
288
|
-
return
|
|
335
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
|
|
336
|
+
return client.checkExceptions(result);
|
|
289
337
|
};
|
|
290
338
|
|
|
291
|
-
const checkState = async (client, input) => {
|
|
339
|
+
const checkState$2 = async (client$1, input) => {
|
|
292
340
|
let reason;
|
|
293
341
|
try {
|
|
294
|
-
let result = await client.send(new GetClusterCommand(input));
|
|
342
|
+
let result = await client$1.send(new GetClusterCommand(input));
|
|
295
343
|
reason = result;
|
|
296
344
|
}
|
|
297
345
|
catch (exception) {
|
|
298
346
|
reason = exception;
|
|
299
347
|
if (exception.name === "ResourceNotFoundException") {
|
|
300
|
-
return { state:
|
|
348
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
301
349
|
}
|
|
302
350
|
}
|
|
303
|
-
return { state:
|
|
351
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
304
352
|
};
|
|
305
353
|
const waitForClusterNotExists = async (params, input) => {
|
|
306
354
|
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
307
|
-
return
|
|
355
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
308
356
|
};
|
|
309
357
|
const waitUntilClusterNotExists = async (params, input) => {
|
|
310
358
|
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
311
|
-
const result = await
|
|
312
|
-
return
|
|
359
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
|
|
360
|
+
return client.checkExceptions(result);
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
const checkState$1 = async (client$1, input) => {
|
|
364
|
+
let reason;
|
|
365
|
+
try {
|
|
366
|
+
let result = await client$1.send(new GetStreamCommand(input));
|
|
367
|
+
reason = result;
|
|
368
|
+
try {
|
|
369
|
+
const returnComparator = () => {
|
|
370
|
+
return result.status;
|
|
371
|
+
};
|
|
372
|
+
if (returnComparator() === "ACTIVE") {
|
|
373
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
catch (e) { }
|
|
377
|
+
}
|
|
378
|
+
catch (exception) {
|
|
379
|
+
reason = exception;
|
|
380
|
+
}
|
|
381
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
382
|
+
};
|
|
383
|
+
const waitForStreamActive = async (params, input) => {
|
|
384
|
+
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
385
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
386
|
+
};
|
|
387
|
+
const waitUntilStreamActive = async (params, input) => {
|
|
388
|
+
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
389
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
|
|
390
|
+
return client.checkExceptions(result);
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
const checkState = async (client$1, input) => {
|
|
394
|
+
let reason;
|
|
395
|
+
try {
|
|
396
|
+
let result = await client$1.send(new GetStreamCommand(input));
|
|
397
|
+
reason = result;
|
|
398
|
+
}
|
|
399
|
+
catch (exception) {
|
|
400
|
+
reason = exception;
|
|
401
|
+
if (exception.name === "ResourceNotFoundException") {
|
|
402
|
+
return { state: client.WaiterState.SUCCESS, reason };
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
return { state: client.WaiterState.RETRY, reason };
|
|
406
|
+
};
|
|
407
|
+
const waitForStreamNotExists = async (params, input) => {
|
|
408
|
+
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
409
|
+
return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
410
|
+
};
|
|
411
|
+
const waitUntilStreamNotExists = async (params, input) => {
|
|
412
|
+
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
413
|
+
const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
|
|
414
|
+
return client.checkExceptions(result);
|
|
313
415
|
};
|
|
314
416
|
|
|
315
417
|
const commands = {
|
|
316
418
|
CreateClusterCommand,
|
|
419
|
+
CreateStreamCommand,
|
|
317
420
|
DeleteClusterCommand,
|
|
318
421
|
DeleteClusterPolicyCommand,
|
|
422
|
+
DeleteStreamCommand,
|
|
319
423
|
GetClusterCommand,
|
|
320
424
|
GetClusterPolicyCommand,
|
|
425
|
+
GetStreamCommand,
|
|
321
426
|
GetVpcEndpointServiceNameCommand,
|
|
322
427
|
ListClustersCommand,
|
|
428
|
+
ListStreamsCommand,
|
|
323
429
|
ListTagsForResourceCommand,
|
|
324
430
|
PutClusterPolicyCommand,
|
|
325
431
|
TagResourceCommand,
|
|
@@ -328,14 +434,17 @@ const commands = {
|
|
|
328
434
|
};
|
|
329
435
|
const paginators = {
|
|
330
436
|
paginateListClusters,
|
|
437
|
+
paginateListStreams,
|
|
331
438
|
};
|
|
332
439
|
const waiters = {
|
|
333
440
|
waitUntilClusterActive,
|
|
334
441
|
waitUntilClusterNotExists,
|
|
442
|
+
waitUntilStreamActive,
|
|
443
|
+
waitUntilStreamNotExists,
|
|
335
444
|
};
|
|
336
445
|
class DSQL extends DSQLClient {
|
|
337
446
|
}
|
|
338
|
-
|
|
447
|
+
client.createAggregatedClient(commands, DSQL, { paginators, waiters });
|
|
339
448
|
|
|
340
449
|
const ClusterStatus = {
|
|
341
450
|
ACTIVE: "ACTIVE",
|
|
@@ -366,33 +475,70 @@ const ValidationExceptionReason = {
|
|
|
366
475
|
OTHER: "other",
|
|
367
476
|
UNKNOWN_OPERATION: "unknownOperation",
|
|
368
477
|
};
|
|
478
|
+
const StreamFormat = {
|
|
479
|
+
JSON: "JSON",
|
|
480
|
+
};
|
|
481
|
+
const StreamOrdering = {
|
|
482
|
+
UNORDERED: "UNORDERED",
|
|
483
|
+
};
|
|
484
|
+
const StreamStatus = {
|
|
485
|
+
ACTIVE: "ACTIVE",
|
|
486
|
+
CREATING: "CREATING",
|
|
487
|
+
DELETED: "DELETED",
|
|
488
|
+
DELETING: "DELETING",
|
|
489
|
+
FAILED: "FAILED",
|
|
490
|
+
IMPAIRED: "IMPAIRED",
|
|
491
|
+
};
|
|
492
|
+
const StreamFailureErrorCode = {
|
|
493
|
+
CLUSTER_CMK_INACCESSIBLE: "CLUSTER_CMK_INACCESSIBLE",
|
|
494
|
+
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
495
|
+
KINESIS_ACCESS_DENIED: "KINESIS_ACCESS_DENIED",
|
|
496
|
+
KINESIS_KMS_ACCESS_DENIED: "KINESIS_KMS_ACCESS_DENIED",
|
|
497
|
+
KINESIS_OVERSIZE_RECORD: "KINESIS_OVERSIZE_RECORD",
|
|
498
|
+
KINESIS_STREAM_NOT_FOUND: "KINESIS_STREAM_NOT_FOUND",
|
|
499
|
+
KINESIS_THROUGHPUT_EXCEEDED: "KINESIS_THROUGHPUT_EXCEEDED",
|
|
500
|
+
ROLE_ACCESS_DENIED: "ROLE_ACCESS_DENIED",
|
|
501
|
+
};
|
|
369
502
|
|
|
370
|
-
exports.$Command =
|
|
371
|
-
exports.__Client =
|
|
503
|
+
exports.$Command = client.Command;
|
|
504
|
+
exports.__Client = client.Client;
|
|
372
505
|
exports.DSQLServiceException = DSQLServiceException.DSQLServiceException;
|
|
373
506
|
exports.ClusterStatus = ClusterStatus;
|
|
374
507
|
exports.CreateClusterCommand = CreateClusterCommand;
|
|
508
|
+
exports.CreateStreamCommand = CreateStreamCommand;
|
|
375
509
|
exports.DSQL = DSQL;
|
|
376
510
|
exports.DSQLClient = DSQLClient;
|
|
377
511
|
exports.DeleteClusterCommand = DeleteClusterCommand;
|
|
378
512
|
exports.DeleteClusterPolicyCommand = DeleteClusterPolicyCommand;
|
|
513
|
+
exports.DeleteStreamCommand = DeleteStreamCommand;
|
|
379
514
|
exports.EncryptionStatus = EncryptionStatus;
|
|
380
515
|
exports.EncryptionType = EncryptionType;
|
|
381
516
|
exports.GetClusterCommand = GetClusterCommand;
|
|
382
517
|
exports.GetClusterPolicyCommand = GetClusterPolicyCommand;
|
|
518
|
+
exports.GetStreamCommand = GetStreamCommand;
|
|
383
519
|
exports.GetVpcEndpointServiceNameCommand = GetVpcEndpointServiceNameCommand;
|
|
384
520
|
exports.ListClustersCommand = ListClustersCommand;
|
|
521
|
+
exports.ListStreamsCommand = ListStreamsCommand;
|
|
385
522
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
386
523
|
exports.PutClusterPolicyCommand = PutClusterPolicyCommand;
|
|
524
|
+
exports.StreamFailureErrorCode = StreamFailureErrorCode;
|
|
525
|
+
exports.StreamFormat = StreamFormat;
|
|
526
|
+
exports.StreamOrdering = StreamOrdering;
|
|
527
|
+
exports.StreamStatus = StreamStatus;
|
|
387
528
|
exports.TagResourceCommand = TagResourceCommand;
|
|
388
529
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
389
530
|
exports.UpdateClusterCommand = UpdateClusterCommand;
|
|
390
531
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
391
532
|
exports.paginateListClusters = paginateListClusters;
|
|
533
|
+
exports.paginateListStreams = paginateListStreams;
|
|
392
534
|
exports.waitForClusterActive = waitForClusterActive;
|
|
393
535
|
exports.waitForClusterNotExists = waitForClusterNotExists;
|
|
536
|
+
exports.waitForStreamActive = waitForStreamActive;
|
|
537
|
+
exports.waitForStreamNotExists = waitForStreamNotExists;
|
|
394
538
|
exports.waitUntilClusterActive = waitUntilClusterActive;
|
|
395
539
|
exports.waitUntilClusterNotExists = waitUntilClusterNotExists;
|
|
540
|
+
exports.waitUntilStreamActive = waitUntilStreamActive;
|
|
541
|
+
exports.waitUntilStreamNotExists = waitUntilStreamNotExists;
|
|
396
542
|
Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
|
|
397
543
|
!Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
|
|
398
544
|
Object.defineProperty(exports, '__proto__', {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DSQLServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return
|
|
6
|
-
class DSQLServiceException extends
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
+
class DSQLServiceException extends client_1.ServiceException {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super(options);
|
|
9
9
|
Object.setPrototypeOf(this, DSQLServiceException.prototype);
|