@aws-sdk/client-ivs 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 +2298 -2563
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -1,2606 +1,2341 @@
|
|
|
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: "ivs",
|
|
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 IvsClient 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.defaultIvsHttpAuthSchemeParametersProvider,
|
|
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
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
113
|
+
class IvsServiceException extends smithyClient.ServiceException {
|
|
114
|
+
constructor(options) {
|
|
115
|
+
super(options);
|
|
116
|
+
Object.setPrototypeOf(this, IvsServiceException.prototype);
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
class AccessDeniedException extends IvsServiceException {
|
|
121
|
+
name = "AccessDeniedException";
|
|
122
|
+
$fault = "client";
|
|
123
|
+
exceptionMessage;
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "AccessDeniedException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
const ContainerFormat = {
|
|
135
|
+
FragmentedMP4: "FRAGMENTED_MP4",
|
|
136
|
+
TS: "TS",
|
|
137
|
+
};
|
|
138
|
+
const ChannelLatencyMode = {
|
|
139
|
+
LowLatency: "LOW",
|
|
140
|
+
NormalLatency: "NORMAL",
|
|
141
|
+
};
|
|
142
|
+
const MultitrackMaximumResolution = {
|
|
143
|
+
FULL_HD: "FULL_HD",
|
|
144
|
+
HD: "HD",
|
|
145
|
+
SD: "SD",
|
|
146
|
+
};
|
|
147
|
+
const MultitrackPolicy = {
|
|
148
|
+
ALLOW: "ALLOW",
|
|
149
|
+
REQUIRE: "REQUIRE",
|
|
150
|
+
};
|
|
151
|
+
const TranscodePreset = {
|
|
152
|
+
ConstrainedBandwidthTranscodePreset: "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
153
|
+
HigherBandwidthTranscodePreset: "HIGHER_BANDWIDTH_DELIVERY",
|
|
154
|
+
};
|
|
155
|
+
const ChannelType = {
|
|
156
|
+
AdvancedHDChannelType: "ADVANCED_HD",
|
|
157
|
+
AdvancedSDChannelType: "ADVANCED_SD",
|
|
158
|
+
BasicChannelType: "BASIC",
|
|
159
|
+
StandardChannelType: "STANDARD",
|
|
160
|
+
};
|
|
161
|
+
class PendingVerification extends IvsServiceException {
|
|
162
|
+
name = "PendingVerification";
|
|
163
|
+
$fault = "client";
|
|
164
|
+
exceptionMessage;
|
|
165
|
+
constructor(opts) {
|
|
166
|
+
super({
|
|
167
|
+
name: "PendingVerification",
|
|
168
|
+
$fault: "client",
|
|
169
|
+
...opts,
|
|
170
|
+
});
|
|
171
|
+
Object.setPrototypeOf(this, PendingVerification.prototype);
|
|
172
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
class ThrottlingException extends IvsServiceException {
|
|
176
|
+
name = "ThrottlingException";
|
|
177
|
+
$fault = "client";
|
|
178
|
+
exceptionMessage;
|
|
179
|
+
constructor(opts) {
|
|
180
|
+
super({
|
|
181
|
+
name: "ThrottlingException",
|
|
182
|
+
$fault: "client",
|
|
183
|
+
...opts,
|
|
184
|
+
});
|
|
185
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
186
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
class ValidationException extends IvsServiceException {
|
|
190
|
+
name = "ValidationException";
|
|
191
|
+
$fault = "client";
|
|
192
|
+
exceptionMessage;
|
|
193
|
+
constructor(opts) {
|
|
194
|
+
super({
|
|
195
|
+
name: "ValidationException",
|
|
196
|
+
$fault: "client",
|
|
197
|
+
...opts,
|
|
198
|
+
});
|
|
199
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
200
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
class ResourceNotFoundException extends IvsServiceException {
|
|
204
|
+
name = "ResourceNotFoundException";
|
|
205
|
+
$fault = "client";
|
|
206
|
+
exceptionMessage;
|
|
207
|
+
constructor(opts) {
|
|
208
|
+
super({
|
|
209
|
+
name: "ResourceNotFoundException",
|
|
210
|
+
$fault: "client",
|
|
211
|
+
...opts,
|
|
212
|
+
});
|
|
213
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
214
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
class ServiceQuotaExceededException extends IvsServiceException {
|
|
218
|
+
name = "ServiceQuotaExceededException";
|
|
219
|
+
$fault = "client";
|
|
220
|
+
exceptionMessage;
|
|
221
|
+
constructor(opts) {
|
|
222
|
+
super({
|
|
223
|
+
name: "ServiceQuotaExceededException",
|
|
224
|
+
$fault: "client",
|
|
225
|
+
...opts,
|
|
226
|
+
});
|
|
227
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
228
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
class ConflictException extends IvsServiceException {
|
|
232
|
+
name = "ConflictException";
|
|
233
|
+
$fault = "client";
|
|
234
|
+
exceptionMessage;
|
|
235
|
+
constructor(opts) {
|
|
236
|
+
super({
|
|
237
|
+
name: "ConflictException",
|
|
238
|
+
$fault: "client",
|
|
239
|
+
...opts,
|
|
240
|
+
});
|
|
241
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
242
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
const RenditionConfigurationRendition = {
|
|
246
|
+
FULL_HD: "FULL_HD",
|
|
247
|
+
HD: "HD",
|
|
248
|
+
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
249
|
+
SD: "SD",
|
|
250
|
+
};
|
|
251
|
+
const RenditionConfigurationRenditionSelection = {
|
|
252
|
+
ALL: "ALL",
|
|
253
|
+
CUSTOM: "CUSTOM",
|
|
254
|
+
NONE: "NONE",
|
|
255
|
+
};
|
|
256
|
+
const RecordingMode = {
|
|
257
|
+
Disabled: "DISABLED",
|
|
258
|
+
Interval: "INTERVAL",
|
|
259
|
+
};
|
|
260
|
+
const ThumbnailConfigurationResolution = {
|
|
261
|
+
FULL_HD: "FULL_HD",
|
|
262
|
+
HD: "HD",
|
|
263
|
+
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
264
|
+
SD: "SD",
|
|
265
|
+
};
|
|
266
|
+
const ThumbnailConfigurationStorage = {
|
|
267
|
+
LATEST: "LATEST",
|
|
268
|
+
SEQUENTIAL: "SEQUENTIAL",
|
|
269
|
+
};
|
|
270
|
+
const RecordingConfigurationState = {
|
|
271
|
+
Active: "ACTIVE",
|
|
272
|
+
CreateFailed: "CREATE_FAILED",
|
|
273
|
+
Creating: "CREATING",
|
|
274
|
+
};
|
|
275
|
+
class InternalServerException extends IvsServiceException {
|
|
276
|
+
name = "InternalServerException";
|
|
277
|
+
$fault = "server";
|
|
278
|
+
exceptionMessage;
|
|
279
|
+
constructor(opts) {
|
|
280
|
+
super({
|
|
281
|
+
name: "InternalServerException",
|
|
282
|
+
$fault: "server",
|
|
283
|
+
...opts,
|
|
284
|
+
});
|
|
285
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
286
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
class ChannelNotBroadcasting extends IvsServiceException {
|
|
290
|
+
name = "ChannelNotBroadcasting";
|
|
291
|
+
$fault = "client";
|
|
292
|
+
exceptionMessage;
|
|
293
|
+
constructor(opts) {
|
|
294
|
+
super({
|
|
295
|
+
name: "ChannelNotBroadcasting",
|
|
296
|
+
$fault: "client",
|
|
297
|
+
...opts,
|
|
298
|
+
});
|
|
299
|
+
Object.setPrototypeOf(this, ChannelNotBroadcasting.prototype);
|
|
300
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
const StreamHealth = {
|
|
304
|
+
Starving: "STARVING",
|
|
305
|
+
StreamHealthy: "HEALTHY",
|
|
306
|
+
Unknown: "UNKNOWN",
|
|
307
|
+
};
|
|
308
|
+
const StreamState = {
|
|
309
|
+
StreamLive: "LIVE",
|
|
310
|
+
StreamOffline: "OFFLINE",
|
|
311
|
+
};
|
|
312
|
+
class StreamUnavailable extends IvsServiceException {
|
|
313
|
+
name = "StreamUnavailable";
|
|
314
|
+
$fault = "server";
|
|
315
|
+
exceptionMessage;
|
|
316
|
+
constructor(opts) {
|
|
317
|
+
super({
|
|
318
|
+
name: "StreamUnavailable",
|
|
319
|
+
$fault: "server",
|
|
320
|
+
...opts,
|
|
321
|
+
});
|
|
322
|
+
Object.setPrototypeOf(this, StreamUnavailable.prototype);
|
|
323
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
const SrtFilterSensitiveLog = (obj) => ({
|
|
327
|
+
...obj,
|
|
328
|
+
...(obj.passphrase && { passphrase: smithyClient.SENSITIVE_STRING }),
|
|
329
|
+
});
|
|
330
|
+
const ChannelFilterSensitiveLog = (obj) => ({
|
|
331
|
+
...obj,
|
|
332
|
+
...(obj.srt && { srt: SrtFilterSensitiveLog(obj.srt) }),
|
|
333
|
+
});
|
|
334
|
+
const BatchGetChannelResponseFilterSensitiveLog = (obj) => ({
|
|
335
|
+
...obj,
|
|
336
|
+
...(obj.channels && { channels: obj.channels.map((item) => ChannelFilterSensitiveLog(item)) }),
|
|
337
|
+
});
|
|
338
|
+
const StreamKeyFilterSensitiveLog = (obj) => ({
|
|
339
|
+
...obj,
|
|
340
|
+
...(obj.value && { value: smithyClient.SENSITIVE_STRING }),
|
|
341
|
+
});
|
|
342
|
+
const BatchGetStreamKeyResponseFilterSensitiveLog = (obj) => ({
|
|
343
|
+
...obj,
|
|
344
|
+
...(obj.streamKeys && { streamKeys: obj.streamKeys.map((item) => StreamKeyFilterSensitiveLog(item)) }),
|
|
345
|
+
});
|
|
346
|
+
const CreateChannelResponseFilterSensitiveLog = (obj) => ({
|
|
347
|
+
...obj,
|
|
348
|
+
...(obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }),
|
|
349
|
+
...(obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }),
|
|
350
|
+
});
|
|
351
|
+
const CreateStreamKeyResponseFilterSensitiveLog = (obj) => ({
|
|
352
|
+
...obj,
|
|
353
|
+
...(obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }),
|
|
354
|
+
});
|
|
355
|
+
const GetChannelResponseFilterSensitiveLog = (obj) => ({
|
|
356
|
+
...obj,
|
|
357
|
+
...(obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }),
|
|
358
|
+
});
|
|
359
|
+
const GetStreamKeyResponseFilterSensitiveLog = (obj) => ({
|
|
360
|
+
...obj,
|
|
361
|
+
...(obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }),
|
|
362
|
+
});
|
|
363
|
+
const StreamSessionFilterSensitiveLog = (obj) => ({
|
|
364
|
+
...obj,
|
|
365
|
+
...(obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }),
|
|
366
|
+
});
|
|
367
|
+
const GetStreamSessionResponseFilterSensitiveLog = (obj) => ({
|
|
368
|
+
...obj,
|
|
369
|
+
...(obj.streamSession && { streamSession: StreamSessionFilterSensitiveLog(obj.streamSession) }),
|
|
370
|
+
});
|
|
371
|
+
const PutMetadataRequestFilterSensitiveLog = (obj) => ({
|
|
372
|
+
...obj,
|
|
373
|
+
...(obj.metadata && { metadata: smithyClient.SENSITIVE_STRING }),
|
|
374
|
+
});
|
|
375
|
+
const UpdateChannelResponseFilterSensitiveLog = (obj) => ({
|
|
376
|
+
...obj,
|
|
377
|
+
...(obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }),
|
|
107
378
|
});
|
|
108
|
-
module.exports = __toCommonJS(index_exports);
|
|
109
|
-
|
|
110
|
-
// src/IvsClient.ts
|
|
111
|
-
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
112
|
-
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
113
|
-
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
114
|
-
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
115
|
-
var import_config_resolver = require("@smithy/config-resolver");
|
|
116
|
-
var import_core = require("@smithy/core");
|
|
117
|
-
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
118
|
-
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
119
|
-
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
120
|
-
|
|
121
|
-
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
122
379
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
380
|
+
const se_BatchGetChannelCommand = async (input, context) => {
|
|
381
|
+
const b = core.requestBuilder(input, context);
|
|
382
|
+
const headers = {
|
|
383
|
+
"content-type": "application/json",
|
|
384
|
+
};
|
|
385
|
+
b.bp("/BatchGetChannel");
|
|
386
|
+
let body;
|
|
387
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
388
|
+
arns: (_) => smithyClient._json(_),
|
|
389
|
+
}));
|
|
390
|
+
b.m("POST").h(headers).b(body);
|
|
391
|
+
return b.build();
|
|
392
|
+
};
|
|
393
|
+
const se_BatchGetStreamKeyCommand = async (input, context) => {
|
|
394
|
+
const b = core.requestBuilder(input, context);
|
|
395
|
+
const headers = {
|
|
396
|
+
"content-type": "application/json",
|
|
397
|
+
};
|
|
398
|
+
b.bp("/BatchGetStreamKey");
|
|
399
|
+
let body;
|
|
400
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
401
|
+
arns: (_) => smithyClient._json(_),
|
|
402
|
+
}));
|
|
403
|
+
b.m("POST").h(headers).b(body);
|
|
404
|
+
return b.build();
|
|
405
|
+
};
|
|
406
|
+
const se_BatchStartViewerSessionRevocationCommand = async (input, context) => {
|
|
407
|
+
const b = core.requestBuilder(input, context);
|
|
408
|
+
const headers = {
|
|
409
|
+
"content-type": "application/json",
|
|
410
|
+
};
|
|
411
|
+
b.bp("/BatchStartViewerSessionRevocation");
|
|
412
|
+
let body;
|
|
413
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
414
|
+
viewerSessions: (_) => smithyClient._json(_),
|
|
415
|
+
}));
|
|
416
|
+
b.m("POST").h(headers).b(body);
|
|
417
|
+
return b.build();
|
|
418
|
+
};
|
|
419
|
+
const se_CreateChannelCommand = async (input, context) => {
|
|
420
|
+
const b = core.requestBuilder(input, context);
|
|
421
|
+
const headers = {
|
|
422
|
+
"content-type": "application/json",
|
|
423
|
+
};
|
|
424
|
+
b.bp("/CreateChannel");
|
|
425
|
+
let body;
|
|
426
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
427
|
+
authorized: [],
|
|
428
|
+
containerFormat: [],
|
|
429
|
+
insecureIngest: [],
|
|
430
|
+
latencyMode: [],
|
|
431
|
+
multitrackInputConfiguration: (_) => smithyClient._json(_),
|
|
432
|
+
name: [],
|
|
433
|
+
playbackRestrictionPolicyArn: [],
|
|
434
|
+
preset: [],
|
|
435
|
+
recordingConfigurationArn: [],
|
|
436
|
+
tags: (_) => smithyClient._json(_),
|
|
437
|
+
type: [],
|
|
438
|
+
}));
|
|
439
|
+
b.m("POST").h(headers).b(body);
|
|
440
|
+
return b.build();
|
|
441
|
+
};
|
|
442
|
+
const se_CreatePlaybackRestrictionPolicyCommand = async (input, context) => {
|
|
443
|
+
const b = core.requestBuilder(input, context);
|
|
444
|
+
const headers = {
|
|
445
|
+
"content-type": "application/json",
|
|
446
|
+
};
|
|
447
|
+
b.bp("/CreatePlaybackRestrictionPolicy");
|
|
448
|
+
let body;
|
|
449
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
450
|
+
allowedCountries: (_) => smithyClient._json(_),
|
|
451
|
+
allowedOrigins: (_) => smithyClient._json(_),
|
|
452
|
+
enableStrictOriginEnforcement: [],
|
|
453
|
+
name: [],
|
|
454
|
+
tags: (_) => smithyClient._json(_),
|
|
455
|
+
}));
|
|
456
|
+
b.m("POST").h(headers).b(body);
|
|
457
|
+
return b.build();
|
|
458
|
+
};
|
|
459
|
+
const se_CreateRecordingConfigurationCommand = async (input, context) => {
|
|
460
|
+
const b = core.requestBuilder(input, context);
|
|
461
|
+
const headers = {
|
|
462
|
+
"content-type": "application/json",
|
|
463
|
+
};
|
|
464
|
+
b.bp("/CreateRecordingConfiguration");
|
|
465
|
+
let body;
|
|
466
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
467
|
+
destinationConfiguration: (_) => smithyClient._json(_),
|
|
468
|
+
name: [],
|
|
469
|
+
recordingReconnectWindowSeconds: [],
|
|
470
|
+
renditionConfiguration: (_) => smithyClient._json(_),
|
|
471
|
+
tags: (_) => smithyClient._json(_),
|
|
472
|
+
thumbnailConfiguration: (_) => smithyClient._json(_),
|
|
473
|
+
}));
|
|
474
|
+
b.m("POST").h(headers).b(body);
|
|
475
|
+
return b.build();
|
|
476
|
+
};
|
|
477
|
+
const se_CreateStreamKeyCommand = async (input, context) => {
|
|
478
|
+
const b = core.requestBuilder(input, context);
|
|
479
|
+
const headers = {
|
|
480
|
+
"content-type": "application/json",
|
|
481
|
+
};
|
|
482
|
+
b.bp("/CreateStreamKey");
|
|
483
|
+
let body;
|
|
484
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
485
|
+
channelArn: [],
|
|
486
|
+
tags: (_) => smithyClient._json(_),
|
|
487
|
+
}));
|
|
488
|
+
b.m("POST").h(headers).b(body);
|
|
489
|
+
return b.build();
|
|
490
|
+
};
|
|
491
|
+
const se_DeleteChannelCommand = async (input, context) => {
|
|
492
|
+
const b = core.requestBuilder(input, context);
|
|
493
|
+
const headers = {
|
|
494
|
+
"content-type": "application/json",
|
|
495
|
+
};
|
|
496
|
+
b.bp("/DeleteChannel");
|
|
497
|
+
let body;
|
|
498
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
499
|
+
arn: [],
|
|
500
|
+
}));
|
|
501
|
+
b.m("POST").h(headers).b(body);
|
|
502
|
+
return b.build();
|
|
503
|
+
};
|
|
504
|
+
const se_DeletePlaybackKeyPairCommand = async (input, context) => {
|
|
505
|
+
const b = core.requestBuilder(input, context);
|
|
506
|
+
const headers = {
|
|
507
|
+
"content-type": "application/json",
|
|
508
|
+
};
|
|
509
|
+
b.bp("/DeletePlaybackKeyPair");
|
|
510
|
+
let body;
|
|
511
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
512
|
+
arn: [],
|
|
513
|
+
}));
|
|
514
|
+
b.m("POST").h(headers).b(body);
|
|
515
|
+
return b.build();
|
|
516
|
+
};
|
|
517
|
+
const se_DeletePlaybackRestrictionPolicyCommand = async (input, context) => {
|
|
518
|
+
const b = core.requestBuilder(input, context);
|
|
519
|
+
const headers = {
|
|
520
|
+
"content-type": "application/json",
|
|
521
|
+
};
|
|
522
|
+
b.bp("/DeletePlaybackRestrictionPolicy");
|
|
523
|
+
let body;
|
|
524
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
525
|
+
arn: [],
|
|
526
|
+
}));
|
|
527
|
+
b.m("POST").h(headers).b(body);
|
|
528
|
+
return b.build();
|
|
529
|
+
};
|
|
530
|
+
const se_DeleteRecordingConfigurationCommand = async (input, context) => {
|
|
531
|
+
const b = core.requestBuilder(input, context);
|
|
532
|
+
const headers = {
|
|
533
|
+
"content-type": "application/json",
|
|
534
|
+
};
|
|
535
|
+
b.bp("/DeleteRecordingConfiguration");
|
|
536
|
+
let body;
|
|
537
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
538
|
+
arn: [],
|
|
539
|
+
}));
|
|
540
|
+
b.m("POST").h(headers).b(body);
|
|
541
|
+
return b.build();
|
|
542
|
+
};
|
|
543
|
+
const se_DeleteStreamKeyCommand = async (input, context) => {
|
|
544
|
+
const b = core.requestBuilder(input, context);
|
|
545
|
+
const headers = {
|
|
546
|
+
"content-type": "application/json",
|
|
547
|
+
};
|
|
548
|
+
b.bp("/DeleteStreamKey");
|
|
549
|
+
let body;
|
|
550
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
551
|
+
arn: [],
|
|
552
|
+
}));
|
|
553
|
+
b.m("POST").h(headers).b(body);
|
|
554
|
+
return b.build();
|
|
555
|
+
};
|
|
556
|
+
const se_GetChannelCommand = async (input, context) => {
|
|
557
|
+
const b = core.requestBuilder(input, context);
|
|
558
|
+
const headers = {
|
|
559
|
+
"content-type": "application/json",
|
|
560
|
+
};
|
|
561
|
+
b.bp("/GetChannel");
|
|
562
|
+
let body;
|
|
563
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
564
|
+
arn: [],
|
|
565
|
+
}));
|
|
566
|
+
b.m("POST").h(headers).b(body);
|
|
567
|
+
return b.build();
|
|
568
|
+
};
|
|
569
|
+
const se_GetPlaybackKeyPairCommand = async (input, context) => {
|
|
570
|
+
const b = core.requestBuilder(input, context);
|
|
571
|
+
const headers = {
|
|
572
|
+
"content-type": "application/json",
|
|
573
|
+
};
|
|
574
|
+
b.bp("/GetPlaybackKeyPair");
|
|
575
|
+
let body;
|
|
576
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
577
|
+
arn: [],
|
|
578
|
+
}));
|
|
579
|
+
b.m("POST").h(headers).b(body);
|
|
580
|
+
return b.build();
|
|
581
|
+
};
|
|
582
|
+
const se_GetPlaybackRestrictionPolicyCommand = async (input, context) => {
|
|
583
|
+
const b = core.requestBuilder(input, context);
|
|
584
|
+
const headers = {
|
|
585
|
+
"content-type": "application/json",
|
|
586
|
+
};
|
|
587
|
+
b.bp("/GetPlaybackRestrictionPolicy");
|
|
588
|
+
let body;
|
|
589
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
590
|
+
arn: [],
|
|
591
|
+
}));
|
|
592
|
+
b.m("POST").h(headers).b(body);
|
|
593
|
+
return b.build();
|
|
594
|
+
};
|
|
595
|
+
const se_GetRecordingConfigurationCommand = async (input, context) => {
|
|
596
|
+
const b = core.requestBuilder(input, context);
|
|
597
|
+
const headers = {
|
|
598
|
+
"content-type": "application/json",
|
|
599
|
+
};
|
|
600
|
+
b.bp("/GetRecordingConfiguration");
|
|
601
|
+
let body;
|
|
602
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
603
|
+
arn: [],
|
|
604
|
+
}));
|
|
605
|
+
b.m("POST").h(headers).b(body);
|
|
606
|
+
return b.build();
|
|
607
|
+
};
|
|
608
|
+
const se_GetStreamCommand = async (input, context) => {
|
|
609
|
+
const b = core.requestBuilder(input, context);
|
|
610
|
+
const headers = {
|
|
611
|
+
"content-type": "application/json",
|
|
612
|
+
};
|
|
613
|
+
b.bp("/GetStream");
|
|
614
|
+
let body;
|
|
615
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
616
|
+
channelArn: [],
|
|
617
|
+
}));
|
|
618
|
+
b.m("POST").h(headers).b(body);
|
|
619
|
+
return b.build();
|
|
620
|
+
};
|
|
621
|
+
const se_GetStreamKeyCommand = async (input, context) => {
|
|
622
|
+
const b = core.requestBuilder(input, context);
|
|
623
|
+
const headers = {
|
|
624
|
+
"content-type": "application/json",
|
|
625
|
+
};
|
|
626
|
+
b.bp("/GetStreamKey");
|
|
627
|
+
let body;
|
|
628
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
629
|
+
arn: [],
|
|
630
|
+
}));
|
|
631
|
+
b.m("POST").h(headers).b(body);
|
|
632
|
+
return b.build();
|
|
633
|
+
};
|
|
634
|
+
const se_GetStreamSessionCommand = async (input, context) => {
|
|
635
|
+
const b = core.requestBuilder(input, context);
|
|
636
|
+
const headers = {
|
|
637
|
+
"content-type": "application/json",
|
|
638
|
+
};
|
|
639
|
+
b.bp("/GetStreamSession");
|
|
640
|
+
let body;
|
|
641
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
642
|
+
channelArn: [],
|
|
643
|
+
streamId: [],
|
|
644
|
+
}));
|
|
645
|
+
b.m("POST").h(headers).b(body);
|
|
646
|
+
return b.build();
|
|
647
|
+
};
|
|
648
|
+
const se_ImportPlaybackKeyPairCommand = async (input, context) => {
|
|
649
|
+
const b = core.requestBuilder(input, context);
|
|
650
|
+
const headers = {
|
|
651
|
+
"content-type": "application/json",
|
|
652
|
+
};
|
|
653
|
+
b.bp("/ImportPlaybackKeyPair");
|
|
654
|
+
let body;
|
|
655
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
656
|
+
name: [],
|
|
657
|
+
publicKeyMaterial: [],
|
|
658
|
+
tags: (_) => smithyClient._json(_),
|
|
659
|
+
}));
|
|
660
|
+
b.m("POST").h(headers).b(body);
|
|
661
|
+
return b.build();
|
|
662
|
+
};
|
|
663
|
+
const se_ListChannelsCommand = async (input, context) => {
|
|
664
|
+
const b = core.requestBuilder(input, context);
|
|
665
|
+
const headers = {
|
|
666
|
+
"content-type": "application/json",
|
|
667
|
+
};
|
|
668
|
+
b.bp("/ListChannels");
|
|
669
|
+
let body;
|
|
670
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
671
|
+
filterByName: [],
|
|
672
|
+
filterByPlaybackRestrictionPolicyArn: [],
|
|
673
|
+
filterByRecordingConfigurationArn: [],
|
|
674
|
+
maxResults: [],
|
|
675
|
+
nextToken: [],
|
|
676
|
+
}));
|
|
677
|
+
b.m("POST").h(headers).b(body);
|
|
678
|
+
return b.build();
|
|
679
|
+
};
|
|
680
|
+
const se_ListPlaybackKeyPairsCommand = async (input, context) => {
|
|
681
|
+
const b = core.requestBuilder(input, context);
|
|
682
|
+
const headers = {
|
|
683
|
+
"content-type": "application/json",
|
|
684
|
+
};
|
|
685
|
+
b.bp("/ListPlaybackKeyPairs");
|
|
686
|
+
let body;
|
|
687
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
688
|
+
maxResults: [],
|
|
689
|
+
nextToken: [],
|
|
690
|
+
}));
|
|
691
|
+
b.m("POST").h(headers).b(body);
|
|
692
|
+
return b.build();
|
|
693
|
+
};
|
|
694
|
+
const se_ListPlaybackRestrictionPoliciesCommand = async (input, context) => {
|
|
695
|
+
const b = core.requestBuilder(input, context);
|
|
696
|
+
const headers = {
|
|
697
|
+
"content-type": "application/json",
|
|
698
|
+
};
|
|
699
|
+
b.bp("/ListPlaybackRestrictionPolicies");
|
|
700
|
+
let body;
|
|
701
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
702
|
+
maxResults: [],
|
|
703
|
+
nextToken: [],
|
|
704
|
+
}));
|
|
705
|
+
b.m("POST").h(headers).b(body);
|
|
706
|
+
return b.build();
|
|
707
|
+
};
|
|
708
|
+
const se_ListRecordingConfigurationsCommand = async (input, context) => {
|
|
709
|
+
const b = core.requestBuilder(input, context);
|
|
710
|
+
const headers = {
|
|
711
|
+
"content-type": "application/json",
|
|
712
|
+
};
|
|
713
|
+
b.bp("/ListRecordingConfigurations");
|
|
714
|
+
let body;
|
|
715
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
716
|
+
maxResults: [],
|
|
717
|
+
nextToken: [],
|
|
718
|
+
}));
|
|
719
|
+
b.m("POST").h(headers).b(body);
|
|
720
|
+
return b.build();
|
|
721
|
+
};
|
|
722
|
+
const se_ListStreamKeysCommand = async (input, context) => {
|
|
723
|
+
const b = core.requestBuilder(input, context);
|
|
724
|
+
const headers = {
|
|
725
|
+
"content-type": "application/json",
|
|
726
|
+
};
|
|
727
|
+
b.bp("/ListStreamKeys");
|
|
728
|
+
let body;
|
|
729
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
730
|
+
channelArn: [],
|
|
731
|
+
maxResults: [],
|
|
732
|
+
nextToken: [],
|
|
733
|
+
}));
|
|
734
|
+
b.m("POST").h(headers).b(body);
|
|
735
|
+
return b.build();
|
|
736
|
+
};
|
|
737
|
+
const se_ListStreamsCommand = async (input, context) => {
|
|
738
|
+
const b = core.requestBuilder(input, context);
|
|
739
|
+
const headers = {
|
|
740
|
+
"content-type": "application/json",
|
|
741
|
+
};
|
|
742
|
+
b.bp("/ListStreams");
|
|
743
|
+
let body;
|
|
744
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
745
|
+
filterBy: (_) => smithyClient._json(_),
|
|
746
|
+
maxResults: [],
|
|
747
|
+
nextToken: [],
|
|
748
|
+
}));
|
|
749
|
+
b.m("POST").h(headers).b(body);
|
|
750
|
+
return b.build();
|
|
751
|
+
};
|
|
752
|
+
const se_ListStreamSessionsCommand = async (input, context) => {
|
|
753
|
+
const b = core.requestBuilder(input, context);
|
|
754
|
+
const headers = {
|
|
755
|
+
"content-type": "application/json",
|
|
756
|
+
};
|
|
757
|
+
b.bp("/ListStreamSessions");
|
|
758
|
+
let body;
|
|
759
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
760
|
+
channelArn: [],
|
|
761
|
+
maxResults: [],
|
|
762
|
+
nextToken: [],
|
|
763
|
+
}));
|
|
764
|
+
b.m("POST").h(headers).b(body);
|
|
765
|
+
return b.build();
|
|
766
|
+
};
|
|
767
|
+
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
768
|
+
const b = core.requestBuilder(input, context);
|
|
769
|
+
const headers = {};
|
|
770
|
+
b.bp("/tags/{resourceArn}");
|
|
771
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
772
|
+
let body;
|
|
773
|
+
b.m("GET").h(headers).b(body);
|
|
774
|
+
return b.build();
|
|
775
|
+
};
|
|
776
|
+
const se_PutMetadataCommand = async (input, context) => {
|
|
777
|
+
const b = core.requestBuilder(input, context);
|
|
778
|
+
const headers = {
|
|
779
|
+
"content-type": "application/json",
|
|
780
|
+
};
|
|
781
|
+
b.bp("/PutMetadata");
|
|
782
|
+
let body;
|
|
783
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
784
|
+
channelArn: [],
|
|
785
|
+
metadata: [],
|
|
786
|
+
}));
|
|
787
|
+
b.m("POST").h(headers).b(body);
|
|
788
|
+
return b.build();
|
|
789
|
+
};
|
|
790
|
+
const se_StartViewerSessionRevocationCommand = async (input, context) => {
|
|
791
|
+
const b = core.requestBuilder(input, context);
|
|
792
|
+
const headers = {
|
|
793
|
+
"content-type": "application/json",
|
|
794
|
+
};
|
|
795
|
+
b.bp("/StartViewerSessionRevocation");
|
|
796
|
+
let body;
|
|
797
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
798
|
+
channelArn: [],
|
|
799
|
+
viewerId: [],
|
|
800
|
+
viewerSessionVersionsLessThanOrEqualTo: [],
|
|
801
|
+
}));
|
|
802
|
+
b.m("POST").h(headers).b(body);
|
|
803
|
+
return b.build();
|
|
804
|
+
};
|
|
805
|
+
const se_StopStreamCommand = async (input, context) => {
|
|
806
|
+
const b = core.requestBuilder(input, context);
|
|
807
|
+
const headers = {
|
|
808
|
+
"content-type": "application/json",
|
|
809
|
+
};
|
|
810
|
+
b.bp("/StopStream");
|
|
811
|
+
let body;
|
|
812
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
813
|
+
channelArn: [],
|
|
814
|
+
}));
|
|
815
|
+
b.m("POST").h(headers).b(body);
|
|
816
|
+
return b.build();
|
|
817
|
+
};
|
|
818
|
+
const se_TagResourceCommand = async (input, context) => {
|
|
819
|
+
const b = core.requestBuilder(input, context);
|
|
820
|
+
const headers = {
|
|
821
|
+
"content-type": "application/json",
|
|
822
|
+
};
|
|
823
|
+
b.bp("/tags/{resourceArn}");
|
|
824
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
825
|
+
let body;
|
|
826
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
827
|
+
tags: (_) => smithyClient._json(_),
|
|
828
|
+
}));
|
|
829
|
+
b.m("POST").h(headers).b(body);
|
|
830
|
+
return b.build();
|
|
831
|
+
};
|
|
832
|
+
const se_UntagResourceCommand = async (input, context) => {
|
|
833
|
+
const b = core.requestBuilder(input, context);
|
|
834
|
+
const headers = {};
|
|
835
|
+
b.bp("/tags/{resourceArn}");
|
|
836
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
837
|
+
const query = smithyClient.map({
|
|
838
|
+
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
839
|
+
});
|
|
840
|
+
let body;
|
|
841
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
842
|
+
return b.build();
|
|
843
|
+
};
|
|
844
|
+
const se_UpdateChannelCommand = async (input, context) => {
|
|
845
|
+
const b = core.requestBuilder(input, context);
|
|
846
|
+
const headers = {
|
|
847
|
+
"content-type": "application/json",
|
|
848
|
+
};
|
|
849
|
+
b.bp("/UpdateChannel");
|
|
850
|
+
let body;
|
|
851
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
852
|
+
arn: [],
|
|
853
|
+
authorized: [],
|
|
854
|
+
containerFormat: [],
|
|
855
|
+
insecureIngest: [],
|
|
856
|
+
latencyMode: [],
|
|
857
|
+
multitrackInputConfiguration: (_) => smithyClient._json(_),
|
|
858
|
+
name: [],
|
|
859
|
+
playbackRestrictionPolicyArn: [],
|
|
860
|
+
preset: [],
|
|
861
|
+
recordingConfigurationArn: [],
|
|
862
|
+
type: [],
|
|
863
|
+
}));
|
|
864
|
+
b.m("POST").h(headers).b(body);
|
|
865
|
+
return b.build();
|
|
866
|
+
};
|
|
867
|
+
const se_UpdatePlaybackRestrictionPolicyCommand = async (input, context) => {
|
|
868
|
+
const b = core.requestBuilder(input, context);
|
|
869
|
+
const headers = {
|
|
870
|
+
"content-type": "application/json",
|
|
871
|
+
};
|
|
872
|
+
b.bp("/UpdatePlaybackRestrictionPolicy");
|
|
873
|
+
let body;
|
|
874
|
+
body = JSON.stringify(smithyClient.take(input, {
|
|
875
|
+
allowedCountries: (_) => smithyClient._json(_),
|
|
876
|
+
allowedOrigins: (_) => smithyClient._json(_),
|
|
877
|
+
arn: [],
|
|
878
|
+
enableStrictOriginEnforcement: [],
|
|
879
|
+
name: [],
|
|
880
|
+
}));
|
|
881
|
+
b.m("POST").h(headers).b(body);
|
|
882
|
+
return b.build();
|
|
883
|
+
};
|
|
884
|
+
const de_BatchGetChannelCommand = async (output, context) => {
|
|
885
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
886
|
+
return de_CommandError(output, context);
|
|
887
|
+
}
|
|
888
|
+
const contents = smithyClient.map({
|
|
889
|
+
$metadata: deserializeMetadata(output),
|
|
890
|
+
});
|
|
891
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
892
|
+
const doc = smithyClient.take(data, {
|
|
893
|
+
channels: smithyClient._json,
|
|
894
|
+
errors: smithyClient._json,
|
|
895
|
+
});
|
|
896
|
+
Object.assign(contents, doc);
|
|
897
|
+
return contents;
|
|
136
898
|
};
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
// src/runtimeExtensions.ts
|
|
142
|
-
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
143
|
-
var import_protocol_http = require("@smithy/protocol-http");
|
|
144
|
-
var import_smithy_client = require("@smithy/smithy-client");
|
|
145
|
-
|
|
146
|
-
// src/auth/httpAuthExtensionConfiguration.ts
|
|
147
|
-
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
148
|
-
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
149
|
-
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
150
|
-
let _credentials = runtimeConfig.credentials;
|
|
151
|
-
return {
|
|
152
|
-
setHttpAuthScheme(httpAuthScheme) {
|
|
153
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
154
|
-
if (index === -1) {
|
|
155
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
|
156
|
-
} else {
|
|
157
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
httpAuthSchemes() {
|
|
161
|
-
return _httpAuthSchemes;
|
|
162
|
-
},
|
|
163
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
164
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
165
|
-
},
|
|
166
|
-
httpAuthSchemeProvider() {
|
|
167
|
-
return _httpAuthSchemeProvider;
|
|
168
|
-
},
|
|
169
|
-
setCredentials(credentials) {
|
|
170
|
-
_credentials = credentials;
|
|
171
|
-
},
|
|
172
|
-
credentials() {
|
|
173
|
-
return _credentials;
|
|
899
|
+
const de_BatchGetStreamKeyCommand = async (output, context) => {
|
|
900
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
901
|
+
return de_CommandError(output, context);
|
|
174
902
|
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
// src/runtimeExtensions.ts
|
|
186
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
187
|
-
const extensionConfiguration = Object.assign(
|
|
188
|
-
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
189
|
-
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
190
|
-
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
191
|
-
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
192
|
-
);
|
|
193
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
194
|
-
return Object.assign(
|
|
195
|
-
runtimeConfig,
|
|
196
|
-
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
197
|
-
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
198
|
-
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
199
|
-
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
200
|
-
);
|
|
201
|
-
}, "resolveRuntimeExtensions");
|
|
202
|
-
|
|
203
|
-
// src/IvsClient.ts
|
|
204
|
-
var IvsClient = class extends import_smithy_client.Client {
|
|
205
|
-
static {
|
|
206
|
-
__name(this, "IvsClient");
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* The resolved configuration of IvsClient class. This is resolved and normalized from the {@link IvsClientConfig | constructor configuration interface}.
|
|
210
|
-
*/
|
|
211
|
-
config;
|
|
212
|
-
constructor(...[configuration]) {
|
|
213
|
-
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
214
|
-
super(_config_0);
|
|
215
|
-
this.initConfig = _config_0;
|
|
216
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
217
|
-
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
218
|
-
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
219
|
-
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
220
|
-
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
221
|
-
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
222
|
-
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
223
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
224
|
-
this.config = _config_8;
|
|
225
|
-
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
226
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
227
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
228
|
-
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
229
|
-
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
230
|
-
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
231
|
-
this.middlewareStack.use(
|
|
232
|
-
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
233
|
-
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultIvsHttpAuthSchemeParametersProvider,
|
|
234
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
235
|
-
"aws.auth#sigv4": config.credentials
|
|
236
|
-
}), "identityProviderConfigProvider")
|
|
237
|
-
})
|
|
238
|
-
);
|
|
239
|
-
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
243
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
244
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
245
|
-
*/
|
|
246
|
-
destroy() {
|
|
247
|
-
super.destroy();
|
|
248
|
-
}
|
|
903
|
+
const contents = smithyClient.map({
|
|
904
|
+
$metadata: deserializeMetadata(output),
|
|
905
|
+
});
|
|
906
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
907
|
+
const doc = smithyClient.take(data, {
|
|
908
|
+
errors: smithyClient._json,
|
|
909
|
+
streamKeys: smithyClient._json,
|
|
910
|
+
});
|
|
911
|
+
Object.assign(contents, doc);
|
|
912
|
+
return contents;
|
|
249
913
|
};
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
var IvsServiceException = class _IvsServiceException extends import_smithy_client.ServiceException {
|
|
265
|
-
static {
|
|
266
|
-
__name(this, "IvsServiceException");
|
|
267
|
-
}
|
|
268
|
-
/**
|
|
269
|
-
* @internal
|
|
270
|
-
*/
|
|
271
|
-
constructor(options) {
|
|
272
|
-
super(options);
|
|
273
|
-
Object.setPrototypeOf(this, _IvsServiceException.prototype);
|
|
274
|
-
}
|
|
914
|
+
const de_BatchStartViewerSessionRevocationCommand = async (output, context) => {
|
|
915
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
916
|
+
return de_CommandError(output, context);
|
|
917
|
+
}
|
|
918
|
+
const contents = smithyClient.map({
|
|
919
|
+
$metadata: deserializeMetadata(output),
|
|
920
|
+
});
|
|
921
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
922
|
+
const doc = smithyClient.take(data, {
|
|
923
|
+
errors: smithyClient._json,
|
|
924
|
+
});
|
|
925
|
+
Object.assign(contents, doc);
|
|
926
|
+
return contents;
|
|
275
927
|
};
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
* @internal
|
|
291
|
-
*/
|
|
292
|
-
constructor(opts) {
|
|
293
|
-
super({
|
|
294
|
-
name: "AccessDeniedException",
|
|
295
|
-
$fault: "client",
|
|
296
|
-
...opts
|
|
297
|
-
});
|
|
298
|
-
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
299
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
300
|
-
}
|
|
301
|
-
};
|
|
302
|
-
var ContainerFormat = {
|
|
303
|
-
FragmentedMP4: "FRAGMENTED_MP4",
|
|
304
|
-
TS: "TS"
|
|
305
|
-
};
|
|
306
|
-
var ChannelLatencyMode = {
|
|
307
|
-
LowLatency: "LOW",
|
|
308
|
-
NormalLatency: "NORMAL"
|
|
309
|
-
};
|
|
310
|
-
var MultitrackMaximumResolution = {
|
|
311
|
-
FULL_HD: "FULL_HD",
|
|
312
|
-
HD: "HD",
|
|
313
|
-
SD: "SD"
|
|
314
|
-
};
|
|
315
|
-
var MultitrackPolicy = {
|
|
316
|
-
ALLOW: "ALLOW",
|
|
317
|
-
REQUIRE: "REQUIRE"
|
|
318
|
-
};
|
|
319
|
-
var TranscodePreset = {
|
|
320
|
-
ConstrainedBandwidthTranscodePreset: "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
321
|
-
HigherBandwidthTranscodePreset: "HIGHER_BANDWIDTH_DELIVERY"
|
|
322
|
-
};
|
|
323
|
-
var ChannelType = {
|
|
324
|
-
AdvancedHDChannelType: "ADVANCED_HD",
|
|
325
|
-
AdvancedSDChannelType: "ADVANCED_SD",
|
|
326
|
-
BasicChannelType: "BASIC",
|
|
327
|
-
StandardChannelType: "STANDARD"
|
|
328
|
-
};
|
|
329
|
-
var PendingVerification = class _PendingVerification extends IvsServiceException {
|
|
330
|
-
static {
|
|
331
|
-
__name(this, "PendingVerification");
|
|
332
|
-
}
|
|
333
|
-
name = "PendingVerification";
|
|
334
|
-
$fault = "client";
|
|
335
|
-
/**
|
|
336
|
-
* <p> Your account is pending verification. </p>
|
|
337
|
-
* @public
|
|
338
|
-
*/
|
|
339
|
-
exceptionMessage;
|
|
340
|
-
/**
|
|
341
|
-
* @internal
|
|
342
|
-
*/
|
|
343
|
-
constructor(opts) {
|
|
344
|
-
super({
|
|
345
|
-
name: "PendingVerification",
|
|
346
|
-
$fault: "client",
|
|
347
|
-
...opts
|
|
348
|
-
});
|
|
349
|
-
Object.setPrototypeOf(this, _PendingVerification.prototype);
|
|
350
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
351
|
-
}
|
|
352
|
-
};
|
|
353
|
-
var ThrottlingException = class _ThrottlingException extends IvsServiceException {
|
|
354
|
-
static {
|
|
355
|
-
__name(this, "ThrottlingException");
|
|
356
|
-
}
|
|
357
|
-
name = "ThrottlingException";
|
|
358
|
-
$fault = "client";
|
|
359
|
-
/**
|
|
360
|
-
* <p>Request was denied due to request throttling.</p>
|
|
361
|
-
* @public
|
|
362
|
-
*/
|
|
363
|
-
exceptionMessage;
|
|
364
|
-
/**
|
|
365
|
-
* @internal
|
|
366
|
-
*/
|
|
367
|
-
constructor(opts) {
|
|
368
|
-
super({
|
|
369
|
-
name: "ThrottlingException",
|
|
370
|
-
$fault: "client",
|
|
371
|
-
...opts
|
|
372
|
-
});
|
|
373
|
-
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
374
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
375
|
-
}
|
|
376
|
-
};
|
|
377
|
-
var ValidationException = class _ValidationException extends IvsServiceException {
|
|
378
|
-
static {
|
|
379
|
-
__name(this, "ValidationException");
|
|
380
|
-
}
|
|
381
|
-
name = "ValidationException";
|
|
382
|
-
$fault = "client";
|
|
383
|
-
/**
|
|
384
|
-
* <p>The input fails to satisfy the constraints specified by an Amazon Web Services service.</p>
|
|
385
|
-
* @public
|
|
386
|
-
*/
|
|
387
|
-
exceptionMessage;
|
|
388
|
-
/**
|
|
389
|
-
* @internal
|
|
390
|
-
*/
|
|
391
|
-
constructor(opts) {
|
|
392
|
-
super({
|
|
393
|
-
name: "ValidationException",
|
|
394
|
-
$fault: "client",
|
|
395
|
-
...opts
|
|
396
|
-
});
|
|
397
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
398
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
399
|
-
}
|
|
400
|
-
};
|
|
401
|
-
var ResourceNotFoundException = class _ResourceNotFoundException extends IvsServiceException {
|
|
402
|
-
static {
|
|
403
|
-
__name(this, "ResourceNotFoundException");
|
|
404
|
-
}
|
|
405
|
-
name = "ResourceNotFoundException";
|
|
406
|
-
$fault = "client";
|
|
407
|
-
/**
|
|
408
|
-
* <p>Request references a resource which does not exist.</p>
|
|
409
|
-
* @public
|
|
410
|
-
*/
|
|
411
|
-
exceptionMessage;
|
|
412
|
-
/**
|
|
413
|
-
* @internal
|
|
414
|
-
*/
|
|
415
|
-
constructor(opts) {
|
|
416
|
-
super({
|
|
417
|
-
name: "ResourceNotFoundException",
|
|
418
|
-
$fault: "client",
|
|
419
|
-
...opts
|
|
420
|
-
});
|
|
421
|
-
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
422
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
423
|
-
}
|
|
424
|
-
};
|
|
425
|
-
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends IvsServiceException {
|
|
426
|
-
static {
|
|
427
|
-
__name(this, "ServiceQuotaExceededException");
|
|
428
|
-
}
|
|
429
|
-
name = "ServiceQuotaExceededException";
|
|
430
|
-
$fault = "client";
|
|
431
|
-
/**
|
|
432
|
-
* <p>Request would cause a service quota to be exceeded.</p>
|
|
433
|
-
* @public
|
|
434
|
-
*/
|
|
435
|
-
exceptionMessage;
|
|
436
|
-
/**
|
|
437
|
-
* @internal
|
|
438
|
-
*/
|
|
439
|
-
constructor(opts) {
|
|
440
|
-
super({
|
|
441
|
-
name: "ServiceQuotaExceededException",
|
|
442
|
-
$fault: "client",
|
|
443
|
-
...opts
|
|
444
|
-
});
|
|
445
|
-
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
446
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
447
|
-
}
|
|
448
|
-
};
|
|
449
|
-
var ConflictException = class _ConflictException extends IvsServiceException {
|
|
450
|
-
static {
|
|
451
|
-
__name(this, "ConflictException");
|
|
452
|
-
}
|
|
453
|
-
name = "ConflictException";
|
|
454
|
-
$fault = "client";
|
|
455
|
-
/**
|
|
456
|
-
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
457
|
-
* @public
|
|
458
|
-
*/
|
|
459
|
-
exceptionMessage;
|
|
460
|
-
/**
|
|
461
|
-
* @internal
|
|
462
|
-
*/
|
|
463
|
-
constructor(opts) {
|
|
464
|
-
super({
|
|
465
|
-
name: "ConflictException",
|
|
466
|
-
$fault: "client",
|
|
467
|
-
...opts
|
|
468
|
-
});
|
|
469
|
-
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
470
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
471
|
-
}
|
|
472
|
-
};
|
|
473
|
-
var RenditionConfigurationRendition = {
|
|
474
|
-
FULL_HD: "FULL_HD",
|
|
475
|
-
HD: "HD",
|
|
476
|
-
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
477
|
-
SD: "SD"
|
|
478
|
-
};
|
|
479
|
-
var RenditionConfigurationRenditionSelection = {
|
|
480
|
-
ALL: "ALL",
|
|
481
|
-
CUSTOM: "CUSTOM",
|
|
482
|
-
NONE: "NONE"
|
|
483
|
-
};
|
|
484
|
-
var RecordingMode = {
|
|
485
|
-
Disabled: "DISABLED",
|
|
486
|
-
Interval: "INTERVAL"
|
|
487
|
-
};
|
|
488
|
-
var ThumbnailConfigurationResolution = {
|
|
489
|
-
FULL_HD: "FULL_HD",
|
|
490
|
-
HD: "HD",
|
|
491
|
-
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
492
|
-
SD: "SD"
|
|
493
|
-
};
|
|
494
|
-
var ThumbnailConfigurationStorage = {
|
|
495
|
-
LATEST: "LATEST",
|
|
496
|
-
SEQUENTIAL: "SEQUENTIAL"
|
|
497
|
-
};
|
|
498
|
-
var RecordingConfigurationState = {
|
|
499
|
-
Active: "ACTIVE",
|
|
500
|
-
CreateFailed: "CREATE_FAILED",
|
|
501
|
-
Creating: "CREATING"
|
|
502
|
-
};
|
|
503
|
-
var InternalServerException = class _InternalServerException extends IvsServiceException {
|
|
504
|
-
static {
|
|
505
|
-
__name(this, "InternalServerException");
|
|
506
|
-
}
|
|
507
|
-
name = "InternalServerException";
|
|
508
|
-
$fault = "server";
|
|
509
|
-
/**
|
|
510
|
-
* <p>Unexpected error during processing of request.</p>
|
|
511
|
-
* @public
|
|
512
|
-
*/
|
|
513
|
-
exceptionMessage;
|
|
514
|
-
/**
|
|
515
|
-
* @internal
|
|
516
|
-
*/
|
|
517
|
-
constructor(opts) {
|
|
518
|
-
super({
|
|
519
|
-
name: "InternalServerException",
|
|
520
|
-
$fault: "server",
|
|
521
|
-
...opts
|
|
522
|
-
});
|
|
523
|
-
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
524
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
525
|
-
}
|
|
526
|
-
};
|
|
527
|
-
var ChannelNotBroadcasting = class _ChannelNotBroadcasting extends IvsServiceException {
|
|
528
|
-
static {
|
|
529
|
-
__name(this, "ChannelNotBroadcasting");
|
|
530
|
-
}
|
|
531
|
-
name = "ChannelNotBroadcasting";
|
|
532
|
-
$fault = "client";
|
|
533
|
-
/**
|
|
534
|
-
* <p>The stream is offline for the given channel ARN.</p>
|
|
535
|
-
* @public
|
|
536
|
-
*/
|
|
537
|
-
exceptionMessage;
|
|
538
|
-
/**
|
|
539
|
-
* @internal
|
|
540
|
-
*/
|
|
541
|
-
constructor(opts) {
|
|
542
|
-
super({
|
|
543
|
-
name: "ChannelNotBroadcasting",
|
|
544
|
-
$fault: "client",
|
|
545
|
-
...opts
|
|
546
|
-
});
|
|
547
|
-
Object.setPrototypeOf(this, _ChannelNotBroadcasting.prototype);
|
|
548
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
549
|
-
}
|
|
550
|
-
};
|
|
551
|
-
var StreamHealth = {
|
|
552
|
-
Starving: "STARVING",
|
|
553
|
-
StreamHealthy: "HEALTHY",
|
|
554
|
-
Unknown: "UNKNOWN"
|
|
555
|
-
};
|
|
556
|
-
var StreamState = {
|
|
557
|
-
StreamLive: "LIVE",
|
|
558
|
-
StreamOffline: "OFFLINE"
|
|
559
|
-
};
|
|
560
|
-
var StreamUnavailable = class _StreamUnavailable extends IvsServiceException {
|
|
561
|
-
static {
|
|
562
|
-
__name(this, "StreamUnavailable");
|
|
563
|
-
}
|
|
564
|
-
name = "StreamUnavailable";
|
|
565
|
-
$fault = "server";
|
|
566
|
-
/**
|
|
567
|
-
* <p>The stream is temporarily unavailable.</p>
|
|
568
|
-
* @public
|
|
569
|
-
*/
|
|
570
|
-
exceptionMessage;
|
|
571
|
-
/**
|
|
572
|
-
* @internal
|
|
573
|
-
*/
|
|
574
|
-
constructor(opts) {
|
|
575
|
-
super({
|
|
576
|
-
name: "StreamUnavailable",
|
|
577
|
-
$fault: "server",
|
|
578
|
-
...opts
|
|
579
|
-
});
|
|
580
|
-
Object.setPrototypeOf(this, _StreamUnavailable.prototype);
|
|
581
|
-
this.exceptionMessage = opts.exceptionMessage;
|
|
582
|
-
}
|
|
583
|
-
};
|
|
584
|
-
var SrtFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
585
|
-
...obj,
|
|
586
|
-
...obj.passphrase && { passphrase: import_smithy_client.SENSITIVE_STRING }
|
|
587
|
-
}), "SrtFilterSensitiveLog");
|
|
588
|
-
var ChannelFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
589
|
-
...obj,
|
|
590
|
-
...obj.srt && { srt: SrtFilterSensitiveLog(obj.srt) }
|
|
591
|
-
}), "ChannelFilterSensitiveLog");
|
|
592
|
-
var BatchGetChannelResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
593
|
-
...obj,
|
|
594
|
-
...obj.channels && { channels: obj.channels.map((item) => ChannelFilterSensitiveLog(item)) }
|
|
595
|
-
}), "BatchGetChannelResponseFilterSensitiveLog");
|
|
596
|
-
var StreamKeyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
597
|
-
...obj,
|
|
598
|
-
...obj.value && { value: import_smithy_client.SENSITIVE_STRING }
|
|
599
|
-
}), "StreamKeyFilterSensitiveLog");
|
|
600
|
-
var BatchGetStreamKeyResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
601
|
-
...obj,
|
|
602
|
-
...obj.streamKeys && { streamKeys: obj.streamKeys.map((item) => StreamKeyFilterSensitiveLog(item)) }
|
|
603
|
-
}), "BatchGetStreamKeyResponseFilterSensitiveLog");
|
|
604
|
-
var CreateChannelResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
605
|
-
...obj,
|
|
606
|
-
...obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) },
|
|
607
|
-
...obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }
|
|
608
|
-
}), "CreateChannelResponseFilterSensitiveLog");
|
|
609
|
-
var CreateStreamKeyResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
610
|
-
...obj,
|
|
611
|
-
...obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }
|
|
612
|
-
}), "CreateStreamKeyResponseFilterSensitiveLog");
|
|
613
|
-
var GetChannelResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
614
|
-
...obj,
|
|
615
|
-
...obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }
|
|
616
|
-
}), "GetChannelResponseFilterSensitiveLog");
|
|
617
|
-
var GetStreamKeyResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
618
|
-
...obj,
|
|
619
|
-
...obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }
|
|
620
|
-
}), "GetStreamKeyResponseFilterSensitiveLog");
|
|
621
|
-
var StreamSessionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
622
|
-
...obj,
|
|
623
|
-
...obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }
|
|
624
|
-
}), "StreamSessionFilterSensitiveLog");
|
|
625
|
-
var GetStreamSessionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
626
|
-
...obj,
|
|
627
|
-
...obj.streamSession && { streamSession: StreamSessionFilterSensitiveLog(obj.streamSession) }
|
|
628
|
-
}), "GetStreamSessionResponseFilterSensitiveLog");
|
|
629
|
-
var PutMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
630
|
-
...obj,
|
|
631
|
-
...obj.metadata && { metadata: import_smithy_client.SENSITIVE_STRING }
|
|
632
|
-
}), "PutMetadataRequestFilterSensitiveLog");
|
|
633
|
-
var UpdateChannelResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
634
|
-
...obj,
|
|
635
|
-
...obj.channel && { channel: ChannelFilterSensitiveLog(obj.channel) }
|
|
636
|
-
}), "UpdateChannelResponseFilterSensitiveLog");
|
|
637
|
-
|
|
638
|
-
// src/protocols/Aws_restJson1.ts
|
|
639
|
-
var import_core2 = require("@aws-sdk/core");
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
var se_BatchGetChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
643
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
644
|
-
const headers = {
|
|
645
|
-
"content-type": "application/json"
|
|
646
|
-
};
|
|
647
|
-
b.bp("/BatchGetChannel");
|
|
648
|
-
let body;
|
|
649
|
-
body = JSON.stringify(
|
|
650
|
-
(0, import_smithy_client.take)(input, {
|
|
651
|
-
arns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "arns")
|
|
652
|
-
})
|
|
653
|
-
);
|
|
654
|
-
b.m("POST").h(headers).b(body);
|
|
655
|
-
return b.build();
|
|
656
|
-
}, "se_BatchGetChannelCommand");
|
|
657
|
-
var se_BatchGetStreamKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
658
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
659
|
-
const headers = {
|
|
660
|
-
"content-type": "application/json"
|
|
661
|
-
};
|
|
662
|
-
b.bp("/BatchGetStreamKey");
|
|
663
|
-
let body;
|
|
664
|
-
body = JSON.stringify(
|
|
665
|
-
(0, import_smithy_client.take)(input, {
|
|
666
|
-
arns: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "arns")
|
|
667
|
-
})
|
|
668
|
-
);
|
|
669
|
-
b.m("POST").h(headers).b(body);
|
|
670
|
-
return b.build();
|
|
671
|
-
}, "se_BatchGetStreamKeyCommand");
|
|
672
|
-
var se_BatchStartViewerSessionRevocationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
673
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
674
|
-
const headers = {
|
|
675
|
-
"content-type": "application/json"
|
|
676
|
-
};
|
|
677
|
-
b.bp("/BatchStartViewerSessionRevocation");
|
|
678
|
-
let body;
|
|
679
|
-
body = JSON.stringify(
|
|
680
|
-
(0, import_smithy_client.take)(input, {
|
|
681
|
-
viewerSessions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "viewerSessions")
|
|
682
|
-
})
|
|
683
|
-
);
|
|
684
|
-
b.m("POST").h(headers).b(body);
|
|
685
|
-
return b.build();
|
|
686
|
-
}, "se_BatchStartViewerSessionRevocationCommand");
|
|
687
|
-
var se_CreateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
688
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
689
|
-
const headers = {
|
|
690
|
-
"content-type": "application/json"
|
|
691
|
-
};
|
|
692
|
-
b.bp("/CreateChannel");
|
|
693
|
-
let body;
|
|
694
|
-
body = JSON.stringify(
|
|
695
|
-
(0, import_smithy_client.take)(input, {
|
|
696
|
-
authorized: [],
|
|
697
|
-
containerFormat: [],
|
|
698
|
-
insecureIngest: [],
|
|
699
|
-
latencyMode: [],
|
|
700
|
-
multitrackInputConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "multitrackInputConfiguration"),
|
|
701
|
-
name: [],
|
|
702
|
-
playbackRestrictionPolicyArn: [],
|
|
703
|
-
preset: [],
|
|
704
|
-
recordingConfigurationArn: [],
|
|
705
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
706
|
-
type: []
|
|
707
|
-
})
|
|
708
|
-
);
|
|
709
|
-
b.m("POST").h(headers).b(body);
|
|
710
|
-
return b.build();
|
|
711
|
-
}, "se_CreateChannelCommand");
|
|
712
|
-
var se_CreatePlaybackRestrictionPolicyCommand = /* @__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("/CreatePlaybackRestrictionPolicy");
|
|
718
|
-
let body;
|
|
719
|
-
body = JSON.stringify(
|
|
720
|
-
(0, import_smithy_client.take)(input, {
|
|
721
|
-
allowedCountries: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "allowedCountries"),
|
|
722
|
-
allowedOrigins: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "allowedOrigins"),
|
|
723
|
-
enableStrictOriginEnforcement: [],
|
|
724
|
-
name: [],
|
|
725
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
726
|
-
})
|
|
727
|
-
);
|
|
728
|
-
b.m("POST").h(headers).b(body);
|
|
729
|
-
return b.build();
|
|
730
|
-
}, "se_CreatePlaybackRestrictionPolicyCommand");
|
|
731
|
-
var se_CreateRecordingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
732
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
733
|
-
const headers = {
|
|
734
|
-
"content-type": "application/json"
|
|
735
|
-
};
|
|
736
|
-
b.bp("/CreateRecordingConfiguration");
|
|
737
|
-
let body;
|
|
738
|
-
body = JSON.stringify(
|
|
739
|
-
(0, import_smithy_client.take)(input, {
|
|
740
|
-
destinationConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "destinationConfiguration"),
|
|
741
|
-
name: [],
|
|
742
|
-
recordingReconnectWindowSeconds: [],
|
|
743
|
-
renditionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "renditionConfiguration"),
|
|
744
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
745
|
-
thumbnailConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "thumbnailConfiguration")
|
|
746
|
-
})
|
|
747
|
-
);
|
|
748
|
-
b.m("POST").h(headers).b(body);
|
|
749
|
-
return b.build();
|
|
750
|
-
}, "se_CreateRecordingConfigurationCommand");
|
|
751
|
-
var se_CreateStreamKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
752
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
753
|
-
const headers = {
|
|
754
|
-
"content-type": "application/json"
|
|
755
|
-
};
|
|
756
|
-
b.bp("/CreateStreamKey");
|
|
757
|
-
let body;
|
|
758
|
-
body = JSON.stringify(
|
|
759
|
-
(0, import_smithy_client.take)(input, {
|
|
760
|
-
channelArn: [],
|
|
761
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
762
|
-
})
|
|
763
|
-
);
|
|
764
|
-
b.m("POST").h(headers).b(body);
|
|
765
|
-
return b.build();
|
|
766
|
-
}, "se_CreateStreamKeyCommand");
|
|
767
|
-
var se_DeleteChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
768
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
769
|
-
const headers = {
|
|
770
|
-
"content-type": "application/json"
|
|
771
|
-
};
|
|
772
|
-
b.bp("/DeleteChannel");
|
|
773
|
-
let body;
|
|
774
|
-
body = JSON.stringify(
|
|
775
|
-
(0, import_smithy_client.take)(input, {
|
|
776
|
-
arn: []
|
|
777
|
-
})
|
|
778
|
-
);
|
|
779
|
-
b.m("POST").h(headers).b(body);
|
|
780
|
-
return b.build();
|
|
781
|
-
}, "se_DeleteChannelCommand");
|
|
782
|
-
var se_DeletePlaybackKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
783
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
784
|
-
const headers = {
|
|
785
|
-
"content-type": "application/json"
|
|
786
|
-
};
|
|
787
|
-
b.bp("/DeletePlaybackKeyPair");
|
|
788
|
-
let body;
|
|
789
|
-
body = JSON.stringify(
|
|
790
|
-
(0, import_smithy_client.take)(input, {
|
|
791
|
-
arn: []
|
|
792
|
-
})
|
|
793
|
-
);
|
|
794
|
-
b.m("POST").h(headers).b(body);
|
|
795
|
-
return b.build();
|
|
796
|
-
}, "se_DeletePlaybackKeyPairCommand");
|
|
797
|
-
var se_DeletePlaybackRestrictionPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
798
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
799
|
-
const headers = {
|
|
800
|
-
"content-type": "application/json"
|
|
801
|
-
};
|
|
802
|
-
b.bp("/DeletePlaybackRestrictionPolicy");
|
|
803
|
-
let body;
|
|
804
|
-
body = JSON.stringify(
|
|
805
|
-
(0, import_smithy_client.take)(input, {
|
|
806
|
-
arn: []
|
|
807
|
-
})
|
|
808
|
-
);
|
|
809
|
-
b.m("POST").h(headers).b(body);
|
|
810
|
-
return b.build();
|
|
811
|
-
}, "se_DeletePlaybackRestrictionPolicyCommand");
|
|
812
|
-
var se_DeleteRecordingConfigurationCommand = /* @__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("/DeleteRecordingConfiguration");
|
|
818
|
-
let body;
|
|
819
|
-
body = JSON.stringify(
|
|
820
|
-
(0, import_smithy_client.take)(input, {
|
|
821
|
-
arn: []
|
|
822
|
-
})
|
|
823
|
-
);
|
|
824
|
-
b.m("POST").h(headers).b(body);
|
|
825
|
-
return b.build();
|
|
826
|
-
}, "se_DeleteRecordingConfigurationCommand");
|
|
827
|
-
var se_DeleteStreamKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
828
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
829
|
-
const headers = {
|
|
830
|
-
"content-type": "application/json"
|
|
831
|
-
};
|
|
832
|
-
b.bp("/DeleteStreamKey");
|
|
833
|
-
let body;
|
|
834
|
-
body = JSON.stringify(
|
|
835
|
-
(0, import_smithy_client.take)(input, {
|
|
836
|
-
arn: []
|
|
837
|
-
})
|
|
838
|
-
);
|
|
839
|
-
b.m("POST").h(headers).b(body);
|
|
840
|
-
return b.build();
|
|
841
|
-
}, "se_DeleteStreamKeyCommand");
|
|
842
|
-
var se_GetChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
843
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
844
|
-
const headers = {
|
|
845
|
-
"content-type": "application/json"
|
|
846
|
-
};
|
|
847
|
-
b.bp("/GetChannel");
|
|
848
|
-
let body;
|
|
849
|
-
body = JSON.stringify(
|
|
850
|
-
(0, import_smithy_client.take)(input, {
|
|
851
|
-
arn: []
|
|
852
|
-
})
|
|
853
|
-
);
|
|
854
|
-
b.m("POST").h(headers).b(body);
|
|
855
|
-
return b.build();
|
|
856
|
-
}, "se_GetChannelCommand");
|
|
857
|
-
var se_GetPlaybackKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
858
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
859
|
-
const headers = {
|
|
860
|
-
"content-type": "application/json"
|
|
861
|
-
};
|
|
862
|
-
b.bp("/GetPlaybackKeyPair");
|
|
863
|
-
let body;
|
|
864
|
-
body = JSON.stringify(
|
|
865
|
-
(0, import_smithy_client.take)(input, {
|
|
866
|
-
arn: []
|
|
867
|
-
})
|
|
868
|
-
);
|
|
869
|
-
b.m("POST").h(headers).b(body);
|
|
870
|
-
return b.build();
|
|
871
|
-
}, "se_GetPlaybackKeyPairCommand");
|
|
872
|
-
var se_GetPlaybackRestrictionPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
873
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
874
|
-
const headers = {
|
|
875
|
-
"content-type": "application/json"
|
|
876
|
-
};
|
|
877
|
-
b.bp("/GetPlaybackRestrictionPolicy");
|
|
878
|
-
let body;
|
|
879
|
-
body = JSON.stringify(
|
|
880
|
-
(0, import_smithy_client.take)(input, {
|
|
881
|
-
arn: []
|
|
882
|
-
})
|
|
883
|
-
);
|
|
884
|
-
b.m("POST").h(headers).b(body);
|
|
885
|
-
return b.build();
|
|
886
|
-
}, "se_GetPlaybackRestrictionPolicyCommand");
|
|
887
|
-
var se_GetRecordingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
888
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
889
|
-
const headers = {
|
|
890
|
-
"content-type": "application/json"
|
|
891
|
-
};
|
|
892
|
-
b.bp("/GetRecordingConfiguration");
|
|
893
|
-
let body;
|
|
894
|
-
body = JSON.stringify(
|
|
895
|
-
(0, import_smithy_client.take)(input, {
|
|
896
|
-
arn: []
|
|
897
|
-
})
|
|
898
|
-
);
|
|
899
|
-
b.m("POST").h(headers).b(body);
|
|
900
|
-
return b.build();
|
|
901
|
-
}, "se_GetRecordingConfigurationCommand");
|
|
902
|
-
var se_GetStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
903
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
904
|
-
const headers = {
|
|
905
|
-
"content-type": "application/json"
|
|
906
|
-
};
|
|
907
|
-
b.bp("/GetStream");
|
|
908
|
-
let body;
|
|
909
|
-
body = JSON.stringify(
|
|
910
|
-
(0, import_smithy_client.take)(input, {
|
|
911
|
-
channelArn: []
|
|
912
|
-
})
|
|
913
|
-
);
|
|
914
|
-
b.m("POST").h(headers).b(body);
|
|
915
|
-
return b.build();
|
|
916
|
-
}, "se_GetStreamCommand");
|
|
917
|
-
var se_GetStreamKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
918
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
919
|
-
const headers = {
|
|
920
|
-
"content-type": "application/json"
|
|
921
|
-
};
|
|
922
|
-
b.bp("/GetStreamKey");
|
|
923
|
-
let body;
|
|
924
|
-
body = JSON.stringify(
|
|
925
|
-
(0, import_smithy_client.take)(input, {
|
|
926
|
-
arn: []
|
|
927
|
-
})
|
|
928
|
-
);
|
|
929
|
-
b.m("POST").h(headers).b(body);
|
|
930
|
-
return b.build();
|
|
931
|
-
}, "se_GetStreamKeyCommand");
|
|
932
|
-
var se_GetStreamSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
933
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
934
|
-
const headers = {
|
|
935
|
-
"content-type": "application/json"
|
|
936
|
-
};
|
|
937
|
-
b.bp("/GetStreamSession");
|
|
938
|
-
let body;
|
|
939
|
-
body = JSON.stringify(
|
|
940
|
-
(0, import_smithy_client.take)(input, {
|
|
941
|
-
channelArn: [],
|
|
942
|
-
streamId: []
|
|
943
|
-
})
|
|
944
|
-
);
|
|
945
|
-
b.m("POST").h(headers).b(body);
|
|
946
|
-
return b.build();
|
|
947
|
-
}, "se_GetStreamSessionCommand");
|
|
948
|
-
var se_ImportPlaybackKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
949
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
950
|
-
const headers = {
|
|
951
|
-
"content-type": "application/json"
|
|
952
|
-
};
|
|
953
|
-
b.bp("/ImportPlaybackKeyPair");
|
|
954
|
-
let body;
|
|
955
|
-
body = JSON.stringify(
|
|
956
|
-
(0, import_smithy_client.take)(input, {
|
|
957
|
-
name: [],
|
|
958
|
-
publicKeyMaterial: [],
|
|
959
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
960
|
-
})
|
|
961
|
-
);
|
|
962
|
-
b.m("POST").h(headers).b(body);
|
|
963
|
-
return b.build();
|
|
964
|
-
}, "se_ImportPlaybackKeyPairCommand");
|
|
965
|
-
var se_ListChannelsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
966
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
967
|
-
const headers = {
|
|
968
|
-
"content-type": "application/json"
|
|
969
|
-
};
|
|
970
|
-
b.bp("/ListChannels");
|
|
971
|
-
let body;
|
|
972
|
-
body = JSON.stringify(
|
|
973
|
-
(0, import_smithy_client.take)(input, {
|
|
974
|
-
filterByName: [],
|
|
975
|
-
filterByPlaybackRestrictionPolicyArn: [],
|
|
976
|
-
filterByRecordingConfigurationArn: [],
|
|
977
|
-
maxResults: [],
|
|
978
|
-
nextToken: []
|
|
979
|
-
})
|
|
980
|
-
);
|
|
981
|
-
b.m("POST").h(headers).b(body);
|
|
982
|
-
return b.build();
|
|
983
|
-
}, "se_ListChannelsCommand");
|
|
984
|
-
var se_ListPlaybackKeyPairsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
985
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
986
|
-
const headers = {
|
|
987
|
-
"content-type": "application/json"
|
|
988
|
-
};
|
|
989
|
-
b.bp("/ListPlaybackKeyPairs");
|
|
990
|
-
let body;
|
|
991
|
-
body = JSON.stringify(
|
|
992
|
-
(0, import_smithy_client.take)(input, {
|
|
993
|
-
maxResults: [],
|
|
994
|
-
nextToken: []
|
|
995
|
-
})
|
|
996
|
-
);
|
|
997
|
-
b.m("POST").h(headers).b(body);
|
|
998
|
-
return b.build();
|
|
999
|
-
}, "se_ListPlaybackKeyPairsCommand");
|
|
1000
|
-
var se_ListPlaybackRestrictionPoliciesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1001
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1002
|
-
const headers = {
|
|
1003
|
-
"content-type": "application/json"
|
|
1004
|
-
};
|
|
1005
|
-
b.bp("/ListPlaybackRestrictionPolicies");
|
|
1006
|
-
let body;
|
|
1007
|
-
body = JSON.stringify(
|
|
1008
|
-
(0, import_smithy_client.take)(input, {
|
|
1009
|
-
maxResults: [],
|
|
1010
|
-
nextToken: []
|
|
1011
|
-
})
|
|
1012
|
-
);
|
|
1013
|
-
b.m("POST").h(headers).b(body);
|
|
1014
|
-
return b.build();
|
|
1015
|
-
}, "se_ListPlaybackRestrictionPoliciesCommand");
|
|
1016
|
-
var se_ListRecordingConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1017
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1018
|
-
const headers = {
|
|
1019
|
-
"content-type": "application/json"
|
|
1020
|
-
};
|
|
1021
|
-
b.bp("/ListRecordingConfigurations");
|
|
1022
|
-
let body;
|
|
1023
|
-
body = JSON.stringify(
|
|
1024
|
-
(0, import_smithy_client.take)(input, {
|
|
1025
|
-
maxResults: [],
|
|
1026
|
-
nextToken: []
|
|
1027
|
-
})
|
|
1028
|
-
);
|
|
1029
|
-
b.m("POST").h(headers).b(body);
|
|
1030
|
-
return b.build();
|
|
1031
|
-
}, "se_ListRecordingConfigurationsCommand");
|
|
1032
|
-
var se_ListStreamKeysCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1033
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1034
|
-
const headers = {
|
|
1035
|
-
"content-type": "application/json"
|
|
1036
|
-
};
|
|
1037
|
-
b.bp("/ListStreamKeys");
|
|
1038
|
-
let body;
|
|
1039
|
-
body = JSON.stringify(
|
|
1040
|
-
(0, import_smithy_client.take)(input, {
|
|
1041
|
-
channelArn: [],
|
|
1042
|
-
maxResults: [],
|
|
1043
|
-
nextToken: []
|
|
1044
|
-
})
|
|
1045
|
-
);
|
|
1046
|
-
b.m("POST").h(headers).b(body);
|
|
1047
|
-
return b.build();
|
|
1048
|
-
}, "se_ListStreamKeysCommand");
|
|
1049
|
-
var se_ListStreamsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1050
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1051
|
-
const headers = {
|
|
1052
|
-
"content-type": "application/json"
|
|
1053
|
-
};
|
|
1054
|
-
b.bp("/ListStreams");
|
|
1055
|
-
let body;
|
|
1056
|
-
body = JSON.stringify(
|
|
1057
|
-
(0, import_smithy_client.take)(input, {
|
|
1058
|
-
filterBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filterBy"),
|
|
1059
|
-
maxResults: [],
|
|
1060
|
-
nextToken: []
|
|
1061
|
-
})
|
|
1062
|
-
);
|
|
1063
|
-
b.m("POST").h(headers).b(body);
|
|
1064
|
-
return b.build();
|
|
1065
|
-
}, "se_ListStreamsCommand");
|
|
1066
|
-
var se_ListStreamSessionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1067
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1068
|
-
const headers = {
|
|
1069
|
-
"content-type": "application/json"
|
|
1070
|
-
};
|
|
1071
|
-
b.bp("/ListStreamSessions");
|
|
1072
|
-
let body;
|
|
1073
|
-
body = JSON.stringify(
|
|
1074
|
-
(0, import_smithy_client.take)(input, {
|
|
1075
|
-
channelArn: [],
|
|
1076
|
-
maxResults: [],
|
|
1077
|
-
nextToken: []
|
|
1078
|
-
})
|
|
1079
|
-
);
|
|
1080
|
-
b.m("POST").h(headers).b(body);
|
|
1081
|
-
return b.build();
|
|
1082
|
-
}, "se_ListStreamSessionsCommand");
|
|
1083
|
-
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1084
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1085
|
-
const headers = {};
|
|
1086
|
-
b.bp("/tags/{resourceArn}");
|
|
1087
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1088
|
-
let body;
|
|
1089
|
-
b.m("GET").h(headers).b(body);
|
|
1090
|
-
return b.build();
|
|
1091
|
-
}, "se_ListTagsForResourceCommand");
|
|
1092
|
-
var se_PutMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1093
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1094
|
-
const headers = {
|
|
1095
|
-
"content-type": "application/json"
|
|
1096
|
-
};
|
|
1097
|
-
b.bp("/PutMetadata");
|
|
1098
|
-
let body;
|
|
1099
|
-
body = JSON.stringify(
|
|
1100
|
-
(0, import_smithy_client.take)(input, {
|
|
1101
|
-
channelArn: [],
|
|
1102
|
-
metadata: []
|
|
1103
|
-
})
|
|
1104
|
-
);
|
|
1105
|
-
b.m("POST").h(headers).b(body);
|
|
1106
|
-
return b.build();
|
|
1107
|
-
}, "se_PutMetadataCommand");
|
|
1108
|
-
var se_StartViewerSessionRevocationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1109
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1110
|
-
const headers = {
|
|
1111
|
-
"content-type": "application/json"
|
|
1112
|
-
};
|
|
1113
|
-
b.bp("/StartViewerSessionRevocation");
|
|
1114
|
-
let body;
|
|
1115
|
-
body = JSON.stringify(
|
|
1116
|
-
(0, import_smithy_client.take)(input, {
|
|
1117
|
-
channelArn: [],
|
|
1118
|
-
viewerId: [],
|
|
1119
|
-
viewerSessionVersionsLessThanOrEqualTo: []
|
|
1120
|
-
})
|
|
1121
|
-
);
|
|
1122
|
-
b.m("POST").h(headers).b(body);
|
|
1123
|
-
return b.build();
|
|
1124
|
-
}, "se_StartViewerSessionRevocationCommand");
|
|
1125
|
-
var se_StopStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1126
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1127
|
-
const headers = {
|
|
1128
|
-
"content-type": "application/json"
|
|
1129
|
-
};
|
|
1130
|
-
b.bp("/StopStream");
|
|
1131
|
-
let body;
|
|
1132
|
-
body = JSON.stringify(
|
|
1133
|
-
(0, import_smithy_client.take)(input, {
|
|
1134
|
-
channelArn: []
|
|
1135
|
-
})
|
|
1136
|
-
);
|
|
1137
|
-
b.m("POST").h(headers).b(body);
|
|
1138
|
-
return b.build();
|
|
1139
|
-
}, "se_StopStreamCommand");
|
|
1140
|
-
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1141
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1142
|
-
const headers = {
|
|
1143
|
-
"content-type": "application/json"
|
|
1144
|
-
};
|
|
1145
|
-
b.bp("/tags/{resourceArn}");
|
|
1146
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1147
|
-
let body;
|
|
1148
|
-
body = JSON.stringify(
|
|
1149
|
-
(0, import_smithy_client.take)(input, {
|
|
1150
|
-
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
1151
|
-
})
|
|
1152
|
-
);
|
|
1153
|
-
b.m("POST").h(headers).b(body);
|
|
1154
|
-
return b.build();
|
|
1155
|
-
}, "se_TagResourceCommand");
|
|
1156
|
-
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1157
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1158
|
-
const headers = {};
|
|
1159
|
-
b.bp("/tags/{resourceArn}");
|
|
1160
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1161
|
-
const query = (0, import_smithy_client.map)({
|
|
1162
|
-
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
1163
|
-
});
|
|
1164
|
-
let body;
|
|
1165
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
1166
|
-
return b.build();
|
|
1167
|
-
}, "se_UntagResourceCommand");
|
|
1168
|
-
var se_UpdateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1169
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1170
|
-
const headers = {
|
|
1171
|
-
"content-type": "application/json"
|
|
1172
|
-
};
|
|
1173
|
-
b.bp("/UpdateChannel");
|
|
1174
|
-
let body;
|
|
1175
|
-
body = JSON.stringify(
|
|
1176
|
-
(0, import_smithy_client.take)(input, {
|
|
1177
|
-
arn: [],
|
|
1178
|
-
authorized: [],
|
|
1179
|
-
containerFormat: [],
|
|
1180
|
-
insecureIngest: [],
|
|
1181
|
-
latencyMode: [],
|
|
1182
|
-
multitrackInputConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "multitrackInputConfiguration"),
|
|
1183
|
-
name: [],
|
|
1184
|
-
playbackRestrictionPolicyArn: [],
|
|
1185
|
-
preset: [],
|
|
1186
|
-
recordingConfigurationArn: [],
|
|
1187
|
-
type: []
|
|
1188
|
-
})
|
|
1189
|
-
);
|
|
1190
|
-
b.m("POST").h(headers).b(body);
|
|
1191
|
-
return b.build();
|
|
1192
|
-
}, "se_UpdateChannelCommand");
|
|
1193
|
-
var se_UpdatePlaybackRestrictionPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1194
|
-
const b = (0, import_core.requestBuilder)(input, context);
|
|
1195
|
-
const headers = {
|
|
1196
|
-
"content-type": "application/json"
|
|
1197
|
-
};
|
|
1198
|
-
b.bp("/UpdatePlaybackRestrictionPolicy");
|
|
1199
|
-
let body;
|
|
1200
|
-
body = JSON.stringify(
|
|
1201
|
-
(0, import_smithy_client.take)(input, {
|
|
1202
|
-
allowedCountries: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "allowedCountries"),
|
|
1203
|
-
allowedOrigins: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "allowedOrigins"),
|
|
1204
|
-
arn: [],
|
|
1205
|
-
enableStrictOriginEnforcement: [],
|
|
1206
|
-
name: []
|
|
1207
|
-
})
|
|
1208
|
-
);
|
|
1209
|
-
b.m("POST").h(headers).b(body);
|
|
1210
|
-
return b.build();
|
|
1211
|
-
}, "se_UpdatePlaybackRestrictionPolicyCommand");
|
|
1212
|
-
var de_BatchGetChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1213
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1214
|
-
return de_CommandError(output, context);
|
|
1215
|
-
}
|
|
1216
|
-
const contents = (0, import_smithy_client.map)({
|
|
1217
|
-
$metadata: deserializeMetadata(output)
|
|
1218
|
-
});
|
|
1219
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1220
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1221
|
-
channels: import_smithy_client._json,
|
|
1222
|
-
errors: import_smithy_client._json
|
|
1223
|
-
});
|
|
1224
|
-
Object.assign(contents, doc);
|
|
1225
|
-
return contents;
|
|
1226
|
-
}, "de_BatchGetChannelCommand");
|
|
1227
|
-
var de_BatchGetStreamKeyCommand = /* @__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
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1235
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1236
|
-
errors: import_smithy_client._json,
|
|
1237
|
-
streamKeys: import_smithy_client._json
|
|
1238
|
-
});
|
|
1239
|
-
Object.assign(contents, doc);
|
|
1240
|
-
return contents;
|
|
1241
|
-
}, "de_BatchGetStreamKeyCommand");
|
|
1242
|
-
var de_BatchStartViewerSessionRevocationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1243
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1244
|
-
return de_CommandError(output, context);
|
|
1245
|
-
}
|
|
1246
|
-
const contents = (0, import_smithy_client.map)({
|
|
1247
|
-
$metadata: deserializeMetadata(output)
|
|
1248
|
-
});
|
|
1249
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1250
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1251
|
-
errors: import_smithy_client._json
|
|
1252
|
-
});
|
|
1253
|
-
Object.assign(contents, doc);
|
|
1254
|
-
return contents;
|
|
1255
|
-
}, "de_BatchStartViewerSessionRevocationCommand");
|
|
1256
|
-
var de_CreateChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1257
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1258
|
-
return de_CommandError(output, context);
|
|
1259
|
-
}
|
|
1260
|
-
const contents = (0, import_smithy_client.map)({
|
|
1261
|
-
$metadata: deserializeMetadata(output)
|
|
1262
|
-
});
|
|
1263
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1264
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1265
|
-
channel: import_smithy_client._json,
|
|
1266
|
-
streamKey: import_smithy_client._json
|
|
1267
|
-
});
|
|
1268
|
-
Object.assign(contents, doc);
|
|
1269
|
-
return contents;
|
|
1270
|
-
}, "de_CreateChannelCommand");
|
|
1271
|
-
var de_CreatePlaybackRestrictionPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1272
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1273
|
-
return de_CommandError(output, context);
|
|
1274
|
-
}
|
|
1275
|
-
const contents = (0, import_smithy_client.map)({
|
|
1276
|
-
$metadata: deserializeMetadata(output)
|
|
1277
|
-
});
|
|
1278
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1279
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1280
|
-
playbackRestrictionPolicy: import_smithy_client._json
|
|
1281
|
-
});
|
|
1282
|
-
Object.assign(contents, doc);
|
|
1283
|
-
return contents;
|
|
1284
|
-
}, "de_CreatePlaybackRestrictionPolicyCommand");
|
|
1285
|
-
var de_CreateRecordingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1286
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1287
|
-
return de_CommandError(output, context);
|
|
1288
|
-
}
|
|
1289
|
-
const contents = (0, import_smithy_client.map)({
|
|
1290
|
-
$metadata: deserializeMetadata(output)
|
|
1291
|
-
});
|
|
1292
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1293
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1294
|
-
recordingConfiguration: import_smithy_client._json
|
|
1295
|
-
});
|
|
1296
|
-
Object.assign(contents, doc);
|
|
1297
|
-
return contents;
|
|
1298
|
-
}, "de_CreateRecordingConfigurationCommand");
|
|
1299
|
-
var de_CreateStreamKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1300
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1301
|
-
return de_CommandError(output, context);
|
|
1302
|
-
}
|
|
1303
|
-
const contents = (0, import_smithy_client.map)({
|
|
1304
|
-
$metadata: deserializeMetadata(output)
|
|
1305
|
-
});
|
|
1306
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1307
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1308
|
-
streamKey: import_smithy_client._json
|
|
1309
|
-
});
|
|
1310
|
-
Object.assign(contents, doc);
|
|
1311
|
-
return contents;
|
|
1312
|
-
}, "de_CreateStreamKeyCommand");
|
|
1313
|
-
var de_DeleteChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1314
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1315
|
-
return de_CommandError(output, context);
|
|
1316
|
-
}
|
|
1317
|
-
const contents = (0, import_smithy_client.map)({
|
|
1318
|
-
$metadata: deserializeMetadata(output)
|
|
1319
|
-
});
|
|
1320
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1321
|
-
return contents;
|
|
1322
|
-
}, "de_DeleteChannelCommand");
|
|
1323
|
-
var de_DeletePlaybackKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1324
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1325
|
-
return de_CommandError(output, context);
|
|
1326
|
-
}
|
|
1327
|
-
const contents = (0, import_smithy_client.map)({
|
|
1328
|
-
$metadata: deserializeMetadata(output)
|
|
1329
|
-
});
|
|
1330
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1331
|
-
return contents;
|
|
1332
|
-
}, "de_DeletePlaybackKeyPairCommand");
|
|
1333
|
-
var de_DeletePlaybackRestrictionPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1334
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1335
|
-
return de_CommandError(output, context);
|
|
1336
|
-
}
|
|
1337
|
-
const contents = (0, import_smithy_client.map)({
|
|
1338
|
-
$metadata: deserializeMetadata(output)
|
|
1339
|
-
});
|
|
1340
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1341
|
-
return contents;
|
|
1342
|
-
}, "de_DeletePlaybackRestrictionPolicyCommand");
|
|
1343
|
-
var de_DeleteRecordingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1344
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1345
|
-
return de_CommandError(output, context);
|
|
1346
|
-
}
|
|
1347
|
-
const contents = (0, import_smithy_client.map)({
|
|
1348
|
-
$metadata: deserializeMetadata(output)
|
|
1349
|
-
});
|
|
1350
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1351
|
-
return contents;
|
|
1352
|
-
}, "de_DeleteRecordingConfigurationCommand");
|
|
1353
|
-
var de_DeleteStreamKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1354
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1355
|
-
return de_CommandError(output, context);
|
|
1356
|
-
}
|
|
1357
|
-
const contents = (0, import_smithy_client.map)({
|
|
1358
|
-
$metadata: deserializeMetadata(output)
|
|
1359
|
-
});
|
|
1360
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1361
|
-
return contents;
|
|
1362
|
-
}, "de_DeleteStreamKeyCommand");
|
|
1363
|
-
var de_GetChannelCommand = /* @__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
|
-
channel: import_smithy_client._json
|
|
1373
|
-
});
|
|
1374
|
-
Object.assign(contents, doc);
|
|
1375
|
-
return contents;
|
|
1376
|
-
}, "de_GetChannelCommand");
|
|
1377
|
-
var de_GetPlaybackKeyPairCommand = /* @__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
|
-
keyPair: import_smithy_client._json
|
|
1387
|
-
});
|
|
1388
|
-
Object.assign(contents, doc);
|
|
1389
|
-
return contents;
|
|
1390
|
-
}, "de_GetPlaybackKeyPairCommand");
|
|
1391
|
-
var de_GetPlaybackRestrictionPolicyCommand = /* @__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
|
-
playbackRestrictionPolicy: import_smithy_client._json
|
|
1401
|
-
});
|
|
1402
|
-
Object.assign(contents, doc);
|
|
1403
|
-
return contents;
|
|
1404
|
-
}, "de_GetPlaybackRestrictionPolicyCommand");
|
|
1405
|
-
var de_GetRecordingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1406
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1407
|
-
return de_CommandError(output, context);
|
|
1408
|
-
}
|
|
1409
|
-
const contents = (0, import_smithy_client.map)({
|
|
1410
|
-
$metadata: deserializeMetadata(output)
|
|
1411
|
-
});
|
|
1412
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1413
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1414
|
-
recordingConfiguration: import_smithy_client._json
|
|
1415
|
-
});
|
|
1416
|
-
Object.assign(contents, doc);
|
|
1417
|
-
return contents;
|
|
1418
|
-
}, "de_GetRecordingConfigurationCommand");
|
|
1419
|
-
var de_GetStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1420
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1421
|
-
return de_CommandError(output, context);
|
|
1422
|
-
}
|
|
1423
|
-
const contents = (0, import_smithy_client.map)({
|
|
1424
|
-
$metadata: deserializeMetadata(output)
|
|
1425
|
-
});
|
|
1426
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1427
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1428
|
-
stream: /* @__PURE__ */ __name((_) => de__Stream(_, context), "stream")
|
|
1429
|
-
});
|
|
1430
|
-
Object.assign(contents, doc);
|
|
1431
|
-
return contents;
|
|
1432
|
-
}, "de_GetStreamCommand");
|
|
1433
|
-
var de_GetStreamKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1434
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1435
|
-
return de_CommandError(output, context);
|
|
1436
|
-
}
|
|
1437
|
-
const contents = (0, import_smithy_client.map)({
|
|
1438
|
-
$metadata: deserializeMetadata(output)
|
|
1439
|
-
});
|
|
1440
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1441
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1442
|
-
streamKey: import_smithy_client._json
|
|
1443
|
-
});
|
|
1444
|
-
Object.assign(contents, doc);
|
|
1445
|
-
return contents;
|
|
1446
|
-
}, "de_GetStreamKeyCommand");
|
|
1447
|
-
var de_GetStreamSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1448
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1449
|
-
return de_CommandError(output, context);
|
|
1450
|
-
}
|
|
1451
|
-
const contents = (0, import_smithy_client.map)({
|
|
1452
|
-
$metadata: deserializeMetadata(output)
|
|
1453
|
-
});
|
|
1454
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1455
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1456
|
-
streamSession: /* @__PURE__ */ __name((_) => de_StreamSession(_, context), "streamSession")
|
|
1457
|
-
});
|
|
1458
|
-
Object.assign(contents, doc);
|
|
1459
|
-
return contents;
|
|
1460
|
-
}, "de_GetStreamSessionCommand");
|
|
1461
|
-
var de_ImportPlaybackKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1462
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1463
|
-
return de_CommandError(output, context);
|
|
1464
|
-
}
|
|
1465
|
-
const contents = (0, import_smithy_client.map)({
|
|
1466
|
-
$metadata: deserializeMetadata(output)
|
|
1467
|
-
});
|
|
1468
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1469
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1470
|
-
keyPair: import_smithy_client._json
|
|
1471
|
-
});
|
|
1472
|
-
Object.assign(contents, doc);
|
|
1473
|
-
return contents;
|
|
1474
|
-
}, "de_ImportPlaybackKeyPairCommand");
|
|
1475
|
-
var de_ListChannelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1476
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1477
|
-
return de_CommandError(output, context);
|
|
1478
|
-
}
|
|
1479
|
-
const contents = (0, import_smithy_client.map)({
|
|
1480
|
-
$metadata: deserializeMetadata(output)
|
|
1481
|
-
});
|
|
1482
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1483
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1484
|
-
channels: import_smithy_client._json,
|
|
1485
|
-
nextToken: import_smithy_client.expectString
|
|
1486
|
-
});
|
|
1487
|
-
Object.assign(contents, doc);
|
|
1488
|
-
return contents;
|
|
1489
|
-
}, "de_ListChannelsCommand");
|
|
1490
|
-
var de_ListPlaybackKeyPairsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1491
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1492
|
-
return de_CommandError(output, context);
|
|
1493
|
-
}
|
|
1494
|
-
const contents = (0, import_smithy_client.map)({
|
|
1495
|
-
$metadata: deserializeMetadata(output)
|
|
1496
|
-
});
|
|
1497
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1498
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1499
|
-
keyPairs: import_smithy_client._json,
|
|
1500
|
-
nextToken: import_smithy_client.expectString
|
|
1501
|
-
});
|
|
1502
|
-
Object.assign(contents, doc);
|
|
1503
|
-
return contents;
|
|
1504
|
-
}, "de_ListPlaybackKeyPairsCommand");
|
|
1505
|
-
var de_ListPlaybackRestrictionPoliciesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1506
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1507
|
-
return de_CommandError(output, context);
|
|
1508
|
-
}
|
|
1509
|
-
const contents = (0, import_smithy_client.map)({
|
|
1510
|
-
$metadata: deserializeMetadata(output)
|
|
1511
|
-
});
|
|
1512
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1513
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1514
|
-
nextToken: import_smithy_client.expectString,
|
|
1515
|
-
playbackRestrictionPolicies: import_smithy_client._json
|
|
1516
|
-
});
|
|
1517
|
-
Object.assign(contents, doc);
|
|
1518
|
-
return contents;
|
|
1519
|
-
}, "de_ListPlaybackRestrictionPoliciesCommand");
|
|
1520
|
-
var de_ListRecordingConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1521
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1522
|
-
return de_CommandError(output, context);
|
|
1523
|
-
}
|
|
1524
|
-
const contents = (0, import_smithy_client.map)({
|
|
1525
|
-
$metadata: deserializeMetadata(output)
|
|
1526
|
-
});
|
|
1527
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1528
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1529
|
-
nextToken: import_smithy_client.expectString,
|
|
1530
|
-
recordingConfigurations: import_smithy_client._json
|
|
1531
|
-
});
|
|
1532
|
-
Object.assign(contents, doc);
|
|
1533
|
-
return contents;
|
|
1534
|
-
}, "de_ListRecordingConfigurationsCommand");
|
|
1535
|
-
var de_ListStreamKeysCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1536
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1537
|
-
return de_CommandError(output, context);
|
|
1538
|
-
}
|
|
1539
|
-
const contents = (0, import_smithy_client.map)({
|
|
1540
|
-
$metadata: deserializeMetadata(output)
|
|
1541
|
-
});
|
|
1542
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1543
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1544
|
-
nextToken: import_smithy_client.expectString,
|
|
1545
|
-
streamKeys: import_smithy_client._json
|
|
1546
|
-
});
|
|
1547
|
-
Object.assign(contents, doc);
|
|
1548
|
-
return contents;
|
|
1549
|
-
}, "de_ListStreamKeysCommand");
|
|
1550
|
-
var de_ListStreamsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1551
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1552
|
-
return de_CommandError(output, context);
|
|
1553
|
-
}
|
|
1554
|
-
const contents = (0, import_smithy_client.map)({
|
|
1555
|
-
$metadata: deserializeMetadata(output)
|
|
1556
|
-
});
|
|
1557
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1558
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1559
|
-
nextToken: import_smithy_client.expectString,
|
|
1560
|
-
streams: /* @__PURE__ */ __name((_) => de_StreamList(_, context), "streams")
|
|
1561
|
-
});
|
|
1562
|
-
Object.assign(contents, doc);
|
|
1563
|
-
return contents;
|
|
1564
|
-
}, "de_ListStreamsCommand");
|
|
1565
|
-
var de_ListStreamSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1566
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1567
|
-
return de_CommandError(output, context);
|
|
1568
|
-
}
|
|
1569
|
-
const contents = (0, import_smithy_client.map)({
|
|
1570
|
-
$metadata: deserializeMetadata(output)
|
|
1571
|
-
});
|
|
1572
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1573
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1574
|
-
nextToken: import_smithy_client.expectString,
|
|
1575
|
-
streamSessions: /* @__PURE__ */ __name((_) => de_StreamSessionList(_, context), "streamSessions")
|
|
1576
|
-
});
|
|
1577
|
-
Object.assign(contents, doc);
|
|
1578
|
-
return contents;
|
|
1579
|
-
}, "de_ListStreamSessionsCommand");
|
|
1580
|
-
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1581
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1582
|
-
return de_CommandError(output, context);
|
|
1583
|
-
}
|
|
1584
|
-
const contents = (0, import_smithy_client.map)({
|
|
1585
|
-
$metadata: deserializeMetadata(output)
|
|
1586
|
-
});
|
|
1587
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1588
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1589
|
-
tags: import_smithy_client._json
|
|
1590
|
-
});
|
|
1591
|
-
Object.assign(contents, doc);
|
|
1592
|
-
return contents;
|
|
1593
|
-
}, "de_ListTagsForResourceCommand");
|
|
1594
|
-
var de_PutMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1595
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1596
|
-
return de_CommandError(output, context);
|
|
1597
|
-
}
|
|
1598
|
-
const contents = (0, import_smithy_client.map)({
|
|
1599
|
-
$metadata: deserializeMetadata(output)
|
|
1600
|
-
});
|
|
1601
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1602
|
-
return contents;
|
|
1603
|
-
}, "de_PutMetadataCommand");
|
|
1604
|
-
var de_StartViewerSessionRevocationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1605
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1606
|
-
return de_CommandError(output, context);
|
|
1607
|
-
}
|
|
1608
|
-
const contents = (0, import_smithy_client.map)({
|
|
1609
|
-
$metadata: deserializeMetadata(output)
|
|
1610
|
-
});
|
|
1611
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1612
|
-
return contents;
|
|
1613
|
-
}, "de_StartViewerSessionRevocationCommand");
|
|
1614
|
-
var de_StopStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1615
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1616
|
-
return de_CommandError(output, context);
|
|
1617
|
-
}
|
|
1618
|
-
const contents = (0, import_smithy_client.map)({
|
|
1619
|
-
$metadata: deserializeMetadata(output)
|
|
1620
|
-
});
|
|
1621
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1622
|
-
return contents;
|
|
1623
|
-
}, "de_StopStreamCommand");
|
|
1624
|
-
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1625
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1626
|
-
return de_CommandError(output, context);
|
|
1627
|
-
}
|
|
1628
|
-
const contents = (0, import_smithy_client.map)({
|
|
1629
|
-
$metadata: deserializeMetadata(output)
|
|
1630
|
-
});
|
|
1631
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1632
|
-
return contents;
|
|
1633
|
-
}, "de_TagResourceCommand");
|
|
1634
|
-
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1635
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1636
|
-
return de_CommandError(output, context);
|
|
1637
|
-
}
|
|
1638
|
-
const contents = (0, import_smithy_client.map)({
|
|
1639
|
-
$metadata: deserializeMetadata(output)
|
|
1640
|
-
});
|
|
1641
|
-
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1642
|
-
return contents;
|
|
1643
|
-
}, "de_UntagResourceCommand");
|
|
1644
|
-
var de_UpdateChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1645
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1646
|
-
return de_CommandError(output, context);
|
|
1647
|
-
}
|
|
1648
|
-
const contents = (0, import_smithy_client.map)({
|
|
1649
|
-
$metadata: deserializeMetadata(output)
|
|
1650
|
-
});
|
|
1651
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1652
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1653
|
-
channel: import_smithy_client._json
|
|
1654
|
-
});
|
|
1655
|
-
Object.assign(contents, doc);
|
|
1656
|
-
return contents;
|
|
1657
|
-
}, "de_UpdateChannelCommand");
|
|
1658
|
-
var de_UpdatePlaybackRestrictionPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1659
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1660
|
-
return de_CommandError(output, context);
|
|
1661
|
-
}
|
|
1662
|
-
const contents = (0, import_smithy_client.map)({
|
|
1663
|
-
$metadata: deserializeMetadata(output)
|
|
1664
|
-
});
|
|
1665
|
-
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1666
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1667
|
-
playbackRestrictionPolicy: import_smithy_client._json
|
|
1668
|
-
});
|
|
1669
|
-
Object.assign(contents, doc);
|
|
1670
|
-
return contents;
|
|
1671
|
-
}, "de_UpdatePlaybackRestrictionPolicyCommand");
|
|
1672
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1673
|
-
const parsedOutput = {
|
|
1674
|
-
...output,
|
|
1675
|
-
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1676
|
-
};
|
|
1677
|
-
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1678
|
-
switch (errorCode) {
|
|
1679
|
-
case "AccessDeniedException":
|
|
1680
|
-
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1681
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1682
|
-
case "PendingVerification":
|
|
1683
|
-
case "com.amazonaws.ivs#PendingVerification":
|
|
1684
|
-
throw await de_PendingVerificationRes(parsedOutput, context);
|
|
1685
|
-
case "ThrottlingException":
|
|
1686
|
-
case "com.amazonaws.ivs#ThrottlingException":
|
|
1687
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1688
|
-
case "ValidationException":
|
|
1689
|
-
case "com.amazonaws.ivs#ValidationException":
|
|
1690
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1691
|
-
case "ResourceNotFoundException":
|
|
1692
|
-
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1693
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1694
|
-
case "ServiceQuotaExceededException":
|
|
1695
|
-
case "com.amazonaws.ivs#ServiceQuotaExceededException":
|
|
1696
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1697
|
-
case "ConflictException":
|
|
1698
|
-
case "com.amazonaws.ivs#ConflictException":
|
|
1699
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1700
|
-
case "InternalServerException":
|
|
1701
|
-
case "com.amazonaws.ivs#InternalServerException":
|
|
1702
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1703
|
-
case "ChannelNotBroadcasting":
|
|
1704
|
-
case "com.amazonaws.ivs#ChannelNotBroadcasting":
|
|
1705
|
-
throw await de_ChannelNotBroadcastingRes(parsedOutput, context);
|
|
1706
|
-
case "StreamUnavailable":
|
|
1707
|
-
case "com.amazonaws.ivs#StreamUnavailable":
|
|
1708
|
-
throw await de_StreamUnavailableRes(parsedOutput, context);
|
|
1709
|
-
default:
|
|
1710
|
-
const parsedBody = parsedOutput.body;
|
|
1711
|
-
return throwDefaultError({
|
|
1712
|
-
output,
|
|
1713
|
-
parsedBody,
|
|
1714
|
-
errorCode
|
|
1715
|
-
});
|
|
1716
|
-
}
|
|
1717
|
-
}, "de_CommandError");
|
|
1718
|
-
var throwDefaultError = (0, import_smithy_client.withBaseException)(IvsServiceException);
|
|
1719
|
-
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1720
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1721
|
-
const data = parsedOutput.body;
|
|
1722
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1723
|
-
exceptionMessage: import_smithy_client.expectString
|
|
1724
|
-
});
|
|
1725
|
-
Object.assign(contents, doc);
|
|
1726
|
-
const exception = new AccessDeniedException({
|
|
1727
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1728
|
-
...contents
|
|
1729
|
-
});
|
|
1730
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1731
|
-
}, "de_AccessDeniedExceptionRes");
|
|
1732
|
-
var de_ChannelNotBroadcastingRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1733
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1734
|
-
const data = parsedOutput.body;
|
|
1735
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1736
|
-
exceptionMessage: import_smithy_client.expectString
|
|
1737
|
-
});
|
|
1738
|
-
Object.assign(contents, doc);
|
|
1739
|
-
const exception = new ChannelNotBroadcasting({
|
|
1740
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1741
|
-
...contents
|
|
1742
|
-
});
|
|
1743
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1744
|
-
}, "de_ChannelNotBroadcastingRes");
|
|
1745
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1746
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1747
|
-
const data = parsedOutput.body;
|
|
1748
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1749
|
-
exceptionMessage: import_smithy_client.expectString
|
|
1750
|
-
});
|
|
1751
|
-
Object.assign(contents, doc);
|
|
1752
|
-
const exception = new ConflictException({
|
|
1753
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1754
|
-
...contents
|
|
1755
|
-
});
|
|
1756
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1757
|
-
}, "de_ConflictExceptionRes");
|
|
1758
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1759
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1760
|
-
const data = parsedOutput.body;
|
|
1761
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1762
|
-
exceptionMessage: import_smithy_client.expectString
|
|
1763
|
-
});
|
|
1764
|
-
Object.assign(contents, doc);
|
|
1765
|
-
const exception = new InternalServerException({
|
|
1766
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1767
|
-
...contents
|
|
1768
|
-
});
|
|
1769
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1770
|
-
}, "de_InternalServerExceptionRes");
|
|
1771
|
-
var de_PendingVerificationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1772
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1773
|
-
const data = parsedOutput.body;
|
|
1774
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1775
|
-
exceptionMessage: import_smithy_client.expectString
|
|
1776
|
-
});
|
|
1777
|
-
Object.assign(contents, doc);
|
|
1778
|
-
const exception = new PendingVerification({
|
|
1779
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1780
|
-
...contents
|
|
1781
|
-
});
|
|
1782
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1783
|
-
}, "de_PendingVerificationRes");
|
|
1784
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1785
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1786
|
-
const data = parsedOutput.body;
|
|
1787
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1788
|
-
exceptionMessage: import_smithy_client.expectString
|
|
1789
|
-
});
|
|
1790
|
-
Object.assign(contents, doc);
|
|
1791
|
-
const exception = new ResourceNotFoundException({
|
|
1792
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1793
|
-
...contents
|
|
1794
|
-
});
|
|
1795
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1796
|
-
}, "de_ResourceNotFoundExceptionRes");
|
|
1797
|
-
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1798
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1799
|
-
const data = parsedOutput.body;
|
|
1800
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1801
|
-
exceptionMessage: import_smithy_client.expectString
|
|
1802
|
-
});
|
|
1803
|
-
Object.assign(contents, doc);
|
|
1804
|
-
const exception = new ServiceQuotaExceededException({
|
|
1805
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1806
|
-
...contents
|
|
1807
|
-
});
|
|
1808
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1809
|
-
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1810
|
-
var de_StreamUnavailableRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1811
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1812
|
-
const data = parsedOutput.body;
|
|
1813
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1814
|
-
exceptionMessage: import_smithy_client.expectString
|
|
1815
|
-
});
|
|
1816
|
-
Object.assign(contents, doc);
|
|
1817
|
-
const exception = new StreamUnavailable({
|
|
1818
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1819
|
-
...contents
|
|
1820
|
-
});
|
|
1821
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1822
|
-
}, "de_StreamUnavailableRes");
|
|
1823
|
-
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1824
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1825
|
-
const data = parsedOutput.body;
|
|
1826
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1827
|
-
exceptionMessage: import_smithy_client.expectString
|
|
1828
|
-
});
|
|
1829
|
-
Object.assign(contents, doc);
|
|
1830
|
-
const exception = new ThrottlingException({
|
|
1831
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1832
|
-
...contents
|
|
1833
|
-
});
|
|
1834
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1835
|
-
}, "de_ThrottlingExceptionRes");
|
|
1836
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1837
|
-
const contents = (0, import_smithy_client.map)({});
|
|
1838
|
-
const data = parsedOutput.body;
|
|
1839
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
1840
|
-
exceptionMessage: import_smithy_client.expectString
|
|
1841
|
-
});
|
|
1842
|
-
Object.assign(contents, doc);
|
|
1843
|
-
const exception = new ValidationException({
|
|
1844
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1845
|
-
...contents
|
|
1846
|
-
});
|
|
1847
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1848
|
-
}, "de_ValidationExceptionRes");
|
|
1849
|
-
var de__Stream = /* @__PURE__ */ __name((output, context) => {
|
|
1850
|
-
return (0, import_smithy_client.take)(output, {
|
|
1851
|
-
channelArn: import_smithy_client.expectString,
|
|
1852
|
-
health: import_smithy_client.expectString,
|
|
1853
|
-
playbackUrl: import_smithy_client.expectString,
|
|
1854
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
1855
|
-
state: import_smithy_client.expectString,
|
|
1856
|
-
streamId: import_smithy_client.expectString,
|
|
1857
|
-
viewerCount: import_smithy_client.expectLong
|
|
1858
|
-
});
|
|
1859
|
-
}, "de__Stream");
|
|
1860
|
-
var de_StreamEvent = /* @__PURE__ */ __name((output, context) => {
|
|
1861
|
-
return (0, import_smithy_client.take)(output, {
|
|
1862
|
-
code: import_smithy_client.expectString,
|
|
1863
|
-
eventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "eventTime"),
|
|
1864
|
-
name: import_smithy_client.expectString,
|
|
1865
|
-
type: import_smithy_client.expectString
|
|
1866
|
-
});
|
|
1867
|
-
}, "de_StreamEvent");
|
|
1868
|
-
var de_StreamEvents = /* @__PURE__ */ __name((output, context) => {
|
|
1869
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1870
|
-
return de_StreamEvent(entry, context);
|
|
1871
|
-
});
|
|
1872
|
-
return retVal;
|
|
1873
|
-
}, "de_StreamEvents");
|
|
1874
|
-
var de_StreamList = /* @__PURE__ */ __name((output, context) => {
|
|
1875
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1876
|
-
return de_StreamSummary(entry, context);
|
|
1877
|
-
});
|
|
1878
|
-
return retVal;
|
|
1879
|
-
}, "de_StreamList");
|
|
1880
|
-
var de_StreamSession = /* @__PURE__ */ __name((output, context) => {
|
|
1881
|
-
return (0, import_smithy_client.take)(output, {
|
|
1882
|
-
channel: import_smithy_client._json,
|
|
1883
|
-
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
|
|
1884
|
-
ingestConfiguration: import_smithy_client._json,
|
|
1885
|
-
ingestConfigurations: import_smithy_client._json,
|
|
1886
|
-
recordingConfiguration: import_smithy_client._json,
|
|
1887
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
1888
|
-
streamId: import_smithy_client.expectString,
|
|
1889
|
-
truncatedEvents: /* @__PURE__ */ __name((_) => de_StreamEvents(_, context), "truncatedEvents")
|
|
1890
|
-
});
|
|
1891
|
-
}, "de_StreamSession");
|
|
1892
|
-
var de_StreamSessionList = /* @__PURE__ */ __name((output, context) => {
|
|
1893
|
-
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1894
|
-
return de_StreamSessionSummary(entry, context);
|
|
1895
|
-
});
|
|
1896
|
-
return retVal;
|
|
1897
|
-
}, "de_StreamSessionList");
|
|
1898
|
-
var de_StreamSessionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1899
|
-
return (0, import_smithy_client.take)(output, {
|
|
1900
|
-
endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
|
|
1901
|
-
hasErrorEvent: import_smithy_client.expectBoolean,
|
|
1902
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
1903
|
-
streamId: import_smithy_client.expectString
|
|
1904
|
-
});
|
|
1905
|
-
}, "de_StreamSessionSummary");
|
|
1906
|
-
var de_StreamSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1907
|
-
return (0, import_smithy_client.take)(output, {
|
|
1908
|
-
channelArn: import_smithy_client.expectString,
|
|
1909
|
-
health: import_smithy_client.expectString,
|
|
1910
|
-
startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startTime"),
|
|
1911
|
-
state: import_smithy_client.expectString,
|
|
1912
|
-
streamId: import_smithy_client.expectString,
|
|
1913
|
-
viewerCount: import_smithy_client.expectLong
|
|
1914
|
-
});
|
|
1915
|
-
}, "de_StreamSummary");
|
|
1916
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1917
|
-
httpStatusCode: output.statusCode,
|
|
1918
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1919
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1920
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1921
|
-
}), "deserializeMetadata");
|
|
1922
|
-
var _tK = "tagKeys";
|
|
1923
|
-
|
|
1924
|
-
// src/commands/BatchGetChannelCommand.ts
|
|
1925
|
-
var BatchGetChannelCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1926
|
-
return [
|
|
1927
|
-
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1928
|
-
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1929
|
-
];
|
|
1930
|
-
}).s("AmazonInteractiveVideoService", "BatchGetChannel", {}).n("IvsClient", "BatchGetChannelCommand").f(void 0, BatchGetChannelResponseFilterSensitiveLog).ser(se_BatchGetChannelCommand).de(de_BatchGetChannelCommand).build() {
|
|
1931
|
-
static {
|
|
1932
|
-
__name(this, "BatchGetChannelCommand");
|
|
1933
|
-
}
|
|
928
|
+
const de_CreateChannelCommand = async (output, context) => {
|
|
929
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
930
|
+
return de_CommandError(output, context);
|
|
931
|
+
}
|
|
932
|
+
const contents = smithyClient.map({
|
|
933
|
+
$metadata: deserializeMetadata(output),
|
|
934
|
+
});
|
|
935
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
936
|
+
const doc = smithyClient.take(data, {
|
|
937
|
+
channel: smithyClient._json,
|
|
938
|
+
streamKey: smithyClient._json,
|
|
939
|
+
});
|
|
940
|
+
Object.assign(contents, doc);
|
|
941
|
+
return contents;
|
|
1934
942
|
};
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
(
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
})
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
}
|
|
943
|
+
const de_CreatePlaybackRestrictionPolicyCommand = async (output, context) => {
|
|
944
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
945
|
+
return de_CommandError(output, context);
|
|
946
|
+
}
|
|
947
|
+
const contents = smithyClient.map({
|
|
948
|
+
$metadata: deserializeMetadata(output),
|
|
949
|
+
});
|
|
950
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
951
|
+
const doc = smithyClient.take(data, {
|
|
952
|
+
playbackRestrictionPolicy: smithyClient._json,
|
|
953
|
+
});
|
|
954
|
+
Object.assign(contents, doc);
|
|
955
|
+
return contents;
|
|
1949
956
|
};
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
(
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
})
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
}
|
|
957
|
+
const de_CreateRecordingConfigurationCommand = async (output, context) => {
|
|
958
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
959
|
+
return de_CommandError(output, context);
|
|
960
|
+
}
|
|
961
|
+
const contents = smithyClient.map({
|
|
962
|
+
$metadata: deserializeMetadata(output),
|
|
963
|
+
});
|
|
964
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
965
|
+
const doc = smithyClient.take(data, {
|
|
966
|
+
recordingConfiguration: smithyClient._json,
|
|
967
|
+
});
|
|
968
|
+
Object.assign(contents, doc);
|
|
969
|
+
return contents;
|
|
1964
970
|
};
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
(
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
})
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
}
|
|
971
|
+
const de_CreateStreamKeyCommand = 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
|
+
streamKey: smithyClient._json,
|
|
981
|
+
});
|
|
982
|
+
Object.assign(contents, doc);
|
|
983
|
+
return contents;
|
|
1979
984
|
};
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
];
|
|
1990
|
-
}).s("AmazonInteractiveVideoService", "CreatePlaybackRestrictionPolicy", {}).n("IvsClient", "CreatePlaybackRestrictionPolicyCommand").f(void 0, void 0).ser(se_CreatePlaybackRestrictionPolicyCommand).de(de_CreatePlaybackRestrictionPolicyCommand).build() {
|
|
1991
|
-
static {
|
|
1992
|
-
__name(this, "CreatePlaybackRestrictionPolicyCommand");
|
|
1993
|
-
}
|
|
985
|
+
const de_DeleteChannelCommand = async (output, context) => {
|
|
986
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
987
|
+
return de_CommandError(output, context);
|
|
988
|
+
}
|
|
989
|
+
const contents = smithyClient.map({
|
|
990
|
+
$metadata: deserializeMetadata(output),
|
|
991
|
+
});
|
|
992
|
+
await smithyClient.collectBody(output.body, context);
|
|
993
|
+
return contents;
|
|
1994
994
|
};
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
];
|
|
2005
|
-
}).s("AmazonInteractiveVideoService", "CreateRecordingConfiguration", {}).n("IvsClient", "CreateRecordingConfigurationCommand").f(void 0, void 0).ser(se_CreateRecordingConfigurationCommand).de(de_CreateRecordingConfigurationCommand).build() {
|
|
2006
|
-
static {
|
|
2007
|
-
__name(this, "CreateRecordingConfigurationCommand");
|
|
2008
|
-
}
|
|
995
|
+
const de_DeletePlaybackKeyPairCommand = async (output, context) => {
|
|
996
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
997
|
+
return de_CommandError(output, context);
|
|
998
|
+
}
|
|
999
|
+
const contents = smithyClient.map({
|
|
1000
|
+
$metadata: deserializeMetadata(output),
|
|
1001
|
+
});
|
|
1002
|
+
await smithyClient.collectBody(output.body, context);
|
|
1003
|
+
return contents;
|
|
2009
1004
|
};
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
];
|
|
2020
|
-
}).s("AmazonInteractiveVideoService", "CreateStreamKey", {}).n("IvsClient", "CreateStreamKeyCommand").f(void 0, CreateStreamKeyResponseFilterSensitiveLog).ser(se_CreateStreamKeyCommand).de(de_CreateStreamKeyCommand).build() {
|
|
2021
|
-
static {
|
|
2022
|
-
__name(this, "CreateStreamKeyCommand");
|
|
2023
|
-
}
|
|
1005
|
+
const de_DeletePlaybackRestrictionPolicyCommand = async (output, context) => {
|
|
1006
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1007
|
+
return de_CommandError(output, context);
|
|
1008
|
+
}
|
|
1009
|
+
const contents = smithyClient.map({
|
|
1010
|
+
$metadata: deserializeMetadata(output),
|
|
1011
|
+
});
|
|
1012
|
+
await smithyClient.collectBody(output.body, context);
|
|
1013
|
+
return contents;
|
|
2024
1014
|
};
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
];
|
|
2035
|
-
}).s("AmazonInteractiveVideoService", "DeleteChannel", {}).n("IvsClient", "DeleteChannelCommand").f(void 0, void 0).ser(se_DeleteChannelCommand).de(de_DeleteChannelCommand).build() {
|
|
2036
|
-
static {
|
|
2037
|
-
__name(this, "DeleteChannelCommand");
|
|
2038
|
-
}
|
|
1015
|
+
const de_DeleteRecordingConfigurationCommand = async (output, context) => {
|
|
1016
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1017
|
+
return de_CommandError(output, context);
|
|
1018
|
+
}
|
|
1019
|
+
const contents = smithyClient.map({
|
|
1020
|
+
$metadata: deserializeMetadata(output),
|
|
1021
|
+
});
|
|
1022
|
+
await smithyClient.collectBody(output.body, context);
|
|
1023
|
+
return contents;
|
|
2039
1024
|
};
|
|
2040
|
-
|
|
2041
|
-
|
|
2042
|
-
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
];
|
|
2050
|
-
}).s("AmazonInteractiveVideoService", "DeletePlaybackKeyPair", {}).n("IvsClient", "DeletePlaybackKeyPairCommand").f(void 0, void 0).ser(se_DeletePlaybackKeyPairCommand).de(de_DeletePlaybackKeyPairCommand).build() {
|
|
2051
|
-
static {
|
|
2052
|
-
__name(this, "DeletePlaybackKeyPairCommand");
|
|
2053
|
-
}
|
|
1025
|
+
const de_DeleteStreamKeyCommand = async (output, context) => {
|
|
1026
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1027
|
+
return de_CommandError(output, context);
|
|
1028
|
+
}
|
|
1029
|
+
const contents = smithyClient.map({
|
|
1030
|
+
$metadata: deserializeMetadata(output),
|
|
1031
|
+
});
|
|
1032
|
+
await smithyClient.collectBody(output.body, context);
|
|
1033
|
+
return contents;
|
|
2054
1034
|
};
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
(
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
})
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
}
|
|
1035
|
+
const de_GetChannelCommand = async (output, context) => {
|
|
1036
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1037
|
+
return de_CommandError(output, context);
|
|
1038
|
+
}
|
|
1039
|
+
const contents = smithyClient.map({
|
|
1040
|
+
$metadata: deserializeMetadata(output),
|
|
1041
|
+
});
|
|
1042
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1043
|
+
const doc = smithyClient.take(data, {
|
|
1044
|
+
channel: smithyClient._json,
|
|
1045
|
+
});
|
|
1046
|
+
Object.assign(contents, doc);
|
|
1047
|
+
return contents;
|
|
2069
1048
|
};
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
(
|
|
2078
|
-
|
|
2079
|
-
|
|
2080
|
-
})
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
}
|
|
1049
|
+
const de_GetPlaybackKeyPairCommand = async (output, context) => {
|
|
1050
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1051
|
+
return de_CommandError(output, context);
|
|
1052
|
+
}
|
|
1053
|
+
const contents = smithyClient.map({
|
|
1054
|
+
$metadata: deserializeMetadata(output),
|
|
1055
|
+
});
|
|
1056
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1057
|
+
const doc = smithyClient.take(data, {
|
|
1058
|
+
keyPair: smithyClient._json,
|
|
1059
|
+
});
|
|
1060
|
+
Object.assign(contents, doc);
|
|
1061
|
+
return contents;
|
|
2084
1062
|
};
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2092
|
-
(
|
|
2093
|
-
|
|
2094
|
-
|
|
2095
|
-
})
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
}
|
|
1063
|
+
const de_GetPlaybackRestrictionPolicyCommand = async (output, context) => {
|
|
1064
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1065
|
+
return de_CommandError(output, context);
|
|
1066
|
+
}
|
|
1067
|
+
const contents = smithyClient.map({
|
|
1068
|
+
$metadata: deserializeMetadata(output),
|
|
1069
|
+
});
|
|
1070
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1071
|
+
const doc = smithyClient.take(data, {
|
|
1072
|
+
playbackRestrictionPolicy: smithyClient._json,
|
|
1073
|
+
});
|
|
1074
|
+
Object.assign(contents, doc);
|
|
1075
|
+
return contents;
|
|
2099
1076
|
};
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
(
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
})
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
}
|
|
1077
|
+
const de_GetRecordingConfigurationCommand = async (output, context) => {
|
|
1078
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1079
|
+
return de_CommandError(output, context);
|
|
1080
|
+
}
|
|
1081
|
+
const contents = smithyClient.map({
|
|
1082
|
+
$metadata: deserializeMetadata(output),
|
|
1083
|
+
});
|
|
1084
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1085
|
+
const doc = smithyClient.take(data, {
|
|
1086
|
+
recordingConfiguration: smithyClient._json,
|
|
1087
|
+
});
|
|
1088
|
+
Object.assign(contents, doc);
|
|
1089
|
+
return contents;
|
|
2114
1090
|
};
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
(
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
})
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
}
|
|
1091
|
+
const de_GetStreamCommand = async (output, context) => {
|
|
1092
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1093
|
+
return de_CommandError(output, context);
|
|
1094
|
+
}
|
|
1095
|
+
const contents = smithyClient.map({
|
|
1096
|
+
$metadata: deserializeMetadata(output),
|
|
1097
|
+
});
|
|
1098
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1099
|
+
const doc = smithyClient.take(data, {
|
|
1100
|
+
stream: (_) => de__Stream(_),
|
|
1101
|
+
});
|
|
1102
|
+
Object.assign(contents, doc);
|
|
1103
|
+
return contents;
|
|
2129
1104
|
};
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
(
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
})
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
}
|
|
1105
|
+
const de_GetStreamKeyCommand = async (output, context) => {
|
|
1106
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1107
|
+
return de_CommandError(output, context);
|
|
1108
|
+
}
|
|
1109
|
+
const contents = smithyClient.map({
|
|
1110
|
+
$metadata: deserializeMetadata(output),
|
|
1111
|
+
});
|
|
1112
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1113
|
+
const doc = smithyClient.take(data, {
|
|
1114
|
+
streamKey: smithyClient._json,
|
|
1115
|
+
});
|
|
1116
|
+
Object.assign(contents, doc);
|
|
1117
|
+
return contents;
|
|
2144
1118
|
};
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
(
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
})
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
}
|
|
1119
|
+
const de_GetStreamSessionCommand = async (output, context) => {
|
|
1120
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1121
|
+
return de_CommandError(output, context);
|
|
1122
|
+
}
|
|
1123
|
+
const contents = smithyClient.map({
|
|
1124
|
+
$metadata: deserializeMetadata(output),
|
|
1125
|
+
});
|
|
1126
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1127
|
+
const doc = smithyClient.take(data, {
|
|
1128
|
+
streamSession: (_) => de_StreamSession(_),
|
|
1129
|
+
});
|
|
1130
|
+
Object.assign(contents, doc);
|
|
1131
|
+
return contents;
|
|
2159
1132
|
};
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
(
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
})
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
}
|
|
1133
|
+
const de_ImportPlaybackKeyPairCommand = async (output, context) => {
|
|
1134
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1135
|
+
return de_CommandError(output, context);
|
|
1136
|
+
}
|
|
1137
|
+
const contents = smithyClient.map({
|
|
1138
|
+
$metadata: deserializeMetadata(output),
|
|
1139
|
+
});
|
|
1140
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1141
|
+
const doc = smithyClient.take(data, {
|
|
1142
|
+
keyPair: smithyClient._json,
|
|
1143
|
+
});
|
|
1144
|
+
Object.assign(contents, doc);
|
|
1145
|
+
return contents;
|
|
2174
1146
|
};
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
(
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
1147
|
+
const de_ListChannelsCommand = async (output, context) => {
|
|
1148
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1149
|
+
return de_CommandError(output, context);
|
|
1150
|
+
}
|
|
1151
|
+
const contents = smithyClient.map({
|
|
1152
|
+
$metadata: deserializeMetadata(output),
|
|
1153
|
+
});
|
|
1154
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1155
|
+
const doc = smithyClient.take(data, {
|
|
1156
|
+
channels: smithyClient._json,
|
|
1157
|
+
nextToken: smithyClient.expectString,
|
|
1158
|
+
});
|
|
1159
|
+
Object.assign(contents, doc);
|
|
1160
|
+
return contents;
|
|
2189
1161
|
};
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
(
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
1162
|
+
const de_ListPlaybackKeyPairsCommand = async (output, context) => {
|
|
1163
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1164
|
+
return de_CommandError(output, context);
|
|
1165
|
+
}
|
|
1166
|
+
const contents = smithyClient.map({
|
|
1167
|
+
$metadata: deserializeMetadata(output),
|
|
1168
|
+
});
|
|
1169
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1170
|
+
const doc = smithyClient.take(data, {
|
|
1171
|
+
keyPairs: smithyClient._json,
|
|
1172
|
+
nextToken: smithyClient.expectString,
|
|
1173
|
+
});
|
|
1174
|
+
Object.assign(contents, doc);
|
|
1175
|
+
return contents;
|
|
2204
1176
|
};
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
(
|
|
2213
|
-
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
1177
|
+
const de_ListPlaybackRestrictionPoliciesCommand = async (output, context) => {
|
|
1178
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1179
|
+
return de_CommandError(output, context);
|
|
1180
|
+
}
|
|
1181
|
+
const contents = smithyClient.map({
|
|
1182
|
+
$metadata: deserializeMetadata(output),
|
|
1183
|
+
});
|
|
1184
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1185
|
+
const doc = smithyClient.take(data, {
|
|
1186
|
+
nextToken: smithyClient.expectString,
|
|
1187
|
+
playbackRestrictionPolicies: smithyClient._json,
|
|
1188
|
+
});
|
|
1189
|
+
Object.assign(contents, doc);
|
|
1190
|
+
return contents;
|
|
2219
1191
|
};
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
(
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
1192
|
+
const de_ListRecordingConfigurationsCommand = async (output, context) => {
|
|
1193
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1194
|
+
return de_CommandError(output, context);
|
|
1195
|
+
}
|
|
1196
|
+
const contents = smithyClient.map({
|
|
1197
|
+
$metadata: deserializeMetadata(output),
|
|
1198
|
+
});
|
|
1199
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1200
|
+
const doc = smithyClient.take(data, {
|
|
1201
|
+
nextToken: smithyClient.expectString,
|
|
1202
|
+
recordingConfigurations: smithyClient._json,
|
|
1203
|
+
});
|
|
1204
|
+
Object.assign(contents, doc);
|
|
1205
|
+
return contents;
|
|
2234
1206
|
};
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
(
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
1207
|
+
const de_ListStreamKeysCommand = async (output, context) => {
|
|
1208
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1209
|
+
return de_CommandError(output, context);
|
|
1210
|
+
}
|
|
1211
|
+
const contents = smithyClient.map({
|
|
1212
|
+
$metadata: deserializeMetadata(output),
|
|
1213
|
+
});
|
|
1214
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1215
|
+
const doc = smithyClient.take(data, {
|
|
1216
|
+
nextToken: smithyClient.expectString,
|
|
1217
|
+
streamKeys: smithyClient._json,
|
|
1218
|
+
});
|
|
1219
|
+
Object.assign(contents, doc);
|
|
1220
|
+
return contents;
|
|
2249
1221
|
};
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
(
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
1222
|
+
const de_ListStreamsCommand = async (output, context) => {
|
|
1223
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1224
|
+
return de_CommandError(output, context);
|
|
1225
|
+
}
|
|
1226
|
+
const contents = smithyClient.map({
|
|
1227
|
+
$metadata: deserializeMetadata(output),
|
|
1228
|
+
});
|
|
1229
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1230
|
+
const doc = smithyClient.take(data, {
|
|
1231
|
+
nextToken: smithyClient.expectString,
|
|
1232
|
+
streams: (_) => de_StreamList(_),
|
|
1233
|
+
});
|
|
1234
|
+
Object.assign(contents, doc);
|
|
1235
|
+
return contents;
|
|
2264
1236
|
};
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
(
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
1237
|
+
const de_ListStreamSessionsCommand = async (output, context) => {
|
|
1238
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1239
|
+
return de_CommandError(output, context);
|
|
1240
|
+
}
|
|
1241
|
+
const contents = smithyClient.map({
|
|
1242
|
+
$metadata: deserializeMetadata(output),
|
|
1243
|
+
});
|
|
1244
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1245
|
+
const doc = smithyClient.take(data, {
|
|
1246
|
+
nextToken: smithyClient.expectString,
|
|
1247
|
+
streamSessions: (_) => de_StreamSessionList(_),
|
|
1248
|
+
});
|
|
1249
|
+
Object.assign(contents, doc);
|
|
1250
|
+
return contents;
|
|
2279
1251
|
};
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
(
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
})
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
}
|
|
1252
|
+
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1253
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1254
|
+
return de_CommandError(output, context);
|
|
1255
|
+
}
|
|
1256
|
+
const contents = smithyClient.map({
|
|
1257
|
+
$metadata: deserializeMetadata(output),
|
|
1258
|
+
});
|
|
1259
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1260
|
+
const doc = smithyClient.take(data, {
|
|
1261
|
+
tags: smithyClient._json,
|
|
1262
|
+
});
|
|
1263
|
+
Object.assign(contents, doc);
|
|
1264
|
+
return contents;
|
|
2294
1265
|
};
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
];
|
|
2305
|
-
}).s("AmazonInteractiveVideoService", "ListStreams", {}).n("IvsClient", "ListStreamsCommand").f(void 0, void 0).ser(se_ListStreamsCommand).de(de_ListStreamsCommand).build() {
|
|
2306
|
-
static {
|
|
2307
|
-
__name(this, "ListStreamsCommand");
|
|
2308
|
-
}
|
|
1266
|
+
const de_PutMetadataCommand = async (output, context) => {
|
|
1267
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1268
|
+
return de_CommandError(output, context);
|
|
1269
|
+
}
|
|
1270
|
+
const contents = smithyClient.map({
|
|
1271
|
+
$metadata: deserializeMetadata(output),
|
|
1272
|
+
});
|
|
1273
|
+
await smithyClient.collectBody(output.body, context);
|
|
1274
|
+
return contents;
|
|
2309
1275
|
};
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
];
|
|
2320
|
-
}).s("AmazonInteractiveVideoService", "ListStreamSessions", {}).n("IvsClient", "ListStreamSessionsCommand").f(void 0, void 0).ser(se_ListStreamSessionsCommand).de(de_ListStreamSessionsCommand).build() {
|
|
2321
|
-
static {
|
|
2322
|
-
__name(this, "ListStreamSessionsCommand");
|
|
2323
|
-
}
|
|
1276
|
+
const de_StartViewerSessionRevocationCommand = async (output, context) => {
|
|
1277
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1278
|
+
return de_CommandError(output, context);
|
|
1279
|
+
}
|
|
1280
|
+
const contents = smithyClient.map({
|
|
1281
|
+
$metadata: deserializeMetadata(output),
|
|
1282
|
+
});
|
|
1283
|
+
await smithyClient.collectBody(output.body, context);
|
|
1284
|
+
return contents;
|
|
2324
1285
|
};
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
];
|
|
2335
|
-
}).s("AmazonInteractiveVideoService", "ListTagsForResource", {}).n("IvsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
2336
|
-
static {
|
|
2337
|
-
__name(this, "ListTagsForResourceCommand");
|
|
2338
|
-
}
|
|
1286
|
+
const de_StopStreamCommand = async (output, context) => {
|
|
1287
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1288
|
+
return de_CommandError(output, context);
|
|
1289
|
+
}
|
|
1290
|
+
const contents = smithyClient.map({
|
|
1291
|
+
$metadata: deserializeMetadata(output),
|
|
1292
|
+
});
|
|
1293
|
+
await smithyClient.collectBody(output.body, context);
|
|
1294
|
+
return contents;
|
|
2339
1295
|
};
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
];
|
|
2350
|
-
}).s("AmazonInteractiveVideoService", "PutMetadata", {}).n("IvsClient", "PutMetadataCommand").f(PutMetadataRequestFilterSensitiveLog, void 0).ser(se_PutMetadataCommand).de(de_PutMetadataCommand).build() {
|
|
2351
|
-
static {
|
|
2352
|
-
__name(this, "PutMetadataCommand");
|
|
2353
|
-
}
|
|
1296
|
+
const de_TagResourceCommand = async (output, context) => {
|
|
1297
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1298
|
+
return de_CommandError(output, context);
|
|
1299
|
+
}
|
|
1300
|
+
const contents = smithyClient.map({
|
|
1301
|
+
$metadata: deserializeMetadata(output),
|
|
1302
|
+
});
|
|
1303
|
+
await smithyClient.collectBody(output.body, context);
|
|
1304
|
+
return contents;
|
|
2354
1305
|
};
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
];
|
|
2365
|
-
}).s("AmazonInteractiveVideoService", "StartViewerSessionRevocation", {}).n("IvsClient", "StartViewerSessionRevocationCommand").f(void 0, void 0).ser(se_StartViewerSessionRevocationCommand).de(de_StartViewerSessionRevocationCommand).build() {
|
|
2366
|
-
static {
|
|
2367
|
-
__name(this, "StartViewerSessionRevocationCommand");
|
|
2368
|
-
}
|
|
1306
|
+
const de_UntagResourceCommand = async (output, context) => {
|
|
1307
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1308
|
+
return de_CommandError(output, context);
|
|
1309
|
+
}
|
|
1310
|
+
const contents = smithyClient.map({
|
|
1311
|
+
$metadata: deserializeMetadata(output),
|
|
1312
|
+
});
|
|
1313
|
+
await smithyClient.collectBody(output.body, context);
|
|
1314
|
+
return contents;
|
|
2369
1315
|
};
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
(
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
})
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
}
|
|
1316
|
+
const de_UpdateChannelCommand = async (output, context) => {
|
|
1317
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1318
|
+
return de_CommandError(output, context);
|
|
1319
|
+
}
|
|
1320
|
+
const contents = smithyClient.map({
|
|
1321
|
+
$metadata: deserializeMetadata(output),
|
|
1322
|
+
});
|
|
1323
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1324
|
+
const doc = smithyClient.take(data, {
|
|
1325
|
+
channel: smithyClient._json,
|
|
1326
|
+
});
|
|
1327
|
+
Object.assign(contents, doc);
|
|
1328
|
+
return contents;
|
|
2384
1329
|
};
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
(
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
})
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
1330
|
+
const de_UpdatePlaybackRestrictionPolicyCommand = async (output, context) => {
|
|
1331
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1332
|
+
return de_CommandError(output, context);
|
|
1333
|
+
}
|
|
1334
|
+
const contents = smithyClient.map({
|
|
1335
|
+
$metadata: deserializeMetadata(output),
|
|
1336
|
+
});
|
|
1337
|
+
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1338
|
+
const doc = smithyClient.take(data, {
|
|
1339
|
+
playbackRestrictionPolicy: smithyClient._json,
|
|
1340
|
+
});
|
|
1341
|
+
Object.assign(contents, doc);
|
|
1342
|
+
return contents;
|
|
1343
|
+
};
|
|
1344
|
+
const de_CommandError = async (output, context) => {
|
|
1345
|
+
const parsedOutput = {
|
|
1346
|
+
...output,
|
|
1347
|
+
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1348
|
+
};
|
|
1349
|
+
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1350
|
+
switch (errorCode) {
|
|
1351
|
+
case "AccessDeniedException":
|
|
1352
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1353
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1354
|
+
case "PendingVerification":
|
|
1355
|
+
case "com.amazonaws.ivs#PendingVerification":
|
|
1356
|
+
throw await de_PendingVerificationRes(parsedOutput);
|
|
1357
|
+
case "ThrottlingException":
|
|
1358
|
+
case "com.amazonaws.ivs#ThrottlingException":
|
|
1359
|
+
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1360
|
+
case "ValidationException":
|
|
1361
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1362
|
+
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1363
|
+
case "ResourceNotFoundException":
|
|
1364
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1365
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1366
|
+
case "ServiceQuotaExceededException":
|
|
1367
|
+
case "com.amazonaws.ivs#ServiceQuotaExceededException":
|
|
1368
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1369
|
+
case "ConflictException":
|
|
1370
|
+
case "com.amazonaws.ivs#ConflictException":
|
|
1371
|
+
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1372
|
+
case "InternalServerException":
|
|
1373
|
+
case "com.amazonaws.ivs#InternalServerException":
|
|
1374
|
+
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1375
|
+
case "ChannelNotBroadcasting":
|
|
1376
|
+
case "com.amazonaws.ivs#ChannelNotBroadcasting":
|
|
1377
|
+
throw await de_ChannelNotBroadcastingRes(parsedOutput);
|
|
1378
|
+
case "StreamUnavailable":
|
|
1379
|
+
case "com.amazonaws.ivs#StreamUnavailable":
|
|
1380
|
+
throw await de_StreamUnavailableRes(parsedOutput);
|
|
1381
|
+
default:
|
|
1382
|
+
const parsedBody = parsedOutput.body;
|
|
1383
|
+
return throwDefaultError({
|
|
1384
|
+
output,
|
|
1385
|
+
parsedBody,
|
|
1386
|
+
errorCode,
|
|
1387
|
+
});
|
|
1388
|
+
}
|
|
2399
1389
|
};
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
|
|
2413
|
-
}
|
|
1390
|
+
const throwDefaultError = smithyClient.withBaseException(IvsServiceException);
|
|
1391
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1392
|
+
const contents = smithyClient.map({});
|
|
1393
|
+
const data = parsedOutput.body;
|
|
1394
|
+
const doc = smithyClient.take(data, {
|
|
1395
|
+
exceptionMessage: smithyClient.expectString,
|
|
1396
|
+
});
|
|
1397
|
+
Object.assign(contents, doc);
|
|
1398
|
+
const exception = new AccessDeniedException({
|
|
1399
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1400
|
+
...contents,
|
|
1401
|
+
});
|
|
1402
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
2414
1403
|
};
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
})
|
|
2426
|
-
|
|
2427
|
-
__name(this, "UpdateChannelCommand");
|
|
2428
|
-
}
|
|
1404
|
+
const de_ChannelNotBroadcastingRes = async (parsedOutput, context) => {
|
|
1405
|
+
const contents = smithyClient.map({});
|
|
1406
|
+
const data = parsedOutput.body;
|
|
1407
|
+
const doc = smithyClient.take(data, {
|
|
1408
|
+
exceptionMessage: smithyClient.expectString,
|
|
1409
|
+
});
|
|
1410
|
+
Object.assign(contents, doc);
|
|
1411
|
+
const exception = new ChannelNotBroadcasting({
|
|
1412
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1413
|
+
...contents,
|
|
1414
|
+
});
|
|
1415
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
2429
1416
|
};
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
|
|
2433
|
-
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
})
|
|
2441
|
-
|
|
2442
|
-
__name(this, "UpdatePlaybackRestrictionPolicyCommand");
|
|
2443
|
-
}
|
|
1417
|
+
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1418
|
+
const contents = smithyClient.map({});
|
|
1419
|
+
const data = parsedOutput.body;
|
|
1420
|
+
const doc = smithyClient.take(data, {
|
|
1421
|
+
exceptionMessage: smithyClient.expectString,
|
|
1422
|
+
});
|
|
1423
|
+
Object.assign(contents, doc);
|
|
1424
|
+
const exception = new ConflictException({
|
|
1425
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1426
|
+
...contents,
|
|
1427
|
+
});
|
|
1428
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
2444
1429
|
};
|
|
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
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
2529
|
-
|
|
2530
|
-
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
-
|
|
2536
|
-
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
1430
|
+
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1431
|
+
const contents = smithyClient.map({});
|
|
1432
|
+
const data = parsedOutput.body;
|
|
1433
|
+
const doc = smithyClient.take(data, {
|
|
1434
|
+
exceptionMessage: smithyClient.expectString,
|
|
1435
|
+
});
|
|
1436
|
+
Object.assign(contents, doc);
|
|
1437
|
+
const exception = new InternalServerException({
|
|
1438
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1439
|
+
...contents,
|
|
1440
|
+
});
|
|
1441
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1442
|
+
};
|
|
1443
|
+
const de_PendingVerificationRes = async (parsedOutput, context) => {
|
|
1444
|
+
const contents = smithyClient.map({});
|
|
1445
|
+
const data = parsedOutput.body;
|
|
1446
|
+
const doc = smithyClient.take(data, {
|
|
1447
|
+
exceptionMessage: smithyClient.expectString,
|
|
1448
|
+
});
|
|
1449
|
+
Object.assign(contents, doc);
|
|
1450
|
+
const exception = new PendingVerification({
|
|
1451
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1452
|
+
...contents,
|
|
1453
|
+
});
|
|
1454
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1455
|
+
};
|
|
1456
|
+
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1457
|
+
const contents = smithyClient.map({});
|
|
1458
|
+
const data = parsedOutput.body;
|
|
1459
|
+
const doc = smithyClient.take(data, {
|
|
1460
|
+
exceptionMessage: smithyClient.expectString,
|
|
1461
|
+
});
|
|
1462
|
+
Object.assign(contents, doc);
|
|
1463
|
+
const exception = new ResourceNotFoundException({
|
|
1464
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1465
|
+
...contents,
|
|
1466
|
+
});
|
|
1467
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1468
|
+
};
|
|
1469
|
+
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1470
|
+
const contents = smithyClient.map({});
|
|
1471
|
+
const data = parsedOutput.body;
|
|
1472
|
+
const doc = smithyClient.take(data, {
|
|
1473
|
+
exceptionMessage: smithyClient.expectString,
|
|
1474
|
+
});
|
|
1475
|
+
Object.assign(contents, doc);
|
|
1476
|
+
const exception = new ServiceQuotaExceededException({
|
|
1477
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1478
|
+
...contents,
|
|
1479
|
+
});
|
|
1480
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1481
|
+
};
|
|
1482
|
+
const de_StreamUnavailableRes = async (parsedOutput, context) => {
|
|
1483
|
+
const contents = smithyClient.map({});
|
|
1484
|
+
const data = parsedOutput.body;
|
|
1485
|
+
const doc = smithyClient.take(data, {
|
|
1486
|
+
exceptionMessage: smithyClient.expectString,
|
|
1487
|
+
});
|
|
1488
|
+
Object.assign(contents, doc);
|
|
1489
|
+
const exception = new StreamUnavailable({
|
|
1490
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1491
|
+
...contents,
|
|
1492
|
+
});
|
|
1493
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1494
|
+
};
|
|
1495
|
+
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1496
|
+
const contents = smithyClient.map({});
|
|
1497
|
+
const data = parsedOutput.body;
|
|
1498
|
+
const doc = smithyClient.take(data, {
|
|
1499
|
+
exceptionMessage: smithyClient.expectString,
|
|
1500
|
+
});
|
|
1501
|
+
Object.assign(contents, doc);
|
|
1502
|
+
const exception = new ThrottlingException({
|
|
1503
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1504
|
+
...contents,
|
|
1505
|
+
});
|
|
1506
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1507
|
+
};
|
|
1508
|
+
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1509
|
+
const contents = smithyClient.map({});
|
|
1510
|
+
const data = parsedOutput.body;
|
|
1511
|
+
const doc = smithyClient.take(data, {
|
|
1512
|
+
exceptionMessage: smithyClient.expectString,
|
|
1513
|
+
});
|
|
1514
|
+
Object.assign(contents, doc);
|
|
1515
|
+
const exception = new ValidationException({
|
|
1516
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1517
|
+
...contents,
|
|
1518
|
+
});
|
|
1519
|
+
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1520
|
+
};
|
|
1521
|
+
const de__Stream = (output, context) => {
|
|
1522
|
+
return smithyClient.take(output, {
|
|
1523
|
+
channelArn: smithyClient.expectString,
|
|
1524
|
+
health: smithyClient.expectString,
|
|
1525
|
+
playbackUrl: smithyClient.expectString,
|
|
1526
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1527
|
+
state: smithyClient.expectString,
|
|
1528
|
+
streamId: smithyClient.expectString,
|
|
1529
|
+
viewerCount: smithyClient.expectLong,
|
|
1530
|
+
});
|
|
1531
|
+
};
|
|
1532
|
+
const de_StreamEvent = (output, context) => {
|
|
1533
|
+
return smithyClient.take(output, {
|
|
1534
|
+
code: smithyClient.expectString,
|
|
1535
|
+
eventTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1536
|
+
name: smithyClient.expectString,
|
|
1537
|
+
type: smithyClient.expectString,
|
|
1538
|
+
});
|
|
1539
|
+
};
|
|
1540
|
+
const de_StreamEvents = (output, context) => {
|
|
1541
|
+
const retVal = (output || [])
|
|
1542
|
+
.filter((e) => e != null)
|
|
1543
|
+
.map((entry) => {
|
|
1544
|
+
return de_StreamEvent(entry);
|
|
1545
|
+
});
|
|
1546
|
+
return retVal;
|
|
1547
|
+
};
|
|
1548
|
+
const de_StreamList = (output, context) => {
|
|
1549
|
+
const retVal = (output || [])
|
|
1550
|
+
.filter((e) => e != null)
|
|
1551
|
+
.map((entry) => {
|
|
1552
|
+
return de_StreamSummary(entry);
|
|
1553
|
+
});
|
|
1554
|
+
return retVal;
|
|
1555
|
+
};
|
|
1556
|
+
const de_StreamSession = (output, context) => {
|
|
1557
|
+
return smithyClient.take(output, {
|
|
1558
|
+
channel: smithyClient._json,
|
|
1559
|
+
endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1560
|
+
ingestConfiguration: smithyClient._json,
|
|
1561
|
+
ingestConfigurations: smithyClient._json,
|
|
1562
|
+
recordingConfiguration: smithyClient._json,
|
|
1563
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1564
|
+
streamId: smithyClient.expectString,
|
|
1565
|
+
truncatedEvents: (_) => de_StreamEvents(_),
|
|
1566
|
+
});
|
|
1567
|
+
};
|
|
1568
|
+
const de_StreamSessionList = (output, context) => {
|
|
1569
|
+
const retVal = (output || [])
|
|
1570
|
+
.filter((e) => e != null)
|
|
1571
|
+
.map((entry) => {
|
|
1572
|
+
return de_StreamSessionSummary(entry);
|
|
1573
|
+
});
|
|
1574
|
+
return retVal;
|
|
1575
|
+
};
|
|
1576
|
+
const de_StreamSessionSummary = (output, context) => {
|
|
1577
|
+
return smithyClient.take(output, {
|
|
1578
|
+
endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1579
|
+
hasErrorEvent: smithyClient.expectBoolean,
|
|
1580
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1581
|
+
streamId: smithyClient.expectString,
|
|
1582
|
+
});
|
|
1583
|
+
};
|
|
1584
|
+
const de_StreamSummary = (output, context) => {
|
|
1585
|
+
return smithyClient.take(output, {
|
|
1586
|
+
channelArn: smithyClient.expectString,
|
|
1587
|
+
health: smithyClient.expectString,
|
|
1588
|
+
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1589
|
+
state: smithyClient.expectString,
|
|
1590
|
+
streamId: smithyClient.expectString,
|
|
1591
|
+
viewerCount: smithyClient.expectLong,
|
|
1592
|
+
});
|
|
1593
|
+
};
|
|
1594
|
+
const deserializeMetadata = (output) => ({
|
|
1595
|
+
httpStatusCode: output.statusCode,
|
|
1596
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1597
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1598
|
+
cfId: output.headers["x-amz-cf-id"],
|
|
2605
1599
|
});
|
|
2606
|
-
|
|
1600
|
+
const _tK = "tagKeys";
|
|
1601
|
+
|
|
1602
|
+
class BatchGetChannelCommand extends smithyClient.Command
|
|
1603
|
+
.classBuilder()
|
|
1604
|
+
.ep(commonParams)
|
|
1605
|
+
.m(function (Command, cs, config, o) {
|
|
1606
|
+
return [
|
|
1607
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1608
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1609
|
+
];
|
|
1610
|
+
})
|
|
1611
|
+
.s("AmazonInteractiveVideoService", "BatchGetChannel", {})
|
|
1612
|
+
.n("IvsClient", "BatchGetChannelCommand")
|
|
1613
|
+
.f(void 0, BatchGetChannelResponseFilterSensitiveLog)
|
|
1614
|
+
.ser(se_BatchGetChannelCommand)
|
|
1615
|
+
.de(de_BatchGetChannelCommand)
|
|
1616
|
+
.build() {
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
class BatchGetStreamKeyCommand extends smithyClient.Command
|
|
1620
|
+
.classBuilder()
|
|
1621
|
+
.ep(commonParams)
|
|
1622
|
+
.m(function (Command, cs, config, o) {
|
|
1623
|
+
return [
|
|
1624
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1625
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1626
|
+
];
|
|
1627
|
+
})
|
|
1628
|
+
.s("AmazonInteractiveVideoService", "BatchGetStreamKey", {})
|
|
1629
|
+
.n("IvsClient", "BatchGetStreamKeyCommand")
|
|
1630
|
+
.f(void 0, BatchGetStreamKeyResponseFilterSensitiveLog)
|
|
1631
|
+
.ser(se_BatchGetStreamKeyCommand)
|
|
1632
|
+
.de(de_BatchGetStreamKeyCommand)
|
|
1633
|
+
.build() {
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
class BatchStartViewerSessionRevocationCommand extends smithyClient.Command
|
|
1637
|
+
.classBuilder()
|
|
1638
|
+
.ep(commonParams)
|
|
1639
|
+
.m(function (Command, cs, config, o) {
|
|
1640
|
+
return [
|
|
1641
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1642
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1643
|
+
];
|
|
1644
|
+
})
|
|
1645
|
+
.s("AmazonInteractiveVideoService", "BatchStartViewerSessionRevocation", {})
|
|
1646
|
+
.n("IvsClient", "BatchStartViewerSessionRevocationCommand")
|
|
1647
|
+
.f(void 0, void 0)
|
|
1648
|
+
.ser(se_BatchStartViewerSessionRevocationCommand)
|
|
1649
|
+
.de(de_BatchStartViewerSessionRevocationCommand)
|
|
1650
|
+
.build() {
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
class CreateChannelCommand extends smithyClient.Command
|
|
1654
|
+
.classBuilder()
|
|
1655
|
+
.ep(commonParams)
|
|
1656
|
+
.m(function (Command, cs, config, o) {
|
|
1657
|
+
return [
|
|
1658
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1659
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1660
|
+
];
|
|
1661
|
+
})
|
|
1662
|
+
.s("AmazonInteractiveVideoService", "CreateChannel", {})
|
|
1663
|
+
.n("IvsClient", "CreateChannelCommand")
|
|
1664
|
+
.f(void 0, CreateChannelResponseFilterSensitiveLog)
|
|
1665
|
+
.ser(se_CreateChannelCommand)
|
|
1666
|
+
.de(de_CreateChannelCommand)
|
|
1667
|
+
.build() {
|
|
1668
|
+
}
|
|
1669
|
+
|
|
1670
|
+
class CreatePlaybackRestrictionPolicyCommand extends smithyClient.Command
|
|
1671
|
+
.classBuilder()
|
|
1672
|
+
.ep(commonParams)
|
|
1673
|
+
.m(function (Command, cs, config, o) {
|
|
1674
|
+
return [
|
|
1675
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1676
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1677
|
+
];
|
|
1678
|
+
})
|
|
1679
|
+
.s("AmazonInteractiveVideoService", "CreatePlaybackRestrictionPolicy", {})
|
|
1680
|
+
.n("IvsClient", "CreatePlaybackRestrictionPolicyCommand")
|
|
1681
|
+
.f(void 0, void 0)
|
|
1682
|
+
.ser(se_CreatePlaybackRestrictionPolicyCommand)
|
|
1683
|
+
.de(de_CreatePlaybackRestrictionPolicyCommand)
|
|
1684
|
+
.build() {
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
class CreateRecordingConfigurationCommand extends smithyClient.Command
|
|
1688
|
+
.classBuilder()
|
|
1689
|
+
.ep(commonParams)
|
|
1690
|
+
.m(function (Command, cs, config, o) {
|
|
1691
|
+
return [
|
|
1692
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1693
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1694
|
+
];
|
|
1695
|
+
})
|
|
1696
|
+
.s("AmazonInteractiveVideoService", "CreateRecordingConfiguration", {})
|
|
1697
|
+
.n("IvsClient", "CreateRecordingConfigurationCommand")
|
|
1698
|
+
.f(void 0, void 0)
|
|
1699
|
+
.ser(se_CreateRecordingConfigurationCommand)
|
|
1700
|
+
.de(de_CreateRecordingConfigurationCommand)
|
|
1701
|
+
.build() {
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
class CreateStreamKeyCommand extends smithyClient.Command
|
|
1705
|
+
.classBuilder()
|
|
1706
|
+
.ep(commonParams)
|
|
1707
|
+
.m(function (Command, cs, config, o) {
|
|
1708
|
+
return [
|
|
1709
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1710
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1711
|
+
];
|
|
1712
|
+
})
|
|
1713
|
+
.s("AmazonInteractiveVideoService", "CreateStreamKey", {})
|
|
1714
|
+
.n("IvsClient", "CreateStreamKeyCommand")
|
|
1715
|
+
.f(void 0, CreateStreamKeyResponseFilterSensitiveLog)
|
|
1716
|
+
.ser(se_CreateStreamKeyCommand)
|
|
1717
|
+
.de(de_CreateStreamKeyCommand)
|
|
1718
|
+
.build() {
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
class DeleteChannelCommand extends smithyClient.Command
|
|
1722
|
+
.classBuilder()
|
|
1723
|
+
.ep(commonParams)
|
|
1724
|
+
.m(function (Command, cs, config, o) {
|
|
1725
|
+
return [
|
|
1726
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1727
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1728
|
+
];
|
|
1729
|
+
})
|
|
1730
|
+
.s("AmazonInteractiveVideoService", "DeleteChannel", {})
|
|
1731
|
+
.n("IvsClient", "DeleteChannelCommand")
|
|
1732
|
+
.f(void 0, void 0)
|
|
1733
|
+
.ser(se_DeleteChannelCommand)
|
|
1734
|
+
.de(de_DeleteChannelCommand)
|
|
1735
|
+
.build() {
|
|
1736
|
+
}
|
|
1737
|
+
|
|
1738
|
+
class DeletePlaybackKeyPairCommand extends smithyClient.Command
|
|
1739
|
+
.classBuilder()
|
|
1740
|
+
.ep(commonParams)
|
|
1741
|
+
.m(function (Command, cs, config, o) {
|
|
1742
|
+
return [
|
|
1743
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1744
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1745
|
+
];
|
|
1746
|
+
})
|
|
1747
|
+
.s("AmazonInteractiveVideoService", "DeletePlaybackKeyPair", {})
|
|
1748
|
+
.n("IvsClient", "DeletePlaybackKeyPairCommand")
|
|
1749
|
+
.f(void 0, void 0)
|
|
1750
|
+
.ser(se_DeletePlaybackKeyPairCommand)
|
|
1751
|
+
.de(de_DeletePlaybackKeyPairCommand)
|
|
1752
|
+
.build() {
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
class DeletePlaybackRestrictionPolicyCommand extends smithyClient.Command
|
|
1756
|
+
.classBuilder()
|
|
1757
|
+
.ep(commonParams)
|
|
1758
|
+
.m(function (Command, cs, config, o) {
|
|
1759
|
+
return [
|
|
1760
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1761
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1762
|
+
];
|
|
1763
|
+
})
|
|
1764
|
+
.s("AmazonInteractiveVideoService", "DeletePlaybackRestrictionPolicy", {})
|
|
1765
|
+
.n("IvsClient", "DeletePlaybackRestrictionPolicyCommand")
|
|
1766
|
+
.f(void 0, void 0)
|
|
1767
|
+
.ser(se_DeletePlaybackRestrictionPolicyCommand)
|
|
1768
|
+
.de(de_DeletePlaybackRestrictionPolicyCommand)
|
|
1769
|
+
.build() {
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
class DeleteRecordingConfigurationCommand extends smithyClient.Command
|
|
1773
|
+
.classBuilder()
|
|
1774
|
+
.ep(commonParams)
|
|
1775
|
+
.m(function (Command, cs, config, o) {
|
|
1776
|
+
return [
|
|
1777
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1778
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1779
|
+
];
|
|
1780
|
+
})
|
|
1781
|
+
.s("AmazonInteractiveVideoService", "DeleteRecordingConfiguration", {})
|
|
1782
|
+
.n("IvsClient", "DeleteRecordingConfigurationCommand")
|
|
1783
|
+
.f(void 0, void 0)
|
|
1784
|
+
.ser(se_DeleteRecordingConfigurationCommand)
|
|
1785
|
+
.de(de_DeleteRecordingConfigurationCommand)
|
|
1786
|
+
.build() {
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
class DeleteStreamKeyCommand extends smithyClient.Command
|
|
1790
|
+
.classBuilder()
|
|
1791
|
+
.ep(commonParams)
|
|
1792
|
+
.m(function (Command, cs, config, o) {
|
|
1793
|
+
return [
|
|
1794
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1795
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1796
|
+
];
|
|
1797
|
+
})
|
|
1798
|
+
.s("AmazonInteractiveVideoService", "DeleteStreamKey", {})
|
|
1799
|
+
.n("IvsClient", "DeleteStreamKeyCommand")
|
|
1800
|
+
.f(void 0, void 0)
|
|
1801
|
+
.ser(se_DeleteStreamKeyCommand)
|
|
1802
|
+
.de(de_DeleteStreamKeyCommand)
|
|
1803
|
+
.build() {
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
class GetChannelCommand extends smithyClient.Command
|
|
1807
|
+
.classBuilder()
|
|
1808
|
+
.ep(commonParams)
|
|
1809
|
+
.m(function (Command, cs, config, o) {
|
|
1810
|
+
return [
|
|
1811
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1812
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1813
|
+
];
|
|
1814
|
+
})
|
|
1815
|
+
.s("AmazonInteractiveVideoService", "GetChannel", {})
|
|
1816
|
+
.n("IvsClient", "GetChannelCommand")
|
|
1817
|
+
.f(void 0, GetChannelResponseFilterSensitiveLog)
|
|
1818
|
+
.ser(se_GetChannelCommand)
|
|
1819
|
+
.de(de_GetChannelCommand)
|
|
1820
|
+
.build() {
|
|
1821
|
+
}
|
|
1822
|
+
|
|
1823
|
+
class GetPlaybackKeyPairCommand extends smithyClient.Command
|
|
1824
|
+
.classBuilder()
|
|
1825
|
+
.ep(commonParams)
|
|
1826
|
+
.m(function (Command, cs, config, o) {
|
|
1827
|
+
return [
|
|
1828
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1829
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1830
|
+
];
|
|
1831
|
+
})
|
|
1832
|
+
.s("AmazonInteractiveVideoService", "GetPlaybackKeyPair", {})
|
|
1833
|
+
.n("IvsClient", "GetPlaybackKeyPairCommand")
|
|
1834
|
+
.f(void 0, void 0)
|
|
1835
|
+
.ser(se_GetPlaybackKeyPairCommand)
|
|
1836
|
+
.de(de_GetPlaybackKeyPairCommand)
|
|
1837
|
+
.build() {
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
class GetPlaybackRestrictionPolicyCommand extends smithyClient.Command
|
|
1841
|
+
.classBuilder()
|
|
1842
|
+
.ep(commonParams)
|
|
1843
|
+
.m(function (Command, cs, config, o) {
|
|
1844
|
+
return [
|
|
1845
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1846
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1847
|
+
];
|
|
1848
|
+
})
|
|
1849
|
+
.s("AmazonInteractiveVideoService", "GetPlaybackRestrictionPolicy", {})
|
|
1850
|
+
.n("IvsClient", "GetPlaybackRestrictionPolicyCommand")
|
|
1851
|
+
.f(void 0, void 0)
|
|
1852
|
+
.ser(se_GetPlaybackRestrictionPolicyCommand)
|
|
1853
|
+
.de(de_GetPlaybackRestrictionPolicyCommand)
|
|
1854
|
+
.build() {
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
class GetRecordingConfigurationCommand extends smithyClient.Command
|
|
1858
|
+
.classBuilder()
|
|
1859
|
+
.ep(commonParams)
|
|
1860
|
+
.m(function (Command, cs, config, o) {
|
|
1861
|
+
return [
|
|
1862
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1863
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1864
|
+
];
|
|
1865
|
+
})
|
|
1866
|
+
.s("AmazonInteractiveVideoService", "GetRecordingConfiguration", {})
|
|
1867
|
+
.n("IvsClient", "GetRecordingConfigurationCommand")
|
|
1868
|
+
.f(void 0, void 0)
|
|
1869
|
+
.ser(se_GetRecordingConfigurationCommand)
|
|
1870
|
+
.de(de_GetRecordingConfigurationCommand)
|
|
1871
|
+
.build() {
|
|
1872
|
+
}
|
|
1873
|
+
|
|
1874
|
+
class GetStreamCommand extends smithyClient.Command
|
|
1875
|
+
.classBuilder()
|
|
1876
|
+
.ep(commonParams)
|
|
1877
|
+
.m(function (Command, cs, config, o) {
|
|
1878
|
+
return [
|
|
1879
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1880
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1881
|
+
];
|
|
1882
|
+
})
|
|
1883
|
+
.s("AmazonInteractiveVideoService", "GetStream", {})
|
|
1884
|
+
.n("IvsClient", "GetStreamCommand")
|
|
1885
|
+
.f(void 0, void 0)
|
|
1886
|
+
.ser(se_GetStreamCommand)
|
|
1887
|
+
.de(de_GetStreamCommand)
|
|
1888
|
+
.build() {
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
class GetStreamKeyCommand extends smithyClient.Command
|
|
1892
|
+
.classBuilder()
|
|
1893
|
+
.ep(commonParams)
|
|
1894
|
+
.m(function (Command, cs, config, o) {
|
|
1895
|
+
return [
|
|
1896
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1897
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1898
|
+
];
|
|
1899
|
+
})
|
|
1900
|
+
.s("AmazonInteractiveVideoService", "GetStreamKey", {})
|
|
1901
|
+
.n("IvsClient", "GetStreamKeyCommand")
|
|
1902
|
+
.f(void 0, GetStreamKeyResponseFilterSensitiveLog)
|
|
1903
|
+
.ser(se_GetStreamKeyCommand)
|
|
1904
|
+
.de(de_GetStreamKeyCommand)
|
|
1905
|
+
.build() {
|
|
1906
|
+
}
|
|
1907
|
+
|
|
1908
|
+
class GetStreamSessionCommand extends smithyClient.Command
|
|
1909
|
+
.classBuilder()
|
|
1910
|
+
.ep(commonParams)
|
|
1911
|
+
.m(function (Command, cs, config, o) {
|
|
1912
|
+
return [
|
|
1913
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1914
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1915
|
+
];
|
|
1916
|
+
})
|
|
1917
|
+
.s("AmazonInteractiveVideoService", "GetStreamSession", {})
|
|
1918
|
+
.n("IvsClient", "GetStreamSessionCommand")
|
|
1919
|
+
.f(void 0, GetStreamSessionResponseFilterSensitiveLog)
|
|
1920
|
+
.ser(se_GetStreamSessionCommand)
|
|
1921
|
+
.de(de_GetStreamSessionCommand)
|
|
1922
|
+
.build() {
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
class ImportPlaybackKeyPairCommand extends smithyClient.Command
|
|
1926
|
+
.classBuilder()
|
|
1927
|
+
.ep(commonParams)
|
|
1928
|
+
.m(function (Command, cs, config, o) {
|
|
1929
|
+
return [
|
|
1930
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1931
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1932
|
+
];
|
|
1933
|
+
})
|
|
1934
|
+
.s("AmazonInteractiveVideoService", "ImportPlaybackKeyPair", {})
|
|
1935
|
+
.n("IvsClient", "ImportPlaybackKeyPairCommand")
|
|
1936
|
+
.f(void 0, void 0)
|
|
1937
|
+
.ser(se_ImportPlaybackKeyPairCommand)
|
|
1938
|
+
.de(de_ImportPlaybackKeyPairCommand)
|
|
1939
|
+
.build() {
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
class ListChannelsCommand extends smithyClient.Command
|
|
1943
|
+
.classBuilder()
|
|
1944
|
+
.ep(commonParams)
|
|
1945
|
+
.m(function (Command, cs, config, o) {
|
|
1946
|
+
return [
|
|
1947
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1948
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1949
|
+
];
|
|
1950
|
+
})
|
|
1951
|
+
.s("AmazonInteractiveVideoService", "ListChannels", {})
|
|
1952
|
+
.n("IvsClient", "ListChannelsCommand")
|
|
1953
|
+
.f(void 0, void 0)
|
|
1954
|
+
.ser(se_ListChannelsCommand)
|
|
1955
|
+
.de(de_ListChannelsCommand)
|
|
1956
|
+
.build() {
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
class ListPlaybackKeyPairsCommand extends smithyClient.Command
|
|
1960
|
+
.classBuilder()
|
|
1961
|
+
.ep(commonParams)
|
|
1962
|
+
.m(function (Command, cs, config, o) {
|
|
1963
|
+
return [
|
|
1964
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1965
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1966
|
+
];
|
|
1967
|
+
})
|
|
1968
|
+
.s("AmazonInteractiveVideoService", "ListPlaybackKeyPairs", {})
|
|
1969
|
+
.n("IvsClient", "ListPlaybackKeyPairsCommand")
|
|
1970
|
+
.f(void 0, void 0)
|
|
1971
|
+
.ser(se_ListPlaybackKeyPairsCommand)
|
|
1972
|
+
.de(de_ListPlaybackKeyPairsCommand)
|
|
1973
|
+
.build() {
|
|
1974
|
+
}
|
|
1975
|
+
|
|
1976
|
+
class ListPlaybackRestrictionPoliciesCommand extends smithyClient.Command
|
|
1977
|
+
.classBuilder()
|
|
1978
|
+
.ep(commonParams)
|
|
1979
|
+
.m(function (Command, cs, config, o) {
|
|
1980
|
+
return [
|
|
1981
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1982
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1983
|
+
];
|
|
1984
|
+
})
|
|
1985
|
+
.s("AmazonInteractiveVideoService", "ListPlaybackRestrictionPolicies", {})
|
|
1986
|
+
.n("IvsClient", "ListPlaybackRestrictionPoliciesCommand")
|
|
1987
|
+
.f(void 0, void 0)
|
|
1988
|
+
.ser(se_ListPlaybackRestrictionPoliciesCommand)
|
|
1989
|
+
.de(de_ListPlaybackRestrictionPoliciesCommand)
|
|
1990
|
+
.build() {
|
|
1991
|
+
}
|
|
1992
|
+
|
|
1993
|
+
class ListRecordingConfigurationsCommand extends smithyClient.Command
|
|
1994
|
+
.classBuilder()
|
|
1995
|
+
.ep(commonParams)
|
|
1996
|
+
.m(function (Command, cs, config, o) {
|
|
1997
|
+
return [
|
|
1998
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1999
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2000
|
+
];
|
|
2001
|
+
})
|
|
2002
|
+
.s("AmazonInteractiveVideoService", "ListRecordingConfigurations", {})
|
|
2003
|
+
.n("IvsClient", "ListRecordingConfigurationsCommand")
|
|
2004
|
+
.f(void 0, void 0)
|
|
2005
|
+
.ser(se_ListRecordingConfigurationsCommand)
|
|
2006
|
+
.de(de_ListRecordingConfigurationsCommand)
|
|
2007
|
+
.build() {
|
|
2008
|
+
}
|
|
2009
|
+
|
|
2010
|
+
class ListStreamKeysCommand extends smithyClient.Command
|
|
2011
|
+
.classBuilder()
|
|
2012
|
+
.ep(commonParams)
|
|
2013
|
+
.m(function (Command, cs, config, o) {
|
|
2014
|
+
return [
|
|
2015
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2016
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2017
|
+
];
|
|
2018
|
+
})
|
|
2019
|
+
.s("AmazonInteractiveVideoService", "ListStreamKeys", {})
|
|
2020
|
+
.n("IvsClient", "ListStreamKeysCommand")
|
|
2021
|
+
.f(void 0, void 0)
|
|
2022
|
+
.ser(se_ListStreamKeysCommand)
|
|
2023
|
+
.de(de_ListStreamKeysCommand)
|
|
2024
|
+
.build() {
|
|
2025
|
+
}
|
|
2026
|
+
|
|
2027
|
+
class ListStreamsCommand extends smithyClient.Command
|
|
2028
|
+
.classBuilder()
|
|
2029
|
+
.ep(commonParams)
|
|
2030
|
+
.m(function (Command, cs, config, o) {
|
|
2031
|
+
return [
|
|
2032
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2033
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2034
|
+
];
|
|
2035
|
+
})
|
|
2036
|
+
.s("AmazonInteractiveVideoService", "ListStreams", {})
|
|
2037
|
+
.n("IvsClient", "ListStreamsCommand")
|
|
2038
|
+
.f(void 0, void 0)
|
|
2039
|
+
.ser(se_ListStreamsCommand)
|
|
2040
|
+
.de(de_ListStreamsCommand)
|
|
2041
|
+
.build() {
|
|
2042
|
+
}
|
|
2043
|
+
|
|
2044
|
+
class ListStreamSessionsCommand extends smithyClient.Command
|
|
2045
|
+
.classBuilder()
|
|
2046
|
+
.ep(commonParams)
|
|
2047
|
+
.m(function (Command, cs, config, o) {
|
|
2048
|
+
return [
|
|
2049
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2050
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2051
|
+
];
|
|
2052
|
+
})
|
|
2053
|
+
.s("AmazonInteractiveVideoService", "ListStreamSessions", {})
|
|
2054
|
+
.n("IvsClient", "ListStreamSessionsCommand")
|
|
2055
|
+
.f(void 0, void 0)
|
|
2056
|
+
.ser(se_ListStreamSessionsCommand)
|
|
2057
|
+
.de(de_ListStreamSessionsCommand)
|
|
2058
|
+
.build() {
|
|
2059
|
+
}
|
|
2060
|
+
|
|
2061
|
+
class ListTagsForResourceCommand extends smithyClient.Command
|
|
2062
|
+
.classBuilder()
|
|
2063
|
+
.ep(commonParams)
|
|
2064
|
+
.m(function (Command, cs, config, o) {
|
|
2065
|
+
return [
|
|
2066
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2067
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2068
|
+
];
|
|
2069
|
+
})
|
|
2070
|
+
.s("AmazonInteractiveVideoService", "ListTagsForResource", {})
|
|
2071
|
+
.n("IvsClient", "ListTagsForResourceCommand")
|
|
2072
|
+
.f(void 0, void 0)
|
|
2073
|
+
.ser(se_ListTagsForResourceCommand)
|
|
2074
|
+
.de(de_ListTagsForResourceCommand)
|
|
2075
|
+
.build() {
|
|
2076
|
+
}
|
|
2077
|
+
|
|
2078
|
+
class PutMetadataCommand extends smithyClient.Command
|
|
2079
|
+
.classBuilder()
|
|
2080
|
+
.ep(commonParams)
|
|
2081
|
+
.m(function (Command, cs, config, o) {
|
|
2082
|
+
return [
|
|
2083
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2084
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2085
|
+
];
|
|
2086
|
+
})
|
|
2087
|
+
.s("AmazonInteractiveVideoService", "PutMetadata", {})
|
|
2088
|
+
.n("IvsClient", "PutMetadataCommand")
|
|
2089
|
+
.f(PutMetadataRequestFilterSensitiveLog, void 0)
|
|
2090
|
+
.ser(se_PutMetadataCommand)
|
|
2091
|
+
.de(de_PutMetadataCommand)
|
|
2092
|
+
.build() {
|
|
2093
|
+
}
|
|
2094
|
+
|
|
2095
|
+
class StartViewerSessionRevocationCommand extends smithyClient.Command
|
|
2096
|
+
.classBuilder()
|
|
2097
|
+
.ep(commonParams)
|
|
2098
|
+
.m(function (Command, cs, config, o) {
|
|
2099
|
+
return [
|
|
2100
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2101
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2102
|
+
];
|
|
2103
|
+
})
|
|
2104
|
+
.s("AmazonInteractiveVideoService", "StartViewerSessionRevocation", {})
|
|
2105
|
+
.n("IvsClient", "StartViewerSessionRevocationCommand")
|
|
2106
|
+
.f(void 0, void 0)
|
|
2107
|
+
.ser(se_StartViewerSessionRevocationCommand)
|
|
2108
|
+
.de(de_StartViewerSessionRevocationCommand)
|
|
2109
|
+
.build() {
|
|
2110
|
+
}
|
|
2111
|
+
|
|
2112
|
+
class StopStreamCommand extends smithyClient.Command
|
|
2113
|
+
.classBuilder()
|
|
2114
|
+
.ep(commonParams)
|
|
2115
|
+
.m(function (Command, cs, config, o) {
|
|
2116
|
+
return [
|
|
2117
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2118
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2119
|
+
];
|
|
2120
|
+
})
|
|
2121
|
+
.s("AmazonInteractiveVideoService", "StopStream", {})
|
|
2122
|
+
.n("IvsClient", "StopStreamCommand")
|
|
2123
|
+
.f(void 0, void 0)
|
|
2124
|
+
.ser(se_StopStreamCommand)
|
|
2125
|
+
.de(de_StopStreamCommand)
|
|
2126
|
+
.build() {
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2129
|
+
class TagResourceCommand extends smithyClient.Command
|
|
2130
|
+
.classBuilder()
|
|
2131
|
+
.ep(commonParams)
|
|
2132
|
+
.m(function (Command, cs, config, o) {
|
|
2133
|
+
return [
|
|
2134
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2135
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2136
|
+
];
|
|
2137
|
+
})
|
|
2138
|
+
.s("AmazonInteractiveVideoService", "TagResource", {})
|
|
2139
|
+
.n("IvsClient", "TagResourceCommand")
|
|
2140
|
+
.f(void 0, void 0)
|
|
2141
|
+
.ser(se_TagResourceCommand)
|
|
2142
|
+
.de(de_TagResourceCommand)
|
|
2143
|
+
.build() {
|
|
2144
|
+
}
|
|
2145
|
+
|
|
2146
|
+
class UntagResourceCommand extends smithyClient.Command
|
|
2147
|
+
.classBuilder()
|
|
2148
|
+
.ep(commonParams)
|
|
2149
|
+
.m(function (Command, cs, config, o) {
|
|
2150
|
+
return [
|
|
2151
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2152
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2153
|
+
];
|
|
2154
|
+
})
|
|
2155
|
+
.s("AmazonInteractiveVideoService", "UntagResource", {})
|
|
2156
|
+
.n("IvsClient", "UntagResourceCommand")
|
|
2157
|
+
.f(void 0, void 0)
|
|
2158
|
+
.ser(se_UntagResourceCommand)
|
|
2159
|
+
.de(de_UntagResourceCommand)
|
|
2160
|
+
.build() {
|
|
2161
|
+
}
|
|
2162
|
+
|
|
2163
|
+
class UpdateChannelCommand extends smithyClient.Command
|
|
2164
|
+
.classBuilder()
|
|
2165
|
+
.ep(commonParams)
|
|
2166
|
+
.m(function (Command, cs, config, o) {
|
|
2167
|
+
return [
|
|
2168
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2169
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2170
|
+
];
|
|
2171
|
+
})
|
|
2172
|
+
.s("AmazonInteractiveVideoService", "UpdateChannel", {})
|
|
2173
|
+
.n("IvsClient", "UpdateChannelCommand")
|
|
2174
|
+
.f(void 0, UpdateChannelResponseFilterSensitiveLog)
|
|
2175
|
+
.ser(se_UpdateChannelCommand)
|
|
2176
|
+
.de(de_UpdateChannelCommand)
|
|
2177
|
+
.build() {
|
|
2178
|
+
}
|
|
2179
|
+
|
|
2180
|
+
class UpdatePlaybackRestrictionPolicyCommand extends smithyClient.Command
|
|
2181
|
+
.classBuilder()
|
|
2182
|
+
.ep(commonParams)
|
|
2183
|
+
.m(function (Command, cs, config, o) {
|
|
2184
|
+
return [
|
|
2185
|
+
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2186
|
+
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2187
|
+
];
|
|
2188
|
+
})
|
|
2189
|
+
.s("AmazonInteractiveVideoService", "UpdatePlaybackRestrictionPolicy", {})
|
|
2190
|
+
.n("IvsClient", "UpdatePlaybackRestrictionPolicyCommand")
|
|
2191
|
+
.f(void 0, void 0)
|
|
2192
|
+
.ser(se_UpdatePlaybackRestrictionPolicyCommand)
|
|
2193
|
+
.de(de_UpdatePlaybackRestrictionPolicyCommand)
|
|
2194
|
+
.build() {
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
const commands = {
|
|
2198
|
+
BatchGetChannelCommand,
|
|
2199
|
+
BatchGetStreamKeyCommand,
|
|
2200
|
+
BatchStartViewerSessionRevocationCommand,
|
|
2201
|
+
CreateChannelCommand,
|
|
2202
|
+
CreatePlaybackRestrictionPolicyCommand,
|
|
2203
|
+
CreateRecordingConfigurationCommand,
|
|
2204
|
+
CreateStreamKeyCommand,
|
|
2205
|
+
DeleteChannelCommand,
|
|
2206
|
+
DeletePlaybackKeyPairCommand,
|
|
2207
|
+
DeletePlaybackRestrictionPolicyCommand,
|
|
2208
|
+
DeleteRecordingConfigurationCommand,
|
|
2209
|
+
DeleteStreamKeyCommand,
|
|
2210
|
+
GetChannelCommand,
|
|
2211
|
+
GetPlaybackKeyPairCommand,
|
|
2212
|
+
GetPlaybackRestrictionPolicyCommand,
|
|
2213
|
+
GetRecordingConfigurationCommand,
|
|
2214
|
+
GetStreamCommand,
|
|
2215
|
+
GetStreamKeyCommand,
|
|
2216
|
+
GetStreamSessionCommand,
|
|
2217
|
+
ImportPlaybackKeyPairCommand,
|
|
2218
|
+
ListChannelsCommand,
|
|
2219
|
+
ListPlaybackKeyPairsCommand,
|
|
2220
|
+
ListPlaybackRestrictionPoliciesCommand,
|
|
2221
|
+
ListRecordingConfigurationsCommand,
|
|
2222
|
+
ListStreamKeysCommand,
|
|
2223
|
+
ListStreamsCommand,
|
|
2224
|
+
ListStreamSessionsCommand,
|
|
2225
|
+
ListTagsForResourceCommand,
|
|
2226
|
+
PutMetadataCommand,
|
|
2227
|
+
StartViewerSessionRevocationCommand,
|
|
2228
|
+
StopStreamCommand,
|
|
2229
|
+
TagResourceCommand,
|
|
2230
|
+
UntagResourceCommand,
|
|
2231
|
+
UpdateChannelCommand,
|
|
2232
|
+
UpdatePlaybackRestrictionPolicyCommand,
|
|
2233
|
+
};
|
|
2234
|
+
class Ivs extends IvsClient {
|
|
2235
|
+
}
|
|
2236
|
+
smithyClient.createAggregatedClient(commands, Ivs);
|
|
2237
|
+
|
|
2238
|
+
const paginateListChannels = core.createPaginator(IvsClient, ListChannelsCommand, "nextToken", "nextToken", "maxResults");
|
|
2239
|
+
|
|
2240
|
+
const paginateListPlaybackKeyPairs = core.createPaginator(IvsClient, ListPlaybackKeyPairsCommand, "nextToken", "nextToken", "maxResults");
|
|
2241
|
+
|
|
2242
|
+
const paginateListPlaybackRestrictionPolicies = core.createPaginator(IvsClient, ListPlaybackRestrictionPoliciesCommand, "nextToken", "nextToken", "maxResults");
|
|
2243
|
+
|
|
2244
|
+
const paginateListRecordingConfigurations = core.createPaginator(IvsClient, ListRecordingConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
2245
|
+
|
|
2246
|
+
const paginateListStreamKeys = core.createPaginator(IvsClient, ListStreamKeysCommand, "nextToken", "nextToken", "maxResults");
|
|
2247
|
+
|
|
2248
|
+
const paginateListStreamSessions = core.createPaginator(IvsClient, ListStreamSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
2249
|
+
|
|
2250
|
+
const paginateListStreams = core.createPaginator(IvsClient, ListStreamsCommand, "nextToken", "nextToken", "maxResults");
|
|
2251
|
+
|
|
2252
|
+
Object.defineProperty(exports, "$Command", {
|
|
2253
|
+
enumerable: true,
|
|
2254
|
+
get: function () { return smithyClient.Command; }
|
|
2255
|
+
});
|
|
2256
|
+
Object.defineProperty(exports, "__Client", {
|
|
2257
|
+
enumerable: true,
|
|
2258
|
+
get: function () { return smithyClient.Client; }
|
|
2259
|
+
});
|
|
2260
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
2261
|
+
exports.BatchGetChannelCommand = BatchGetChannelCommand;
|
|
2262
|
+
exports.BatchGetChannelResponseFilterSensitiveLog = BatchGetChannelResponseFilterSensitiveLog;
|
|
2263
|
+
exports.BatchGetStreamKeyCommand = BatchGetStreamKeyCommand;
|
|
2264
|
+
exports.BatchGetStreamKeyResponseFilterSensitiveLog = BatchGetStreamKeyResponseFilterSensitiveLog;
|
|
2265
|
+
exports.BatchStartViewerSessionRevocationCommand = BatchStartViewerSessionRevocationCommand;
|
|
2266
|
+
exports.ChannelFilterSensitiveLog = ChannelFilterSensitiveLog;
|
|
2267
|
+
exports.ChannelLatencyMode = ChannelLatencyMode;
|
|
2268
|
+
exports.ChannelNotBroadcasting = ChannelNotBroadcasting;
|
|
2269
|
+
exports.ChannelType = ChannelType;
|
|
2270
|
+
exports.ConflictException = ConflictException;
|
|
2271
|
+
exports.ContainerFormat = ContainerFormat;
|
|
2272
|
+
exports.CreateChannelCommand = CreateChannelCommand;
|
|
2273
|
+
exports.CreateChannelResponseFilterSensitiveLog = CreateChannelResponseFilterSensitiveLog;
|
|
2274
|
+
exports.CreatePlaybackRestrictionPolicyCommand = CreatePlaybackRestrictionPolicyCommand;
|
|
2275
|
+
exports.CreateRecordingConfigurationCommand = CreateRecordingConfigurationCommand;
|
|
2276
|
+
exports.CreateStreamKeyCommand = CreateStreamKeyCommand;
|
|
2277
|
+
exports.CreateStreamKeyResponseFilterSensitiveLog = CreateStreamKeyResponseFilterSensitiveLog;
|
|
2278
|
+
exports.DeleteChannelCommand = DeleteChannelCommand;
|
|
2279
|
+
exports.DeletePlaybackKeyPairCommand = DeletePlaybackKeyPairCommand;
|
|
2280
|
+
exports.DeletePlaybackRestrictionPolicyCommand = DeletePlaybackRestrictionPolicyCommand;
|
|
2281
|
+
exports.DeleteRecordingConfigurationCommand = DeleteRecordingConfigurationCommand;
|
|
2282
|
+
exports.DeleteStreamKeyCommand = DeleteStreamKeyCommand;
|
|
2283
|
+
exports.GetChannelCommand = GetChannelCommand;
|
|
2284
|
+
exports.GetChannelResponseFilterSensitiveLog = GetChannelResponseFilterSensitiveLog;
|
|
2285
|
+
exports.GetPlaybackKeyPairCommand = GetPlaybackKeyPairCommand;
|
|
2286
|
+
exports.GetPlaybackRestrictionPolicyCommand = GetPlaybackRestrictionPolicyCommand;
|
|
2287
|
+
exports.GetRecordingConfigurationCommand = GetRecordingConfigurationCommand;
|
|
2288
|
+
exports.GetStreamCommand = GetStreamCommand;
|
|
2289
|
+
exports.GetStreamKeyCommand = GetStreamKeyCommand;
|
|
2290
|
+
exports.GetStreamKeyResponseFilterSensitiveLog = GetStreamKeyResponseFilterSensitiveLog;
|
|
2291
|
+
exports.GetStreamSessionCommand = GetStreamSessionCommand;
|
|
2292
|
+
exports.GetStreamSessionResponseFilterSensitiveLog = GetStreamSessionResponseFilterSensitiveLog;
|
|
2293
|
+
exports.ImportPlaybackKeyPairCommand = ImportPlaybackKeyPairCommand;
|
|
2294
|
+
exports.InternalServerException = InternalServerException;
|
|
2295
|
+
exports.Ivs = Ivs;
|
|
2296
|
+
exports.IvsClient = IvsClient;
|
|
2297
|
+
exports.IvsServiceException = IvsServiceException;
|
|
2298
|
+
exports.ListChannelsCommand = ListChannelsCommand;
|
|
2299
|
+
exports.ListPlaybackKeyPairsCommand = ListPlaybackKeyPairsCommand;
|
|
2300
|
+
exports.ListPlaybackRestrictionPoliciesCommand = ListPlaybackRestrictionPoliciesCommand;
|
|
2301
|
+
exports.ListRecordingConfigurationsCommand = ListRecordingConfigurationsCommand;
|
|
2302
|
+
exports.ListStreamKeysCommand = ListStreamKeysCommand;
|
|
2303
|
+
exports.ListStreamSessionsCommand = ListStreamSessionsCommand;
|
|
2304
|
+
exports.ListStreamsCommand = ListStreamsCommand;
|
|
2305
|
+
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
2306
|
+
exports.MultitrackMaximumResolution = MultitrackMaximumResolution;
|
|
2307
|
+
exports.MultitrackPolicy = MultitrackPolicy;
|
|
2308
|
+
exports.PendingVerification = PendingVerification;
|
|
2309
|
+
exports.PutMetadataCommand = PutMetadataCommand;
|
|
2310
|
+
exports.PutMetadataRequestFilterSensitiveLog = PutMetadataRequestFilterSensitiveLog;
|
|
2311
|
+
exports.RecordingConfigurationState = RecordingConfigurationState;
|
|
2312
|
+
exports.RecordingMode = RecordingMode;
|
|
2313
|
+
exports.RenditionConfigurationRendition = RenditionConfigurationRendition;
|
|
2314
|
+
exports.RenditionConfigurationRenditionSelection = RenditionConfigurationRenditionSelection;
|
|
2315
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
2316
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
2317
|
+
exports.SrtFilterSensitiveLog = SrtFilterSensitiveLog;
|
|
2318
|
+
exports.StartViewerSessionRevocationCommand = StartViewerSessionRevocationCommand;
|
|
2319
|
+
exports.StopStreamCommand = StopStreamCommand;
|
|
2320
|
+
exports.StreamHealth = StreamHealth;
|
|
2321
|
+
exports.StreamKeyFilterSensitiveLog = StreamKeyFilterSensitiveLog;
|
|
2322
|
+
exports.StreamSessionFilterSensitiveLog = StreamSessionFilterSensitiveLog;
|
|
2323
|
+
exports.StreamState = StreamState;
|
|
2324
|
+
exports.StreamUnavailable = StreamUnavailable;
|
|
2325
|
+
exports.TagResourceCommand = TagResourceCommand;
|
|
2326
|
+
exports.ThrottlingException = ThrottlingException;
|
|
2327
|
+
exports.ThumbnailConfigurationResolution = ThumbnailConfigurationResolution;
|
|
2328
|
+
exports.ThumbnailConfigurationStorage = ThumbnailConfigurationStorage;
|
|
2329
|
+
exports.TranscodePreset = TranscodePreset;
|
|
2330
|
+
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2331
|
+
exports.UpdateChannelCommand = UpdateChannelCommand;
|
|
2332
|
+
exports.UpdateChannelResponseFilterSensitiveLog = UpdateChannelResponseFilterSensitiveLog;
|
|
2333
|
+
exports.UpdatePlaybackRestrictionPolicyCommand = UpdatePlaybackRestrictionPolicyCommand;
|
|
2334
|
+
exports.ValidationException = ValidationException;
|
|
2335
|
+
exports.paginateListChannels = paginateListChannels;
|
|
2336
|
+
exports.paginateListPlaybackKeyPairs = paginateListPlaybackKeyPairs;
|
|
2337
|
+
exports.paginateListPlaybackRestrictionPolicies = paginateListPlaybackRestrictionPolicies;
|
|
2338
|
+
exports.paginateListRecordingConfigurations = paginateListRecordingConfigurations;
|
|
2339
|
+
exports.paginateListStreamKeys = paginateListStreamKeys;
|
|
2340
|
+
exports.paginateListStreamSessions = paginateListStreamSessions;
|
|
2341
|
+
exports.paginateListStreams = paginateListStreams;
|