@aws-sdk/client-mediapackage 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +2893 -1330
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/MediaPackageClient.js +2 -0
- package/dist-es/commands/ConfigureLogsCommand.js +3 -10
- package/dist-es/commands/CreateChannelCommand.js +3 -10
- package/dist-es/commands/CreateHarvestJobCommand.js +3 -9
- package/dist-es/commands/CreateOriginEndpointCommand.js +3 -9
- package/dist-es/commands/DeleteChannelCommand.js +3 -9
- package/dist-es/commands/DeleteOriginEndpointCommand.js +3 -9
- package/dist-es/commands/DescribeChannelCommand.js +3 -10
- package/dist-es/commands/DescribeHarvestJobCommand.js +3 -9
- package/dist-es/commands/DescribeOriginEndpointCommand.js +3 -9
- package/dist-es/commands/ListChannelsCommand.js +3 -10
- package/dist-es/commands/ListHarvestJobsCommand.js +3 -9
- package/dist-es/commands/ListOriginEndpointsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/RotateChannelCredentialsCommand.js +3 -10
- package/dist-es/commands/RotateIngestEndpointCredentialsCommand.js +3 -10
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateChannelCommand.js +3 -10
- package/dist-es/commands/UpdateOriginEndpointCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -43
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2852 -0
- package/dist-types/MediaPackageClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -40
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +99 -0
- package/dist-types/ts3.4/MediaPackageClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -26
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +105 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -1140
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -173
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -233
|
@@ -1,1140 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { MediaPackageServiceException as __BaseException } from "../models/MediaPackageServiceException";
|
|
5
|
-
import { ForbiddenException, InternalServerErrorException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, UnprocessableEntityException, } from "../models/models_0";
|
|
6
|
-
export const se_ConfigureLogsCommand = async (input, context) => {
|
|
7
|
-
const b = rb(input, context);
|
|
8
|
-
const headers = {
|
|
9
|
-
"content-type": "application/json",
|
|
10
|
-
};
|
|
11
|
-
b.bp("/channels/{Id}/configure_logs");
|
|
12
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
13
|
-
let body;
|
|
14
|
-
body = JSON.stringify(take(input, {
|
|
15
|
-
egressAccessLogs: [, (_) => se_EgressAccessLogs(_, context), `EgressAccessLogs`],
|
|
16
|
-
ingressAccessLogs: [, (_) => se_IngressAccessLogs(_, context), `IngressAccessLogs`],
|
|
17
|
-
}));
|
|
18
|
-
b.m("PUT").h(headers).b(body);
|
|
19
|
-
return b.build();
|
|
20
|
-
};
|
|
21
|
-
export const se_CreateChannelCommand = async (input, context) => {
|
|
22
|
-
const b = rb(input, context);
|
|
23
|
-
const headers = {
|
|
24
|
-
"content-type": "application/json",
|
|
25
|
-
};
|
|
26
|
-
b.bp("/channels");
|
|
27
|
-
let body;
|
|
28
|
-
body = JSON.stringify(take(input, {
|
|
29
|
-
description: [, , `Description`],
|
|
30
|
-
id: [, , `Id`],
|
|
31
|
-
tags: [, (_) => _json(_), `Tags`],
|
|
32
|
-
}));
|
|
33
|
-
b.m("POST").h(headers).b(body);
|
|
34
|
-
return b.build();
|
|
35
|
-
};
|
|
36
|
-
export const se_CreateHarvestJobCommand = async (input, context) => {
|
|
37
|
-
const b = rb(input, context);
|
|
38
|
-
const headers = {
|
|
39
|
-
"content-type": "application/json",
|
|
40
|
-
};
|
|
41
|
-
b.bp("/harvest_jobs");
|
|
42
|
-
let body;
|
|
43
|
-
body = JSON.stringify(take(input, {
|
|
44
|
-
endTime: [, , `EndTime`],
|
|
45
|
-
id: [, , `Id`],
|
|
46
|
-
originEndpointId: [, , `OriginEndpointId`],
|
|
47
|
-
s3Destination: [, (_) => se_S3Destination(_, context), `S3Destination`],
|
|
48
|
-
startTime: [, , `StartTime`],
|
|
49
|
-
}));
|
|
50
|
-
b.m("POST").h(headers).b(body);
|
|
51
|
-
return b.build();
|
|
52
|
-
};
|
|
53
|
-
export const se_CreateOriginEndpointCommand = async (input, context) => {
|
|
54
|
-
const b = rb(input, context);
|
|
55
|
-
const headers = {
|
|
56
|
-
"content-type": "application/json",
|
|
57
|
-
};
|
|
58
|
-
b.bp("/origin_endpoints");
|
|
59
|
-
let body;
|
|
60
|
-
body = JSON.stringify(take(input, {
|
|
61
|
-
authorization: [, (_) => se_Authorization(_, context), `Authorization`],
|
|
62
|
-
channelId: [, , `ChannelId`],
|
|
63
|
-
cmafPackage: [, (_) => se_CmafPackageCreateOrUpdateParameters(_, context), `CmafPackage`],
|
|
64
|
-
dashPackage: [, (_) => se_DashPackage(_, context), `DashPackage`],
|
|
65
|
-
description: [, , `Description`],
|
|
66
|
-
hlsPackage: [, (_) => se_HlsPackage(_, context), `HlsPackage`],
|
|
67
|
-
id: [, , `Id`],
|
|
68
|
-
manifestName: [, , `ManifestName`],
|
|
69
|
-
mssPackage: [, (_) => se_MssPackage(_, context), `MssPackage`],
|
|
70
|
-
origination: [, , `Origination`],
|
|
71
|
-
startoverWindowSeconds: [, , `StartoverWindowSeconds`],
|
|
72
|
-
tags: [, (_) => _json(_), `Tags`],
|
|
73
|
-
timeDelaySeconds: [, , `TimeDelaySeconds`],
|
|
74
|
-
whitelist: [, (_) => _json(_), `Whitelist`],
|
|
75
|
-
}));
|
|
76
|
-
b.m("POST").h(headers).b(body);
|
|
77
|
-
return b.build();
|
|
78
|
-
};
|
|
79
|
-
export const se_DeleteChannelCommand = async (input, context) => {
|
|
80
|
-
const b = rb(input, context);
|
|
81
|
-
const headers = {};
|
|
82
|
-
b.bp("/channels/{Id}");
|
|
83
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
84
|
-
let body;
|
|
85
|
-
b.m("DELETE").h(headers).b(body);
|
|
86
|
-
return b.build();
|
|
87
|
-
};
|
|
88
|
-
export const se_DeleteOriginEndpointCommand = async (input, context) => {
|
|
89
|
-
const b = rb(input, context);
|
|
90
|
-
const headers = {};
|
|
91
|
-
b.bp("/origin_endpoints/{Id}");
|
|
92
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
93
|
-
let body;
|
|
94
|
-
b.m("DELETE").h(headers).b(body);
|
|
95
|
-
return b.build();
|
|
96
|
-
};
|
|
97
|
-
export const se_DescribeChannelCommand = async (input, context) => {
|
|
98
|
-
const b = rb(input, context);
|
|
99
|
-
const headers = {};
|
|
100
|
-
b.bp("/channels/{Id}");
|
|
101
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
102
|
-
let body;
|
|
103
|
-
b.m("GET").h(headers).b(body);
|
|
104
|
-
return b.build();
|
|
105
|
-
};
|
|
106
|
-
export const se_DescribeHarvestJobCommand = async (input, context) => {
|
|
107
|
-
const b = rb(input, context);
|
|
108
|
-
const headers = {};
|
|
109
|
-
b.bp("/harvest_jobs/{Id}");
|
|
110
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
111
|
-
let body;
|
|
112
|
-
b.m("GET").h(headers).b(body);
|
|
113
|
-
return b.build();
|
|
114
|
-
};
|
|
115
|
-
export const se_DescribeOriginEndpointCommand = async (input, context) => {
|
|
116
|
-
const b = rb(input, context);
|
|
117
|
-
const headers = {};
|
|
118
|
-
b.bp("/origin_endpoints/{Id}");
|
|
119
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
120
|
-
let body;
|
|
121
|
-
b.m("GET").h(headers).b(body);
|
|
122
|
-
return b.build();
|
|
123
|
-
};
|
|
124
|
-
export const se_ListChannelsCommand = async (input, context) => {
|
|
125
|
-
const b = rb(input, context);
|
|
126
|
-
const headers = {};
|
|
127
|
-
b.bp("/channels");
|
|
128
|
-
const query = map({
|
|
129
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
130
|
-
[_nT]: [, input[_NT]],
|
|
131
|
-
});
|
|
132
|
-
let body;
|
|
133
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
134
|
-
return b.build();
|
|
135
|
-
};
|
|
136
|
-
export const se_ListHarvestJobsCommand = async (input, context) => {
|
|
137
|
-
const b = rb(input, context);
|
|
138
|
-
const headers = {};
|
|
139
|
-
b.bp("/harvest_jobs");
|
|
140
|
-
const query = map({
|
|
141
|
-
[_iCI]: [, input[_ICI]],
|
|
142
|
-
[_iS]: [, input[_IS]],
|
|
143
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
144
|
-
[_nT]: [, input[_NT]],
|
|
145
|
-
});
|
|
146
|
-
let body;
|
|
147
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
148
|
-
return b.build();
|
|
149
|
-
};
|
|
150
|
-
export const se_ListOriginEndpointsCommand = async (input, context) => {
|
|
151
|
-
const b = rb(input, context);
|
|
152
|
-
const headers = {};
|
|
153
|
-
b.bp("/origin_endpoints");
|
|
154
|
-
const query = map({
|
|
155
|
-
[_cI]: [, input[_CI]],
|
|
156
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
157
|
-
[_nT]: [, input[_NT]],
|
|
158
|
-
});
|
|
159
|
-
let body;
|
|
160
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
161
|
-
return b.build();
|
|
162
|
-
};
|
|
163
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
164
|
-
const b = rb(input, context);
|
|
165
|
-
const headers = {};
|
|
166
|
-
b.bp("/tags/{ResourceArn}");
|
|
167
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
168
|
-
let body;
|
|
169
|
-
b.m("GET").h(headers).b(body);
|
|
170
|
-
return b.build();
|
|
171
|
-
};
|
|
172
|
-
export const se_RotateChannelCredentialsCommand = async (input, context) => {
|
|
173
|
-
const b = rb(input, context);
|
|
174
|
-
const headers = {};
|
|
175
|
-
b.bp("/channels/{Id}/credentials");
|
|
176
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
177
|
-
let body;
|
|
178
|
-
b.m("PUT").h(headers).b(body);
|
|
179
|
-
return b.build();
|
|
180
|
-
};
|
|
181
|
-
export const se_RotateIngestEndpointCredentialsCommand = async (input, context) => {
|
|
182
|
-
const b = rb(input, context);
|
|
183
|
-
const headers = {};
|
|
184
|
-
b.bp("/channels/{Id}/ingest_endpoints/{IngestEndpointId}/credentials");
|
|
185
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
186
|
-
b.p("IngestEndpointId", () => input.IngestEndpointId, "{IngestEndpointId}", false);
|
|
187
|
-
let body;
|
|
188
|
-
b.m("PUT").h(headers).b(body);
|
|
189
|
-
return b.build();
|
|
190
|
-
};
|
|
191
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
192
|
-
const b = rb(input, context);
|
|
193
|
-
const headers = {
|
|
194
|
-
"content-type": "application/json",
|
|
195
|
-
};
|
|
196
|
-
b.bp("/tags/{ResourceArn}");
|
|
197
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
198
|
-
let body;
|
|
199
|
-
body = JSON.stringify(take(input, {
|
|
200
|
-
tags: [, (_) => _json(_), `Tags`],
|
|
201
|
-
}));
|
|
202
|
-
b.m("POST").h(headers).b(body);
|
|
203
|
-
return b.build();
|
|
204
|
-
};
|
|
205
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
206
|
-
const b = rb(input, context);
|
|
207
|
-
const headers = {};
|
|
208
|
-
b.bp("/tags/{ResourceArn}");
|
|
209
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
210
|
-
const query = map({
|
|
211
|
-
[_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
212
|
-
});
|
|
213
|
-
let body;
|
|
214
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
215
|
-
return b.build();
|
|
216
|
-
};
|
|
217
|
-
export const se_UpdateChannelCommand = async (input, context) => {
|
|
218
|
-
const b = rb(input, context);
|
|
219
|
-
const headers = {
|
|
220
|
-
"content-type": "application/json",
|
|
221
|
-
};
|
|
222
|
-
b.bp("/channels/{Id}");
|
|
223
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
224
|
-
let body;
|
|
225
|
-
body = JSON.stringify(take(input, {
|
|
226
|
-
description: [, , `Description`],
|
|
227
|
-
}));
|
|
228
|
-
b.m("PUT").h(headers).b(body);
|
|
229
|
-
return b.build();
|
|
230
|
-
};
|
|
231
|
-
export const se_UpdateOriginEndpointCommand = async (input, context) => {
|
|
232
|
-
const b = rb(input, context);
|
|
233
|
-
const headers = {
|
|
234
|
-
"content-type": "application/json",
|
|
235
|
-
};
|
|
236
|
-
b.bp("/origin_endpoints/{Id}");
|
|
237
|
-
b.p("Id", () => input.Id, "{Id}", false);
|
|
238
|
-
let body;
|
|
239
|
-
body = JSON.stringify(take(input, {
|
|
240
|
-
authorization: [, (_) => se_Authorization(_, context), `Authorization`],
|
|
241
|
-
cmafPackage: [, (_) => se_CmafPackageCreateOrUpdateParameters(_, context), `CmafPackage`],
|
|
242
|
-
dashPackage: [, (_) => se_DashPackage(_, context), `DashPackage`],
|
|
243
|
-
description: [, , `Description`],
|
|
244
|
-
hlsPackage: [, (_) => se_HlsPackage(_, context), `HlsPackage`],
|
|
245
|
-
manifestName: [, , `ManifestName`],
|
|
246
|
-
mssPackage: [, (_) => se_MssPackage(_, context), `MssPackage`],
|
|
247
|
-
origination: [, , `Origination`],
|
|
248
|
-
startoverWindowSeconds: [, , `StartoverWindowSeconds`],
|
|
249
|
-
timeDelaySeconds: [, , `TimeDelaySeconds`],
|
|
250
|
-
whitelist: [, (_) => _json(_), `Whitelist`],
|
|
251
|
-
}));
|
|
252
|
-
b.m("PUT").h(headers).b(body);
|
|
253
|
-
return b.build();
|
|
254
|
-
};
|
|
255
|
-
export const de_ConfigureLogsCommand = async (output, context) => {
|
|
256
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
257
|
-
return de_CommandError(output, context);
|
|
258
|
-
}
|
|
259
|
-
const contents = map({
|
|
260
|
-
$metadata: deserializeMetadata(output),
|
|
261
|
-
});
|
|
262
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
263
|
-
const doc = take(data, {
|
|
264
|
-
Arn: [, __expectString, `arn`],
|
|
265
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
266
|
-
Description: [, __expectString, `description`],
|
|
267
|
-
EgressAccessLogs: [, (_) => de_EgressAccessLogs(_, context), `egressAccessLogs`],
|
|
268
|
-
HlsIngest: [, (_) => de_HlsIngest(_, context), `hlsIngest`],
|
|
269
|
-
Id: [, __expectString, `id`],
|
|
270
|
-
IngressAccessLogs: [, (_) => de_IngressAccessLogs(_, context), `ingressAccessLogs`],
|
|
271
|
-
Tags: [, _json, `tags`],
|
|
272
|
-
});
|
|
273
|
-
Object.assign(contents, doc);
|
|
274
|
-
return contents;
|
|
275
|
-
};
|
|
276
|
-
export const de_CreateChannelCommand = async (output, context) => {
|
|
277
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
278
|
-
return de_CommandError(output, context);
|
|
279
|
-
}
|
|
280
|
-
const contents = map({
|
|
281
|
-
$metadata: deserializeMetadata(output),
|
|
282
|
-
});
|
|
283
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
284
|
-
const doc = take(data, {
|
|
285
|
-
Arn: [, __expectString, `arn`],
|
|
286
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
287
|
-
Description: [, __expectString, `description`],
|
|
288
|
-
EgressAccessLogs: [, (_) => de_EgressAccessLogs(_, context), `egressAccessLogs`],
|
|
289
|
-
HlsIngest: [, (_) => de_HlsIngest(_, context), `hlsIngest`],
|
|
290
|
-
Id: [, __expectString, `id`],
|
|
291
|
-
IngressAccessLogs: [, (_) => de_IngressAccessLogs(_, context), `ingressAccessLogs`],
|
|
292
|
-
Tags: [, _json, `tags`],
|
|
293
|
-
});
|
|
294
|
-
Object.assign(contents, doc);
|
|
295
|
-
return contents;
|
|
296
|
-
};
|
|
297
|
-
export const de_CreateHarvestJobCommand = async (output, context) => {
|
|
298
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
299
|
-
return de_CommandError(output, context);
|
|
300
|
-
}
|
|
301
|
-
const contents = map({
|
|
302
|
-
$metadata: deserializeMetadata(output),
|
|
303
|
-
});
|
|
304
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
305
|
-
const doc = take(data, {
|
|
306
|
-
Arn: [, __expectString, `arn`],
|
|
307
|
-
ChannelId: [, __expectString, `channelId`],
|
|
308
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
309
|
-
EndTime: [, __expectString, `endTime`],
|
|
310
|
-
Id: [, __expectString, `id`],
|
|
311
|
-
OriginEndpointId: [, __expectString, `originEndpointId`],
|
|
312
|
-
S3Destination: [, (_) => de_S3Destination(_, context), `s3Destination`],
|
|
313
|
-
StartTime: [, __expectString, `startTime`],
|
|
314
|
-
Status: [, __expectString, `status`],
|
|
315
|
-
});
|
|
316
|
-
Object.assign(contents, doc);
|
|
317
|
-
return contents;
|
|
318
|
-
};
|
|
319
|
-
export const de_CreateOriginEndpointCommand = async (output, context) => {
|
|
320
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
321
|
-
return de_CommandError(output, context);
|
|
322
|
-
}
|
|
323
|
-
const contents = map({
|
|
324
|
-
$metadata: deserializeMetadata(output),
|
|
325
|
-
});
|
|
326
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
327
|
-
const doc = take(data, {
|
|
328
|
-
Arn: [, __expectString, `arn`],
|
|
329
|
-
Authorization: [, (_) => de_Authorization(_, context), `authorization`],
|
|
330
|
-
ChannelId: [, __expectString, `channelId`],
|
|
331
|
-
CmafPackage: [, (_) => de_CmafPackage(_, context), `cmafPackage`],
|
|
332
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
333
|
-
DashPackage: [, (_) => de_DashPackage(_, context), `dashPackage`],
|
|
334
|
-
Description: [, __expectString, `description`],
|
|
335
|
-
HlsPackage: [, (_) => de_HlsPackage(_, context), `hlsPackage`],
|
|
336
|
-
Id: [, __expectString, `id`],
|
|
337
|
-
ManifestName: [, __expectString, `manifestName`],
|
|
338
|
-
MssPackage: [, (_) => de_MssPackage(_, context), `mssPackage`],
|
|
339
|
-
Origination: [, __expectString, `origination`],
|
|
340
|
-
StartoverWindowSeconds: [, __expectInt32, `startoverWindowSeconds`],
|
|
341
|
-
Tags: [, _json, `tags`],
|
|
342
|
-
TimeDelaySeconds: [, __expectInt32, `timeDelaySeconds`],
|
|
343
|
-
Url: [, __expectString, `url`],
|
|
344
|
-
Whitelist: [, _json, `whitelist`],
|
|
345
|
-
});
|
|
346
|
-
Object.assign(contents, doc);
|
|
347
|
-
return contents;
|
|
348
|
-
};
|
|
349
|
-
export const de_DeleteChannelCommand = async (output, context) => {
|
|
350
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
351
|
-
return de_CommandError(output, context);
|
|
352
|
-
}
|
|
353
|
-
const contents = map({
|
|
354
|
-
$metadata: deserializeMetadata(output),
|
|
355
|
-
});
|
|
356
|
-
await collectBody(output.body, context);
|
|
357
|
-
return contents;
|
|
358
|
-
};
|
|
359
|
-
export const de_DeleteOriginEndpointCommand = async (output, context) => {
|
|
360
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
361
|
-
return de_CommandError(output, context);
|
|
362
|
-
}
|
|
363
|
-
const contents = map({
|
|
364
|
-
$metadata: deserializeMetadata(output),
|
|
365
|
-
});
|
|
366
|
-
await collectBody(output.body, context);
|
|
367
|
-
return contents;
|
|
368
|
-
};
|
|
369
|
-
export const de_DescribeChannelCommand = async (output, context) => {
|
|
370
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
371
|
-
return de_CommandError(output, context);
|
|
372
|
-
}
|
|
373
|
-
const contents = map({
|
|
374
|
-
$metadata: deserializeMetadata(output),
|
|
375
|
-
});
|
|
376
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
377
|
-
const doc = take(data, {
|
|
378
|
-
Arn: [, __expectString, `arn`],
|
|
379
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
380
|
-
Description: [, __expectString, `description`],
|
|
381
|
-
EgressAccessLogs: [, (_) => de_EgressAccessLogs(_, context), `egressAccessLogs`],
|
|
382
|
-
HlsIngest: [, (_) => de_HlsIngest(_, context), `hlsIngest`],
|
|
383
|
-
Id: [, __expectString, `id`],
|
|
384
|
-
IngressAccessLogs: [, (_) => de_IngressAccessLogs(_, context), `ingressAccessLogs`],
|
|
385
|
-
Tags: [, _json, `tags`],
|
|
386
|
-
});
|
|
387
|
-
Object.assign(contents, doc);
|
|
388
|
-
return contents;
|
|
389
|
-
};
|
|
390
|
-
export const de_DescribeHarvestJobCommand = async (output, context) => {
|
|
391
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
392
|
-
return de_CommandError(output, context);
|
|
393
|
-
}
|
|
394
|
-
const contents = map({
|
|
395
|
-
$metadata: deserializeMetadata(output),
|
|
396
|
-
});
|
|
397
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
398
|
-
const doc = take(data, {
|
|
399
|
-
Arn: [, __expectString, `arn`],
|
|
400
|
-
ChannelId: [, __expectString, `channelId`],
|
|
401
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
402
|
-
EndTime: [, __expectString, `endTime`],
|
|
403
|
-
Id: [, __expectString, `id`],
|
|
404
|
-
OriginEndpointId: [, __expectString, `originEndpointId`],
|
|
405
|
-
S3Destination: [, (_) => de_S3Destination(_, context), `s3Destination`],
|
|
406
|
-
StartTime: [, __expectString, `startTime`],
|
|
407
|
-
Status: [, __expectString, `status`],
|
|
408
|
-
});
|
|
409
|
-
Object.assign(contents, doc);
|
|
410
|
-
return contents;
|
|
411
|
-
};
|
|
412
|
-
export const de_DescribeOriginEndpointCommand = async (output, context) => {
|
|
413
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
414
|
-
return de_CommandError(output, context);
|
|
415
|
-
}
|
|
416
|
-
const contents = map({
|
|
417
|
-
$metadata: deserializeMetadata(output),
|
|
418
|
-
});
|
|
419
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
420
|
-
const doc = take(data, {
|
|
421
|
-
Arn: [, __expectString, `arn`],
|
|
422
|
-
Authorization: [, (_) => de_Authorization(_, context), `authorization`],
|
|
423
|
-
ChannelId: [, __expectString, `channelId`],
|
|
424
|
-
CmafPackage: [, (_) => de_CmafPackage(_, context), `cmafPackage`],
|
|
425
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
426
|
-
DashPackage: [, (_) => de_DashPackage(_, context), `dashPackage`],
|
|
427
|
-
Description: [, __expectString, `description`],
|
|
428
|
-
HlsPackage: [, (_) => de_HlsPackage(_, context), `hlsPackage`],
|
|
429
|
-
Id: [, __expectString, `id`],
|
|
430
|
-
ManifestName: [, __expectString, `manifestName`],
|
|
431
|
-
MssPackage: [, (_) => de_MssPackage(_, context), `mssPackage`],
|
|
432
|
-
Origination: [, __expectString, `origination`],
|
|
433
|
-
StartoverWindowSeconds: [, __expectInt32, `startoverWindowSeconds`],
|
|
434
|
-
Tags: [, _json, `tags`],
|
|
435
|
-
TimeDelaySeconds: [, __expectInt32, `timeDelaySeconds`],
|
|
436
|
-
Url: [, __expectString, `url`],
|
|
437
|
-
Whitelist: [, _json, `whitelist`],
|
|
438
|
-
});
|
|
439
|
-
Object.assign(contents, doc);
|
|
440
|
-
return contents;
|
|
441
|
-
};
|
|
442
|
-
export const de_ListChannelsCommand = async (output, context) => {
|
|
443
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
444
|
-
return de_CommandError(output, context);
|
|
445
|
-
}
|
|
446
|
-
const contents = map({
|
|
447
|
-
$metadata: deserializeMetadata(output),
|
|
448
|
-
});
|
|
449
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
450
|
-
const doc = take(data, {
|
|
451
|
-
Channels: [, (_) => de___listOfChannel(_, context), `channels`],
|
|
452
|
-
NextToken: [, __expectString, `nextToken`],
|
|
453
|
-
});
|
|
454
|
-
Object.assign(contents, doc);
|
|
455
|
-
return contents;
|
|
456
|
-
};
|
|
457
|
-
export const de_ListHarvestJobsCommand = async (output, context) => {
|
|
458
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
459
|
-
return de_CommandError(output, context);
|
|
460
|
-
}
|
|
461
|
-
const contents = map({
|
|
462
|
-
$metadata: deserializeMetadata(output),
|
|
463
|
-
});
|
|
464
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
465
|
-
const doc = take(data, {
|
|
466
|
-
HarvestJobs: [, (_) => de___listOfHarvestJob(_, context), `harvestJobs`],
|
|
467
|
-
NextToken: [, __expectString, `nextToken`],
|
|
468
|
-
});
|
|
469
|
-
Object.assign(contents, doc);
|
|
470
|
-
return contents;
|
|
471
|
-
};
|
|
472
|
-
export const de_ListOriginEndpointsCommand = async (output, context) => {
|
|
473
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
474
|
-
return de_CommandError(output, context);
|
|
475
|
-
}
|
|
476
|
-
const contents = map({
|
|
477
|
-
$metadata: deserializeMetadata(output),
|
|
478
|
-
});
|
|
479
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
480
|
-
const doc = take(data, {
|
|
481
|
-
NextToken: [, __expectString, `nextToken`],
|
|
482
|
-
OriginEndpoints: [, (_) => de___listOfOriginEndpoint(_, context), `originEndpoints`],
|
|
483
|
-
});
|
|
484
|
-
Object.assign(contents, doc);
|
|
485
|
-
return contents;
|
|
486
|
-
};
|
|
487
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
488
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
489
|
-
return de_CommandError(output, context);
|
|
490
|
-
}
|
|
491
|
-
const contents = map({
|
|
492
|
-
$metadata: deserializeMetadata(output),
|
|
493
|
-
});
|
|
494
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
495
|
-
const doc = take(data, {
|
|
496
|
-
Tags: [, _json, `tags`],
|
|
497
|
-
});
|
|
498
|
-
Object.assign(contents, doc);
|
|
499
|
-
return contents;
|
|
500
|
-
};
|
|
501
|
-
export const de_RotateChannelCredentialsCommand = async (output, context) => {
|
|
502
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
503
|
-
return de_CommandError(output, context);
|
|
504
|
-
}
|
|
505
|
-
const contents = map({
|
|
506
|
-
$metadata: deserializeMetadata(output),
|
|
507
|
-
});
|
|
508
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
509
|
-
const doc = take(data, {
|
|
510
|
-
Arn: [, __expectString, `arn`],
|
|
511
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
512
|
-
Description: [, __expectString, `description`],
|
|
513
|
-
EgressAccessLogs: [, (_) => de_EgressAccessLogs(_, context), `egressAccessLogs`],
|
|
514
|
-
HlsIngest: [, (_) => de_HlsIngest(_, context), `hlsIngest`],
|
|
515
|
-
Id: [, __expectString, `id`],
|
|
516
|
-
IngressAccessLogs: [, (_) => de_IngressAccessLogs(_, context), `ingressAccessLogs`],
|
|
517
|
-
Tags: [, _json, `tags`],
|
|
518
|
-
});
|
|
519
|
-
Object.assign(contents, doc);
|
|
520
|
-
return contents;
|
|
521
|
-
};
|
|
522
|
-
export const de_RotateIngestEndpointCredentialsCommand = async (output, context) => {
|
|
523
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
524
|
-
return de_CommandError(output, context);
|
|
525
|
-
}
|
|
526
|
-
const contents = map({
|
|
527
|
-
$metadata: deserializeMetadata(output),
|
|
528
|
-
});
|
|
529
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
530
|
-
const doc = take(data, {
|
|
531
|
-
Arn: [, __expectString, `arn`],
|
|
532
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
533
|
-
Description: [, __expectString, `description`],
|
|
534
|
-
EgressAccessLogs: [, (_) => de_EgressAccessLogs(_, context), `egressAccessLogs`],
|
|
535
|
-
HlsIngest: [, (_) => de_HlsIngest(_, context), `hlsIngest`],
|
|
536
|
-
Id: [, __expectString, `id`],
|
|
537
|
-
IngressAccessLogs: [, (_) => de_IngressAccessLogs(_, context), `ingressAccessLogs`],
|
|
538
|
-
Tags: [, _json, `tags`],
|
|
539
|
-
});
|
|
540
|
-
Object.assign(contents, doc);
|
|
541
|
-
return contents;
|
|
542
|
-
};
|
|
543
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
544
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
545
|
-
return de_CommandError(output, context);
|
|
546
|
-
}
|
|
547
|
-
const contents = map({
|
|
548
|
-
$metadata: deserializeMetadata(output),
|
|
549
|
-
});
|
|
550
|
-
await collectBody(output.body, context);
|
|
551
|
-
return contents;
|
|
552
|
-
};
|
|
553
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
554
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
555
|
-
return de_CommandError(output, context);
|
|
556
|
-
}
|
|
557
|
-
const contents = map({
|
|
558
|
-
$metadata: deserializeMetadata(output),
|
|
559
|
-
});
|
|
560
|
-
await collectBody(output.body, context);
|
|
561
|
-
return contents;
|
|
562
|
-
};
|
|
563
|
-
export const de_UpdateChannelCommand = async (output, context) => {
|
|
564
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
565
|
-
return de_CommandError(output, context);
|
|
566
|
-
}
|
|
567
|
-
const contents = map({
|
|
568
|
-
$metadata: deserializeMetadata(output),
|
|
569
|
-
});
|
|
570
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
571
|
-
const doc = take(data, {
|
|
572
|
-
Arn: [, __expectString, `arn`],
|
|
573
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
574
|
-
Description: [, __expectString, `description`],
|
|
575
|
-
EgressAccessLogs: [, (_) => de_EgressAccessLogs(_, context), `egressAccessLogs`],
|
|
576
|
-
HlsIngest: [, (_) => de_HlsIngest(_, context), `hlsIngest`],
|
|
577
|
-
Id: [, __expectString, `id`],
|
|
578
|
-
IngressAccessLogs: [, (_) => de_IngressAccessLogs(_, context), `ingressAccessLogs`],
|
|
579
|
-
Tags: [, _json, `tags`],
|
|
580
|
-
});
|
|
581
|
-
Object.assign(contents, doc);
|
|
582
|
-
return contents;
|
|
583
|
-
};
|
|
584
|
-
export const de_UpdateOriginEndpointCommand = async (output, context) => {
|
|
585
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
586
|
-
return de_CommandError(output, context);
|
|
587
|
-
}
|
|
588
|
-
const contents = map({
|
|
589
|
-
$metadata: deserializeMetadata(output),
|
|
590
|
-
});
|
|
591
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
592
|
-
const doc = take(data, {
|
|
593
|
-
Arn: [, __expectString, `arn`],
|
|
594
|
-
Authorization: [, (_) => de_Authorization(_, context), `authorization`],
|
|
595
|
-
ChannelId: [, __expectString, `channelId`],
|
|
596
|
-
CmafPackage: [, (_) => de_CmafPackage(_, context), `cmafPackage`],
|
|
597
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
598
|
-
DashPackage: [, (_) => de_DashPackage(_, context), `dashPackage`],
|
|
599
|
-
Description: [, __expectString, `description`],
|
|
600
|
-
HlsPackage: [, (_) => de_HlsPackage(_, context), `hlsPackage`],
|
|
601
|
-
Id: [, __expectString, `id`],
|
|
602
|
-
ManifestName: [, __expectString, `manifestName`],
|
|
603
|
-
MssPackage: [, (_) => de_MssPackage(_, context), `mssPackage`],
|
|
604
|
-
Origination: [, __expectString, `origination`],
|
|
605
|
-
StartoverWindowSeconds: [, __expectInt32, `startoverWindowSeconds`],
|
|
606
|
-
Tags: [, _json, `tags`],
|
|
607
|
-
TimeDelaySeconds: [, __expectInt32, `timeDelaySeconds`],
|
|
608
|
-
Url: [, __expectString, `url`],
|
|
609
|
-
Whitelist: [, _json, `whitelist`],
|
|
610
|
-
});
|
|
611
|
-
Object.assign(contents, doc);
|
|
612
|
-
return contents;
|
|
613
|
-
};
|
|
614
|
-
const de_CommandError = async (output, context) => {
|
|
615
|
-
const parsedOutput = {
|
|
616
|
-
...output,
|
|
617
|
-
body: await parseErrorBody(output.body, context),
|
|
618
|
-
};
|
|
619
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
620
|
-
switch (errorCode) {
|
|
621
|
-
case "ForbiddenException":
|
|
622
|
-
case "com.amazonaws.mediapackage#ForbiddenException":
|
|
623
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
624
|
-
case "InternalServerErrorException":
|
|
625
|
-
case "com.amazonaws.mediapackage#InternalServerErrorException":
|
|
626
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
627
|
-
case "NotFoundException":
|
|
628
|
-
case "com.amazonaws.mediapackage#NotFoundException":
|
|
629
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
630
|
-
case "ServiceUnavailableException":
|
|
631
|
-
case "com.amazonaws.mediapackage#ServiceUnavailableException":
|
|
632
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
633
|
-
case "TooManyRequestsException":
|
|
634
|
-
case "com.amazonaws.mediapackage#TooManyRequestsException":
|
|
635
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
636
|
-
case "UnprocessableEntityException":
|
|
637
|
-
case "com.amazonaws.mediapackage#UnprocessableEntityException":
|
|
638
|
-
throw await de_UnprocessableEntityExceptionRes(parsedOutput, context);
|
|
639
|
-
default:
|
|
640
|
-
const parsedBody = parsedOutput.body;
|
|
641
|
-
return throwDefaultError({
|
|
642
|
-
output,
|
|
643
|
-
parsedBody,
|
|
644
|
-
errorCode,
|
|
645
|
-
});
|
|
646
|
-
}
|
|
647
|
-
};
|
|
648
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
649
|
-
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
650
|
-
const contents = map({});
|
|
651
|
-
const data = parsedOutput.body;
|
|
652
|
-
const doc = take(data, {
|
|
653
|
-
Message: [, __expectString, `message`],
|
|
654
|
-
});
|
|
655
|
-
Object.assign(contents, doc);
|
|
656
|
-
const exception = new ForbiddenException({
|
|
657
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
658
|
-
...contents,
|
|
659
|
-
});
|
|
660
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
661
|
-
};
|
|
662
|
-
const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
663
|
-
const contents = map({});
|
|
664
|
-
const data = parsedOutput.body;
|
|
665
|
-
const doc = take(data, {
|
|
666
|
-
Message: [, __expectString, `message`],
|
|
667
|
-
});
|
|
668
|
-
Object.assign(contents, doc);
|
|
669
|
-
const exception = new InternalServerErrorException({
|
|
670
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
671
|
-
...contents,
|
|
672
|
-
});
|
|
673
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
674
|
-
};
|
|
675
|
-
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
676
|
-
const contents = map({});
|
|
677
|
-
const data = parsedOutput.body;
|
|
678
|
-
const doc = take(data, {
|
|
679
|
-
Message: [, __expectString, `message`],
|
|
680
|
-
});
|
|
681
|
-
Object.assign(contents, doc);
|
|
682
|
-
const exception = new NotFoundException({
|
|
683
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
684
|
-
...contents,
|
|
685
|
-
});
|
|
686
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
687
|
-
};
|
|
688
|
-
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
689
|
-
const contents = map({});
|
|
690
|
-
const data = parsedOutput.body;
|
|
691
|
-
const doc = take(data, {
|
|
692
|
-
Message: [, __expectString, `message`],
|
|
693
|
-
});
|
|
694
|
-
Object.assign(contents, doc);
|
|
695
|
-
const exception = new ServiceUnavailableException({
|
|
696
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
697
|
-
...contents,
|
|
698
|
-
});
|
|
699
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
700
|
-
};
|
|
701
|
-
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
702
|
-
const contents = map({});
|
|
703
|
-
const data = parsedOutput.body;
|
|
704
|
-
const doc = take(data, {
|
|
705
|
-
Message: [, __expectString, `message`],
|
|
706
|
-
});
|
|
707
|
-
Object.assign(contents, doc);
|
|
708
|
-
const exception = new TooManyRequestsException({
|
|
709
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
710
|
-
...contents,
|
|
711
|
-
});
|
|
712
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
713
|
-
};
|
|
714
|
-
const de_UnprocessableEntityExceptionRes = async (parsedOutput, context) => {
|
|
715
|
-
const contents = map({});
|
|
716
|
-
const data = parsedOutput.body;
|
|
717
|
-
const doc = take(data, {
|
|
718
|
-
Message: [, __expectString, `message`],
|
|
719
|
-
});
|
|
720
|
-
Object.assign(contents, doc);
|
|
721
|
-
const exception = new UnprocessableEntityException({
|
|
722
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
723
|
-
...contents,
|
|
724
|
-
});
|
|
725
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
726
|
-
};
|
|
727
|
-
const se___listOfHlsManifestCreateOrUpdateParameters = (input, context) => {
|
|
728
|
-
return input
|
|
729
|
-
.filter((e) => e != null)
|
|
730
|
-
.map((entry) => {
|
|
731
|
-
return se_HlsManifestCreateOrUpdateParameters(entry, context);
|
|
732
|
-
});
|
|
733
|
-
};
|
|
734
|
-
const se_Authorization = (input, context) => {
|
|
735
|
-
return take(input, {
|
|
736
|
-
cdnIdentifierSecret: [, , `CdnIdentifierSecret`],
|
|
737
|
-
secretsRoleArn: [, , `SecretsRoleArn`],
|
|
738
|
-
});
|
|
739
|
-
};
|
|
740
|
-
const se_CmafEncryption = (input, context) => {
|
|
741
|
-
return take(input, {
|
|
742
|
-
constantInitializationVector: [, , `ConstantInitializationVector`],
|
|
743
|
-
encryptionMethod: [, , `EncryptionMethod`],
|
|
744
|
-
keyRotationIntervalSeconds: [, , `KeyRotationIntervalSeconds`],
|
|
745
|
-
spekeKeyProvider: [, (_) => se_SpekeKeyProvider(_, context), `SpekeKeyProvider`],
|
|
746
|
-
});
|
|
747
|
-
};
|
|
748
|
-
const se_CmafPackageCreateOrUpdateParameters = (input, context) => {
|
|
749
|
-
return take(input, {
|
|
750
|
-
encryption: [, (_) => se_CmafEncryption(_, context), `Encryption`],
|
|
751
|
-
hlsManifests: [, (_) => se___listOfHlsManifestCreateOrUpdateParameters(_, context), `HlsManifests`],
|
|
752
|
-
segmentDurationSeconds: [, , `SegmentDurationSeconds`],
|
|
753
|
-
segmentPrefix: [, , `SegmentPrefix`],
|
|
754
|
-
streamSelection: [, (_) => se_StreamSelection(_, context), `StreamSelection`],
|
|
755
|
-
});
|
|
756
|
-
};
|
|
757
|
-
const se_DashEncryption = (input, context) => {
|
|
758
|
-
return take(input, {
|
|
759
|
-
keyRotationIntervalSeconds: [, , `KeyRotationIntervalSeconds`],
|
|
760
|
-
spekeKeyProvider: [, (_) => se_SpekeKeyProvider(_, context), `SpekeKeyProvider`],
|
|
761
|
-
});
|
|
762
|
-
};
|
|
763
|
-
const se_DashPackage = (input, context) => {
|
|
764
|
-
return take(input, {
|
|
765
|
-
adTriggers: [, _json, `AdTriggers`],
|
|
766
|
-
adsOnDeliveryRestrictions: [, , `AdsOnDeliveryRestrictions`],
|
|
767
|
-
encryption: [, (_) => se_DashEncryption(_, context), `Encryption`],
|
|
768
|
-
includeIframeOnlyStream: [, , `IncludeIframeOnlyStream`],
|
|
769
|
-
manifestLayout: [, , `ManifestLayout`],
|
|
770
|
-
manifestWindowSeconds: [, , `ManifestWindowSeconds`],
|
|
771
|
-
minBufferTimeSeconds: [, , `MinBufferTimeSeconds`],
|
|
772
|
-
minUpdatePeriodSeconds: [, , `MinUpdatePeriodSeconds`],
|
|
773
|
-
periodTriggers: [, _json, `PeriodTriggers`],
|
|
774
|
-
profile: [, , `Profile`],
|
|
775
|
-
segmentDurationSeconds: [, , `SegmentDurationSeconds`],
|
|
776
|
-
segmentTemplateFormat: [, , `SegmentTemplateFormat`],
|
|
777
|
-
streamSelection: [, (_) => se_StreamSelection(_, context), `StreamSelection`],
|
|
778
|
-
suggestedPresentationDelaySeconds: [, , `SuggestedPresentationDelaySeconds`],
|
|
779
|
-
utcTiming: [, , `UtcTiming`],
|
|
780
|
-
utcTimingUri: [, , `UtcTimingUri`],
|
|
781
|
-
});
|
|
782
|
-
};
|
|
783
|
-
const se_EgressAccessLogs = (input, context) => {
|
|
784
|
-
return take(input, {
|
|
785
|
-
logGroupName: [, , `LogGroupName`],
|
|
786
|
-
});
|
|
787
|
-
};
|
|
788
|
-
const se_EncryptionContractConfiguration = (input, context) => {
|
|
789
|
-
return take(input, {
|
|
790
|
-
presetSpeke20Audio: [, , `PresetSpeke20Audio`],
|
|
791
|
-
presetSpeke20Video: [, , `PresetSpeke20Video`],
|
|
792
|
-
});
|
|
793
|
-
};
|
|
794
|
-
const se_HlsEncryption = (input, context) => {
|
|
795
|
-
return take(input, {
|
|
796
|
-
constantInitializationVector: [, , `ConstantInitializationVector`],
|
|
797
|
-
encryptionMethod: [, , `EncryptionMethod`],
|
|
798
|
-
keyRotationIntervalSeconds: [, , `KeyRotationIntervalSeconds`],
|
|
799
|
-
repeatExtXKey: [, , `RepeatExtXKey`],
|
|
800
|
-
spekeKeyProvider: [, (_) => se_SpekeKeyProvider(_, context), `SpekeKeyProvider`],
|
|
801
|
-
});
|
|
802
|
-
};
|
|
803
|
-
const se_HlsManifestCreateOrUpdateParameters = (input, context) => {
|
|
804
|
-
return take(input, {
|
|
805
|
-
adMarkers: [, , `AdMarkers`],
|
|
806
|
-
adTriggers: [, _json, `AdTriggers`],
|
|
807
|
-
adsOnDeliveryRestrictions: [, , `AdsOnDeliveryRestrictions`],
|
|
808
|
-
id: [, , `Id`],
|
|
809
|
-
includeIframeOnlyStream: [, , `IncludeIframeOnlyStream`],
|
|
810
|
-
manifestName: [, , `ManifestName`],
|
|
811
|
-
playlistType: [, , `PlaylistType`],
|
|
812
|
-
playlistWindowSeconds: [, , `PlaylistWindowSeconds`],
|
|
813
|
-
programDateTimeIntervalSeconds: [, , `ProgramDateTimeIntervalSeconds`],
|
|
814
|
-
});
|
|
815
|
-
};
|
|
816
|
-
const se_HlsPackage = (input, context) => {
|
|
817
|
-
return take(input, {
|
|
818
|
-
adMarkers: [, , `AdMarkers`],
|
|
819
|
-
adTriggers: [, _json, `AdTriggers`],
|
|
820
|
-
adsOnDeliveryRestrictions: [, , `AdsOnDeliveryRestrictions`],
|
|
821
|
-
encryption: [, (_) => se_HlsEncryption(_, context), `Encryption`],
|
|
822
|
-
includeDvbSubtitles: [, , `IncludeDvbSubtitles`],
|
|
823
|
-
includeIframeOnlyStream: [, , `IncludeIframeOnlyStream`],
|
|
824
|
-
playlistType: [, , `PlaylistType`],
|
|
825
|
-
playlistWindowSeconds: [, , `PlaylistWindowSeconds`],
|
|
826
|
-
programDateTimeIntervalSeconds: [, , `ProgramDateTimeIntervalSeconds`],
|
|
827
|
-
segmentDurationSeconds: [, , `SegmentDurationSeconds`],
|
|
828
|
-
streamSelection: [, (_) => se_StreamSelection(_, context), `StreamSelection`],
|
|
829
|
-
useAudioRenditionGroup: [, , `UseAudioRenditionGroup`],
|
|
830
|
-
});
|
|
831
|
-
};
|
|
832
|
-
const se_IngressAccessLogs = (input, context) => {
|
|
833
|
-
return take(input, {
|
|
834
|
-
logGroupName: [, , `LogGroupName`],
|
|
835
|
-
});
|
|
836
|
-
};
|
|
837
|
-
const se_MssEncryption = (input, context) => {
|
|
838
|
-
return take(input, {
|
|
839
|
-
spekeKeyProvider: [, (_) => se_SpekeKeyProvider(_, context), `SpekeKeyProvider`],
|
|
840
|
-
});
|
|
841
|
-
};
|
|
842
|
-
const se_MssPackage = (input, context) => {
|
|
843
|
-
return take(input, {
|
|
844
|
-
encryption: [, (_) => se_MssEncryption(_, context), `Encryption`],
|
|
845
|
-
manifestWindowSeconds: [, , `ManifestWindowSeconds`],
|
|
846
|
-
segmentDurationSeconds: [, , `SegmentDurationSeconds`],
|
|
847
|
-
streamSelection: [, (_) => se_StreamSelection(_, context), `StreamSelection`],
|
|
848
|
-
});
|
|
849
|
-
};
|
|
850
|
-
const se_S3Destination = (input, context) => {
|
|
851
|
-
return take(input, {
|
|
852
|
-
bucketName: [, , `BucketName`],
|
|
853
|
-
manifestKey: [, , `ManifestKey`],
|
|
854
|
-
roleArn: [, , `RoleArn`],
|
|
855
|
-
});
|
|
856
|
-
};
|
|
857
|
-
const se_SpekeKeyProvider = (input, context) => {
|
|
858
|
-
return take(input, {
|
|
859
|
-
certificateArn: [, , `CertificateArn`],
|
|
860
|
-
encryptionContractConfiguration: [
|
|
861
|
-
,
|
|
862
|
-
(_) => se_EncryptionContractConfiguration(_, context),
|
|
863
|
-
`EncryptionContractConfiguration`,
|
|
864
|
-
],
|
|
865
|
-
resourceId: [, , `ResourceId`],
|
|
866
|
-
roleArn: [, , `RoleArn`],
|
|
867
|
-
systemIds: [, _json, `SystemIds`],
|
|
868
|
-
url: [, , `Url`],
|
|
869
|
-
});
|
|
870
|
-
};
|
|
871
|
-
const se_StreamSelection = (input, context) => {
|
|
872
|
-
return take(input, {
|
|
873
|
-
maxVideoBitsPerSecond: [, , `MaxVideoBitsPerSecond`],
|
|
874
|
-
minVideoBitsPerSecond: [, , `MinVideoBitsPerSecond`],
|
|
875
|
-
streamOrder: [, , `StreamOrder`],
|
|
876
|
-
});
|
|
877
|
-
};
|
|
878
|
-
const de___listOfChannel = (output, context) => {
|
|
879
|
-
const retVal = (output || [])
|
|
880
|
-
.filter((e) => e != null)
|
|
881
|
-
.map((entry) => {
|
|
882
|
-
return de_Channel(entry, context);
|
|
883
|
-
});
|
|
884
|
-
return retVal;
|
|
885
|
-
};
|
|
886
|
-
const de___listOfHarvestJob = (output, context) => {
|
|
887
|
-
const retVal = (output || [])
|
|
888
|
-
.filter((e) => e != null)
|
|
889
|
-
.map((entry) => {
|
|
890
|
-
return de_HarvestJob(entry, context);
|
|
891
|
-
});
|
|
892
|
-
return retVal;
|
|
893
|
-
};
|
|
894
|
-
const de___listOfHlsManifest = (output, context) => {
|
|
895
|
-
const retVal = (output || [])
|
|
896
|
-
.filter((e) => e != null)
|
|
897
|
-
.map((entry) => {
|
|
898
|
-
return de_HlsManifest(entry, context);
|
|
899
|
-
});
|
|
900
|
-
return retVal;
|
|
901
|
-
};
|
|
902
|
-
const de___listOfIngestEndpoint = (output, context) => {
|
|
903
|
-
const retVal = (output || [])
|
|
904
|
-
.filter((e) => e != null)
|
|
905
|
-
.map((entry) => {
|
|
906
|
-
return de_IngestEndpoint(entry, context);
|
|
907
|
-
});
|
|
908
|
-
return retVal;
|
|
909
|
-
};
|
|
910
|
-
const de___listOfOriginEndpoint = (output, context) => {
|
|
911
|
-
const retVal = (output || [])
|
|
912
|
-
.filter((e) => e != null)
|
|
913
|
-
.map((entry) => {
|
|
914
|
-
return de_OriginEndpoint(entry, context);
|
|
915
|
-
});
|
|
916
|
-
return retVal;
|
|
917
|
-
};
|
|
918
|
-
const de_Authorization = (output, context) => {
|
|
919
|
-
return take(output, {
|
|
920
|
-
CdnIdentifierSecret: [, __expectString, `cdnIdentifierSecret`],
|
|
921
|
-
SecretsRoleArn: [, __expectString, `secretsRoleArn`],
|
|
922
|
-
});
|
|
923
|
-
};
|
|
924
|
-
const de_Channel = (output, context) => {
|
|
925
|
-
return take(output, {
|
|
926
|
-
Arn: [, __expectString, `arn`],
|
|
927
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
928
|
-
Description: [, __expectString, `description`],
|
|
929
|
-
EgressAccessLogs: [, (_) => de_EgressAccessLogs(_, context), `egressAccessLogs`],
|
|
930
|
-
HlsIngest: [, (_) => de_HlsIngest(_, context), `hlsIngest`],
|
|
931
|
-
Id: [, __expectString, `id`],
|
|
932
|
-
IngressAccessLogs: [, (_) => de_IngressAccessLogs(_, context), `ingressAccessLogs`],
|
|
933
|
-
Tags: [, _json, `tags`],
|
|
934
|
-
});
|
|
935
|
-
};
|
|
936
|
-
const de_CmafEncryption = (output, context) => {
|
|
937
|
-
return take(output, {
|
|
938
|
-
ConstantInitializationVector: [, __expectString, `constantInitializationVector`],
|
|
939
|
-
EncryptionMethod: [, __expectString, `encryptionMethod`],
|
|
940
|
-
KeyRotationIntervalSeconds: [, __expectInt32, `keyRotationIntervalSeconds`],
|
|
941
|
-
SpekeKeyProvider: [, (_) => de_SpekeKeyProvider(_, context), `spekeKeyProvider`],
|
|
942
|
-
});
|
|
943
|
-
};
|
|
944
|
-
const de_CmafPackage = (output, context) => {
|
|
945
|
-
return take(output, {
|
|
946
|
-
Encryption: [, (_) => de_CmafEncryption(_, context), `encryption`],
|
|
947
|
-
HlsManifests: [, (_) => de___listOfHlsManifest(_, context), `hlsManifests`],
|
|
948
|
-
SegmentDurationSeconds: [, __expectInt32, `segmentDurationSeconds`],
|
|
949
|
-
SegmentPrefix: [, __expectString, `segmentPrefix`],
|
|
950
|
-
StreamSelection: [, (_) => de_StreamSelection(_, context), `streamSelection`],
|
|
951
|
-
});
|
|
952
|
-
};
|
|
953
|
-
const de_DashEncryption = (output, context) => {
|
|
954
|
-
return take(output, {
|
|
955
|
-
KeyRotationIntervalSeconds: [, __expectInt32, `keyRotationIntervalSeconds`],
|
|
956
|
-
SpekeKeyProvider: [, (_) => de_SpekeKeyProvider(_, context), `spekeKeyProvider`],
|
|
957
|
-
});
|
|
958
|
-
};
|
|
959
|
-
const de_DashPackage = (output, context) => {
|
|
960
|
-
return take(output, {
|
|
961
|
-
AdTriggers: [, _json, `adTriggers`],
|
|
962
|
-
AdsOnDeliveryRestrictions: [, __expectString, `adsOnDeliveryRestrictions`],
|
|
963
|
-
Encryption: [, (_) => de_DashEncryption(_, context), `encryption`],
|
|
964
|
-
IncludeIframeOnlyStream: [, __expectBoolean, `includeIframeOnlyStream`],
|
|
965
|
-
ManifestLayout: [, __expectString, `manifestLayout`],
|
|
966
|
-
ManifestWindowSeconds: [, __expectInt32, `manifestWindowSeconds`],
|
|
967
|
-
MinBufferTimeSeconds: [, __expectInt32, `minBufferTimeSeconds`],
|
|
968
|
-
MinUpdatePeriodSeconds: [, __expectInt32, `minUpdatePeriodSeconds`],
|
|
969
|
-
PeriodTriggers: [, _json, `periodTriggers`],
|
|
970
|
-
Profile: [, __expectString, `profile`],
|
|
971
|
-
SegmentDurationSeconds: [, __expectInt32, `segmentDurationSeconds`],
|
|
972
|
-
SegmentTemplateFormat: [, __expectString, `segmentTemplateFormat`],
|
|
973
|
-
StreamSelection: [, (_) => de_StreamSelection(_, context), `streamSelection`],
|
|
974
|
-
SuggestedPresentationDelaySeconds: [, __expectInt32, `suggestedPresentationDelaySeconds`],
|
|
975
|
-
UtcTiming: [, __expectString, `utcTiming`],
|
|
976
|
-
UtcTimingUri: [, __expectString, `utcTimingUri`],
|
|
977
|
-
});
|
|
978
|
-
};
|
|
979
|
-
const de_EgressAccessLogs = (output, context) => {
|
|
980
|
-
return take(output, {
|
|
981
|
-
LogGroupName: [, __expectString, `logGroupName`],
|
|
982
|
-
});
|
|
983
|
-
};
|
|
984
|
-
const de_EncryptionContractConfiguration = (output, context) => {
|
|
985
|
-
return take(output, {
|
|
986
|
-
PresetSpeke20Audio: [, __expectString, `presetSpeke20Audio`],
|
|
987
|
-
PresetSpeke20Video: [, __expectString, `presetSpeke20Video`],
|
|
988
|
-
});
|
|
989
|
-
};
|
|
990
|
-
const de_HarvestJob = (output, context) => {
|
|
991
|
-
return take(output, {
|
|
992
|
-
Arn: [, __expectString, `arn`],
|
|
993
|
-
ChannelId: [, __expectString, `channelId`],
|
|
994
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
995
|
-
EndTime: [, __expectString, `endTime`],
|
|
996
|
-
Id: [, __expectString, `id`],
|
|
997
|
-
OriginEndpointId: [, __expectString, `originEndpointId`],
|
|
998
|
-
S3Destination: [, (_) => de_S3Destination(_, context), `s3Destination`],
|
|
999
|
-
StartTime: [, __expectString, `startTime`],
|
|
1000
|
-
Status: [, __expectString, `status`],
|
|
1001
|
-
});
|
|
1002
|
-
};
|
|
1003
|
-
const de_HlsEncryption = (output, context) => {
|
|
1004
|
-
return take(output, {
|
|
1005
|
-
ConstantInitializationVector: [, __expectString, `constantInitializationVector`],
|
|
1006
|
-
EncryptionMethod: [, __expectString, `encryptionMethod`],
|
|
1007
|
-
KeyRotationIntervalSeconds: [, __expectInt32, `keyRotationIntervalSeconds`],
|
|
1008
|
-
RepeatExtXKey: [, __expectBoolean, `repeatExtXKey`],
|
|
1009
|
-
SpekeKeyProvider: [, (_) => de_SpekeKeyProvider(_, context), `spekeKeyProvider`],
|
|
1010
|
-
});
|
|
1011
|
-
};
|
|
1012
|
-
const de_HlsIngest = (output, context) => {
|
|
1013
|
-
return take(output, {
|
|
1014
|
-
IngestEndpoints: [, (_) => de___listOfIngestEndpoint(_, context), `ingestEndpoints`],
|
|
1015
|
-
});
|
|
1016
|
-
};
|
|
1017
|
-
const de_HlsManifest = (output, context) => {
|
|
1018
|
-
return take(output, {
|
|
1019
|
-
AdMarkers: [, __expectString, `adMarkers`],
|
|
1020
|
-
AdTriggers: [, _json, `adTriggers`],
|
|
1021
|
-
AdsOnDeliveryRestrictions: [, __expectString, `adsOnDeliveryRestrictions`],
|
|
1022
|
-
Id: [, __expectString, `id`],
|
|
1023
|
-
IncludeIframeOnlyStream: [, __expectBoolean, `includeIframeOnlyStream`],
|
|
1024
|
-
ManifestName: [, __expectString, `manifestName`],
|
|
1025
|
-
PlaylistType: [, __expectString, `playlistType`],
|
|
1026
|
-
PlaylistWindowSeconds: [, __expectInt32, `playlistWindowSeconds`],
|
|
1027
|
-
ProgramDateTimeIntervalSeconds: [, __expectInt32, `programDateTimeIntervalSeconds`],
|
|
1028
|
-
Url: [, __expectString, `url`],
|
|
1029
|
-
});
|
|
1030
|
-
};
|
|
1031
|
-
const de_HlsPackage = (output, context) => {
|
|
1032
|
-
return take(output, {
|
|
1033
|
-
AdMarkers: [, __expectString, `adMarkers`],
|
|
1034
|
-
AdTriggers: [, _json, `adTriggers`],
|
|
1035
|
-
AdsOnDeliveryRestrictions: [, __expectString, `adsOnDeliveryRestrictions`],
|
|
1036
|
-
Encryption: [, (_) => de_HlsEncryption(_, context), `encryption`],
|
|
1037
|
-
IncludeDvbSubtitles: [, __expectBoolean, `includeDvbSubtitles`],
|
|
1038
|
-
IncludeIframeOnlyStream: [, __expectBoolean, `includeIframeOnlyStream`],
|
|
1039
|
-
PlaylistType: [, __expectString, `playlistType`],
|
|
1040
|
-
PlaylistWindowSeconds: [, __expectInt32, `playlistWindowSeconds`],
|
|
1041
|
-
ProgramDateTimeIntervalSeconds: [, __expectInt32, `programDateTimeIntervalSeconds`],
|
|
1042
|
-
SegmentDurationSeconds: [, __expectInt32, `segmentDurationSeconds`],
|
|
1043
|
-
StreamSelection: [, (_) => de_StreamSelection(_, context), `streamSelection`],
|
|
1044
|
-
UseAudioRenditionGroup: [, __expectBoolean, `useAudioRenditionGroup`],
|
|
1045
|
-
});
|
|
1046
|
-
};
|
|
1047
|
-
const de_IngestEndpoint = (output, context) => {
|
|
1048
|
-
return take(output, {
|
|
1049
|
-
Id: [, __expectString, `id`],
|
|
1050
|
-
Password: [, __expectString, `password`],
|
|
1051
|
-
Url: [, __expectString, `url`],
|
|
1052
|
-
Username: [, __expectString, `username`],
|
|
1053
|
-
});
|
|
1054
|
-
};
|
|
1055
|
-
const de_IngressAccessLogs = (output, context) => {
|
|
1056
|
-
return take(output, {
|
|
1057
|
-
LogGroupName: [, __expectString, `logGroupName`],
|
|
1058
|
-
});
|
|
1059
|
-
};
|
|
1060
|
-
const de_MssEncryption = (output, context) => {
|
|
1061
|
-
return take(output, {
|
|
1062
|
-
SpekeKeyProvider: [, (_) => de_SpekeKeyProvider(_, context), `spekeKeyProvider`],
|
|
1063
|
-
});
|
|
1064
|
-
};
|
|
1065
|
-
const de_MssPackage = (output, context) => {
|
|
1066
|
-
return take(output, {
|
|
1067
|
-
Encryption: [, (_) => de_MssEncryption(_, context), `encryption`],
|
|
1068
|
-
ManifestWindowSeconds: [, __expectInt32, `manifestWindowSeconds`],
|
|
1069
|
-
SegmentDurationSeconds: [, __expectInt32, `segmentDurationSeconds`],
|
|
1070
|
-
StreamSelection: [, (_) => de_StreamSelection(_, context), `streamSelection`],
|
|
1071
|
-
});
|
|
1072
|
-
};
|
|
1073
|
-
const de_OriginEndpoint = (output, context) => {
|
|
1074
|
-
return take(output, {
|
|
1075
|
-
Arn: [, __expectString, `arn`],
|
|
1076
|
-
Authorization: [, (_) => de_Authorization(_, context), `authorization`],
|
|
1077
|
-
ChannelId: [, __expectString, `channelId`],
|
|
1078
|
-
CmafPackage: [, (_) => de_CmafPackage(_, context), `cmafPackage`],
|
|
1079
|
-
CreatedAt: [, __expectString, `createdAt`],
|
|
1080
|
-
DashPackage: [, (_) => de_DashPackage(_, context), `dashPackage`],
|
|
1081
|
-
Description: [, __expectString, `description`],
|
|
1082
|
-
HlsPackage: [, (_) => de_HlsPackage(_, context), `hlsPackage`],
|
|
1083
|
-
Id: [, __expectString, `id`],
|
|
1084
|
-
ManifestName: [, __expectString, `manifestName`],
|
|
1085
|
-
MssPackage: [, (_) => de_MssPackage(_, context), `mssPackage`],
|
|
1086
|
-
Origination: [, __expectString, `origination`],
|
|
1087
|
-
StartoverWindowSeconds: [, __expectInt32, `startoverWindowSeconds`],
|
|
1088
|
-
Tags: [, _json, `tags`],
|
|
1089
|
-
TimeDelaySeconds: [, __expectInt32, `timeDelaySeconds`],
|
|
1090
|
-
Url: [, __expectString, `url`],
|
|
1091
|
-
Whitelist: [, _json, `whitelist`],
|
|
1092
|
-
});
|
|
1093
|
-
};
|
|
1094
|
-
const de_S3Destination = (output, context) => {
|
|
1095
|
-
return take(output, {
|
|
1096
|
-
BucketName: [, __expectString, `bucketName`],
|
|
1097
|
-
ManifestKey: [, __expectString, `manifestKey`],
|
|
1098
|
-
RoleArn: [, __expectString, `roleArn`],
|
|
1099
|
-
});
|
|
1100
|
-
};
|
|
1101
|
-
const de_SpekeKeyProvider = (output, context) => {
|
|
1102
|
-
return take(output, {
|
|
1103
|
-
CertificateArn: [, __expectString, `certificateArn`],
|
|
1104
|
-
EncryptionContractConfiguration: [
|
|
1105
|
-
,
|
|
1106
|
-
(_) => de_EncryptionContractConfiguration(_, context),
|
|
1107
|
-
`encryptionContractConfiguration`,
|
|
1108
|
-
],
|
|
1109
|
-
ResourceId: [, __expectString, `resourceId`],
|
|
1110
|
-
RoleArn: [, __expectString, `roleArn`],
|
|
1111
|
-
SystemIds: [, _json, `systemIds`],
|
|
1112
|
-
Url: [, __expectString, `url`],
|
|
1113
|
-
});
|
|
1114
|
-
};
|
|
1115
|
-
const de_StreamSelection = (output, context) => {
|
|
1116
|
-
return take(output, {
|
|
1117
|
-
MaxVideoBitsPerSecond: [, __expectInt32, `maxVideoBitsPerSecond`],
|
|
1118
|
-
MinVideoBitsPerSecond: [, __expectInt32, `minVideoBitsPerSecond`],
|
|
1119
|
-
StreamOrder: [, __expectString, `streamOrder`],
|
|
1120
|
-
});
|
|
1121
|
-
};
|
|
1122
|
-
const deserializeMetadata = (output) => ({
|
|
1123
|
-
httpStatusCode: output.statusCode,
|
|
1124
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1125
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1126
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1127
|
-
});
|
|
1128
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
1129
|
-
const _CI = "ChannelId";
|
|
1130
|
-
const _ICI = "IncludeChannelId";
|
|
1131
|
-
const _IS = "IncludeStatus";
|
|
1132
|
-
const _MR = "MaxResults";
|
|
1133
|
-
const _NT = "NextToken";
|
|
1134
|
-
const _TK = "TagKeys";
|
|
1135
|
-
const _cI = "channelId";
|
|
1136
|
-
const _iCI = "includeChannelId";
|
|
1137
|
-
const _iS = "includeStatus";
|
|
1138
|
-
const _mR = "maxResults";
|
|
1139
|
-
const _nT = "nextToken";
|
|
1140
|
-
const _tK = "tagKeys";
|