@aws-sdk/client-kinesis-video 3.901.0 → 3.907.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 +2223 -2471
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,2510 +1,2262 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
|
|
4
|
+
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
+
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
+
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
|
+
var configResolver = require('@smithy/config-resolver');
|
|
8
|
+
var core = require('@smithy/core');
|
|
9
|
+
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
|
+
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
|
+
var middlewareRetry = require('@smithy/middleware-retry');
|
|
12
|
+
var smithyClient = require('@smithy/smithy-client');
|
|
13
|
+
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
14
|
+
var runtimeConfig = require('./runtimeConfig');
|
|
15
|
+
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
|
+
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
+
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
+
var core$1 = require('@aws-sdk/core');
|
|
19
|
+
|
|
20
|
+
const resolveClientEndpointParameters = (options) => {
|
|
21
|
+
return Object.assign(options, {
|
|
22
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
23
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
24
|
+
defaultSigningName: "kinesisvideo",
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
const commonParams = {
|
|
28
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
29
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
30
|
+
Region: { type: "builtInParams", name: "region" },
|
|
31
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
37
|
+
let _credentials = runtimeConfig.credentials;
|
|
38
|
+
return {
|
|
39
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
40
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
41
|
+
if (index === -1) {
|
|
42
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
httpAuthSchemes() {
|
|
49
|
+
return _httpAuthSchemes;
|
|
50
|
+
},
|
|
51
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
52
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
53
|
+
},
|
|
54
|
+
httpAuthSchemeProvider() {
|
|
55
|
+
return _httpAuthSchemeProvider;
|
|
56
|
+
},
|
|
57
|
+
setCredentials(credentials) {
|
|
58
|
+
_credentials = credentials;
|
|
59
|
+
},
|
|
60
|
+
credentials() {
|
|
61
|
+
return _credentials;
|
|
62
|
+
},
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
const resolveHttpAuthRuntimeConfig = (config) => {
|
|
66
|
+
return {
|
|
67
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
68
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
69
|
+
credentials: config.credentials(),
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
74
|
+
const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
75
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
76
|
+
return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
class KinesisVideoClient extends smithyClient.Client {
|
|
80
|
+
config;
|
|
81
|
+
constructor(...[configuration]) {
|
|
82
|
+
const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
|
|
83
|
+
super(_config_0);
|
|
84
|
+
this.initConfig = _config_0;
|
|
85
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
86
|
+
const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
|
|
87
|
+
const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
|
|
88
|
+
const _config_4 = configResolver.resolveRegionConfig(_config_3);
|
|
89
|
+
const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
|
|
90
|
+
const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
|
|
91
|
+
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
92
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
93
|
+
this.config = _config_8;
|
|
94
|
+
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
95
|
+
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
|
|
98
|
+
this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
|
|
99
|
+
this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
|
|
100
|
+
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
101
|
+
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultKinesisVideoHttpAuthSchemeParametersProvider,
|
|
102
|
+
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
103
|
+
"aws.auth#sigv4": config.credentials,
|
|
104
|
+
}),
|
|
105
|
+
}));
|
|
106
|
+
this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
|
|
107
|
+
}
|
|
108
|
+
destroy() {
|
|
109
|
+
super.destroy();
|
|
110
|
+
}
|
|
111
|
+
}
|
|
20
112
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
113
|
+
class KinesisVideoServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, KinesisVideoServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
class AccessDeniedException extends KinesisVideoServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
Message;
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "AccessDeniedException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
|
+
this.Message = opts.Message;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
class AccountChannelLimitExceededException extends KinesisVideoServiceException {
|
|
135
|
+
name = "AccountChannelLimitExceededException";
|
|
136
|
+
$fault = "client";
|
|
137
|
+
Message;
|
|
138
|
+
constructor(opts) {
|
|
139
|
+
super({
|
|
140
|
+
name: "AccountChannelLimitExceededException",
|
|
141
|
+
$fault: "client",
|
|
142
|
+
...opts,
|
|
143
|
+
});
|
|
144
|
+
Object.setPrototypeOf(this, AccountChannelLimitExceededException.prototype);
|
|
145
|
+
this.Message = opts.Message;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
class AccountStreamLimitExceededException extends KinesisVideoServiceException {
|
|
149
|
+
name = "AccountStreamLimitExceededException";
|
|
150
|
+
$fault = "client";
|
|
151
|
+
Message;
|
|
152
|
+
constructor(opts) {
|
|
153
|
+
super({
|
|
154
|
+
name: "AccountStreamLimitExceededException",
|
|
155
|
+
$fault: "client",
|
|
156
|
+
...opts,
|
|
157
|
+
});
|
|
158
|
+
Object.setPrototypeOf(this, AccountStreamLimitExceededException.prototype);
|
|
159
|
+
this.Message = opts.Message;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
const APIName = {
|
|
163
|
+
GET_CLIP: "GET_CLIP",
|
|
164
|
+
GET_DASH_STREAMING_SESSION_URL: "GET_DASH_STREAMING_SESSION_URL",
|
|
165
|
+
GET_HLS_STREAMING_SESSION_URL: "GET_HLS_STREAMING_SESSION_URL",
|
|
166
|
+
GET_IMAGES: "GET_IMAGES",
|
|
167
|
+
GET_MEDIA: "GET_MEDIA",
|
|
168
|
+
GET_MEDIA_FOR_FRAGMENT_LIST: "GET_MEDIA_FOR_FRAGMENT_LIST",
|
|
169
|
+
LIST_FRAGMENTS: "LIST_FRAGMENTS",
|
|
170
|
+
PUT_MEDIA: "PUT_MEDIA",
|
|
171
|
+
};
|
|
172
|
+
const Status = {
|
|
173
|
+
ACTIVE: "ACTIVE",
|
|
174
|
+
CREATING: "CREATING",
|
|
175
|
+
DELETING: "DELETING",
|
|
176
|
+
UPDATING: "UPDATING",
|
|
177
|
+
};
|
|
178
|
+
const ChannelType = {
|
|
179
|
+
FULL_MESH: "FULL_MESH",
|
|
180
|
+
SINGLE_MASTER: "SINGLE_MASTER",
|
|
181
|
+
};
|
|
182
|
+
const ComparisonOperator = {
|
|
183
|
+
BEGINS_WITH: "BEGINS_WITH",
|
|
184
|
+
};
|
|
185
|
+
const ChannelProtocol = {
|
|
186
|
+
HTTPS: "HTTPS",
|
|
187
|
+
WEBRTC: "WEBRTC",
|
|
188
|
+
WSS: "WSS",
|
|
189
|
+
};
|
|
190
|
+
const ChannelRole = {
|
|
191
|
+
MASTER: "MASTER",
|
|
192
|
+
VIEWER: "VIEWER",
|
|
193
|
+
};
|
|
194
|
+
class ClientLimitExceededException extends KinesisVideoServiceException {
|
|
195
|
+
name = "ClientLimitExceededException";
|
|
196
|
+
$fault = "client";
|
|
197
|
+
Message;
|
|
198
|
+
constructor(opts) {
|
|
199
|
+
super({
|
|
200
|
+
name: "ClientLimitExceededException",
|
|
201
|
+
$fault: "client",
|
|
202
|
+
...opts,
|
|
203
|
+
});
|
|
204
|
+
Object.setPrototypeOf(this, ClientLimitExceededException.prototype);
|
|
205
|
+
this.Message = opts.Message;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
const ConfigurationStatus = {
|
|
209
|
+
DISABLED: "DISABLED",
|
|
210
|
+
ENABLED: "ENABLED",
|
|
211
|
+
};
|
|
212
|
+
class InvalidArgumentException extends KinesisVideoServiceException {
|
|
213
|
+
name = "InvalidArgumentException";
|
|
214
|
+
$fault = "client";
|
|
215
|
+
Message;
|
|
216
|
+
constructor(opts) {
|
|
217
|
+
super({
|
|
218
|
+
name: "InvalidArgumentException",
|
|
219
|
+
$fault: "client",
|
|
220
|
+
...opts,
|
|
221
|
+
});
|
|
222
|
+
Object.setPrototypeOf(this, InvalidArgumentException.prototype);
|
|
223
|
+
this.Message = opts.Message;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
class ResourceInUseException extends KinesisVideoServiceException {
|
|
227
|
+
name = "ResourceInUseException";
|
|
228
|
+
$fault = "client";
|
|
229
|
+
Message;
|
|
230
|
+
constructor(opts) {
|
|
231
|
+
super({
|
|
232
|
+
name: "ResourceInUseException",
|
|
233
|
+
$fault: "client",
|
|
234
|
+
...opts,
|
|
235
|
+
});
|
|
236
|
+
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
237
|
+
this.Message = opts.Message;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
class TagsPerResourceExceededLimitException extends KinesisVideoServiceException {
|
|
241
|
+
name = "TagsPerResourceExceededLimitException";
|
|
242
|
+
$fault = "client";
|
|
243
|
+
Message;
|
|
244
|
+
constructor(opts) {
|
|
245
|
+
super({
|
|
246
|
+
name: "TagsPerResourceExceededLimitException",
|
|
247
|
+
$fault: "client",
|
|
248
|
+
...opts,
|
|
249
|
+
});
|
|
250
|
+
Object.setPrototypeOf(this, TagsPerResourceExceededLimitException.prototype);
|
|
251
|
+
this.Message = opts.Message;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
class DeviceStreamLimitExceededException extends KinesisVideoServiceException {
|
|
255
|
+
name = "DeviceStreamLimitExceededException";
|
|
256
|
+
$fault = "client";
|
|
257
|
+
Message;
|
|
258
|
+
constructor(opts) {
|
|
259
|
+
super({
|
|
260
|
+
name: "DeviceStreamLimitExceededException",
|
|
261
|
+
$fault: "client",
|
|
262
|
+
...opts,
|
|
263
|
+
});
|
|
264
|
+
Object.setPrototypeOf(this, DeviceStreamLimitExceededException.prototype);
|
|
265
|
+
this.Message = opts.Message;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
class InvalidDeviceException extends KinesisVideoServiceException {
|
|
269
|
+
name = "InvalidDeviceException";
|
|
270
|
+
$fault = "client";
|
|
271
|
+
Message;
|
|
272
|
+
constructor(opts) {
|
|
273
|
+
super({
|
|
274
|
+
name: "InvalidDeviceException",
|
|
275
|
+
$fault: "client",
|
|
276
|
+
...opts,
|
|
277
|
+
});
|
|
278
|
+
Object.setPrototypeOf(this, InvalidDeviceException.prototype);
|
|
279
|
+
this.Message = opts.Message;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
class ResourceNotFoundException extends KinesisVideoServiceException {
|
|
283
|
+
name = "ResourceNotFoundException";
|
|
284
|
+
$fault = "client";
|
|
285
|
+
Message;
|
|
286
|
+
constructor(opts) {
|
|
287
|
+
super({
|
|
288
|
+
name: "ResourceNotFoundException",
|
|
289
|
+
$fault: "client",
|
|
290
|
+
...opts,
|
|
291
|
+
});
|
|
292
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
293
|
+
this.Message = opts.Message;
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
class StreamEdgeConfigurationNotFoundException extends KinesisVideoServiceException {
|
|
297
|
+
name = "StreamEdgeConfigurationNotFoundException";
|
|
298
|
+
$fault = "client";
|
|
299
|
+
Message;
|
|
300
|
+
constructor(opts) {
|
|
301
|
+
super({
|
|
302
|
+
name: "StreamEdgeConfigurationNotFoundException",
|
|
303
|
+
$fault: "client",
|
|
304
|
+
...opts,
|
|
305
|
+
});
|
|
306
|
+
Object.setPrototypeOf(this, StreamEdgeConfigurationNotFoundException.prototype);
|
|
307
|
+
this.Message = opts.Message;
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
class VersionMismatchException extends KinesisVideoServiceException {
|
|
311
|
+
name = "VersionMismatchException";
|
|
312
|
+
$fault = "client";
|
|
313
|
+
Message;
|
|
314
|
+
constructor(opts) {
|
|
315
|
+
super({
|
|
316
|
+
name: "VersionMismatchException",
|
|
317
|
+
$fault: "client",
|
|
318
|
+
...opts,
|
|
319
|
+
});
|
|
320
|
+
Object.setPrototypeOf(this, VersionMismatchException.prototype);
|
|
321
|
+
this.Message = opts.Message;
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
class NotAuthorizedException extends KinesisVideoServiceException {
|
|
325
|
+
name = "NotAuthorizedException";
|
|
326
|
+
$fault = "client";
|
|
327
|
+
Message;
|
|
328
|
+
constructor(opts) {
|
|
329
|
+
super({
|
|
330
|
+
name: "NotAuthorizedException",
|
|
331
|
+
$fault: "client",
|
|
332
|
+
...opts,
|
|
333
|
+
});
|
|
334
|
+
Object.setPrototypeOf(this, NotAuthorizedException.prototype);
|
|
335
|
+
this.Message = opts.Message;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
const StrategyOnFullSize = {
|
|
339
|
+
DELETE_OLDEST_MEDIA: "DELETE_OLDEST_MEDIA",
|
|
340
|
+
DENY_NEW_MEDIA: "DENY_NEW_MEDIA",
|
|
341
|
+
};
|
|
342
|
+
const RecorderStatus = {
|
|
343
|
+
SUCCESS: "SUCCESS",
|
|
344
|
+
SYSTEM_ERROR: "SYSTEM_ERROR",
|
|
345
|
+
USER_ERROR: "USER_ERROR",
|
|
346
|
+
};
|
|
347
|
+
const UploaderStatus = {
|
|
348
|
+
SUCCESS: "SUCCESS",
|
|
349
|
+
SYSTEM_ERROR: "SYSTEM_ERROR",
|
|
350
|
+
USER_ERROR: "USER_ERROR",
|
|
351
|
+
};
|
|
352
|
+
const MediaUriType = {
|
|
353
|
+
FILE_URI: "FILE_URI",
|
|
354
|
+
RTSP_URI: "RTSP_URI",
|
|
355
|
+
};
|
|
356
|
+
const SyncStatus = {
|
|
357
|
+
ACKNOWLEDGED: "ACKNOWLEDGED",
|
|
358
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
359
|
+
DELETING: "DELETING",
|
|
360
|
+
DELETING_ACKNOWLEDGED: "DELETING_ACKNOWLEDGED",
|
|
361
|
+
IN_SYNC: "IN_SYNC",
|
|
362
|
+
SYNCING: "SYNCING",
|
|
363
|
+
SYNC_FAILED: "SYNC_FAILED",
|
|
364
|
+
};
|
|
365
|
+
const Format = {
|
|
366
|
+
JPEG: "JPEG",
|
|
367
|
+
PNG: "PNG",
|
|
368
|
+
};
|
|
369
|
+
const FormatConfigKey = {
|
|
370
|
+
JPEGQuality: "JPEGQuality",
|
|
371
|
+
};
|
|
372
|
+
const ImageSelectorType = {
|
|
373
|
+
PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
|
|
374
|
+
SERVER_TIMESTAMP: "SERVER_TIMESTAMP",
|
|
375
|
+
};
|
|
376
|
+
const MediaStorageConfigurationStatus = {
|
|
377
|
+
DISABLED: "DISABLED",
|
|
378
|
+
ENABLED: "ENABLED",
|
|
379
|
+
};
|
|
380
|
+
class InvalidResourceFormatException extends KinesisVideoServiceException {
|
|
381
|
+
name = "InvalidResourceFormatException";
|
|
382
|
+
$fault = "client";
|
|
383
|
+
Message;
|
|
384
|
+
constructor(opts) {
|
|
385
|
+
super({
|
|
386
|
+
name: "InvalidResourceFormatException",
|
|
387
|
+
$fault: "client",
|
|
388
|
+
...opts,
|
|
389
|
+
});
|
|
390
|
+
Object.setPrototypeOf(this, InvalidResourceFormatException.prototype);
|
|
391
|
+
this.Message = opts.Message;
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
class NoDataRetentionException extends KinesisVideoServiceException {
|
|
395
|
+
name = "NoDataRetentionException";
|
|
396
|
+
$fault = "client";
|
|
397
|
+
Message;
|
|
398
|
+
constructor(opts) {
|
|
399
|
+
super({
|
|
400
|
+
name: "NoDataRetentionException",
|
|
401
|
+
$fault: "client",
|
|
402
|
+
...opts,
|
|
403
|
+
});
|
|
404
|
+
Object.setPrototypeOf(this, NoDataRetentionException.prototype);
|
|
405
|
+
this.Message = opts.Message;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
const UpdateDataRetentionOperation = {
|
|
409
|
+
DECREASE_DATA_RETENTION: "DECREASE_DATA_RETENTION",
|
|
410
|
+
INCREASE_DATA_RETENTION: "INCREASE_DATA_RETENTION",
|
|
411
|
+
};
|
|
412
|
+
const MediaSourceConfigFilterSensitiveLog = (obj) => ({
|
|
413
|
+
...obj,
|
|
414
|
+
...(obj.MediaUriSecretArn && { MediaUriSecretArn: smithyClient.SENSITIVE_STRING }),
|
|
415
|
+
});
|
|
416
|
+
const RecorderConfigFilterSensitiveLog = (obj) => ({
|
|
417
|
+
...obj,
|
|
418
|
+
...(obj.MediaSourceConfig && { MediaSourceConfig: MediaSourceConfigFilterSensitiveLog(obj.MediaSourceConfig) }),
|
|
419
|
+
});
|
|
420
|
+
const EdgeConfigFilterSensitiveLog = (obj) => ({
|
|
421
|
+
...obj,
|
|
422
|
+
...(obj.RecorderConfig && { RecorderConfig: RecorderConfigFilterSensitiveLog(obj.RecorderConfig) }),
|
|
423
|
+
});
|
|
424
|
+
const DescribeEdgeConfigurationOutputFilterSensitiveLog = (obj) => ({
|
|
425
|
+
...obj,
|
|
426
|
+
...(obj.EdgeConfig && { EdgeConfig: EdgeConfigFilterSensitiveLog(obj.EdgeConfig) }),
|
|
427
|
+
});
|
|
428
|
+
const ListEdgeAgentConfigurationsEdgeConfigFilterSensitiveLog = (obj) => ({
|
|
429
|
+
...obj,
|
|
430
|
+
...(obj.EdgeConfig && { EdgeConfig: EdgeConfigFilterSensitiveLog(obj.EdgeConfig) }),
|
|
431
|
+
});
|
|
432
|
+
const ListEdgeAgentConfigurationsOutputFilterSensitiveLog = (obj) => ({
|
|
433
|
+
...obj,
|
|
434
|
+
...(obj.EdgeConfigs && {
|
|
435
|
+
EdgeConfigs: obj.EdgeConfigs.map((item) => ListEdgeAgentConfigurationsEdgeConfigFilterSensitiveLog(item)),
|
|
436
|
+
}),
|
|
437
|
+
});
|
|
438
|
+
const StartEdgeConfigurationUpdateInputFilterSensitiveLog = (obj) => ({
|
|
439
|
+
...obj,
|
|
440
|
+
...(obj.EdgeConfig && { EdgeConfig: EdgeConfigFilterSensitiveLog(obj.EdgeConfig) }),
|
|
441
|
+
});
|
|
442
|
+
const StartEdgeConfigurationUpdateOutputFilterSensitiveLog = (obj) => ({
|
|
443
|
+
...obj,
|
|
444
|
+
...(obj.EdgeConfig && { EdgeConfig: EdgeConfigFilterSensitiveLog(obj.EdgeConfig) }),
|
|
102
445
|
});
|
|
103
|
-
module.exports = __toCommonJS(index_exports);
|
|
104
|
-
|
|
105
|
-
// src/KinesisVideoClient.ts
|
|
106
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
107
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
108
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
109
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
110
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
111
|
-
var import_core = require("@smithy/core");
|
|
112
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
113
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
114
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
115
|
-
|
|
116
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
117
446
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
447
|
+
const se_CreateSignalingChannelCommand = async (input, context) => {
|
|
448
|
+
const b = core.requestBuilder(input, context);
|
|
449
|
+
const headers = {
|
|
450
|
+
"content-type": "application/json",
|
|
451
|
+
};
|
|
452
|
+
b.bp("/createSignalingChannel");
|
|
453
|
+
let body;
|
|
454
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
455
|
+
ChannelName: [],
|
|
456
|
+
ChannelType: [],
|
|
457
|
+
SingleMasterConfiguration: (_) => smithyClient._json(_),
|
|
458
|
+
Tags: (_) => smithyClient._json(_),
|
|
459
|
+
}));
|
|
460
|
+
b.m("POST").h(headers).b(body);
|
|
461
|
+
return b.build();
|
|
462
|
+
};
|
|
463
|
+
const se_CreateStreamCommand = async (input, context) => {
|
|
464
|
+
const b = core.requestBuilder(input, context);
|
|
465
|
+
const headers = {
|
|
466
|
+
"content-type": "application/json",
|
|
467
|
+
};
|
|
468
|
+
b.bp("/createStream");
|
|
469
|
+
let body;
|
|
470
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
471
|
+
DataRetentionInHours: [],
|
|
472
|
+
DeviceName: [],
|
|
473
|
+
KmsKeyId: [],
|
|
474
|
+
MediaType: [],
|
|
475
|
+
StreamName: [],
|
|
476
|
+
Tags: (_) => smithyClient._json(_),
|
|
477
|
+
}));
|
|
478
|
+
b.m("POST").h(headers).b(body);
|
|
479
|
+
return b.build();
|
|
480
|
+
};
|
|
481
|
+
const se_DeleteEdgeConfigurationCommand = async (input, context) => {
|
|
482
|
+
const b = core.requestBuilder(input, context);
|
|
483
|
+
const headers = {
|
|
484
|
+
"content-type": "application/json",
|
|
485
|
+
};
|
|
486
|
+
b.bp("/deleteEdgeConfiguration");
|
|
487
|
+
let body;
|
|
488
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
489
|
+
StreamARN: [],
|
|
490
|
+
StreamName: [],
|
|
491
|
+
}));
|
|
492
|
+
b.m("POST").h(headers).b(body);
|
|
493
|
+
return b.build();
|
|
494
|
+
};
|
|
495
|
+
const se_DeleteSignalingChannelCommand = async (input, context) => {
|
|
496
|
+
const b = core.requestBuilder(input, context);
|
|
497
|
+
const headers = {
|
|
498
|
+
"content-type": "application/json",
|
|
499
|
+
};
|
|
500
|
+
b.bp("/deleteSignalingChannel");
|
|
501
|
+
let body;
|
|
502
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
503
|
+
ChannelARN: [],
|
|
504
|
+
CurrentVersion: [],
|
|
505
|
+
}));
|
|
506
|
+
b.m("POST").h(headers).b(body);
|
|
507
|
+
return b.build();
|
|
508
|
+
};
|
|
509
|
+
const se_DeleteStreamCommand = async (input, context) => {
|
|
510
|
+
const b = core.requestBuilder(input, context);
|
|
511
|
+
const headers = {
|
|
512
|
+
"content-type": "application/json",
|
|
513
|
+
};
|
|
514
|
+
b.bp("/deleteStream");
|
|
515
|
+
let body;
|
|
516
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
517
|
+
CurrentVersion: [],
|
|
518
|
+
StreamARN: [],
|
|
519
|
+
}));
|
|
520
|
+
b.m("POST").h(headers).b(body);
|
|
521
|
+
return b.build();
|
|
522
|
+
};
|
|
523
|
+
const se_DescribeEdgeConfigurationCommand = async (input, context) => {
|
|
524
|
+
const b = core.requestBuilder(input, context);
|
|
525
|
+
const headers = {
|
|
526
|
+
"content-type": "application/json",
|
|
527
|
+
};
|
|
528
|
+
b.bp("/describeEdgeConfiguration");
|
|
529
|
+
let body;
|
|
530
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
531
|
+
StreamARN: [],
|
|
532
|
+
StreamName: [],
|
|
533
|
+
}));
|
|
534
|
+
b.m("POST").h(headers).b(body);
|
|
535
|
+
return b.build();
|
|
536
|
+
};
|
|
537
|
+
const se_DescribeImageGenerationConfigurationCommand = async (input, context) => {
|
|
538
|
+
const b = core.requestBuilder(input, context);
|
|
539
|
+
const headers = {
|
|
540
|
+
"content-type": "application/json",
|
|
541
|
+
};
|
|
542
|
+
b.bp("/describeImageGenerationConfiguration");
|
|
543
|
+
let body;
|
|
544
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
545
|
+
StreamARN: [],
|
|
546
|
+
StreamName: [],
|
|
547
|
+
}));
|
|
548
|
+
b.m("POST").h(headers).b(body);
|
|
549
|
+
return b.build();
|
|
550
|
+
};
|
|
551
|
+
const se_DescribeMappedResourceConfigurationCommand = async (input, context) => {
|
|
552
|
+
const b = core.requestBuilder(input, context);
|
|
553
|
+
const headers = {
|
|
554
|
+
"content-type": "application/json",
|
|
555
|
+
};
|
|
556
|
+
b.bp("/describeMappedResourceConfiguration");
|
|
557
|
+
let body;
|
|
558
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
559
|
+
MaxResults: [],
|
|
560
|
+
NextToken: [],
|
|
561
|
+
StreamARN: [],
|
|
562
|
+
StreamName: [],
|
|
563
|
+
}));
|
|
564
|
+
b.m("POST").h(headers).b(body);
|
|
565
|
+
return b.build();
|
|
566
|
+
};
|
|
567
|
+
const se_DescribeMediaStorageConfigurationCommand = async (input, context) => {
|
|
568
|
+
const b = core.requestBuilder(input, context);
|
|
569
|
+
const headers = {
|
|
570
|
+
"content-type": "application/json",
|
|
571
|
+
};
|
|
572
|
+
b.bp("/describeMediaStorageConfiguration");
|
|
573
|
+
let body;
|
|
574
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
575
|
+
ChannelARN: [],
|
|
576
|
+
ChannelName: [],
|
|
577
|
+
}));
|
|
578
|
+
b.m("POST").h(headers).b(body);
|
|
579
|
+
return b.build();
|
|
580
|
+
};
|
|
581
|
+
const se_DescribeNotificationConfigurationCommand = async (input, context) => {
|
|
582
|
+
const b = core.requestBuilder(input, context);
|
|
583
|
+
const headers = {
|
|
584
|
+
"content-type": "application/json",
|
|
585
|
+
};
|
|
586
|
+
b.bp("/describeNotificationConfiguration");
|
|
587
|
+
let body;
|
|
588
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
589
|
+
StreamARN: [],
|
|
590
|
+
StreamName: [],
|
|
591
|
+
}));
|
|
592
|
+
b.m("POST").h(headers).b(body);
|
|
593
|
+
return b.build();
|
|
594
|
+
};
|
|
595
|
+
const se_DescribeSignalingChannelCommand = async (input, context) => {
|
|
596
|
+
const b = core.requestBuilder(input, context);
|
|
597
|
+
const headers = {
|
|
598
|
+
"content-type": "application/json",
|
|
599
|
+
};
|
|
600
|
+
b.bp("/describeSignalingChannel");
|
|
601
|
+
let body;
|
|
602
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
603
|
+
ChannelARN: [],
|
|
604
|
+
ChannelName: [],
|
|
605
|
+
}));
|
|
606
|
+
b.m("POST").h(headers).b(body);
|
|
607
|
+
return b.build();
|
|
608
|
+
};
|
|
609
|
+
const se_DescribeStreamCommand = async (input, context) => {
|
|
610
|
+
const b = core.requestBuilder(input, context);
|
|
611
|
+
const headers = {
|
|
612
|
+
"content-type": "application/json",
|
|
613
|
+
};
|
|
614
|
+
b.bp("/describeStream");
|
|
615
|
+
let body;
|
|
616
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
617
|
+
StreamARN: [],
|
|
618
|
+
StreamName: [],
|
|
619
|
+
}));
|
|
620
|
+
b.m("POST").h(headers).b(body);
|
|
621
|
+
return b.build();
|
|
622
|
+
};
|
|
623
|
+
const se_GetDataEndpointCommand = async (input, context) => {
|
|
624
|
+
const b = core.requestBuilder(input, context);
|
|
625
|
+
const headers = {
|
|
626
|
+
"content-type": "application/json",
|
|
627
|
+
};
|
|
628
|
+
b.bp("/getDataEndpoint");
|
|
629
|
+
let body;
|
|
630
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
631
|
+
APIName: [],
|
|
632
|
+
StreamARN: [],
|
|
633
|
+
StreamName: [],
|
|
634
|
+
}));
|
|
635
|
+
b.m("POST").h(headers).b(body);
|
|
636
|
+
return b.build();
|
|
637
|
+
};
|
|
638
|
+
const se_GetSignalingChannelEndpointCommand = async (input, context) => {
|
|
639
|
+
const b = core.requestBuilder(input, context);
|
|
640
|
+
const headers = {
|
|
641
|
+
"content-type": "application/json",
|
|
642
|
+
};
|
|
643
|
+
b.bp("/getSignalingChannelEndpoint");
|
|
644
|
+
let body;
|
|
645
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
646
|
+
ChannelARN: [],
|
|
647
|
+
SingleMasterChannelEndpointConfiguration: (_) => smithyClient._json(_),
|
|
648
|
+
}));
|
|
649
|
+
b.m("POST").h(headers).b(body);
|
|
650
|
+
return b.build();
|
|
651
|
+
};
|
|
652
|
+
const se_ListEdgeAgentConfigurationsCommand = async (input, context) => {
|
|
653
|
+
const b = core.requestBuilder(input, context);
|
|
654
|
+
const headers = {
|
|
655
|
+
"content-type": "application/json",
|
|
656
|
+
};
|
|
657
|
+
b.bp("/listEdgeAgentConfigurations");
|
|
658
|
+
let body;
|
|
659
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
660
|
+
HubDeviceArn: [],
|
|
661
|
+
MaxResults: [],
|
|
662
|
+
NextToken: [],
|
|
663
|
+
}));
|
|
664
|
+
b.m("POST").h(headers).b(body);
|
|
665
|
+
return b.build();
|
|
666
|
+
};
|
|
667
|
+
const se_ListSignalingChannelsCommand = async (input, context) => {
|
|
668
|
+
const b = core.requestBuilder(input, context);
|
|
669
|
+
const headers = {
|
|
670
|
+
"content-type": "application/json",
|
|
671
|
+
};
|
|
672
|
+
b.bp("/listSignalingChannels");
|
|
673
|
+
let body;
|
|
674
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
675
|
+
ChannelNameCondition: (_) => smithyClient._json(_),
|
|
676
|
+
MaxResults: [],
|
|
677
|
+
NextToken: [],
|
|
678
|
+
}));
|
|
679
|
+
b.m("POST").h(headers).b(body);
|
|
680
|
+
return b.build();
|
|
681
|
+
};
|
|
682
|
+
const se_ListStreamsCommand = async (input, context) => {
|
|
683
|
+
const b = core.requestBuilder(input, context);
|
|
684
|
+
const headers = {
|
|
685
|
+
"content-type": "application/json",
|
|
686
|
+
};
|
|
687
|
+
b.bp("/listStreams");
|
|
688
|
+
let body;
|
|
689
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
690
|
+
MaxResults: [],
|
|
691
|
+
NextToken: [],
|
|
692
|
+
StreamNameCondition: (_) => smithyClient._json(_),
|
|
693
|
+
}));
|
|
694
|
+
b.m("POST").h(headers).b(body);
|
|
695
|
+
return b.build();
|
|
696
|
+
};
|
|
697
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
698
|
+
const b = core.requestBuilder(input, context);
|
|
699
|
+
const headers = {
|
|
700
|
+
"content-type": "application/json",
|
|
701
|
+
};
|
|
702
|
+
b.bp("/ListTagsForResource");
|
|
703
|
+
let body;
|
|
704
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
705
|
+
NextToken: [],
|
|
706
|
+
ResourceARN: [],
|
|
707
|
+
}));
|
|
708
|
+
b.m("POST").h(headers).b(body);
|
|
709
|
+
return b.build();
|
|
710
|
+
};
|
|
711
|
+
const se_ListTagsForStreamCommand = async (input, context) => {
|
|
712
|
+
const b = core.requestBuilder(input, context);
|
|
713
|
+
const headers = {
|
|
714
|
+
"content-type": "application/json",
|
|
715
|
+
};
|
|
716
|
+
b.bp("/listTagsForStream");
|
|
717
|
+
let body;
|
|
718
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
719
|
+
NextToken: [],
|
|
720
|
+
StreamARN: [],
|
|
721
|
+
StreamName: [],
|
|
722
|
+
}));
|
|
723
|
+
b.m("POST").h(headers).b(body);
|
|
724
|
+
return b.build();
|
|
725
|
+
};
|
|
726
|
+
const se_StartEdgeConfigurationUpdateCommand = async (input, context) => {
|
|
727
|
+
const b = core.requestBuilder(input, context);
|
|
728
|
+
const headers = {
|
|
729
|
+
"content-type": "application/json",
|
|
730
|
+
};
|
|
731
|
+
b.bp("/startEdgeConfigurationUpdate");
|
|
732
|
+
let body;
|
|
733
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
734
|
+
EdgeConfig: (_) => smithyClient._json(_),
|
|
735
|
+
StreamARN: [],
|
|
736
|
+
StreamName: [],
|
|
737
|
+
}));
|
|
738
|
+
b.m("POST").h(headers).b(body);
|
|
739
|
+
return b.build();
|
|
740
|
+
};
|
|
741
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
742
|
+
const b = core.requestBuilder(input, context);
|
|
743
|
+
const headers = {
|
|
744
|
+
"content-type": "application/json",
|
|
745
|
+
};
|
|
746
|
+
b.bp("/TagResource");
|
|
747
|
+
let body;
|
|
748
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
749
|
+
ResourceARN: [],
|
|
750
|
+
Tags: (_) => smithyClient._json(_),
|
|
751
|
+
}));
|
|
752
|
+
b.m("POST").h(headers).b(body);
|
|
753
|
+
return b.build();
|
|
754
|
+
};
|
|
755
|
+
const se_TagStreamCommand = async (input, context) => {
|
|
756
|
+
const b = core.requestBuilder(input, context);
|
|
757
|
+
const headers = {
|
|
758
|
+
"content-type": "application/json",
|
|
759
|
+
};
|
|
760
|
+
b.bp("/tagStream");
|
|
761
|
+
let body;
|
|
762
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
763
|
+
StreamARN: [],
|
|
764
|
+
StreamName: [],
|
|
765
|
+
Tags: (_) => smithyClient._json(_),
|
|
766
|
+
}));
|
|
767
|
+
b.m("POST").h(headers).b(body);
|
|
768
|
+
return b.build();
|
|
769
|
+
};
|
|
770
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
771
|
+
const b = core.requestBuilder(input, context);
|
|
772
|
+
const headers = {
|
|
773
|
+
"content-type": "application/json",
|
|
774
|
+
};
|
|
775
|
+
b.bp("/UntagResource");
|
|
776
|
+
let body;
|
|
777
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
778
|
+
ResourceARN: [],
|
|
779
|
+
TagKeyList: (_) => smithyClient._json(_),
|
|
780
|
+
}));
|
|
781
|
+
b.m("POST").h(headers).b(body);
|
|
782
|
+
return b.build();
|
|
783
|
+
};
|
|
784
|
+
const se_UntagStreamCommand = async (input, context) => {
|
|
785
|
+
const b = core.requestBuilder(input, context);
|
|
786
|
+
const headers = {
|
|
787
|
+
"content-type": "application/json",
|
|
788
|
+
};
|
|
789
|
+
b.bp("/untagStream");
|
|
790
|
+
let body;
|
|
791
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
792
|
+
StreamARN: [],
|
|
793
|
+
StreamName: [],
|
|
794
|
+
TagKeyList: (_) => smithyClient._json(_),
|
|
795
|
+
}));
|
|
796
|
+
b.m("POST").h(headers).b(body);
|
|
797
|
+
return b.build();
|
|
798
|
+
};
|
|
799
|
+
const se_UpdateDataRetentionCommand = async (input, context) => {
|
|
800
|
+
const b = core.requestBuilder(input, context);
|
|
801
|
+
const headers = {
|
|
802
|
+
"content-type": "application/json",
|
|
803
|
+
};
|
|
804
|
+
b.bp("/updateDataRetention");
|
|
805
|
+
let body;
|
|
806
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
807
|
+
CurrentVersion: [],
|
|
808
|
+
DataRetentionChangeInHours: [],
|
|
809
|
+
Operation: [],
|
|
810
|
+
StreamARN: [],
|
|
811
|
+
StreamName: [],
|
|
812
|
+
}));
|
|
813
|
+
b.m("POST").h(headers).b(body);
|
|
814
|
+
return b.build();
|
|
815
|
+
};
|
|
816
|
+
const se_UpdateImageGenerationConfigurationCommand = async (input, context) => {
|
|
817
|
+
const b = core.requestBuilder(input, context);
|
|
818
|
+
const headers = {
|
|
819
|
+
"content-type": "application/json",
|
|
820
|
+
};
|
|
821
|
+
b.bp("/updateImageGenerationConfiguration");
|
|
822
|
+
let body;
|
|
823
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
824
|
+
ImageGenerationConfiguration: (_) => smithyClient._json(_),
|
|
825
|
+
StreamARN: [],
|
|
826
|
+
StreamName: [],
|
|
827
|
+
}));
|
|
828
|
+
b.m("POST").h(headers).b(body);
|
|
829
|
+
return b.build();
|
|
830
|
+
};
|
|
831
|
+
const se_UpdateMediaStorageConfigurationCommand = async (input, context) => {
|
|
832
|
+
const b = core.requestBuilder(input, context);
|
|
833
|
+
const headers = {
|
|
834
|
+
"content-type": "application/json",
|
|
835
|
+
};
|
|
836
|
+
b.bp("/updateMediaStorageConfiguration");
|
|
837
|
+
let body;
|
|
838
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
839
|
+
ChannelARN: [],
|
|
840
|
+
MediaStorageConfiguration: (_) => smithyClient._json(_),
|
|
841
|
+
}));
|
|
842
|
+
b.m("POST").h(headers).b(body);
|
|
843
|
+
return b.build();
|
|
844
|
+
};
|
|
845
|
+
const se_UpdateNotificationConfigurationCommand = async (input, context) => {
|
|
846
|
+
const b = core.requestBuilder(input, context);
|
|
847
|
+
const headers = {
|
|
848
|
+
"content-type": "application/json",
|
|
849
|
+
};
|
|
850
|
+
b.bp("/updateNotificationConfiguration");
|
|
851
|
+
let body;
|
|
852
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
853
|
+
NotificationConfiguration: (_) => smithyClient._json(_),
|
|
854
|
+
StreamARN: [],
|
|
855
|
+
StreamName: [],
|
|
856
|
+
}));
|
|
857
|
+
b.m("POST").h(headers).b(body);
|
|
858
|
+
return b.build();
|
|
859
|
+
};
|
|
860
|
+
const se_UpdateSignalingChannelCommand = async (input, context) => {
|
|
861
|
+
const b = core.requestBuilder(input, context);
|
|
862
|
+
const headers = {
|
|
863
|
+
"content-type": "application/json",
|
|
864
|
+
};
|
|
865
|
+
b.bp("/updateSignalingChannel");
|
|
866
|
+
let body;
|
|
867
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
868
|
+
ChannelARN: [],
|
|
869
|
+
CurrentVersion: [],
|
|
870
|
+
SingleMasterConfiguration: (_) => smithyClient._json(_),
|
|
871
|
+
}));
|
|
872
|
+
b.m("POST").h(headers).b(body);
|
|
873
|
+
return b.build();
|
|
874
|
+
};
|
|
875
|
+
const se_UpdateStreamCommand = async (input, context) => {
|
|
876
|
+
const b = core.requestBuilder(input, context);
|
|
877
|
+
const headers = {
|
|
878
|
+
"content-type": "application/json",
|
|
879
|
+
};
|
|
880
|
+
b.bp("/updateStream");
|
|
881
|
+
let body;
|
|
882
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
883
|
+
CurrentVersion: [],
|
|
884
|
+
DeviceName: [],
|
|
885
|
+
MediaType: [],
|
|
886
|
+
StreamARN: [],
|
|
887
|
+
StreamName: [],
|
|
888
|
+
}));
|
|
889
|
+
b.m("POST").h(headers).b(body);
|
|
890
|
+
return b.build();
|
|
891
|
+
};
|
|
892
|
+
const de_CreateSignalingChannelCommand = async (output, context) => {
|
|
893
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
894
|
+
return de_CommandError(output, context);
|
|
895
|
+
}
|
|
896
|
+
const contents = smithyClient.map({
|
|
897
|
+
$metadata: deserializeMetadata(output),
|
|
898
|
+
});
|
|
899
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
900
|
+
const doc = smithyClient.take(data, {
|
|
901
|
+
ChannelARN: smithyClient.expectString,
|
|
902
|
+
});
|
|
903
|
+
Object.assign(contents, doc);
|
|
904
|
+
return contents;
|
|
131
905
|
};
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
// src/runtimeExtensions.ts
|
|
137
|
-
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
138
|
-
var import_protocol_http = require("@smithy/protocol-http");
|
|
139
|
-
var import_smithy_client = require("@smithy/smithy-client");
|
|
140
|
-
|
|
141
|
-
// src/auth/httpAuthExtensionConfiguration.ts
|
|
142
|
-
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
143
|
-
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
144
|
-
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
145
|
-
let _credentials = runtimeConfig.credentials;
|
|
146
|
-
return {
|
|
147
|
-
setHttpAuthScheme(httpAuthScheme) {
|
|
148
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
149
|
-
if (index === -1) {
|
|
150
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
|
151
|
-
} else {
|
|
152
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
httpAuthSchemes() {
|
|
156
|
-
return _httpAuthSchemes;
|
|
157
|
-
},
|
|
158
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
159
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
160
|
-
},
|
|
161
|
-
httpAuthSchemeProvider() {
|
|
162
|
-
return _httpAuthSchemeProvider;
|
|
163
|
-
},
|
|
164
|
-
setCredentials(credentials) {
|
|
165
|
-
_credentials = credentials;
|
|
166
|
-
},
|
|
167
|
-
credentials() {
|
|
168
|
-
return _credentials;
|
|
906
|
+
const de_CreateStreamCommand = async (output, context) => {
|
|
907
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
908
|
+
return de_CommandError(output, context);
|
|
169
909
|
}
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
// src/runtimeExtensions.ts
|
|
181
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
182
|
-
const extensionConfiguration = Object.assign(
|
|
183
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
184
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
185
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
186
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
187
|
-
);
|
|
188
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
189
|
-
return Object.assign(
|
|
190
|
-
runtimeConfig,
|
|
191
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
192
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
193
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
194
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
195
|
-
);
|
|
196
|
-
}, "resolveRuntimeExtensions");
|
|
197
|
-
|
|
198
|
-
// src/KinesisVideoClient.ts
|
|
199
|
-
var KinesisVideoClient = class extends import_smithy_client.Client {
|
|
200
|
-
static {
|
|
201
|
-
__name(this, "KinesisVideoClient");
|
|
202
|
-
}
|
|
203
|
-
/**
|
|
204
|
-
* The resolved configuration of KinesisVideoClient class. This is resolved and normalized from the {@link KinesisVideoClientConfig | constructor configuration interface}.
|
|
205
|
-
*/
|
|
206
|
-
config;
|
|
207
|
-
constructor(...[configuration]) {
|
|
208
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
209
|
-
super(_config_0);
|
|
210
|
-
this.initConfig = _config_0;
|
|
211
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
212
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
213
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
214
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
215
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
216
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
217
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
218
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
219
|
-
this.config = _config_8;
|
|
220
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
221
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
222
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
223
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
224
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
225
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
226
|
-
this.middlewareStack.use(
|
|
227
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
228
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultKinesisVideoHttpAuthSchemeParametersProvider,
|
|
229
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
230
|
-
"aws.auth#sigv4": config.credentials
|
|
231
|
-
}), "identityProviderConfigProvider")
|
|
232
|
-
})
|
|
233
|
-
);
|
|
234
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
235
|
-
}
|
|
236
|
-
/**
|
|
237
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
238
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
239
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
240
|
-
*/
|
|
241
|
-
destroy() {
|
|
242
|
-
super.destroy();
|
|
243
|
-
}
|
|
910
|
+
const contents = smithyClient.map({
|
|
911
|
+
$metadata: deserializeMetadata(output),
|
|
912
|
+
});
|
|
913
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
914
|
+
const doc = smithyClient.take(data, {
|
|
915
|
+
StreamARN: smithyClient.expectString,
|
|
916
|
+
});
|
|
917
|
+
Object.assign(contents, doc);
|
|
918
|
+
return contents;
|
|
244
919
|
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
// src/protocols/Aws_restJson1.ts
|
|
255
|
-
var import_core2 = require("@aws-sdk/core");
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
// src/models/KinesisVideoServiceException.ts
|
|
260
|
-
|
|
261
|
-
var KinesisVideoServiceException = class _KinesisVideoServiceException extends import_smithy_client.ServiceException {
|
|
262
|
-
static {
|
|
263
|
-
__name(this, "KinesisVideoServiceException");
|
|
264
|
-
}
|
|
265
|
-
/**
|
|
266
|
-
* @internal
|
|
267
|
-
*/
|
|
268
|
-
constructor(options) {
|
|
269
|
-
super(options);
|
|
270
|
-
Object.setPrototypeOf(this, _KinesisVideoServiceException.prototype);
|
|
271
|
-
}
|
|
920
|
+
const de_DeleteEdgeConfigurationCommand = async (output, context) => {
|
|
921
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
922
|
+
return de_CommandError(output, context);
|
|
923
|
+
}
|
|
924
|
+
const contents = smithyClient.map({
|
|
925
|
+
$metadata: deserializeMetadata(output),
|
|
926
|
+
});
|
|
927
|
+
await smithyClient.collectBody(output.body, context);
|
|
928
|
+
return contents;
|
|
272
929
|
};
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
Message;
|
|
283
|
-
/**
|
|
284
|
-
* @internal
|
|
285
|
-
*/
|
|
286
|
-
constructor(opts) {
|
|
287
|
-
super({
|
|
288
|
-
name: "AccessDeniedException",
|
|
289
|
-
$fault: "client",
|
|
290
|
-
...opts
|
|
291
|
-
});
|
|
292
|
-
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
293
|
-
this.Message = opts.Message;
|
|
294
|
-
}
|
|
295
|
-
};
|
|
296
|
-
var AccountChannelLimitExceededException = class _AccountChannelLimitExceededException extends KinesisVideoServiceException {
|
|
297
|
-
static {
|
|
298
|
-
__name(this, "AccountChannelLimitExceededException");
|
|
299
|
-
}
|
|
300
|
-
name = "AccountChannelLimitExceededException";
|
|
301
|
-
$fault = "client";
|
|
302
|
-
Message;
|
|
303
|
-
/**
|
|
304
|
-
* @internal
|
|
305
|
-
*/
|
|
306
|
-
constructor(opts) {
|
|
307
|
-
super({
|
|
308
|
-
name: "AccountChannelLimitExceededException",
|
|
309
|
-
$fault: "client",
|
|
310
|
-
...opts
|
|
311
|
-
});
|
|
312
|
-
Object.setPrototypeOf(this, _AccountChannelLimitExceededException.prototype);
|
|
313
|
-
this.Message = opts.Message;
|
|
314
|
-
}
|
|
315
|
-
};
|
|
316
|
-
var AccountStreamLimitExceededException = class _AccountStreamLimitExceededException extends KinesisVideoServiceException {
|
|
317
|
-
static {
|
|
318
|
-
__name(this, "AccountStreamLimitExceededException");
|
|
319
|
-
}
|
|
320
|
-
name = "AccountStreamLimitExceededException";
|
|
321
|
-
$fault = "client";
|
|
322
|
-
Message;
|
|
323
|
-
/**
|
|
324
|
-
* @internal
|
|
325
|
-
*/
|
|
326
|
-
constructor(opts) {
|
|
327
|
-
super({
|
|
328
|
-
name: "AccountStreamLimitExceededException",
|
|
329
|
-
$fault: "client",
|
|
330
|
-
...opts
|
|
331
|
-
});
|
|
332
|
-
Object.setPrototypeOf(this, _AccountStreamLimitExceededException.prototype);
|
|
333
|
-
this.Message = opts.Message;
|
|
334
|
-
}
|
|
335
|
-
};
|
|
336
|
-
var APIName = {
|
|
337
|
-
GET_CLIP: "GET_CLIP",
|
|
338
|
-
GET_DASH_STREAMING_SESSION_URL: "GET_DASH_STREAMING_SESSION_URL",
|
|
339
|
-
GET_HLS_STREAMING_SESSION_URL: "GET_HLS_STREAMING_SESSION_URL",
|
|
340
|
-
GET_IMAGES: "GET_IMAGES",
|
|
341
|
-
GET_MEDIA: "GET_MEDIA",
|
|
342
|
-
GET_MEDIA_FOR_FRAGMENT_LIST: "GET_MEDIA_FOR_FRAGMENT_LIST",
|
|
343
|
-
LIST_FRAGMENTS: "LIST_FRAGMENTS",
|
|
344
|
-
PUT_MEDIA: "PUT_MEDIA"
|
|
345
|
-
};
|
|
346
|
-
var Status = {
|
|
347
|
-
ACTIVE: "ACTIVE",
|
|
348
|
-
CREATING: "CREATING",
|
|
349
|
-
DELETING: "DELETING",
|
|
350
|
-
UPDATING: "UPDATING"
|
|
351
|
-
};
|
|
352
|
-
var ChannelType = {
|
|
353
|
-
FULL_MESH: "FULL_MESH",
|
|
354
|
-
SINGLE_MASTER: "SINGLE_MASTER"
|
|
355
|
-
};
|
|
356
|
-
var ComparisonOperator = {
|
|
357
|
-
BEGINS_WITH: "BEGINS_WITH"
|
|
358
|
-
};
|
|
359
|
-
var ChannelProtocol = {
|
|
360
|
-
HTTPS: "HTTPS",
|
|
361
|
-
WEBRTC: "WEBRTC",
|
|
362
|
-
WSS: "WSS"
|
|
363
|
-
};
|
|
364
|
-
var ChannelRole = {
|
|
365
|
-
MASTER: "MASTER",
|
|
366
|
-
VIEWER: "VIEWER"
|
|
367
|
-
};
|
|
368
|
-
var ClientLimitExceededException = class _ClientLimitExceededException extends KinesisVideoServiceException {
|
|
369
|
-
static {
|
|
370
|
-
__name(this, "ClientLimitExceededException");
|
|
371
|
-
}
|
|
372
|
-
name = "ClientLimitExceededException";
|
|
373
|
-
$fault = "client";
|
|
374
|
-
Message;
|
|
375
|
-
/**
|
|
376
|
-
* @internal
|
|
377
|
-
*/
|
|
378
|
-
constructor(opts) {
|
|
379
|
-
super({
|
|
380
|
-
name: "ClientLimitExceededException",
|
|
381
|
-
$fault: "client",
|
|
382
|
-
...opts
|
|
383
|
-
});
|
|
384
|
-
Object.setPrototypeOf(this, _ClientLimitExceededException.prototype);
|
|
385
|
-
this.Message = opts.Message;
|
|
386
|
-
}
|
|
387
|
-
};
|
|
388
|
-
var ConfigurationStatus = {
|
|
389
|
-
DISABLED: "DISABLED",
|
|
390
|
-
ENABLED: "ENABLED"
|
|
391
|
-
};
|
|
392
|
-
var InvalidArgumentException = class _InvalidArgumentException extends KinesisVideoServiceException {
|
|
393
|
-
static {
|
|
394
|
-
__name(this, "InvalidArgumentException");
|
|
395
|
-
}
|
|
396
|
-
name = "InvalidArgumentException";
|
|
397
|
-
$fault = "client";
|
|
398
|
-
Message;
|
|
399
|
-
/**
|
|
400
|
-
* @internal
|
|
401
|
-
*/
|
|
402
|
-
constructor(opts) {
|
|
403
|
-
super({
|
|
404
|
-
name: "InvalidArgumentException",
|
|
405
|
-
$fault: "client",
|
|
406
|
-
...opts
|
|
407
|
-
});
|
|
408
|
-
Object.setPrototypeOf(this, _InvalidArgumentException.prototype);
|
|
409
|
-
this.Message = opts.Message;
|
|
410
|
-
}
|
|
411
|
-
};
|
|
412
|
-
var ResourceInUseException = class _ResourceInUseException extends KinesisVideoServiceException {
|
|
413
|
-
static {
|
|
414
|
-
__name(this, "ResourceInUseException");
|
|
415
|
-
}
|
|
416
|
-
name = "ResourceInUseException";
|
|
417
|
-
$fault = "client";
|
|
418
|
-
Message;
|
|
419
|
-
/**
|
|
420
|
-
* @internal
|
|
421
|
-
*/
|
|
422
|
-
constructor(opts) {
|
|
423
|
-
super({
|
|
424
|
-
name: "ResourceInUseException",
|
|
425
|
-
$fault: "client",
|
|
426
|
-
...opts
|
|
427
|
-
});
|
|
428
|
-
Object.setPrototypeOf(this, _ResourceInUseException.prototype);
|
|
429
|
-
this.Message = opts.Message;
|
|
430
|
-
}
|
|
431
|
-
};
|
|
432
|
-
var TagsPerResourceExceededLimitException = class _TagsPerResourceExceededLimitException extends KinesisVideoServiceException {
|
|
433
|
-
static {
|
|
434
|
-
__name(this, "TagsPerResourceExceededLimitException");
|
|
435
|
-
}
|
|
436
|
-
name = "TagsPerResourceExceededLimitException";
|
|
437
|
-
$fault = "client";
|
|
438
|
-
Message;
|
|
439
|
-
/**
|
|
440
|
-
* @internal
|
|
441
|
-
*/
|
|
442
|
-
constructor(opts) {
|
|
443
|
-
super({
|
|
444
|
-
name: "TagsPerResourceExceededLimitException",
|
|
445
|
-
$fault: "client",
|
|
446
|
-
...opts
|
|
447
|
-
});
|
|
448
|
-
Object.setPrototypeOf(this, _TagsPerResourceExceededLimitException.prototype);
|
|
449
|
-
this.Message = opts.Message;
|
|
450
|
-
}
|
|
451
|
-
};
|
|
452
|
-
var DeviceStreamLimitExceededException = class _DeviceStreamLimitExceededException extends KinesisVideoServiceException {
|
|
453
|
-
static {
|
|
454
|
-
__name(this, "DeviceStreamLimitExceededException");
|
|
455
|
-
}
|
|
456
|
-
name = "DeviceStreamLimitExceededException";
|
|
457
|
-
$fault = "client";
|
|
458
|
-
Message;
|
|
459
|
-
/**
|
|
460
|
-
* @internal
|
|
461
|
-
*/
|
|
462
|
-
constructor(opts) {
|
|
463
|
-
super({
|
|
464
|
-
name: "DeviceStreamLimitExceededException",
|
|
465
|
-
$fault: "client",
|
|
466
|
-
...opts
|
|
467
|
-
});
|
|
468
|
-
Object.setPrototypeOf(this, _DeviceStreamLimitExceededException.prototype);
|
|
469
|
-
this.Message = opts.Message;
|
|
470
|
-
}
|
|
471
|
-
};
|
|
472
|
-
var InvalidDeviceException = class _InvalidDeviceException extends KinesisVideoServiceException {
|
|
473
|
-
static {
|
|
474
|
-
__name(this, "InvalidDeviceException");
|
|
475
|
-
}
|
|
476
|
-
name = "InvalidDeviceException";
|
|
477
|
-
$fault = "client";
|
|
478
|
-
Message;
|
|
479
|
-
/**
|
|
480
|
-
* @internal
|
|
481
|
-
*/
|
|
482
|
-
constructor(opts) {
|
|
483
|
-
super({
|
|
484
|
-
name: "InvalidDeviceException",
|
|
485
|
-
$fault: "client",
|
|
486
|
-
...opts
|
|
487
|
-
});
|
|
488
|
-
Object.setPrototypeOf(this, _InvalidDeviceException.prototype);
|
|
489
|
-
this.Message = opts.Message;
|
|
490
|
-
}
|
|
491
|
-
};
|
|
492
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends KinesisVideoServiceException {
|
|
493
|
-
static {
|
|
494
|
-
__name(this, "ResourceNotFoundException");
|
|
495
|
-
}
|
|
496
|
-
name = "ResourceNotFoundException";
|
|
497
|
-
$fault = "client";
|
|
498
|
-
Message;
|
|
499
|
-
/**
|
|
500
|
-
* @internal
|
|
501
|
-
*/
|
|
502
|
-
constructor(opts) {
|
|
503
|
-
super({
|
|
504
|
-
name: "ResourceNotFoundException",
|
|
505
|
-
$fault: "client",
|
|
506
|
-
...opts
|
|
507
|
-
});
|
|
508
|
-
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
509
|
-
this.Message = opts.Message;
|
|
510
|
-
}
|
|
511
|
-
};
|
|
512
|
-
var StreamEdgeConfigurationNotFoundException = class _StreamEdgeConfigurationNotFoundException extends KinesisVideoServiceException {
|
|
513
|
-
static {
|
|
514
|
-
__name(this, "StreamEdgeConfigurationNotFoundException");
|
|
515
|
-
}
|
|
516
|
-
name = "StreamEdgeConfigurationNotFoundException";
|
|
517
|
-
$fault = "client";
|
|
518
|
-
Message;
|
|
519
|
-
/**
|
|
520
|
-
* @internal
|
|
521
|
-
*/
|
|
522
|
-
constructor(opts) {
|
|
523
|
-
super({
|
|
524
|
-
name: "StreamEdgeConfigurationNotFoundException",
|
|
525
|
-
$fault: "client",
|
|
526
|
-
...opts
|
|
527
|
-
});
|
|
528
|
-
Object.setPrototypeOf(this, _StreamEdgeConfigurationNotFoundException.prototype);
|
|
529
|
-
this.Message = opts.Message;
|
|
530
|
-
}
|
|
531
|
-
};
|
|
532
|
-
var VersionMismatchException = class _VersionMismatchException extends KinesisVideoServiceException {
|
|
533
|
-
static {
|
|
534
|
-
__name(this, "VersionMismatchException");
|
|
535
|
-
}
|
|
536
|
-
name = "VersionMismatchException";
|
|
537
|
-
$fault = "client";
|
|
538
|
-
Message;
|
|
539
|
-
/**
|
|
540
|
-
* @internal
|
|
541
|
-
*/
|
|
542
|
-
constructor(opts) {
|
|
543
|
-
super({
|
|
544
|
-
name: "VersionMismatchException",
|
|
545
|
-
$fault: "client",
|
|
546
|
-
...opts
|
|
547
|
-
});
|
|
548
|
-
Object.setPrototypeOf(this, _VersionMismatchException.prototype);
|
|
549
|
-
this.Message = opts.Message;
|
|
550
|
-
}
|
|
551
|
-
};
|
|
552
|
-
var NotAuthorizedException = class _NotAuthorizedException extends KinesisVideoServiceException {
|
|
553
|
-
static {
|
|
554
|
-
__name(this, "NotAuthorizedException");
|
|
555
|
-
}
|
|
556
|
-
name = "NotAuthorizedException";
|
|
557
|
-
$fault = "client";
|
|
558
|
-
Message;
|
|
559
|
-
/**
|
|
560
|
-
* @internal
|
|
561
|
-
*/
|
|
562
|
-
constructor(opts) {
|
|
563
|
-
super({
|
|
564
|
-
name: "NotAuthorizedException",
|
|
565
|
-
$fault: "client",
|
|
566
|
-
...opts
|
|
567
|
-
});
|
|
568
|
-
Object.setPrototypeOf(this, _NotAuthorizedException.prototype);
|
|
569
|
-
this.Message = opts.Message;
|
|
570
|
-
}
|
|
571
|
-
};
|
|
572
|
-
var StrategyOnFullSize = {
|
|
573
|
-
DELETE_OLDEST_MEDIA: "DELETE_OLDEST_MEDIA",
|
|
574
|
-
DENY_NEW_MEDIA: "DENY_NEW_MEDIA"
|
|
575
|
-
};
|
|
576
|
-
var RecorderStatus = {
|
|
577
|
-
SUCCESS: "SUCCESS",
|
|
578
|
-
SYSTEM_ERROR: "SYSTEM_ERROR",
|
|
579
|
-
USER_ERROR: "USER_ERROR"
|
|
580
|
-
};
|
|
581
|
-
var UploaderStatus = {
|
|
582
|
-
SUCCESS: "SUCCESS",
|
|
583
|
-
SYSTEM_ERROR: "SYSTEM_ERROR",
|
|
584
|
-
USER_ERROR: "USER_ERROR"
|
|
585
|
-
};
|
|
586
|
-
var MediaUriType = {
|
|
587
|
-
FILE_URI: "FILE_URI",
|
|
588
|
-
RTSP_URI: "RTSP_URI"
|
|
589
|
-
};
|
|
590
|
-
var SyncStatus = {
|
|
591
|
-
ACKNOWLEDGED: "ACKNOWLEDGED",
|
|
592
|
-
DELETE_FAILED: "DELETE_FAILED",
|
|
593
|
-
DELETING: "DELETING",
|
|
594
|
-
DELETING_ACKNOWLEDGED: "DELETING_ACKNOWLEDGED",
|
|
595
|
-
IN_SYNC: "IN_SYNC",
|
|
596
|
-
SYNCING: "SYNCING",
|
|
597
|
-
SYNC_FAILED: "SYNC_FAILED"
|
|
598
|
-
};
|
|
599
|
-
var Format = {
|
|
600
|
-
JPEG: "JPEG",
|
|
601
|
-
PNG: "PNG"
|
|
602
|
-
};
|
|
603
|
-
var FormatConfigKey = {
|
|
604
|
-
JPEGQuality: "JPEGQuality"
|
|
605
|
-
};
|
|
606
|
-
var ImageSelectorType = {
|
|
607
|
-
PRODUCER_TIMESTAMP: "PRODUCER_TIMESTAMP",
|
|
608
|
-
SERVER_TIMESTAMP: "SERVER_TIMESTAMP"
|
|
609
|
-
};
|
|
610
|
-
var MediaStorageConfigurationStatus = {
|
|
611
|
-
DISABLED: "DISABLED",
|
|
612
|
-
ENABLED: "ENABLED"
|
|
613
|
-
};
|
|
614
|
-
var InvalidResourceFormatException = class _InvalidResourceFormatException extends KinesisVideoServiceException {
|
|
615
|
-
static {
|
|
616
|
-
__name(this, "InvalidResourceFormatException");
|
|
617
|
-
}
|
|
618
|
-
name = "InvalidResourceFormatException";
|
|
619
|
-
$fault = "client";
|
|
620
|
-
Message;
|
|
621
|
-
/**
|
|
622
|
-
* @internal
|
|
623
|
-
*/
|
|
624
|
-
constructor(opts) {
|
|
625
|
-
super({
|
|
626
|
-
name: "InvalidResourceFormatException",
|
|
627
|
-
$fault: "client",
|
|
628
|
-
...opts
|
|
629
|
-
});
|
|
630
|
-
Object.setPrototypeOf(this, _InvalidResourceFormatException.prototype);
|
|
631
|
-
this.Message = opts.Message;
|
|
632
|
-
}
|
|
633
|
-
};
|
|
634
|
-
var NoDataRetentionException = class _NoDataRetentionException extends KinesisVideoServiceException {
|
|
635
|
-
static {
|
|
636
|
-
__name(this, "NoDataRetentionException");
|
|
637
|
-
}
|
|
638
|
-
name = "NoDataRetentionException";
|
|
639
|
-
$fault = "client";
|
|
640
|
-
Message;
|
|
641
|
-
/**
|
|
642
|
-
* @internal
|
|
643
|
-
*/
|
|
644
|
-
constructor(opts) {
|
|
645
|
-
super({
|
|
646
|
-
name: "NoDataRetentionException",
|
|
647
|
-
$fault: "client",
|
|
648
|
-
...opts
|
|
649
|
-
});
|
|
650
|
-
Object.setPrototypeOf(this, _NoDataRetentionException.prototype);
|
|
651
|
-
this.Message = opts.Message;
|
|
652
|
-
}
|
|
653
|
-
};
|
|
654
|
-
var UpdateDataRetentionOperation = {
|
|
655
|
-
DECREASE_DATA_RETENTION: "DECREASE_DATA_RETENTION",
|
|
656
|
-
INCREASE_DATA_RETENTION: "INCREASE_DATA_RETENTION"
|
|
657
|
-
};
|
|
658
|
-
var MediaSourceConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
659
|
-
...obj,
|
|
660
|
-
...obj.MediaUriSecretArn && { MediaUriSecretArn: import_smithy_client.SENSITIVE_STRING }
|
|
661
|
-
}), "MediaSourceConfigFilterSensitiveLog");
|
|
662
|
-
var RecorderConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
663
|
-
...obj,
|
|
664
|
-
...obj.MediaSourceConfig && { MediaSourceConfig: MediaSourceConfigFilterSensitiveLog(obj.MediaSourceConfig) }
|
|
665
|
-
}), "RecorderConfigFilterSensitiveLog");
|
|
666
|
-
var EdgeConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
667
|
-
...obj,
|
|
668
|
-
...obj.RecorderConfig && { RecorderConfig: RecorderConfigFilterSensitiveLog(obj.RecorderConfig) }
|
|
669
|
-
}), "EdgeConfigFilterSensitiveLog");
|
|
670
|
-
var DescribeEdgeConfigurationOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
671
|
-
...obj,
|
|
672
|
-
...obj.EdgeConfig && { EdgeConfig: EdgeConfigFilterSensitiveLog(obj.EdgeConfig) }
|
|
673
|
-
}), "DescribeEdgeConfigurationOutputFilterSensitiveLog");
|
|
674
|
-
var ListEdgeAgentConfigurationsEdgeConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
675
|
-
...obj,
|
|
676
|
-
...obj.EdgeConfig && { EdgeConfig: EdgeConfigFilterSensitiveLog(obj.EdgeConfig) }
|
|
677
|
-
}), "ListEdgeAgentConfigurationsEdgeConfigFilterSensitiveLog");
|
|
678
|
-
var ListEdgeAgentConfigurationsOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
679
|
-
...obj,
|
|
680
|
-
...obj.EdgeConfigs && {
|
|
681
|
-
EdgeConfigs: obj.EdgeConfigs.map((item) => ListEdgeAgentConfigurationsEdgeConfigFilterSensitiveLog(item))
|
|
682
|
-
}
|
|
683
|
-
}), "ListEdgeAgentConfigurationsOutputFilterSensitiveLog");
|
|
684
|
-
var StartEdgeConfigurationUpdateInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
685
|
-
...obj,
|
|
686
|
-
...obj.EdgeConfig && { EdgeConfig: EdgeConfigFilterSensitiveLog(obj.EdgeConfig) }
|
|
687
|
-
}), "StartEdgeConfigurationUpdateInputFilterSensitiveLog");
|
|
688
|
-
var StartEdgeConfigurationUpdateOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
689
|
-
...obj,
|
|
690
|
-
...obj.EdgeConfig && { EdgeConfig: EdgeConfigFilterSensitiveLog(obj.EdgeConfig) }
|
|
691
|
-
}), "StartEdgeConfigurationUpdateOutputFilterSensitiveLog");
|
|
692
|
-
|
|
693
|
-
// src/protocols/Aws_restJson1.ts
|
|
694
|
-
var se_CreateSignalingChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
695
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
696
|
-
const headers = {
|
|
697
|
-
"content-type": "application/json"
|
|
698
|
-
};
|
|
699
|
-
b.bp("/createSignalingChannel");
|
|
700
|
-
let body;
|
|
701
|
-
body = JSON.stringify(
|
|
702
|
-
(0, import_smithy_client.take)(input, {
|
|
703
|
-
ChannelName: [],
|
|
704
|
-
ChannelType: [],
|
|
705
|
-
SingleMasterConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SingleMasterConfiguration"),
|
|
706
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
707
|
-
})
|
|
708
|
-
);
|
|
709
|
-
b.m("POST").h(headers).b(body);
|
|
710
|
-
return b.build();
|
|
711
|
-
}, "se_CreateSignalingChannelCommand");
|
|
712
|
-
var se_CreateStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
713
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
714
|
-
const headers = {
|
|
715
|
-
"content-type": "application/json"
|
|
716
|
-
};
|
|
717
|
-
b.bp("/createStream");
|
|
718
|
-
let body;
|
|
719
|
-
body = JSON.stringify(
|
|
720
|
-
(0, import_smithy_client.take)(input, {
|
|
721
|
-
DataRetentionInHours: [],
|
|
722
|
-
DeviceName: [],
|
|
723
|
-
KmsKeyId: [],
|
|
724
|
-
MediaType: [],
|
|
725
|
-
StreamName: [],
|
|
726
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
727
|
-
})
|
|
728
|
-
);
|
|
729
|
-
b.m("POST").h(headers).b(body);
|
|
730
|
-
return b.build();
|
|
731
|
-
}, "se_CreateStreamCommand");
|
|
732
|
-
var se_DeleteEdgeConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
733
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
734
|
-
const headers = {
|
|
735
|
-
"content-type": "application/json"
|
|
736
|
-
};
|
|
737
|
-
b.bp("/deleteEdgeConfiguration");
|
|
738
|
-
let body;
|
|
739
|
-
body = JSON.stringify(
|
|
740
|
-
(0, import_smithy_client.take)(input, {
|
|
741
|
-
StreamARN: [],
|
|
742
|
-
StreamName: []
|
|
743
|
-
})
|
|
744
|
-
);
|
|
745
|
-
b.m("POST").h(headers).b(body);
|
|
746
|
-
return b.build();
|
|
747
|
-
}, "se_DeleteEdgeConfigurationCommand");
|
|
748
|
-
var se_DeleteSignalingChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
749
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
750
|
-
const headers = {
|
|
751
|
-
"content-type": "application/json"
|
|
752
|
-
};
|
|
753
|
-
b.bp("/deleteSignalingChannel");
|
|
754
|
-
let body;
|
|
755
|
-
body = JSON.stringify(
|
|
756
|
-
(0, import_smithy_client.take)(input, {
|
|
757
|
-
ChannelARN: [],
|
|
758
|
-
CurrentVersion: []
|
|
759
|
-
})
|
|
760
|
-
);
|
|
761
|
-
b.m("POST").h(headers).b(body);
|
|
762
|
-
return b.build();
|
|
763
|
-
}, "se_DeleteSignalingChannelCommand");
|
|
764
|
-
var se_DeleteStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
765
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
766
|
-
const headers = {
|
|
767
|
-
"content-type": "application/json"
|
|
768
|
-
};
|
|
769
|
-
b.bp("/deleteStream");
|
|
770
|
-
let body;
|
|
771
|
-
body = JSON.stringify(
|
|
772
|
-
(0, import_smithy_client.take)(input, {
|
|
773
|
-
CurrentVersion: [],
|
|
774
|
-
StreamARN: []
|
|
775
|
-
})
|
|
776
|
-
);
|
|
777
|
-
b.m("POST").h(headers).b(body);
|
|
778
|
-
return b.build();
|
|
779
|
-
}, "se_DeleteStreamCommand");
|
|
780
|
-
var se_DescribeEdgeConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
781
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
782
|
-
const headers = {
|
|
783
|
-
"content-type": "application/json"
|
|
784
|
-
};
|
|
785
|
-
b.bp("/describeEdgeConfiguration");
|
|
786
|
-
let body;
|
|
787
|
-
body = JSON.stringify(
|
|
788
|
-
(0, import_smithy_client.take)(input, {
|
|
789
|
-
StreamARN: [],
|
|
790
|
-
StreamName: []
|
|
791
|
-
})
|
|
792
|
-
);
|
|
793
|
-
b.m("POST").h(headers).b(body);
|
|
794
|
-
return b.build();
|
|
795
|
-
}, "se_DescribeEdgeConfigurationCommand");
|
|
796
|
-
var se_DescribeImageGenerationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
797
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
798
|
-
const headers = {
|
|
799
|
-
"content-type": "application/json"
|
|
800
|
-
};
|
|
801
|
-
b.bp("/describeImageGenerationConfiguration");
|
|
802
|
-
let body;
|
|
803
|
-
body = JSON.stringify(
|
|
804
|
-
(0, import_smithy_client.take)(input, {
|
|
805
|
-
StreamARN: [],
|
|
806
|
-
StreamName: []
|
|
807
|
-
})
|
|
808
|
-
);
|
|
809
|
-
b.m("POST").h(headers).b(body);
|
|
810
|
-
return b.build();
|
|
811
|
-
}, "se_DescribeImageGenerationConfigurationCommand");
|
|
812
|
-
var se_DescribeMappedResourceConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
813
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
814
|
-
const headers = {
|
|
815
|
-
"content-type": "application/json"
|
|
816
|
-
};
|
|
817
|
-
b.bp("/describeMappedResourceConfiguration");
|
|
818
|
-
let body;
|
|
819
|
-
body = JSON.stringify(
|
|
820
|
-
(0, import_smithy_client.take)(input, {
|
|
821
|
-
MaxResults: [],
|
|
822
|
-
NextToken: [],
|
|
823
|
-
StreamARN: [],
|
|
824
|
-
StreamName: []
|
|
825
|
-
})
|
|
826
|
-
);
|
|
827
|
-
b.m("POST").h(headers).b(body);
|
|
828
|
-
return b.build();
|
|
829
|
-
}, "se_DescribeMappedResourceConfigurationCommand");
|
|
830
|
-
var se_DescribeMediaStorageConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
831
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
832
|
-
const headers = {
|
|
833
|
-
"content-type": "application/json"
|
|
834
|
-
};
|
|
835
|
-
b.bp("/describeMediaStorageConfiguration");
|
|
836
|
-
let body;
|
|
837
|
-
body = JSON.stringify(
|
|
838
|
-
(0, import_smithy_client.take)(input, {
|
|
839
|
-
ChannelARN: [],
|
|
840
|
-
ChannelName: []
|
|
841
|
-
})
|
|
842
|
-
);
|
|
843
|
-
b.m("POST").h(headers).b(body);
|
|
844
|
-
return b.build();
|
|
845
|
-
}, "se_DescribeMediaStorageConfigurationCommand");
|
|
846
|
-
var se_DescribeNotificationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
847
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
848
|
-
const headers = {
|
|
849
|
-
"content-type": "application/json"
|
|
850
|
-
};
|
|
851
|
-
b.bp("/describeNotificationConfiguration");
|
|
852
|
-
let body;
|
|
853
|
-
body = JSON.stringify(
|
|
854
|
-
(0, import_smithy_client.take)(input, {
|
|
855
|
-
StreamARN: [],
|
|
856
|
-
StreamName: []
|
|
857
|
-
})
|
|
858
|
-
);
|
|
859
|
-
b.m("POST").h(headers).b(body);
|
|
860
|
-
return b.build();
|
|
861
|
-
}, "se_DescribeNotificationConfigurationCommand");
|
|
862
|
-
var se_DescribeSignalingChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
863
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
864
|
-
const headers = {
|
|
865
|
-
"content-type": "application/json"
|
|
866
|
-
};
|
|
867
|
-
b.bp("/describeSignalingChannel");
|
|
868
|
-
let body;
|
|
869
|
-
body = JSON.stringify(
|
|
870
|
-
(0, import_smithy_client.take)(input, {
|
|
871
|
-
ChannelARN: [],
|
|
872
|
-
ChannelName: []
|
|
873
|
-
})
|
|
874
|
-
);
|
|
875
|
-
b.m("POST").h(headers).b(body);
|
|
876
|
-
return b.build();
|
|
877
|
-
}, "se_DescribeSignalingChannelCommand");
|
|
878
|
-
var se_DescribeStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
879
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
880
|
-
const headers = {
|
|
881
|
-
"content-type": "application/json"
|
|
882
|
-
};
|
|
883
|
-
b.bp("/describeStream");
|
|
884
|
-
let body;
|
|
885
|
-
body = JSON.stringify(
|
|
886
|
-
(0, import_smithy_client.take)(input, {
|
|
887
|
-
StreamARN: [],
|
|
888
|
-
StreamName: []
|
|
889
|
-
})
|
|
890
|
-
);
|
|
891
|
-
b.m("POST").h(headers).b(body);
|
|
892
|
-
return b.build();
|
|
893
|
-
}, "se_DescribeStreamCommand");
|
|
894
|
-
var se_GetDataEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
895
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
896
|
-
const headers = {
|
|
897
|
-
"content-type": "application/json"
|
|
898
|
-
};
|
|
899
|
-
b.bp("/getDataEndpoint");
|
|
900
|
-
let body;
|
|
901
|
-
body = JSON.stringify(
|
|
902
|
-
(0, import_smithy_client.take)(input, {
|
|
903
|
-
APIName: [],
|
|
904
|
-
StreamARN: [],
|
|
905
|
-
StreamName: []
|
|
906
|
-
})
|
|
907
|
-
);
|
|
908
|
-
b.m("POST").h(headers).b(body);
|
|
909
|
-
return b.build();
|
|
910
|
-
}, "se_GetDataEndpointCommand");
|
|
911
|
-
var se_GetSignalingChannelEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
912
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
913
|
-
const headers = {
|
|
914
|
-
"content-type": "application/json"
|
|
915
|
-
};
|
|
916
|
-
b.bp("/getSignalingChannelEndpoint");
|
|
917
|
-
let body;
|
|
918
|
-
body = JSON.stringify(
|
|
919
|
-
(0, import_smithy_client.take)(input, {
|
|
920
|
-
ChannelARN: [],
|
|
921
|
-
SingleMasterChannelEndpointConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SingleMasterChannelEndpointConfiguration")
|
|
922
|
-
})
|
|
923
|
-
);
|
|
924
|
-
b.m("POST").h(headers).b(body);
|
|
925
|
-
return b.build();
|
|
926
|
-
}, "se_GetSignalingChannelEndpointCommand");
|
|
927
|
-
var se_ListEdgeAgentConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
928
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
929
|
-
const headers = {
|
|
930
|
-
"content-type": "application/json"
|
|
931
|
-
};
|
|
932
|
-
b.bp("/listEdgeAgentConfigurations");
|
|
933
|
-
let body;
|
|
934
|
-
body = JSON.stringify(
|
|
935
|
-
(0, import_smithy_client.take)(input, {
|
|
936
|
-
HubDeviceArn: [],
|
|
937
|
-
MaxResults: [],
|
|
938
|
-
NextToken: []
|
|
939
|
-
})
|
|
940
|
-
);
|
|
941
|
-
b.m("POST").h(headers).b(body);
|
|
942
|
-
return b.build();
|
|
943
|
-
}, "se_ListEdgeAgentConfigurationsCommand");
|
|
944
|
-
var se_ListSignalingChannelsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
945
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
946
|
-
const headers = {
|
|
947
|
-
"content-type": "application/json"
|
|
948
|
-
};
|
|
949
|
-
b.bp("/listSignalingChannels");
|
|
950
|
-
let body;
|
|
951
|
-
body = JSON.stringify(
|
|
952
|
-
(0, import_smithy_client.take)(input, {
|
|
953
|
-
ChannelNameCondition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ChannelNameCondition"),
|
|
954
|
-
MaxResults: [],
|
|
955
|
-
NextToken: []
|
|
956
|
-
})
|
|
957
|
-
);
|
|
958
|
-
b.m("POST").h(headers).b(body);
|
|
959
|
-
return b.build();
|
|
960
|
-
}, "se_ListSignalingChannelsCommand");
|
|
961
|
-
var se_ListStreamsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
962
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
963
|
-
const headers = {
|
|
964
|
-
"content-type": "application/json"
|
|
965
|
-
};
|
|
966
|
-
b.bp("/listStreams");
|
|
967
|
-
let body;
|
|
968
|
-
body = JSON.stringify(
|
|
969
|
-
(0, import_smithy_client.take)(input, {
|
|
970
|
-
MaxResults: [],
|
|
971
|
-
NextToken: [],
|
|
972
|
-
StreamNameCondition: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "StreamNameCondition")
|
|
973
|
-
})
|
|
974
|
-
);
|
|
975
|
-
b.m("POST").h(headers).b(body);
|
|
976
|
-
return b.build();
|
|
977
|
-
}, "se_ListStreamsCommand");
|
|
978
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
979
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
980
|
-
const headers = {
|
|
981
|
-
"content-type": "application/json"
|
|
982
|
-
};
|
|
983
|
-
b.bp("/ListTagsForResource");
|
|
984
|
-
let body;
|
|
985
|
-
body = JSON.stringify(
|
|
986
|
-
(0, import_smithy_client.take)(input, {
|
|
987
|
-
NextToken: [],
|
|
988
|
-
ResourceARN: []
|
|
989
|
-
})
|
|
990
|
-
);
|
|
991
|
-
b.m("POST").h(headers).b(body);
|
|
992
|
-
return b.build();
|
|
993
|
-
}, "se_ListTagsForResourceCommand");
|
|
994
|
-
var se_ListTagsForStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
995
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
996
|
-
const headers = {
|
|
997
|
-
"content-type": "application/json"
|
|
998
|
-
};
|
|
999
|
-
b.bp("/listTagsForStream");
|
|
1000
|
-
let body;
|
|
1001
|
-
body = JSON.stringify(
|
|
1002
|
-
(0, import_smithy_client.take)(input, {
|
|
1003
|
-
NextToken: [],
|
|
1004
|
-
StreamARN: [],
|
|
1005
|
-
StreamName: []
|
|
1006
|
-
})
|
|
1007
|
-
);
|
|
1008
|
-
b.m("POST").h(headers).b(body);
|
|
1009
|
-
return b.build();
|
|
1010
|
-
}, "se_ListTagsForStreamCommand");
|
|
1011
|
-
var se_StartEdgeConfigurationUpdateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1012
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1013
|
-
const headers = {
|
|
1014
|
-
"content-type": "application/json"
|
|
1015
|
-
};
|
|
1016
|
-
b.bp("/startEdgeConfigurationUpdate");
|
|
1017
|
-
let body;
|
|
1018
|
-
body = JSON.stringify(
|
|
1019
|
-
(0, import_smithy_client.take)(input, {
|
|
1020
|
-
EdgeConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "EdgeConfig"),
|
|
1021
|
-
StreamARN: [],
|
|
1022
|
-
StreamName: []
|
|
1023
|
-
})
|
|
1024
|
-
);
|
|
1025
|
-
b.m("POST").h(headers).b(body);
|
|
1026
|
-
return b.build();
|
|
1027
|
-
}, "se_StartEdgeConfigurationUpdateCommand");
|
|
1028
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1029
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1030
|
-
const headers = {
|
|
1031
|
-
"content-type": "application/json"
|
|
1032
|
-
};
|
|
1033
|
-
b.bp("/TagResource");
|
|
1034
|
-
let body;
|
|
1035
|
-
body = JSON.stringify(
|
|
1036
|
-
(0, import_smithy_client.take)(input, {
|
|
1037
|
-
ResourceARN: [],
|
|
1038
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
1039
|
-
})
|
|
1040
|
-
);
|
|
1041
|
-
b.m("POST").h(headers).b(body);
|
|
1042
|
-
return b.build();
|
|
1043
|
-
}, "se_TagResourceCommand");
|
|
1044
|
-
var se_TagStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1045
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1046
|
-
const headers = {
|
|
1047
|
-
"content-type": "application/json"
|
|
1048
|
-
};
|
|
1049
|
-
b.bp("/tagStream");
|
|
1050
|
-
let body;
|
|
1051
|
-
body = JSON.stringify(
|
|
1052
|
-
(0, import_smithy_client.take)(input, {
|
|
1053
|
-
StreamARN: [],
|
|
1054
|
-
StreamName: [],
|
|
1055
|
-
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
1056
|
-
})
|
|
1057
|
-
);
|
|
1058
|
-
b.m("POST").h(headers).b(body);
|
|
1059
|
-
return b.build();
|
|
1060
|
-
}, "se_TagStreamCommand");
|
|
1061
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1062
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1063
|
-
const headers = {
|
|
1064
|
-
"content-type": "application/json"
|
|
1065
|
-
};
|
|
1066
|
-
b.bp("/UntagResource");
|
|
1067
|
-
let body;
|
|
1068
|
-
body = JSON.stringify(
|
|
1069
|
-
(0, import_smithy_client.take)(input, {
|
|
1070
|
-
ResourceARN: [],
|
|
1071
|
-
TagKeyList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagKeyList")
|
|
1072
|
-
})
|
|
1073
|
-
);
|
|
1074
|
-
b.m("POST").h(headers).b(body);
|
|
1075
|
-
return b.build();
|
|
1076
|
-
}, "se_UntagResourceCommand");
|
|
1077
|
-
var se_UntagStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1078
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1079
|
-
const headers = {
|
|
1080
|
-
"content-type": "application/json"
|
|
1081
|
-
};
|
|
1082
|
-
b.bp("/untagStream");
|
|
1083
|
-
let body;
|
|
1084
|
-
body = JSON.stringify(
|
|
1085
|
-
(0, import_smithy_client.take)(input, {
|
|
1086
|
-
StreamARN: [],
|
|
1087
|
-
StreamName: [],
|
|
1088
|
-
TagKeyList: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "TagKeyList")
|
|
1089
|
-
})
|
|
1090
|
-
);
|
|
1091
|
-
b.m("POST").h(headers).b(body);
|
|
1092
|
-
return b.build();
|
|
1093
|
-
}, "se_UntagStreamCommand");
|
|
1094
|
-
var se_UpdateDataRetentionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1095
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1096
|
-
const headers = {
|
|
1097
|
-
"content-type": "application/json"
|
|
1098
|
-
};
|
|
1099
|
-
b.bp("/updateDataRetention");
|
|
1100
|
-
let body;
|
|
1101
|
-
body = JSON.stringify(
|
|
1102
|
-
(0, import_smithy_client.take)(input, {
|
|
1103
|
-
CurrentVersion: [],
|
|
1104
|
-
DataRetentionChangeInHours: [],
|
|
1105
|
-
Operation: [],
|
|
1106
|
-
StreamARN: [],
|
|
1107
|
-
StreamName: []
|
|
1108
|
-
})
|
|
1109
|
-
);
|
|
1110
|
-
b.m("POST").h(headers).b(body);
|
|
1111
|
-
return b.build();
|
|
1112
|
-
}, "se_UpdateDataRetentionCommand");
|
|
1113
|
-
var se_UpdateImageGenerationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1114
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1115
|
-
const headers = {
|
|
1116
|
-
"content-type": "application/json"
|
|
1117
|
-
};
|
|
1118
|
-
b.bp("/updateImageGenerationConfiguration");
|
|
1119
|
-
let body;
|
|
1120
|
-
body = JSON.stringify(
|
|
1121
|
-
(0, import_smithy_client.take)(input, {
|
|
1122
|
-
ImageGenerationConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ImageGenerationConfiguration"),
|
|
1123
|
-
StreamARN: [],
|
|
1124
|
-
StreamName: []
|
|
1125
|
-
})
|
|
1126
|
-
);
|
|
1127
|
-
b.m("POST").h(headers).b(body);
|
|
1128
|
-
return b.build();
|
|
1129
|
-
}, "se_UpdateImageGenerationConfigurationCommand");
|
|
1130
|
-
var se_UpdateMediaStorageConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1131
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1132
|
-
const headers = {
|
|
1133
|
-
"content-type": "application/json"
|
|
1134
|
-
};
|
|
1135
|
-
b.bp("/updateMediaStorageConfiguration");
|
|
1136
|
-
let body;
|
|
1137
|
-
body = JSON.stringify(
|
|
1138
|
-
(0, import_smithy_client.take)(input, {
|
|
1139
|
-
ChannelARN: [],
|
|
1140
|
-
MediaStorageConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "MediaStorageConfiguration")
|
|
1141
|
-
})
|
|
1142
|
-
);
|
|
1143
|
-
b.m("POST").h(headers).b(body);
|
|
1144
|
-
return b.build();
|
|
1145
|
-
}, "se_UpdateMediaStorageConfigurationCommand");
|
|
1146
|
-
var se_UpdateNotificationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1147
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1148
|
-
const headers = {
|
|
1149
|
-
"content-type": "application/json"
|
|
1150
|
-
};
|
|
1151
|
-
b.bp("/updateNotificationConfiguration");
|
|
1152
|
-
let body;
|
|
1153
|
-
body = JSON.stringify(
|
|
1154
|
-
(0, import_smithy_client.take)(input, {
|
|
1155
|
-
NotificationConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "NotificationConfiguration"),
|
|
1156
|
-
StreamARN: [],
|
|
1157
|
-
StreamName: []
|
|
1158
|
-
})
|
|
1159
|
-
);
|
|
1160
|
-
b.m("POST").h(headers).b(body);
|
|
1161
|
-
return b.build();
|
|
1162
|
-
}, "se_UpdateNotificationConfigurationCommand");
|
|
1163
|
-
var se_UpdateSignalingChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1164
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1165
|
-
const headers = {
|
|
1166
|
-
"content-type": "application/json"
|
|
1167
|
-
};
|
|
1168
|
-
b.bp("/updateSignalingChannel");
|
|
1169
|
-
let body;
|
|
1170
|
-
body = JSON.stringify(
|
|
1171
|
-
(0, import_smithy_client.take)(input, {
|
|
1172
|
-
ChannelARN: [],
|
|
1173
|
-
CurrentVersion: [],
|
|
1174
|
-
SingleMasterConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "SingleMasterConfiguration")
|
|
1175
|
-
})
|
|
1176
|
-
);
|
|
1177
|
-
b.m("POST").h(headers).b(body);
|
|
1178
|
-
return b.build();
|
|
1179
|
-
}, "se_UpdateSignalingChannelCommand");
|
|
1180
|
-
var se_UpdateStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1181
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1182
|
-
const headers = {
|
|
1183
|
-
"content-type": "application/json"
|
|
1184
|
-
};
|
|
1185
|
-
b.bp("/updateStream");
|
|
1186
|
-
let body;
|
|
1187
|
-
body = JSON.stringify(
|
|
1188
|
-
(0, import_smithy_client.take)(input, {
|
|
1189
|
-
CurrentVersion: [],
|
|
1190
|
-
DeviceName: [],
|
|
1191
|
-
MediaType: [],
|
|
1192
|
-
StreamARN: [],
|
|
1193
|
-
StreamName: []
|
|
1194
|
-
})
|
|
1195
|
-
);
|
|
1196
|
-
b.m("POST").h(headers).b(body);
|
|
1197
|
-
return b.build();
|
|
1198
|
-
}, "se_UpdateStreamCommand");
|
|
1199
|
-
var de_CreateSignalingChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1200
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1201
|
-
return de_CommandError(output, context);
|
|
1202
|
-
}
|
|
1203
|
-
const contents = (0, import_smithy_client.map)({
|
|
1204
|
-
$metadata: deserializeMetadata(output)
|
|
1205
|
-
});
|
|
1206
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1207
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1208
|
-
ChannelARN: import_smithy_client.expectString
|
|
1209
|
-
});
|
|
1210
|
-
Object.assign(contents, doc);
|
|
1211
|
-
return contents;
|
|
1212
|
-
}, "de_CreateSignalingChannelCommand");
|
|
1213
|
-
var de_CreateStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1214
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1215
|
-
return de_CommandError(output, context);
|
|
1216
|
-
}
|
|
1217
|
-
const contents = (0, import_smithy_client.map)({
|
|
1218
|
-
$metadata: deserializeMetadata(output)
|
|
1219
|
-
});
|
|
1220
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1221
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1222
|
-
StreamARN: import_smithy_client.expectString
|
|
1223
|
-
});
|
|
1224
|
-
Object.assign(contents, doc);
|
|
1225
|
-
return contents;
|
|
1226
|
-
}, "de_CreateStreamCommand");
|
|
1227
|
-
var de_DeleteEdgeConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1228
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1229
|
-
return de_CommandError(output, context);
|
|
1230
|
-
}
|
|
1231
|
-
const contents = (0, import_smithy_client.map)({
|
|
1232
|
-
$metadata: deserializeMetadata(output)
|
|
1233
|
-
});
|
|
1234
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1235
|
-
return contents;
|
|
1236
|
-
}, "de_DeleteEdgeConfigurationCommand");
|
|
1237
|
-
var de_DeleteSignalingChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1238
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1239
|
-
return de_CommandError(output, context);
|
|
1240
|
-
}
|
|
1241
|
-
const contents = (0, import_smithy_client.map)({
|
|
1242
|
-
$metadata: deserializeMetadata(output)
|
|
1243
|
-
});
|
|
1244
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1245
|
-
return contents;
|
|
1246
|
-
}, "de_DeleteSignalingChannelCommand");
|
|
1247
|
-
var de_DeleteStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1248
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1249
|
-
return de_CommandError(output, context);
|
|
1250
|
-
}
|
|
1251
|
-
const contents = (0, import_smithy_client.map)({
|
|
1252
|
-
$metadata: deserializeMetadata(output)
|
|
1253
|
-
});
|
|
1254
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1255
|
-
return contents;
|
|
1256
|
-
}, "de_DeleteStreamCommand");
|
|
1257
|
-
var de_DescribeEdgeConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1258
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1259
|
-
return de_CommandError(output, context);
|
|
1260
|
-
}
|
|
1261
|
-
const contents = (0, import_smithy_client.map)({
|
|
1262
|
-
$metadata: deserializeMetadata(output)
|
|
1263
|
-
});
|
|
1264
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1265
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1266
|
-
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
1267
|
-
EdgeAgentStatus: /* @__PURE__ */ __name((_) => de_EdgeAgentStatus(_, context), "EdgeAgentStatus"),
|
|
1268
|
-
EdgeConfig: import_smithy_client._json,
|
|
1269
|
-
FailedStatusDetails: import_smithy_client.expectString,
|
|
1270
|
-
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
1271
|
-
StreamARN: import_smithy_client.expectString,
|
|
1272
|
-
StreamName: import_smithy_client.expectString,
|
|
1273
|
-
SyncStatus: import_smithy_client.expectString
|
|
1274
|
-
});
|
|
1275
|
-
Object.assign(contents, doc);
|
|
1276
|
-
return contents;
|
|
1277
|
-
}, "de_DescribeEdgeConfigurationCommand");
|
|
1278
|
-
var de_DescribeImageGenerationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1279
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1280
|
-
return de_CommandError(output, context);
|
|
1281
|
-
}
|
|
1282
|
-
const contents = (0, import_smithy_client.map)({
|
|
1283
|
-
$metadata: deserializeMetadata(output)
|
|
1284
|
-
});
|
|
1285
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1286
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1287
|
-
ImageGenerationConfiguration: import_smithy_client._json
|
|
1288
|
-
});
|
|
1289
|
-
Object.assign(contents, doc);
|
|
1290
|
-
return contents;
|
|
1291
|
-
}, "de_DescribeImageGenerationConfigurationCommand");
|
|
1292
|
-
var de_DescribeMappedResourceConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1293
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1294
|
-
return de_CommandError(output, context);
|
|
1295
|
-
}
|
|
1296
|
-
const contents = (0, import_smithy_client.map)({
|
|
1297
|
-
$metadata: deserializeMetadata(output)
|
|
1298
|
-
});
|
|
1299
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1300
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1301
|
-
MappedResourceConfigurationList: import_smithy_client._json,
|
|
1302
|
-
NextToken: import_smithy_client.expectString
|
|
1303
|
-
});
|
|
1304
|
-
Object.assign(contents, doc);
|
|
1305
|
-
return contents;
|
|
1306
|
-
}, "de_DescribeMappedResourceConfigurationCommand");
|
|
1307
|
-
var de_DescribeMediaStorageConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1308
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1309
|
-
return de_CommandError(output, context);
|
|
1310
|
-
}
|
|
1311
|
-
const contents = (0, import_smithy_client.map)({
|
|
1312
|
-
$metadata: deserializeMetadata(output)
|
|
1313
|
-
});
|
|
1314
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1315
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1316
|
-
MediaStorageConfiguration: import_smithy_client._json
|
|
1317
|
-
});
|
|
1318
|
-
Object.assign(contents, doc);
|
|
1319
|
-
return contents;
|
|
1320
|
-
}, "de_DescribeMediaStorageConfigurationCommand");
|
|
1321
|
-
var de_DescribeNotificationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1322
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1323
|
-
return de_CommandError(output, context);
|
|
1324
|
-
}
|
|
1325
|
-
const contents = (0, import_smithy_client.map)({
|
|
1326
|
-
$metadata: deserializeMetadata(output)
|
|
1327
|
-
});
|
|
1328
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1329
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1330
|
-
NotificationConfiguration: import_smithy_client._json
|
|
1331
|
-
});
|
|
1332
|
-
Object.assign(contents, doc);
|
|
1333
|
-
return contents;
|
|
1334
|
-
}, "de_DescribeNotificationConfigurationCommand");
|
|
1335
|
-
var de_DescribeSignalingChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1336
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1337
|
-
return de_CommandError(output, context);
|
|
1338
|
-
}
|
|
1339
|
-
const contents = (0, import_smithy_client.map)({
|
|
1340
|
-
$metadata: deserializeMetadata(output)
|
|
1341
|
-
});
|
|
1342
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1343
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1344
|
-
ChannelInfo: /* @__PURE__ */ __name((_) => de_ChannelInfo(_, context), "ChannelInfo")
|
|
1345
|
-
});
|
|
1346
|
-
Object.assign(contents, doc);
|
|
1347
|
-
return contents;
|
|
1348
|
-
}, "de_DescribeSignalingChannelCommand");
|
|
1349
|
-
var de_DescribeStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1350
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1351
|
-
return de_CommandError(output, context);
|
|
1352
|
-
}
|
|
1353
|
-
const contents = (0, import_smithy_client.map)({
|
|
1354
|
-
$metadata: deserializeMetadata(output)
|
|
1355
|
-
});
|
|
1356
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1357
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1358
|
-
StreamInfo: /* @__PURE__ */ __name((_) => de_StreamInfo(_, context), "StreamInfo")
|
|
1359
|
-
});
|
|
1360
|
-
Object.assign(contents, doc);
|
|
1361
|
-
return contents;
|
|
1362
|
-
}, "de_DescribeStreamCommand");
|
|
1363
|
-
var de_GetDataEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1364
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1365
|
-
return de_CommandError(output, context);
|
|
1366
|
-
}
|
|
1367
|
-
const contents = (0, import_smithy_client.map)({
|
|
1368
|
-
$metadata: deserializeMetadata(output)
|
|
1369
|
-
});
|
|
1370
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1371
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1372
|
-
DataEndpoint: import_smithy_client.expectString
|
|
1373
|
-
});
|
|
1374
|
-
Object.assign(contents, doc);
|
|
1375
|
-
return contents;
|
|
1376
|
-
}, "de_GetDataEndpointCommand");
|
|
1377
|
-
var de_GetSignalingChannelEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1378
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1379
|
-
return de_CommandError(output, context);
|
|
1380
|
-
}
|
|
1381
|
-
const contents = (0, import_smithy_client.map)({
|
|
1382
|
-
$metadata: deserializeMetadata(output)
|
|
1383
|
-
});
|
|
1384
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1385
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1386
|
-
ResourceEndpointList: import_smithy_client._json
|
|
1387
|
-
});
|
|
1388
|
-
Object.assign(contents, doc);
|
|
1389
|
-
return contents;
|
|
1390
|
-
}, "de_GetSignalingChannelEndpointCommand");
|
|
1391
|
-
var de_ListEdgeAgentConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1392
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1393
|
-
return de_CommandError(output, context);
|
|
1394
|
-
}
|
|
1395
|
-
const contents = (0, import_smithy_client.map)({
|
|
1396
|
-
$metadata: deserializeMetadata(output)
|
|
1397
|
-
});
|
|
1398
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1399
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1400
|
-
EdgeConfigs: /* @__PURE__ */ __name((_) => de_ListEdgeAgentConfigurationsEdgeConfigList(_, context), "EdgeConfigs"),
|
|
1401
|
-
NextToken: import_smithy_client.expectString
|
|
1402
|
-
});
|
|
1403
|
-
Object.assign(contents, doc);
|
|
1404
|
-
return contents;
|
|
1405
|
-
}, "de_ListEdgeAgentConfigurationsCommand");
|
|
1406
|
-
var de_ListSignalingChannelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1407
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1408
|
-
return de_CommandError(output, context);
|
|
1409
|
-
}
|
|
1410
|
-
const contents = (0, import_smithy_client.map)({
|
|
1411
|
-
$metadata: deserializeMetadata(output)
|
|
1412
|
-
});
|
|
1413
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1414
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1415
|
-
ChannelInfoList: /* @__PURE__ */ __name((_) => de_ChannelInfoList(_, context), "ChannelInfoList"),
|
|
1416
|
-
NextToken: import_smithy_client.expectString
|
|
1417
|
-
});
|
|
1418
|
-
Object.assign(contents, doc);
|
|
1419
|
-
return contents;
|
|
1420
|
-
}, "de_ListSignalingChannelsCommand");
|
|
1421
|
-
var de_ListStreamsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1422
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1423
|
-
return de_CommandError(output, context);
|
|
1424
|
-
}
|
|
1425
|
-
const contents = (0, import_smithy_client.map)({
|
|
1426
|
-
$metadata: deserializeMetadata(output)
|
|
1427
|
-
});
|
|
1428
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1429
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1430
|
-
NextToken: import_smithy_client.expectString,
|
|
1431
|
-
StreamInfoList: /* @__PURE__ */ __name((_) => de_StreamInfoList(_, context), "StreamInfoList")
|
|
1432
|
-
});
|
|
1433
|
-
Object.assign(contents, doc);
|
|
1434
|
-
return contents;
|
|
1435
|
-
}, "de_ListStreamsCommand");
|
|
1436
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1437
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1438
|
-
return de_CommandError(output, context);
|
|
1439
|
-
}
|
|
1440
|
-
const contents = (0, import_smithy_client.map)({
|
|
1441
|
-
$metadata: deserializeMetadata(output)
|
|
1442
|
-
});
|
|
1443
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1444
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1445
|
-
NextToken: import_smithy_client.expectString,
|
|
1446
|
-
Tags: import_smithy_client._json
|
|
1447
|
-
});
|
|
1448
|
-
Object.assign(contents, doc);
|
|
1449
|
-
return contents;
|
|
1450
|
-
}, "de_ListTagsForResourceCommand");
|
|
1451
|
-
var de_ListTagsForStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1452
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1453
|
-
return de_CommandError(output, context);
|
|
1454
|
-
}
|
|
1455
|
-
const contents = (0, import_smithy_client.map)({
|
|
1456
|
-
$metadata: deserializeMetadata(output)
|
|
1457
|
-
});
|
|
1458
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1459
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1460
|
-
NextToken: import_smithy_client.expectString,
|
|
1461
|
-
Tags: import_smithy_client._json
|
|
1462
|
-
});
|
|
1463
|
-
Object.assign(contents, doc);
|
|
1464
|
-
return contents;
|
|
1465
|
-
}, "de_ListTagsForStreamCommand");
|
|
1466
|
-
var de_StartEdgeConfigurationUpdateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1467
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1468
|
-
return de_CommandError(output, context);
|
|
1469
|
-
}
|
|
1470
|
-
const contents = (0, import_smithy_client.map)({
|
|
1471
|
-
$metadata: deserializeMetadata(output)
|
|
1472
|
-
});
|
|
1473
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1474
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1475
|
-
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
1476
|
-
EdgeConfig: import_smithy_client._json,
|
|
1477
|
-
FailedStatusDetails: import_smithy_client.expectString,
|
|
1478
|
-
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
1479
|
-
StreamARN: import_smithy_client.expectString,
|
|
1480
|
-
StreamName: import_smithy_client.expectString,
|
|
1481
|
-
SyncStatus: import_smithy_client.expectString
|
|
1482
|
-
});
|
|
1483
|
-
Object.assign(contents, doc);
|
|
1484
|
-
return contents;
|
|
1485
|
-
}, "de_StartEdgeConfigurationUpdateCommand");
|
|
1486
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1487
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1488
|
-
return de_CommandError(output, context);
|
|
1489
|
-
}
|
|
1490
|
-
const contents = (0, import_smithy_client.map)({
|
|
1491
|
-
$metadata: deserializeMetadata(output)
|
|
1492
|
-
});
|
|
1493
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1494
|
-
return contents;
|
|
1495
|
-
}, "de_TagResourceCommand");
|
|
1496
|
-
var de_TagStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1497
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1498
|
-
return de_CommandError(output, context);
|
|
1499
|
-
}
|
|
1500
|
-
const contents = (0, import_smithy_client.map)({
|
|
1501
|
-
$metadata: deserializeMetadata(output)
|
|
1502
|
-
});
|
|
1503
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1504
|
-
return contents;
|
|
1505
|
-
}, "de_TagStreamCommand");
|
|
1506
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1507
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1508
|
-
return de_CommandError(output, context);
|
|
1509
|
-
}
|
|
1510
|
-
const contents = (0, import_smithy_client.map)({
|
|
1511
|
-
$metadata: deserializeMetadata(output)
|
|
1512
|
-
});
|
|
1513
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1514
|
-
return contents;
|
|
1515
|
-
}, "de_UntagResourceCommand");
|
|
1516
|
-
var de_UntagStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1517
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1518
|
-
return de_CommandError(output, context);
|
|
1519
|
-
}
|
|
1520
|
-
const contents = (0, import_smithy_client.map)({
|
|
1521
|
-
$metadata: deserializeMetadata(output)
|
|
1522
|
-
});
|
|
1523
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1524
|
-
return contents;
|
|
1525
|
-
}, "de_UntagStreamCommand");
|
|
1526
|
-
var de_UpdateDataRetentionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1527
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1528
|
-
return de_CommandError(output, context);
|
|
1529
|
-
}
|
|
1530
|
-
const contents = (0, import_smithy_client.map)({
|
|
1531
|
-
$metadata: deserializeMetadata(output)
|
|
1532
|
-
});
|
|
1533
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1534
|
-
return contents;
|
|
1535
|
-
}, "de_UpdateDataRetentionCommand");
|
|
1536
|
-
var de_UpdateImageGenerationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1537
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1538
|
-
return de_CommandError(output, context);
|
|
1539
|
-
}
|
|
1540
|
-
const contents = (0, import_smithy_client.map)({
|
|
1541
|
-
$metadata: deserializeMetadata(output)
|
|
1542
|
-
});
|
|
1543
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1544
|
-
return contents;
|
|
1545
|
-
}, "de_UpdateImageGenerationConfigurationCommand");
|
|
1546
|
-
var de_UpdateMediaStorageConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1547
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1548
|
-
return de_CommandError(output, context);
|
|
1549
|
-
}
|
|
1550
|
-
const contents = (0, import_smithy_client.map)({
|
|
1551
|
-
$metadata: deserializeMetadata(output)
|
|
1552
|
-
});
|
|
1553
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1554
|
-
return contents;
|
|
1555
|
-
}, "de_UpdateMediaStorageConfigurationCommand");
|
|
1556
|
-
var de_UpdateNotificationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1557
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1558
|
-
return de_CommandError(output, context);
|
|
1559
|
-
}
|
|
1560
|
-
const contents = (0, import_smithy_client.map)({
|
|
1561
|
-
$metadata: deserializeMetadata(output)
|
|
1562
|
-
});
|
|
1563
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1564
|
-
return contents;
|
|
1565
|
-
}, "de_UpdateNotificationConfigurationCommand");
|
|
1566
|
-
var de_UpdateSignalingChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1567
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1568
|
-
return de_CommandError(output, context);
|
|
1569
|
-
}
|
|
1570
|
-
const contents = (0, import_smithy_client.map)({
|
|
1571
|
-
$metadata: deserializeMetadata(output)
|
|
1572
|
-
});
|
|
1573
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1574
|
-
return contents;
|
|
1575
|
-
}, "de_UpdateSignalingChannelCommand");
|
|
1576
|
-
var de_UpdateStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1577
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1578
|
-
return de_CommandError(output, context);
|
|
1579
|
-
}
|
|
1580
|
-
const contents = (0, import_smithy_client.map)({
|
|
1581
|
-
$metadata: deserializeMetadata(output)
|
|
1582
|
-
});
|
|
1583
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1584
|
-
return contents;
|
|
1585
|
-
}, "de_UpdateStreamCommand");
|
|
1586
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1587
|
-
const parsedOutput = {
|
|
1588
|
-
...output,
|
|
1589
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1590
|
-
};
|
|
1591
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1592
|
-
switch (errorCode) {
|
|
1593
|
-
case "AccessDeniedException":
|
|
1594
|
-
case "com.amazonaws.kinesisvideo#AccessDeniedException":
|
|
1595
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1596
|
-
case "AccountChannelLimitExceededException":
|
|
1597
|
-
case "com.amazonaws.kinesisvideo#AccountChannelLimitExceededException":
|
|
1598
|
-
throw await de_AccountChannelLimitExceededExceptionRes(parsedOutput, context);
|
|
1599
|
-
case "ClientLimitExceededException":
|
|
1600
|
-
case "com.amazonaws.kinesisvideo#ClientLimitExceededException":
|
|
1601
|
-
throw await de_ClientLimitExceededExceptionRes(parsedOutput, context);
|
|
1602
|
-
case "InvalidArgumentException":
|
|
1603
|
-
case "com.amazonaws.kinesisvideo#InvalidArgumentException":
|
|
1604
|
-
throw await de_InvalidArgumentExceptionRes(parsedOutput, context);
|
|
1605
|
-
case "ResourceInUseException":
|
|
1606
|
-
case "com.amazonaws.kinesisvideo#ResourceInUseException":
|
|
1607
|
-
throw await de_ResourceInUseExceptionRes(parsedOutput, context);
|
|
1608
|
-
case "TagsPerResourceExceededLimitException":
|
|
1609
|
-
case "com.amazonaws.kinesisvideo#TagsPerResourceExceededLimitException":
|
|
1610
|
-
throw await de_TagsPerResourceExceededLimitExceptionRes(parsedOutput, context);
|
|
1611
|
-
case "AccountStreamLimitExceededException":
|
|
1612
|
-
case "com.amazonaws.kinesisvideo#AccountStreamLimitExceededException":
|
|
1613
|
-
throw await de_AccountStreamLimitExceededExceptionRes(parsedOutput, context);
|
|
1614
|
-
case "DeviceStreamLimitExceededException":
|
|
1615
|
-
case "com.amazonaws.kinesisvideo#DeviceStreamLimitExceededException":
|
|
1616
|
-
throw await de_DeviceStreamLimitExceededExceptionRes(parsedOutput, context);
|
|
1617
|
-
case "InvalidDeviceException":
|
|
1618
|
-
case "com.amazonaws.kinesisvideo#InvalidDeviceException":
|
|
1619
|
-
throw await de_InvalidDeviceExceptionRes(parsedOutput, context);
|
|
1620
|
-
case "ResourceNotFoundException":
|
|
1621
|
-
case "com.amazonaws.kinesisvideo#ResourceNotFoundException":
|
|
1622
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1623
|
-
case "StreamEdgeConfigurationNotFoundException":
|
|
1624
|
-
case "com.amazonaws.kinesisvideo#StreamEdgeConfigurationNotFoundException":
|
|
1625
|
-
throw await de_StreamEdgeConfigurationNotFoundExceptionRes(parsedOutput, context);
|
|
1626
|
-
case "VersionMismatchException":
|
|
1627
|
-
case "com.amazonaws.kinesisvideo#VersionMismatchException":
|
|
1628
|
-
throw await de_VersionMismatchExceptionRes(parsedOutput, context);
|
|
1629
|
-
case "NotAuthorizedException":
|
|
1630
|
-
case "com.amazonaws.kinesisvideo#NotAuthorizedException":
|
|
1631
|
-
throw await de_NotAuthorizedExceptionRes(parsedOutput, context);
|
|
1632
|
-
case "InvalidResourceFormatException":
|
|
1633
|
-
case "com.amazonaws.kinesisvideo#InvalidResourceFormatException":
|
|
1634
|
-
throw await de_InvalidResourceFormatExceptionRes(parsedOutput, context);
|
|
1635
|
-
case "NoDataRetentionException":
|
|
1636
|
-
case "com.amazonaws.kinesisvideo#NoDataRetentionException":
|
|
1637
|
-
throw await de_NoDataRetentionExceptionRes(parsedOutput, context);
|
|
1638
|
-
default:
|
|
1639
|
-
const parsedBody = parsedOutput.body;
|
|
1640
|
-
return throwDefaultError({
|
|
1641
|
-
output,
|
|
1642
|
-
parsedBody,
|
|
1643
|
-
errorCode
|
|
1644
|
-
});
|
|
1645
|
-
}
|
|
1646
|
-
}, "de_CommandError");
|
|
1647
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(KinesisVideoServiceException);
|
|
1648
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1649
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1650
|
-
const data = parsedOutput.body;
|
|
1651
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1652
|
-
Message: import_smithy_client.expectString
|
|
1653
|
-
});
|
|
1654
|
-
Object.assign(contents, doc);
|
|
1655
|
-
const exception = new AccessDeniedException({
|
|
1656
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1657
|
-
...contents
|
|
1658
|
-
});
|
|
1659
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1660
|
-
}, "de_AccessDeniedExceptionRes");
|
|
1661
|
-
var de_AccountChannelLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1662
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1663
|
-
const data = parsedOutput.body;
|
|
1664
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1665
|
-
Message: import_smithy_client.expectString
|
|
1666
|
-
});
|
|
1667
|
-
Object.assign(contents, doc);
|
|
1668
|
-
const exception = new AccountChannelLimitExceededException({
|
|
1669
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1670
|
-
...contents
|
|
1671
|
-
});
|
|
1672
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1673
|
-
}, "de_AccountChannelLimitExceededExceptionRes");
|
|
1674
|
-
var de_AccountStreamLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1675
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1676
|
-
const data = parsedOutput.body;
|
|
1677
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1678
|
-
Message: import_smithy_client.expectString
|
|
1679
|
-
});
|
|
1680
|
-
Object.assign(contents, doc);
|
|
1681
|
-
const exception = new AccountStreamLimitExceededException({
|
|
1682
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1683
|
-
...contents
|
|
1684
|
-
});
|
|
1685
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1686
|
-
}, "de_AccountStreamLimitExceededExceptionRes");
|
|
1687
|
-
var de_ClientLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1688
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1689
|
-
const data = parsedOutput.body;
|
|
1690
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1691
|
-
Message: import_smithy_client.expectString
|
|
1692
|
-
});
|
|
1693
|
-
Object.assign(contents, doc);
|
|
1694
|
-
const exception = new ClientLimitExceededException({
|
|
1695
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1696
|
-
...contents
|
|
1697
|
-
});
|
|
1698
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1699
|
-
}, "de_ClientLimitExceededExceptionRes");
|
|
1700
|
-
var de_DeviceStreamLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1701
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1702
|
-
const data = parsedOutput.body;
|
|
1703
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1704
|
-
Message: import_smithy_client.expectString
|
|
1705
|
-
});
|
|
1706
|
-
Object.assign(contents, doc);
|
|
1707
|
-
const exception = new DeviceStreamLimitExceededException({
|
|
1708
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1709
|
-
...contents
|
|
1710
|
-
});
|
|
1711
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1712
|
-
}, "de_DeviceStreamLimitExceededExceptionRes");
|
|
1713
|
-
var de_InvalidArgumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1714
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1715
|
-
const data = parsedOutput.body;
|
|
1716
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1717
|
-
Message: import_smithy_client.expectString
|
|
1718
|
-
});
|
|
1719
|
-
Object.assign(contents, doc);
|
|
1720
|
-
const exception = new InvalidArgumentException({
|
|
1721
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1722
|
-
...contents
|
|
1723
|
-
});
|
|
1724
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1725
|
-
}, "de_InvalidArgumentExceptionRes");
|
|
1726
|
-
var de_InvalidDeviceExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1727
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1728
|
-
const data = parsedOutput.body;
|
|
1729
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1730
|
-
Message: import_smithy_client.expectString
|
|
1731
|
-
});
|
|
1732
|
-
Object.assign(contents, doc);
|
|
1733
|
-
const exception = new InvalidDeviceException({
|
|
1734
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1735
|
-
...contents
|
|
1736
|
-
});
|
|
1737
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1738
|
-
}, "de_InvalidDeviceExceptionRes");
|
|
1739
|
-
var de_InvalidResourceFormatExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1740
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1741
|
-
const data = parsedOutput.body;
|
|
1742
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1743
|
-
Message: import_smithy_client.expectString
|
|
1744
|
-
});
|
|
1745
|
-
Object.assign(contents, doc);
|
|
1746
|
-
const exception = new InvalidResourceFormatException({
|
|
1747
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1748
|
-
...contents
|
|
1749
|
-
});
|
|
1750
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1751
|
-
}, "de_InvalidResourceFormatExceptionRes");
|
|
1752
|
-
var de_NoDataRetentionExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1753
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1754
|
-
const data = parsedOutput.body;
|
|
1755
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1756
|
-
Message: import_smithy_client.expectString
|
|
1757
|
-
});
|
|
1758
|
-
Object.assign(contents, doc);
|
|
1759
|
-
const exception = new NoDataRetentionException({
|
|
1760
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1761
|
-
...contents
|
|
1762
|
-
});
|
|
1763
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1764
|
-
}, "de_NoDataRetentionExceptionRes");
|
|
1765
|
-
var de_NotAuthorizedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1766
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1767
|
-
const data = parsedOutput.body;
|
|
1768
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1769
|
-
Message: import_smithy_client.expectString
|
|
1770
|
-
});
|
|
1771
|
-
Object.assign(contents, doc);
|
|
1772
|
-
const exception = new NotAuthorizedException({
|
|
1773
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1774
|
-
...contents
|
|
1775
|
-
});
|
|
1776
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1777
|
-
}, "de_NotAuthorizedExceptionRes");
|
|
1778
|
-
var de_ResourceInUseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1779
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1780
|
-
const data = parsedOutput.body;
|
|
1781
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1782
|
-
Message: import_smithy_client.expectString
|
|
1783
|
-
});
|
|
1784
|
-
Object.assign(contents, doc);
|
|
1785
|
-
const exception = new ResourceInUseException({
|
|
1786
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1787
|
-
...contents
|
|
1788
|
-
});
|
|
1789
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1790
|
-
}, "de_ResourceInUseExceptionRes");
|
|
1791
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1792
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1793
|
-
const data = parsedOutput.body;
|
|
1794
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1795
|
-
Message: import_smithy_client.expectString
|
|
1796
|
-
});
|
|
1797
|
-
Object.assign(contents, doc);
|
|
1798
|
-
const exception = new ResourceNotFoundException({
|
|
1799
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1800
|
-
...contents
|
|
1801
|
-
});
|
|
1802
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1803
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1804
|
-
var de_StreamEdgeConfigurationNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1805
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1806
|
-
const data = parsedOutput.body;
|
|
1807
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1808
|
-
Message: import_smithy_client.expectString
|
|
1809
|
-
});
|
|
1810
|
-
Object.assign(contents, doc);
|
|
1811
|
-
const exception = new StreamEdgeConfigurationNotFoundException({
|
|
1812
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1813
|
-
...contents
|
|
1814
|
-
});
|
|
1815
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1816
|
-
}, "de_StreamEdgeConfigurationNotFoundExceptionRes");
|
|
1817
|
-
var de_TagsPerResourceExceededLimitExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1818
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1819
|
-
const data = parsedOutput.body;
|
|
1820
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1821
|
-
Message: import_smithy_client.expectString
|
|
1822
|
-
});
|
|
1823
|
-
Object.assign(contents, doc);
|
|
1824
|
-
const exception = new TagsPerResourceExceededLimitException({
|
|
1825
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1826
|
-
...contents
|
|
1827
|
-
});
|
|
1828
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1829
|
-
}, "de_TagsPerResourceExceededLimitExceptionRes");
|
|
1830
|
-
var de_VersionMismatchExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1831
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1832
|
-
const data = parsedOutput.body;
|
|
1833
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1834
|
-
Message: import_smithy_client.expectString
|
|
1835
|
-
});
|
|
1836
|
-
Object.assign(contents, doc);
|
|
1837
|
-
const exception = new VersionMismatchException({
|
|
1838
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1839
|
-
...contents
|
|
1840
|
-
});
|
|
1841
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1842
|
-
}, "de_VersionMismatchExceptionRes");
|
|
1843
|
-
var de_ChannelInfo = /* @__PURE__ */ __name((output, context) => {
|
|
1844
|
-
return (0, import_smithy_client.take)(output, {
|
|
1845
|
-
ChannelARN: import_smithy_client.expectString,
|
|
1846
|
-
ChannelName: import_smithy_client.expectString,
|
|
1847
|
-
ChannelStatus: import_smithy_client.expectString,
|
|
1848
|
-
ChannelType: import_smithy_client.expectString,
|
|
1849
|
-
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
1850
|
-
SingleMasterConfiguration: import_smithy_client._json,
|
|
1851
|
-
Version: import_smithy_client.expectString
|
|
1852
|
-
});
|
|
1853
|
-
}, "de_ChannelInfo");
|
|
1854
|
-
var de_ChannelInfoList = /* @__PURE__ */ __name((output, context) => {
|
|
1855
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1856
|
-
return de_ChannelInfo(entry, context);
|
|
1857
|
-
});
|
|
1858
|
-
return retVal;
|
|
1859
|
-
}, "de_ChannelInfoList");
|
|
1860
|
-
var de_EdgeAgentStatus = /* @__PURE__ */ __name((output, context) => {
|
|
1861
|
-
return (0, import_smithy_client.take)(output, {
|
|
1862
|
-
LastRecorderStatus: /* @__PURE__ */ __name((_) => de_LastRecorderStatus(_, context), "LastRecorderStatus"),
|
|
1863
|
-
LastUploaderStatus: /* @__PURE__ */ __name((_) => de_LastUploaderStatus(_, context), "LastUploaderStatus")
|
|
1864
|
-
});
|
|
1865
|
-
}, "de_EdgeAgentStatus");
|
|
1866
|
-
var de_LastRecorderStatus = /* @__PURE__ */ __name((output, context) => {
|
|
1867
|
-
return (0, import_smithy_client.take)(output, {
|
|
1868
|
-
JobStatusDetails: import_smithy_client.expectString,
|
|
1869
|
-
LastCollectedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastCollectedTime"),
|
|
1870
|
-
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
1871
|
-
RecorderStatus: import_smithy_client.expectString
|
|
1872
|
-
});
|
|
1873
|
-
}, "de_LastRecorderStatus");
|
|
1874
|
-
var de_LastUploaderStatus = /* @__PURE__ */ __name((output, context) => {
|
|
1875
|
-
return (0, import_smithy_client.take)(output, {
|
|
1876
|
-
JobStatusDetails: import_smithy_client.expectString,
|
|
1877
|
-
LastCollectedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastCollectedTime"),
|
|
1878
|
-
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
1879
|
-
UploaderStatus: import_smithy_client.expectString
|
|
1880
|
-
});
|
|
1881
|
-
}, "de_LastUploaderStatus");
|
|
1882
|
-
var de_ListEdgeAgentConfigurationsEdgeConfig = /* @__PURE__ */ __name((output, context) => {
|
|
1883
|
-
return (0, import_smithy_client.take)(output, {
|
|
1884
|
-
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
1885
|
-
EdgeConfig: import_smithy_client._json,
|
|
1886
|
-
FailedStatusDetails: import_smithy_client.expectString,
|
|
1887
|
-
LastUpdatedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedTime"),
|
|
1888
|
-
StreamARN: import_smithy_client.expectString,
|
|
1889
|
-
StreamName: import_smithy_client.expectString,
|
|
1890
|
-
SyncStatus: import_smithy_client.expectString
|
|
1891
|
-
});
|
|
1892
|
-
}, "de_ListEdgeAgentConfigurationsEdgeConfig");
|
|
1893
|
-
var de_ListEdgeAgentConfigurationsEdgeConfigList = /* @__PURE__ */ __name((output, context) => {
|
|
1894
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1895
|
-
return de_ListEdgeAgentConfigurationsEdgeConfig(entry, context);
|
|
1896
|
-
});
|
|
1897
|
-
return retVal;
|
|
1898
|
-
}, "de_ListEdgeAgentConfigurationsEdgeConfigList");
|
|
1899
|
-
var de_StreamInfo = /* @__PURE__ */ __name((output, context) => {
|
|
1900
|
-
return (0, import_smithy_client.take)(output, {
|
|
1901
|
-
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
|
|
1902
|
-
DataRetentionInHours: import_smithy_client.expectInt32,
|
|
1903
|
-
DeviceName: import_smithy_client.expectString,
|
|
1904
|
-
KmsKeyId: import_smithy_client.expectString,
|
|
1905
|
-
MediaType: import_smithy_client.expectString,
|
|
1906
|
-
Status: import_smithy_client.expectString,
|
|
1907
|
-
StreamARN: import_smithy_client.expectString,
|
|
1908
|
-
StreamName: import_smithy_client.expectString,
|
|
1909
|
-
Version: import_smithy_client.expectString
|
|
1910
|
-
});
|
|
1911
|
-
}, "de_StreamInfo");
|
|
1912
|
-
var de_StreamInfoList = /* @__PURE__ */ __name((output, context) => {
|
|
1913
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1914
|
-
return de_StreamInfo(entry, context);
|
|
1915
|
-
});
|
|
1916
|
-
return retVal;
|
|
1917
|
-
}, "de_StreamInfoList");
|
|
1918
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1919
|
-
httpStatusCode: output.statusCode,
|
|
1920
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1921
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1922
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1923
|
-
}), "deserializeMetadata");
|
|
1924
|
-
|
|
1925
|
-
// src/commands/CreateSignalingChannelCommand.ts
|
|
1926
|
-
var CreateSignalingChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1927
|
-
return [
|
|
1928
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1929
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1930
|
-
];
|
|
1931
|
-
}).s("KinesisVideo_20170930", "CreateSignalingChannel", {}).n("KinesisVideoClient", "CreateSignalingChannelCommand").f(void 0, void 0).ser(se_CreateSignalingChannelCommand).de(de_CreateSignalingChannelCommand).build() {
|
|
1932
|
-
static {
|
|
1933
|
-
__name(this, "CreateSignalingChannelCommand");
|
|
1934
|
-
}
|
|
930
|
+
const de_DeleteSignalingChannelCommand = async (output, context) => {
|
|
931
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
932
|
+
return de_CommandError(output, context);
|
|
933
|
+
}
|
|
934
|
+
const contents = smithyClient.map({
|
|
935
|
+
$metadata: deserializeMetadata(output),
|
|
936
|
+
});
|
|
937
|
+
await smithyClient.collectBody(output.body, context);
|
|
938
|
+
return contents;
|
|
1935
939
|
};
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
];
|
|
1946
|
-
}).s("KinesisVideo_20170930", "CreateStream", {}).n("KinesisVideoClient", "CreateStreamCommand").f(void 0, void 0).ser(se_CreateStreamCommand).de(de_CreateStreamCommand).build() {
|
|
1947
|
-
static {
|
|
1948
|
-
__name(this, "CreateStreamCommand");
|
|
1949
|
-
}
|
|
940
|
+
const de_DeleteStreamCommand = async (output, context) => {
|
|
941
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
942
|
+
return de_CommandError(output, context);
|
|
943
|
+
}
|
|
944
|
+
const contents = smithyClient.map({
|
|
945
|
+
$metadata: deserializeMetadata(output),
|
|
946
|
+
});
|
|
947
|
+
await smithyClient.collectBody(output.body, context);
|
|
948
|
+
return contents;
|
|
1950
949
|
};
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
(
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
950
|
+
const de_DescribeEdgeConfigurationCommand = async (output, context) => {
|
|
951
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
952
|
+
return de_CommandError(output, context);
|
|
953
|
+
}
|
|
954
|
+
const contents = smithyClient.map({
|
|
955
|
+
$metadata: deserializeMetadata(output),
|
|
956
|
+
});
|
|
957
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
958
|
+
const doc = smithyClient.take(data, {
|
|
959
|
+
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
960
|
+
EdgeAgentStatus: (_) => de_EdgeAgentStatus(_),
|
|
961
|
+
EdgeConfig: smithyClient._json,
|
|
962
|
+
FailedStatusDetails: smithyClient.expectString,
|
|
963
|
+
LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
964
|
+
StreamARN: smithyClient.expectString,
|
|
965
|
+
StreamName: smithyClient.expectString,
|
|
966
|
+
SyncStatus: smithyClient.expectString,
|
|
967
|
+
});
|
|
968
|
+
Object.assign(contents, doc);
|
|
969
|
+
return contents;
|
|
1965
970
|
};
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
(
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
})
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
}
|
|
971
|
+
const de_DescribeImageGenerationConfigurationCommand = async (output, context) => {
|
|
972
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
973
|
+
return de_CommandError(output, context);
|
|
974
|
+
}
|
|
975
|
+
const contents = smithyClient.map({
|
|
976
|
+
$metadata: deserializeMetadata(output),
|
|
977
|
+
});
|
|
978
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
979
|
+
const doc = smithyClient.take(data, {
|
|
980
|
+
ImageGenerationConfiguration: smithyClient._json,
|
|
981
|
+
});
|
|
982
|
+
Object.assign(contents, doc);
|
|
983
|
+
return contents;
|
|
1980
984
|
};
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
(
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
985
|
+
const de_DescribeMappedResourceConfigurationCommand = async (output, context) => {
|
|
986
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
987
|
+
return de_CommandError(output, context);
|
|
988
|
+
}
|
|
989
|
+
const contents = smithyClient.map({
|
|
990
|
+
$metadata: deserializeMetadata(output),
|
|
991
|
+
});
|
|
992
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
993
|
+
const doc = smithyClient.take(data, {
|
|
994
|
+
MappedResourceConfigurationList: smithyClient._json,
|
|
995
|
+
NextToken: smithyClient.expectString,
|
|
996
|
+
});
|
|
997
|
+
Object.assign(contents, doc);
|
|
998
|
+
return contents;
|
|
1995
999
|
};
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
(
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
})
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
}
|
|
1000
|
+
const de_DescribeMediaStorageConfigurationCommand = async (output, context) => {
|
|
1001
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1002
|
+
return de_CommandError(output, context);
|
|
1003
|
+
}
|
|
1004
|
+
const contents = smithyClient.map({
|
|
1005
|
+
$metadata: deserializeMetadata(output),
|
|
1006
|
+
});
|
|
1007
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1008
|
+
const doc = smithyClient.take(data, {
|
|
1009
|
+
MediaStorageConfiguration: smithyClient._json,
|
|
1010
|
+
});
|
|
1011
|
+
Object.assign(contents, doc);
|
|
1012
|
+
return contents;
|
|
2010
1013
|
};
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
(
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
})
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
}
|
|
1014
|
+
const de_DescribeNotificationConfigurationCommand = async (output, context) => {
|
|
1015
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1016
|
+
return de_CommandError(output, context);
|
|
1017
|
+
}
|
|
1018
|
+
const contents = smithyClient.map({
|
|
1019
|
+
$metadata: deserializeMetadata(output),
|
|
1020
|
+
});
|
|
1021
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1022
|
+
const doc = smithyClient.take(data, {
|
|
1023
|
+
NotificationConfiguration: smithyClient._json,
|
|
1024
|
+
});
|
|
1025
|
+
Object.assign(contents, doc);
|
|
1026
|
+
return contents;
|
|
2025
1027
|
};
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
(
|
|
2034
|
-
|
|
2035
|
-
|
|
2036
|
-
})
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
}
|
|
1028
|
+
const de_DescribeSignalingChannelCommand = async (output, context) => {
|
|
1029
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1030
|
+
return de_CommandError(output, context);
|
|
1031
|
+
}
|
|
1032
|
+
const contents = smithyClient.map({
|
|
1033
|
+
$metadata: deserializeMetadata(output),
|
|
1034
|
+
});
|
|
1035
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1036
|
+
const doc = smithyClient.take(data, {
|
|
1037
|
+
ChannelInfo: (_) => de_ChannelInfo(_),
|
|
1038
|
+
});
|
|
1039
|
+
Object.assign(contents, doc);
|
|
1040
|
+
return contents;
|
|
2040
1041
|
};
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
(
|
|
2049
|
-
|
|
2050
|
-
|
|
2051
|
-
})
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
|
-
}
|
|
1042
|
+
const de_DescribeStreamCommand = async (output, context) => {
|
|
1043
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1044
|
+
return de_CommandError(output, context);
|
|
1045
|
+
}
|
|
1046
|
+
const contents = smithyClient.map({
|
|
1047
|
+
$metadata: deserializeMetadata(output),
|
|
1048
|
+
});
|
|
1049
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1050
|
+
const doc = smithyClient.take(data, {
|
|
1051
|
+
StreamInfo: (_) => de_StreamInfo(_),
|
|
1052
|
+
});
|
|
1053
|
+
Object.assign(contents, doc);
|
|
1054
|
+
return contents;
|
|
2055
1055
|
};
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
(
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
})
|
|
2067
|
-
|
|
2068
|
-
|
|
2069
|
-
}
|
|
1056
|
+
const de_GetDataEndpointCommand = async (output, context) => {
|
|
1057
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1058
|
+
return de_CommandError(output, context);
|
|
1059
|
+
}
|
|
1060
|
+
const contents = smithyClient.map({
|
|
1061
|
+
$metadata: deserializeMetadata(output),
|
|
1062
|
+
});
|
|
1063
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1064
|
+
const doc = smithyClient.take(data, {
|
|
1065
|
+
DataEndpoint: smithyClient.expectString,
|
|
1066
|
+
});
|
|
1067
|
+
Object.assign(contents, doc);
|
|
1068
|
+
return contents;
|
|
2070
1069
|
};
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
(
|
|
2079
|
-
|
|
2080
|
-
|
|
2081
|
-
})
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
}
|
|
1070
|
+
const de_GetSignalingChannelEndpointCommand = async (output, context) => {
|
|
1071
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1072
|
+
return de_CommandError(output, context);
|
|
1073
|
+
}
|
|
1074
|
+
const contents = smithyClient.map({
|
|
1075
|
+
$metadata: deserializeMetadata(output),
|
|
1076
|
+
});
|
|
1077
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1078
|
+
const doc = smithyClient.take(data, {
|
|
1079
|
+
ResourceEndpointList: smithyClient._json,
|
|
1080
|
+
});
|
|
1081
|
+
Object.assign(contents, doc);
|
|
1082
|
+
return contents;
|
|
2085
1083
|
};
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
|
|
2093
|
-
(
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
1084
|
+
const de_ListEdgeAgentConfigurationsCommand = async (output, context) => {
|
|
1085
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1086
|
+
return de_CommandError(output, context);
|
|
1087
|
+
}
|
|
1088
|
+
const contents = smithyClient.map({
|
|
1089
|
+
$metadata: deserializeMetadata(output),
|
|
1090
|
+
});
|
|
1091
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1092
|
+
const doc = smithyClient.take(data, {
|
|
1093
|
+
EdgeConfigs: (_) => de_ListEdgeAgentConfigurationsEdgeConfigList(_),
|
|
1094
|
+
NextToken: smithyClient.expectString,
|
|
1095
|
+
});
|
|
1096
|
+
Object.assign(contents, doc);
|
|
1097
|
+
return contents;
|
|
2100
1098
|
};
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
(
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
1099
|
+
const de_ListSignalingChannelsCommand = async (output, context) => {
|
|
1100
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1101
|
+
return de_CommandError(output, context);
|
|
1102
|
+
}
|
|
1103
|
+
const contents = smithyClient.map({
|
|
1104
|
+
$metadata: deserializeMetadata(output),
|
|
1105
|
+
});
|
|
1106
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1107
|
+
const doc = smithyClient.take(data, {
|
|
1108
|
+
ChannelInfoList: (_) => de_ChannelInfoList(_),
|
|
1109
|
+
NextToken: smithyClient.expectString,
|
|
1110
|
+
});
|
|
1111
|
+
Object.assign(contents, doc);
|
|
1112
|
+
return contents;
|
|
2115
1113
|
};
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
(
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
1114
|
+
const de_ListStreamsCommand = async (output, context) => {
|
|
1115
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1116
|
+
return de_CommandError(output, context);
|
|
1117
|
+
}
|
|
1118
|
+
const contents = smithyClient.map({
|
|
1119
|
+
$metadata: deserializeMetadata(output),
|
|
1120
|
+
});
|
|
1121
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1122
|
+
const doc = smithyClient.take(data, {
|
|
1123
|
+
NextToken: smithyClient.expectString,
|
|
1124
|
+
StreamInfoList: (_) => de_StreamInfoList(_),
|
|
1125
|
+
});
|
|
1126
|
+
Object.assign(contents, doc);
|
|
1127
|
+
return contents;
|
|
2130
1128
|
};
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
(
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
1129
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1130
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1131
|
+
return de_CommandError(output, context);
|
|
1132
|
+
}
|
|
1133
|
+
const contents = smithyClient.map({
|
|
1134
|
+
$metadata: deserializeMetadata(output),
|
|
1135
|
+
});
|
|
1136
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1137
|
+
const doc = smithyClient.take(data, {
|
|
1138
|
+
NextToken: smithyClient.expectString,
|
|
1139
|
+
Tags: smithyClient._json,
|
|
1140
|
+
});
|
|
1141
|
+
Object.assign(contents, doc);
|
|
1142
|
+
return contents;
|
|
2145
1143
|
};
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
(
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
1144
|
+
const de_ListTagsForStreamCommand = async (output, context) => {
|
|
1145
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1146
|
+
return de_CommandError(output, context);
|
|
1147
|
+
}
|
|
1148
|
+
const contents = smithyClient.map({
|
|
1149
|
+
$metadata: deserializeMetadata(output),
|
|
1150
|
+
});
|
|
1151
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1152
|
+
const doc = smithyClient.take(data, {
|
|
1153
|
+
NextToken: smithyClient.expectString,
|
|
1154
|
+
Tags: smithyClient._json,
|
|
1155
|
+
});
|
|
1156
|
+
Object.assign(contents, doc);
|
|
1157
|
+
return contents;
|
|
2160
1158
|
};
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
(
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
1159
|
+
const de_StartEdgeConfigurationUpdateCommand = async (output, context) => {
|
|
1160
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1161
|
+
return de_CommandError(output, context);
|
|
1162
|
+
}
|
|
1163
|
+
const contents = smithyClient.map({
|
|
1164
|
+
$metadata: deserializeMetadata(output),
|
|
1165
|
+
});
|
|
1166
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1167
|
+
const doc = smithyClient.take(data, {
|
|
1168
|
+
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1169
|
+
EdgeConfig: smithyClient._json,
|
|
1170
|
+
FailedStatusDetails: smithyClient.expectString,
|
|
1171
|
+
LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1172
|
+
StreamARN: smithyClient.expectString,
|
|
1173
|
+
StreamName: smithyClient.expectString,
|
|
1174
|
+
SyncStatus: smithyClient.expectString,
|
|
1175
|
+
});
|
|
1176
|
+
Object.assign(contents, doc);
|
|
1177
|
+
return contents;
|
|
2175
1178
|
};
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
];
|
|
2186
|
-
}).s("KinesisVideo_20170930", "ListTagsForResource", {}).n("KinesisVideoClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
2187
|
-
static {
|
|
2188
|
-
__name(this, "ListTagsForResourceCommand");
|
|
2189
|
-
}
|
|
1179
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1180
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1181
|
+
return de_CommandError(output, context);
|
|
1182
|
+
}
|
|
1183
|
+
const contents = smithyClient.map({
|
|
1184
|
+
$metadata: deserializeMetadata(output),
|
|
1185
|
+
});
|
|
1186
|
+
await smithyClient.collectBody(output.body, context);
|
|
1187
|
+
return contents;
|
|
2190
1188
|
};
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
];
|
|
2201
|
-
}).s("KinesisVideo_20170930", "ListTagsForStream", {}).n("KinesisVideoClient", "ListTagsForStreamCommand").f(void 0, void 0).ser(se_ListTagsForStreamCommand).de(de_ListTagsForStreamCommand).build() {
|
|
2202
|
-
static {
|
|
2203
|
-
__name(this, "ListTagsForStreamCommand");
|
|
2204
|
-
}
|
|
1189
|
+
const de_TagStreamCommand = async (output, context) => {
|
|
1190
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1191
|
+
return de_CommandError(output, context);
|
|
1192
|
+
}
|
|
1193
|
+
const contents = smithyClient.map({
|
|
1194
|
+
$metadata: deserializeMetadata(output),
|
|
1195
|
+
});
|
|
1196
|
+
await smithyClient.collectBody(output.body, context);
|
|
1197
|
+
return contents;
|
|
2205
1198
|
};
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
];
|
|
2216
|
-
}).s("KinesisVideo_20170930", "StartEdgeConfigurationUpdate", {}).n("KinesisVideoClient", "StartEdgeConfigurationUpdateCommand").f(StartEdgeConfigurationUpdateInputFilterSensitiveLog, StartEdgeConfigurationUpdateOutputFilterSensitiveLog).ser(se_StartEdgeConfigurationUpdateCommand).de(de_StartEdgeConfigurationUpdateCommand).build() {
|
|
2217
|
-
static {
|
|
2218
|
-
__name(this, "StartEdgeConfigurationUpdateCommand");
|
|
2219
|
-
}
|
|
1199
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1200
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1201
|
+
return de_CommandError(output, context);
|
|
1202
|
+
}
|
|
1203
|
+
const contents = smithyClient.map({
|
|
1204
|
+
$metadata: deserializeMetadata(output),
|
|
1205
|
+
});
|
|
1206
|
+
await smithyClient.collectBody(output.body, context);
|
|
1207
|
+
return contents;
|
|
2220
1208
|
};
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
];
|
|
2231
|
-
}).s("KinesisVideo_20170930", "TagResource", {}).n("KinesisVideoClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
2232
|
-
static {
|
|
2233
|
-
__name(this, "TagResourceCommand");
|
|
2234
|
-
}
|
|
1209
|
+
const de_UntagStreamCommand = async (output, context) => {
|
|
1210
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1211
|
+
return de_CommandError(output, context);
|
|
1212
|
+
}
|
|
1213
|
+
const contents = smithyClient.map({
|
|
1214
|
+
$metadata: deserializeMetadata(output),
|
|
1215
|
+
});
|
|
1216
|
+
await smithyClient.collectBody(output.body, context);
|
|
1217
|
+
return contents;
|
|
2235
1218
|
};
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
];
|
|
2246
|
-
}).s("KinesisVideo_20170930", "TagStream", {}).n("KinesisVideoClient", "TagStreamCommand").f(void 0, void 0).ser(se_TagStreamCommand).de(de_TagStreamCommand).build() {
|
|
2247
|
-
static {
|
|
2248
|
-
__name(this, "TagStreamCommand");
|
|
2249
|
-
}
|
|
1219
|
+
const de_UpdateDataRetentionCommand = async (output, context) => {
|
|
1220
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1221
|
+
return de_CommandError(output, context);
|
|
1222
|
+
}
|
|
1223
|
+
const contents = smithyClient.map({
|
|
1224
|
+
$metadata: deserializeMetadata(output),
|
|
1225
|
+
});
|
|
1226
|
+
await smithyClient.collectBody(output.body, context);
|
|
1227
|
+
return contents;
|
|
2250
1228
|
};
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
];
|
|
2261
|
-
}).s("KinesisVideo_20170930", "UntagResource", {}).n("KinesisVideoClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
2262
|
-
static {
|
|
2263
|
-
__name(this, "UntagResourceCommand");
|
|
2264
|
-
}
|
|
1229
|
+
const de_UpdateImageGenerationConfigurationCommand = async (output, context) => {
|
|
1230
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1231
|
+
return de_CommandError(output, context);
|
|
1232
|
+
}
|
|
1233
|
+
const contents = smithyClient.map({
|
|
1234
|
+
$metadata: deserializeMetadata(output),
|
|
1235
|
+
});
|
|
1236
|
+
await smithyClient.collectBody(output.body, context);
|
|
1237
|
+
return contents;
|
|
2265
1238
|
};
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
];
|
|
2276
|
-
}).s("KinesisVideo_20170930", "UntagStream", {}).n("KinesisVideoClient", "UntagStreamCommand").f(void 0, void 0).ser(se_UntagStreamCommand).de(de_UntagStreamCommand).build() {
|
|
2277
|
-
static {
|
|
2278
|
-
__name(this, "UntagStreamCommand");
|
|
2279
|
-
}
|
|
1239
|
+
const de_UpdateMediaStorageConfigurationCommand = async (output, context) => {
|
|
1240
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1241
|
+
return de_CommandError(output, context);
|
|
1242
|
+
}
|
|
1243
|
+
const contents = smithyClient.map({
|
|
1244
|
+
$metadata: deserializeMetadata(output),
|
|
1245
|
+
});
|
|
1246
|
+
await smithyClient.collectBody(output.body, context);
|
|
1247
|
+
return contents;
|
|
2280
1248
|
};
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
];
|
|
2291
|
-
}).s("KinesisVideo_20170930", "UpdateDataRetention", {}).n("KinesisVideoClient", "UpdateDataRetentionCommand").f(void 0, void 0).ser(se_UpdateDataRetentionCommand).de(de_UpdateDataRetentionCommand).build() {
|
|
2292
|
-
static {
|
|
2293
|
-
__name(this, "UpdateDataRetentionCommand");
|
|
2294
|
-
}
|
|
1249
|
+
const de_UpdateNotificationConfigurationCommand = async (output, context) => {
|
|
1250
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1251
|
+
return de_CommandError(output, context);
|
|
1252
|
+
}
|
|
1253
|
+
const contents = smithyClient.map({
|
|
1254
|
+
$metadata: deserializeMetadata(output),
|
|
1255
|
+
});
|
|
1256
|
+
await smithyClient.collectBody(output.body, context);
|
|
1257
|
+
return contents;
|
|
2295
1258
|
};
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
];
|
|
2306
|
-
}).s("KinesisVideo_20170930", "UpdateImageGenerationConfiguration", {}).n("KinesisVideoClient", "UpdateImageGenerationConfigurationCommand").f(void 0, void 0).ser(se_UpdateImageGenerationConfigurationCommand).de(de_UpdateImageGenerationConfigurationCommand).build() {
|
|
2307
|
-
static {
|
|
2308
|
-
__name(this, "UpdateImageGenerationConfigurationCommand");
|
|
2309
|
-
}
|
|
1259
|
+
const de_UpdateSignalingChannelCommand = async (output, context) => {
|
|
1260
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1261
|
+
return de_CommandError(output, context);
|
|
1262
|
+
}
|
|
1263
|
+
const contents = smithyClient.map({
|
|
1264
|
+
$metadata: deserializeMetadata(output),
|
|
1265
|
+
});
|
|
1266
|
+
await smithyClient.collectBody(output.body, context);
|
|
1267
|
+
return contents;
|
|
2310
1268
|
};
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
1269
|
+
const de_UpdateStreamCommand = async (output, context) => {
|
|
1270
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1271
|
+
return de_CommandError(output, context);
|
|
1272
|
+
}
|
|
1273
|
+
const contents = smithyClient.map({
|
|
1274
|
+
$metadata: deserializeMetadata(output),
|
|
1275
|
+
});
|
|
1276
|
+
await smithyClient.collectBody(output.body, context);
|
|
1277
|
+
return contents;
|
|
1278
|
+
};
|
|
1279
|
+
const de_CommandError = async (output, context) => {
|
|
1280
|
+
const parsedOutput = {
|
|
1281
|
+
...output,
|
|
1282
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1283
|
+
};
|
|
1284
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1285
|
+
switch (errorCode) {
|
|
1286
|
+
case "AccessDeniedException":
|
|
1287
|
+
case "com.amazonaws.kinesisvideo#AccessDeniedException":
|
|
1288
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1289
|
+
case "AccountChannelLimitExceededException":
|
|
1290
|
+
case "com.amazonaws.kinesisvideo#AccountChannelLimitExceededException":
|
|
1291
|
+
throw await de_AccountChannelLimitExceededExceptionRes(parsedOutput);
|
|
1292
|
+
case "ClientLimitExceededException":
|
|
1293
|
+
case "com.amazonaws.kinesisvideo#ClientLimitExceededException":
|
|
1294
|
+
throw await de_ClientLimitExceededExceptionRes(parsedOutput);
|
|
1295
|
+
case "InvalidArgumentException":
|
|
1296
|
+
case "com.amazonaws.kinesisvideo#InvalidArgumentException":
|
|
1297
|
+
throw await de_InvalidArgumentExceptionRes(parsedOutput);
|
|
1298
|
+
case "ResourceInUseException":
|
|
1299
|
+
case "com.amazonaws.kinesisvideo#ResourceInUseException":
|
|
1300
|
+
throw await de_ResourceInUseExceptionRes(parsedOutput);
|
|
1301
|
+
case "TagsPerResourceExceededLimitException":
|
|
1302
|
+
case "com.amazonaws.kinesisvideo#TagsPerResourceExceededLimitException":
|
|
1303
|
+
throw await de_TagsPerResourceExceededLimitExceptionRes(parsedOutput);
|
|
1304
|
+
case "AccountStreamLimitExceededException":
|
|
1305
|
+
case "com.amazonaws.kinesisvideo#AccountStreamLimitExceededException":
|
|
1306
|
+
throw await de_AccountStreamLimitExceededExceptionRes(parsedOutput);
|
|
1307
|
+
case "DeviceStreamLimitExceededException":
|
|
1308
|
+
case "com.amazonaws.kinesisvideo#DeviceStreamLimitExceededException":
|
|
1309
|
+
throw await de_DeviceStreamLimitExceededExceptionRes(parsedOutput);
|
|
1310
|
+
case "InvalidDeviceException":
|
|
1311
|
+
case "com.amazonaws.kinesisvideo#InvalidDeviceException":
|
|
1312
|
+
throw await de_InvalidDeviceExceptionRes(parsedOutput);
|
|
1313
|
+
case "ResourceNotFoundException":
|
|
1314
|
+
case "com.amazonaws.kinesisvideo#ResourceNotFoundException":
|
|
1315
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1316
|
+
case "StreamEdgeConfigurationNotFoundException":
|
|
1317
|
+
case "com.amazonaws.kinesisvideo#StreamEdgeConfigurationNotFoundException":
|
|
1318
|
+
throw await de_StreamEdgeConfigurationNotFoundExceptionRes(parsedOutput);
|
|
1319
|
+
case "VersionMismatchException":
|
|
1320
|
+
case "com.amazonaws.kinesisvideo#VersionMismatchException":
|
|
1321
|
+
throw await de_VersionMismatchExceptionRes(parsedOutput);
|
|
1322
|
+
case "NotAuthorizedException":
|
|
1323
|
+
case "com.amazonaws.kinesisvideo#NotAuthorizedException":
|
|
1324
|
+
throw await de_NotAuthorizedExceptionRes(parsedOutput);
|
|
1325
|
+
case "InvalidResourceFormatException":
|
|
1326
|
+
case "com.amazonaws.kinesisvideo#InvalidResourceFormatException":
|
|
1327
|
+
throw await de_InvalidResourceFormatExceptionRes(parsedOutput);
|
|
1328
|
+
case "NoDataRetentionException":
|
|
1329
|
+
case "com.amazonaws.kinesisvideo#NoDataRetentionException":
|
|
1330
|
+
throw await de_NoDataRetentionExceptionRes(parsedOutput);
|
|
1331
|
+
default:
|
|
1332
|
+
const parsedBody = parsedOutput.body;
|
|
1333
|
+
return throwDefaultError({
|
|
1334
|
+
output,
|
|
1335
|
+
parsedBody,
|
|
1336
|
+
errorCode,
|
|
1337
|
+
});
|
|
1338
|
+
}
|
|
2325
1339
|
};
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
}
|
|
1340
|
+
const throwDefaultError = smithyClient.withBaseException(KinesisVideoServiceException);
|
|
1341
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1342
|
+
const contents = smithyClient.map({});
|
|
1343
|
+
const data = parsedOutput.body;
|
|
1344
|
+
const doc = smithyClient.take(data, {
|
|
1345
|
+
Message: smithyClient.expectString,
|
|
1346
|
+
});
|
|
1347
|
+
Object.assign(contents, doc);
|
|
1348
|
+
const exception = new AccessDeniedException({
|
|
1349
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1350
|
+
...contents,
|
|
1351
|
+
});
|
|
1352
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
2340
1353
|
};
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
})
|
|
2352
|
-
|
|
2353
|
-
__name(this, "UpdateSignalingChannelCommand");
|
|
2354
|
-
}
|
|
1354
|
+
const de_AccountChannelLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1355
|
+
const contents = smithyClient.map({});
|
|
1356
|
+
const data = parsedOutput.body;
|
|
1357
|
+
const doc = smithyClient.take(data, {
|
|
1358
|
+
Message: smithyClient.expectString,
|
|
1359
|
+
});
|
|
1360
|
+
Object.assign(contents, doc);
|
|
1361
|
+
const exception = new AccountChannelLimitExceededException({
|
|
1362
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1363
|
+
...contents,
|
|
1364
|
+
});
|
|
1365
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
2355
1366
|
};
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
})
|
|
2367
|
-
|
|
2368
|
-
__name(this, "UpdateStreamCommand");
|
|
2369
|
-
}
|
|
1367
|
+
const de_AccountStreamLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1368
|
+
const contents = smithyClient.map({});
|
|
1369
|
+
const data = parsedOutput.body;
|
|
1370
|
+
const doc = smithyClient.take(data, {
|
|
1371
|
+
Message: smithyClient.expectString,
|
|
1372
|
+
});
|
|
1373
|
+
Object.assign(contents, doc);
|
|
1374
|
+
const exception = new AccountStreamLimitExceededException({
|
|
1375
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1376
|
+
...contents,
|
|
1377
|
+
});
|
|
1378
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
2370
1379
|
};
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
};
|
|
2410
|
-
(
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2426
|
-
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
1380
|
+
const de_ClientLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1381
|
+
const contents = smithyClient.map({});
|
|
1382
|
+
const data = parsedOutput.body;
|
|
1383
|
+
const doc = smithyClient.take(data, {
|
|
1384
|
+
Message: smithyClient.expectString,
|
|
1385
|
+
});
|
|
1386
|
+
Object.assign(contents, doc);
|
|
1387
|
+
const exception = new ClientLimitExceededException({
|
|
1388
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1389
|
+
...contents,
|
|
1390
|
+
});
|
|
1391
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1392
|
+
};
|
|
1393
|
+
const de_DeviceStreamLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1394
|
+
const contents = smithyClient.map({});
|
|
1395
|
+
const data = parsedOutput.body;
|
|
1396
|
+
const doc = smithyClient.take(data, {
|
|
1397
|
+
Message: smithyClient.expectString,
|
|
1398
|
+
});
|
|
1399
|
+
Object.assign(contents, doc);
|
|
1400
|
+
const exception = new DeviceStreamLimitExceededException({
|
|
1401
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1402
|
+
...contents,
|
|
1403
|
+
});
|
|
1404
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1405
|
+
};
|
|
1406
|
+
const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
|
|
1407
|
+
const contents = smithyClient.map({});
|
|
1408
|
+
const data = parsedOutput.body;
|
|
1409
|
+
const doc = smithyClient.take(data, {
|
|
1410
|
+
Message: smithyClient.expectString,
|
|
1411
|
+
});
|
|
1412
|
+
Object.assign(contents, doc);
|
|
1413
|
+
const exception = new InvalidArgumentException({
|
|
1414
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1415
|
+
...contents,
|
|
1416
|
+
});
|
|
1417
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1418
|
+
};
|
|
1419
|
+
const de_InvalidDeviceExceptionRes = async (parsedOutput, context) => {
|
|
1420
|
+
const contents = smithyClient.map({});
|
|
1421
|
+
const data = parsedOutput.body;
|
|
1422
|
+
const doc = smithyClient.take(data, {
|
|
1423
|
+
Message: smithyClient.expectString,
|
|
1424
|
+
});
|
|
1425
|
+
Object.assign(contents, doc);
|
|
1426
|
+
const exception = new InvalidDeviceException({
|
|
1427
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1428
|
+
...contents,
|
|
1429
|
+
});
|
|
1430
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1431
|
+
};
|
|
1432
|
+
const de_InvalidResourceFormatExceptionRes = async (parsedOutput, context) => {
|
|
1433
|
+
const contents = smithyClient.map({});
|
|
1434
|
+
const data = parsedOutput.body;
|
|
1435
|
+
const doc = smithyClient.take(data, {
|
|
1436
|
+
Message: smithyClient.expectString,
|
|
1437
|
+
});
|
|
1438
|
+
Object.assign(contents, doc);
|
|
1439
|
+
const exception = new InvalidResourceFormatException({
|
|
1440
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1441
|
+
...contents,
|
|
1442
|
+
});
|
|
1443
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1444
|
+
};
|
|
1445
|
+
const de_NoDataRetentionExceptionRes = async (parsedOutput, context) => {
|
|
1446
|
+
const contents = smithyClient.map({});
|
|
1447
|
+
const data = parsedOutput.body;
|
|
1448
|
+
const doc = smithyClient.take(data, {
|
|
1449
|
+
Message: smithyClient.expectString,
|
|
1450
|
+
});
|
|
1451
|
+
Object.assign(contents, doc);
|
|
1452
|
+
const exception = new NoDataRetentionException({
|
|
1453
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1454
|
+
...contents,
|
|
1455
|
+
});
|
|
1456
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1457
|
+
};
|
|
1458
|
+
const de_NotAuthorizedExceptionRes = async (parsedOutput, context) => {
|
|
1459
|
+
const contents = smithyClient.map({});
|
|
1460
|
+
const data = parsedOutput.body;
|
|
1461
|
+
const doc = smithyClient.take(data, {
|
|
1462
|
+
Message: smithyClient.expectString,
|
|
1463
|
+
});
|
|
1464
|
+
Object.assign(contents, doc);
|
|
1465
|
+
const exception = new NotAuthorizedException({
|
|
1466
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1467
|
+
...contents,
|
|
1468
|
+
});
|
|
1469
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1470
|
+
};
|
|
1471
|
+
const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
|
|
1472
|
+
const contents = smithyClient.map({});
|
|
1473
|
+
const data = parsedOutput.body;
|
|
1474
|
+
const doc = smithyClient.take(data, {
|
|
1475
|
+
Message: smithyClient.expectString,
|
|
1476
|
+
});
|
|
1477
|
+
Object.assign(contents, doc);
|
|
1478
|
+
const exception = new ResourceInUseException({
|
|
1479
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1480
|
+
...contents,
|
|
1481
|
+
});
|
|
1482
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1483
|
+
};
|
|
1484
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1485
|
+
const contents = smithyClient.map({});
|
|
1486
|
+
const data = parsedOutput.body;
|
|
1487
|
+
const doc = smithyClient.take(data, {
|
|
1488
|
+
Message: smithyClient.expectString,
|
|
1489
|
+
});
|
|
1490
|
+
Object.assign(contents, doc);
|
|
1491
|
+
const exception = new ResourceNotFoundException({
|
|
1492
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1493
|
+
...contents,
|
|
1494
|
+
});
|
|
1495
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1496
|
+
};
|
|
1497
|
+
const de_StreamEdgeConfigurationNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1498
|
+
const contents = smithyClient.map({});
|
|
1499
|
+
const data = parsedOutput.body;
|
|
1500
|
+
const doc = smithyClient.take(data, {
|
|
1501
|
+
Message: smithyClient.expectString,
|
|
1502
|
+
});
|
|
1503
|
+
Object.assign(contents, doc);
|
|
1504
|
+
const exception = new StreamEdgeConfigurationNotFoundException({
|
|
1505
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1506
|
+
...contents,
|
|
1507
|
+
});
|
|
1508
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1509
|
+
};
|
|
1510
|
+
const de_TagsPerResourceExceededLimitExceptionRes = async (parsedOutput, context) => {
|
|
1511
|
+
const contents = smithyClient.map({});
|
|
1512
|
+
const data = parsedOutput.body;
|
|
1513
|
+
const doc = smithyClient.take(data, {
|
|
1514
|
+
Message: smithyClient.expectString,
|
|
1515
|
+
});
|
|
1516
|
+
Object.assign(contents, doc);
|
|
1517
|
+
const exception = new TagsPerResourceExceededLimitException({
|
|
1518
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1519
|
+
...contents,
|
|
1520
|
+
});
|
|
1521
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1522
|
+
};
|
|
1523
|
+
const de_VersionMismatchExceptionRes = async (parsedOutput, context) => {
|
|
1524
|
+
const contents = smithyClient.map({});
|
|
1525
|
+
const data = parsedOutput.body;
|
|
1526
|
+
const doc = smithyClient.take(data, {
|
|
1527
|
+
Message: smithyClient.expectString,
|
|
1528
|
+
});
|
|
1529
|
+
Object.assign(contents, doc);
|
|
1530
|
+
const exception = new VersionMismatchException({
|
|
1531
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1532
|
+
...contents,
|
|
1533
|
+
});
|
|
1534
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1535
|
+
};
|
|
1536
|
+
const de_ChannelInfo = (output, context) => {
|
|
1537
|
+
return smithyClient.take(output, {
|
|
1538
|
+
ChannelARN: smithyClient.expectString,
|
|
1539
|
+
ChannelName: smithyClient.expectString,
|
|
1540
|
+
ChannelStatus: smithyClient.expectString,
|
|
1541
|
+
ChannelType: smithyClient.expectString,
|
|
1542
|
+
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1543
|
+
SingleMasterConfiguration: smithyClient._json,
|
|
1544
|
+
Version: smithyClient.expectString,
|
|
1545
|
+
});
|
|
1546
|
+
};
|
|
1547
|
+
const de_ChannelInfoList = (output, context) => {
|
|
1548
|
+
const retVal = (output || [])
|
|
1549
|
+
.filter((e) => e != null)
|
|
1550
|
+
.map((entry) => {
|
|
1551
|
+
return de_ChannelInfo(entry);
|
|
1552
|
+
});
|
|
1553
|
+
return retVal;
|
|
1554
|
+
};
|
|
1555
|
+
const de_EdgeAgentStatus = (output, context) => {
|
|
1556
|
+
return smithyClient.take(output, {
|
|
1557
|
+
LastRecorderStatus: (_) => de_LastRecorderStatus(_),
|
|
1558
|
+
LastUploaderStatus: (_) => de_LastUploaderStatus(_),
|
|
1559
|
+
});
|
|
1560
|
+
};
|
|
1561
|
+
const de_LastRecorderStatus = (output, context) => {
|
|
1562
|
+
return smithyClient.take(output, {
|
|
1563
|
+
JobStatusDetails: smithyClient.expectString,
|
|
1564
|
+
LastCollectedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1565
|
+
LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1566
|
+
RecorderStatus: smithyClient.expectString,
|
|
1567
|
+
});
|
|
1568
|
+
};
|
|
1569
|
+
const de_LastUploaderStatus = (output, context) => {
|
|
1570
|
+
return smithyClient.take(output, {
|
|
1571
|
+
JobStatusDetails: smithyClient.expectString,
|
|
1572
|
+
LastCollectedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1573
|
+
LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1574
|
+
UploaderStatus: smithyClient.expectString,
|
|
1575
|
+
});
|
|
1576
|
+
};
|
|
1577
|
+
const de_ListEdgeAgentConfigurationsEdgeConfig = (output, context) => {
|
|
1578
|
+
return smithyClient.take(output, {
|
|
1579
|
+
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1580
|
+
EdgeConfig: smithyClient._json,
|
|
1581
|
+
FailedStatusDetails: smithyClient.expectString,
|
|
1582
|
+
LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1583
|
+
StreamARN: smithyClient.expectString,
|
|
1584
|
+
StreamName: smithyClient.expectString,
|
|
1585
|
+
SyncStatus: smithyClient.expectString,
|
|
1586
|
+
});
|
|
1587
|
+
};
|
|
1588
|
+
const de_ListEdgeAgentConfigurationsEdgeConfigList = (output, context) => {
|
|
1589
|
+
const retVal = (output || [])
|
|
1590
|
+
.filter((e) => e != null)
|
|
1591
|
+
.map((entry) => {
|
|
1592
|
+
return de_ListEdgeAgentConfigurationsEdgeConfig(entry);
|
|
1593
|
+
});
|
|
1594
|
+
return retVal;
|
|
1595
|
+
};
|
|
1596
|
+
const de_StreamInfo = (output, context) => {
|
|
1597
|
+
return smithyClient.take(output, {
|
|
1598
|
+
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
1599
|
+
DataRetentionInHours: smithyClient.expectInt32,
|
|
1600
|
+
DeviceName: smithyClient.expectString,
|
|
1601
|
+
KmsKeyId: smithyClient.expectString,
|
|
1602
|
+
MediaType: smithyClient.expectString,
|
|
1603
|
+
Status: smithyClient.expectString,
|
|
1604
|
+
StreamARN: smithyClient.expectString,
|
|
1605
|
+
StreamName: smithyClient.expectString,
|
|
1606
|
+
Version: smithyClient.expectString,
|
|
1607
|
+
});
|
|
1608
|
+
};
|
|
1609
|
+
const de_StreamInfoList = (output, context) => {
|
|
1610
|
+
const retVal = (output || [])
|
|
1611
|
+
.filter((e) => e != null)
|
|
1612
|
+
.map((entry) => {
|
|
1613
|
+
return de_StreamInfo(entry);
|
|
1614
|
+
});
|
|
1615
|
+
return retVal;
|
|
1616
|
+
};
|
|
1617
|
+
const deserializeMetadata = (output) => ({
|
|
1618
|
+
httpStatusCode: output.statusCode,
|
|
1619
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1620
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1621
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
2509
1622
|
});
|
|
2510
1623
|
|
|
1624
|
+
class CreateSignalingChannelCommand extends smithyClient.Command
|
|
1625
|
+
.classBuilder()
|
|
1626
|
+
.ep(commonParams)
|
|
1627
|
+
.m(function (Command, cs, config, o) {
|
|
1628
|
+
return [
|
|
1629
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1630
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1631
|
+
];
|
|
1632
|
+
})
|
|
1633
|
+
.s("KinesisVideo_20170930", "CreateSignalingChannel", {})
|
|
1634
|
+
.n("KinesisVideoClient", "CreateSignalingChannelCommand")
|
|
1635
|
+
.f(void 0, void 0)
|
|
1636
|
+
.ser(se_CreateSignalingChannelCommand)
|
|
1637
|
+
.de(de_CreateSignalingChannelCommand)
|
|
1638
|
+
.build() {
|
|
1639
|
+
}
|
|
1640
|
+
|
|
1641
|
+
class CreateStreamCommand extends smithyClient.Command
|
|
1642
|
+
.classBuilder()
|
|
1643
|
+
.ep(commonParams)
|
|
1644
|
+
.m(function (Command, cs, config, o) {
|
|
1645
|
+
return [
|
|
1646
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1647
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1648
|
+
];
|
|
1649
|
+
})
|
|
1650
|
+
.s("KinesisVideo_20170930", "CreateStream", {})
|
|
1651
|
+
.n("KinesisVideoClient", "CreateStreamCommand")
|
|
1652
|
+
.f(void 0, void 0)
|
|
1653
|
+
.ser(se_CreateStreamCommand)
|
|
1654
|
+
.de(de_CreateStreamCommand)
|
|
1655
|
+
.build() {
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
class DeleteEdgeConfigurationCommand extends smithyClient.Command
|
|
1659
|
+
.classBuilder()
|
|
1660
|
+
.ep(commonParams)
|
|
1661
|
+
.m(function (Command, cs, config, o) {
|
|
1662
|
+
return [
|
|
1663
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1664
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1665
|
+
];
|
|
1666
|
+
})
|
|
1667
|
+
.s("KinesisVideo_20170930", "DeleteEdgeConfiguration", {})
|
|
1668
|
+
.n("KinesisVideoClient", "DeleteEdgeConfigurationCommand")
|
|
1669
|
+
.f(void 0, void 0)
|
|
1670
|
+
.ser(se_DeleteEdgeConfigurationCommand)
|
|
1671
|
+
.de(de_DeleteEdgeConfigurationCommand)
|
|
1672
|
+
.build() {
|
|
1673
|
+
}
|
|
1674
|
+
|
|
1675
|
+
class DeleteSignalingChannelCommand extends smithyClient.Command
|
|
1676
|
+
.classBuilder()
|
|
1677
|
+
.ep(commonParams)
|
|
1678
|
+
.m(function (Command, cs, config, o) {
|
|
1679
|
+
return [
|
|
1680
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1681
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1682
|
+
];
|
|
1683
|
+
})
|
|
1684
|
+
.s("KinesisVideo_20170930", "DeleteSignalingChannel", {})
|
|
1685
|
+
.n("KinesisVideoClient", "DeleteSignalingChannelCommand")
|
|
1686
|
+
.f(void 0, void 0)
|
|
1687
|
+
.ser(se_DeleteSignalingChannelCommand)
|
|
1688
|
+
.de(de_DeleteSignalingChannelCommand)
|
|
1689
|
+
.build() {
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
class DeleteStreamCommand extends smithyClient.Command
|
|
1693
|
+
.classBuilder()
|
|
1694
|
+
.ep(commonParams)
|
|
1695
|
+
.m(function (Command, cs, config, o) {
|
|
1696
|
+
return [
|
|
1697
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1698
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1699
|
+
];
|
|
1700
|
+
})
|
|
1701
|
+
.s("KinesisVideo_20170930", "DeleteStream", {})
|
|
1702
|
+
.n("KinesisVideoClient", "DeleteStreamCommand")
|
|
1703
|
+
.f(void 0, void 0)
|
|
1704
|
+
.ser(se_DeleteStreamCommand)
|
|
1705
|
+
.de(de_DeleteStreamCommand)
|
|
1706
|
+
.build() {
|
|
1707
|
+
}
|
|
1708
|
+
|
|
1709
|
+
class DescribeEdgeConfigurationCommand extends smithyClient.Command
|
|
1710
|
+
.classBuilder()
|
|
1711
|
+
.ep(commonParams)
|
|
1712
|
+
.m(function (Command, cs, config, o) {
|
|
1713
|
+
return [
|
|
1714
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1715
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1716
|
+
];
|
|
1717
|
+
})
|
|
1718
|
+
.s("KinesisVideo_20170930", "DescribeEdgeConfiguration", {})
|
|
1719
|
+
.n("KinesisVideoClient", "DescribeEdgeConfigurationCommand")
|
|
1720
|
+
.f(void 0, DescribeEdgeConfigurationOutputFilterSensitiveLog)
|
|
1721
|
+
.ser(se_DescribeEdgeConfigurationCommand)
|
|
1722
|
+
.de(de_DescribeEdgeConfigurationCommand)
|
|
1723
|
+
.build() {
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
class DescribeImageGenerationConfigurationCommand extends smithyClient.Command
|
|
1727
|
+
.classBuilder()
|
|
1728
|
+
.ep(commonParams)
|
|
1729
|
+
.m(function (Command, cs, config, o) {
|
|
1730
|
+
return [
|
|
1731
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1732
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1733
|
+
];
|
|
1734
|
+
})
|
|
1735
|
+
.s("KinesisVideo_20170930", "DescribeImageGenerationConfiguration", {})
|
|
1736
|
+
.n("KinesisVideoClient", "DescribeImageGenerationConfigurationCommand")
|
|
1737
|
+
.f(void 0, void 0)
|
|
1738
|
+
.ser(se_DescribeImageGenerationConfigurationCommand)
|
|
1739
|
+
.de(de_DescribeImageGenerationConfigurationCommand)
|
|
1740
|
+
.build() {
|
|
1741
|
+
}
|
|
1742
|
+
|
|
1743
|
+
class DescribeMappedResourceConfigurationCommand extends smithyClient.Command
|
|
1744
|
+
.classBuilder()
|
|
1745
|
+
.ep(commonParams)
|
|
1746
|
+
.m(function (Command, cs, config, o) {
|
|
1747
|
+
return [
|
|
1748
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1749
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1750
|
+
];
|
|
1751
|
+
})
|
|
1752
|
+
.s("KinesisVideo_20170930", "DescribeMappedResourceConfiguration", {})
|
|
1753
|
+
.n("KinesisVideoClient", "DescribeMappedResourceConfigurationCommand")
|
|
1754
|
+
.f(void 0, void 0)
|
|
1755
|
+
.ser(se_DescribeMappedResourceConfigurationCommand)
|
|
1756
|
+
.de(de_DescribeMappedResourceConfigurationCommand)
|
|
1757
|
+
.build() {
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1760
|
+
class DescribeMediaStorageConfigurationCommand extends smithyClient.Command
|
|
1761
|
+
.classBuilder()
|
|
1762
|
+
.ep(commonParams)
|
|
1763
|
+
.m(function (Command, cs, config, o) {
|
|
1764
|
+
return [
|
|
1765
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1766
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1767
|
+
];
|
|
1768
|
+
})
|
|
1769
|
+
.s("KinesisVideo_20170930", "DescribeMediaStorageConfiguration", {})
|
|
1770
|
+
.n("KinesisVideoClient", "DescribeMediaStorageConfigurationCommand")
|
|
1771
|
+
.f(void 0, void 0)
|
|
1772
|
+
.ser(se_DescribeMediaStorageConfigurationCommand)
|
|
1773
|
+
.de(de_DescribeMediaStorageConfigurationCommand)
|
|
1774
|
+
.build() {
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
class DescribeNotificationConfigurationCommand extends smithyClient.Command
|
|
1778
|
+
.classBuilder()
|
|
1779
|
+
.ep(commonParams)
|
|
1780
|
+
.m(function (Command, cs, config, o) {
|
|
1781
|
+
return [
|
|
1782
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1783
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1784
|
+
];
|
|
1785
|
+
})
|
|
1786
|
+
.s("KinesisVideo_20170930", "DescribeNotificationConfiguration", {})
|
|
1787
|
+
.n("KinesisVideoClient", "DescribeNotificationConfigurationCommand")
|
|
1788
|
+
.f(void 0, void 0)
|
|
1789
|
+
.ser(se_DescribeNotificationConfigurationCommand)
|
|
1790
|
+
.de(de_DescribeNotificationConfigurationCommand)
|
|
1791
|
+
.build() {
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
class DescribeSignalingChannelCommand extends smithyClient.Command
|
|
1795
|
+
.classBuilder()
|
|
1796
|
+
.ep(commonParams)
|
|
1797
|
+
.m(function (Command, cs, config, o) {
|
|
1798
|
+
return [
|
|
1799
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1800
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1801
|
+
];
|
|
1802
|
+
})
|
|
1803
|
+
.s("KinesisVideo_20170930", "DescribeSignalingChannel", {})
|
|
1804
|
+
.n("KinesisVideoClient", "DescribeSignalingChannelCommand")
|
|
1805
|
+
.f(void 0, void 0)
|
|
1806
|
+
.ser(se_DescribeSignalingChannelCommand)
|
|
1807
|
+
.de(de_DescribeSignalingChannelCommand)
|
|
1808
|
+
.build() {
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
class DescribeStreamCommand extends smithyClient.Command
|
|
1812
|
+
.classBuilder()
|
|
1813
|
+
.ep(commonParams)
|
|
1814
|
+
.m(function (Command, cs, config, o) {
|
|
1815
|
+
return [
|
|
1816
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1817
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1818
|
+
];
|
|
1819
|
+
})
|
|
1820
|
+
.s("KinesisVideo_20170930", "DescribeStream", {})
|
|
1821
|
+
.n("KinesisVideoClient", "DescribeStreamCommand")
|
|
1822
|
+
.f(void 0, void 0)
|
|
1823
|
+
.ser(se_DescribeStreamCommand)
|
|
1824
|
+
.de(de_DescribeStreamCommand)
|
|
1825
|
+
.build() {
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
class GetDataEndpointCommand extends smithyClient.Command
|
|
1829
|
+
.classBuilder()
|
|
1830
|
+
.ep(commonParams)
|
|
1831
|
+
.m(function (Command, cs, config, o) {
|
|
1832
|
+
return [
|
|
1833
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1834
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1835
|
+
];
|
|
1836
|
+
})
|
|
1837
|
+
.s("KinesisVideo_20170930", "GetDataEndpoint", {})
|
|
1838
|
+
.n("KinesisVideoClient", "GetDataEndpointCommand")
|
|
1839
|
+
.f(void 0, void 0)
|
|
1840
|
+
.ser(se_GetDataEndpointCommand)
|
|
1841
|
+
.de(de_GetDataEndpointCommand)
|
|
1842
|
+
.build() {
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
class GetSignalingChannelEndpointCommand extends smithyClient.Command
|
|
1846
|
+
.classBuilder()
|
|
1847
|
+
.ep(commonParams)
|
|
1848
|
+
.m(function (Command, cs, config, o) {
|
|
1849
|
+
return [
|
|
1850
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1851
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1852
|
+
];
|
|
1853
|
+
})
|
|
1854
|
+
.s("KinesisVideo_20170930", "GetSignalingChannelEndpoint", {})
|
|
1855
|
+
.n("KinesisVideoClient", "GetSignalingChannelEndpointCommand")
|
|
1856
|
+
.f(void 0, void 0)
|
|
1857
|
+
.ser(se_GetSignalingChannelEndpointCommand)
|
|
1858
|
+
.de(de_GetSignalingChannelEndpointCommand)
|
|
1859
|
+
.build() {
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
class ListEdgeAgentConfigurationsCommand extends smithyClient.Command
|
|
1863
|
+
.classBuilder()
|
|
1864
|
+
.ep(commonParams)
|
|
1865
|
+
.m(function (Command, cs, config, o) {
|
|
1866
|
+
return [
|
|
1867
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1868
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1869
|
+
];
|
|
1870
|
+
})
|
|
1871
|
+
.s("KinesisVideo_20170930", "ListEdgeAgentConfigurations", {})
|
|
1872
|
+
.n("KinesisVideoClient", "ListEdgeAgentConfigurationsCommand")
|
|
1873
|
+
.f(void 0, ListEdgeAgentConfigurationsOutputFilterSensitiveLog)
|
|
1874
|
+
.ser(se_ListEdgeAgentConfigurationsCommand)
|
|
1875
|
+
.de(de_ListEdgeAgentConfigurationsCommand)
|
|
1876
|
+
.build() {
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1879
|
+
class ListSignalingChannelsCommand extends smithyClient.Command
|
|
1880
|
+
.classBuilder()
|
|
1881
|
+
.ep(commonParams)
|
|
1882
|
+
.m(function (Command, cs, config, o) {
|
|
1883
|
+
return [
|
|
1884
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1885
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1886
|
+
];
|
|
1887
|
+
})
|
|
1888
|
+
.s("KinesisVideo_20170930", "ListSignalingChannels", {})
|
|
1889
|
+
.n("KinesisVideoClient", "ListSignalingChannelsCommand")
|
|
1890
|
+
.f(void 0, void 0)
|
|
1891
|
+
.ser(se_ListSignalingChannelsCommand)
|
|
1892
|
+
.de(de_ListSignalingChannelsCommand)
|
|
1893
|
+
.build() {
|
|
1894
|
+
}
|
|
1895
|
+
|
|
1896
|
+
class ListStreamsCommand extends smithyClient.Command
|
|
1897
|
+
.classBuilder()
|
|
1898
|
+
.ep(commonParams)
|
|
1899
|
+
.m(function (Command, cs, config, o) {
|
|
1900
|
+
return [
|
|
1901
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1902
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1903
|
+
];
|
|
1904
|
+
})
|
|
1905
|
+
.s("KinesisVideo_20170930", "ListStreams", {})
|
|
1906
|
+
.n("KinesisVideoClient", "ListStreamsCommand")
|
|
1907
|
+
.f(void 0, void 0)
|
|
1908
|
+
.ser(se_ListStreamsCommand)
|
|
1909
|
+
.de(de_ListStreamsCommand)
|
|
1910
|
+
.build() {
|
|
1911
|
+
}
|
|
1912
|
+
|
|
1913
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
1914
|
+
.classBuilder()
|
|
1915
|
+
.ep(commonParams)
|
|
1916
|
+
.m(function (Command, cs, config, o) {
|
|
1917
|
+
return [
|
|
1918
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1919
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1920
|
+
];
|
|
1921
|
+
})
|
|
1922
|
+
.s("KinesisVideo_20170930", "ListTagsForResource", {})
|
|
1923
|
+
.n("KinesisVideoClient", "ListTagsForResourceCommand")
|
|
1924
|
+
.f(void 0, void 0)
|
|
1925
|
+
.ser(se_ListTagsForResourceCommand)
|
|
1926
|
+
.de(de_ListTagsForResourceCommand)
|
|
1927
|
+
.build() {
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
class ListTagsForStreamCommand extends smithyClient.Command
|
|
1931
|
+
.classBuilder()
|
|
1932
|
+
.ep(commonParams)
|
|
1933
|
+
.m(function (Command, cs, config, o) {
|
|
1934
|
+
return [
|
|
1935
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1936
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1937
|
+
];
|
|
1938
|
+
})
|
|
1939
|
+
.s("KinesisVideo_20170930", "ListTagsForStream", {})
|
|
1940
|
+
.n("KinesisVideoClient", "ListTagsForStreamCommand")
|
|
1941
|
+
.f(void 0, void 0)
|
|
1942
|
+
.ser(se_ListTagsForStreamCommand)
|
|
1943
|
+
.de(de_ListTagsForStreamCommand)
|
|
1944
|
+
.build() {
|
|
1945
|
+
}
|
|
1946
|
+
|
|
1947
|
+
class StartEdgeConfigurationUpdateCommand extends smithyClient.Command
|
|
1948
|
+
.classBuilder()
|
|
1949
|
+
.ep(commonParams)
|
|
1950
|
+
.m(function (Command, cs, config, o) {
|
|
1951
|
+
return [
|
|
1952
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1953
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1954
|
+
];
|
|
1955
|
+
})
|
|
1956
|
+
.s("KinesisVideo_20170930", "StartEdgeConfigurationUpdate", {})
|
|
1957
|
+
.n("KinesisVideoClient", "StartEdgeConfigurationUpdateCommand")
|
|
1958
|
+
.f(StartEdgeConfigurationUpdateInputFilterSensitiveLog, StartEdgeConfigurationUpdateOutputFilterSensitiveLog)
|
|
1959
|
+
.ser(se_StartEdgeConfigurationUpdateCommand)
|
|
1960
|
+
.de(de_StartEdgeConfigurationUpdateCommand)
|
|
1961
|
+
.build() {
|
|
1962
|
+
}
|
|
1963
|
+
|
|
1964
|
+
class TagResourceCommand extends smithyClient.Command
|
|
1965
|
+
.classBuilder()
|
|
1966
|
+
.ep(commonParams)
|
|
1967
|
+
.m(function (Command, cs, config, o) {
|
|
1968
|
+
return [
|
|
1969
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1970
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1971
|
+
];
|
|
1972
|
+
})
|
|
1973
|
+
.s("KinesisVideo_20170930", "TagResource", {})
|
|
1974
|
+
.n("KinesisVideoClient", "TagResourceCommand")
|
|
1975
|
+
.f(void 0, void 0)
|
|
1976
|
+
.ser(se_TagResourceCommand)
|
|
1977
|
+
.de(de_TagResourceCommand)
|
|
1978
|
+
.build() {
|
|
1979
|
+
}
|
|
1980
|
+
|
|
1981
|
+
class TagStreamCommand extends smithyClient.Command
|
|
1982
|
+
.classBuilder()
|
|
1983
|
+
.ep(commonParams)
|
|
1984
|
+
.m(function (Command, cs, config, o) {
|
|
1985
|
+
return [
|
|
1986
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1987
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1988
|
+
];
|
|
1989
|
+
})
|
|
1990
|
+
.s("KinesisVideo_20170930", "TagStream", {})
|
|
1991
|
+
.n("KinesisVideoClient", "TagStreamCommand")
|
|
1992
|
+
.f(void 0, void 0)
|
|
1993
|
+
.ser(se_TagStreamCommand)
|
|
1994
|
+
.de(de_TagStreamCommand)
|
|
1995
|
+
.build() {
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
1999
|
+
.classBuilder()
|
|
2000
|
+
.ep(commonParams)
|
|
2001
|
+
.m(function (Command, cs, config, o) {
|
|
2002
|
+
return [
|
|
2003
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2004
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2005
|
+
];
|
|
2006
|
+
})
|
|
2007
|
+
.s("KinesisVideo_20170930", "UntagResource", {})
|
|
2008
|
+
.n("KinesisVideoClient", "UntagResourceCommand")
|
|
2009
|
+
.f(void 0, void 0)
|
|
2010
|
+
.ser(se_UntagResourceCommand)
|
|
2011
|
+
.de(de_UntagResourceCommand)
|
|
2012
|
+
.build() {
|
|
2013
|
+
}
|
|
2014
|
+
|
|
2015
|
+
class UntagStreamCommand extends smithyClient.Command
|
|
2016
|
+
.classBuilder()
|
|
2017
|
+
.ep(commonParams)
|
|
2018
|
+
.m(function (Command, cs, config, o) {
|
|
2019
|
+
return [
|
|
2020
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2021
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2022
|
+
];
|
|
2023
|
+
})
|
|
2024
|
+
.s("KinesisVideo_20170930", "UntagStream", {})
|
|
2025
|
+
.n("KinesisVideoClient", "UntagStreamCommand")
|
|
2026
|
+
.f(void 0, void 0)
|
|
2027
|
+
.ser(se_UntagStreamCommand)
|
|
2028
|
+
.de(de_UntagStreamCommand)
|
|
2029
|
+
.build() {
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
class UpdateDataRetentionCommand extends smithyClient.Command
|
|
2033
|
+
.classBuilder()
|
|
2034
|
+
.ep(commonParams)
|
|
2035
|
+
.m(function (Command, cs, config, o) {
|
|
2036
|
+
return [
|
|
2037
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2038
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2039
|
+
];
|
|
2040
|
+
})
|
|
2041
|
+
.s("KinesisVideo_20170930", "UpdateDataRetention", {})
|
|
2042
|
+
.n("KinesisVideoClient", "UpdateDataRetentionCommand")
|
|
2043
|
+
.f(void 0, void 0)
|
|
2044
|
+
.ser(se_UpdateDataRetentionCommand)
|
|
2045
|
+
.de(de_UpdateDataRetentionCommand)
|
|
2046
|
+
.build() {
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
class UpdateImageGenerationConfigurationCommand extends smithyClient.Command
|
|
2050
|
+
.classBuilder()
|
|
2051
|
+
.ep(commonParams)
|
|
2052
|
+
.m(function (Command, cs, config, o) {
|
|
2053
|
+
return [
|
|
2054
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2055
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2056
|
+
];
|
|
2057
|
+
})
|
|
2058
|
+
.s("KinesisVideo_20170930", "UpdateImageGenerationConfiguration", {})
|
|
2059
|
+
.n("KinesisVideoClient", "UpdateImageGenerationConfigurationCommand")
|
|
2060
|
+
.f(void 0, void 0)
|
|
2061
|
+
.ser(se_UpdateImageGenerationConfigurationCommand)
|
|
2062
|
+
.de(de_UpdateImageGenerationConfigurationCommand)
|
|
2063
|
+
.build() {
|
|
2064
|
+
}
|
|
2065
|
+
|
|
2066
|
+
class UpdateMediaStorageConfigurationCommand extends smithyClient.Command
|
|
2067
|
+
.classBuilder()
|
|
2068
|
+
.ep(commonParams)
|
|
2069
|
+
.m(function (Command, cs, config, o) {
|
|
2070
|
+
return [
|
|
2071
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2072
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2073
|
+
];
|
|
2074
|
+
})
|
|
2075
|
+
.s("KinesisVideo_20170930", "UpdateMediaStorageConfiguration", {})
|
|
2076
|
+
.n("KinesisVideoClient", "UpdateMediaStorageConfigurationCommand")
|
|
2077
|
+
.f(void 0, void 0)
|
|
2078
|
+
.ser(se_UpdateMediaStorageConfigurationCommand)
|
|
2079
|
+
.de(de_UpdateMediaStorageConfigurationCommand)
|
|
2080
|
+
.build() {
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
class UpdateNotificationConfigurationCommand extends smithyClient.Command
|
|
2084
|
+
.classBuilder()
|
|
2085
|
+
.ep(commonParams)
|
|
2086
|
+
.m(function (Command, cs, config, o) {
|
|
2087
|
+
return [
|
|
2088
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2089
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2090
|
+
];
|
|
2091
|
+
})
|
|
2092
|
+
.s("KinesisVideo_20170930", "UpdateNotificationConfiguration", {})
|
|
2093
|
+
.n("KinesisVideoClient", "UpdateNotificationConfigurationCommand")
|
|
2094
|
+
.f(void 0, void 0)
|
|
2095
|
+
.ser(se_UpdateNotificationConfigurationCommand)
|
|
2096
|
+
.de(de_UpdateNotificationConfigurationCommand)
|
|
2097
|
+
.build() {
|
|
2098
|
+
}
|
|
2099
|
+
|
|
2100
|
+
class UpdateSignalingChannelCommand extends smithyClient.Command
|
|
2101
|
+
.classBuilder()
|
|
2102
|
+
.ep(commonParams)
|
|
2103
|
+
.m(function (Command, cs, config, o) {
|
|
2104
|
+
return [
|
|
2105
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2106
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2107
|
+
];
|
|
2108
|
+
})
|
|
2109
|
+
.s("KinesisVideo_20170930", "UpdateSignalingChannel", {})
|
|
2110
|
+
.n("KinesisVideoClient", "UpdateSignalingChannelCommand")
|
|
2111
|
+
.f(void 0, void 0)
|
|
2112
|
+
.ser(se_UpdateSignalingChannelCommand)
|
|
2113
|
+
.de(de_UpdateSignalingChannelCommand)
|
|
2114
|
+
.build() {
|
|
2115
|
+
}
|
|
2116
|
+
|
|
2117
|
+
class UpdateStreamCommand extends smithyClient.Command
|
|
2118
|
+
.classBuilder()
|
|
2119
|
+
.ep(commonParams)
|
|
2120
|
+
.m(function (Command, cs, config, o) {
|
|
2121
|
+
return [
|
|
2122
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2123
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2124
|
+
];
|
|
2125
|
+
})
|
|
2126
|
+
.s("KinesisVideo_20170930", "UpdateStream", {})
|
|
2127
|
+
.n("KinesisVideoClient", "UpdateStreamCommand")
|
|
2128
|
+
.f(void 0, void 0)
|
|
2129
|
+
.ser(se_UpdateStreamCommand)
|
|
2130
|
+
.de(de_UpdateStreamCommand)
|
|
2131
|
+
.build() {
|
|
2132
|
+
}
|
|
2133
|
+
|
|
2134
|
+
const commands = {
|
|
2135
|
+
CreateSignalingChannelCommand,
|
|
2136
|
+
CreateStreamCommand,
|
|
2137
|
+
DeleteEdgeConfigurationCommand,
|
|
2138
|
+
DeleteSignalingChannelCommand,
|
|
2139
|
+
DeleteStreamCommand,
|
|
2140
|
+
DescribeEdgeConfigurationCommand,
|
|
2141
|
+
DescribeImageGenerationConfigurationCommand,
|
|
2142
|
+
DescribeMappedResourceConfigurationCommand,
|
|
2143
|
+
DescribeMediaStorageConfigurationCommand,
|
|
2144
|
+
DescribeNotificationConfigurationCommand,
|
|
2145
|
+
DescribeSignalingChannelCommand,
|
|
2146
|
+
DescribeStreamCommand,
|
|
2147
|
+
GetDataEndpointCommand,
|
|
2148
|
+
GetSignalingChannelEndpointCommand,
|
|
2149
|
+
ListEdgeAgentConfigurationsCommand,
|
|
2150
|
+
ListSignalingChannelsCommand,
|
|
2151
|
+
ListStreamsCommand,
|
|
2152
|
+
ListTagsForResourceCommand,
|
|
2153
|
+
ListTagsForStreamCommand,
|
|
2154
|
+
StartEdgeConfigurationUpdateCommand,
|
|
2155
|
+
TagResourceCommand,
|
|
2156
|
+
TagStreamCommand,
|
|
2157
|
+
UntagResourceCommand,
|
|
2158
|
+
UntagStreamCommand,
|
|
2159
|
+
UpdateDataRetentionCommand,
|
|
2160
|
+
UpdateImageGenerationConfigurationCommand,
|
|
2161
|
+
UpdateMediaStorageConfigurationCommand,
|
|
2162
|
+
UpdateNotificationConfigurationCommand,
|
|
2163
|
+
UpdateSignalingChannelCommand,
|
|
2164
|
+
UpdateStreamCommand,
|
|
2165
|
+
};
|
|
2166
|
+
class KinesisVideo extends KinesisVideoClient {
|
|
2167
|
+
}
|
|
2168
|
+
smithyClient.createAggregatedClient(commands, KinesisVideo);
|
|
2169
|
+
|
|
2170
|
+
const paginateDescribeMappedResourceConfiguration = core.createPaginator(KinesisVideoClient, DescribeMappedResourceConfigurationCommand, "NextToken", "NextToken", "MaxResults");
|
|
2171
|
+
|
|
2172
|
+
const paginateListEdgeAgentConfigurations = core.createPaginator(KinesisVideoClient, ListEdgeAgentConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2173
|
+
|
|
2174
|
+
const paginateListSignalingChannels = core.createPaginator(KinesisVideoClient, ListSignalingChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2175
|
+
|
|
2176
|
+
const paginateListStreams = core.createPaginator(KinesisVideoClient, ListStreamsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2177
|
+
|
|
2178
|
+
Object.defineProperty(exports, "$Command", {
|
|
2179
|
+
enumerable: true,
|
|
2180
|
+
get: function () { return smithyClient.Command; }
|
|
2181
|
+
});
|
|
2182
|
+
Object.defineProperty(exports, "__Client", {
|
|
2183
|
+
enumerable: true,
|
|
2184
|
+
get: function () { return smithyClient.Client; }
|
|
2185
|
+
});
|
|
2186
|
+
exports.APIName = APIName;
|
|
2187
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
2188
|
+
exports.AccountChannelLimitExceededException = AccountChannelLimitExceededException;
|
|
2189
|
+
exports.AccountStreamLimitExceededException = AccountStreamLimitExceededException;
|
|
2190
|
+
exports.ChannelProtocol = ChannelProtocol;
|
|
2191
|
+
exports.ChannelRole = ChannelRole;
|
|
2192
|
+
exports.ChannelType = ChannelType;
|
|
2193
|
+
exports.ClientLimitExceededException = ClientLimitExceededException;
|
|
2194
|
+
exports.ComparisonOperator = ComparisonOperator;
|
|
2195
|
+
exports.ConfigurationStatus = ConfigurationStatus;
|
|
2196
|
+
exports.CreateSignalingChannelCommand = CreateSignalingChannelCommand;
|
|
2197
|
+
exports.CreateStreamCommand = CreateStreamCommand;
|
|
2198
|
+
exports.DeleteEdgeConfigurationCommand = DeleteEdgeConfigurationCommand;
|
|
2199
|
+
exports.DeleteSignalingChannelCommand = DeleteSignalingChannelCommand;
|
|
2200
|
+
exports.DeleteStreamCommand = DeleteStreamCommand;
|
|
2201
|
+
exports.DescribeEdgeConfigurationCommand = DescribeEdgeConfigurationCommand;
|
|
2202
|
+
exports.DescribeEdgeConfigurationOutputFilterSensitiveLog = DescribeEdgeConfigurationOutputFilterSensitiveLog;
|
|
2203
|
+
exports.DescribeImageGenerationConfigurationCommand = DescribeImageGenerationConfigurationCommand;
|
|
2204
|
+
exports.DescribeMappedResourceConfigurationCommand = DescribeMappedResourceConfigurationCommand;
|
|
2205
|
+
exports.DescribeMediaStorageConfigurationCommand = DescribeMediaStorageConfigurationCommand;
|
|
2206
|
+
exports.DescribeNotificationConfigurationCommand = DescribeNotificationConfigurationCommand;
|
|
2207
|
+
exports.DescribeSignalingChannelCommand = DescribeSignalingChannelCommand;
|
|
2208
|
+
exports.DescribeStreamCommand = DescribeStreamCommand;
|
|
2209
|
+
exports.DeviceStreamLimitExceededException = DeviceStreamLimitExceededException;
|
|
2210
|
+
exports.EdgeConfigFilterSensitiveLog = EdgeConfigFilterSensitiveLog;
|
|
2211
|
+
exports.Format = Format;
|
|
2212
|
+
exports.FormatConfigKey = FormatConfigKey;
|
|
2213
|
+
exports.GetDataEndpointCommand = GetDataEndpointCommand;
|
|
2214
|
+
exports.GetSignalingChannelEndpointCommand = GetSignalingChannelEndpointCommand;
|
|
2215
|
+
exports.ImageSelectorType = ImageSelectorType;
|
|
2216
|
+
exports.InvalidArgumentException = InvalidArgumentException;
|
|
2217
|
+
exports.InvalidDeviceException = InvalidDeviceException;
|
|
2218
|
+
exports.InvalidResourceFormatException = InvalidResourceFormatException;
|
|
2219
|
+
exports.KinesisVideo = KinesisVideo;
|
|
2220
|
+
exports.KinesisVideoClient = KinesisVideoClient;
|
|
2221
|
+
exports.KinesisVideoServiceException = KinesisVideoServiceException;
|
|
2222
|
+
exports.ListEdgeAgentConfigurationsCommand = ListEdgeAgentConfigurationsCommand;
|
|
2223
|
+
exports.ListEdgeAgentConfigurationsEdgeConfigFilterSensitiveLog = ListEdgeAgentConfigurationsEdgeConfigFilterSensitiveLog;
|
|
2224
|
+
exports.ListEdgeAgentConfigurationsOutputFilterSensitiveLog = ListEdgeAgentConfigurationsOutputFilterSensitiveLog;
|
|
2225
|
+
exports.ListSignalingChannelsCommand = ListSignalingChannelsCommand;
|
|
2226
|
+
exports.ListStreamsCommand = ListStreamsCommand;
|
|
2227
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
2228
|
+
exports.ListTagsForStreamCommand = ListTagsForStreamCommand;
|
|
2229
|
+
exports.MediaSourceConfigFilterSensitiveLog = MediaSourceConfigFilterSensitiveLog;
|
|
2230
|
+
exports.MediaStorageConfigurationStatus = MediaStorageConfigurationStatus;
|
|
2231
|
+
exports.MediaUriType = MediaUriType;
|
|
2232
|
+
exports.NoDataRetentionException = NoDataRetentionException;
|
|
2233
|
+
exports.NotAuthorizedException = NotAuthorizedException;
|
|
2234
|
+
exports.RecorderConfigFilterSensitiveLog = RecorderConfigFilterSensitiveLog;
|
|
2235
|
+
exports.RecorderStatus = RecorderStatus;
|
|
2236
|
+
exports.ResourceInUseException = ResourceInUseException;
|
|
2237
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
2238
|
+
exports.StartEdgeConfigurationUpdateCommand = StartEdgeConfigurationUpdateCommand;
|
|
2239
|
+
exports.StartEdgeConfigurationUpdateInputFilterSensitiveLog = StartEdgeConfigurationUpdateInputFilterSensitiveLog;
|
|
2240
|
+
exports.StartEdgeConfigurationUpdateOutputFilterSensitiveLog = StartEdgeConfigurationUpdateOutputFilterSensitiveLog;
|
|
2241
|
+
exports.Status = Status;
|
|
2242
|
+
exports.StrategyOnFullSize = StrategyOnFullSize;
|
|
2243
|
+
exports.StreamEdgeConfigurationNotFoundException = StreamEdgeConfigurationNotFoundException;
|
|
2244
|
+
exports.SyncStatus = SyncStatus;
|
|
2245
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
2246
|
+
exports.TagStreamCommand = TagStreamCommand;
|
|
2247
|
+
exports.TagsPerResourceExceededLimitException = TagsPerResourceExceededLimitException;
|
|
2248
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2249
|
+
exports.UntagStreamCommand = UntagStreamCommand;
|
|
2250
|
+
exports.UpdateDataRetentionCommand = UpdateDataRetentionCommand;
|
|
2251
|
+
exports.UpdateDataRetentionOperation = UpdateDataRetentionOperation;
|
|
2252
|
+
exports.UpdateImageGenerationConfigurationCommand = UpdateImageGenerationConfigurationCommand;
|
|
2253
|
+
exports.UpdateMediaStorageConfigurationCommand = UpdateMediaStorageConfigurationCommand;
|
|
2254
|
+
exports.UpdateNotificationConfigurationCommand = UpdateNotificationConfigurationCommand;
|
|
2255
|
+
exports.UpdateSignalingChannelCommand = UpdateSignalingChannelCommand;
|
|
2256
|
+
exports.UpdateStreamCommand = UpdateStreamCommand;
|
|
2257
|
+
exports.UploaderStatus = UploaderStatus;
|
|
2258
|
+
exports.VersionMismatchException = VersionMismatchException;
|
|
2259
|
+
exports.paginateDescribeMappedResourceConfiguration = paginateDescribeMappedResourceConfiguration;
|
|
2260
|
+
exports.paginateListEdgeAgentConfigurations = paginateListEdgeAgentConfigurations;
|
|
2261
|
+
exports.paginateListSignalingChannels = paginateListSignalingChannels;
|
|
2262
|
+
exports.paginateListStreams = paginateListStreams;
|