@aws-sdk/client-kinesis-video-webrtc-storage 3.987.0 → 3.989.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 +21 -133
- package/dist-cjs/models/KinesisVideoWebRTCStorageServiceException.js +12 -0
- package/dist-cjs/models/errors.js +56 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +72 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +17 -11
- package/dist-types/schemas/schemas_0.d.ts +9 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -2
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -15,6 +15,9 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
15
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
18
|
+
var schemas_0 = require('./schemas/schemas_0');
|
|
19
|
+
var errors = require('./models/errors');
|
|
20
|
+
var KinesisVideoWebRTCStorageServiceException = require('./models/KinesisVideoWebRTCStorageServiceException');
|
|
18
21
|
|
|
19
22
|
const resolveClientEndpointParameters = (options) => {
|
|
20
23
|
return Object.assign(options, {
|
|
@@ -110,123 +113,6 @@ class KinesisVideoWebRTCStorageClient extends smithyClient.Client {
|
|
|
110
113
|
}
|
|
111
114
|
}
|
|
112
115
|
|
|
113
|
-
class KinesisVideoWebRTCStorageServiceException extends smithyClient.ServiceException {
|
|
114
|
-
constructor(options) {
|
|
115
|
-
super(options);
|
|
116
|
-
Object.setPrototypeOf(this, KinesisVideoWebRTCStorageServiceException.prototype);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
class AccessDeniedException extends KinesisVideoWebRTCStorageServiceException {
|
|
121
|
-
name = "AccessDeniedException";
|
|
122
|
-
$fault = "client";
|
|
123
|
-
constructor(opts) {
|
|
124
|
-
super({
|
|
125
|
-
name: "AccessDeniedException",
|
|
126
|
-
$fault: "client",
|
|
127
|
-
...opts,
|
|
128
|
-
});
|
|
129
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
class ClientLimitExceededException extends KinesisVideoWebRTCStorageServiceException {
|
|
133
|
-
name = "ClientLimitExceededException";
|
|
134
|
-
$fault = "client";
|
|
135
|
-
constructor(opts) {
|
|
136
|
-
super({
|
|
137
|
-
name: "ClientLimitExceededException",
|
|
138
|
-
$fault: "client",
|
|
139
|
-
...opts,
|
|
140
|
-
});
|
|
141
|
-
Object.setPrototypeOf(this, ClientLimitExceededException.prototype);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
class InvalidArgumentException extends KinesisVideoWebRTCStorageServiceException {
|
|
145
|
-
name = "InvalidArgumentException";
|
|
146
|
-
$fault = "client";
|
|
147
|
-
constructor(opts) {
|
|
148
|
-
super({
|
|
149
|
-
name: "InvalidArgumentException",
|
|
150
|
-
$fault: "client",
|
|
151
|
-
...opts,
|
|
152
|
-
});
|
|
153
|
-
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
class ResourceNotFoundException extends KinesisVideoWebRTCStorageServiceException {
|
|
157
|
-
name = "ResourceNotFoundException";
|
|
158
|
-
$fault = "client";
|
|
159
|
-
constructor(opts) {
|
|
160
|
-
super({
|
|
161
|
-
name: "ResourceNotFoundException",
|
|
162
|
-
$fault: "client",
|
|
163
|
-
...opts,
|
|
164
|
-
});
|
|
165
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
166
|
-
}
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
const _ADE = "AccessDeniedException";
|
|
170
|
-
const _CLEE = "ClientLimitExceededException";
|
|
171
|
-
const _IAE = "InvalidArgumentException";
|
|
172
|
-
const _JSS = "JoinStorageSession";
|
|
173
|
-
const _JSSAV = "JoinStorageSessionAsViewer";
|
|
174
|
-
const _JSSAVI = "JoinStorageSessionAsViewerInput";
|
|
175
|
-
const _JSSI = "JoinStorageSessionInput";
|
|
176
|
-
const _RNFE = "ResourceNotFoundException";
|
|
177
|
-
const _c = "client";
|
|
178
|
-
const _cA = "channelArn";
|
|
179
|
-
const _cI = "clientId";
|
|
180
|
-
const _e = "error";
|
|
181
|
-
const _h = "http";
|
|
182
|
-
const _hE = "httpError";
|
|
183
|
-
const _m = "message";
|
|
184
|
-
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.kinesisvideowebrtcstorage";
|
|
185
|
-
const n0 = "com.amazonaws.kinesisvideowebrtcstorage";
|
|
186
|
-
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
187
|
-
{ [_e]: _c, [_hE]: 403 },
|
|
188
|
-
[_m],
|
|
189
|
-
[0]
|
|
190
|
-
];
|
|
191
|
-
schema.TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
|
|
192
|
-
var ClientLimitExceededException$ = [-3, n0, _CLEE,
|
|
193
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
194
|
-
[_m],
|
|
195
|
-
[0]
|
|
196
|
-
];
|
|
197
|
-
schema.TypeRegistry.for(n0).registerError(ClientLimitExceededException$, ClientLimitExceededException);
|
|
198
|
-
var InvalidArgumentException$ = [-3, n0, _IAE,
|
|
199
|
-
{ [_e]: _c, [_hE]: 400 },
|
|
200
|
-
[_m],
|
|
201
|
-
[0]
|
|
202
|
-
];
|
|
203
|
-
schema.TypeRegistry.for(n0).registerError(InvalidArgumentException$, InvalidArgumentException);
|
|
204
|
-
var JoinStorageSessionAsViewerInput$ = [3, n0, _JSSAVI,
|
|
205
|
-
0,
|
|
206
|
-
[_cA, _cI],
|
|
207
|
-
[0, 0], 2
|
|
208
|
-
];
|
|
209
|
-
var JoinStorageSessionInput$ = [3, n0, _JSSI,
|
|
210
|
-
0,
|
|
211
|
-
[_cA],
|
|
212
|
-
[0], 1
|
|
213
|
-
];
|
|
214
|
-
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
215
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
216
|
-
[_m],
|
|
217
|
-
[0]
|
|
218
|
-
];
|
|
219
|
-
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
220
|
-
var __Unit = "unit";
|
|
221
|
-
var KinesisVideoWebRTCStorageServiceException$ = [-3, _s, "KinesisVideoWebRTCStorageServiceException", 0, [], []];
|
|
222
|
-
schema.TypeRegistry.for(_s).registerError(KinesisVideoWebRTCStorageServiceException$, KinesisVideoWebRTCStorageServiceException);
|
|
223
|
-
var JoinStorageSession$ = [9, n0, _JSS,
|
|
224
|
-
{ [_h]: ["POST", "/joinStorageSession", 200] }, () => JoinStorageSessionInput$, () => __Unit
|
|
225
|
-
];
|
|
226
|
-
var JoinStorageSessionAsViewer$ = [9, n0, _JSSAV,
|
|
227
|
-
{ [_h]: ["POST", "/joinStorageSessionAsViewer", 200] }, () => JoinStorageSessionAsViewerInput$, () => __Unit
|
|
228
|
-
];
|
|
229
|
-
|
|
230
116
|
class JoinStorageSessionAsViewerCommand extends smithyClient.Command
|
|
231
117
|
.classBuilder()
|
|
232
118
|
.ep(commonParams)
|
|
@@ -235,7 +121,7 @@ class JoinStorageSessionAsViewerCommand extends smithyClient.Command
|
|
|
235
121
|
})
|
|
236
122
|
.s("AWSAcuityRoutingServiceLambda", "JoinStorageSessionAsViewer", {})
|
|
237
123
|
.n("KinesisVideoWebRTCStorageClient", "JoinStorageSessionAsViewerCommand")
|
|
238
|
-
.sc(JoinStorageSessionAsViewer$)
|
|
124
|
+
.sc(schemas_0.JoinStorageSessionAsViewer$)
|
|
239
125
|
.build() {
|
|
240
126
|
}
|
|
241
127
|
|
|
@@ -247,7 +133,7 @@ class JoinStorageSessionCommand extends smithyClient.Command
|
|
|
247
133
|
})
|
|
248
134
|
.s("AWSAcuityRoutingServiceLambda", "JoinStorageSession", {})
|
|
249
135
|
.n("KinesisVideoWebRTCStorageClient", "JoinStorageSessionCommand")
|
|
250
|
-
.sc(JoinStorageSession$)
|
|
136
|
+
.sc(schemas_0.JoinStorageSession$)
|
|
251
137
|
.build() {
|
|
252
138
|
}
|
|
253
139
|
|
|
@@ -267,21 +153,23 @@ Object.defineProperty(exports, "__Client", {
|
|
|
267
153
|
enumerable: true,
|
|
268
154
|
get: function () { return smithyClient.Client; }
|
|
269
155
|
});
|
|
270
|
-
exports
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
exports.InvalidArgumentException = InvalidArgumentException;
|
|
275
|
-
exports.InvalidArgumentException$ = InvalidArgumentException$;
|
|
276
|
-
exports.JoinStorageSession$ = JoinStorageSession$;
|
|
277
|
-
exports.JoinStorageSessionAsViewer$ = JoinStorageSessionAsViewer$;
|
|
156
|
+
Object.defineProperty(exports, "KinesisVideoWebRTCStorageServiceException", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () { return KinesisVideoWebRTCStorageServiceException.KinesisVideoWebRTCStorageServiceException; }
|
|
159
|
+
});
|
|
278
160
|
exports.JoinStorageSessionAsViewerCommand = JoinStorageSessionAsViewerCommand;
|
|
279
|
-
exports.JoinStorageSessionAsViewerInput$ = JoinStorageSessionAsViewerInput$;
|
|
280
161
|
exports.JoinStorageSessionCommand = JoinStorageSessionCommand;
|
|
281
|
-
exports.JoinStorageSessionInput$ = JoinStorageSessionInput$;
|
|
282
162
|
exports.KinesisVideoWebRTCStorage = KinesisVideoWebRTCStorage;
|
|
283
163
|
exports.KinesisVideoWebRTCStorageClient = KinesisVideoWebRTCStorageClient;
|
|
284
|
-
|
|
285
|
-
exports.
|
|
286
|
-
|
|
287
|
-
|
|
164
|
+
Object.keys(schemas_0).forEach(function (k) {
|
|
165
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
166
|
+
enumerable: true,
|
|
167
|
+
get: function () { return schemas_0[k]; }
|
|
168
|
+
});
|
|
169
|
+
});
|
|
170
|
+
Object.keys(errors).forEach(function (k) {
|
|
171
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function () { return errors[k]; }
|
|
174
|
+
});
|
|
175
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.KinesisVideoWebRTCStorageServiceException = 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 KinesisVideoWebRTCStorageServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, KinesisVideoWebRTCStorageServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.KinesisVideoWebRTCStorageServiceException = KinesisVideoWebRTCStorageServiceException;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ResourceNotFoundException = exports.InvalidArgumentException = exports.ClientLimitExceededException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const KinesisVideoWebRTCStorageServiceException_1 = require("./KinesisVideoWebRTCStorageServiceException");
|
|
5
|
+
class AccessDeniedException extends KinesisVideoWebRTCStorageServiceException_1.KinesisVideoWebRTCStorageServiceException {
|
|
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
|
+
class ClientLimitExceededException extends KinesisVideoWebRTCStorageServiceException_1.KinesisVideoWebRTCStorageServiceException {
|
|
19
|
+
name = "ClientLimitExceededException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ClientLimitExceededException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, ClientLimitExceededException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.ClientLimitExceededException = ClientLimitExceededException;
|
|
31
|
+
class InvalidArgumentException extends KinesisVideoWebRTCStorageServiceException_1.KinesisVideoWebRTCStorageServiceException {
|
|
32
|
+
name = "InvalidArgumentException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "InvalidArgumentException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.InvalidArgumentException = InvalidArgumentException;
|
|
44
|
+
class ResourceNotFoundException extends KinesisVideoWebRTCStorageServiceException_1.KinesisVideoWebRTCStorageServiceException {
|
|
45
|
+
name = "ResourceNotFoundException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "ResourceNotFoundException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
|
|
|
9
9
|
const util_utf8_1 = require("@smithy/util-utf8");
|
|
10
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
11
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
12
|
+
const schemas_0_1 = require("./schemas/schemas_0");
|
|
12
13
|
const getRuntimeConfig = (config) => {
|
|
13
14
|
return {
|
|
14
15
|
apiVersion: "2018-05-10",
|
|
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
29
30
|
protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
|
|
30
31
|
protocolSettings: config?.protocolSettings ?? {
|
|
31
32
|
defaultNamespace: "com.amazonaws.kinesisvideowebrtcstorage",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2018-05-10",
|
|
33
35
|
serviceTarget: "AWSAcuityRoutingServiceLambda",
|
|
34
36
|
},
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.JoinStorageSessionAsViewer$ = exports.JoinStorageSession$ = exports.JoinStorageSessionInput$ = exports.JoinStorageSessionAsViewerInput$ = exports.errorTypeRegistries = exports.ResourceNotFoundException$ = exports.InvalidArgumentException$ = exports.ClientLimitExceededException$ = exports.AccessDeniedException$ = exports.KinesisVideoWebRTCStorageServiceException$ = void 0;
|
|
4
|
+
const _ADE = "AccessDeniedException";
|
|
5
|
+
const _CLEE = "ClientLimitExceededException";
|
|
6
|
+
const _IAE = "InvalidArgumentException";
|
|
7
|
+
const _JSS = "JoinStorageSession";
|
|
8
|
+
const _JSSAV = "JoinStorageSessionAsViewer";
|
|
9
|
+
const _JSSAVI = "JoinStorageSessionAsViewerInput";
|
|
10
|
+
const _JSSI = "JoinStorageSessionInput";
|
|
11
|
+
const _RNFE = "ResourceNotFoundException";
|
|
12
|
+
const _c = "client";
|
|
13
|
+
const _cA = "channelArn";
|
|
14
|
+
const _cI = "clientId";
|
|
15
|
+
const _e = "error";
|
|
16
|
+
const _h = "http";
|
|
17
|
+
const _hE = "httpError";
|
|
18
|
+
const _m = "message";
|
|
19
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.kinesisvideowebrtcstorage";
|
|
20
|
+
const n0 = "com.amazonaws.kinesisvideowebrtcstorage";
|
|
21
|
+
const schema_1 = require("@smithy/core/schema");
|
|
22
|
+
const errors_1 = require("../models/errors");
|
|
23
|
+
const KinesisVideoWebRTCStorageServiceException_1 = require("../models/KinesisVideoWebRTCStorageServiceException");
|
|
24
|
+
const _s_registry = schema_1.TypeRegistry.for(_s);
|
|
25
|
+
exports.KinesisVideoWebRTCStorageServiceException$ = [-3, _s, "KinesisVideoWebRTCStorageServiceException", 0, [], []];
|
|
26
|
+
_s_registry.registerError(exports.KinesisVideoWebRTCStorageServiceException$, KinesisVideoWebRTCStorageServiceException_1.KinesisVideoWebRTCStorageServiceException);
|
|
27
|
+
const n0_registry = schema_1.TypeRegistry.for(n0);
|
|
28
|
+
exports.AccessDeniedException$ = [-3, n0, _ADE,
|
|
29
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
30
|
+
[_m],
|
|
31
|
+
[0]
|
|
32
|
+
];
|
|
33
|
+
n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
|
|
34
|
+
exports.ClientLimitExceededException$ = [-3, n0, _CLEE,
|
|
35
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
36
|
+
[_m],
|
|
37
|
+
[0]
|
|
38
|
+
];
|
|
39
|
+
n0_registry.registerError(exports.ClientLimitExceededException$, errors_1.ClientLimitExceededException);
|
|
40
|
+
exports.InvalidArgumentException$ = [-3, n0, _IAE,
|
|
41
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
42
|
+
[_m],
|
|
43
|
+
[0]
|
|
44
|
+
];
|
|
45
|
+
n0_registry.registerError(exports.InvalidArgumentException$, errors_1.InvalidArgumentException);
|
|
46
|
+
exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
47
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
48
|
+
[_m],
|
|
49
|
+
[0]
|
|
50
|
+
];
|
|
51
|
+
n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
|
|
52
|
+
exports.errorTypeRegistries = [
|
|
53
|
+
_s_registry,
|
|
54
|
+
n0_registry,
|
|
55
|
+
];
|
|
56
|
+
exports.JoinStorageSessionAsViewerInput$ = [3, n0, _JSSAVI,
|
|
57
|
+
0,
|
|
58
|
+
[_cA, _cI],
|
|
59
|
+
[0, 0], 2
|
|
60
|
+
];
|
|
61
|
+
exports.JoinStorageSessionInput$ = [3, n0, _JSSI,
|
|
62
|
+
0,
|
|
63
|
+
[_cA],
|
|
64
|
+
[0], 1
|
|
65
|
+
];
|
|
66
|
+
var __Unit = "unit";
|
|
67
|
+
exports.JoinStorageSession$ = [9, n0, _JSS,
|
|
68
|
+
{ [_h]: ["POST", "/joinStorageSession", 200] }, () => exports.JoinStorageSessionInput$, () => __Unit
|
|
69
|
+
];
|
|
70
|
+
exports.JoinStorageSessionAsViewer$ = [9, n0, _JSSAV,
|
|
71
|
+
{ [_h]: ["POST", "/joinStorageSessionAsViewer", 200] }, () => exports.JoinStorageSessionAsViewerInput$, () => __Unit
|
|
72
|
+
];
|
|
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
|
6
6
|
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
7
7
|
import { defaultKinesisVideoWebRTCStorageHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
8
8
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
9
|
+
import { errorTypeRegistries } from "./schemas/schemas_0";
|
|
9
10
|
export const getRuntimeConfig = (config) => {
|
|
10
11
|
return {
|
|
11
12
|
apiVersion: "2018-05-10",
|
|
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
27
|
protocol: config?.protocol ?? AwsRestJsonProtocol,
|
|
27
28
|
protocolSettings: config?.protocolSettings ?? {
|
|
28
29
|
defaultNamespace: "com.amazonaws.kinesisvideowebrtcstorage",
|
|
30
|
+
errorTypeRegistries,
|
|
29
31
|
version: "2018-05-10",
|
|
30
32
|
serviceTarget: "AWSAcuityRoutingServiceLambda",
|
|
31
33
|
},
|
|
@@ -18,24 +18,38 @@ const n0 = "com.amazonaws.kinesisvideowebrtcstorage";
|
|
|
18
18
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
19
19
|
import { AccessDeniedException, ClientLimitExceededException, InvalidArgumentException, ResourceNotFoundException, } from "../models/errors";
|
|
20
20
|
import { KinesisVideoWebRTCStorageServiceException } from "../models/KinesisVideoWebRTCStorageServiceException";
|
|
21
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
22
|
+
export var KinesisVideoWebRTCStorageServiceException$ = [-3, _s, "KinesisVideoWebRTCStorageServiceException", 0, [], []];
|
|
23
|
+
_s_registry.registerError(KinesisVideoWebRTCStorageServiceException$, KinesisVideoWebRTCStorageServiceException);
|
|
24
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
21
25
|
export var AccessDeniedException$ = [-3, n0, _ADE,
|
|
22
26
|
{ [_e]: _c, [_hE]: 403 },
|
|
23
27
|
[_m],
|
|
24
28
|
[0]
|
|
25
29
|
];
|
|
26
|
-
|
|
30
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
27
31
|
export var ClientLimitExceededException$ = [-3, n0, _CLEE,
|
|
28
32
|
{ [_e]: _c, [_hE]: 400 },
|
|
29
33
|
[_m],
|
|
30
34
|
[0]
|
|
31
35
|
];
|
|
32
|
-
|
|
36
|
+
n0_registry.registerError(ClientLimitExceededException$, ClientLimitExceededException);
|
|
33
37
|
export var InvalidArgumentException$ = [-3, n0, _IAE,
|
|
34
38
|
{ [_e]: _c, [_hE]: 400 },
|
|
35
39
|
[_m],
|
|
36
40
|
[0]
|
|
37
41
|
];
|
|
38
|
-
|
|
42
|
+
n0_registry.registerError(InvalidArgumentException$, InvalidArgumentException);
|
|
43
|
+
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
44
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
45
|
+
[_m],
|
|
46
|
+
[0]
|
|
47
|
+
];
|
|
48
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
49
|
+
export const errorTypeRegistries = [
|
|
50
|
+
_s_registry,
|
|
51
|
+
n0_registry,
|
|
52
|
+
];
|
|
39
53
|
export var JoinStorageSessionAsViewerInput$ = [3, n0, _JSSAVI,
|
|
40
54
|
0,
|
|
41
55
|
[_cA, _cI],
|
|
@@ -46,15 +60,7 @@ export var JoinStorageSessionInput$ = [3, n0, _JSSI,
|
|
|
46
60
|
[_cA],
|
|
47
61
|
[0], 1
|
|
48
62
|
];
|
|
49
|
-
export var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
50
|
-
{ [_e]: _c, [_hE]: 404 },
|
|
51
|
-
[_m],
|
|
52
|
-
[0]
|
|
53
|
-
];
|
|
54
|
-
TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
55
63
|
var __Unit = "unit";
|
|
56
|
-
export var KinesisVideoWebRTCStorageServiceException$ = [-3, _s, "KinesisVideoWebRTCStorageServiceException", 0, [], []];
|
|
57
|
-
TypeRegistry.for(_s).registerError(KinesisVideoWebRTCStorageServiceException$, KinesisVideoWebRTCStorageServiceException);
|
|
58
64
|
export var JoinStorageSession$ = [9, n0, _JSS,
|
|
59
65
|
{ [_h]: ["POST", "/joinStorageSession", 200] }, () => JoinStorageSessionInput$, () => __Unit
|
|
60
66
|
];
|
|
@@ -1,10 +1,17 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import type { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
3
|
+
export declare var KinesisVideoWebRTCStorageServiceException$: StaticErrorSchema;
|
|
2
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
3
5
|
export declare var ClientLimitExceededException$: StaticErrorSchema;
|
|
4
6
|
export declare var InvalidArgumentException$: StaticErrorSchema;
|
|
7
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
8
|
+
/**
|
|
9
|
+
* TypeRegistry instances containing modeled errors.
|
|
10
|
+
* @internal
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
5
14
|
export declare var JoinStorageSessionAsViewerInput$: StaticStructureSchema;
|
|
6
15
|
export declare var JoinStorageSessionInput$: StaticStructureSchema;
|
|
7
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
8
|
-
export declare var KinesisVideoWebRTCStorageServiceException$: StaticErrorSchema;
|
|
9
16
|
export declare var JoinStorageSession$: StaticOperationSchema;
|
|
10
17
|
export declare var JoinStorageSessionAsViewer$: StaticOperationSchema;
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
1
2
|
import {
|
|
2
3
|
StaticErrorSchema,
|
|
3
4
|
StaticOperationSchema,
|
|
4
5
|
StaticStructureSchema,
|
|
5
6
|
} from "@smithy/types";
|
|
7
|
+
export declare var KinesisVideoWebRTCStorageServiceException$: StaticErrorSchema;
|
|
6
8
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
7
9
|
export declare var ClientLimitExceededException$: StaticErrorSchema;
|
|
8
10
|
export declare var InvalidArgumentException$: StaticErrorSchema;
|
|
11
|
+
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
12
|
+
export declare const errorTypeRegistries: TypeRegistry[];
|
|
9
13
|
export declare var JoinStorageSessionAsViewerInput$: StaticStructureSchema;
|
|
10
14
|
export declare var JoinStorageSessionInput$: StaticStructureSchema;
|
|
11
|
-
export declare var ResourceNotFoundException$: StaticErrorSchema;
|
|
12
|
-
export declare var KinesisVideoWebRTCStorageServiceException$: StaticErrorSchema;
|
|
13
15
|
export declare var JoinStorageSession$: StaticOperationSchema;
|
|
14
16
|
export declare var JoinStorageSessionAsViewer$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis-video-webrtc-storage",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Video Webrtc Storage Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.989.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-kinesis-video-webrtc-storage",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.9",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.8",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "^3.972.3",
|
|
27
27
|
"@aws-sdk/middleware-logger": "^3.972.3",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "^3.972.3",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.9",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "^3.972.3",
|
|
31
31
|
"@aws-sdk/types": "^3.973.1",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.989.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "^3.972.3",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.7",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.23.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.14",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.31",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
|
-
"@smithy/node-http-handler": "^4.4.
|
|
46
|
+
"@smithy/node-http-handler": "^4.4.10",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.11.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.3",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.30",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.33",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|