@aws-sdk/client-kinesis-video-archived-media 3.54.1 → 3.58.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 +24 -0
- package/dist-cjs/KinesisVideoArchivedMediaClient.js +13 -13
- package/dist-cjs/commands/GetClipCommand.js +3 -3
- package/dist-cjs/commands/GetDASHStreamingSessionURLCommand.js +3 -3
- package/dist-cjs/commands/GetHLSStreamingSessionURLCommand.js +3 -3
- package/dist-cjs/commands/GetMediaForFragmentListCommand.js +3 -3
- package/dist-cjs/commands/ListFragmentsCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +34 -34
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/KinesisVideoArchivedMedia.js +5 -5
- package/dist-es/protocols/Aws_restJson1.js +5 -5
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
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.58.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.57.0...v3.58.0) (2022-03-28)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis-video-archived-media
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis-video-archived-media
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis-video-archived-media
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @aws-sdk/client-kinesis-video-archived-media
|
|
@@ -12,21 +12,21 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
13
|
class KinesisVideoArchivedMediaClient extends smithy_client_1.Client {
|
|
14
14
|
constructor(configuration) {
|
|
15
|
-
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
16
|
-
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
17
|
-
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
18
|
-
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
19
|
-
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
20
|
-
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
21
|
-
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
15
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
16
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
17
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
18
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
19
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
20
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
21
|
+
const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
|
|
22
22
|
super(_config_6);
|
|
23
23
|
this.config = _config_6;
|
|
24
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
25
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
26
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
27
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
28
|
-
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
29
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
24
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
25
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
28
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
30
|
}
|
|
31
31
|
destroy() {
|
|
32
32
|
super.destroy();
|
|
@@ -11,7 +11,7 @@ class GetClipCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KinesisVideoArchivedMediaClient";
|
|
@@ -27,10 +27,10 @@ class GetClipCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetClipCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetClipCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetClipCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetClipCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetClipCommand = GetClipCommand;
|
|
@@ -11,7 +11,7 @@ class GetDASHStreamingSessionURLCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KinesisVideoArchivedMediaClient";
|
|
@@ -27,10 +27,10 @@ class GetDASHStreamingSessionURLCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetDASHStreamingSessionURLCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetDASHStreamingSessionURLCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetDASHStreamingSessionURLCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetDASHStreamingSessionURLCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetDASHStreamingSessionURLCommand = GetDASHStreamingSessionURLCommand;
|
|
@@ -11,7 +11,7 @@ class GetHLSStreamingSessionURLCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KinesisVideoArchivedMediaClient";
|
|
@@ -27,10 +27,10 @@ class GetHLSStreamingSessionURLCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetHLSStreamingSessionURLCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetHLSStreamingSessionURLCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetHLSStreamingSessionURLCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetHLSStreamingSessionURLCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetHLSStreamingSessionURLCommand = GetHLSStreamingSessionURLCommand;
|
|
@@ -11,7 +11,7 @@ class GetMediaForFragmentListCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KinesisVideoArchivedMediaClient";
|
|
@@ -27,10 +27,10 @@ class GetMediaForFragmentListCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1GetMediaForFragmentListCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1GetMediaForFragmentListCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1GetMediaForFragmentListCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1GetMediaForFragmentListCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.GetMediaForFragmentListCommand = GetMediaForFragmentListCommand;
|
|
@@ -11,7 +11,7 @@ class ListFragmentsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "KinesisVideoArchivedMediaClient";
|
|
@@ -27,10 +27,10 @@ class ListFragmentsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1ListFragmentsCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListFragmentsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1ListFragmentsCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListFragmentsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.ListFragmentsCommand = ListFragmentsCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -122,7 +122,7 @@ const partitionHash = {
|
|
|
122
122
|
],
|
|
123
123
|
},
|
|
124
124
|
};
|
|
125
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
125
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
126
126
|
...options,
|
|
127
127
|
signingService: "kinesisvideo",
|
|
128
128
|
regionHash,
|
|
@@ -215,7 +215,7 @@ const deserializeAws_restJson1GetClipCommandError = async (output, context) => {
|
|
|
215
215
|
$fault: "client",
|
|
216
216
|
$metadata: deserializeMetadata(output),
|
|
217
217
|
});
|
|
218
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
218
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
219
219
|
}
|
|
220
220
|
};
|
|
221
221
|
const deserializeAws_restJson1GetDASHStreamingSessionURLCommand = async (output, context) => {
|
|
@@ -226,9 +226,9 @@ const deserializeAws_restJson1GetDASHStreamingSessionURLCommand = async (output,
|
|
|
226
226
|
$metadata: deserializeMetadata(output),
|
|
227
227
|
DASHStreamingSessionURL: undefined,
|
|
228
228
|
};
|
|
229
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
229
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
230
230
|
if (data.DASHStreamingSessionURL !== undefined && data.DASHStreamingSessionURL !== null) {
|
|
231
|
-
contents.DASHStreamingSessionURL = smithy_client_1.expectString(data.DASHStreamingSessionURL);
|
|
231
|
+
contents.DASHStreamingSessionURL = (0, smithy_client_1.expectString)(data.DASHStreamingSessionURL);
|
|
232
232
|
}
|
|
233
233
|
return Promise.resolve(contents);
|
|
234
234
|
};
|
|
@@ -273,7 +273,7 @@ const deserializeAws_restJson1GetDASHStreamingSessionURLCommandError = async (ou
|
|
|
273
273
|
$fault: "client",
|
|
274
274
|
$metadata: deserializeMetadata(output),
|
|
275
275
|
});
|
|
276
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
276
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
277
277
|
}
|
|
278
278
|
};
|
|
279
279
|
const deserializeAws_restJson1GetHLSStreamingSessionURLCommand = async (output, context) => {
|
|
@@ -284,9 +284,9 @@ const deserializeAws_restJson1GetHLSStreamingSessionURLCommand = async (output,
|
|
|
284
284
|
$metadata: deserializeMetadata(output),
|
|
285
285
|
HLSStreamingSessionURL: undefined,
|
|
286
286
|
};
|
|
287
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
287
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
288
288
|
if (data.HLSStreamingSessionURL !== undefined && data.HLSStreamingSessionURL !== null) {
|
|
289
|
-
contents.HLSStreamingSessionURL = smithy_client_1.expectString(data.HLSStreamingSessionURL);
|
|
289
|
+
contents.HLSStreamingSessionURL = (0, smithy_client_1.expectString)(data.HLSStreamingSessionURL);
|
|
290
290
|
}
|
|
291
291
|
return Promise.resolve(contents);
|
|
292
292
|
};
|
|
@@ -331,7 +331,7 @@ const deserializeAws_restJson1GetHLSStreamingSessionURLCommandError = async (out
|
|
|
331
331
|
$fault: "client",
|
|
332
332
|
$metadata: deserializeMetadata(output),
|
|
333
333
|
});
|
|
334
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
334
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
335
335
|
}
|
|
336
336
|
};
|
|
337
337
|
const deserializeAws_restJson1GetMediaForFragmentListCommand = async (output, context) => {
|
|
@@ -379,7 +379,7 @@ const deserializeAws_restJson1GetMediaForFragmentListCommandError = async (outpu
|
|
|
379
379
|
$fault: "client",
|
|
380
380
|
$metadata: deserializeMetadata(output),
|
|
381
381
|
});
|
|
382
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
382
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
383
383
|
}
|
|
384
384
|
};
|
|
385
385
|
const deserializeAws_restJson1ListFragmentsCommand = async (output, context) => {
|
|
@@ -391,12 +391,12 @@ const deserializeAws_restJson1ListFragmentsCommand = async (output, context) =>
|
|
|
391
391
|
Fragments: undefined,
|
|
392
392
|
NextToken: undefined,
|
|
393
393
|
};
|
|
394
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
394
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
395
395
|
if (data.Fragments !== undefined && data.Fragments !== null) {
|
|
396
396
|
contents.Fragments = deserializeAws_restJson1FragmentList(data.Fragments, context);
|
|
397
397
|
}
|
|
398
398
|
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
399
|
-
contents.NextToken = smithy_client_1.expectString(data.NextToken);
|
|
399
|
+
contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
|
|
400
400
|
}
|
|
401
401
|
return Promise.resolve(contents);
|
|
402
402
|
};
|
|
@@ -429,116 +429,116 @@ const deserializeAws_restJson1ListFragmentsCommandError = async (output, context
|
|
|
429
429
|
$fault: "client",
|
|
430
430
|
$metadata: deserializeMetadata(output),
|
|
431
431
|
});
|
|
432
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
432
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
433
433
|
}
|
|
434
434
|
};
|
|
435
435
|
const deserializeAws_restJson1ClientLimitExceededExceptionResponse = async (parsedOutput, context) => {
|
|
436
436
|
const contents = {};
|
|
437
437
|
const data = parsedOutput.body;
|
|
438
438
|
if (data.Message !== undefined && data.Message !== null) {
|
|
439
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
439
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
440
440
|
}
|
|
441
441
|
const exception = new models_0_1.ClientLimitExceededException({
|
|
442
442
|
$metadata: deserializeMetadata(parsedOutput),
|
|
443
443
|
...contents,
|
|
444
444
|
});
|
|
445
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
445
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
446
446
|
};
|
|
447
447
|
const deserializeAws_restJson1InvalidArgumentExceptionResponse = async (parsedOutput, context) => {
|
|
448
448
|
const contents = {};
|
|
449
449
|
const data = parsedOutput.body;
|
|
450
450
|
if (data.Message !== undefined && data.Message !== null) {
|
|
451
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
451
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
452
452
|
}
|
|
453
453
|
const exception = new models_0_1.InvalidArgumentException({
|
|
454
454
|
$metadata: deserializeMetadata(parsedOutput),
|
|
455
455
|
...contents,
|
|
456
456
|
});
|
|
457
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
457
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
458
458
|
};
|
|
459
459
|
const deserializeAws_restJson1InvalidCodecPrivateDataExceptionResponse = async (parsedOutput, context) => {
|
|
460
460
|
const contents = {};
|
|
461
461
|
const data = parsedOutput.body;
|
|
462
462
|
if (data.Message !== undefined && data.Message !== null) {
|
|
463
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
463
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
464
464
|
}
|
|
465
465
|
const exception = new models_0_1.InvalidCodecPrivateDataException({
|
|
466
466
|
$metadata: deserializeMetadata(parsedOutput),
|
|
467
467
|
...contents,
|
|
468
468
|
});
|
|
469
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
469
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
470
470
|
};
|
|
471
471
|
const deserializeAws_restJson1InvalidMediaFrameExceptionResponse = async (parsedOutput, context) => {
|
|
472
472
|
const contents = {};
|
|
473
473
|
const data = parsedOutput.body;
|
|
474
474
|
if (data.Message !== undefined && data.Message !== null) {
|
|
475
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
475
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
476
476
|
}
|
|
477
477
|
const exception = new models_0_1.InvalidMediaFrameException({
|
|
478
478
|
$metadata: deserializeMetadata(parsedOutput),
|
|
479
479
|
...contents,
|
|
480
480
|
});
|
|
481
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
481
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
482
482
|
};
|
|
483
483
|
const deserializeAws_restJson1MissingCodecPrivateDataExceptionResponse = async (parsedOutput, context) => {
|
|
484
484
|
const contents = {};
|
|
485
485
|
const data = parsedOutput.body;
|
|
486
486
|
if (data.Message !== undefined && data.Message !== null) {
|
|
487
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
487
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
488
488
|
}
|
|
489
489
|
const exception = new models_0_1.MissingCodecPrivateDataException({
|
|
490
490
|
$metadata: deserializeMetadata(parsedOutput),
|
|
491
491
|
...contents,
|
|
492
492
|
});
|
|
493
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
493
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
494
494
|
};
|
|
495
495
|
const deserializeAws_restJson1NoDataRetentionExceptionResponse = async (parsedOutput, context) => {
|
|
496
496
|
const contents = {};
|
|
497
497
|
const data = parsedOutput.body;
|
|
498
498
|
if (data.Message !== undefined && data.Message !== null) {
|
|
499
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
499
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
500
500
|
}
|
|
501
501
|
const exception = new models_0_1.NoDataRetentionException({
|
|
502
502
|
$metadata: deserializeMetadata(parsedOutput),
|
|
503
503
|
...contents,
|
|
504
504
|
});
|
|
505
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
505
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
506
506
|
};
|
|
507
507
|
const deserializeAws_restJson1NotAuthorizedExceptionResponse = async (parsedOutput, context) => {
|
|
508
508
|
const contents = {};
|
|
509
509
|
const data = parsedOutput.body;
|
|
510
510
|
if (data.Message !== undefined && data.Message !== null) {
|
|
511
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
511
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
512
512
|
}
|
|
513
513
|
const exception = new models_0_1.NotAuthorizedException({
|
|
514
514
|
$metadata: deserializeMetadata(parsedOutput),
|
|
515
515
|
...contents,
|
|
516
516
|
});
|
|
517
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
517
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
518
518
|
};
|
|
519
519
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
520
520
|
const contents = {};
|
|
521
521
|
const data = parsedOutput.body;
|
|
522
522
|
if (data.Message !== undefined && data.Message !== null) {
|
|
523
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
523
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
524
524
|
}
|
|
525
525
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
526
526
|
$metadata: deserializeMetadata(parsedOutput),
|
|
527
527
|
...contents,
|
|
528
528
|
});
|
|
529
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
529
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
530
530
|
};
|
|
531
531
|
const deserializeAws_restJson1UnsupportedStreamMediaTypeExceptionResponse = async (parsedOutput, context) => {
|
|
532
532
|
const contents = {};
|
|
533
533
|
const data = parsedOutput.body;
|
|
534
534
|
if (data.Message !== undefined && data.Message !== null) {
|
|
535
|
-
contents.Message = smithy_client_1.expectString(data.Message);
|
|
535
|
+
contents.Message = (0, smithy_client_1.expectString)(data.Message);
|
|
536
536
|
}
|
|
537
537
|
const exception = new models_0_1.UnsupportedStreamMediaTypeException({
|
|
538
538
|
$metadata: deserializeMetadata(parsedOutput),
|
|
539
539
|
...contents,
|
|
540
540
|
});
|
|
541
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
541
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
542
542
|
};
|
|
543
543
|
const serializeAws_restJson1ClipFragmentSelector = (input, context) => {
|
|
544
544
|
return {
|
|
@@ -624,14 +624,14 @@ const serializeAws_restJson1TimestampRange = (input, context) => {
|
|
|
624
624
|
};
|
|
625
625
|
const deserializeAws_restJson1Fragment = (output, context) => {
|
|
626
626
|
return {
|
|
627
|
-
FragmentLengthInMilliseconds: smithy_client_1.expectLong(output.FragmentLengthInMilliseconds),
|
|
628
|
-
FragmentNumber: smithy_client_1.expectString(output.FragmentNumber),
|
|
629
|
-
FragmentSizeInBytes: smithy_client_1.expectLong(output.FragmentSizeInBytes),
|
|
627
|
+
FragmentLengthInMilliseconds: (0, smithy_client_1.expectLong)(output.FragmentLengthInMilliseconds),
|
|
628
|
+
FragmentNumber: (0, smithy_client_1.expectString)(output.FragmentNumber),
|
|
629
|
+
FragmentSizeInBytes: (0, smithy_client_1.expectLong)(output.FragmentSizeInBytes),
|
|
630
630
|
ProducerTimestamp: output.ProducerTimestamp !== undefined && output.ProducerTimestamp !== null
|
|
631
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ProducerTimestamp)))
|
|
631
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ProducerTimestamp)))
|
|
632
632
|
: undefined,
|
|
633
633
|
ServerTimestamp: output.ServerTimestamp !== undefined && output.ServerTimestamp !== null
|
|
634
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.ServerTimestamp)))
|
|
634
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.ServerTimestamp)))
|
|
635
635
|
: undefined,
|
|
636
636
|
};
|
|
637
637
|
};
|
|
@@ -17,9 +17,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
17
17
|
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
18
18
|
const getRuntimeConfig = (config) => {
|
|
19
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
20
|
-
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
21
21
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
22
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
23
23
|
return {
|
|
24
24
|
...clientSharedValues,
|
|
25
25
|
...config,
|
|
@@ -29,9 +29,9 @@ const getRuntimeConfig = (config) => {
|
|
|
29
29
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
30
30
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
31
31
|
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
32
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
33
33
|
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
34
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
34
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
35
35
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
36
36
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
37
37
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
@@ -19,9 +19,9 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
|
19
19
|
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
20
20
|
const getRuntimeConfig = (config) => {
|
|
21
21
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
22
|
-
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
|
-
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
24
|
+
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
return {
|
|
26
26
|
...clientSharedValues,
|
|
27
27
|
...config,
|
|
@@ -30,19 +30,19 @@ const getRuntimeConfig = (config) => {
|
|
|
30
30
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
31
31
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
32
32
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
33
|
-
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : client_sts_1.decorateDefaultCredentialProvider(credential_provider_node_1.defaultProvider),
|
|
34
|
-
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
|
|
34
|
+
defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
+
maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
+
region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
37
37
|
requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
38
|
-
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
|
|
38
|
+
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
|
|
39
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
40
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
41
41
|
}),
|
|
42
42
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
43
43
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
44
|
-
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
-
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
45
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
46
46
|
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
47
47
|
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
48
48
|
};
|
|
@@ -5,7 +5,7 @@ const sha256_js_1 = require("@aws-crypto/sha256-js");
|
|
|
5
5
|
const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a;
|
|
8
|
-
const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
|
|
8
|
+
const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
|
|
9
9
|
return {
|
|
10
10
|
...browserDefaults,
|
|
11
11
|
...config,
|
|
@@ -17,7 +17,7 @@ var KinesisVideoArchivedMedia = (function (_super) {
|
|
|
17
17
|
}
|
|
18
18
|
else if (typeof cb === "function") {
|
|
19
19
|
if (typeof optionsOrCb !== "object")
|
|
20
|
-
throw new Error("Expect http options but get "
|
|
20
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
21
21
|
this.send(command, optionsOrCb || {}, cb);
|
|
22
22
|
}
|
|
23
23
|
else {
|
|
@@ -31,7 +31,7 @@ var KinesisVideoArchivedMedia = (function (_super) {
|
|
|
31
31
|
}
|
|
32
32
|
else if (typeof cb === "function") {
|
|
33
33
|
if (typeof optionsOrCb !== "object")
|
|
34
|
-
throw new Error("Expect http options but get "
|
|
34
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
35
35
|
this.send(command, optionsOrCb || {}, cb);
|
|
36
36
|
}
|
|
37
37
|
else {
|
|
@@ -45,7 +45,7 @@ var KinesisVideoArchivedMedia = (function (_super) {
|
|
|
45
45
|
}
|
|
46
46
|
else if (typeof cb === "function") {
|
|
47
47
|
if (typeof optionsOrCb !== "object")
|
|
48
|
-
throw new Error("Expect http options but get "
|
|
48
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
49
49
|
this.send(command, optionsOrCb || {}, cb);
|
|
50
50
|
}
|
|
51
51
|
else {
|
|
@@ -59,7 +59,7 @@ var KinesisVideoArchivedMedia = (function (_super) {
|
|
|
59
59
|
}
|
|
60
60
|
else if (typeof cb === "function") {
|
|
61
61
|
if (typeof optionsOrCb !== "object")
|
|
62
|
-
throw new Error("Expect http options but get "
|
|
62
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
63
63
|
this.send(command, optionsOrCb || {}, cb);
|
|
64
64
|
}
|
|
65
65
|
else {
|
|
@@ -73,7 +73,7 @@ var KinesisVideoArchivedMedia = (function (_super) {
|
|
|
73
73
|
}
|
|
74
74
|
else if (typeof cb === "function") {
|
|
75
75
|
if (typeof optionsOrCb !== "object")
|
|
76
|
-
throw new Error("Expect http options but get "
|
|
76
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
77
77
|
this.send(command, optionsOrCb || {}, cb);
|
|
78
78
|
}
|
|
79
79
|
else {
|
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1GetClipCommand = function (input, context) { re
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getClip";
|
|
17
17
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.ClipFragmentSelector !== undefined &&
|
|
18
18
|
input.ClipFragmentSelector !== null && {
|
|
19
19
|
ClipFragmentSelector: serializeAws_restJson1ClipFragmentSelector(input.ClipFragmentSelector, context),
|
|
@@ -40,7 +40,7 @@ export var serializeAws_restJson1GetDASHStreamingSessionURLCommand = function (i
|
|
|
40
40
|
headers = {
|
|
41
41
|
"content-type": "application/json",
|
|
42
42
|
};
|
|
43
|
-
resolvedPath = ""
|
|
43
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getDASHStreamingSessionURL";
|
|
44
44
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.DASHFragmentSelector !== undefined &&
|
|
45
45
|
input.DASHFragmentSelector !== null && {
|
|
46
46
|
DASHFragmentSelector: serializeAws_restJson1DASHFragmentSelector(input.DASHFragmentSelector, context),
|
|
@@ -70,7 +70,7 @@ export var serializeAws_restJson1GetHLSStreamingSessionURLCommand = function (in
|
|
|
70
70
|
headers = {
|
|
71
71
|
"content-type": "application/json",
|
|
72
72
|
};
|
|
73
|
-
resolvedPath = ""
|
|
73
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getHLSStreamingSessionURL";
|
|
74
74
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.ContainerFormat !== undefined &&
|
|
75
75
|
input.ContainerFormat !== null && { ContainerFormat: input.ContainerFormat })), (input.DiscontinuityMode !== undefined &&
|
|
76
76
|
input.DiscontinuityMode !== null && { DiscontinuityMode: input.DiscontinuityMode })), (input.DisplayFragmentTimestamp !== undefined &&
|
|
@@ -103,7 +103,7 @@ export var serializeAws_restJson1GetMediaForFragmentListCommand = function (inpu
|
|
|
103
103
|
headers = {
|
|
104
104
|
"content-type": "application/json",
|
|
105
105
|
};
|
|
106
|
-
resolvedPath = ""
|
|
106
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/getMediaForFragmentList";
|
|
107
107
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.Fragments !== undefined &&
|
|
108
108
|
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 })));
|
|
109
109
|
return [2, new __HttpRequest({
|
|
@@ -128,7 +128,7 @@ export var serializeAws_restJson1ListFragmentsCommand = function (input, context
|
|
|
128
128
|
headers = {
|
|
129
129
|
"content-type": "application/json",
|
|
130
130
|
};
|
|
131
|
-
resolvedPath = ""
|
|
131
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/listFragments";
|
|
132
132
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.FragmentSelector !== undefined &&
|
|
133
133
|
input.FragmentSelector !== null && {
|
|
134
134
|
FragmentSelector: serializeAws_restJson1FragmentSelector(input.FragmentSelector, context),
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: KinesisVideoArchivedMediaClientC
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: KinesisVideoArchivedMediaClientC
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
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.58.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,47 +18,47 @@
|
|
|
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-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.58.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.58.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.58.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.58.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.58.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.58.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.58.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.58.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.58.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.58.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.58.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.58.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.58.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.58.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.58.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.58.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.58.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|
|
58
58
|
"downlevel-dts": "0.7.0",
|
|
59
59
|
"rimraf": "3.0.2",
|
|
60
60
|
"typedoc": "0.19.2",
|
|
61
|
-
"typescript": "~4.
|
|
61
|
+
"typescript": "~4.6.2"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=12.0.0"
|