@aws-sdk/client-ivs 3.47.2 → 3.51.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 +35 -0
- package/dist-cjs/models/models_0.js +13 -2
- package/dist-cjs/protocols/Aws_restJson1.js +28 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_restJson1.js +37 -13
- package/dist-types/models/models_0.d.ts +41 -1
- package/dist-types/ts3.4/models/models_0.d.ts +19 -0
- package/package.json +39 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
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.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-ivs
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-ivs
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-ivs
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
7
42
|
|
|
8
43
|
**Note:** Version bump only for package @aws-sdk/client-ivs
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopStreamResponse = exports.StopStreamRequest = exports.PutMetadataRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListStreamSessionsResponse = exports.StreamSessionSummary = exports.ListStreamSessionsRequest = exports.ListStreamsResponse = exports.StreamSummary = exports.ListStreamsRequest = exports.StreamFilters = exports.ListStreamKeysResponse = exports.StreamKeySummary = exports.ListStreamKeysRequest = exports.ListRecordingConfigurationsResponse = exports.RecordingConfigurationSummary = exports.ListRecordingConfigurationsRequest = exports.ListPlaybackKeyPairsResponse = exports.PlaybackKeyPairSummary = exports.ListPlaybackKeyPairsRequest = void 0;
|
|
3
|
+
exports.ListChannelsRequest = exports.ImportPlaybackKeyPairResponse = exports.ImportPlaybackKeyPairRequest = exports.GetStreamSessionResponse = exports.StreamSession = exports.StreamEvent = exports.IngestConfiguration = exports.VideoConfiguration = exports.AudioConfiguration = exports.GetStreamSessionRequest = exports.GetStreamKeyResponse = exports.GetStreamKeyRequest = exports.GetStreamResponse = exports._Stream = exports.StreamState = exports.StreamHealth = exports.GetStreamRequest = exports.GetRecordingConfigurationResponse = exports.GetRecordingConfigurationRequest = exports.GetPlaybackKeyPairResponse = exports.PlaybackKeyPair = exports.GetPlaybackKeyPairRequest = exports.GetChannelResponse = exports.GetChannelRequest = exports.DeleteStreamKeyRequest = exports.DeleteRecordingConfigurationRequest = exports.DeletePlaybackKeyPairResponse = exports.DeletePlaybackKeyPairRequest = exports.DeleteChannelRequest = exports.CreateStreamKeyResponse = exports.CreateStreamKeyRequest = exports.CreateRecordingConfigurationResponse = exports.RecordingConfiguration = exports.RecordingConfigurationState = exports.CreateRecordingConfigurationRequest = exports.ThumbnailConfiguration = exports.RecordingMode = exports.DestinationConfiguration = exports.S3DestinationConfiguration = exports.CreateChannelResponse = exports.CreateChannelRequest = exports.BatchGetStreamKeyResponse = exports.StreamKey = exports.BatchGetStreamKeyRequest = exports.BatchGetChannelResponse = exports.BatchError = exports.Channel = exports.ChannelType = exports.ChannelLatencyMode = exports.BatchGetChannelRequest = void 0;
|
|
4
|
+
exports.UpdateChannelResponse = exports.UpdateChannelRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StopStreamResponse = exports.StopStreamRequest = exports.PutMetadataRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListStreamSessionsResponse = exports.StreamSessionSummary = exports.ListStreamSessionsRequest = exports.ListStreamsResponse = exports.StreamSummary = exports.ListStreamsRequest = exports.StreamFilters = exports.ListStreamKeysResponse = exports.StreamKeySummary = exports.ListStreamKeysRequest = exports.ListRecordingConfigurationsResponse = exports.RecordingConfigurationSummary = exports.ListRecordingConfigurationsRequest = exports.ListPlaybackKeyPairsResponse = exports.PlaybackKeyPairSummary = exports.ListPlaybackKeyPairsRequest = exports.ListChannelsResponse = exports.ChannelSummary = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
var BatchGetChannelRequest;
|
|
7
7
|
(function (BatchGetChannelRequest) {
|
|
@@ -82,6 +82,17 @@ var DestinationConfiguration;
|
|
|
82
82
|
...obj,
|
|
83
83
|
});
|
|
84
84
|
})(DestinationConfiguration = exports.DestinationConfiguration || (exports.DestinationConfiguration = {}));
|
|
85
|
+
var RecordingMode;
|
|
86
|
+
(function (RecordingMode) {
|
|
87
|
+
RecordingMode["Disabled"] = "DISABLED";
|
|
88
|
+
RecordingMode["Interval"] = "INTERVAL";
|
|
89
|
+
})(RecordingMode = exports.RecordingMode || (exports.RecordingMode = {}));
|
|
90
|
+
var ThumbnailConfiguration;
|
|
91
|
+
(function (ThumbnailConfiguration) {
|
|
92
|
+
ThumbnailConfiguration.filterSensitiveLog = (obj) => ({
|
|
93
|
+
...obj,
|
|
94
|
+
});
|
|
95
|
+
})(ThumbnailConfiguration = exports.ThumbnailConfiguration || (exports.ThumbnailConfiguration = {}));
|
|
85
96
|
var CreateRecordingConfigurationRequest;
|
|
86
97
|
(function (CreateRecordingConfigurationRequest) {
|
|
87
98
|
CreateRecordingConfigurationRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -89,6 +89,10 @@ const serializeAws_restJson1CreateRecordingConfigurationCommand = async (input,
|
|
|
89
89
|
}),
|
|
90
90
|
...(input.name !== undefined && input.name !== null && { name: input.name }),
|
|
91
91
|
...(input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) }),
|
|
92
|
+
...(input.thumbnailConfiguration !== undefined &&
|
|
93
|
+
input.thumbnailConfiguration !== null && {
|
|
94
|
+
thumbnailConfiguration: serializeAws_restJson1ThumbnailConfiguration(input.thumbnailConfiguration, context),
|
|
95
|
+
}),
|
|
92
96
|
});
|
|
93
97
|
return new protocol_http_1.HttpRequest({
|
|
94
98
|
protocol,
|
|
@@ -2064,6 +2068,14 @@ const deserializeAws_restJson1ListStreamsCommandError = async (output, context)
|
|
|
2064
2068
|
$metadata: deserializeMetadata(output),
|
|
2065
2069
|
};
|
|
2066
2070
|
break;
|
|
2071
|
+
case "ValidationException":
|
|
2072
|
+
case "com.amazonaws.ivs#ValidationException":
|
|
2073
|
+
response = {
|
|
2074
|
+
...(await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)),
|
|
2075
|
+
name: errorCode,
|
|
2076
|
+
$metadata: deserializeMetadata(output),
|
|
2077
|
+
};
|
|
2078
|
+
break;
|
|
2067
2079
|
default:
|
|
2068
2080
|
const parsedBody = parsedOutput.body;
|
|
2069
2081
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
@@ -2741,6 +2753,13 @@ const serializeAws_restJson1Tags = (input, context) => {
|
|
|
2741
2753
|
};
|
|
2742
2754
|
}, {});
|
|
2743
2755
|
};
|
|
2756
|
+
const serializeAws_restJson1ThumbnailConfiguration = (input, context) => {
|
|
2757
|
+
return {
|
|
2758
|
+
...(input.recordingMode !== undefined && input.recordingMode !== null && { recordingMode: input.recordingMode }),
|
|
2759
|
+
...(input.targetIntervalSeconds !== undefined &&
|
|
2760
|
+
input.targetIntervalSeconds !== null && { targetIntervalSeconds: input.targetIntervalSeconds }),
|
|
2761
|
+
};
|
|
2762
|
+
};
|
|
2744
2763
|
const deserializeAws_restJson1AudioConfiguration = (output, context) => {
|
|
2745
2764
|
return {
|
|
2746
2765
|
channels: smithy_client_1.expectLong(output.channels),
|
|
@@ -2870,6 +2889,9 @@ const deserializeAws_restJson1RecordingConfiguration = (output, context) => {
|
|
|
2870
2889
|
tags: output.tags !== undefined && output.tags !== null
|
|
2871
2890
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
2872
2891
|
: undefined,
|
|
2892
|
+
thumbnailConfiguration: output.thumbnailConfiguration !== undefined && output.thumbnailConfiguration !== null
|
|
2893
|
+
? deserializeAws_restJson1ThumbnailConfiguration(output.thumbnailConfiguration, context)
|
|
2894
|
+
: undefined,
|
|
2873
2895
|
};
|
|
2874
2896
|
};
|
|
2875
2897
|
const deserializeAws_restJson1RecordingConfigurationList = (output, context) => {
|
|
@@ -3049,6 +3071,12 @@ const deserializeAws_restJson1Tags = (output, context) => {
|
|
|
3049
3071
|
};
|
|
3050
3072
|
}, {});
|
|
3051
3073
|
};
|
|
3074
|
+
const deserializeAws_restJson1ThumbnailConfiguration = (output, context) => {
|
|
3075
|
+
return {
|
|
3076
|
+
recordingMode: smithy_client_1.expectString(output.recordingMode),
|
|
3077
|
+
targetIntervalSeconds: smithy_client_1.expectLong(output.targetIntervalSeconds),
|
|
3078
|
+
};
|
|
3079
|
+
};
|
|
3052
3080
|
const deserializeAws_restJson1VideoConfiguration = (output, context) => {
|
|
3053
3081
|
return {
|
|
3054
3082
|
avcLevel: smithy_client_1.expectString(output.avcLevel),
|
|
@@ -54,6 +54,15 @@ export var DestinationConfiguration;
|
|
|
54
54
|
(function (DestinationConfiguration) {
|
|
55
55
|
DestinationConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
56
56
|
})(DestinationConfiguration || (DestinationConfiguration = {}));
|
|
57
|
+
export var RecordingMode;
|
|
58
|
+
(function (RecordingMode) {
|
|
59
|
+
RecordingMode["Disabled"] = "DISABLED";
|
|
60
|
+
RecordingMode["Interval"] = "INTERVAL";
|
|
61
|
+
})(RecordingMode || (RecordingMode = {}));
|
|
62
|
+
export var ThumbnailConfiguration;
|
|
63
|
+
(function (ThumbnailConfiguration) {
|
|
64
|
+
ThumbnailConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
65
|
+
})(ThumbnailConfiguration || (ThumbnailConfiguration = {}));
|
|
57
66
|
export var CreateRecordingConfigurationRequest;
|
|
58
67
|
(function (CreateRecordingConfigurationRequest) {
|
|
59
68
|
CreateRecordingConfigurationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -87,10 +87,13 @@ export var serializeAws_restJson1CreateRecordingConfigurationCommand = function
|
|
|
87
87
|
"content-type": "application/json",
|
|
88
88
|
};
|
|
89
89
|
resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/CreateRecordingConfiguration";
|
|
90
|
-
body = JSON.stringify(__assign(__assign(__assign({}, (input.destinationConfiguration !== undefined &&
|
|
90
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.destinationConfiguration !== undefined &&
|
|
91
91
|
input.destinationConfiguration !== null && {
|
|
92
92
|
destinationConfiguration: serializeAws_restJson1DestinationConfiguration(input.destinationConfiguration, context),
|
|
93
|
-
})), (input.name !== undefined && input.name !== null && { name: input.name })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) }))
|
|
93
|
+
})), (input.name !== undefined && input.name !== null && { name: input.name })), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1Tags(input.tags, context) })), (input.thumbnailConfiguration !== undefined &&
|
|
94
|
+
input.thumbnailConfiguration !== null && {
|
|
95
|
+
thumbnailConfiguration: serializeAws_restJson1ThumbnailConfiguration(input.thumbnailConfiguration, context),
|
|
96
|
+
})));
|
|
94
97
|
return [2, new __HttpRequest({
|
|
95
98
|
protocol: protocol,
|
|
96
99
|
hostname: hostname,
|
|
@@ -2376,36 +2379,44 @@ export var deserializeAws_restJson1ListStreamsCommand = function (output, contex
|
|
|
2376
2379
|
});
|
|
2377
2380
|
}); };
|
|
2378
2381
|
var deserializeAws_restJson1ListStreamsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2379
|
-
var parsedOutput, _a, response, errorCode, _b, _c, parsedBody, message;
|
|
2380
|
-
var
|
|
2381
|
-
return __generator(this, function (
|
|
2382
|
-
switch (
|
|
2382
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, parsedBody, message;
|
|
2383
|
+
var _e;
|
|
2384
|
+
return __generator(this, function (_f) {
|
|
2385
|
+
switch (_f.label) {
|
|
2383
2386
|
case 0:
|
|
2384
2387
|
_a = [__assign({}, output)];
|
|
2385
|
-
|
|
2388
|
+
_e = {};
|
|
2386
2389
|
return [4, parseBody(output.body, context)];
|
|
2387
2390
|
case 1:
|
|
2388
|
-
parsedOutput = __assign.apply(void 0, _a.concat([(
|
|
2391
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_e.body = _f.sent(), _e)]));
|
|
2389
2392
|
errorCode = "UnknownError";
|
|
2390
2393
|
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2391
2394
|
_b = errorCode;
|
|
2392
2395
|
switch (_b) {
|
|
2393
2396
|
case "AccessDeniedException": return [3, 2];
|
|
2394
2397
|
case "com.amazonaws.ivs#AccessDeniedException": return [3, 2];
|
|
2398
|
+
case "ValidationException": return [3, 4];
|
|
2399
|
+
case "com.amazonaws.ivs#ValidationException": return [3, 4];
|
|
2395
2400
|
}
|
|
2396
|
-
return [3,
|
|
2401
|
+
return [3, 6];
|
|
2397
2402
|
case 2:
|
|
2398
2403
|
_c = [{}];
|
|
2399
2404
|
return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2400
2405
|
case 3:
|
|
2401
|
-
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(
|
|
2402
|
-
return [3,
|
|
2406
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2407
|
+
return [3, 7];
|
|
2403
2408
|
case 4:
|
|
2409
|
+
_d = [{}];
|
|
2410
|
+
return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
2411
|
+
case 5:
|
|
2412
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_f.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2413
|
+
return [3, 7];
|
|
2414
|
+
case 6:
|
|
2404
2415
|
parsedBody = parsedOutput.body;
|
|
2405
2416
|
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2406
2417
|
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
2407
|
-
|
|
2408
|
-
case
|
|
2418
|
+
_f.label = 7;
|
|
2419
|
+
case 7:
|
|
2409
2420
|
message = response.message || response.Message || errorCode;
|
|
2410
2421
|
response.message = message;
|
|
2411
2422
|
delete response.Message;
|
|
@@ -3187,6 +3198,10 @@ var serializeAws_restJson1Tags = function (input, context) {
|
|
|
3187
3198
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
3188
3199
|
}, {});
|
|
3189
3200
|
};
|
|
3201
|
+
var serializeAws_restJson1ThumbnailConfiguration = function (input, context) {
|
|
3202
|
+
return __assign(__assign({}, (input.recordingMode !== undefined && input.recordingMode !== null && { recordingMode: input.recordingMode })), (input.targetIntervalSeconds !== undefined &&
|
|
3203
|
+
input.targetIntervalSeconds !== null && { targetIntervalSeconds: input.targetIntervalSeconds }));
|
|
3204
|
+
};
|
|
3190
3205
|
var deserializeAws_restJson1AudioConfiguration = function (output, context) {
|
|
3191
3206
|
return {
|
|
3192
3207
|
channels: __expectLong(output.channels),
|
|
@@ -3316,6 +3331,9 @@ var deserializeAws_restJson1RecordingConfiguration = function (output, context)
|
|
|
3316
3331
|
tags: output.tags !== undefined && output.tags !== null
|
|
3317
3332
|
? deserializeAws_restJson1Tags(output.tags, context)
|
|
3318
3333
|
: undefined,
|
|
3334
|
+
thumbnailConfiguration: output.thumbnailConfiguration !== undefined && output.thumbnailConfiguration !== null
|
|
3335
|
+
? deserializeAws_restJson1ThumbnailConfiguration(output.thumbnailConfiguration, context)
|
|
3336
|
+
: undefined,
|
|
3319
3337
|
};
|
|
3320
3338
|
};
|
|
3321
3339
|
var deserializeAws_restJson1RecordingConfigurationList = function (output, context) {
|
|
@@ -3494,6 +3512,12 @@ var deserializeAws_restJson1Tags = function (output, context) {
|
|
|
3494
3512
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
3495
3513
|
}, {});
|
|
3496
3514
|
};
|
|
3515
|
+
var deserializeAws_restJson1ThumbnailConfiguration = function (output, context) {
|
|
3516
|
+
return {
|
|
3517
|
+
recordingMode: __expectString(output.recordingMode),
|
|
3518
|
+
targetIntervalSeconds: __expectLong(output.targetIntervalSeconds),
|
|
3519
|
+
};
|
|
3520
|
+
};
|
|
3497
3521
|
var deserializeAws_restJson1VideoConfiguration = function (output, context) {
|
|
3498
3522
|
return {
|
|
3499
3523
|
avcLevel: __expectString(output.avcLevel),
|
|
@@ -356,6 +356,36 @@ export declare namespace DestinationConfiguration {
|
|
|
356
356
|
*/
|
|
357
357
|
const filterSensitiveLog: (obj: DestinationConfiguration) => any;
|
|
358
358
|
}
|
|
359
|
+
export declare enum RecordingMode {
|
|
360
|
+
Disabled = "DISABLED",
|
|
361
|
+
Interval = "INTERVAL"
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* <p>An object representing a configuration of thumbnails for recorded video.</p>
|
|
365
|
+
*/
|
|
366
|
+
export interface ThumbnailConfiguration {
|
|
367
|
+
/**
|
|
368
|
+
* <p>Thumbnail recording mode. Default: <code>INTERVAL</code>.</p>
|
|
369
|
+
*/
|
|
370
|
+
recordingMode?: RecordingMode | string;
|
|
371
|
+
/**
|
|
372
|
+
* <p>The targeted thumbnail-generation interval in seconds. This is configurable (and required)
|
|
373
|
+
* only if <code>recordingMode</code> is <code>INTERVAL</code>. Default: 60.</p>
|
|
374
|
+
* <p>
|
|
375
|
+
* <b>Important:</b> Setting a value for <code>targetIntervalSeconds</code> does not guarantee that thumbnails
|
|
376
|
+
* are generated at the specified interval. For thumbnails to be generated at the
|
|
377
|
+
* <code>targetIntervalSeconds</code> interval, the <code>IDR/Keyframe</code> value for the input video must be less than
|
|
378
|
+
* the <code>targetIntervalSeconds</code> value. See <a href="https://docs.aws.amazon.com/ivs/latest/userguide/streaming-config.html"> Amazon IVS Streaming Configuration</a> for information on
|
|
379
|
+
* setting <code>IDR/Keyframe</code> to the recommended value in video-encoder settings.</p>
|
|
380
|
+
*/
|
|
381
|
+
targetIntervalSeconds?: number;
|
|
382
|
+
}
|
|
383
|
+
export declare namespace ThumbnailConfiguration {
|
|
384
|
+
/**
|
|
385
|
+
* @internal
|
|
386
|
+
*/
|
|
387
|
+
const filterSensitiveLog: (obj: ThumbnailConfiguration) => any;
|
|
388
|
+
}
|
|
359
389
|
export interface CreateRecordingConfigurationRequest {
|
|
360
390
|
/**
|
|
361
391
|
* <p>Recording-configuration name. The value does not need to be unique.</p>
|
|
@@ -372,6 +402,11 @@ export interface CreateRecordingConfigurationRequest {
|
|
|
372
402
|
tags?: {
|
|
373
403
|
[key: string]: string;
|
|
374
404
|
};
|
|
405
|
+
/**
|
|
406
|
+
* <p>A complex type that allows you to enable/disable the recording of thumbnails for a live
|
|
407
|
+
* session and modify the interval at which thumbnails are generated for the live session.</p>
|
|
408
|
+
*/
|
|
409
|
+
thumbnailConfiguration?: ThumbnailConfiguration;
|
|
375
410
|
}
|
|
376
411
|
export declare namespace CreateRecordingConfigurationRequest {
|
|
377
412
|
/**
|
|
@@ -411,6 +446,11 @@ export interface RecordingConfiguration {
|
|
|
411
446
|
tags?: {
|
|
412
447
|
[key: string]: string;
|
|
413
448
|
};
|
|
449
|
+
/**
|
|
450
|
+
* <p>A complex type that allows you to enable/disable the recording of thumbnails for a live
|
|
451
|
+
* session and modify the interval at which thumbnails are generated for the live session.</p>
|
|
452
|
+
*/
|
|
453
|
+
thumbnailConfiguration?: ThumbnailConfiguration;
|
|
414
454
|
}
|
|
415
455
|
export declare namespace RecordingConfiguration {
|
|
416
456
|
/**
|
|
@@ -1378,7 +1418,7 @@ export declare namespace StreamSessionSummary {
|
|
|
1378
1418
|
}
|
|
1379
1419
|
export interface ListStreamSessionsResponse {
|
|
1380
1420
|
/**
|
|
1381
|
-
* <p
|
|
1421
|
+
* <p>List of stream sessions.</p>
|
|
1382
1422
|
*/
|
|
1383
1423
|
streamSessions: StreamSessionSummary[] | undefined;
|
|
1384
1424
|
/**
|
|
@@ -190,6 +190,21 @@ export declare namespace DestinationConfiguration {
|
|
|
190
190
|
|
|
191
191
|
const filterSensitiveLog: (obj: DestinationConfiguration) => any;
|
|
192
192
|
}
|
|
193
|
+
export declare enum RecordingMode {
|
|
194
|
+
Disabled = "DISABLED",
|
|
195
|
+
Interval = "INTERVAL"
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export interface ThumbnailConfiguration {
|
|
199
|
+
|
|
200
|
+
recordingMode?: RecordingMode | string;
|
|
201
|
+
|
|
202
|
+
targetIntervalSeconds?: number;
|
|
203
|
+
}
|
|
204
|
+
export declare namespace ThumbnailConfiguration {
|
|
205
|
+
|
|
206
|
+
const filterSensitiveLog: (obj: ThumbnailConfiguration) => any;
|
|
207
|
+
}
|
|
193
208
|
export interface CreateRecordingConfigurationRequest {
|
|
194
209
|
|
|
195
210
|
name?: string;
|
|
@@ -199,6 +214,8 @@ export interface CreateRecordingConfigurationRequest {
|
|
|
199
214
|
tags?: {
|
|
200
215
|
[key: string]: string;
|
|
201
216
|
};
|
|
217
|
+
|
|
218
|
+
thumbnailConfiguration?: ThumbnailConfiguration;
|
|
202
219
|
}
|
|
203
220
|
export declare namespace CreateRecordingConfigurationRequest {
|
|
204
221
|
|
|
@@ -223,6 +240,8 @@ export interface RecordingConfiguration {
|
|
|
223
240
|
tags?: {
|
|
224
241
|
[key: string]: string;
|
|
225
242
|
};
|
|
243
|
+
|
|
244
|
+
thumbnailConfiguration?: ThumbnailConfiguration;
|
|
226
245
|
}
|
|
227
246
|
export declare namespace RecordingConfiguration {
|
|
228
247
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ivs",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ivs Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.51.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,41 +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.
|
|
21
|
+
"@aws-sdk/client-sts": "3.51.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.51.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.51.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.50.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.50.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.50.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.50.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.50.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.50.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.51.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.50.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.50.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.50.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.50.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.51.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.50.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.50.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.50.0",
|
|
39
|
+
"@aws-sdk/types": "3.50.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.50.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.49.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.49.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.49.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.49.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.50.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.51.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.50.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.51.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.49.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.49.0",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
55
|
-
"@
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.49.0",
|
|
55
|
+
"@tsconfig/recommended": "1.0.1",
|
|
56
|
+
"@types/node": "^12.7.5",
|
|
57
|
+
"concurrently": "7.0.0",
|
|
58
|
+
"downlevel-dts": "0.7.0",
|
|
59
|
+
"rimraf": "3.0.2",
|
|
60
|
+
"typedoc": "0.19.2",
|
|
61
|
+
"typescript": "~4.3.5"
|
|
56
62
|
},
|
|
57
63
|
"engines": {
|
|
58
64
|
"node": ">=12.0.0"
|