@aws-sdk/client-ivs 3.489.0 → 3.495.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/Ivs.js +1 -71
- package/dist-cjs/IvsClient.js +1 -43
- package/dist-cjs/commands/BatchGetChannelCommand.js +1 -28
- package/dist-cjs/commands/BatchGetStreamKeyCommand.js +1 -29
- package/dist-cjs/commands/BatchStartViewerSessionRevocationCommand.js +1 -28
- package/dist-cjs/commands/CreateChannelCommand.js +1 -29
- package/dist-cjs/commands/CreateRecordingConfigurationCommand.js +1 -28
- package/dist-cjs/commands/CreateStreamKeyCommand.js +1 -29
- package/dist-cjs/commands/DeleteChannelCommand.js +1 -28
- package/dist-cjs/commands/DeletePlaybackKeyPairCommand.js +1 -28
- package/dist-cjs/commands/DeleteRecordingConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DeleteStreamKeyCommand.js +1 -28
- package/dist-cjs/commands/GetChannelCommand.js +1 -28
- package/dist-cjs/commands/GetPlaybackKeyPairCommand.js +1 -28
- package/dist-cjs/commands/GetRecordingConfigurationCommand.js +1 -28
- package/dist-cjs/commands/GetStreamCommand.js +1 -28
- package/dist-cjs/commands/GetStreamKeyCommand.js +1 -29
- package/dist-cjs/commands/GetStreamSessionCommand.js +1 -28
- package/dist-cjs/commands/ImportPlaybackKeyPairCommand.js +1 -28
- package/dist-cjs/commands/ListChannelsCommand.js +1 -28
- package/dist-cjs/commands/ListPlaybackKeyPairsCommand.js +1 -28
- package/dist-cjs/commands/ListRecordingConfigurationsCommand.js +1 -28
- package/dist-cjs/commands/ListStreamKeysCommand.js +1 -28
- package/dist-cjs/commands/ListStreamSessionsCommand.js +1 -28
- package/dist-cjs/commands/ListStreamsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/PutMetadataCommand.js +1 -29
- package/dist-cjs/commands/StartViewerSessionRevocationCommand.js +1 -28
- package/dist-cjs/commands/StopStreamCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateChannelCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -33
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3027 -11
- package/dist-cjs/models/IvsServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -228
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListChannelsPaginator.js +1 -7
- package/dist-cjs/pagination/ListPlaybackKeyPairsPaginator.js +1 -7
- package/dist-cjs/pagination/ListRecordingConfigurationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListStreamKeysPaginator.js +1 -7
- package/dist-cjs/pagination/ListStreamSessionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListStreamsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -10
- package/dist-cjs/protocols/Aws_restJson1.js +1 -1943
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,3028 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
BatchGetChannelCommand: () => BatchGetChannelCommand,
|
|
26
|
+
BatchGetStreamKeyCommand: () => BatchGetStreamKeyCommand,
|
|
27
|
+
BatchGetStreamKeyResponseFilterSensitiveLog: () => BatchGetStreamKeyResponseFilterSensitiveLog,
|
|
28
|
+
BatchStartViewerSessionRevocationCommand: () => BatchStartViewerSessionRevocationCommand,
|
|
29
|
+
ChannelLatencyMode: () => ChannelLatencyMode,
|
|
30
|
+
ChannelNotBroadcasting: () => ChannelNotBroadcasting,
|
|
31
|
+
ChannelType: () => ChannelType,
|
|
32
|
+
ConflictException: () => ConflictException,
|
|
33
|
+
CreateChannelCommand: () => CreateChannelCommand,
|
|
34
|
+
CreateChannelResponseFilterSensitiveLog: () => CreateChannelResponseFilterSensitiveLog,
|
|
35
|
+
CreateRecordingConfigurationCommand: () => CreateRecordingConfigurationCommand,
|
|
36
|
+
CreateStreamKeyCommand: () => CreateStreamKeyCommand,
|
|
37
|
+
CreateStreamKeyResponseFilterSensitiveLog: () => CreateStreamKeyResponseFilterSensitiveLog,
|
|
38
|
+
DeleteChannelCommand: () => DeleteChannelCommand,
|
|
39
|
+
DeletePlaybackKeyPairCommand: () => DeletePlaybackKeyPairCommand,
|
|
40
|
+
DeleteRecordingConfigurationCommand: () => DeleteRecordingConfigurationCommand,
|
|
41
|
+
DeleteStreamKeyCommand: () => DeleteStreamKeyCommand,
|
|
42
|
+
GetChannelCommand: () => GetChannelCommand,
|
|
43
|
+
GetPlaybackKeyPairCommand: () => GetPlaybackKeyPairCommand,
|
|
44
|
+
GetRecordingConfigurationCommand: () => GetRecordingConfigurationCommand,
|
|
45
|
+
GetStreamCommand: () => GetStreamCommand,
|
|
46
|
+
GetStreamKeyCommand: () => GetStreamKeyCommand,
|
|
47
|
+
GetStreamKeyResponseFilterSensitiveLog: () => GetStreamKeyResponseFilterSensitiveLog,
|
|
48
|
+
GetStreamSessionCommand: () => GetStreamSessionCommand,
|
|
49
|
+
ImportPlaybackKeyPairCommand: () => ImportPlaybackKeyPairCommand,
|
|
50
|
+
InternalServerException: () => InternalServerException,
|
|
51
|
+
Ivs: () => Ivs,
|
|
52
|
+
IvsClient: () => IvsClient,
|
|
53
|
+
IvsServiceException: () => IvsServiceException,
|
|
54
|
+
ListChannelsCommand: () => ListChannelsCommand,
|
|
55
|
+
ListPlaybackKeyPairsCommand: () => ListPlaybackKeyPairsCommand,
|
|
56
|
+
ListRecordingConfigurationsCommand: () => ListRecordingConfigurationsCommand,
|
|
57
|
+
ListStreamKeysCommand: () => ListStreamKeysCommand,
|
|
58
|
+
ListStreamSessionsCommand: () => ListStreamSessionsCommand,
|
|
59
|
+
ListStreamsCommand: () => ListStreamsCommand,
|
|
60
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
61
|
+
PendingVerification: () => PendingVerification,
|
|
62
|
+
PutMetadataCommand: () => PutMetadataCommand,
|
|
63
|
+
PutMetadataRequestFilterSensitiveLog: () => PutMetadataRequestFilterSensitiveLog,
|
|
64
|
+
RecordingConfigurationState: () => RecordingConfigurationState,
|
|
65
|
+
RecordingMode: () => RecordingMode,
|
|
66
|
+
RenditionConfigurationRendition: () => RenditionConfigurationRendition,
|
|
67
|
+
RenditionConfigurationRenditionSelection: () => RenditionConfigurationRenditionSelection,
|
|
68
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
69
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
70
|
+
StartViewerSessionRevocationCommand: () => StartViewerSessionRevocationCommand,
|
|
71
|
+
StopStreamCommand: () => StopStreamCommand,
|
|
72
|
+
StreamHealth: () => StreamHealth,
|
|
73
|
+
StreamKeyFilterSensitiveLog: () => StreamKeyFilterSensitiveLog,
|
|
74
|
+
StreamState: () => StreamState,
|
|
75
|
+
StreamUnavailable: () => StreamUnavailable,
|
|
76
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
77
|
+
ThrottlingException: () => ThrottlingException,
|
|
78
|
+
ThumbnailConfigurationResolution: () => ThumbnailConfigurationResolution,
|
|
79
|
+
ThumbnailConfigurationStorage: () => ThumbnailConfigurationStorage,
|
|
80
|
+
TranscodePreset: () => TranscodePreset,
|
|
81
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
82
|
+
UpdateChannelCommand: () => UpdateChannelCommand,
|
|
83
|
+
ValidationException: () => ValidationException,
|
|
84
|
+
__Client: () => import_smithy_client.Client,
|
|
85
|
+
paginateListChannels: () => paginateListChannels,
|
|
86
|
+
paginateListPlaybackKeyPairs: () => paginateListPlaybackKeyPairs,
|
|
87
|
+
paginateListRecordingConfigurations: () => paginateListRecordingConfigurations,
|
|
88
|
+
paginateListStreamKeys: () => paginateListStreamKeys,
|
|
89
|
+
paginateListStreamSessions: () => paginateListStreamSessions,
|
|
90
|
+
paginateListStreams: () => paginateListStreams
|
|
91
|
+
});
|
|
92
|
+
module.exports = __toCommonJS(src_exports);
|
|
93
|
+
|
|
94
|
+
// src/IvsClient.ts
|
|
95
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
96
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
97
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
98
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
99
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
100
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
101
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
102
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
103
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
// src/endpoint/EndpointParameters.ts
|
|
107
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
108
|
+
return {
|
|
109
|
+
...options,
|
|
110
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
111
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
112
|
+
defaultSigningName: "ivs"
|
|
113
|
+
};
|
|
114
|
+
}, "resolveClientEndpointParameters");
|
|
115
|
+
var commonParams = {
|
|
116
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
117
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
118
|
+
Region: { type: "builtInParams", name: "region" },
|
|
119
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
120
|
+
};
|
|
121
|
+
|
|
122
|
+
// src/IvsClient.ts
|
|
123
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
124
|
+
|
|
125
|
+
// src/runtimeExtensions.ts
|
|
126
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
127
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
128
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
129
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
130
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
131
|
+
const extensionConfiguration = {
|
|
132
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
133
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
134
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
135
|
+
};
|
|
136
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
137
|
+
return {
|
|
138
|
+
...runtimeConfig,
|
|
139
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
140
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
141
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
142
|
+
};
|
|
143
|
+
}, "resolveRuntimeExtensions");
|
|
144
|
+
|
|
145
|
+
// src/IvsClient.ts
|
|
146
|
+
var _IvsClient = class _IvsClient extends import_smithy_client.Client {
|
|
147
|
+
constructor(...[configuration]) {
|
|
148
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
149
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
150
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
151
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
152
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
153
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
154
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
155
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
156
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
157
|
+
super(_config_8);
|
|
158
|
+
this.config = _config_8;
|
|
159
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
160
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
161
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
162
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
163
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
164
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
165
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
169
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
170
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
171
|
+
*/
|
|
172
|
+
destroy() {
|
|
173
|
+
super.destroy();
|
|
174
|
+
}
|
|
175
|
+
};
|
|
176
|
+
__name(_IvsClient, "IvsClient");
|
|
177
|
+
var IvsClient = _IvsClient;
|
|
178
|
+
|
|
179
|
+
// src/Ivs.ts
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
// src/commands/BatchGetChannelCommand.ts
|
|
183
|
+
|
|
184
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
185
|
+
|
|
186
|
+
var import_types = require("@smithy/types");
|
|
187
|
+
|
|
188
|
+
// src/protocols/Aws_restJson1.ts
|
|
189
|
+
var import_core = require("@smithy/core");
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
// src/models/IvsServiceException.ts
|
|
193
|
+
|
|
194
|
+
var _IvsServiceException = class _IvsServiceException extends import_smithy_client.ServiceException {
|
|
195
|
+
/**
|
|
196
|
+
* @internal
|
|
197
|
+
*/
|
|
198
|
+
constructor(options) {
|
|
199
|
+
super(options);
|
|
200
|
+
Object.setPrototypeOf(this, _IvsServiceException.prototype);
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
__name(_IvsServiceException, "IvsServiceException");
|
|
204
|
+
var IvsServiceException = _IvsServiceException;
|
|
205
|
+
|
|
206
|
+
// src/models/models_0.ts
|
|
207
|
+
|
|
208
|
+
var _AccessDeniedException = class _AccessDeniedException extends IvsServiceException {
|
|
209
|
+
/**
|
|
210
|
+
* @internal
|
|
211
|
+
*/
|
|
212
|
+
constructor(opts) {
|
|
213
|
+
super({
|
|
214
|
+
name: "AccessDeniedException",
|
|
215
|
+
$fault: "client",
|
|
216
|
+
...opts
|
|
217
|
+
});
|
|
218
|
+
this.name = "AccessDeniedException";
|
|
219
|
+
this.$fault = "client";
|
|
220
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
221
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
225
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
226
|
+
var ChannelLatencyMode = {
|
|
227
|
+
LowLatency: "LOW",
|
|
228
|
+
NormalLatency: "NORMAL"
|
|
229
|
+
};
|
|
230
|
+
var TranscodePreset = {
|
|
231
|
+
ConstrainedBandwidthTranscodePreset: "CONSTRAINED_BANDWIDTH_DELIVERY",
|
|
232
|
+
HigherBandwidthTranscodePreset: "HIGHER_BANDWIDTH_DELIVERY"
|
|
233
|
+
};
|
|
234
|
+
var ChannelType = {
|
|
235
|
+
AdvancedHDChannelType: "ADVANCED_HD",
|
|
236
|
+
AdvancedSDChannelType: "ADVANCED_SD",
|
|
237
|
+
BasicChannelType: "BASIC",
|
|
238
|
+
StandardChannelType: "STANDARD"
|
|
239
|
+
};
|
|
240
|
+
var _PendingVerification = class _PendingVerification extends IvsServiceException {
|
|
241
|
+
/**
|
|
242
|
+
* @internal
|
|
243
|
+
*/
|
|
244
|
+
constructor(opts) {
|
|
245
|
+
super({
|
|
246
|
+
name: "PendingVerification",
|
|
247
|
+
$fault: "client",
|
|
248
|
+
...opts
|
|
249
|
+
});
|
|
250
|
+
this.name = "PendingVerification";
|
|
251
|
+
this.$fault = "client";
|
|
252
|
+
Object.setPrototypeOf(this, _PendingVerification.prototype);
|
|
253
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
__name(_PendingVerification, "PendingVerification");
|
|
257
|
+
var PendingVerification = _PendingVerification;
|
|
258
|
+
var _ThrottlingException = class _ThrottlingException extends IvsServiceException {
|
|
259
|
+
/**
|
|
260
|
+
* @internal
|
|
261
|
+
*/
|
|
262
|
+
constructor(opts) {
|
|
263
|
+
super({
|
|
264
|
+
name: "ThrottlingException",
|
|
265
|
+
$fault: "client",
|
|
266
|
+
...opts
|
|
267
|
+
});
|
|
268
|
+
this.name = "ThrottlingException";
|
|
269
|
+
this.$fault = "client";
|
|
270
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
271
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
272
|
+
}
|
|
273
|
+
};
|
|
274
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
275
|
+
var ThrottlingException = _ThrottlingException;
|
|
276
|
+
var _ValidationException = class _ValidationException extends IvsServiceException {
|
|
277
|
+
/**
|
|
278
|
+
* @internal
|
|
279
|
+
*/
|
|
280
|
+
constructor(opts) {
|
|
281
|
+
super({
|
|
282
|
+
name: "ValidationException",
|
|
283
|
+
$fault: "client",
|
|
284
|
+
...opts
|
|
285
|
+
});
|
|
286
|
+
this.name = "ValidationException";
|
|
287
|
+
this.$fault = "client";
|
|
288
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
289
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
__name(_ValidationException, "ValidationException");
|
|
293
|
+
var ValidationException = _ValidationException;
|
|
294
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends IvsServiceException {
|
|
295
|
+
/**
|
|
296
|
+
* @internal
|
|
297
|
+
*/
|
|
298
|
+
constructor(opts) {
|
|
299
|
+
super({
|
|
300
|
+
name: "ResourceNotFoundException",
|
|
301
|
+
$fault: "client",
|
|
302
|
+
...opts
|
|
303
|
+
});
|
|
304
|
+
this.name = "ResourceNotFoundException";
|
|
305
|
+
this.$fault = "client";
|
|
306
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
307
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
311
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
312
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends IvsServiceException {
|
|
313
|
+
/**
|
|
314
|
+
* @internal
|
|
315
|
+
*/
|
|
316
|
+
constructor(opts) {
|
|
317
|
+
super({
|
|
318
|
+
name: "ServiceQuotaExceededException",
|
|
319
|
+
$fault: "client",
|
|
320
|
+
...opts
|
|
321
|
+
});
|
|
322
|
+
this.name = "ServiceQuotaExceededException";
|
|
323
|
+
this.$fault = "client";
|
|
324
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
325
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
326
|
+
}
|
|
327
|
+
};
|
|
328
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
329
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
330
|
+
var _ConflictException = class _ConflictException extends IvsServiceException {
|
|
331
|
+
/**
|
|
332
|
+
* @internal
|
|
333
|
+
*/
|
|
334
|
+
constructor(opts) {
|
|
335
|
+
super({
|
|
336
|
+
name: "ConflictException",
|
|
337
|
+
$fault: "client",
|
|
338
|
+
...opts
|
|
339
|
+
});
|
|
340
|
+
this.name = "ConflictException";
|
|
341
|
+
this.$fault = "client";
|
|
342
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
343
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
344
|
+
}
|
|
345
|
+
};
|
|
346
|
+
__name(_ConflictException, "ConflictException");
|
|
347
|
+
var ConflictException = _ConflictException;
|
|
348
|
+
var RenditionConfigurationRendition = {
|
|
349
|
+
FULL_HD: "FULL_HD",
|
|
350
|
+
HD: "HD",
|
|
351
|
+
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
352
|
+
SD: "SD"
|
|
353
|
+
};
|
|
354
|
+
var RenditionConfigurationRenditionSelection = {
|
|
355
|
+
ALL: "ALL",
|
|
356
|
+
CUSTOM: "CUSTOM",
|
|
357
|
+
NONE: "NONE"
|
|
358
|
+
};
|
|
359
|
+
var RecordingMode = {
|
|
360
|
+
Disabled: "DISABLED",
|
|
361
|
+
Interval: "INTERVAL"
|
|
362
|
+
};
|
|
363
|
+
var ThumbnailConfigurationResolution = {
|
|
364
|
+
FULL_HD: "FULL_HD",
|
|
365
|
+
HD: "HD",
|
|
366
|
+
LOWEST_RESOLUTION: "LOWEST_RESOLUTION",
|
|
367
|
+
SD: "SD"
|
|
368
|
+
};
|
|
369
|
+
var ThumbnailConfigurationStorage = {
|
|
370
|
+
LATEST: "LATEST",
|
|
371
|
+
SEQUENTIAL: "SEQUENTIAL"
|
|
372
|
+
};
|
|
373
|
+
var RecordingConfigurationState = {
|
|
374
|
+
Active: "ACTIVE",
|
|
375
|
+
CreateFailed: "CREATE_FAILED",
|
|
376
|
+
Creating: "CREATING"
|
|
377
|
+
};
|
|
378
|
+
var _InternalServerException = class _InternalServerException extends IvsServiceException {
|
|
379
|
+
/**
|
|
380
|
+
* @internal
|
|
381
|
+
*/
|
|
382
|
+
constructor(opts) {
|
|
383
|
+
super({
|
|
384
|
+
name: "InternalServerException",
|
|
385
|
+
$fault: "server",
|
|
386
|
+
...opts
|
|
387
|
+
});
|
|
388
|
+
this.name = "InternalServerException";
|
|
389
|
+
this.$fault = "server";
|
|
390
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
391
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
392
|
+
}
|
|
393
|
+
};
|
|
394
|
+
__name(_InternalServerException, "InternalServerException");
|
|
395
|
+
var InternalServerException = _InternalServerException;
|
|
396
|
+
var _ChannelNotBroadcasting = class _ChannelNotBroadcasting extends IvsServiceException {
|
|
397
|
+
/**
|
|
398
|
+
* @internal
|
|
399
|
+
*/
|
|
400
|
+
constructor(opts) {
|
|
401
|
+
super({
|
|
402
|
+
name: "ChannelNotBroadcasting",
|
|
403
|
+
$fault: "client",
|
|
404
|
+
...opts
|
|
405
|
+
});
|
|
406
|
+
this.name = "ChannelNotBroadcasting";
|
|
407
|
+
this.$fault = "client";
|
|
408
|
+
Object.setPrototypeOf(this, _ChannelNotBroadcasting.prototype);
|
|
409
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
410
|
+
}
|
|
411
|
+
};
|
|
412
|
+
__name(_ChannelNotBroadcasting, "ChannelNotBroadcasting");
|
|
413
|
+
var ChannelNotBroadcasting = _ChannelNotBroadcasting;
|
|
414
|
+
var StreamHealth = {
|
|
415
|
+
Starving: "STARVING",
|
|
416
|
+
StreamHealthy: "HEALTHY",
|
|
417
|
+
Unknown: "UNKNOWN"
|
|
418
|
+
};
|
|
419
|
+
var StreamState = {
|
|
420
|
+
StreamLive: "LIVE",
|
|
421
|
+
StreamOffline: "OFFLINE"
|
|
422
|
+
};
|
|
423
|
+
var _StreamUnavailable = class _StreamUnavailable extends IvsServiceException {
|
|
424
|
+
/**
|
|
425
|
+
* @internal
|
|
426
|
+
*/
|
|
427
|
+
constructor(opts) {
|
|
428
|
+
super({
|
|
429
|
+
name: "StreamUnavailable",
|
|
430
|
+
$fault: "server",
|
|
431
|
+
...opts
|
|
432
|
+
});
|
|
433
|
+
this.name = "StreamUnavailable";
|
|
434
|
+
this.$fault = "server";
|
|
435
|
+
Object.setPrototypeOf(this, _StreamUnavailable.prototype);
|
|
436
|
+
this.exceptionMessage = opts.exceptionMessage;
|
|
437
|
+
}
|
|
438
|
+
};
|
|
439
|
+
__name(_StreamUnavailable, "StreamUnavailable");
|
|
440
|
+
var StreamUnavailable = _StreamUnavailable;
|
|
441
|
+
var StreamKeyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
442
|
+
...obj,
|
|
443
|
+
...obj.value && { value: import_smithy_client.SENSITIVE_STRING }
|
|
444
|
+
}), "StreamKeyFilterSensitiveLog");
|
|
445
|
+
var BatchGetStreamKeyResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
446
|
+
...obj,
|
|
447
|
+
...obj.streamKeys && { streamKeys: obj.streamKeys.map((item) => StreamKeyFilterSensitiveLog(item)) }
|
|
448
|
+
}), "BatchGetStreamKeyResponseFilterSensitiveLog");
|
|
449
|
+
var CreateChannelResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
450
|
+
...obj,
|
|
451
|
+
...obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }
|
|
452
|
+
}), "CreateChannelResponseFilterSensitiveLog");
|
|
453
|
+
var CreateStreamKeyResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
454
|
+
...obj,
|
|
455
|
+
...obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }
|
|
456
|
+
}), "CreateStreamKeyResponseFilterSensitiveLog");
|
|
457
|
+
var GetStreamKeyResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
458
|
+
...obj,
|
|
459
|
+
...obj.streamKey && { streamKey: StreamKeyFilterSensitiveLog(obj.streamKey) }
|
|
460
|
+
}), "GetStreamKeyResponseFilterSensitiveLog");
|
|
461
|
+
var PutMetadataRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
462
|
+
...obj,
|
|
463
|
+
...obj.metadata && { metadata: import_smithy_client.SENSITIVE_STRING }
|
|
464
|
+
}), "PutMetadataRequestFilterSensitiveLog");
|
|
465
|
+
|
|
466
|
+
// src/protocols/Aws_restJson1.ts
|
|
467
|
+
var se_BatchGetChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
468
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
469
|
+
const headers = {
|
|
470
|
+
"content-type": "application/json"
|
|
471
|
+
};
|
|
472
|
+
b.bp("/BatchGetChannel");
|
|
473
|
+
let body;
|
|
474
|
+
body = JSON.stringify(
|
|
475
|
+
(0, import_smithy_client.take)(input, {
|
|
476
|
+
arns: (_) => (0, import_smithy_client._json)(_)
|
|
477
|
+
})
|
|
478
|
+
);
|
|
479
|
+
b.m("POST").h(headers).b(body);
|
|
480
|
+
return b.build();
|
|
481
|
+
}, "se_BatchGetChannelCommand");
|
|
482
|
+
var se_BatchGetStreamKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
483
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
484
|
+
const headers = {
|
|
485
|
+
"content-type": "application/json"
|
|
486
|
+
};
|
|
487
|
+
b.bp("/BatchGetStreamKey");
|
|
488
|
+
let body;
|
|
489
|
+
body = JSON.stringify(
|
|
490
|
+
(0, import_smithy_client.take)(input, {
|
|
491
|
+
arns: (_) => (0, import_smithy_client._json)(_)
|
|
492
|
+
})
|
|
493
|
+
);
|
|
494
|
+
b.m("POST").h(headers).b(body);
|
|
495
|
+
return b.build();
|
|
496
|
+
}, "se_BatchGetStreamKeyCommand");
|
|
497
|
+
var se_BatchStartViewerSessionRevocationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
498
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
499
|
+
const headers = {
|
|
500
|
+
"content-type": "application/json"
|
|
501
|
+
};
|
|
502
|
+
b.bp("/BatchStartViewerSessionRevocation");
|
|
503
|
+
let body;
|
|
504
|
+
body = JSON.stringify(
|
|
505
|
+
(0, import_smithy_client.take)(input, {
|
|
506
|
+
viewerSessions: (_) => (0, import_smithy_client._json)(_)
|
|
507
|
+
})
|
|
508
|
+
);
|
|
509
|
+
b.m("POST").h(headers).b(body);
|
|
510
|
+
return b.build();
|
|
511
|
+
}, "se_BatchStartViewerSessionRevocationCommand");
|
|
512
|
+
var se_CreateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
513
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
514
|
+
const headers = {
|
|
515
|
+
"content-type": "application/json"
|
|
516
|
+
};
|
|
517
|
+
b.bp("/CreateChannel");
|
|
518
|
+
let body;
|
|
519
|
+
body = JSON.stringify(
|
|
520
|
+
(0, import_smithy_client.take)(input, {
|
|
521
|
+
authorized: [],
|
|
522
|
+
insecureIngest: [],
|
|
523
|
+
latencyMode: [],
|
|
524
|
+
name: [],
|
|
525
|
+
preset: [],
|
|
526
|
+
recordingConfigurationArn: [],
|
|
527
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
528
|
+
type: []
|
|
529
|
+
})
|
|
530
|
+
);
|
|
531
|
+
b.m("POST").h(headers).b(body);
|
|
532
|
+
return b.build();
|
|
533
|
+
}, "se_CreateChannelCommand");
|
|
534
|
+
var se_CreateRecordingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
535
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
536
|
+
const headers = {
|
|
537
|
+
"content-type": "application/json"
|
|
538
|
+
};
|
|
539
|
+
b.bp("/CreateRecordingConfiguration");
|
|
540
|
+
let body;
|
|
541
|
+
body = JSON.stringify(
|
|
542
|
+
(0, import_smithy_client.take)(input, {
|
|
543
|
+
destinationConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
544
|
+
name: [],
|
|
545
|
+
recordingReconnectWindowSeconds: [],
|
|
546
|
+
renditionConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
547
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
548
|
+
thumbnailConfiguration: (_) => (0, import_smithy_client._json)(_)
|
|
549
|
+
})
|
|
550
|
+
);
|
|
551
|
+
b.m("POST").h(headers).b(body);
|
|
552
|
+
return b.build();
|
|
553
|
+
}, "se_CreateRecordingConfigurationCommand");
|
|
554
|
+
var se_CreateStreamKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
555
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
556
|
+
const headers = {
|
|
557
|
+
"content-type": "application/json"
|
|
558
|
+
};
|
|
559
|
+
b.bp("/CreateStreamKey");
|
|
560
|
+
let body;
|
|
561
|
+
body = JSON.stringify(
|
|
562
|
+
(0, import_smithy_client.take)(input, {
|
|
563
|
+
channelArn: [],
|
|
564
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
565
|
+
})
|
|
566
|
+
);
|
|
567
|
+
b.m("POST").h(headers).b(body);
|
|
568
|
+
return b.build();
|
|
569
|
+
}, "se_CreateStreamKeyCommand");
|
|
570
|
+
var se_DeleteChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
571
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
572
|
+
const headers = {
|
|
573
|
+
"content-type": "application/json"
|
|
574
|
+
};
|
|
575
|
+
b.bp("/DeleteChannel");
|
|
576
|
+
let body;
|
|
577
|
+
body = JSON.stringify(
|
|
578
|
+
(0, import_smithy_client.take)(input, {
|
|
579
|
+
arn: []
|
|
580
|
+
})
|
|
581
|
+
);
|
|
582
|
+
b.m("POST").h(headers).b(body);
|
|
583
|
+
return b.build();
|
|
584
|
+
}, "se_DeleteChannelCommand");
|
|
585
|
+
var se_DeletePlaybackKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
586
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
587
|
+
const headers = {
|
|
588
|
+
"content-type": "application/json"
|
|
589
|
+
};
|
|
590
|
+
b.bp("/DeletePlaybackKeyPair");
|
|
591
|
+
let body;
|
|
592
|
+
body = JSON.stringify(
|
|
593
|
+
(0, import_smithy_client.take)(input, {
|
|
594
|
+
arn: []
|
|
595
|
+
})
|
|
596
|
+
);
|
|
597
|
+
b.m("POST").h(headers).b(body);
|
|
598
|
+
return b.build();
|
|
599
|
+
}, "se_DeletePlaybackKeyPairCommand");
|
|
600
|
+
var se_DeleteRecordingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
601
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
602
|
+
const headers = {
|
|
603
|
+
"content-type": "application/json"
|
|
604
|
+
};
|
|
605
|
+
b.bp("/DeleteRecordingConfiguration");
|
|
606
|
+
let body;
|
|
607
|
+
body = JSON.stringify(
|
|
608
|
+
(0, import_smithy_client.take)(input, {
|
|
609
|
+
arn: []
|
|
610
|
+
})
|
|
611
|
+
);
|
|
612
|
+
b.m("POST").h(headers).b(body);
|
|
613
|
+
return b.build();
|
|
614
|
+
}, "se_DeleteRecordingConfigurationCommand");
|
|
615
|
+
var se_DeleteStreamKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
616
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
617
|
+
const headers = {
|
|
618
|
+
"content-type": "application/json"
|
|
619
|
+
};
|
|
620
|
+
b.bp("/DeleteStreamKey");
|
|
621
|
+
let body;
|
|
622
|
+
body = JSON.stringify(
|
|
623
|
+
(0, import_smithy_client.take)(input, {
|
|
624
|
+
arn: []
|
|
625
|
+
})
|
|
626
|
+
);
|
|
627
|
+
b.m("POST").h(headers).b(body);
|
|
628
|
+
return b.build();
|
|
629
|
+
}, "se_DeleteStreamKeyCommand");
|
|
630
|
+
var se_GetChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
631
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
632
|
+
const headers = {
|
|
633
|
+
"content-type": "application/json"
|
|
634
|
+
};
|
|
635
|
+
b.bp("/GetChannel");
|
|
636
|
+
let body;
|
|
637
|
+
body = JSON.stringify(
|
|
638
|
+
(0, import_smithy_client.take)(input, {
|
|
639
|
+
arn: []
|
|
640
|
+
})
|
|
641
|
+
);
|
|
642
|
+
b.m("POST").h(headers).b(body);
|
|
643
|
+
return b.build();
|
|
644
|
+
}, "se_GetChannelCommand");
|
|
645
|
+
var se_GetPlaybackKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
646
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
647
|
+
const headers = {
|
|
648
|
+
"content-type": "application/json"
|
|
649
|
+
};
|
|
650
|
+
b.bp("/GetPlaybackKeyPair");
|
|
651
|
+
let body;
|
|
652
|
+
body = JSON.stringify(
|
|
653
|
+
(0, import_smithy_client.take)(input, {
|
|
654
|
+
arn: []
|
|
655
|
+
})
|
|
656
|
+
);
|
|
657
|
+
b.m("POST").h(headers).b(body);
|
|
658
|
+
return b.build();
|
|
659
|
+
}, "se_GetPlaybackKeyPairCommand");
|
|
660
|
+
var se_GetRecordingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
661
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
662
|
+
const headers = {
|
|
663
|
+
"content-type": "application/json"
|
|
664
|
+
};
|
|
665
|
+
b.bp("/GetRecordingConfiguration");
|
|
666
|
+
let body;
|
|
667
|
+
body = JSON.stringify(
|
|
668
|
+
(0, import_smithy_client.take)(input, {
|
|
669
|
+
arn: []
|
|
670
|
+
})
|
|
671
|
+
);
|
|
672
|
+
b.m("POST").h(headers).b(body);
|
|
673
|
+
return b.build();
|
|
674
|
+
}, "se_GetRecordingConfigurationCommand");
|
|
675
|
+
var se_GetStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
676
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
677
|
+
const headers = {
|
|
678
|
+
"content-type": "application/json"
|
|
679
|
+
};
|
|
680
|
+
b.bp("/GetStream");
|
|
681
|
+
let body;
|
|
682
|
+
body = JSON.stringify(
|
|
683
|
+
(0, import_smithy_client.take)(input, {
|
|
684
|
+
channelArn: []
|
|
685
|
+
})
|
|
686
|
+
);
|
|
687
|
+
b.m("POST").h(headers).b(body);
|
|
688
|
+
return b.build();
|
|
689
|
+
}, "se_GetStreamCommand");
|
|
690
|
+
var se_GetStreamKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
691
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
692
|
+
const headers = {
|
|
693
|
+
"content-type": "application/json"
|
|
694
|
+
};
|
|
695
|
+
b.bp("/GetStreamKey");
|
|
696
|
+
let body;
|
|
697
|
+
body = JSON.stringify(
|
|
698
|
+
(0, import_smithy_client.take)(input, {
|
|
699
|
+
arn: []
|
|
700
|
+
})
|
|
701
|
+
);
|
|
702
|
+
b.m("POST").h(headers).b(body);
|
|
703
|
+
return b.build();
|
|
704
|
+
}, "se_GetStreamKeyCommand");
|
|
705
|
+
var se_GetStreamSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
706
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
707
|
+
const headers = {
|
|
708
|
+
"content-type": "application/json"
|
|
709
|
+
};
|
|
710
|
+
b.bp("/GetStreamSession");
|
|
711
|
+
let body;
|
|
712
|
+
body = JSON.stringify(
|
|
713
|
+
(0, import_smithy_client.take)(input, {
|
|
714
|
+
channelArn: [],
|
|
715
|
+
streamId: []
|
|
716
|
+
})
|
|
717
|
+
);
|
|
718
|
+
b.m("POST").h(headers).b(body);
|
|
719
|
+
return b.build();
|
|
720
|
+
}, "se_GetStreamSessionCommand");
|
|
721
|
+
var se_ImportPlaybackKeyPairCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
722
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
723
|
+
const headers = {
|
|
724
|
+
"content-type": "application/json"
|
|
725
|
+
};
|
|
726
|
+
b.bp("/ImportPlaybackKeyPair");
|
|
727
|
+
let body;
|
|
728
|
+
body = JSON.stringify(
|
|
729
|
+
(0, import_smithy_client.take)(input, {
|
|
730
|
+
name: [],
|
|
731
|
+
publicKeyMaterial: [],
|
|
732
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
733
|
+
})
|
|
734
|
+
);
|
|
735
|
+
b.m("POST").h(headers).b(body);
|
|
736
|
+
return b.build();
|
|
737
|
+
}, "se_ImportPlaybackKeyPairCommand");
|
|
738
|
+
var se_ListChannelsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
739
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
740
|
+
const headers = {
|
|
741
|
+
"content-type": "application/json"
|
|
742
|
+
};
|
|
743
|
+
b.bp("/ListChannels");
|
|
744
|
+
let body;
|
|
745
|
+
body = JSON.stringify(
|
|
746
|
+
(0, import_smithy_client.take)(input, {
|
|
747
|
+
filterByName: [],
|
|
748
|
+
filterByRecordingConfigurationArn: [],
|
|
749
|
+
maxResults: [],
|
|
750
|
+
nextToken: []
|
|
751
|
+
})
|
|
752
|
+
);
|
|
753
|
+
b.m("POST").h(headers).b(body);
|
|
754
|
+
return b.build();
|
|
755
|
+
}, "se_ListChannelsCommand");
|
|
756
|
+
var se_ListPlaybackKeyPairsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
757
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
758
|
+
const headers = {
|
|
759
|
+
"content-type": "application/json"
|
|
760
|
+
};
|
|
761
|
+
b.bp("/ListPlaybackKeyPairs");
|
|
762
|
+
let body;
|
|
763
|
+
body = JSON.stringify(
|
|
764
|
+
(0, import_smithy_client.take)(input, {
|
|
765
|
+
maxResults: [],
|
|
766
|
+
nextToken: []
|
|
767
|
+
})
|
|
768
|
+
);
|
|
769
|
+
b.m("POST").h(headers).b(body);
|
|
770
|
+
return b.build();
|
|
771
|
+
}, "se_ListPlaybackKeyPairsCommand");
|
|
772
|
+
var se_ListRecordingConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
773
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
774
|
+
const headers = {
|
|
775
|
+
"content-type": "application/json"
|
|
776
|
+
};
|
|
777
|
+
b.bp("/ListRecordingConfigurations");
|
|
778
|
+
let body;
|
|
779
|
+
body = JSON.stringify(
|
|
780
|
+
(0, import_smithy_client.take)(input, {
|
|
781
|
+
maxResults: [],
|
|
782
|
+
nextToken: []
|
|
783
|
+
})
|
|
784
|
+
);
|
|
785
|
+
b.m("POST").h(headers).b(body);
|
|
786
|
+
return b.build();
|
|
787
|
+
}, "se_ListRecordingConfigurationsCommand");
|
|
788
|
+
var se_ListStreamKeysCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
789
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
790
|
+
const headers = {
|
|
791
|
+
"content-type": "application/json"
|
|
792
|
+
};
|
|
793
|
+
b.bp("/ListStreamKeys");
|
|
794
|
+
let body;
|
|
795
|
+
body = JSON.stringify(
|
|
796
|
+
(0, import_smithy_client.take)(input, {
|
|
797
|
+
channelArn: [],
|
|
798
|
+
maxResults: [],
|
|
799
|
+
nextToken: []
|
|
800
|
+
})
|
|
801
|
+
);
|
|
802
|
+
b.m("POST").h(headers).b(body);
|
|
803
|
+
return b.build();
|
|
804
|
+
}, "se_ListStreamKeysCommand");
|
|
805
|
+
var se_ListStreamsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
806
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
807
|
+
const headers = {
|
|
808
|
+
"content-type": "application/json"
|
|
809
|
+
};
|
|
810
|
+
b.bp("/ListStreams");
|
|
811
|
+
let body;
|
|
812
|
+
body = JSON.stringify(
|
|
813
|
+
(0, import_smithy_client.take)(input, {
|
|
814
|
+
filterBy: (_) => (0, import_smithy_client._json)(_),
|
|
815
|
+
maxResults: [],
|
|
816
|
+
nextToken: []
|
|
817
|
+
})
|
|
818
|
+
);
|
|
819
|
+
b.m("POST").h(headers).b(body);
|
|
820
|
+
return b.build();
|
|
821
|
+
}, "se_ListStreamsCommand");
|
|
822
|
+
var se_ListStreamSessionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
823
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
824
|
+
const headers = {
|
|
825
|
+
"content-type": "application/json"
|
|
826
|
+
};
|
|
827
|
+
b.bp("/ListStreamSessions");
|
|
828
|
+
let body;
|
|
829
|
+
body = JSON.stringify(
|
|
830
|
+
(0, import_smithy_client.take)(input, {
|
|
831
|
+
channelArn: [],
|
|
832
|
+
maxResults: [],
|
|
833
|
+
nextToken: []
|
|
834
|
+
})
|
|
835
|
+
);
|
|
836
|
+
b.m("POST").h(headers).b(body);
|
|
837
|
+
return b.build();
|
|
838
|
+
}, "se_ListStreamSessionsCommand");
|
|
839
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
840
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
841
|
+
const headers = {};
|
|
842
|
+
b.bp("/tags/{resourceArn}");
|
|
843
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
844
|
+
let body;
|
|
845
|
+
b.m("GET").h(headers).b(body);
|
|
846
|
+
return b.build();
|
|
847
|
+
}, "se_ListTagsForResourceCommand");
|
|
848
|
+
var se_PutMetadataCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
849
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
850
|
+
const headers = {
|
|
851
|
+
"content-type": "application/json"
|
|
852
|
+
};
|
|
853
|
+
b.bp("/PutMetadata");
|
|
854
|
+
let body;
|
|
855
|
+
body = JSON.stringify(
|
|
856
|
+
(0, import_smithy_client.take)(input, {
|
|
857
|
+
channelArn: [],
|
|
858
|
+
metadata: []
|
|
859
|
+
})
|
|
860
|
+
);
|
|
861
|
+
b.m("POST").h(headers).b(body);
|
|
862
|
+
return b.build();
|
|
863
|
+
}, "se_PutMetadataCommand");
|
|
864
|
+
var se_StartViewerSessionRevocationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
865
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
866
|
+
const headers = {
|
|
867
|
+
"content-type": "application/json"
|
|
868
|
+
};
|
|
869
|
+
b.bp("/StartViewerSessionRevocation");
|
|
870
|
+
let body;
|
|
871
|
+
body = JSON.stringify(
|
|
872
|
+
(0, import_smithy_client.take)(input, {
|
|
873
|
+
channelArn: [],
|
|
874
|
+
viewerId: [],
|
|
875
|
+
viewerSessionVersionsLessThanOrEqualTo: []
|
|
876
|
+
})
|
|
877
|
+
);
|
|
878
|
+
b.m("POST").h(headers).b(body);
|
|
879
|
+
return b.build();
|
|
880
|
+
}, "se_StartViewerSessionRevocationCommand");
|
|
881
|
+
var se_StopStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
882
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
883
|
+
const headers = {
|
|
884
|
+
"content-type": "application/json"
|
|
885
|
+
};
|
|
886
|
+
b.bp("/StopStream");
|
|
887
|
+
let body;
|
|
888
|
+
body = JSON.stringify(
|
|
889
|
+
(0, import_smithy_client.take)(input, {
|
|
890
|
+
channelArn: []
|
|
891
|
+
})
|
|
892
|
+
);
|
|
893
|
+
b.m("POST").h(headers).b(body);
|
|
894
|
+
return b.build();
|
|
895
|
+
}, "se_StopStreamCommand");
|
|
896
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
897
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
898
|
+
const headers = {
|
|
899
|
+
"content-type": "application/json"
|
|
900
|
+
};
|
|
901
|
+
b.bp("/tags/{resourceArn}");
|
|
902
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
903
|
+
let body;
|
|
904
|
+
body = JSON.stringify(
|
|
905
|
+
(0, import_smithy_client.take)(input, {
|
|
906
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
907
|
+
})
|
|
908
|
+
);
|
|
909
|
+
b.m("POST").h(headers).b(body);
|
|
910
|
+
return b.build();
|
|
911
|
+
}, "se_TagResourceCommand");
|
|
912
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
913
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
914
|
+
const headers = {};
|
|
915
|
+
b.bp("/tags/{resourceArn}");
|
|
916
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
917
|
+
const query = (0, import_smithy_client.map)({
|
|
918
|
+
[_tK]: [
|
|
919
|
+
(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null,
|
|
920
|
+
() => (input[_tK] || []).map((_entry) => _entry)
|
|
921
|
+
]
|
|
922
|
+
});
|
|
923
|
+
let body;
|
|
924
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
925
|
+
return b.build();
|
|
926
|
+
}, "se_UntagResourceCommand");
|
|
927
|
+
var se_UpdateChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
928
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
929
|
+
const headers = {
|
|
930
|
+
"content-type": "application/json"
|
|
931
|
+
};
|
|
932
|
+
b.bp("/UpdateChannel");
|
|
933
|
+
let body;
|
|
934
|
+
body = JSON.stringify(
|
|
935
|
+
(0, import_smithy_client.take)(input, {
|
|
936
|
+
arn: [],
|
|
937
|
+
authorized: [],
|
|
938
|
+
insecureIngest: [],
|
|
939
|
+
latencyMode: [],
|
|
940
|
+
name: [],
|
|
941
|
+
preset: [],
|
|
942
|
+
recordingConfigurationArn: [],
|
|
943
|
+
type: []
|
|
944
|
+
})
|
|
945
|
+
);
|
|
946
|
+
b.m("POST").h(headers).b(body);
|
|
947
|
+
return b.build();
|
|
948
|
+
}, "se_UpdateChannelCommand");
|
|
949
|
+
var de_BatchGetChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
950
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
951
|
+
return de_BatchGetChannelCommandError(output, context);
|
|
952
|
+
}
|
|
953
|
+
const contents = (0, import_smithy_client.map)({
|
|
954
|
+
$metadata: deserializeMetadata(output)
|
|
955
|
+
});
|
|
956
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
957
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
958
|
+
channels: import_smithy_client._json,
|
|
959
|
+
errors: import_smithy_client._json
|
|
960
|
+
});
|
|
961
|
+
Object.assign(contents, doc);
|
|
962
|
+
return contents;
|
|
963
|
+
}, "de_BatchGetChannelCommand");
|
|
964
|
+
var de_BatchGetChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
965
|
+
const parsedOutput = {
|
|
966
|
+
...output,
|
|
967
|
+
body: await parseErrorBody(output.body, context)
|
|
968
|
+
};
|
|
969
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
970
|
+
const parsedBody = parsedOutput.body;
|
|
971
|
+
return throwDefaultError({
|
|
972
|
+
output,
|
|
973
|
+
parsedBody,
|
|
974
|
+
errorCode
|
|
975
|
+
});
|
|
976
|
+
}, "de_BatchGetChannelCommandError");
|
|
977
|
+
var de_BatchGetStreamKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
978
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
979
|
+
return de_BatchGetStreamKeyCommandError(output, context);
|
|
980
|
+
}
|
|
981
|
+
const contents = (0, import_smithy_client.map)({
|
|
982
|
+
$metadata: deserializeMetadata(output)
|
|
983
|
+
});
|
|
984
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
985
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
986
|
+
errors: import_smithy_client._json,
|
|
987
|
+
streamKeys: import_smithy_client._json
|
|
988
|
+
});
|
|
989
|
+
Object.assign(contents, doc);
|
|
990
|
+
return contents;
|
|
991
|
+
}, "de_BatchGetStreamKeyCommand");
|
|
992
|
+
var de_BatchGetStreamKeyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
993
|
+
const parsedOutput = {
|
|
994
|
+
...output,
|
|
995
|
+
body: await parseErrorBody(output.body, context)
|
|
996
|
+
};
|
|
997
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
998
|
+
const parsedBody = parsedOutput.body;
|
|
999
|
+
return throwDefaultError({
|
|
1000
|
+
output,
|
|
1001
|
+
parsedBody,
|
|
1002
|
+
errorCode
|
|
1003
|
+
});
|
|
1004
|
+
}, "de_BatchGetStreamKeyCommandError");
|
|
1005
|
+
var de_BatchStartViewerSessionRevocationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1006
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1007
|
+
return de_BatchStartViewerSessionRevocationCommandError(output, context);
|
|
1008
|
+
}
|
|
1009
|
+
const contents = (0, import_smithy_client.map)({
|
|
1010
|
+
$metadata: deserializeMetadata(output)
|
|
1011
|
+
});
|
|
1012
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1013
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1014
|
+
errors: import_smithy_client._json
|
|
1015
|
+
});
|
|
1016
|
+
Object.assign(contents, doc);
|
|
1017
|
+
return contents;
|
|
1018
|
+
}, "de_BatchStartViewerSessionRevocationCommand");
|
|
1019
|
+
var de_BatchStartViewerSessionRevocationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1020
|
+
const parsedOutput = {
|
|
1021
|
+
...output,
|
|
1022
|
+
body: await parseErrorBody(output.body, context)
|
|
1023
|
+
};
|
|
1024
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1025
|
+
switch (errorCode) {
|
|
1026
|
+
case "AccessDeniedException":
|
|
1027
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1028
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1029
|
+
case "PendingVerification":
|
|
1030
|
+
case "com.amazonaws.ivs#PendingVerification":
|
|
1031
|
+
throw await de_PendingVerificationRes(parsedOutput, context);
|
|
1032
|
+
case "ThrottlingException":
|
|
1033
|
+
case "com.amazonaws.ivs#ThrottlingException":
|
|
1034
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1035
|
+
case "ValidationException":
|
|
1036
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1037
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1038
|
+
default:
|
|
1039
|
+
const parsedBody = parsedOutput.body;
|
|
1040
|
+
return throwDefaultError({
|
|
1041
|
+
output,
|
|
1042
|
+
parsedBody,
|
|
1043
|
+
errorCode
|
|
1044
|
+
});
|
|
1045
|
+
}
|
|
1046
|
+
}, "de_BatchStartViewerSessionRevocationCommandError");
|
|
1047
|
+
var de_CreateChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1048
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1049
|
+
return de_CreateChannelCommandError(output, context);
|
|
1050
|
+
}
|
|
1051
|
+
const contents = (0, import_smithy_client.map)({
|
|
1052
|
+
$metadata: deserializeMetadata(output)
|
|
1053
|
+
});
|
|
1054
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1055
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1056
|
+
channel: import_smithy_client._json,
|
|
1057
|
+
streamKey: import_smithy_client._json
|
|
1058
|
+
});
|
|
1059
|
+
Object.assign(contents, doc);
|
|
1060
|
+
return contents;
|
|
1061
|
+
}, "de_CreateChannelCommand");
|
|
1062
|
+
var de_CreateChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1063
|
+
const parsedOutput = {
|
|
1064
|
+
...output,
|
|
1065
|
+
body: await parseErrorBody(output.body, context)
|
|
1066
|
+
};
|
|
1067
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1068
|
+
switch (errorCode) {
|
|
1069
|
+
case "AccessDeniedException":
|
|
1070
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1071
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1072
|
+
case "PendingVerification":
|
|
1073
|
+
case "com.amazonaws.ivs#PendingVerification":
|
|
1074
|
+
throw await de_PendingVerificationRes(parsedOutput, context);
|
|
1075
|
+
case "ResourceNotFoundException":
|
|
1076
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1077
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1078
|
+
case "ServiceQuotaExceededException":
|
|
1079
|
+
case "com.amazonaws.ivs#ServiceQuotaExceededException":
|
|
1080
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1081
|
+
case "ValidationException":
|
|
1082
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1083
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1084
|
+
default:
|
|
1085
|
+
const parsedBody = parsedOutput.body;
|
|
1086
|
+
return throwDefaultError({
|
|
1087
|
+
output,
|
|
1088
|
+
parsedBody,
|
|
1089
|
+
errorCode
|
|
1090
|
+
});
|
|
1091
|
+
}
|
|
1092
|
+
}, "de_CreateChannelCommandError");
|
|
1093
|
+
var de_CreateRecordingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1094
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1095
|
+
return de_CreateRecordingConfigurationCommandError(output, context);
|
|
1096
|
+
}
|
|
1097
|
+
const contents = (0, import_smithy_client.map)({
|
|
1098
|
+
$metadata: deserializeMetadata(output)
|
|
1099
|
+
});
|
|
1100
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1101
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1102
|
+
recordingConfiguration: import_smithy_client._json
|
|
1103
|
+
});
|
|
1104
|
+
Object.assign(contents, doc);
|
|
1105
|
+
return contents;
|
|
1106
|
+
}, "de_CreateRecordingConfigurationCommand");
|
|
1107
|
+
var de_CreateRecordingConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1108
|
+
const parsedOutput = {
|
|
1109
|
+
...output,
|
|
1110
|
+
body: await parseErrorBody(output.body, context)
|
|
1111
|
+
};
|
|
1112
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1113
|
+
switch (errorCode) {
|
|
1114
|
+
case "AccessDeniedException":
|
|
1115
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1116
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1117
|
+
case "ConflictException":
|
|
1118
|
+
case "com.amazonaws.ivs#ConflictException":
|
|
1119
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1120
|
+
case "InternalServerException":
|
|
1121
|
+
case "com.amazonaws.ivs#InternalServerException":
|
|
1122
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1123
|
+
case "PendingVerification":
|
|
1124
|
+
case "com.amazonaws.ivs#PendingVerification":
|
|
1125
|
+
throw await de_PendingVerificationRes(parsedOutput, context);
|
|
1126
|
+
case "ServiceQuotaExceededException":
|
|
1127
|
+
case "com.amazonaws.ivs#ServiceQuotaExceededException":
|
|
1128
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1129
|
+
case "ValidationException":
|
|
1130
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1131
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1132
|
+
default:
|
|
1133
|
+
const parsedBody = parsedOutput.body;
|
|
1134
|
+
return throwDefaultError({
|
|
1135
|
+
output,
|
|
1136
|
+
parsedBody,
|
|
1137
|
+
errorCode
|
|
1138
|
+
});
|
|
1139
|
+
}
|
|
1140
|
+
}, "de_CreateRecordingConfigurationCommandError");
|
|
1141
|
+
var de_CreateStreamKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1142
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1143
|
+
return de_CreateStreamKeyCommandError(output, context);
|
|
1144
|
+
}
|
|
1145
|
+
const contents = (0, import_smithy_client.map)({
|
|
1146
|
+
$metadata: deserializeMetadata(output)
|
|
1147
|
+
});
|
|
1148
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1149
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1150
|
+
streamKey: import_smithy_client._json
|
|
1151
|
+
});
|
|
1152
|
+
Object.assign(contents, doc);
|
|
1153
|
+
return contents;
|
|
1154
|
+
}, "de_CreateStreamKeyCommand");
|
|
1155
|
+
var de_CreateStreamKeyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1156
|
+
const parsedOutput = {
|
|
1157
|
+
...output,
|
|
1158
|
+
body: await parseErrorBody(output.body, context)
|
|
1159
|
+
};
|
|
1160
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1161
|
+
switch (errorCode) {
|
|
1162
|
+
case "AccessDeniedException":
|
|
1163
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1164
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1165
|
+
case "PendingVerification":
|
|
1166
|
+
case "com.amazonaws.ivs#PendingVerification":
|
|
1167
|
+
throw await de_PendingVerificationRes(parsedOutput, context);
|
|
1168
|
+
case "ResourceNotFoundException":
|
|
1169
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1170
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1171
|
+
case "ServiceQuotaExceededException":
|
|
1172
|
+
case "com.amazonaws.ivs#ServiceQuotaExceededException":
|
|
1173
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1174
|
+
case "ValidationException":
|
|
1175
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1176
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1177
|
+
default:
|
|
1178
|
+
const parsedBody = parsedOutput.body;
|
|
1179
|
+
return throwDefaultError({
|
|
1180
|
+
output,
|
|
1181
|
+
parsedBody,
|
|
1182
|
+
errorCode
|
|
1183
|
+
});
|
|
1184
|
+
}
|
|
1185
|
+
}, "de_CreateStreamKeyCommandError");
|
|
1186
|
+
var de_DeleteChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1187
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1188
|
+
return de_DeleteChannelCommandError(output, context);
|
|
1189
|
+
}
|
|
1190
|
+
const contents = (0, import_smithy_client.map)({
|
|
1191
|
+
$metadata: deserializeMetadata(output)
|
|
1192
|
+
});
|
|
1193
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1194
|
+
return contents;
|
|
1195
|
+
}, "de_DeleteChannelCommand");
|
|
1196
|
+
var de_DeleteChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1197
|
+
const parsedOutput = {
|
|
1198
|
+
...output,
|
|
1199
|
+
body: await parseErrorBody(output.body, context)
|
|
1200
|
+
};
|
|
1201
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1202
|
+
switch (errorCode) {
|
|
1203
|
+
case "AccessDeniedException":
|
|
1204
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1205
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1206
|
+
case "ConflictException":
|
|
1207
|
+
case "com.amazonaws.ivs#ConflictException":
|
|
1208
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1209
|
+
case "PendingVerification":
|
|
1210
|
+
case "com.amazonaws.ivs#PendingVerification":
|
|
1211
|
+
throw await de_PendingVerificationRes(parsedOutput, context);
|
|
1212
|
+
case "ResourceNotFoundException":
|
|
1213
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1214
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1215
|
+
case "ValidationException":
|
|
1216
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1217
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1218
|
+
default:
|
|
1219
|
+
const parsedBody = parsedOutput.body;
|
|
1220
|
+
return throwDefaultError({
|
|
1221
|
+
output,
|
|
1222
|
+
parsedBody,
|
|
1223
|
+
errorCode
|
|
1224
|
+
});
|
|
1225
|
+
}
|
|
1226
|
+
}, "de_DeleteChannelCommandError");
|
|
1227
|
+
var de_DeletePlaybackKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1228
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1229
|
+
return de_DeletePlaybackKeyPairCommandError(output, context);
|
|
1230
|
+
}
|
|
1231
|
+
const contents = (0, import_smithy_client.map)({
|
|
1232
|
+
$metadata: deserializeMetadata(output)
|
|
1233
|
+
});
|
|
1234
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1235
|
+
return contents;
|
|
1236
|
+
}, "de_DeletePlaybackKeyPairCommand");
|
|
1237
|
+
var de_DeletePlaybackKeyPairCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1238
|
+
const parsedOutput = {
|
|
1239
|
+
...output,
|
|
1240
|
+
body: await parseErrorBody(output.body, context)
|
|
1241
|
+
};
|
|
1242
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1243
|
+
switch (errorCode) {
|
|
1244
|
+
case "AccessDeniedException":
|
|
1245
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1246
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1247
|
+
case "PendingVerification":
|
|
1248
|
+
case "com.amazonaws.ivs#PendingVerification":
|
|
1249
|
+
throw await de_PendingVerificationRes(parsedOutput, context);
|
|
1250
|
+
case "ResourceNotFoundException":
|
|
1251
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1252
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1253
|
+
case "ValidationException":
|
|
1254
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1255
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1256
|
+
default:
|
|
1257
|
+
const parsedBody = parsedOutput.body;
|
|
1258
|
+
return throwDefaultError({
|
|
1259
|
+
output,
|
|
1260
|
+
parsedBody,
|
|
1261
|
+
errorCode
|
|
1262
|
+
});
|
|
1263
|
+
}
|
|
1264
|
+
}, "de_DeletePlaybackKeyPairCommandError");
|
|
1265
|
+
var de_DeleteRecordingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1266
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1267
|
+
return de_DeleteRecordingConfigurationCommandError(output, context);
|
|
1268
|
+
}
|
|
1269
|
+
const contents = (0, import_smithy_client.map)({
|
|
1270
|
+
$metadata: deserializeMetadata(output)
|
|
1271
|
+
});
|
|
1272
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1273
|
+
return contents;
|
|
1274
|
+
}, "de_DeleteRecordingConfigurationCommand");
|
|
1275
|
+
var de_DeleteRecordingConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1276
|
+
const parsedOutput = {
|
|
1277
|
+
...output,
|
|
1278
|
+
body: await parseErrorBody(output.body, context)
|
|
1279
|
+
};
|
|
1280
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1281
|
+
switch (errorCode) {
|
|
1282
|
+
case "AccessDeniedException":
|
|
1283
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1284
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1285
|
+
case "ConflictException":
|
|
1286
|
+
case "com.amazonaws.ivs#ConflictException":
|
|
1287
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1288
|
+
case "InternalServerException":
|
|
1289
|
+
case "com.amazonaws.ivs#InternalServerException":
|
|
1290
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1291
|
+
case "ResourceNotFoundException":
|
|
1292
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1293
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1294
|
+
case "ValidationException":
|
|
1295
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1296
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1297
|
+
default:
|
|
1298
|
+
const parsedBody = parsedOutput.body;
|
|
1299
|
+
return throwDefaultError({
|
|
1300
|
+
output,
|
|
1301
|
+
parsedBody,
|
|
1302
|
+
errorCode
|
|
1303
|
+
});
|
|
1304
|
+
}
|
|
1305
|
+
}, "de_DeleteRecordingConfigurationCommandError");
|
|
1306
|
+
var de_DeleteStreamKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1307
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1308
|
+
return de_DeleteStreamKeyCommandError(output, context);
|
|
1309
|
+
}
|
|
1310
|
+
const contents = (0, import_smithy_client.map)({
|
|
1311
|
+
$metadata: deserializeMetadata(output)
|
|
1312
|
+
});
|
|
1313
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1314
|
+
return contents;
|
|
1315
|
+
}, "de_DeleteStreamKeyCommand");
|
|
1316
|
+
var de_DeleteStreamKeyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1317
|
+
const parsedOutput = {
|
|
1318
|
+
...output,
|
|
1319
|
+
body: await parseErrorBody(output.body, context)
|
|
1320
|
+
};
|
|
1321
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1322
|
+
switch (errorCode) {
|
|
1323
|
+
case "AccessDeniedException":
|
|
1324
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1325
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1326
|
+
case "PendingVerification":
|
|
1327
|
+
case "com.amazonaws.ivs#PendingVerification":
|
|
1328
|
+
throw await de_PendingVerificationRes(parsedOutput, context);
|
|
1329
|
+
case "ResourceNotFoundException":
|
|
1330
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1331
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1332
|
+
case "ValidationException":
|
|
1333
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1334
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1335
|
+
default:
|
|
1336
|
+
const parsedBody = parsedOutput.body;
|
|
1337
|
+
return throwDefaultError({
|
|
1338
|
+
output,
|
|
1339
|
+
parsedBody,
|
|
1340
|
+
errorCode
|
|
1341
|
+
});
|
|
1342
|
+
}
|
|
1343
|
+
}, "de_DeleteStreamKeyCommandError");
|
|
1344
|
+
var de_GetChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1345
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1346
|
+
return de_GetChannelCommandError(output, context);
|
|
1347
|
+
}
|
|
1348
|
+
const contents = (0, import_smithy_client.map)({
|
|
1349
|
+
$metadata: deserializeMetadata(output)
|
|
1350
|
+
});
|
|
1351
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1352
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1353
|
+
channel: import_smithy_client._json
|
|
1354
|
+
});
|
|
1355
|
+
Object.assign(contents, doc);
|
|
1356
|
+
return contents;
|
|
1357
|
+
}, "de_GetChannelCommand");
|
|
1358
|
+
var de_GetChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1359
|
+
const parsedOutput = {
|
|
1360
|
+
...output,
|
|
1361
|
+
body: await parseErrorBody(output.body, context)
|
|
1362
|
+
};
|
|
1363
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1364
|
+
switch (errorCode) {
|
|
1365
|
+
case "AccessDeniedException":
|
|
1366
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1367
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1368
|
+
case "ResourceNotFoundException":
|
|
1369
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1370
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1371
|
+
case "ValidationException":
|
|
1372
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1373
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1374
|
+
default:
|
|
1375
|
+
const parsedBody = parsedOutput.body;
|
|
1376
|
+
return throwDefaultError({
|
|
1377
|
+
output,
|
|
1378
|
+
parsedBody,
|
|
1379
|
+
errorCode
|
|
1380
|
+
});
|
|
1381
|
+
}
|
|
1382
|
+
}, "de_GetChannelCommandError");
|
|
1383
|
+
var de_GetPlaybackKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1384
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1385
|
+
return de_GetPlaybackKeyPairCommandError(output, context);
|
|
1386
|
+
}
|
|
1387
|
+
const contents = (0, import_smithy_client.map)({
|
|
1388
|
+
$metadata: deserializeMetadata(output)
|
|
1389
|
+
});
|
|
1390
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1391
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1392
|
+
keyPair: import_smithy_client._json
|
|
1393
|
+
});
|
|
1394
|
+
Object.assign(contents, doc);
|
|
1395
|
+
return contents;
|
|
1396
|
+
}, "de_GetPlaybackKeyPairCommand");
|
|
1397
|
+
var de_GetPlaybackKeyPairCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1398
|
+
const parsedOutput = {
|
|
1399
|
+
...output,
|
|
1400
|
+
body: await parseErrorBody(output.body, context)
|
|
1401
|
+
};
|
|
1402
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1403
|
+
switch (errorCode) {
|
|
1404
|
+
case "AccessDeniedException":
|
|
1405
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1406
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1407
|
+
case "ResourceNotFoundException":
|
|
1408
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1409
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1410
|
+
case "ValidationException":
|
|
1411
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1412
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1413
|
+
default:
|
|
1414
|
+
const parsedBody = parsedOutput.body;
|
|
1415
|
+
return throwDefaultError({
|
|
1416
|
+
output,
|
|
1417
|
+
parsedBody,
|
|
1418
|
+
errorCode
|
|
1419
|
+
});
|
|
1420
|
+
}
|
|
1421
|
+
}, "de_GetPlaybackKeyPairCommandError");
|
|
1422
|
+
var de_GetRecordingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1423
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1424
|
+
return de_GetRecordingConfigurationCommandError(output, context);
|
|
1425
|
+
}
|
|
1426
|
+
const contents = (0, import_smithy_client.map)({
|
|
1427
|
+
$metadata: deserializeMetadata(output)
|
|
1428
|
+
});
|
|
1429
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1430
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1431
|
+
recordingConfiguration: import_smithy_client._json
|
|
1432
|
+
});
|
|
1433
|
+
Object.assign(contents, doc);
|
|
1434
|
+
return contents;
|
|
1435
|
+
}, "de_GetRecordingConfigurationCommand");
|
|
1436
|
+
var de_GetRecordingConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1437
|
+
const parsedOutput = {
|
|
1438
|
+
...output,
|
|
1439
|
+
body: await parseErrorBody(output.body, context)
|
|
1440
|
+
};
|
|
1441
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1442
|
+
switch (errorCode) {
|
|
1443
|
+
case "AccessDeniedException":
|
|
1444
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1445
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1446
|
+
case "InternalServerException":
|
|
1447
|
+
case "com.amazonaws.ivs#InternalServerException":
|
|
1448
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1449
|
+
case "ResourceNotFoundException":
|
|
1450
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1451
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1452
|
+
case "ValidationException":
|
|
1453
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1454
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1455
|
+
default:
|
|
1456
|
+
const parsedBody = parsedOutput.body;
|
|
1457
|
+
return throwDefaultError({
|
|
1458
|
+
output,
|
|
1459
|
+
parsedBody,
|
|
1460
|
+
errorCode
|
|
1461
|
+
});
|
|
1462
|
+
}
|
|
1463
|
+
}, "de_GetRecordingConfigurationCommandError");
|
|
1464
|
+
var de_GetStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1465
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1466
|
+
return de_GetStreamCommandError(output, context);
|
|
1467
|
+
}
|
|
1468
|
+
const contents = (0, import_smithy_client.map)({
|
|
1469
|
+
$metadata: deserializeMetadata(output)
|
|
1470
|
+
});
|
|
1471
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1472
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1473
|
+
stream: (_) => de__Stream(_, context)
|
|
1474
|
+
});
|
|
1475
|
+
Object.assign(contents, doc);
|
|
1476
|
+
return contents;
|
|
1477
|
+
}, "de_GetStreamCommand");
|
|
1478
|
+
var de_GetStreamCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1479
|
+
const parsedOutput = {
|
|
1480
|
+
...output,
|
|
1481
|
+
body: await parseErrorBody(output.body, context)
|
|
1482
|
+
};
|
|
1483
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1484
|
+
switch (errorCode) {
|
|
1485
|
+
case "AccessDeniedException":
|
|
1486
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1487
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1488
|
+
case "ChannelNotBroadcasting":
|
|
1489
|
+
case "com.amazonaws.ivs#ChannelNotBroadcasting":
|
|
1490
|
+
throw await de_ChannelNotBroadcastingRes(parsedOutput, context);
|
|
1491
|
+
case "ResourceNotFoundException":
|
|
1492
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1493
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1494
|
+
case "ValidationException":
|
|
1495
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1496
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1497
|
+
default:
|
|
1498
|
+
const parsedBody = parsedOutput.body;
|
|
1499
|
+
return throwDefaultError({
|
|
1500
|
+
output,
|
|
1501
|
+
parsedBody,
|
|
1502
|
+
errorCode
|
|
1503
|
+
});
|
|
1504
|
+
}
|
|
1505
|
+
}, "de_GetStreamCommandError");
|
|
1506
|
+
var de_GetStreamKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1507
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1508
|
+
return de_GetStreamKeyCommandError(output, context);
|
|
1509
|
+
}
|
|
1510
|
+
const contents = (0, import_smithy_client.map)({
|
|
1511
|
+
$metadata: deserializeMetadata(output)
|
|
1512
|
+
});
|
|
1513
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1514
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1515
|
+
streamKey: import_smithy_client._json
|
|
1516
|
+
});
|
|
1517
|
+
Object.assign(contents, doc);
|
|
1518
|
+
return contents;
|
|
1519
|
+
}, "de_GetStreamKeyCommand");
|
|
1520
|
+
var de_GetStreamKeyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1521
|
+
const parsedOutput = {
|
|
1522
|
+
...output,
|
|
1523
|
+
body: await parseErrorBody(output.body, context)
|
|
1524
|
+
};
|
|
1525
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1526
|
+
switch (errorCode) {
|
|
1527
|
+
case "AccessDeniedException":
|
|
1528
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1529
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1530
|
+
case "ResourceNotFoundException":
|
|
1531
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1532
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1533
|
+
case "ValidationException":
|
|
1534
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1535
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1536
|
+
default:
|
|
1537
|
+
const parsedBody = parsedOutput.body;
|
|
1538
|
+
return throwDefaultError({
|
|
1539
|
+
output,
|
|
1540
|
+
parsedBody,
|
|
1541
|
+
errorCode
|
|
1542
|
+
});
|
|
1543
|
+
}
|
|
1544
|
+
}, "de_GetStreamKeyCommandError");
|
|
1545
|
+
var de_GetStreamSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1546
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1547
|
+
return de_GetStreamSessionCommandError(output, context);
|
|
1548
|
+
}
|
|
1549
|
+
const contents = (0, import_smithy_client.map)({
|
|
1550
|
+
$metadata: deserializeMetadata(output)
|
|
1551
|
+
});
|
|
1552
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1553
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1554
|
+
streamSession: (_) => de_StreamSession(_, context)
|
|
1555
|
+
});
|
|
1556
|
+
Object.assign(contents, doc);
|
|
1557
|
+
return contents;
|
|
1558
|
+
}, "de_GetStreamSessionCommand");
|
|
1559
|
+
var de_GetStreamSessionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1560
|
+
const parsedOutput = {
|
|
1561
|
+
...output,
|
|
1562
|
+
body: await parseErrorBody(output.body, context)
|
|
1563
|
+
};
|
|
1564
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1565
|
+
switch (errorCode) {
|
|
1566
|
+
case "AccessDeniedException":
|
|
1567
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1568
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1569
|
+
case "ResourceNotFoundException":
|
|
1570
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1571
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1572
|
+
case "ValidationException":
|
|
1573
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1574
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1575
|
+
default:
|
|
1576
|
+
const parsedBody = parsedOutput.body;
|
|
1577
|
+
return throwDefaultError({
|
|
1578
|
+
output,
|
|
1579
|
+
parsedBody,
|
|
1580
|
+
errorCode
|
|
1581
|
+
});
|
|
1582
|
+
}
|
|
1583
|
+
}, "de_GetStreamSessionCommandError");
|
|
1584
|
+
var de_ImportPlaybackKeyPairCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1585
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1586
|
+
return de_ImportPlaybackKeyPairCommandError(output, context);
|
|
1587
|
+
}
|
|
1588
|
+
const contents = (0, import_smithy_client.map)({
|
|
1589
|
+
$metadata: deserializeMetadata(output)
|
|
1590
|
+
});
|
|
1591
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1592
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1593
|
+
keyPair: import_smithy_client._json
|
|
1594
|
+
});
|
|
1595
|
+
Object.assign(contents, doc);
|
|
1596
|
+
return contents;
|
|
1597
|
+
}, "de_ImportPlaybackKeyPairCommand");
|
|
1598
|
+
var de_ImportPlaybackKeyPairCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1599
|
+
const parsedOutput = {
|
|
1600
|
+
...output,
|
|
1601
|
+
body: await parseErrorBody(output.body, context)
|
|
1602
|
+
};
|
|
1603
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1604
|
+
switch (errorCode) {
|
|
1605
|
+
case "AccessDeniedException":
|
|
1606
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1607
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1608
|
+
case "ConflictException":
|
|
1609
|
+
case "com.amazonaws.ivs#ConflictException":
|
|
1610
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1611
|
+
case "PendingVerification":
|
|
1612
|
+
case "com.amazonaws.ivs#PendingVerification":
|
|
1613
|
+
throw await de_PendingVerificationRes(parsedOutput, context);
|
|
1614
|
+
case "ServiceQuotaExceededException":
|
|
1615
|
+
case "com.amazonaws.ivs#ServiceQuotaExceededException":
|
|
1616
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1617
|
+
case "ValidationException":
|
|
1618
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1619
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1620
|
+
default:
|
|
1621
|
+
const parsedBody = parsedOutput.body;
|
|
1622
|
+
return throwDefaultError({
|
|
1623
|
+
output,
|
|
1624
|
+
parsedBody,
|
|
1625
|
+
errorCode
|
|
1626
|
+
});
|
|
1627
|
+
}
|
|
1628
|
+
}, "de_ImportPlaybackKeyPairCommandError");
|
|
1629
|
+
var de_ListChannelsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1630
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1631
|
+
return de_ListChannelsCommandError(output, context);
|
|
1632
|
+
}
|
|
1633
|
+
const contents = (0, import_smithy_client.map)({
|
|
1634
|
+
$metadata: deserializeMetadata(output)
|
|
1635
|
+
});
|
|
1636
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1637
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1638
|
+
channels: import_smithy_client._json,
|
|
1639
|
+
nextToken: import_smithy_client.expectString
|
|
1640
|
+
});
|
|
1641
|
+
Object.assign(contents, doc);
|
|
1642
|
+
return contents;
|
|
1643
|
+
}, "de_ListChannelsCommand");
|
|
1644
|
+
var de_ListChannelsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1645
|
+
const parsedOutput = {
|
|
1646
|
+
...output,
|
|
1647
|
+
body: await parseErrorBody(output.body, context)
|
|
1648
|
+
};
|
|
1649
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1650
|
+
switch (errorCode) {
|
|
1651
|
+
case "AccessDeniedException":
|
|
1652
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1653
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1654
|
+
case "ConflictException":
|
|
1655
|
+
case "com.amazonaws.ivs#ConflictException":
|
|
1656
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1657
|
+
case "ValidationException":
|
|
1658
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1659
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1660
|
+
default:
|
|
1661
|
+
const parsedBody = parsedOutput.body;
|
|
1662
|
+
return throwDefaultError({
|
|
1663
|
+
output,
|
|
1664
|
+
parsedBody,
|
|
1665
|
+
errorCode
|
|
1666
|
+
});
|
|
1667
|
+
}
|
|
1668
|
+
}, "de_ListChannelsCommandError");
|
|
1669
|
+
var de_ListPlaybackKeyPairsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1670
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1671
|
+
return de_ListPlaybackKeyPairsCommandError(output, context);
|
|
1672
|
+
}
|
|
1673
|
+
const contents = (0, import_smithy_client.map)({
|
|
1674
|
+
$metadata: deserializeMetadata(output)
|
|
1675
|
+
});
|
|
1676
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1677
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1678
|
+
keyPairs: import_smithy_client._json,
|
|
1679
|
+
nextToken: import_smithy_client.expectString
|
|
1680
|
+
});
|
|
1681
|
+
Object.assign(contents, doc);
|
|
1682
|
+
return contents;
|
|
1683
|
+
}, "de_ListPlaybackKeyPairsCommand");
|
|
1684
|
+
var de_ListPlaybackKeyPairsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1685
|
+
const parsedOutput = {
|
|
1686
|
+
...output,
|
|
1687
|
+
body: await parseErrorBody(output.body, context)
|
|
1688
|
+
};
|
|
1689
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1690
|
+
switch (errorCode) {
|
|
1691
|
+
case "AccessDeniedException":
|
|
1692
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1693
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1694
|
+
case "ValidationException":
|
|
1695
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1696
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1697
|
+
default:
|
|
1698
|
+
const parsedBody = parsedOutput.body;
|
|
1699
|
+
return throwDefaultError({
|
|
1700
|
+
output,
|
|
1701
|
+
parsedBody,
|
|
1702
|
+
errorCode
|
|
1703
|
+
});
|
|
1704
|
+
}
|
|
1705
|
+
}, "de_ListPlaybackKeyPairsCommandError");
|
|
1706
|
+
var de_ListRecordingConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1707
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1708
|
+
return de_ListRecordingConfigurationsCommandError(output, context);
|
|
1709
|
+
}
|
|
1710
|
+
const contents = (0, import_smithy_client.map)({
|
|
1711
|
+
$metadata: deserializeMetadata(output)
|
|
1712
|
+
});
|
|
1713
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1714
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1715
|
+
nextToken: import_smithy_client.expectString,
|
|
1716
|
+
recordingConfigurations: import_smithy_client._json
|
|
1717
|
+
});
|
|
1718
|
+
Object.assign(contents, doc);
|
|
1719
|
+
return contents;
|
|
1720
|
+
}, "de_ListRecordingConfigurationsCommand");
|
|
1721
|
+
var de_ListRecordingConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1722
|
+
const parsedOutput = {
|
|
1723
|
+
...output,
|
|
1724
|
+
body: await parseErrorBody(output.body, context)
|
|
1725
|
+
};
|
|
1726
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1727
|
+
switch (errorCode) {
|
|
1728
|
+
case "AccessDeniedException":
|
|
1729
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1730
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1731
|
+
case "InternalServerException":
|
|
1732
|
+
case "com.amazonaws.ivs#InternalServerException":
|
|
1733
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1734
|
+
case "ValidationException":
|
|
1735
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1736
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1737
|
+
default:
|
|
1738
|
+
const parsedBody = parsedOutput.body;
|
|
1739
|
+
return throwDefaultError({
|
|
1740
|
+
output,
|
|
1741
|
+
parsedBody,
|
|
1742
|
+
errorCode
|
|
1743
|
+
});
|
|
1744
|
+
}
|
|
1745
|
+
}, "de_ListRecordingConfigurationsCommandError");
|
|
1746
|
+
var de_ListStreamKeysCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1747
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1748
|
+
return de_ListStreamKeysCommandError(output, context);
|
|
1749
|
+
}
|
|
1750
|
+
const contents = (0, import_smithy_client.map)({
|
|
1751
|
+
$metadata: deserializeMetadata(output)
|
|
1752
|
+
});
|
|
1753
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1754
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1755
|
+
nextToken: import_smithy_client.expectString,
|
|
1756
|
+
streamKeys: import_smithy_client._json
|
|
1757
|
+
});
|
|
1758
|
+
Object.assign(contents, doc);
|
|
1759
|
+
return contents;
|
|
1760
|
+
}, "de_ListStreamKeysCommand");
|
|
1761
|
+
var de_ListStreamKeysCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1762
|
+
const parsedOutput = {
|
|
1763
|
+
...output,
|
|
1764
|
+
body: await parseErrorBody(output.body, context)
|
|
1765
|
+
};
|
|
1766
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1767
|
+
switch (errorCode) {
|
|
1768
|
+
case "AccessDeniedException":
|
|
1769
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1770
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1771
|
+
case "ResourceNotFoundException":
|
|
1772
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1773
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1774
|
+
case "ValidationException":
|
|
1775
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1776
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1777
|
+
default:
|
|
1778
|
+
const parsedBody = parsedOutput.body;
|
|
1779
|
+
return throwDefaultError({
|
|
1780
|
+
output,
|
|
1781
|
+
parsedBody,
|
|
1782
|
+
errorCode
|
|
1783
|
+
});
|
|
1784
|
+
}
|
|
1785
|
+
}, "de_ListStreamKeysCommandError");
|
|
1786
|
+
var de_ListStreamsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1787
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1788
|
+
return de_ListStreamsCommandError(output, context);
|
|
1789
|
+
}
|
|
1790
|
+
const contents = (0, import_smithy_client.map)({
|
|
1791
|
+
$metadata: deserializeMetadata(output)
|
|
1792
|
+
});
|
|
1793
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1794
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1795
|
+
nextToken: import_smithy_client.expectString,
|
|
1796
|
+
streams: (_) => de_StreamList(_, context)
|
|
1797
|
+
});
|
|
1798
|
+
Object.assign(contents, doc);
|
|
1799
|
+
return contents;
|
|
1800
|
+
}, "de_ListStreamsCommand");
|
|
1801
|
+
var de_ListStreamsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1802
|
+
const parsedOutput = {
|
|
1803
|
+
...output,
|
|
1804
|
+
body: await parseErrorBody(output.body, context)
|
|
1805
|
+
};
|
|
1806
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1807
|
+
switch (errorCode) {
|
|
1808
|
+
case "AccessDeniedException":
|
|
1809
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1810
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1811
|
+
case "ValidationException":
|
|
1812
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1813
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1814
|
+
default:
|
|
1815
|
+
const parsedBody = parsedOutput.body;
|
|
1816
|
+
return throwDefaultError({
|
|
1817
|
+
output,
|
|
1818
|
+
parsedBody,
|
|
1819
|
+
errorCode
|
|
1820
|
+
});
|
|
1821
|
+
}
|
|
1822
|
+
}, "de_ListStreamsCommandError");
|
|
1823
|
+
var de_ListStreamSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1824
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1825
|
+
return de_ListStreamSessionsCommandError(output, context);
|
|
1826
|
+
}
|
|
1827
|
+
const contents = (0, import_smithy_client.map)({
|
|
1828
|
+
$metadata: deserializeMetadata(output)
|
|
1829
|
+
});
|
|
1830
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1831
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1832
|
+
nextToken: import_smithy_client.expectString,
|
|
1833
|
+
streamSessions: (_) => de_StreamSessionList(_, context)
|
|
1834
|
+
});
|
|
1835
|
+
Object.assign(contents, doc);
|
|
1836
|
+
return contents;
|
|
1837
|
+
}, "de_ListStreamSessionsCommand");
|
|
1838
|
+
var de_ListStreamSessionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1839
|
+
const parsedOutput = {
|
|
1840
|
+
...output,
|
|
1841
|
+
body: await parseErrorBody(output.body, context)
|
|
1842
|
+
};
|
|
1843
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1844
|
+
switch (errorCode) {
|
|
1845
|
+
case "AccessDeniedException":
|
|
1846
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1847
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1848
|
+
case "ResourceNotFoundException":
|
|
1849
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1850
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1851
|
+
case "ValidationException":
|
|
1852
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1853
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1854
|
+
default:
|
|
1855
|
+
const parsedBody = parsedOutput.body;
|
|
1856
|
+
return throwDefaultError({
|
|
1857
|
+
output,
|
|
1858
|
+
parsedBody,
|
|
1859
|
+
errorCode
|
|
1860
|
+
});
|
|
1861
|
+
}
|
|
1862
|
+
}, "de_ListStreamSessionsCommandError");
|
|
1863
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1864
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1865
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1866
|
+
}
|
|
1867
|
+
const contents = (0, import_smithy_client.map)({
|
|
1868
|
+
$metadata: deserializeMetadata(output)
|
|
1869
|
+
});
|
|
1870
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1871
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1872
|
+
tags: import_smithy_client._json
|
|
1873
|
+
});
|
|
1874
|
+
Object.assign(contents, doc);
|
|
1875
|
+
return contents;
|
|
1876
|
+
}, "de_ListTagsForResourceCommand");
|
|
1877
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1878
|
+
const parsedOutput = {
|
|
1879
|
+
...output,
|
|
1880
|
+
body: await parseErrorBody(output.body, context)
|
|
1881
|
+
};
|
|
1882
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1883
|
+
switch (errorCode) {
|
|
1884
|
+
case "InternalServerException":
|
|
1885
|
+
case "com.amazonaws.ivs#InternalServerException":
|
|
1886
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1887
|
+
case "ResourceNotFoundException":
|
|
1888
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1889
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1890
|
+
case "ValidationException":
|
|
1891
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1892
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1893
|
+
default:
|
|
1894
|
+
const parsedBody = parsedOutput.body;
|
|
1895
|
+
return throwDefaultError({
|
|
1896
|
+
output,
|
|
1897
|
+
parsedBody,
|
|
1898
|
+
errorCode
|
|
1899
|
+
});
|
|
1900
|
+
}
|
|
1901
|
+
}, "de_ListTagsForResourceCommandError");
|
|
1902
|
+
var de_PutMetadataCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1903
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1904
|
+
return de_PutMetadataCommandError(output, context);
|
|
1905
|
+
}
|
|
1906
|
+
const contents = (0, import_smithy_client.map)({
|
|
1907
|
+
$metadata: deserializeMetadata(output)
|
|
1908
|
+
});
|
|
1909
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1910
|
+
return contents;
|
|
1911
|
+
}, "de_PutMetadataCommand");
|
|
1912
|
+
var de_PutMetadataCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1913
|
+
const parsedOutput = {
|
|
1914
|
+
...output,
|
|
1915
|
+
body: await parseErrorBody(output.body, context)
|
|
1916
|
+
};
|
|
1917
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1918
|
+
switch (errorCode) {
|
|
1919
|
+
case "AccessDeniedException":
|
|
1920
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1921
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1922
|
+
case "ChannelNotBroadcasting":
|
|
1923
|
+
case "com.amazonaws.ivs#ChannelNotBroadcasting":
|
|
1924
|
+
throw await de_ChannelNotBroadcastingRes(parsedOutput, context);
|
|
1925
|
+
case "ResourceNotFoundException":
|
|
1926
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1927
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1928
|
+
case "ThrottlingException":
|
|
1929
|
+
case "com.amazonaws.ivs#ThrottlingException":
|
|
1930
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1931
|
+
case "ValidationException":
|
|
1932
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1933
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1934
|
+
default:
|
|
1935
|
+
const parsedBody = parsedOutput.body;
|
|
1936
|
+
return throwDefaultError({
|
|
1937
|
+
output,
|
|
1938
|
+
parsedBody,
|
|
1939
|
+
errorCode
|
|
1940
|
+
});
|
|
1941
|
+
}
|
|
1942
|
+
}, "de_PutMetadataCommandError");
|
|
1943
|
+
var de_StartViewerSessionRevocationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1944
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1945
|
+
return de_StartViewerSessionRevocationCommandError(output, context);
|
|
1946
|
+
}
|
|
1947
|
+
const contents = (0, import_smithy_client.map)({
|
|
1948
|
+
$metadata: deserializeMetadata(output)
|
|
1949
|
+
});
|
|
1950
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1951
|
+
return contents;
|
|
1952
|
+
}, "de_StartViewerSessionRevocationCommand");
|
|
1953
|
+
var de_StartViewerSessionRevocationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1954
|
+
const parsedOutput = {
|
|
1955
|
+
...output,
|
|
1956
|
+
body: await parseErrorBody(output.body, context)
|
|
1957
|
+
};
|
|
1958
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1959
|
+
switch (errorCode) {
|
|
1960
|
+
case "AccessDeniedException":
|
|
1961
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
1962
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1963
|
+
case "InternalServerException":
|
|
1964
|
+
case "com.amazonaws.ivs#InternalServerException":
|
|
1965
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1966
|
+
case "PendingVerification":
|
|
1967
|
+
case "com.amazonaws.ivs#PendingVerification":
|
|
1968
|
+
throw await de_PendingVerificationRes(parsedOutput, context);
|
|
1969
|
+
case "ResourceNotFoundException":
|
|
1970
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
1971
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1972
|
+
case "ThrottlingException":
|
|
1973
|
+
case "com.amazonaws.ivs#ThrottlingException":
|
|
1974
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1975
|
+
case "ValidationException":
|
|
1976
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
1977
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1978
|
+
default:
|
|
1979
|
+
const parsedBody = parsedOutput.body;
|
|
1980
|
+
return throwDefaultError({
|
|
1981
|
+
output,
|
|
1982
|
+
parsedBody,
|
|
1983
|
+
errorCode
|
|
1984
|
+
});
|
|
1985
|
+
}
|
|
1986
|
+
}, "de_StartViewerSessionRevocationCommandError");
|
|
1987
|
+
var de_StopStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1988
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1989
|
+
return de_StopStreamCommandError(output, context);
|
|
1990
|
+
}
|
|
1991
|
+
const contents = (0, import_smithy_client.map)({
|
|
1992
|
+
$metadata: deserializeMetadata(output)
|
|
1993
|
+
});
|
|
1994
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1995
|
+
return contents;
|
|
1996
|
+
}, "de_StopStreamCommand");
|
|
1997
|
+
var de_StopStreamCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1998
|
+
const parsedOutput = {
|
|
1999
|
+
...output,
|
|
2000
|
+
body: await parseErrorBody(output.body, context)
|
|
2001
|
+
};
|
|
2002
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2003
|
+
switch (errorCode) {
|
|
2004
|
+
case "AccessDeniedException":
|
|
2005
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
2006
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2007
|
+
case "ChannelNotBroadcasting":
|
|
2008
|
+
case "com.amazonaws.ivs#ChannelNotBroadcasting":
|
|
2009
|
+
throw await de_ChannelNotBroadcastingRes(parsedOutput, context);
|
|
2010
|
+
case "ResourceNotFoundException":
|
|
2011
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
2012
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2013
|
+
case "StreamUnavailable":
|
|
2014
|
+
case "com.amazonaws.ivs#StreamUnavailable":
|
|
2015
|
+
throw await de_StreamUnavailableRes(parsedOutput, context);
|
|
2016
|
+
case "ValidationException":
|
|
2017
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
2018
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2019
|
+
default:
|
|
2020
|
+
const parsedBody = parsedOutput.body;
|
|
2021
|
+
return throwDefaultError({
|
|
2022
|
+
output,
|
|
2023
|
+
parsedBody,
|
|
2024
|
+
errorCode
|
|
2025
|
+
});
|
|
2026
|
+
}
|
|
2027
|
+
}, "de_StopStreamCommandError");
|
|
2028
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2029
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2030
|
+
return de_TagResourceCommandError(output, context);
|
|
2031
|
+
}
|
|
2032
|
+
const contents = (0, import_smithy_client.map)({
|
|
2033
|
+
$metadata: deserializeMetadata(output)
|
|
2034
|
+
});
|
|
2035
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2036
|
+
return contents;
|
|
2037
|
+
}, "de_TagResourceCommand");
|
|
2038
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2039
|
+
const parsedOutput = {
|
|
2040
|
+
...output,
|
|
2041
|
+
body: await parseErrorBody(output.body, context)
|
|
2042
|
+
};
|
|
2043
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2044
|
+
switch (errorCode) {
|
|
2045
|
+
case "InternalServerException":
|
|
2046
|
+
case "com.amazonaws.ivs#InternalServerException":
|
|
2047
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2048
|
+
case "ResourceNotFoundException":
|
|
2049
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
2050
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2051
|
+
case "ValidationException":
|
|
2052
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
2053
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2054
|
+
default:
|
|
2055
|
+
const parsedBody = parsedOutput.body;
|
|
2056
|
+
return throwDefaultError({
|
|
2057
|
+
output,
|
|
2058
|
+
parsedBody,
|
|
2059
|
+
errorCode
|
|
2060
|
+
});
|
|
2061
|
+
}
|
|
2062
|
+
}, "de_TagResourceCommandError");
|
|
2063
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2064
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2065
|
+
return de_UntagResourceCommandError(output, context);
|
|
2066
|
+
}
|
|
2067
|
+
const contents = (0, import_smithy_client.map)({
|
|
2068
|
+
$metadata: deserializeMetadata(output)
|
|
2069
|
+
});
|
|
2070
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2071
|
+
return contents;
|
|
2072
|
+
}, "de_UntagResourceCommand");
|
|
2073
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2074
|
+
const parsedOutput = {
|
|
2075
|
+
...output,
|
|
2076
|
+
body: await parseErrorBody(output.body, context)
|
|
2077
|
+
};
|
|
2078
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2079
|
+
switch (errorCode) {
|
|
2080
|
+
case "InternalServerException":
|
|
2081
|
+
case "com.amazonaws.ivs#InternalServerException":
|
|
2082
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2083
|
+
case "ResourceNotFoundException":
|
|
2084
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
2085
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2086
|
+
case "ValidationException":
|
|
2087
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
2088
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2089
|
+
default:
|
|
2090
|
+
const parsedBody = parsedOutput.body;
|
|
2091
|
+
return throwDefaultError({
|
|
2092
|
+
output,
|
|
2093
|
+
parsedBody,
|
|
2094
|
+
errorCode
|
|
2095
|
+
});
|
|
2096
|
+
}
|
|
2097
|
+
}, "de_UntagResourceCommandError");
|
|
2098
|
+
var de_UpdateChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2099
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2100
|
+
return de_UpdateChannelCommandError(output, context);
|
|
2101
|
+
}
|
|
2102
|
+
const contents = (0, import_smithy_client.map)({
|
|
2103
|
+
$metadata: deserializeMetadata(output)
|
|
2104
|
+
});
|
|
2105
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2106
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2107
|
+
channel: import_smithy_client._json
|
|
2108
|
+
});
|
|
2109
|
+
Object.assign(contents, doc);
|
|
2110
|
+
return contents;
|
|
2111
|
+
}, "de_UpdateChannelCommand");
|
|
2112
|
+
var de_UpdateChannelCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2113
|
+
const parsedOutput = {
|
|
2114
|
+
...output,
|
|
2115
|
+
body: await parseErrorBody(output.body, context)
|
|
2116
|
+
};
|
|
2117
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2118
|
+
switch (errorCode) {
|
|
2119
|
+
case "AccessDeniedException":
|
|
2120
|
+
case "com.amazonaws.ivs#AccessDeniedException":
|
|
2121
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2122
|
+
case "ConflictException":
|
|
2123
|
+
case "com.amazonaws.ivs#ConflictException":
|
|
2124
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2125
|
+
case "PendingVerification":
|
|
2126
|
+
case "com.amazonaws.ivs#PendingVerification":
|
|
2127
|
+
throw await de_PendingVerificationRes(parsedOutput, context);
|
|
2128
|
+
case "ResourceNotFoundException":
|
|
2129
|
+
case "com.amazonaws.ivs#ResourceNotFoundException":
|
|
2130
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2131
|
+
case "ValidationException":
|
|
2132
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
2133
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2134
|
+
default:
|
|
2135
|
+
const parsedBody = parsedOutput.body;
|
|
2136
|
+
return throwDefaultError({
|
|
2137
|
+
output,
|
|
2138
|
+
parsedBody,
|
|
2139
|
+
errorCode
|
|
2140
|
+
});
|
|
2141
|
+
}
|
|
2142
|
+
}, "de_UpdateChannelCommandError");
|
|
2143
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(IvsServiceException);
|
|
2144
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2145
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2146
|
+
const data = parsedOutput.body;
|
|
2147
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2148
|
+
exceptionMessage: import_smithy_client.expectString
|
|
2149
|
+
});
|
|
2150
|
+
Object.assign(contents, doc);
|
|
2151
|
+
const exception = new AccessDeniedException({
|
|
2152
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2153
|
+
...contents
|
|
2154
|
+
});
|
|
2155
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2156
|
+
}, "de_AccessDeniedExceptionRes");
|
|
2157
|
+
var de_ChannelNotBroadcastingRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2158
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2159
|
+
const data = parsedOutput.body;
|
|
2160
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2161
|
+
exceptionMessage: import_smithy_client.expectString
|
|
2162
|
+
});
|
|
2163
|
+
Object.assign(contents, doc);
|
|
2164
|
+
const exception = new ChannelNotBroadcasting({
|
|
2165
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2166
|
+
...contents
|
|
2167
|
+
});
|
|
2168
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2169
|
+
}, "de_ChannelNotBroadcastingRes");
|
|
2170
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2171
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2172
|
+
const data = parsedOutput.body;
|
|
2173
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2174
|
+
exceptionMessage: import_smithy_client.expectString
|
|
2175
|
+
});
|
|
2176
|
+
Object.assign(contents, doc);
|
|
2177
|
+
const exception = new ConflictException({
|
|
2178
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2179
|
+
...contents
|
|
2180
|
+
});
|
|
2181
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2182
|
+
}, "de_ConflictExceptionRes");
|
|
2183
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2184
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2185
|
+
const data = parsedOutput.body;
|
|
2186
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2187
|
+
exceptionMessage: import_smithy_client.expectString
|
|
2188
|
+
});
|
|
2189
|
+
Object.assign(contents, doc);
|
|
2190
|
+
const exception = new InternalServerException({
|
|
2191
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2192
|
+
...contents
|
|
2193
|
+
});
|
|
2194
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2195
|
+
}, "de_InternalServerExceptionRes");
|
|
2196
|
+
var de_PendingVerificationRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2197
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2198
|
+
const data = parsedOutput.body;
|
|
2199
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2200
|
+
exceptionMessage: import_smithy_client.expectString
|
|
2201
|
+
});
|
|
2202
|
+
Object.assign(contents, doc);
|
|
2203
|
+
const exception = new PendingVerification({
|
|
2204
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2205
|
+
...contents
|
|
2206
|
+
});
|
|
2207
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2208
|
+
}, "de_PendingVerificationRes");
|
|
2209
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2210
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2211
|
+
const data = parsedOutput.body;
|
|
2212
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2213
|
+
exceptionMessage: import_smithy_client.expectString
|
|
2214
|
+
});
|
|
2215
|
+
Object.assign(contents, doc);
|
|
2216
|
+
const exception = new ResourceNotFoundException({
|
|
2217
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2218
|
+
...contents
|
|
2219
|
+
});
|
|
2220
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2221
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2222
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2223
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2224
|
+
const data = parsedOutput.body;
|
|
2225
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2226
|
+
exceptionMessage: import_smithy_client.expectString
|
|
2227
|
+
});
|
|
2228
|
+
Object.assign(contents, doc);
|
|
2229
|
+
const exception = new ServiceQuotaExceededException({
|
|
2230
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2231
|
+
...contents
|
|
2232
|
+
});
|
|
2233
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2234
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
2235
|
+
var de_StreamUnavailableRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2236
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2237
|
+
const data = parsedOutput.body;
|
|
2238
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2239
|
+
exceptionMessage: import_smithy_client.expectString
|
|
2240
|
+
});
|
|
2241
|
+
Object.assign(contents, doc);
|
|
2242
|
+
const exception = new StreamUnavailable({
|
|
2243
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2244
|
+
...contents
|
|
2245
|
+
});
|
|
2246
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2247
|
+
}, "de_StreamUnavailableRes");
|
|
2248
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2249
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2250
|
+
const data = parsedOutput.body;
|
|
2251
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2252
|
+
exceptionMessage: import_smithy_client.expectString
|
|
2253
|
+
});
|
|
2254
|
+
Object.assign(contents, doc);
|
|
2255
|
+
const exception = new ThrottlingException({
|
|
2256
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2257
|
+
...contents
|
|
2258
|
+
});
|
|
2259
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2260
|
+
}, "de_ThrottlingExceptionRes");
|
|
2261
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2262
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2263
|
+
const data = parsedOutput.body;
|
|
2264
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2265
|
+
exceptionMessage: import_smithy_client.expectString
|
|
2266
|
+
});
|
|
2267
|
+
Object.assign(contents, doc);
|
|
2268
|
+
const exception = new ValidationException({
|
|
2269
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2270
|
+
...contents
|
|
2271
|
+
});
|
|
2272
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2273
|
+
}, "de_ValidationExceptionRes");
|
|
2274
|
+
var de__Stream = /* @__PURE__ */ __name((output, context) => {
|
|
2275
|
+
return (0, import_smithy_client.take)(output, {
|
|
2276
|
+
channelArn: import_smithy_client.expectString,
|
|
2277
|
+
health: import_smithy_client.expectString,
|
|
2278
|
+
playbackUrl: import_smithy_client.expectString,
|
|
2279
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2280
|
+
state: import_smithy_client.expectString,
|
|
2281
|
+
streamId: import_smithy_client.expectString,
|
|
2282
|
+
viewerCount: import_smithy_client.expectLong
|
|
2283
|
+
});
|
|
2284
|
+
}, "de__Stream");
|
|
2285
|
+
var de_StreamEvent = /* @__PURE__ */ __name((output, context) => {
|
|
2286
|
+
return (0, import_smithy_client.take)(output, {
|
|
2287
|
+
eventTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2288
|
+
name: import_smithy_client.expectString,
|
|
2289
|
+
type: import_smithy_client.expectString
|
|
2290
|
+
});
|
|
2291
|
+
}, "de_StreamEvent");
|
|
2292
|
+
var de_StreamEvents = /* @__PURE__ */ __name((output, context) => {
|
|
2293
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2294
|
+
return de_StreamEvent(entry, context);
|
|
2295
|
+
});
|
|
2296
|
+
return retVal;
|
|
2297
|
+
}, "de_StreamEvents");
|
|
2298
|
+
var de_StreamList = /* @__PURE__ */ __name((output, context) => {
|
|
2299
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2300
|
+
return de_StreamSummary(entry, context);
|
|
2301
|
+
});
|
|
2302
|
+
return retVal;
|
|
2303
|
+
}, "de_StreamList");
|
|
2304
|
+
var de_StreamSession = /* @__PURE__ */ __name((output, context) => {
|
|
2305
|
+
return (0, import_smithy_client.take)(output, {
|
|
2306
|
+
channel: import_smithy_client._json,
|
|
2307
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2308
|
+
ingestConfiguration: import_smithy_client._json,
|
|
2309
|
+
recordingConfiguration: import_smithy_client._json,
|
|
2310
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2311
|
+
streamId: import_smithy_client.expectString,
|
|
2312
|
+
truncatedEvents: (_) => de_StreamEvents(_, context)
|
|
2313
|
+
});
|
|
2314
|
+
}, "de_StreamSession");
|
|
2315
|
+
var de_StreamSessionList = /* @__PURE__ */ __name((output, context) => {
|
|
2316
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2317
|
+
return de_StreamSessionSummary(entry, context);
|
|
2318
|
+
});
|
|
2319
|
+
return retVal;
|
|
2320
|
+
}, "de_StreamSessionList");
|
|
2321
|
+
var de_StreamSessionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2322
|
+
return (0, import_smithy_client.take)(output, {
|
|
2323
|
+
endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2324
|
+
hasErrorEvent: import_smithy_client.expectBoolean,
|
|
2325
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2326
|
+
streamId: import_smithy_client.expectString
|
|
2327
|
+
});
|
|
2328
|
+
}, "de_StreamSessionSummary");
|
|
2329
|
+
var de_StreamSummary = /* @__PURE__ */ __name((output, context) => {
|
|
2330
|
+
return (0, import_smithy_client.take)(output, {
|
|
2331
|
+
channelArn: import_smithy_client.expectString,
|
|
2332
|
+
health: import_smithy_client.expectString,
|
|
2333
|
+
startTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2334
|
+
state: import_smithy_client.expectString,
|
|
2335
|
+
streamId: import_smithy_client.expectString,
|
|
2336
|
+
viewerCount: import_smithy_client.expectLong
|
|
2337
|
+
});
|
|
2338
|
+
}, "de_StreamSummary");
|
|
2339
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2340
|
+
httpStatusCode: output.statusCode,
|
|
2341
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2342
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2343
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2344
|
+
}), "deserializeMetadata");
|
|
2345
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2346
|
+
var _tK = "tagKeys";
|
|
2347
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2348
|
+
if (encoded.length) {
|
|
2349
|
+
return JSON.parse(encoded);
|
|
2350
|
+
}
|
|
2351
|
+
return {};
|
|
2352
|
+
}), "parseBody");
|
|
2353
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2354
|
+
const value = await parseBody(errorBody, context);
|
|
2355
|
+
value.message = value.message ?? value.Message;
|
|
2356
|
+
return value;
|
|
2357
|
+
}, "parseErrorBody");
|
|
2358
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2359
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2360
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2361
|
+
let cleanValue = rawValue;
|
|
2362
|
+
if (typeof cleanValue === "number") {
|
|
2363
|
+
cleanValue = cleanValue.toString();
|
|
2364
|
+
}
|
|
2365
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2366
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2367
|
+
}
|
|
2368
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2369
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2370
|
+
}
|
|
2371
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2372
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2373
|
+
}
|
|
2374
|
+
return cleanValue;
|
|
2375
|
+
}, "sanitizeErrorCode");
|
|
2376
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2377
|
+
if (headerKey !== void 0) {
|
|
2378
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2379
|
+
}
|
|
2380
|
+
if (data.code !== void 0) {
|
|
2381
|
+
return sanitizeErrorCode(data.code);
|
|
2382
|
+
}
|
|
2383
|
+
if (data["__type"] !== void 0) {
|
|
2384
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2385
|
+
}
|
|
2386
|
+
}, "loadRestJsonErrorCode");
|
|
2387
|
+
|
|
2388
|
+
// src/commands/BatchGetChannelCommand.ts
|
|
2389
|
+
var _BatchGetChannelCommand = class _BatchGetChannelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2390
|
+
...commonParams
|
|
2391
|
+
}).m(function(Command, cs, config, o) {
|
|
2392
|
+
return [
|
|
2393
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2394
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2395
|
+
];
|
|
2396
|
+
}).s("AmazonInteractiveVideoService", "BatchGetChannel", {}).n("IvsClient", "BatchGetChannelCommand").f(void 0, void 0).ser(se_BatchGetChannelCommand).de(de_BatchGetChannelCommand).build() {
|
|
2397
|
+
};
|
|
2398
|
+
__name(_BatchGetChannelCommand, "BatchGetChannelCommand");
|
|
2399
|
+
var BatchGetChannelCommand = _BatchGetChannelCommand;
|
|
2400
|
+
|
|
2401
|
+
// src/commands/BatchGetStreamKeyCommand.ts
|
|
2402
|
+
|
|
2403
|
+
|
|
2404
|
+
|
|
2405
|
+
|
|
2406
|
+
var _BatchGetStreamKeyCommand = class _BatchGetStreamKeyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2407
|
+
...commonParams
|
|
2408
|
+
}).m(function(Command, cs, config, o) {
|
|
2409
|
+
return [
|
|
2410
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2411
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2412
|
+
];
|
|
2413
|
+
}).s("AmazonInteractiveVideoService", "BatchGetStreamKey", {}).n("IvsClient", "BatchGetStreamKeyCommand").f(void 0, BatchGetStreamKeyResponseFilterSensitiveLog).ser(se_BatchGetStreamKeyCommand).de(de_BatchGetStreamKeyCommand).build() {
|
|
2414
|
+
};
|
|
2415
|
+
__name(_BatchGetStreamKeyCommand, "BatchGetStreamKeyCommand");
|
|
2416
|
+
var BatchGetStreamKeyCommand = _BatchGetStreamKeyCommand;
|
|
2417
|
+
|
|
2418
|
+
// src/commands/BatchStartViewerSessionRevocationCommand.ts
|
|
2419
|
+
|
|
2420
|
+
|
|
2421
|
+
|
|
2422
|
+
|
|
2423
|
+
var _BatchStartViewerSessionRevocationCommand = class _BatchStartViewerSessionRevocationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2424
|
+
...commonParams
|
|
2425
|
+
}).m(function(Command, cs, config, o) {
|
|
2426
|
+
return [
|
|
2427
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2428
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2429
|
+
];
|
|
2430
|
+
}).s("AmazonInteractiveVideoService", "BatchStartViewerSessionRevocation", {}).n("IvsClient", "BatchStartViewerSessionRevocationCommand").f(void 0, void 0).ser(se_BatchStartViewerSessionRevocationCommand).de(de_BatchStartViewerSessionRevocationCommand).build() {
|
|
2431
|
+
};
|
|
2432
|
+
__name(_BatchStartViewerSessionRevocationCommand, "BatchStartViewerSessionRevocationCommand");
|
|
2433
|
+
var BatchStartViewerSessionRevocationCommand = _BatchStartViewerSessionRevocationCommand;
|
|
2434
|
+
|
|
2435
|
+
// src/commands/CreateChannelCommand.ts
|
|
2436
|
+
|
|
2437
|
+
|
|
2438
|
+
|
|
2439
|
+
|
|
2440
|
+
var _CreateChannelCommand = class _CreateChannelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2441
|
+
...commonParams
|
|
2442
|
+
}).m(function(Command, cs, config, o) {
|
|
2443
|
+
return [
|
|
2444
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2445
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2446
|
+
];
|
|
2447
|
+
}).s("AmazonInteractiveVideoService", "CreateChannel", {}).n("IvsClient", "CreateChannelCommand").f(void 0, CreateChannelResponseFilterSensitiveLog).ser(se_CreateChannelCommand).de(de_CreateChannelCommand).build() {
|
|
2448
|
+
};
|
|
2449
|
+
__name(_CreateChannelCommand, "CreateChannelCommand");
|
|
2450
|
+
var CreateChannelCommand = _CreateChannelCommand;
|
|
2451
|
+
|
|
2452
|
+
// src/commands/CreateRecordingConfigurationCommand.ts
|
|
2453
|
+
|
|
2454
|
+
|
|
2455
|
+
|
|
2456
|
+
|
|
2457
|
+
var _CreateRecordingConfigurationCommand = class _CreateRecordingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2458
|
+
...commonParams
|
|
2459
|
+
}).m(function(Command, cs, config, o) {
|
|
2460
|
+
return [
|
|
2461
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2462
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2463
|
+
];
|
|
2464
|
+
}).s("AmazonInteractiveVideoService", "CreateRecordingConfiguration", {}).n("IvsClient", "CreateRecordingConfigurationCommand").f(void 0, void 0).ser(se_CreateRecordingConfigurationCommand).de(de_CreateRecordingConfigurationCommand).build() {
|
|
2465
|
+
};
|
|
2466
|
+
__name(_CreateRecordingConfigurationCommand, "CreateRecordingConfigurationCommand");
|
|
2467
|
+
var CreateRecordingConfigurationCommand = _CreateRecordingConfigurationCommand;
|
|
2468
|
+
|
|
2469
|
+
// src/commands/CreateStreamKeyCommand.ts
|
|
2470
|
+
|
|
2471
|
+
|
|
2472
|
+
|
|
2473
|
+
|
|
2474
|
+
var _CreateStreamKeyCommand = class _CreateStreamKeyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2475
|
+
...commonParams
|
|
2476
|
+
}).m(function(Command, cs, config, o) {
|
|
2477
|
+
return [
|
|
2478
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2479
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2480
|
+
];
|
|
2481
|
+
}).s("AmazonInteractiveVideoService", "CreateStreamKey", {}).n("IvsClient", "CreateStreamKeyCommand").f(void 0, CreateStreamKeyResponseFilterSensitiveLog).ser(se_CreateStreamKeyCommand).de(de_CreateStreamKeyCommand).build() {
|
|
2482
|
+
};
|
|
2483
|
+
__name(_CreateStreamKeyCommand, "CreateStreamKeyCommand");
|
|
2484
|
+
var CreateStreamKeyCommand = _CreateStreamKeyCommand;
|
|
2485
|
+
|
|
2486
|
+
// src/commands/DeleteChannelCommand.ts
|
|
2487
|
+
|
|
2488
|
+
|
|
2489
|
+
|
|
2490
|
+
|
|
2491
|
+
var _DeleteChannelCommand = class _DeleteChannelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2492
|
+
...commonParams
|
|
2493
|
+
}).m(function(Command, cs, config, o) {
|
|
2494
|
+
return [
|
|
2495
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2496
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2497
|
+
];
|
|
2498
|
+
}).s("AmazonInteractiveVideoService", "DeleteChannel", {}).n("IvsClient", "DeleteChannelCommand").f(void 0, void 0).ser(se_DeleteChannelCommand).de(de_DeleteChannelCommand).build() {
|
|
2499
|
+
};
|
|
2500
|
+
__name(_DeleteChannelCommand, "DeleteChannelCommand");
|
|
2501
|
+
var DeleteChannelCommand = _DeleteChannelCommand;
|
|
2502
|
+
|
|
2503
|
+
// src/commands/DeletePlaybackKeyPairCommand.ts
|
|
2504
|
+
|
|
2505
|
+
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
var _DeletePlaybackKeyPairCommand = class _DeletePlaybackKeyPairCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2509
|
+
...commonParams
|
|
2510
|
+
}).m(function(Command, cs, config, o) {
|
|
2511
|
+
return [
|
|
2512
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2513
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2514
|
+
];
|
|
2515
|
+
}).s("AmazonInteractiveVideoService", "DeletePlaybackKeyPair", {}).n("IvsClient", "DeletePlaybackKeyPairCommand").f(void 0, void 0).ser(se_DeletePlaybackKeyPairCommand).de(de_DeletePlaybackKeyPairCommand).build() {
|
|
2516
|
+
};
|
|
2517
|
+
__name(_DeletePlaybackKeyPairCommand, "DeletePlaybackKeyPairCommand");
|
|
2518
|
+
var DeletePlaybackKeyPairCommand = _DeletePlaybackKeyPairCommand;
|
|
2519
|
+
|
|
2520
|
+
// src/commands/DeleteRecordingConfigurationCommand.ts
|
|
2521
|
+
|
|
2522
|
+
|
|
2523
|
+
|
|
2524
|
+
|
|
2525
|
+
var _DeleteRecordingConfigurationCommand = class _DeleteRecordingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2526
|
+
...commonParams
|
|
2527
|
+
}).m(function(Command, cs, config, o) {
|
|
2528
|
+
return [
|
|
2529
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2530
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2531
|
+
];
|
|
2532
|
+
}).s("AmazonInteractiveVideoService", "DeleteRecordingConfiguration", {}).n("IvsClient", "DeleteRecordingConfigurationCommand").f(void 0, void 0).ser(se_DeleteRecordingConfigurationCommand).de(de_DeleteRecordingConfigurationCommand).build() {
|
|
2533
|
+
};
|
|
2534
|
+
__name(_DeleteRecordingConfigurationCommand, "DeleteRecordingConfigurationCommand");
|
|
2535
|
+
var DeleteRecordingConfigurationCommand = _DeleteRecordingConfigurationCommand;
|
|
2536
|
+
|
|
2537
|
+
// src/commands/DeleteStreamKeyCommand.ts
|
|
2538
|
+
|
|
2539
|
+
|
|
2540
|
+
|
|
2541
|
+
|
|
2542
|
+
var _DeleteStreamKeyCommand = class _DeleteStreamKeyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2543
|
+
...commonParams
|
|
2544
|
+
}).m(function(Command, cs, config, o) {
|
|
2545
|
+
return [
|
|
2546
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2547
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2548
|
+
];
|
|
2549
|
+
}).s("AmazonInteractiveVideoService", "DeleteStreamKey", {}).n("IvsClient", "DeleteStreamKeyCommand").f(void 0, void 0).ser(se_DeleteStreamKeyCommand).de(de_DeleteStreamKeyCommand).build() {
|
|
2550
|
+
};
|
|
2551
|
+
__name(_DeleteStreamKeyCommand, "DeleteStreamKeyCommand");
|
|
2552
|
+
var DeleteStreamKeyCommand = _DeleteStreamKeyCommand;
|
|
2553
|
+
|
|
2554
|
+
// src/commands/GetChannelCommand.ts
|
|
2555
|
+
|
|
2556
|
+
|
|
2557
|
+
|
|
2558
|
+
|
|
2559
|
+
var _GetChannelCommand = class _GetChannelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2560
|
+
...commonParams
|
|
2561
|
+
}).m(function(Command, cs, config, o) {
|
|
2562
|
+
return [
|
|
2563
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2564
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2565
|
+
];
|
|
2566
|
+
}).s("AmazonInteractiveVideoService", "GetChannel", {}).n("IvsClient", "GetChannelCommand").f(void 0, void 0).ser(se_GetChannelCommand).de(de_GetChannelCommand).build() {
|
|
2567
|
+
};
|
|
2568
|
+
__name(_GetChannelCommand, "GetChannelCommand");
|
|
2569
|
+
var GetChannelCommand = _GetChannelCommand;
|
|
2570
|
+
|
|
2571
|
+
// src/commands/GetPlaybackKeyPairCommand.ts
|
|
2572
|
+
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
|
|
2576
|
+
var _GetPlaybackKeyPairCommand = class _GetPlaybackKeyPairCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2577
|
+
...commonParams
|
|
2578
|
+
}).m(function(Command, cs, config, o) {
|
|
2579
|
+
return [
|
|
2580
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2581
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2582
|
+
];
|
|
2583
|
+
}).s("AmazonInteractiveVideoService", "GetPlaybackKeyPair", {}).n("IvsClient", "GetPlaybackKeyPairCommand").f(void 0, void 0).ser(se_GetPlaybackKeyPairCommand).de(de_GetPlaybackKeyPairCommand).build() {
|
|
2584
|
+
};
|
|
2585
|
+
__name(_GetPlaybackKeyPairCommand, "GetPlaybackKeyPairCommand");
|
|
2586
|
+
var GetPlaybackKeyPairCommand = _GetPlaybackKeyPairCommand;
|
|
2587
|
+
|
|
2588
|
+
// src/commands/GetRecordingConfigurationCommand.ts
|
|
2589
|
+
|
|
2590
|
+
|
|
2591
|
+
|
|
2592
|
+
|
|
2593
|
+
var _GetRecordingConfigurationCommand = class _GetRecordingConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2594
|
+
...commonParams
|
|
2595
|
+
}).m(function(Command, cs, config, o) {
|
|
2596
|
+
return [
|
|
2597
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2598
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2599
|
+
];
|
|
2600
|
+
}).s("AmazonInteractiveVideoService", "GetRecordingConfiguration", {}).n("IvsClient", "GetRecordingConfigurationCommand").f(void 0, void 0).ser(se_GetRecordingConfigurationCommand).de(de_GetRecordingConfigurationCommand).build() {
|
|
2601
|
+
};
|
|
2602
|
+
__name(_GetRecordingConfigurationCommand, "GetRecordingConfigurationCommand");
|
|
2603
|
+
var GetRecordingConfigurationCommand = _GetRecordingConfigurationCommand;
|
|
2604
|
+
|
|
2605
|
+
// src/commands/GetStreamCommand.ts
|
|
2606
|
+
|
|
2607
|
+
|
|
2608
|
+
|
|
2609
|
+
|
|
2610
|
+
var _GetStreamCommand = class _GetStreamCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2611
|
+
...commonParams
|
|
2612
|
+
}).m(function(Command, cs, config, o) {
|
|
2613
|
+
return [
|
|
2614
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2615
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2616
|
+
];
|
|
2617
|
+
}).s("AmazonInteractiveVideoService", "GetStream", {}).n("IvsClient", "GetStreamCommand").f(void 0, void 0).ser(se_GetStreamCommand).de(de_GetStreamCommand).build() {
|
|
2618
|
+
};
|
|
2619
|
+
__name(_GetStreamCommand, "GetStreamCommand");
|
|
2620
|
+
var GetStreamCommand = _GetStreamCommand;
|
|
2621
|
+
|
|
2622
|
+
// src/commands/GetStreamKeyCommand.ts
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
var _GetStreamKeyCommand = class _GetStreamKeyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2628
|
+
...commonParams
|
|
2629
|
+
}).m(function(Command, cs, config, o) {
|
|
2630
|
+
return [
|
|
2631
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2632
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2633
|
+
];
|
|
2634
|
+
}).s("AmazonInteractiveVideoService", "GetStreamKey", {}).n("IvsClient", "GetStreamKeyCommand").f(void 0, GetStreamKeyResponseFilterSensitiveLog).ser(se_GetStreamKeyCommand).de(de_GetStreamKeyCommand).build() {
|
|
2635
|
+
};
|
|
2636
|
+
__name(_GetStreamKeyCommand, "GetStreamKeyCommand");
|
|
2637
|
+
var GetStreamKeyCommand = _GetStreamKeyCommand;
|
|
2638
|
+
|
|
2639
|
+
// src/commands/GetStreamSessionCommand.ts
|
|
2640
|
+
|
|
2641
|
+
|
|
2642
|
+
|
|
2643
|
+
|
|
2644
|
+
var _GetStreamSessionCommand = class _GetStreamSessionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2645
|
+
...commonParams
|
|
2646
|
+
}).m(function(Command, cs, config, o) {
|
|
2647
|
+
return [
|
|
2648
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2649
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2650
|
+
];
|
|
2651
|
+
}).s("AmazonInteractiveVideoService", "GetStreamSession", {}).n("IvsClient", "GetStreamSessionCommand").f(void 0, void 0).ser(se_GetStreamSessionCommand).de(de_GetStreamSessionCommand).build() {
|
|
2652
|
+
};
|
|
2653
|
+
__name(_GetStreamSessionCommand, "GetStreamSessionCommand");
|
|
2654
|
+
var GetStreamSessionCommand = _GetStreamSessionCommand;
|
|
2655
|
+
|
|
2656
|
+
// src/commands/ImportPlaybackKeyPairCommand.ts
|
|
2657
|
+
|
|
2658
|
+
|
|
2659
|
+
|
|
2660
|
+
|
|
2661
|
+
var _ImportPlaybackKeyPairCommand = class _ImportPlaybackKeyPairCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2662
|
+
...commonParams
|
|
2663
|
+
}).m(function(Command, cs, config, o) {
|
|
2664
|
+
return [
|
|
2665
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2666
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2667
|
+
];
|
|
2668
|
+
}).s("AmazonInteractiveVideoService", "ImportPlaybackKeyPair", {}).n("IvsClient", "ImportPlaybackKeyPairCommand").f(void 0, void 0).ser(se_ImportPlaybackKeyPairCommand).de(de_ImportPlaybackKeyPairCommand).build() {
|
|
2669
|
+
};
|
|
2670
|
+
__name(_ImportPlaybackKeyPairCommand, "ImportPlaybackKeyPairCommand");
|
|
2671
|
+
var ImportPlaybackKeyPairCommand = _ImportPlaybackKeyPairCommand;
|
|
2672
|
+
|
|
2673
|
+
// src/commands/ListChannelsCommand.ts
|
|
2674
|
+
|
|
2675
|
+
|
|
2676
|
+
|
|
2677
|
+
|
|
2678
|
+
var _ListChannelsCommand = class _ListChannelsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2679
|
+
...commonParams
|
|
2680
|
+
}).m(function(Command, cs, config, o) {
|
|
2681
|
+
return [
|
|
2682
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2683
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2684
|
+
];
|
|
2685
|
+
}).s("AmazonInteractiveVideoService", "ListChannels", {}).n("IvsClient", "ListChannelsCommand").f(void 0, void 0).ser(se_ListChannelsCommand).de(de_ListChannelsCommand).build() {
|
|
2686
|
+
};
|
|
2687
|
+
__name(_ListChannelsCommand, "ListChannelsCommand");
|
|
2688
|
+
var ListChannelsCommand = _ListChannelsCommand;
|
|
2689
|
+
|
|
2690
|
+
// src/commands/ListPlaybackKeyPairsCommand.ts
|
|
2691
|
+
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
|
|
2695
|
+
var _ListPlaybackKeyPairsCommand = class _ListPlaybackKeyPairsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2696
|
+
...commonParams
|
|
2697
|
+
}).m(function(Command, cs, config, o) {
|
|
2698
|
+
return [
|
|
2699
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2700
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2701
|
+
];
|
|
2702
|
+
}).s("AmazonInteractiveVideoService", "ListPlaybackKeyPairs", {}).n("IvsClient", "ListPlaybackKeyPairsCommand").f(void 0, void 0).ser(se_ListPlaybackKeyPairsCommand).de(de_ListPlaybackKeyPairsCommand).build() {
|
|
2703
|
+
};
|
|
2704
|
+
__name(_ListPlaybackKeyPairsCommand, "ListPlaybackKeyPairsCommand");
|
|
2705
|
+
var ListPlaybackKeyPairsCommand = _ListPlaybackKeyPairsCommand;
|
|
2706
|
+
|
|
2707
|
+
// src/commands/ListRecordingConfigurationsCommand.ts
|
|
2708
|
+
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
|
|
2712
|
+
var _ListRecordingConfigurationsCommand = class _ListRecordingConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2713
|
+
...commonParams
|
|
2714
|
+
}).m(function(Command, cs, config, o) {
|
|
2715
|
+
return [
|
|
2716
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2717
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2718
|
+
];
|
|
2719
|
+
}).s("AmazonInteractiveVideoService", "ListRecordingConfigurations", {}).n("IvsClient", "ListRecordingConfigurationsCommand").f(void 0, void 0).ser(se_ListRecordingConfigurationsCommand).de(de_ListRecordingConfigurationsCommand).build() {
|
|
2720
|
+
};
|
|
2721
|
+
__name(_ListRecordingConfigurationsCommand, "ListRecordingConfigurationsCommand");
|
|
2722
|
+
var ListRecordingConfigurationsCommand = _ListRecordingConfigurationsCommand;
|
|
2723
|
+
|
|
2724
|
+
// src/commands/ListStreamKeysCommand.ts
|
|
2725
|
+
|
|
2726
|
+
|
|
2727
|
+
|
|
2728
|
+
|
|
2729
|
+
var _ListStreamKeysCommand = class _ListStreamKeysCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2730
|
+
...commonParams
|
|
2731
|
+
}).m(function(Command, cs, config, o) {
|
|
2732
|
+
return [
|
|
2733
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2734
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2735
|
+
];
|
|
2736
|
+
}).s("AmazonInteractiveVideoService", "ListStreamKeys", {}).n("IvsClient", "ListStreamKeysCommand").f(void 0, void 0).ser(se_ListStreamKeysCommand).de(de_ListStreamKeysCommand).build() {
|
|
2737
|
+
};
|
|
2738
|
+
__name(_ListStreamKeysCommand, "ListStreamKeysCommand");
|
|
2739
|
+
var ListStreamKeysCommand = _ListStreamKeysCommand;
|
|
2740
|
+
|
|
2741
|
+
// src/commands/ListStreamsCommand.ts
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
var _ListStreamsCommand = class _ListStreamsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2747
|
+
...commonParams
|
|
2748
|
+
}).m(function(Command, cs, config, o) {
|
|
2749
|
+
return [
|
|
2750
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2751
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2752
|
+
];
|
|
2753
|
+
}).s("AmazonInteractiveVideoService", "ListStreams", {}).n("IvsClient", "ListStreamsCommand").f(void 0, void 0).ser(se_ListStreamsCommand).de(de_ListStreamsCommand).build() {
|
|
2754
|
+
};
|
|
2755
|
+
__name(_ListStreamsCommand, "ListStreamsCommand");
|
|
2756
|
+
var ListStreamsCommand = _ListStreamsCommand;
|
|
2757
|
+
|
|
2758
|
+
// src/commands/ListStreamSessionsCommand.ts
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
var _ListStreamSessionsCommand = class _ListStreamSessionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2764
|
+
...commonParams
|
|
2765
|
+
}).m(function(Command, cs, config, o) {
|
|
2766
|
+
return [
|
|
2767
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2768
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2769
|
+
];
|
|
2770
|
+
}).s("AmazonInteractiveVideoService", "ListStreamSessions", {}).n("IvsClient", "ListStreamSessionsCommand").f(void 0, void 0).ser(se_ListStreamSessionsCommand).de(de_ListStreamSessionsCommand).build() {
|
|
2771
|
+
};
|
|
2772
|
+
__name(_ListStreamSessionsCommand, "ListStreamSessionsCommand");
|
|
2773
|
+
var ListStreamSessionsCommand = _ListStreamSessionsCommand;
|
|
2774
|
+
|
|
2775
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
2776
|
+
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2781
|
+
...commonParams
|
|
2782
|
+
}).m(function(Command, cs, config, o) {
|
|
2783
|
+
return [
|
|
2784
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2785
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2786
|
+
];
|
|
2787
|
+
}).s("AmazonInteractiveVideoService", "ListTagsForResource", {}).n("IvsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
2788
|
+
};
|
|
2789
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
2790
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
2791
|
+
|
|
2792
|
+
// src/commands/PutMetadataCommand.ts
|
|
2793
|
+
|
|
2794
|
+
|
|
2795
|
+
|
|
2796
|
+
|
|
2797
|
+
var _PutMetadataCommand = class _PutMetadataCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2798
|
+
...commonParams
|
|
2799
|
+
}).m(function(Command, cs, config, o) {
|
|
2800
|
+
return [
|
|
2801
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2802
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2803
|
+
];
|
|
2804
|
+
}).s("AmazonInteractiveVideoService", "PutMetadata", {}).n("IvsClient", "PutMetadataCommand").f(PutMetadataRequestFilterSensitiveLog, void 0).ser(se_PutMetadataCommand).de(de_PutMetadataCommand).build() {
|
|
2805
|
+
};
|
|
2806
|
+
__name(_PutMetadataCommand, "PutMetadataCommand");
|
|
2807
|
+
var PutMetadataCommand = _PutMetadataCommand;
|
|
2808
|
+
|
|
2809
|
+
// src/commands/StartViewerSessionRevocationCommand.ts
|
|
2810
|
+
|
|
2811
|
+
|
|
2812
|
+
|
|
2813
|
+
|
|
2814
|
+
var _StartViewerSessionRevocationCommand = class _StartViewerSessionRevocationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2815
|
+
...commonParams
|
|
2816
|
+
}).m(function(Command, cs, config, o) {
|
|
2817
|
+
return [
|
|
2818
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2819
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2820
|
+
];
|
|
2821
|
+
}).s("AmazonInteractiveVideoService", "StartViewerSessionRevocation", {}).n("IvsClient", "StartViewerSessionRevocationCommand").f(void 0, void 0).ser(se_StartViewerSessionRevocationCommand).de(de_StartViewerSessionRevocationCommand).build() {
|
|
2822
|
+
};
|
|
2823
|
+
__name(_StartViewerSessionRevocationCommand, "StartViewerSessionRevocationCommand");
|
|
2824
|
+
var StartViewerSessionRevocationCommand = _StartViewerSessionRevocationCommand;
|
|
2825
|
+
|
|
2826
|
+
// src/commands/StopStreamCommand.ts
|
|
2827
|
+
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
|
|
2831
|
+
var _StopStreamCommand = class _StopStreamCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2832
|
+
...commonParams
|
|
2833
|
+
}).m(function(Command, cs, config, o) {
|
|
2834
|
+
return [
|
|
2835
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2836
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2837
|
+
];
|
|
2838
|
+
}).s("AmazonInteractiveVideoService", "StopStream", {}).n("IvsClient", "StopStreamCommand").f(void 0, void 0).ser(se_StopStreamCommand).de(de_StopStreamCommand).build() {
|
|
2839
|
+
};
|
|
2840
|
+
__name(_StopStreamCommand, "StopStreamCommand");
|
|
2841
|
+
var StopStreamCommand = _StopStreamCommand;
|
|
2842
|
+
|
|
2843
|
+
// src/commands/TagResourceCommand.ts
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
|
|
2847
|
+
|
|
2848
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2849
|
+
...commonParams
|
|
2850
|
+
}).m(function(Command, cs, config, o) {
|
|
2851
|
+
return [
|
|
2852
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2853
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2854
|
+
];
|
|
2855
|
+
}).s("AmazonInteractiveVideoService", "TagResource", {}).n("IvsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
2856
|
+
};
|
|
2857
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
2858
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
2859
|
+
|
|
2860
|
+
// src/commands/UntagResourceCommand.ts
|
|
2861
|
+
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2866
|
+
...commonParams
|
|
2867
|
+
}).m(function(Command, cs, config, o) {
|
|
2868
|
+
return [
|
|
2869
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2870
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2871
|
+
];
|
|
2872
|
+
}).s("AmazonInteractiveVideoService", "UntagResource", {}).n("IvsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
2873
|
+
};
|
|
2874
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
2875
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
2876
|
+
|
|
2877
|
+
// src/commands/UpdateChannelCommand.ts
|
|
2878
|
+
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
|
|
2882
|
+
var _UpdateChannelCommand = class _UpdateChannelCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2883
|
+
...commonParams
|
|
2884
|
+
}).m(function(Command, cs, config, o) {
|
|
2885
|
+
return [
|
|
2886
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2887
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2888
|
+
];
|
|
2889
|
+
}).s("AmazonInteractiveVideoService", "UpdateChannel", {}).n("IvsClient", "UpdateChannelCommand").f(void 0, void 0).ser(se_UpdateChannelCommand).de(de_UpdateChannelCommand).build() {
|
|
2890
|
+
};
|
|
2891
|
+
__name(_UpdateChannelCommand, "UpdateChannelCommand");
|
|
2892
|
+
var UpdateChannelCommand = _UpdateChannelCommand;
|
|
2893
|
+
|
|
2894
|
+
// src/Ivs.ts
|
|
2895
|
+
var commands = {
|
|
2896
|
+
BatchGetChannelCommand,
|
|
2897
|
+
BatchGetStreamKeyCommand,
|
|
2898
|
+
BatchStartViewerSessionRevocationCommand,
|
|
2899
|
+
CreateChannelCommand,
|
|
2900
|
+
CreateRecordingConfigurationCommand,
|
|
2901
|
+
CreateStreamKeyCommand,
|
|
2902
|
+
DeleteChannelCommand,
|
|
2903
|
+
DeletePlaybackKeyPairCommand,
|
|
2904
|
+
DeleteRecordingConfigurationCommand,
|
|
2905
|
+
DeleteStreamKeyCommand,
|
|
2906
|
+
GetChannelCommand,
|
|
2907
|
+
GetPlaybackKeyPairCommand,
|
|
2908
|
+
GetRecordingConfigurationCommand,
|
|
2909
|
+
GetStreamCommand,
|
|
2910
|
+
GetStreamKeyCommand,
|
|
2911
|
+
GetStreamSessionCommand,
|
|
2912
|
+
ImportPlaybackKeyPairCommand,
|
|
2913
|
+
ListChannelsCommand,
|
|
2914
|
+
ListPlaybackKeyPairsCommand,
|
|
2915
|
+
ListRecordingConfigurationsCommand,
|
|
2916
|
+
ListStreamKeysCommand,
|
|
2917
|
+
ListStreamsCommand,
|
|
2918
|
+
ListStreamSessionsCommand,
|
|
2919
|
+
ListTagsForResourceCommand,
|
|
2920
|
+
PutMetadataCommand,
|
|
2921
|
+
StartViewerSessionRevocationCommand,
|
|
2922
|
+
StopStreamCommand,
|
|
2923
|
+
TagResourceCommand,
|
|
2924
|
+
UntagResourceCommand,
|
|
2925
|
+
UpdateChannelCommand
|
|
2926
|
+
};
|
|
2927
|
+
var _Ivs = class _Ivs extends IvsClient {
|
|
2928
|
+
};
|
|
2929
|
+
__name(_Ivs, "Ivs");
|
|
2930
|
+
var Ivs = _Ivs;
|
|
2931
|
+
(0, import_smithy_client.createAggregatedClient)(commands, Ivs);
|
|
2932
|
+
|
|
2933
|
+
// src/pagination/ListChannelsPaginator.ts
|
|
2934
|
+
|
|
2935
|
+
var paginateListChannels = (0, import_core.createPaginator)(IvsClient, ListChannelsCommand, "nextToken", "nextToken", "maxResults");
|
|
2936
|
+
|
|
2937
|
+
// src/pagination/ListPlaybackKeyPairsPaginator.ts
|
|
2938
|
+
|
|
2939
|
+
var paginateListPlaybackKeyPairs = (0, import_core.createPaginator)(IvsClient, ListPlaybackKeyPairsCommand, "nextToken", "nextToken", "maxResults");
|
|
2940
|
+
|
|
2941
|
+
// src/pagination/ListRecordingConfigurationsPaginator.ts
|
|
2942
|
+
|
|
2943
|
+
var paginateListRecordingConfigurations = (0, import_core.createPaginator)(IvsClient, ListRecordingConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
2944
|
+
|
|
2945
|
+
// src/pagination/ListStreamKeysPaginator.ts
|
|
2946
|
+
|
|
2947
|
+
var paginateListStreamKeys = (0, import_core.createPaginator)(IvsClient, ListStreamKeysCommand, "nextToken", "nextToken", "maxResults");
|
|
2948
|
+
|
|
2949
|
+
// src/pagination/ListStreamSessionsPaginator.ts
|
|
2950
|
+
|
|
2951
|
+
var paginateListStreamSessions = (0, import_core.createPaginator)(IvsClient, ListStreamSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
2952
|
+
|
|
2953
|
+
// src/pagination/ListStreamsPaginator.ts
|
|
2954
|
+
|
|
2955
|
+
var paginateListStreams = (0, import_core.createPaginator)(IvsClient, ListStreamsCommand, "nextToken", "nextToken", "maxResults");
|
|
2956
|
+
|
|
2957
|
+
// src/index.ts
|
|
2958
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
2959
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2960
|
+
0 && (module.exports = {
|
|
2961
|
+
AccessDeniedException,
|
|
2962
|
+
BatchGetChannelCommand,
|
|
2963
|
+
BatchGetStreamKeyCommand,
|
|
2964
|
+
BatchGetStreamKeyResponseFilterSensitiveLog,
|
|
2965
|
+
BatchStartViewerSessionRevocationCommand,
|
|
2966
|
+
ChannelLatencyMode,
|
|
2967
|
+
ChannelNotBroadcasting,
|
|
2968
|
+
ChannelType,
|
|
2969
|
+
ConflictException,
|
|
2970
|
+
CreateChannelCommand,
|
|
2971
|
+
CreateChannelResponseFilterSensitiveLog,
|
|
2972
|
+
CreateRecordingConfigurationCommand,
|
|
2973
|
+
CreateStreamKeyCommand,
|
|
2974
|
+
CreateStreamKeyResponseFilterSensitiveLog,
|
|
2975
|
+
DeleteChannelCommand,
|
|
2976
|
+
DeletePlaybackKeyPairCommand,
|
|
2977
|
+
DeleteRecordingConfigurationCommand,
|
|
2978
|
+
DeleteStreamKeyCommand,
|
|
2979
|
+
GetChannelCommand,
|
|
2980
|
+
GetPlaybackKeyPairCommand,
|
|
2981
|
+
GetRecordingConfigurationCommand,
|
|
2982
|
+
GetStreamCommand,
|
|
2983
|
+
GetStreamKeyCommand,
|
|
2984
|
+
GetStreamKeyResponseFilterSensitiveLog,
|
|
2985
|
+
GetStreamSessionCommand,
|
|
2986
|
+
ImportPlaybackKeyPairCommand,
|
|
2987
|
+
InternalServerException,
|
|
2988
|
+
Ivs,
|
|
2989
|
+
IvsClient,
|
|
2990
|
+
IvsServiceException,
|
|
2991
|
+
ListChannelsCommand,
|
|
2992
|
+
ListPlaybackKeyPairsCommand,
|
|
2993
|
+
ListRecordingConfigurationsCommand,
|
|
2994
|
+
ListStreamKeysCommand,
|
|
2995
|
+
ListStreamSessionsCommand,
|
|
2996
|
+
ListStreamsCommand,
|
|
2997
|
+
ListTagsForResourceCommand,
|
|
2998
|
+
PendingVerification,
|
|
2999
|
+
PutMetadataCommand,
|
|
3000
|
+
PutMetadataRequestFilterSensitiveLog,
|
|
3001
|
+
RecordingConfigurationState,
|
|
3002
|
+
RecordingMode,
|
|
3003
|
+
RenditionConfigurationRendition,
|
|
3004
|
+
RenditionConfigurationRenditionSelection,
|
|
3005
|
+
ResourceNotFoundException,
|
|
3006
|
+
ServiceQuotaExceededException,
|
|
3007
|
+
StartViewerSessionRevocationCommand,
|
|
3008
|
+
StopStreamCommand,
|
|
3009
|
+
StreamHealth,
|
|
3010
|
+
StreamKeyFilterSensitiveLog,
|
|
3011
|
+
StreamState,
|
|
3012
|
+
StreamUnavailable,
|
|
3013
|
+
TagResourceCommand,
|
|
3014
|
+
ThrottlingException,
|
|
3015
|
+
ThumbnailConfigurationResolution,
|
|
3016
|
+
ThumbnailConfigurationStorage,
|
|
3017
|
+
TranscodePreset,
|
|
3018
|
+
UntagResourceCommand,
|
|
3019
|
+
UpdateChannelCommand,
|
|
3020
|
+
ValidationException,
|
|
3021
|
+
__Client,
|
|
3022
|
+
paginateListChannels,
|
|
3023
|
+
paginateListPlaybackKeyPairs,
|
|
3024
|
+
paginateListRecordingConfigurations,
|
|
3025
|
+
paginateListStreamKeys,
|
|
3026
|
+
paginateListStreamSessions,
|
|
3027
|
+
paginateListStreams
|
|
3028
|
+
});
|