@aws-sdk/client-kinesis-video-archived-media 3.118.1 → 3.128.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/CHANGELOG.md +27 -0
- package/dist-cjs/protocols/Aws_restJson1.js +91 -119
- package/dist-es/protocols/Aws_restJson1.js +54 -82
- package/package.json +26 -26
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.128.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.127.0...v3.128.0) (2022-07-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis-video-archived-media
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.127.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.126.0...v3.127.0) (2022-07-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis-video-archived-media
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.121.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.120.0...v3.121.0) (2022-06-30)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** fallback to status code for unmodeled errors ([#3752](https://github.com/aws/aws-sdk-js-v3/issues/3752)) ([49bcc4f](https://github.com/aws/aws-sdk-js-v3/commit/49bcc4f153e890e798a8e82fd5fc397b2dcc449f))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
## [3.118.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.118.0...v3.118.1) (2022-06-27)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-kinesis-video-archived-media
|
|
@@ -13,12 +13,11 @@ const serializeAws_restJson1GetClipCommand = async (input, context) => {
|
|
|
13
13
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getClip";
|
|
14
14
|
let body;
|
|
15
15
|
body = JSON.stringify({
|
|
16
|
-
...(input.ClipFragmentSelector
|
|
17
|
-
input.ClipFragmentSelector !== null && {
|
|
16
|
+
...(input.ClipFragmentSelector != null && {
|
|
18
17
|
ClipFragmentSelector: serializeAws_restJson1ClipFragmentSelector(input.ClipFragmentSelector, context),
|
|
19
18
|
}),
|
|
20
|
-
...(input.StreamARN
|
|
21
|
-
...(input.StreamName
|
|
19
|
+
...(input.StreamARN != null && { StreamARN: input.StreamARN }),
|
|
20
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
22
21
|
});
|
|
23
22
|
return new protocol_http_1.HttpRequest({
|
|
24
23
|
protocol,
|
|
@@ -39,20 +38,16 @@ const serializeAws_restJson1GetDASHStreamingSessionURLCommand = async (input, co
|
|
|
39
38
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getDASHStreamingSessionURL";
|
|
40
39
|
let body;
|
|
41
40
|
body = JSON.stringify({
|
|
42
|
-
...(input.DASHFragmentSelector
|
|
43
|
-
input.DASHFragmentSelector !== null && {
|
|
41
|
+
...(input.DASHFragmentSelector != null && {
|
|
44
42
|
DASHFragmentSelector: serializeAws_restJson1DASHFragmentSelector(input.DASHFragmentSelector, context),
|
|
45
43
|
}),
|
|
46
|
-
...(input.DisplayFragmentNumber
|
|
47
|
-
|
|
48
|
-
...(input.
|
|
49
|
-
|
|
50
|
-
...(input.
|
|
51
|
-
...(input.
|
|
52
|
-
|
|
53
|
-
...(input.PlaybackMode !== undefined && input.PlaybackMode !== null && { PlaybackMode: input.PlaybackMode }),
|
|
54
|
-
...(input.StreamARN !== undefined && input.StreamARN !== null && { StreamARN: input.StreamARN }),
|
|
55
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
44
|
+
...(input.DisplayFragmentNumber != null && { DisplayFragmentNumber: input.DisplayFragmentNumber }),
|
|
45
|
+
...(input.DisplayFragmentTimestamp != null && { DisplayFragmentTimestamp: input.DisplayFragmentTimestamp }),
|
|
46
|
+
...(input.Expires != null && { Expires: input.Expires }),
|
|
47
|
+
...(input.MaxManifestFragmentResults != null && { MaxManifestFragmentResults: input.MaxManifestFragmentResults }),
|
|
48
|
+
...(input.PlaybackMode != null && { PlaybackMode: input.PlaybackMode }),
|
|
49
|
+
...(input.StreamARN != null && { StreamARN: input.StreamARN }),
|
|
50
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
56
51
|
});
|
|
57
52
|
return new protocol_http_1.HttpRequest({
|
|
58
53
|
protocol,
|
|
@@ -73,24 +68,19 @@ const serializeAws_restJson1GetHLSStreamingSessionURLCommand = async (input, con
|
|
|
73
68
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getHLSStreamingSessionURL";
|
|
74
69
|
let body;
|
|
75
70
|
body = JSON.stringify({
|
|
76
|
-
...(input.ContainerFormat
|
|
77
|
-
|
|
78
|
-
...(input.
|
|
79
|
-
|
|
80
|
-
...(input.
|
|
81
|
-
input.DisplayFragmentTimestamp !== null && { DisplayFragmentTimestamp: input.DisplayFragmentTimestamp }),
|
|
82
|
-
...(input.Expires !== undefined && input.Expires !== null && { Expires: input.Expires }),
|
|
83
|
-
...(input.HLSFragmentSelector !== undefined &&
|
|
84
|
-
input.HLSFragmentSelector !== null && {
|
|
71
|
+
...(input.ContainerFormat != null && { ContainerFormat: input.ContainerFormat }),
|
|
72
|
+
...(input.DiscontinuityMode != null && { DiscontinuityMode: input.DiscontinuityMode }),
|
|
73
|
+
...(input.DisplayFragmentTimestamp != null && { DisplayFragmentTimestamp: input.DisplayFragmentTimestamp }),
|
|
74
|
+
...(input.Expires != null && { Expires: input.Expires }),
|
|
75
|
+
...(input.HLSFragmentSelector != null && {
|
|
85
76
|
HLSFragmentSelector: serializeAws_restJson1HLSFragmentSelector(input.HLSFragmentSelector, context),
|
|
86
77
|
}),
|
|
87
|
-
...(input.MaxMediaPlaylistFragmentResults
|
|
88
|
-
input.MaxMediaPlaylistFragmentResults !== null && {
|
|
78
|
+
...(input.MaxMediaPlaylistFragmentResults != null && {
|
|
89
79
|
MaxMediaPlaylistFragmentResults: input.MaxMediaPlaylistFragmentResults,
|
|
90
80
|
}),
|
|
91
|
-
...(input.PlaybackMode
|
|
92
|
-
...(input.StreamARN
|
|
93
|
-
...(input.StreamName
|
|
81
|
+
...(input.PlaybackMode != null && { PlaybackMode: input.PlaybackMode }),
|
|
82
|
+
...(input.StreamARN != null && { StreamARN: input.StreamARN }),
|
|
83
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
94
84
|
});
|
|
95
85
|
return new protocol_http_1.HttpRequest({
|
|
96
86
|
protocol,
|
|
@@ -111,23 +101,20 @@ const serializeAws_restJson1GetImagesCommand = async (input, context) => {
|
|
|
111
101
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getImages";
|
|
112
102
|
let body;
|
|
113
103
|
body = JSON.stringify({
|
|
114
|
-
...(input.EndTimestamp
|
|
115
|
-
|
|
116
|
-
...(input.
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
...(input.HeightPixels
|
|
120
|
-
...(input.ImageSelectorType
|
|
121
|
-
|
|
122
|
-
...(input.
|
|
123
|
-
...(input.
|
|
124
|
-
...(input.
|
|
125
|
-
|
|
126
|
-
...(input.
|
|
127
|
-
|
|
128
|
-
...(input.StreamARN !== undefined && input.StreamARN !== null && { StreamARN: input.StreamARN }),
|
|
129
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
130
|
-
...(input.WidthPixels !== undefined && input.WidthPixels !== null && { WidthPixels: input.WidthPixels }),
|
|
104
|
+
...(input.EndTimestamp != null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) }),
|
|
105
|
+
...(input.Format != null && { Format: input.Format }),
|
|
106
|
+
...(input.FormatConfig != null && {
|
|
107
|
+
FormatConfig: serializeAws_restJson1FormatConfig(input.FormatConfig, context),
|
|
108
|
+
}),
|
|
109
|
+
...(input.HeightPixels != null && { HeightPixels: input.HeightPixels }),
|
|
110
|
+
...(input.ImageSelectorType != null && { ImageSelectorType: input.ImageSelectorType }),
|
|
111
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
112
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
113
|
+
...(input.SamplingInterval != null && { SamplingInterval: input.SamplingInterval }),
|
|
114
|
+
...(input.StartTimestamp != null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }),
|
|
115
|
+
...(input.StreamARN != null && { StreamARN: input.StreamARN }),
|
|
116
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
117
|
+
...(input.WidthPixels != null && { WidthPixels: input.WidthPixels }),
|
|
131
118
|
});
|
|
132
119
|
return new protocol_http_1.HttpRequest({
|
|
133
120
|
protocol,
|
|
@@ -148,10 +135,9 @@ const serializeAws_restJson1GetMediaForFragmentListCommand = async (input, conte
|
|
|
148
135
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/getMediaForFragmentList";
|
|
149
136
|
let body;
|
|
150
137
|
body = JSON.stringify({
|
|
151
|
-
...(input.Fragments
|
|
152
|
-
|
|
153
|
-
...(input.
|
|
154
|
-
...(input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName }),
|
|
138
|
+
...(input.Fragments != null && { Fragments: serializeAws_restJson1FragmentNumberList(input.Fragments, context) }),
|
|
139
|
+
...(input.StreamARN != null && { StreamARN: input.StreamARN }),
|
|
140
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
155
141
|
});
|
|
156
142
|
return new protocol_http_1.HttpRequest({
|
|
157
143
|
protocol,
|
|
@@ -172,14 +158,13 @@ const serializeAws_restJson1ListFragmentsCommand = async (input, context) => {
|
|
|
172
158
|
const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/listFragments";
|
|
173
159
|
let body;
|
|
174
160
|
body = JSON.stringify({
|
|
175
|
-
...(input.FragmentSelector
|
|
176
|
-
input.FragmentSelector !== null && {
|
|
161
|
+
...(input.FragmentSelector != null && {
|
|
177
162
|
FragmentSelector: serializeAws_restJson1FragmentSelector(input.FragmentSelector, context),
|
|
178
163
|
}),
|
|
179
|
-
...(input.MaxResults
|
|
180
|
-
...(input.NextToken
|
|
181
|
-
...(input.StreamARN
|
|
182
|
-
...(input.StreamName
|
|
164
|
+
...(input.MaxResults != null && { MaxResults: input.MaxResults }),
|
|
165
|
+
...(input.NextToken != null && { NextToken: input.NextToken }),
|
|
166
|
+
...(input.StreamARN != null && { StreamARN: input.StreamARN }),
|
|
167
|
+
...(input.StreamName != null && { StreamName: input.StreamName }),
|
|
183
168
|
});
|
|
184
169
|
return new protocol_http_1.HttpRequest({
|
|
185
170
|
protocol,
|
|
@@ -215,8 +200,7 @@ const deserializeAws_restJson1GetClipCommandError = async (output, context) => {
|
|
|
215
200
|
body: await parseBody(output.body, context),
|
|
216
201
|
};
|
|
217
202
|
let response;
|
|
218
|
-
|
|
219
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
203
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
220
204
|
switch (errorCode) {
|
|
221
205
|
case "ClientLimitExceededException":
|
|
222
206
|
case "com.amazonaws.kinesisvideoarchivedmedia#ClientLimitExceededException":
|
|
@@ -247,10 +231,12 @@ const deserializeAws_restJson1GetClipCommandError = async (output, context) => {
|
|
|
247
231
|
throw await deserializeAws_restJson1UnsupportedStreamMediaTypeExceptionResponse(parsedOutput, context);
|
|
248
232
|
default:
|
|
249
233
|
const parsedBody = parsedOutput.body;
|
|
234
|
+
const $metadata = deserializeMetadata(output);
|
|
235
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
250
236
|
response = new KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException({
|
|
251
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
237
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
252
238
|
$fault: "client",
|
|
253
|
-
$metadata
|
|
239
|
+
$metadata,
|
|
254
240
|
});
|
|
255
241
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
256
242
|
}
|
|
@@ -276,8 +262,7 @@ const deserializeAws_restJson1GetDASHStreamingSessionURLCommandError = async (ou
|
|
|
276
262
|
body: await parseBody(output.body, context),
|
|
277
263
|
};
|
|
278
264
|
let response;
|
|
279
|
-
|
|
280
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
265
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
281
266
|
switch (errorCode) {
|
|
282
267
|
case "ClientLimitExceededException":
|
|
283
268
|
case "com.amazonaws.kinesisvideoarchivedmedia#ClientLimitExceededException":
|
|
@@ -305,10 +290,12 @@ const deserializeAws_restJson1GetDASHStreamingSessionURLCommandError = async (ou
|
|
|
305
290
|
throw await deserializeAws_restJson1UnsupportedStreamMediaTypeExceptionResponse(parsedOutput, context);
|
|
306
291
|
default:
|
|
307
292
|
const parsedBody = parsedOutput.body;
|
|
293
|
+
const $metadata = deserializeMetadata(output);
|
|
294
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
308
295
|
response = new KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException({
|
|
309
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
296
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
310
297
|
$fault: "client",
|
|
311
|
-
$metadata
|
|
298
|
+
$metadata,
|
|
312
299
|
});
|
|
313
300
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
314
301
|
}
|
|
@@ -334,8 +321,7 @@ const deserializeAws_restJson1GetHLSStreamingSessionURLCommandError = async (out
|
|
|
334
321
|
body: await parseBody(output.body, context),
|
|
335
322
|
};
|
|
336
323
|
let response;
|
|
337
|
-
|
|
338
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
324
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
339
325
|
switch (errorCode) {
|
|
340
326
|
case "ClientLimitExceededException":
|
|
341
327
|
case "com.amazonaws.kinesisvideoarchivedmedia#ClientLimitExceededException":
|
|
@@ -363,10 +349,12 @@ const deserializeAws_restJson1GetHLSStreamingSessionURLCommandError = async (out
|
|
|
363
349
|
throw await deserializeAws_restJson1UnsupportedStreamMediaTypeExceptionResponse(parsedOutput, context);
|
|
364
350
|
default:
|
|
365
351
|
const parsedBody = parsedOutput.body;
|
|
352
|
+
const $metadata = deserializeMetadata(output);
|
|
353
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
366
354
|
response = new KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException({
|
|
367
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
355
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
368
356
|
$fault: "client",
|
|
369
|
-
$metadata
|
|
357
|
+
$metadata,
|
|
370
358
|
});
|
|
371
359
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
372
360
|
}
|
|
@@ -396,8 +384,7 @@ const deserializeAws_restJson1GetImagesCommandError = async (output, context) =>
|
|
|
396
384
|
body: await parseBody(output.body, context),
|
|
397
385
|
};
|
|
398
386
|
let response;
|
|
399
|
-
|
|
400
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
387
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
401
388
|
switch (errorCode) {
|
|
402
389
|
case "ClientLimitExceededException":
|
|
403
390
|
case "com.amazonaws.kinesisvideoarchivedmedia#ClientLimitExceededException":
|
|
@@ -413,10 +400,12 @@ const deserializeAws_restJson1GetImagesCommandError = async (output, context) =>
|
|
|
413
400
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
414
401
|
default:
|
|
415
402
|
const parsedBody = parsedOutput.body;
|
|
403
|
+
const $metadata = deserializeMetadata(output);
|
|
404
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
416
405
|
response = new KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException({
|
|
417
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
406
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
418
407
|
$fault: "client",
|
|
419
|
-
$metadata
|
|
408
|
+
$metadata,
|
|
420
409
|
});
|
|
421
410
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
422
411
|
}
|
|
@@ -444,8 +433,7 @@ const deserializeAws_restJson1GetMediaForFragmentListCommandError = async (outpu
|
|
|
444
433
|
body: await parseBody(output.body, context),
|
|
445
434
|
};
|
|
446
435
|
let response;
|
|
447
|
-
|
|
448
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
436
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
449
437
|
switch (errorCode) {
|
|
450
438
|
case "ClientLimitExceededException":
|
|
451
439
|
case "com.amazonaws.kinesisvideoarchivedmedia#ClientLimitExceededException":
|
|
@@ -461,10 +449,12 @@ const deserializeAws_restJson1GetMediaForFragmentListCommandError = async (outpu
|
|
|
461
449
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
462
450
|
default:
|
|
463
451
|
const parsedBody = parsedOutput.body;
|
|
452
|
+
const $metadata = deserializeMetadata(output);
|
|
453
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
464
454
|
response = new KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException({
|
|
465
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
455
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
466
456
|
$fault: "client",
|
|
467
|
-
$metadata
|
|
457
|
+
$metadata,
|
|
468
458
|
});
|
|
469
459
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
470
460
|
}
|
|
@@ -494,8 +484,7 @@ const deserializeAws_restJson1ListFragmentsCommandError = async (output, context
|
|
|
494
484
|
body: await parseBody(output.body, context),
|
|
495
485
|
};
|
|
496
486
|
let response;
|
|
497
|
-
|
|
498
|
-
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
487
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
499
488
|
switch (errorCode) {
|
|
500
489
|
case "ClientLimitExceededException":
|
|
501
490
|
case "com.amazonaws.kinesisvideoarchivedmedia#ClientLimitExceededException":
|
|
@@ -511,10 +500,12 @@ const deserializeAws_restJson1ListFragmentsCommandError = async (output, context
|
|
|
511
500
|
throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
|
|
512
501
|
default:
|
|
513
502
|
const parsedBody = parsedOutput.body;
|
|
503
|
+
const $metadata = deserializeMetadata(output);
|
|
504
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
514
505
|
response = new KinesisVideoArchivedMediaServiceException_1.KinesisVideoArchivedMediaServiceException({
|
|
515
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
506
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
516
507
|
$fault: "client",
|
|
517
|
-
$metadata
|
|
508
|
+
$metadata,
|
|
518
509
|
});
|
|
519
510
|
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
520
511
|
}
|
|
@@ -629,38 +620,30 @@ const deserializeAws_restJson1UnsupportedStreamMediaTypeExceptionResponse = asyn
|
|
|
629
620
|
};
|
|
630
621
|
const serializeAws_restJson1ClipFragmentSelector = (input, context) => {
|
|
631
622
|
return {
|
|
632
|
-
...(input.FragmentSelectorType
|
|
633
|
-
|
|
634
|
-
...(input.TimestampRange !== undefined &&
|
|
635
|
-
input.TimestampRange !== null && {
|
|
623
|
+
...(input.FragmentSelectorType != null && { FragmentSelectorType: input.FragmentSelectorType }),
|
|
624
|
+
...(input.TimestampRange != null && {
|
|
636
625
|
TimestampRange: serializeAws_restJson1ClipTimestampRange(input.TimestampRange, context),
|
|
637
626
|
}),
|
|
638
627
|
};
|
|
639
628
|
};
|
|
640
629
|
const serializeAws_restJson1ClipTimestampRange = (input, context) => {
|
|
641
630
|
return {
|
|
642
|
-
...(input.EndTimestamp
|
|
643
|
-
|
|
644
|
-
...(input.StartTimestamp !== undefined &&
|
|
645
|
-
input.StartTimestamp !== null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }),
|
|
631
|
+
...(input.EndTimestamp != null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) }),
|
|
632
|
+
...(input.StartTimestamp != null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }),
|
|
646
633
|
};
|
|
647
634
|
};
|
|
648
635
|
const serializeAws_restJson1DASHFragmentSelector = (input, context) => {
|
|
649
636
|
return {
|
|
650
|
-
...(input.FragmentSelectorType
|
|
651
|
-
|
|
652
|
-
...(input.TimestampRange !== undefined &&
|
|
653
|
-
input.TimestampRange !== null && {
|
|
637
|
+
...(input.FragmentSelectorType != null && { FragmentSelectorType: input.FragmentSelectorType }),
|
|
638
|
+
...(input.TimestampRange != null && {
|
|
654
639
|
TimestampRange: serializeAws_restJson1DASHTimestampRange(input.TimestampRange, context),
|
|
655
640
|
}),
|
|
656
641
|
};
|
|
657
642
|
};
|
|
658
643
|
const serializeAws_restJson1DASHTimestampRange = (input, context) => {
|
|
659
644
|
return {
|
|
660
|
-
...(input.EndTimestamp
|
|
661
|
-
|
|
662
|
-
...(input.StartTimestamp !== undefined &&
|
|
663
|
-
input.StartTimestamp !== null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }),
|
|
645
|
+
...(input.EndTimestamp != null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) }),
|
|
646
|
+
...(input.StartTimestamp != null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }),
|
|
664
647
|
};
|
|
665
648
|
};
|
|
666
649
|
const serializeAws_restJson1FormatConfig = (input, context) => {
|
|
@@ -686,38 +669,30 @@ const serializeAws_restJson1FragmentNumberList = (input, context) => {
|
|
|
686
669
|
};
|
|
687
670
|
const serializeAws_restJson1FragmentSelector = (input, context) => {
|
|
688
671
|
return {
|
|
689
|
-
...(input.FragmentSelectorType
|
|
690
|
-
|
|
691
|
-
...(input.TimestampRange !== undefined &&
|
|
692
|
-
input.TimestampRange !== null && {
|
|
672
|
+
...(input.FragmentSelectorType != null && { FragmentSelectorType: input.FragmentSelectorType }),
|
|
673
|
+
...(input.TimestampRange != null && {
|
|
693
674
|
TimestampRange: serializeAws_restJson1TimestampRange(input.TimestampRange, context),
|
|
694
675
|
}),
|
|
695
676
|
};
|
|
696
677
|
};
|
|
697
678
|
const serializeAws_restJson1HLSFragmentSelector = (input, context) => {
|
|
698
679
|
return {
|
|
699
|
-
...(input.FragmentSelectorType
|
|
700
|
-
|
|
701
|
-
...(input.TimestampRange !== undefined &&
|
|
702
|
-
input.TimestampRange !== null && {
|
|
680
|
+
...(input.FragmentSelectorType != null && { FragmentSelectorType: input.FragmentSelectorType }),
|
|
681
|
+
...(input.TimestampRange != null && {
|
|
703
682
|
TimestampRange: serializeAws_restJson1HLSTimestampRange(input.TimestampRange, context),
|
|
704
683
|
}),
|
|
705
684
|
};
|
|
706
685
|
};
|
|
707
686
|
const serializeAws_restJson1HLSTimestampRange = (input, context) => {
|
|
708
687
|
return {
|
|
709
|
-
...(input.EndTimestamp
|
|
710
|
-
|
|
711
|
-
...(input.StartTimestamp !== undefined &&
|
|
712
|
-
input.StartTimestamp !== null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }),
|
|
688
|
+
...(input.EndTimestamp != null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) }),
|
|
689
|
+
...(input.StartTimestamp != null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }),
|
|
713
690
|
};
|
|
714
691
|
};
|
|
715
692
|
const serializeAws_restJson1TimestampRange = (input, context) => {
|
|
716
693
|
return {
|
|
717
|
-
...(input.EndTimestamp
|
|
718
|
-
|
|
719
|
-
...(input.StartTimestamp !== undefined &&
|
|
720
|
-
input.StartTimestamp !== null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }),
|
|
694
|
+
...(input.EndTimestamp != null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) }),
|
|
695
|
+
...(input.StartTimestamp != null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }),
|
|
721
696
|
};
|
|
722
697
|
};
|
|
723
698
|
const deserializeAws_restJson1Fragment = (output, context) => {
|
|
@@ -725,10 +700,10 @@ const deserializeAws_restJson1Fragment = (output, context) => {
|
|
|
725
700
|
FragmentLengthInMilliseconds: (0, smithy_client_1.expectLong)(output.FragmentLengthInMilliseconds),
|
|
726
701
|
FragmentNumber: (0, smithy_client_1.expectString)(output.FragmentNumber),
|
|
727
702
|
FragmentSizeInBytes: (0, smithy_client_1.expectLong)(output.FragmentSizeInBytes),
|
|
728
|
-
ProducerTimestamp: output.ProducerTimestamp
|
|
703
|
+
ProducerTimestamp: output.ProducerTimestamp != null
|
|
729
704
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ProducerTimestamp)))
|
|
730
705
|
: undefined,
|
|
731
|
-
ServerTimestamp: output.ServerTimestamp
|
|
706
|
+
ServerTimestamp: output.ServerTimestamp != null
|
|
732
707
|
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ServerTimestamp)))
|
|
733
708
|
: undefined,
|
|
734
709
|
};
|
|
@@ -748,9 +723,7 @@ const deserializeAws_restJson1Image = (output, context) => {
|
|
|
748
723
|
return {
|
|
749
724
|
Error: (0, smithy_client_1.expectString)(output.Error),
|
|
750
725
|
ImageContent: (0, smithy_client_1.expectString)(output.ImageContent),
|
|
751
|
-
TimeStamp: output.TimeStamp
|
|
752
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TimeStamp)))
|
|
753
|
-
: undefined,
|
|
726
|
+
TimeStamp: output.TimeStamp != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.TimeStamp))) : undefined,
|
|
754
727
|
};
|
|
755
728
|
};
|
|
756
729
|
const deserializeAws_restJson1Images = (output, context) => {
|
|
@@ -813,5 +786,4 @@ const loadRestJsonErrorCode = (output, data) => {
|
|
|
813
786
|
if (data["__type"] !== undefined) {
|
|
814
787
|
return sanitizeErrorCode(data["__type"]);
|
|
815
788
|
}
|
|
816
|
-
return "";
|
|
817
789
|
};
|
|
@@ -14,10 +14,9 @@ export var serializeAws_restJson1GetClipCommand = function (input, context) { re
|
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
16
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getClip";
|
|
17
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.ClipFragmentSelector
|
|
18
|
-
input.ClipFragmentSelector !== null && {
|
|
17
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.ClipFragmentSelector != null && {
|
|
19
18
|
ClipFragmentSelector: serializeAws_restJson1ClipFragmentSelector(input.ClipFragmentSelector, context),
|
|
20
|
-
})), (input.StreamARN
|
|
19
|
+
})), (input.StreamARN != null && { StreamARN: input.StreamARN })), (input.StreamName != null && { StreamName: input.StreamName })));
|
|
21
20
|
return [2, new __HttpRequest({
|
|
22
21
|
protocol: protocol,
|
|
23
22
|
hostname: hostname,
|
|
@@ -41,13 +40,9 @@ export var serializeAws_restJson1GetDASHStreamingSessionURLCommand = function (i
|
|
|
41
40
|
"content-type": "application/json",
|
|
42
41
|
};
|
|
43
42
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getDASHStreamingSessionURL";
|
|
44
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DASHFragmentSelector
|
|
45
|
-
input.DASHFragmentSelector !== null && {
|
|
43
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DASHFragmentSelector != null && {
|
|
46
44
|
DASHFragmentSelector: serializeAws_restJson1DASHFragmentSelector(input.DASHFragmentSelector, context),
|
|
47
|
-
})), (input.DisplayFragmentNumber
|
|
48
|
-
input.DisplayFragmentNumber !== null && { DisplayFragmentNumber: input.DisplayFragmentNumber })), (input.DisplayFragmentTimestamp !== undefined &&
|
|
49
|
-
input.DisplayFragmentTimestamp !== null && { DisplayFragmentTimestamp: input.DisplayFragmentTimestamp })), (input.Expires !== undefined && input.Expires !== null && { Expires: input.Expires })), (input.MaxManifestFragmentResults !== undefined &&
|
|
50
|
-
input.MaxManifestFragmentResults !== null && { MaxManifestFragmentResults: input.MaxManifestFragmentResults })), (input.PlaybackMode !== undefined && input.PlaybackMode !== null && { PlaybackMode: input.PlaybackMode })), (input.StreamARN !== undefined && input.StreamARN !== null && { StreamARN: input.StreamARN })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName })));
|
|
45
|
+
})), (input.DisplayFragmentNumber != null && { DisplayFragmentNumber: input.DisplayFragmentNumber })), (input.DisplayFragmentTimestamp != null && { DisplayFragmentTimestamp: input.DisplayFragmentTimestamp })), (input.Expires != null && { Expires: input.Expires })), (input.MaxManifestFragmentResults != null && { MaxManifestFragmentResults: input.MaxManifestFragmentResults })), (input.PlaybackMode != null && { PlaybackMode: input.PlaybackMode })), (input.StreamARN != null && { StreamARN: input.StreamARN })), (input.StreamName != null && { StreamName: input.StreamName })));
|
|
51
46
|
return [2, new __HttpRequest({
|
|
52
47
|
protocol: protocol,
|
|
53
48
|
hostname: hostname,
|
|
@@ -71,16 +66,11 @@ export var serializeAws_restJson1GetHLSStreamingSessionURLCommand = function (in
|
|
|
71
66
|
"content-type": "application/json",
|
|
72
67
|
};
|
|
73
68
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getHLSStreamingSessionURL";
|
|
74
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerFormat
|
|
75
|
-
input.ContainerFormat !== null && { ContainerFormat: input.ContainerFormat })), (input.DiscontinuityMode !== undefined &&
|
|
76
|
-
input.DiscontinuityMode !== null && { DiscontinuityMode: input.DiscontinuityMode })), (input.DisplayFragmentTimestamp !== undefined &&
|
|
77
|
-
input.DisplayFragmentTimestamp !== null && { DisplayFragmentTimestamp: input.DisplayFragmentTimestamp })), (input.Expires !== undefined && input.Expires !== null && { Expires: input.Expires })), (input.HLSFragmentSelector !== undefined &&
|
|
78
|
-
input.HLSFragmentSelector !== null && {
|
|
69
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerFormat != null && { ContainerFormat: input.ContainerFormat })), (input.DiscontinuityMode != null && { DiscontinuityMode: input.DiscontinuityMode })), (input.DisplayFragmentTimestamp != null && { DisplayFragmentTimestamp: input.DisplayFragmentTimestamp })), (input.Expires != null && { Expires: input.Expires })), (input.HLSFragmentSelector != null && {
|
|
79
70
|
HLSFragmentSelector: serializeAws_restJson1HLSFragmentSelector(input.HLSFragmentSelector, context),
|
|
80
|
-
})), (input.MaxMediaPlaylistFragmentResults
|
|
81
|
-
input.MaxMediaPlaylistFragmentResults !== null && {
|
|
71
|
+
})), (input.MaxMediaPlaylistFragmentResults != null && {
|
|
82
72
|
MaxMediaPlaylistFragmentResults: input.MaxMediaPlaylistFragmentResults,
|
|
83
|
-
})), (input.PlaybackMode
|
|
73
|
+
})), (input.PlaybackMode != null && { PlaybackMode: input.PlaybackMode })), (input.StreamARN != null && { StreamARN: input.StreamARN })), (input.StreamName != null && { StreamName: input.StreamName })));
|
|
84
74
|
return [2, new __HttpRequest({
|
|
85
75
|
protocol: protocol,
|
|
86
76
|
hostname: hostname,
|
|
@@ -104,12 +94,9 @@ export var serializeAws_restJson1GetImagesCommand = function (input, context) {
|
|
|
104
94
|
"content-type": "application/json",
|
|
105
95
|
};
|
|
106
96
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getImages";
|
|
107
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndTimestamp
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
input.ImageSelectorType !== null && { ImageSelectorType: input.ImageSelectorType })), (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.SamplingInterval !== undefined &&
|
|
111
|
-
input.SamplingInterval !== null && { SamplingInterval: input.SamplingInterval })), (input.StartTimestamp !== undefined &&
|
|
112
|
-
input.StartTimestamp !== null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) })), (input.StreamARN !== undefined && input.StreamARN !== null && { StreamARN: input.StreamARN })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName })), (input.WidthPixels !== undefined && input.WidthPixels !== null && { WidthPixels: input.WidthPixels })));
|
|
97
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.EndTimestamp != null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) })), (input.Format != null && { Format: input.Format })), (input.FormatConfig != null && {
|
|
98
|
+
FormatConfig: serializeAws_restJson1FormatConfig(input.FormatConfig, context),
|
|
99
|
+
})), (input.HeightPixels != null && { HeightPixels: input.HeightPixels })), (input.ImageSelectorType != null && { ImageSelectorType: input.ImageSelectorType })), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.SamplingInterval != null && { SamplingInterval: input.SamplingInterval })), (input.StartTimestamp != null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) })), (input.StreamARN != null && { StreamARN: input.StreamARN })), (input.StreamName != null && { StreamName: input.StreamName })), (input.WidthPixels != null && { WidthPixels: input.WidthPixels })));
|
|
113
100
|
return [2, new __HttpRequest({
|
|
114
101
|
protocol: protocol,
|
|
115
102
|
hostname: hostname,
|
|
@@ -133,8 +120,7 @@ export var serializeAws_restJson1GetMediaForFragmentListCommand = function (inpu
|
|
|
133
120
|
"content-type": "application/json",
|
|
134
121
|
};
|
|
135
122
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getMediaForFragmentList";
|
|
136
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.Fragments
|
|
137
|
-
input.Fragments !== null && { Fragments: serializeAws_restJson1FragmentNumberList(input.Fragments, context) })), (input.StreamARN !== undefined && input.StreamARN !== null && { StreamARN: input.StreamARN })), (input.StreamName !== undefined && input.StreamName !== null && { StreamName: input.StreamName })));
|
|
123
|
+
body = JSON.stringify(__assign(__assign(__assign({}, (input.Fragments != null && { Fragments: serializeAws_restJson1FragmentNumberList(input.Fragments, context) })), (input.StreamARN != null && { StreamARN: input.StreamARN })), (input.StreamName != null && { StreamName: input.StreamName })));
|
|
138
124
|
return [2, new __HttpRequest({
|
|
139
125
|
protocol: protocol,
|
|
140
126
|
hostname: hostname,
|
|
@@ -158,10 +144,9 @@ export var serializeAws_restJson1ListFragmentsCommand = function (input, context
|
|
|
158
144
|
"content-type": "application/json",
|
|
159
145
|
};
|
|
160
146
|
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listFragments";
|
|
161
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.FragmentSelector
|
|
162
|
-
input.FragmentSelector !== null && {
|
|
147
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.FragmentSelector != null && {
|
|
163
148
|
FragmentSelector: serializeAws_restJson1FragmentSelector(input.FragmentSelector, context),
|
|
164
|
-
})), (input.MaxResults
|
|
149
|
+
})), (input.MaxResults != null && { MaxResults: input.MaxResults })), (input.NextToken != null && { NextToken: input.NextToken })), (input.StreamARN != null && { StreamARN: input.StreamARN })), (input.StreamName != null && { StreamName: input.StreamName })));
|
|
165
150
|
return [2, new __HttpRequest({
|
|
166
151
|
protocol: protocol,
|
|
167
152
|
hostname: hostname,
|
|
@@ -194,7 +179,7 @@ export var deserializeAws_restJson1GetClipCommand = function (output, context) {
|
|
|
194
179
|
});
|
|
195
180
|
}); };
|
|
196
181
|
var deserializeAws_restJson1GetClipCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
197
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
182
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
198
183
|
var _c;
|
|
199
184
|
return __generator(this, function (_d) {
|
|
200
185
|
switch (_d.label) {
|
|
@@ -204,7 +189,6 @@ var deserializeAws_restJson1GetClipCommandError = function (output, context) { r
|
|
|
204
189
|
return [4, parseBody(output.body, context)];
|
|
205
190
|
case 1:
|
|
206
191
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
207
|
-
errorCode = "UnknownError";
|
|
208
192
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
209
193
|
_b = errorCode;
|
|
210
194
|
switch (_b) {
|
|
@@ -248,10 +232,12 @@ var deserializeAws_restJson1GetClipCommandError = function (output, context) { r
|
|
|
248
232
|
case 19: throw _d.sent();
|
|
249
233
|
case 20:
|
|
250
234
|
parsedBody = parsedOutput.body;
|
|
235
|
+
$metadata = deserializeMetadata(output);
|
|
236
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
251
237
|
response = new __BaseException({
|
|
252
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
238
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
253
239
|
$fault: "client",
|
|
254
|
-
$metadata:
|
|
240
|
+
$metadata: $metadata,
|
|
255
241
|
});
|
|
256
242
|
throw __decorateServiceException(response, parsedBody);
|
|
257
243
|
}
|
|
@@ -282,7 +268,7 @@ export var deserializeAws_restJson1GetDASHStreamingSessionURLCommand = function
|
|
|
282
268
|
});
|
|
283
269
|
}); };
|
|
284
270
|
var deserializeAws_restJson1GetDASHStreamingSessionURLCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
285
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
271
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
286
272
|
var _c;
|
|
287
273
|
return __generator(this, function (_d) {
|
|
288
274
|
switch (_d.label) {
|
|
@@ -292,7 +278,6 @@ var deserializeAws_restJson1GetDASHStreamingSessionURLCommandError = function (o
|
|
|
292
278
|
return [4, parseBody(output.body, context)];
|
|
293
279
|
case 1:
|
|
294
280
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
295
|
-
errorCode = "UnknownError";
|
|
296
281
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
297
282
|
_b = errorCode;
|
|
298
283
|
switch (_b) {
|
|
@@ -332,10 +317,12 @@ var deserializeAws_restJson1GetDASHStreamingSessionURLCommandError = function (o
|
|
|
332
317
|
case 17: throw _d.sent();
|
|
333
318
|
case 18:
|
|
334
319
|
parsedBody = parsedOutput.body;
|
|
320
|
+
$metadata = deserializeMetadata(output);
|
|
321
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
335
322
|
response = new __BaseException({
|
|
336
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
323
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
337
324
|
$fault: "client",
|
|
338
|
-
$metadata:
|
|
325
|
+
$metadata: $metadata,
|
|
339
326
|
});
|
|
340
327
|
throw __decorateServiceException(response, parsedBody);
|
|
341
328
|
}
|
|
@@ -366,7 +353,7 @@ export var deserializeAws_restJson1GetHLSStreamingSessionURLCommand = function (
|
|
|
366
353
|
});
|
|
367
354
|
}); };
|
|
368
355
|
var deserializeAws_restJson1GetHLSStreamingSessionURLCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
369
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
356
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
370
357
|
var _c;
|
|
371
358
|
return __generator(this, function (_d) {
|
|
372
359
|
switch (_d.label) {
|
|
@@ -376,7 +363,6 @@ var deserializeAws_restJson1GetHLSStreamingSessionURLCommandError = function (ou
|
|
|
376
363
|
return [4, parseBody(output.body, context)];
|
|
377
364
|
case 1:
|
|
378
365
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
379
|
-
errorCode = "UnknownError";
|
|
380
366
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
381
367
|
_b = errorCode;
|
|
382
368
|
switch (_b) {
|
|
@@ -416,10 +402,12 @@ var deserializeAws_restJson1GetHLSStreamingSessionURLCommandError = function (ou
|
|
|
416
402
|
case 17: throw _d.sent();
|
|
417
403
|
case 18:
|
|
418
404
|
parsedBody = parsedOutput.body;
|
|
405
|
+
$metadata = deserializeMetadata(output);
|
|
406
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
419
407
|
response = new __BaseException({
|
|
420
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
408
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
421
409
|
$fault: "client",
|
|
422
|
-
$metadata:
|
|
410
|
+
$metadata: $metadata,
|
|
423
411
|
});
|
|
424
412
|
throw __decorateServiceException(response, parsedBody);
|
|
425
413
|
}
|
|
@@ -454,7 +442,7 @@ export var deserializeAws_restJson1GetImagesCommand = function (output, context)
|
|
|
454
442
|
});
|
|
455
443
|
}); };
|
|
456
444
|
var deserializeAws_restJson1GetImagesCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
457
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
445
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
458
446
|
var _c;
|
|
459
447
|
return __generator(this, function (_d) {
|
|
460
448
|
switch (_d.label) {
|
|
@@ -464,7 +452,6 @@ var deserializeAws_restJson1GetImagesCommandError = function (output, context) {
|
|
|
464
452
|
return [4, parseBody(output.body, context)];
|
|
465
453
|
case 1:
|
|
466
454
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
467
|
-
errorCode = "UnknownError";
|
|
468
455
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
469
456
|
_b = errorCode;
|
|
470
457
|
switch (_b) {
|
|
@@ -488,10 +475,12 @@ var deserializeAws_restJson1GetImagesCommandError = function (output, context) {
|
|
|
488
475
|
case 9: throw _d.sent();
|
|
489
476
|
case 10:
|
|
490
477
|
parsedBody = parsedOutput.body;
|
|
478
|
+
$metadata = deserializeMetadata(output);
|
|
479
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
491
480
|
response = new __BaseException({
|
|
492
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
481
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
493
482
|
$fault: "client",
|
|
494
|
-
$metadata:
|
|
483
|
+
$metadata: $metadata,
|
|
495
484
|
});
|
|
496
485
|
throw __decorateServiceException(response, parsedBody);
|
|
497
486
|
}
|
|
@@ -517,7 +506,7 @@ export var deserializeAws_restJson1GetMediaForFragmentListCommand = function (ou
|
|
|
517
506
|
});
|
|
518
507
|
}); };
|
|
519
508
|
var deserializeAws_restJson1GetMediaForFragmentListCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
520
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
509
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
521
510
|
var _c;
|
|
522
511
|
return __generator(this, function (_d) {
|
|
523
512
|
switch (_d.label) {
|
|
@@ -527,7 +516,6 @@ var deserializeAws_restJson1GetMediaForFragmentListCommandError = function (outp
|
|
|
527
516
|
return [4, parseBody(output.body, context)];
|
|
528
517
|
case 1:
|
|
529
518
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
530
|
-
errorCode = "UnknownError";
|
|
531
519
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
532
520
|
_b = errorCode;
|
|
533
521
|
switch (_b) {
|
|
@@ -551,10 +539,12 @@ var deserializeAws_restJson1GetMediaForFragmentListCommandError = function (outp
|
|
|
551
539
|
case 9: throw _d.sent();
|
|
552
540
|
case 10:
|
|
553
541
|
parsedBody = parsedOutput.body;
|
|
542
|
+
$metadata = deserializeMetadata(output);
|
|
543
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
554
544
|
response = new __BaseException({
|
|
555
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
545
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
556
546
|
$fault: "client",
|
|
557
|
-
$metadata:
|
|
547
|
+
$metadata: $metadata,
|
|
558
548
|
});
|
|
559
549
|
throw __decorateServiceException(response, parsedBody);
|
|
560
550
|
}
|
|
@@ -589,7 +579,7 @@ export var deserializeAws_restJson1ListFragmentsCommand = function (output, cont
|
|
|
589
579
|
});
|
|
590
580
|
}); };
|
|
591
581
|
var deserializeAws_restJson1ListFragmentsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
592
|
-
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
582
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody, $metadata, statusCode;
|
|
593
583
|
var _c;
|
|
594
584
|
return __generator(this, function (_d) {
|
|
595
585
|
switch (_d.label) {
|
|
@@ -599,7 +589,6 @@ var deserializeAws_restJson1ListFragmentsCommandError = function (output, contex
|
|
|
599
589
|
return [4, parseBody(output.body, context)];
|
|
600
590
|
case 1:
|
|
601
591
|
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
602
|
-
errorCode = "UnknownError";
|
|
603
592
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
604
593
|
_b = errorCode;
|
|
605
594
|
switch (_b) {
|
|
@@ -623,10 +612,12 @@ var deserializeAws_restJson1ListFragmentsCommandError = function (output, contex
|
|
|
623
612
|
case 9: throw _d.sent();
|
|
624
613
|
case 10:
|
|
625
614
|
parsedBody = parsedOutput.body;
|
|
615
|
+
$metadata = deserializeMetadata(output);
|
|
616
|
+
statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
626
617
|
response = new __BaseException({
|
|
627
|
-
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
618
|
+
name: parsedBody.code || parsedBody.Code || errorCode || statusCode || "UnknowError",
|
|
628
619
|
$fault: "client",
|
|
629
|
-
$metadata:
|
|
620
|
+
$metadata: $metadata,
|
|
630
621
|
});
|
|
631
622
|
throw __decorateServiceException(response, parsedBody);
|
|
632
623
|
}
|
|
@@ -741,28 +732,20 @@ var deserializeAws_restJson1UnsupportedStreamMediaTypeExceptionResponse = functi
|
|
|
741
732
|
});
|
|
742
733
|
}); };
|
|
743
734
|
var serializeAws_restJson1ClipFragmentSelector = function (input, context) {
|
|
744
|
-
return __assign(__assign({}, (input.FragmentSelectorType
|
|
745
|
-
input.FragmentSelectorType !== null && { FragmentSelectorType: input.FragmentSelectorType })), (input.TimestampRange !== undefined &&
|
|
746
|
-
input.TimestampRange !== null && {
|
|
735
|
+
return __assign(__assign({}, (input.FragmentSelectorType != null && { FragmentSelectorType: input.FragmentSelectorType })), (input.TimestampRange != null && {
|
|
747
736
|
TimestampRange: serializeAws_restJson1ClipTimestampRange(input.TimestampRange, context),
|
|
748
737
|
}));
|
|
749
738
|
};
|
|
750
739
|
var serializeAws_restJson1ClipTimestampRange = function (input, context) {
|
|
751
|
-
return __assign(__assign({}, (input.EndTimestamp
|
|
752
|
-
input.EndTimestamp !== null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) })), (input.StartTimestamp !== undefined &&
|
|
753
|
-
input.StartTimestamp !== null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }));
|
|
740
|
+
return __assign(__assign({}, (input.EndTimestamp != null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) })), (input.StartTimestamp != null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }));
|
|
754
741
|
};
|
|
755
742
|
var serializeAws_restJson1DASHFragmentSelector = function (input, context) {
|
|
756
|
-
return __assign(__assign({}, (input.FragmentSelectorType
|
|
757
|
-
input.FragmentSelectorType !== null && { FragmentSelectorType: input.FragmentSelectorType })), (input.TimestampRange !== undefined &&
|
|
758
|
-
input.TimestampRange !== null && {
|
|
743
|
+
return __assign(__assign({}, (input.FragmentSelectorType != null && { FragmentSelectorType: input.FragmentSelectorType })), (input.TimestampRange != null && {
|
|
759
744
|
TimestampRange: serializeAws_restJson1DASHTimestampRange(input.TimestampRange, context),
|
|
760
745
|
}));
|
|
761
746
|
};
|
|
762
747
|
var serializeAws_restJson1DASHTimestampRange = function (input, context) {
|
|
763
|
-
return __assign(__assign({}, (input.EndTimestamp
|
|
764
|
-
input.EndTimestamp !== null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) })), (input.StartTimestamp !== undefined &&
|
|
765
|
-
input.StartTimestamp !== null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }));
|
|
748
|
+
return __assign(__assign({}, (input.EndTimestamp != null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) })), (input.StartTimestamp != null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }));
|
|
766
749
|
};
|
|
767
750
|
var serializeAws_restJson1FormatConfig = function (input, context) {
|
|
768
751
|
return Object.entries(input).reduce(function (acc, _a) {
|
|
@@ -785,38 +768,30 @@ var serializeAws_restJson1FragmentNumberList = function (input, context) {
|
|
|
785
768
|
});
|
|
786
769
|
};
|
|
787
770
|
var serializeAws_restJson1FragmentSelector = function (input, context) {
|
|
788
|
-
return __assign(__assign({}, (input.FragmentSelectorType
|
|
789
|
-
input.FragmentSelectorType !== null && { FragmentSelectorType: input.FragmentSelectorType })), (input.TimestampRange !== undefined &&
|
|
790
|
-
input.TimestampRange !== null && {
|
|
771
|
+
return __assign(__assign({}, (input.FragmentSelectorType != null && { FragmentSelectorType: input.FragmentSelectorType })), (input.TimestampRange != null && {
|
|
791
772
|
TimestampRange: serializeAws_restJson1TimestampRange(input.TimestampRange, context),
|
|
792
773
|
}));
|
|
793
774
|
};
|
|
794
775
|
var serializeAws_restJson1HLSFragmentSelector = function (input, context) {
|
|
795
|
-
return __assign(__assign({}, (input.FragmentSelectorType
|
|
796
|
-
input.FragmentSelectorType !== null && { FragmentSelectorType: input.FragmentSelectorType })), (input.TimestampRange !== undefined &&
|
|
797
|
-
input.TimestampRange !== null && {
|
|
776
|
+
return __assign(__assign({}, (input.FragmentSelectorType != null && { FragmentSelectorType: input.FragmentSelectorType })), (input.TimestampRange != null && {
|
|
798
777
|
TimestampRange: serializeAws_restJson1HLSTimestampRange(input.TimestampRange, context),
|
|
799
778
|
}));
|
|
800
779
|
};
|
|
801
780
|
var serializeAws_restJson1HLSTimestampRange = function (input, context) {
|
|
802
|
-
return __assign(__assign({}, (input.EndTimestamp
|
|
803
|
-
input.EndTimestamp !== null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) })), (input.StartTimestamp !== undefined &&
|
|
804
|
-
input.StartTimestamp !== null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }));
|
|
781
|
+
return __assign(__assign({}, (input.EndTimestamp != null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) })), (input.StartTimestamp != null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }));
|
|
805
782
|
};
|
|
806
783
|
var serializeAws_restJson1TimestampRange = function (input, context) {
|
|
807
|
-
return __assign(__assign({}, (input.EndTimestamp
|
|
808
|
-
input.EndTimestamp !== null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) })), (input.StartTimestamp !== undefined &&
|
|
809
|
-
input.StartTimestamp !== null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }));
|
|
784
|
+
return __assign(__assign({}, (input.EndTimestamp != null && { EndTimestamp: Math.round(input.EndTimestamp.getTime() / 1000) })), (input.StartTimestamp != null && { StartTimestamp: Math.round(input.StartTimestamp.getTime() / 1000) }));
|
|
810
785
|
};
|
|
811
786
|
var deserializeAws_restJson1Fragment = function (output, context) {
|
|
812
787
|
return {
|
|
813
788
|
FragmentLengthInMilliseconds: __expectLong(output.FragmentLengthInMilliseconds),
|
|
814
789
|
FragmentNumber: __expectString(output.FragmentNumber),
|
|
815
790
|
FragmentSizeInBytes: __expectLong(output.FragmentSizeInBytes),
|
|
816
|
-
ProducerTimestamp: output.ProducerTimestamp
|
|
791
|
+
ProducerTimestamp: output.ProducerTimestamp != null
|
|
817
792
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ProducerTimestamp)))
|
|
818
793
|
: undefined,
|
|
819
|
-
ServerTimestamp: output.ServerTimestamp
|
|
794
|
+
ServerTimestamp: output.ServerTimestamp != null
|
|
820
795
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ServerTimestamp)))
|
|
821
796
|
: undefined,
|
|
822
797
|
};
|
|
@@ -836,9 +811,7 @@ var deserializeAws_restJson1Image = function (output, context) {
|
|
|
836
811
|
return {
|
|
837
812
|
Error: __expectString(output.Error),
|
|
838
813
|
ImageContent: __expectString(output.ImageContent),
|
|
839
|
-
TimeStamp: output.TimeStamp
|
|
840
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TimeStamp)))
|
|
841
|
-
: undefined,
|
|
814
|
+
TimeStamp: output.TimeStamp != null ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.TimeStamp))) : undefined,
|
|
842
815
|
};
|
|
843
816
|
};
|
|
844
817
|
var deserializeAws_restJson1Images = function (output, context) {
|
|
@@ -908,5 +881,4 @@ var loadRestJsonErrorCode = function (output, data) {
|
|
|
908
881
|
if (data["__type"] !== undefined) {
|
|
909
882
|
return sanitizeErrorCode(data["__type"]);
|
|
910
883
|
}
|
|
911
|
-
return "";
|
|
912
884
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis-video-archived-media",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Video Archived Media Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.128.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.128.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.128.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.128.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.127.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.127.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.127.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.127.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.127.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.127.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.127.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.127.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.127.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.128.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.127.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.127.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.127.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.127.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.127.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.127.0",
|
|
40
|
+
"@aws-sdk/types": "3.127.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.127.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.127.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.128.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.127.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.127.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1"
|