@aws-sdk/client-ivs-realtime 3.598.0 → 3.602.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +32 -0
- package/dist-es/models/models_0.js +19 -0
- package/dist-es/protocols/Aws_restJson1.js +7 -0
- package/dist-types/commands/CreateStageCommand.d.ts +12 -0
- package/dist-types/commands/GetParticipantCommand.d.ts +3 -0
- package/dist-types/commands/GetStageCommand.d.ts +6 -0
- package/dist-types/commands/ListParticipantsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateStageCommand.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +114 -11
- package/dist-types/ts3.4/models/models_0.d.ts +37 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -55,6 +55,9 @@ __export(src_exports, {
|
|
|
55
55
|
ListStagesCommand: () => ListStagesCommand,
|
|
56
56
|
ListStorageConfigurationsCommand: () => ListStorageConfigurationsCommand,
|
|
57
57
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
58
|
+
ParticipantRecordingFilterByRecordingState: () => ParticipantRecordingFilterByRecordingState,
|
|
59
|
+
ParticipantRecordingMediaType: () => ParticipantRecordingMediaType,
|
|
60
|
+
ParticipantRecordingState: () => ParticipantRecordingState,
|
|
58
61
|
ParticipantState: () => ParticipantState,
|
|
59
62
|
ParticipantTokenCapability: () => ParticipantTokenCapability,
|
|
60
63
|
ParticipantTokenFilterSensitiveLog: () => ParticipantTokenFilterSensitiveLog,
|
|
@@ -386,6 +389,10 @@ var ParticipantTokenCapability = {
|
|
|
386
389
|
PUBLISH: "PUBLISH",
|
|
387
390
|
SUBSCRIBE: "SUBSCRIBE"
|
|
388
391
|
};
|
|
392
|
+
var ParticipantRecordingMediaType = {
|
|
393
|
+
AUDIO_ONLY: "AUDIO_ONLY",
|
|
394
|
+
AUDIO_VIDEO: "AUDIO_VIDEO"
|
|
395
|
+
};
|
|
389
396
|
var RecordingConfigurationFormat = {
|
|
390
397
|
HLS: "HLS"
|
|
391
398
|
};
|
|
@@ -425,6 +432,14 @@ var CompositionState = {
|
|
|
425
432
|
STOPPED: "STOPPED",
|
|
426
433
|
STOPPING: "STOPPING"
|
|
427
434
|
};
|
|
435
|
+
var ParticipantRecordingState = {
|
|
436
|
+
ACTIVE: "ACTIVE",
|
|
437
|
+
DISABLED: "DISABLED",
|
|
438
|
+
FAILED: "FAILED",
|
|
439
|
+
STARTING: "STARTING",
|
|
440
|
+
STOPPED: "STOPPED",
|
|
441
|
+
STOPPING: "STOPPING"
|
|
442
|
+
};
|
|
428
443
|
var ParticipantState = {
|
|
429
444
|
CONNECTED: "CONNECTED",
|
|
430
445
|
DISCONNECTED: "DISCONNECTED"
|
|
@@ -445,6 +460,13 @@ var EventName = {
|
|
|
445
460
|
SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED",
|
|
446
461
|
SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED"
|
|
447
462
|
};
|
|
463
|
+
var ParticipantRecordingFilterByRecordingState = {
|
|
464
|
+
ACTIVE: "ACTIVE",
|
|
465
|
+
FAILED: "FAILED",
|
|
466
|
+
STARTING: "STARTING",
|
|
467
|
+
STOPPED: "STOPPED",
|
|
468
|
+
STOPPING: "STOPPING"
|
|
469
|
+
};
|
|
448
470
|
var ParticipantTokenFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
449
471
|
...obj,
|
|
450
472
|
...obj.token && { token: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -506,6 +528,7 @@ var se_CreateStageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
506
528
|
let body;
|
|
507
529
|
body = JSON.stringify(
|
|
508
530
|
(0, import_smithy_client.take)(input, {
|
|
531
|
+
autoParticipantRecordingConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
509
532
|
name: [],
|
|
510
533
|
participantTokenConfigurations: (_) => (0, import_smithy_client._json)(_),
|
|
511
534
|
tags: (_) => (0, import_smithy_client._json)(_)
|
|
@@ -749,6 +772,7 @@ var se_ListParticipantsCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
749
772
|
body = JSON.stringify(
|
|
750
773
|
(0, import_smithy_client.take)(input, {
|
|
751
774
|
filterByPublished: [],
|
|
775
|
+
filterByRecordingState: [],
|
|
752
776
|
filterByState: [],
|
|
753
777
|
filterByUserId: [],
|
|
754
778
|
maxResults: [],
|
|
@@ -893,6 +917,7 @@ var se_UpdateStageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
893
917
|
body = JSON.stringify(
|
|
894
918
|
(0, import_smithy_client.take)(input, {
|
|
895
919
|
arn: [],
|
|
920
|
+
autoParticipantRecordingConfiguration: (_) => (0, import_smithy_client._json)(_),
|
|
896
921
|
name: []
|
|
897
922
|
})
|
|
898
923
|
);
|
|
@@ -1487,6 +1512,9 @@ var de_Participant = /* @__PURE__ */ __name((output, context) => {
|
|
|
1487
1512
|
osVersion: import_smithy_client.expectString,
|
|
1488
1513
|
participantId: import_smithy_client.expectString,
|
|
1489
1514
|
published: import_smithy_client.expectBoolean,
|
|
1515
|
+
recordingS3BucketName: import_smithy_client.expectString,
|
|
1516
|
+
recordingS3Prefix: import_smithy_client.expectString,
|
|
1517
|
+
recordingState: import_smithy_client.expectString,
|
|
1490
1518
|
sdkVersion: import_smithy_client.expectString,
|
|
1491
1519
|
state: import_smithy_client.expectString,
|
|
1492
1520
|
userId: import_smithy_client.expectString
|
|
@@ -1503,6 +1531,7 @@ var de_ParticipantSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
1503
1531
|
firstJoinTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1504
1532
|
participantId: import_smithy_client.expectString,
|
|
1505
1533
|
published: import_smithy_client.expectBoolean,
|
|
1534
|
+
recordingState: import_smithy_client.expectString,
|
|
1506
1535
|
state: import_smithy_client.expectString,
|
|
1507
1536
|
userId: import_smithy_client.expectString
|
|
1508
1537
|
});
|
|
@@ -2102,6 +2131,7 @@ var paginateListStorageConfigurations = (0, import_core.createPaginator)(IVSReal
|
|
|
2102
2131
|
ServiceQuotaExceededException,
|
|
2103
2132
|
ValidationException,
|
|
2104
2133
|
ParticipantTokenCapability,
|
|
2134
|
+
ParticipantRecordingMediaType,
|
|
2105
2135
|
RecordingConfigurationFormat,
|
|
2106
2136
|
DestinationState,
|
|
2107
2137
|
VideoAspectRatio,
|
|
@@ -2109,9 +2139,11 @@ var paginateListStorageConfigurations = (0, import_core.createPaginator)(IVSReal
|
|
|
2109
2139
|
PipBehavior,
|
|
2110
2140
|
PipPosition,
|
|
2111
2141
|
CompositionState,
|
|
2142
|
+
ParticipantRecordingState,
|
|
2112
2143
|
ParticipantState,
|
|
2113
2144
|
EventErrorCode,
|
|
2114
2145
|
EventName,
|
|
2146
|
+
ParticipantRecordingFilterByRecordingState,
|
|
2115
2147
|
ParticipantTokenFilterSensitiveLog,
|
|
2116
2148
|
CreateParticipantTokenResponseFilterSensitiveLog,
|
|
2117
2149
|
CreateStageResponseFilterSensitiveLog
|
|
@@ -95,6 +95,10 @@ export const ParticipantTokenCapability = {
|
|
|
95
95
|
PUBLISH: "PUBLISH",
|
|
96
96
|
SUBSCRIBE: "SUBSCRIBE",
|
|
97
97
|
};
|
|
98
|
+
export const ParticipantRecordingMediaType = {
|
|
99
|
+
AUDIO_ONLY: "AUDIO_ONLY",
|
|
100
|
+
AUDIO_VIDEO: "AUDIO_VIDEO",
|
|
101
|
+
};
|
|
98
102
|
export const RecordingConfigurationFormat = {
|
|
99
103
|
HLS: "HLS",
|
|
100
104
|
};
|
|
@@ -134,6 +138,14 @@ export const CompositionState = {
|
|
|
134
138
|
STOPPED: "STOPPED",
|
|
135
139
|
STOPPING: "STOPPING",
|
|
136
140
|
};
|
|
141
|
+
export const ParticipantRecordingState = {
|
|
142
|
+
ACTIVE: "ACTIVE",
|
|
143
|
+
DISABLED: "DISABLED",
|
|
144
|
+
FAILED: "FAILED",
|
|
145
|
+
STARTING: "STARTING",
|
|
146
|
+
STOPPED: "STOPPED",
|
|
147
|
+
STOPPING: "STOPPING",
|
|
148
|
+
};
|
|
137
149
|
export const ParticipantState = {
|
|
138
150
|
CONNECTED: "CONNECTED",
|
|
139
151
|
DISCONNECTED: "DISCONNECTED",
|
|
@@ -154,6 +166,13 @@ export const EventName = {
|
|
|
154
166
|
SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED",
|
|
155
167
|
SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED",
|
|
156
168
|
};
|
|
169
|
+
export const ParticipantRecordingFilterByRecordingState = {
|
|
170
|
+
ACTIVE: "ACTIVE",
|
|
171
|
+
FAILED: "FAILED",
|
|
172
|
+
STARTING: "STARTING",
|
|
173
|
+
STOPPED: "STOPPED",
|
|
174
|
+
STOPPING: "STOPPING",
|
|
175
|
+
};
|
|
157
176
|
export const ParticipantTokenFilterSensitiveLog = (obj) => ({
|
|
158
177
|
...obj,
|
|
159
178
|
...(obj.token && { token: SENSITIVE_STRING }),
|
|
@@ -44,6 +44,7 @@ export const se_CreateStageCommand = async (input, context) => {
|
|
|
44
44
|
b.bp("/CreateStage");
|
|
45
45
|
let body;
|
|
46
46
|
body = JSON.stringify(take(input, {
|
|
47
|
+
autoParticipantRecordingConfiguration: (_) => _json(_),
|
|
47
48
|
name: [],
|
|
48
49
|
participantTokenConfigurations: (_) => _json(_),
|
|
49
50
|
tags: (_) => _json(_),
|
|
@@ -257,6 +258,7 @@ export const se_ListParticipantsCommand = async (input, context) => {
|
|
|
257
258
|
let body;
|
|
258
259
|
body = JSON.stringify(take(input, {
|
|
259
260
|
filterByPublished: [],
|
|
261
|
+
filterByRecordingState: [],
|
|
260
262
|
filterByState: [],
|
|
261
263
|
filterByUserId: [],
|
|
262
264
|
maxResults: [],
|
|
@@ -387,6 +389,7 @@ export const se_UpdateStageCommand = async (input, context) => {
|
|
|
387
389
|
let body;
|
|
388
390
|
body = JSON.stringify(take(input, {
|
|
389
391
|
arn: [],
|
|
392
|
+
autoParticipantRecordingConfiguration: (_) => _json(_),
|
|
390
393
|
name: [],
|
|
391
394
|
}));
|
|
392
395
|
b.m("POST").h(headers).b(body);
|
|
@@ -988,6 +991,9 @@ const de_Participant = (output, context) => {
|
|
|
988
991
|
osVersion: __expectString,
|
|
989
992
|
participantId: __expectString,
|
|
990
993
|
published: __expectBoolean,
|
|
994
|
+
recordingS3BucketName: __expectString,
|
|
995
|
+
recordingS3Prefix: __expectString,
|
|
996
|
+
recordingState: __expectString,
|
|
991
997
|
sdkVersion: __expectString,
|
|
992
998
|
state: __expectString,
|
|
993
999
|
userId: __expectString,
|
|
@@ -1006,6 +1012,7 @@ const de_ParticipantSummary = (output, context) => {
|
|
|
1006
1012
|
firstJoinTime: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
1007
1013
|
participantId: __expectString,
|
|
1008
1014
|
published: __expectBoolean,
|
|
1015
|
+
recordingState: __expectString,
|
|
1009
1016
|
state: __expectString,
|
|
1010
1017
|
userId: __expectString,
|
|
1011
1018
|
});
|
|
@@ -51,6 +51,12 @@ declare const CreateStageCommand_base: {
|
|
|
51
51
|
* tags: { // Tags
|
|
52
52
|
* "<keys>": "STRING_VALUE",
|
|
53
53
|
* },
|
|
54
|
+
* autoParticipantRecordingConfiguration: { // AutoParticipantRecordingConfiguration
|
|
55
|
+
* storageConfigurationArn: "STRING_VALUE", // required
|
|
56
|
+
* mediaTypes: [ // ParticipantRecordingMediaTypeList
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
59
|
+
* },
|
|
54
60
|
* };
|
|
55
61
|
* const command = new CreateStageCommand(input);
|
|
56
62
|
* const response = await client.send(command);
|
|
@@ -62,6 +68,12 @@ declare const CreateStageCommand_base: {
|
|
|
62
68
|
* // tags: { // Tags
|
|
63
69
|
* // "<keys>": "STRING_VALUE",
|
|
64
70
|
* // },
|
|
71
|
+
* // autoParticipantRecordingConfiguration: { // AutoParticipantRecordingConfiguration
|
|
72
|
+
* // storageConfigurationArn: "STRING_VALUE", // required
|
|
73
|
+
* // mediaTypes: [ // ParticipantRecordingMediaTypeList
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // },
|
|
65
77
|
* // },
|
|
66
78
|
* // participantTokens: [ // ParticipantTokenList
|
|
67
79
|
* // { // ParticipantToken
|
|
@@ -57,6 +57,9 @@ declare const GetParticipantCommand_base: {
|
|
|
57
57
|
* // browserName: "STRING_VALUE",
|
|
58
58
|
* // browserVersion: "STRING_VALUE",
|
|
59
59
|
* // sdkVersion: "STRING_VALUE",
|
|
60
|
+
* // recordingS3BucketName: "STRING_VALUE",
|
|
61
|
+
* // recordingS3Prefix: "STRING_VALUE",
|
|
62
|
+
* // recordingState: "STRING_VALUE",
|
|
60
63
|
* // },
|
|
61
64
|
* // };
|
|
62
65
|
*
|
|
@@ -47,6 +47,12 @@ declare const GetStageCommand_base: {
|
|
|
47
47
|
* // tags: { // Tags
|
|
48
48
|
* // "<keys>": "STRING_VALUE",
|
|
49
49
|
* // },
|
|
50
|
+
* // autoParticipantRecordingConfiguration: { // AutoParticipantRecordingConfiguration
|
|
51
|
+
* // storageConfigurationArn: "STRING_VALUE", // required
|
|
52
|
+
* // mediaTypes: [ // ParticipantRecordingMediaTypeList
|
|
53
|
+
* // "STRING_VALUE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // },
|
|
50
56
|
* // },
|
|
51
57
|
* // };
|
|
52
58
|
*
|
|
@@ -42,6 +42,7 @@ declare const ListParticipantsCommand_base: {
|
|
|
42
42
|
* filterByState: "STRING_VALUE",
|
|
43
43
|
* nextToken: "STRING_VALUE",
|
|
44
44
|
* maxResults: Number("int"),
|
|
45
|
+
* filterByRecordingState: "STRING_VALUE",
|
|
45
46
|
* };
|
|
46
47
|
* const command = new ListParticipantsCommand(input);
|
|
47
48
|
* const response = await client.send(command);
|
|
@@ -53,6 +54,7 @@ declare const ListParticipantsCommand_base: {
|
|
|
53
54
|
* // state: "STRING_VALUE",
|
|
54
55
|
* // firstJoinTime: new Date("TIMESTAMP"),
|
|
55
56
|
* // published: true || false,
|
|
57
|
+
* // recordingState: "STRING_VALUE",
|
|
56
58
|
* // },
|
|
57
59
|
* // ],
|
|
58
60
|
* // nextToken: "STRING_VALUE",
|
|
@@ -37,6 +37,12 @@ declare const UpdateStageCommand_base: {
|
|
|
37
37
|
* const input = { // UpdateStageRequest
|
|
38
38
|
* arn: "STRING_VALUE", // required
|
|
39
39
|
* name: "STRING_VALUE",
|
|
40
|
+
* autoParticipantRecordingConfiguration: { // AutoParticipantRecordingConfiguration
|
|
41
|
+
* storageConfigurationArn: "STRING_VALUE", // required
|
|
42
|
+
* mediaTypes: [ // ParticipantRecordingMediaTypeList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
40
46
|
* };
|
|
41
47
|
* const command = new UpdateStageCommand(input);
|
|
42
48
|
* const response = await client.send(command);
|
|
@@ -48,6 +54,12 @@ declare const UpdateStageCommand_base: {
|
|
|
48
54
|
* // tags: { // Tags
|
|
49
55
|
* // "<keys>": "STRING_VALUE",
|
|
50
56
|
* // },
|
|
57
|
+
* // autoParticipantRecordingConfiguration: { // AutoParticipantRecordingConfiguration
|
|
58
|
+
* // storageConfigurationArn: "STRING_VALUE", // required
|
|
59
|
+
* // mediaTypes: [ // ParticipantRecordingMediaTypeList
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
51
63
|
* // },
|
|
52
64
|
* // };
|
|
53
65
|
*
|
|
@@ -327,6 +327,34 @@ export interface CreateParticipantTokenResponse {
|
|
|
327
327
|
*/
|
|
328
328
|
participantToken?: ParticipantToken;
|
|
329
329
|
}
|
|
330
|
+
/**
|
|
331
|
+
* @public
|
|
332
|
+
* @enum
|
|
333
|
+
*/
|
|
334
|
+
export declare const ParticipantRecordingMediaType: {
|
|
335
|
+
readonly AUDIO_ONLY: "AUDIO_ONLY";
|
|
336
|
+
readonly AUDIO_VIDEO: "AUDIO_VIDEO";
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* @public
|
|
340
|
+
*/
|
|
341
|
+
export type ParticipantRecordingMediaType = (typeof ParticipantRecordingMediaType)[keyof typeof ParticipantRecordingMediaType];
|
|
342
|
+
/**
|
|
343
|
+
* <p>Object specifying an auto-participant-recording configuration.</p>
|
|
344
|
+
* @public
|
|
345
|
+
*/
|
|
346
|
+
export interface AutoParticipantRecordingConfiguration {
|
|
347
|
+
/**
|
|
348
|
+
* <p>ARN of the <a>StorageConfiguration</a> resource to use for auto participant recording. Default: "" (empty string, no storage configuration is specified). Individual participant recording cannot be started unless a storage configuration is specified, when a <a>Stage</a> is created or updated.</p>
|
|
349
|
+
* @public
|
|
350
|
+
*/
|
|
351
|
+
storageConfigurationArn: string | undefined;
|
|
352
|
+
/**
|
|
353
|
+
* <p>Types of media to be recorded. Default: <code>AUDIO_VIDEO</code>.</p>
|
|
354
|
+
* @public
|
|
355
|
+
*/
|
|
356
|
+
mediaTypes?: ParticipantRecordingMediaType[];
|
|
357
|
+
}
|
|
330
358
|
/**
|
|
331
359
|
* <p>Object specifying a participant token configuration in a stage.</p>
|
|
332
360
|
* @public
|
|
@@ -386,6 +414,11 @@ export interface CreateStageRequest {
|
|
|
386
414
|
* @public
|
|
387
415
|
*/
|
|
388
416
|
tags?: Record<string, string>;
|
|
417
|
+
/**
|
|
418
|
+
* <p>Auto participant recording configuration object attached to the stage.</p>
|
|
419
|
+
* @public
|
|
420
|
+
*/
|
|
421
|
+
autoParticipantRecordingConfiguration?: AutoParticipantRecordingConfiguration;
|
|
389
422
|
}
|
|
390
423
|
/**
|
|
391
424
|
* <p>Object specifying a stage.</p>
|
|
@@ -416,6 +449,11 @@ export interface Stage {
|
|
|
416
449
|
* @public
|
|
417
450
|
*/
|
|
418
451
|
tags?: Record<string, string>;
|
|
452
|
+
/**
|
|
453
|
+
* <p>Auto-participant-recording configuration object attached to the stage.</p>
|
|
454
|
+
* @public
|
|
455
|
+
*/
|
|
456
|
+
autoParticipantRecordingConfiguration?: AutoParticipantRecordingConfiguration;
|
|
419
457
|
}
|
|
420
458
|
/**
|
|
421
459
|
* @public
|
|
@@ -1045,6 +1083,22 @@ export interface GetParticipantRequest {
|
|
|
1045
1083
|
*/
|
|
1046
1084
|
participantId: string | undefined;
|
|
1047
1085
|
}
|
|
1086
|
+
/**
|
|
1087
|
+
* @public
|
|
1088
|
+
* @enum
|
|
1089
|
+
*/
|
|
1090
|
+
export declare const ParticipantRecordingState: {
|
|
1091
|
+
readonly ACTIVE: "ACTIVE";
|
|
1092
|
+
readonly DISABLED: "DISABLED";
|
|
1093
|
+
readonly FAILED: "FAILED";
|
|
1094
|
+
readonly STARTING: "STARTING";
|
|
1095
|
+
readonly STOPPED: "STOPPED";
|
|
1096
|
+
readonly STOPPING: "STOPPING";
|
|
1097
|
+
};
|
|
1098
|
+
/**
|
|
1099
|
+
* @public
|
|
1100
|
+
*/
|
|
1101
|
+
export type ParticipantRecordingState = (typeof ParticipantRecordingState)[keyof typeof ParticipantRecordingState];
|
|
1048
1102
|
/**
|
|
1049
1103
|
* @public
|
|
1050
1104
|
* @enum
|
|
@@ -1129,6 +1183,21 @@ export interface Participant {
|
|
|
1129
1183
|
* @public
|
|
1130
1184
|
*/
|
|
1131
1185
|
sdkVersion?: string;
|
|
1186
|
+
/**
|
|
1187
|
+
* <p>Name of the S3 bucket to where the participant is being recorded, if individual participant recording is enabled, or "" (empty string), if recording is not enabled.</p>
|
|
1188
|
+
* @public
|
|
1189
|
+
*/
|
|
1190
|
+
recordingS3BucketName?: string;
|
|
1191
|
+
/**
|
|
1192
|
+
* <p>S3 prefix of the S3 bucket to where the participant is being recorded, if individual participant recording is enabled, or "" (empty string), if recording is not enabled.</p>
|
|
1193
|
+
* @public
|
|
1194
|
+
*/
|
|
1195
|
+
recordingS3Prefix?: string;
|
|
1196
|
+
/**
|
|
1197
|
+
* <p>Participant’s recording state.</p>
|
|
1198
|
+
* @public
|
|
1199
|
+
*/
|
|
1200
|
+
recordingState?: ParticipantRecordingState;
|
|
1132
1201
|
}
|
|
1133
1202
|
/**
|
|
1134
1203
|
* @public
|
|
@@ -1525,6 +1594,21 @@ export interface ListParticipantEventsResponse {
|
|
|
1525
1594
|
*/
|
|
1526
1595
|
nextToken?: string;
|
|
1527
1596
|
}
|
|
1597
|
+
/**
|
|
1598
|
+
* @public
|
|
1599
|
+
* @enum
|
|
1600
|
+
*/
|
|
1601
|
+
export declare const ParticipantRecordingFilterByRecordingState: {
|
|
1602
|
+
readonly ACTIVE: "ACTIVE";
|
|
1603
|
+
readonly FAILED: "FAILED";
|
|
1604
|
+
readonly STARTING: "STARTING";
|
|
1605
|
+
readonly STOPPED: "STOPPED";
|
|
1606
|
+
readonly STOPPING: "STOPPING";
|
|
1607
|
+
};
|
|
1608
|
+
/**
|
|
1609
|
+
* @public
|
|
1610
|
+
*/
|
|
1611
|
+
export type ParticipantRecordingFilterByRecordingState = (typeof ParticipantRecordingFilterByRecordingState)[keyof typeof ParticipantRecordingFilterByRecordingState];
|
|
1528
1612
|
/**
|
|
1529
1613
|
* @public
|
|
1530
1614
|
*/
|
|
@@ -1540,25 +1624,26 @@ export interface ListParticipantsRequest {
|
|
|
1540
1624
|
*/
|
|
1541
1625
|
sessionId: string | undefined;
|
|
1542
1626
|
/**
|
|
1543
|
-
* <p>Filters the response list to match the specified user ID.
|
|
1544
|
-
* <code>filterByUserId</code>, <code>filterByPublished</code>,
|
|
1545
|
-
* <code>filterByState</code> can be provided per request.
|
|
1546
|
-
*
|
|
1547
|
-
*
|
|
1627
|
+
* <p>Filters the response list to match the specified user ID.
|
|
1628
|
+
* Only one of <code>filterByUserId</code>, <code>filterByPublished</code>,
|
|
1629
|
+
* <code>filterByState</code>, or <code>filterByRecordingState</code> can be provided per request.
|
|
1630
|
+
* A <code>userId</code> is a
|
|
1631
|
+
* customer-assigned name to help identify the token; this can be used to link a participant
|
|
1632
|
+
* to a user in the customer’s own systems.</p>
|
|
1548
1633
|
* @public
|
|
1549
1634
|
*/
|
|
1550
1635
|
filterByUserId?: string;
|
|
1551
1636
|
/**
|
|
1552
|
-
* <p>Filters the response list to only show participants who published during the stage
|
|
1553
|
-
*
|
|
1554
|
-
* <code>filterByState</code> can be provided per request.</p>
|
|
1637
|
+
* <p>Filters the response list to only show participants who published during the stage session.
|
|
1638
|
+
* Only one of <code>filterByUserId</code>, <code>filterByPublished</code>,
|
|
1639
|
+
* <code>filterByState</code>, or <code>filterByRecordingState</code> can be provided per request.</p>
|
|
1555
1640
|
* @public
|
|
1556
1641
|
*/
|
|
1557
1642
|
filterByPublished?: boolean;
|
|
1558
1643
|
/**
|
|
1559
|
-
* <p>Filters the response list to only show participants in the specified state.
|
|
1560
|
-
* <code>filterByUserId</code>, <code>filterByPublished</code>,
|
|
1561
|
-
* <code>filterByState</code> can be provided per request.</p>
|
|
1644
|
+
* <p>Filters the response list to only show participants in the specified state.
|
|
1645
|
+
* Only one of <code>filterByUserId</code>, <code>filterByPublished</code>,
|
|
1646
|
+
* <code>filterByState</code>, or <code>filterByRecordingState</code> can be provided per request.</p>
|
|
1562
1647
|
* @public
|
|
1563
1648
|
*/
|
|
1564
1649
|
filterByState?: ParticipantState;
|
|
@@ -1573,6 +1658,13 @@ export interface ListParticipantsRequest {
|
|
|
1573
1658
|
* @public
|
|
1574
1659
|
*/
|
|
1575
1660
|
maxResults?: number;
|
|
1661
|
+
/**
|
|
1662
|
+
* <p>Filters the response list to only show participants with the specified recording state.
|
|
1663
|
+
* Only one of <code>filterByUserId</code>, <code>filterByPublished</code>,
|
|
1664
|
+
* <code>filterByState</code>, or <code>filterByRecordingState</code> can be provided per request.</p>
|
|
1665
|
+
* @public
|
|
1666
|
+
*/
|
|
1667
|
+
filterByRecordingState?: ParticipantRecordingFilterByRecordingState;
|
|
1576
1668
|
}
|
|
1577
1669
|
/**
|
|
1578
1670
|
* <p>Summary object describing a participant that has joined a stage.</p>
|
|
@@ -1608,6 +1700,11 @@ export interface ParticipantSummary {
|
|
|
1608
1700
|
* @public
|
|
1609
1701
|
*/
|
|
1610
1702
|
published?: boolean;
|
|
1703
|
+
/**
|
|
1704
|
+
* <p>Participant’s recording state.</p>
|
|
1705
|
+
* @public
|
|
1706
|
+
*/
|
|
1707
|
+
recordingState?: ParticipantRecordingState;
|
|
1611
1708
|
}
|
|
1612
1709
|
/**
|
|
1613
1710
|
* @public
|
|
@@ -1951,6 +2048,12 @@ export interface UpdateStageRequest {
|
|
|
1951
2048
|
* @public
|
|
1952
2049
|
*/
|
|
1953
2050
|
name?: string;
|
|
2051
|
+
/**
|
|
2052
|
+
* <p>Auto-participant-recording configuration object to attach to the stage.
|
|
2053
|
+
* Auto-participant-recording configuration cannot be updated while recording is active.</p>
|
|
2054
|
+
* @public
|
|
2055
|
+
*/
|
|
2056
|
+
autoParticipantRecordingConfiguration?: AutoParticipantRecordingConfiguration;
|
|
1954
2057
|
}
|
|
1955
2058
|
/**
|
|
1956
2059
|
* @public
|
|
@@ -99,6 +99,16 @@ export interface ParticipantToken {
|
|
|
99
99
|
export interface CreateParticipantTokenResponse {
|
|
100
100
|
participantToken?: ParticipantToken;
|
|
101
101
|
}
|
|
102
|
+
export declare const ParticipantRecordingMediaType: {
|
|
103
|
+
readonly AUDIO_ONLY: "AUDIO_ONLY";
|
|
104
|
+
readonly AUDIO_VIDEO: "AUDIO_VIDEO";
|
|
105
|
+
};
|
|
106
|
+
export type ParticipantRecordingMediaType =
|
|
107
|
+
(typeof ParticipantRecordingMediaType)[keyof typeof ParticipantRecordingMediaType];
|
|
108
|
+
export interface AutoParticipantRecordingConfiguration {
|
|
109
|
+
storageConfigurationArn: string | undefined;
|
|
110
|
+
mediaTypes?: ParticipantRecordingMediaType[];
|
|
111
|
+
}
|
|
102
112
|
export interface ParticipantTokenConfiguration {
|
|
103
113
|
duration?: number;
|
|
104
114
|
userId?: string;
|
|
@@ -109,12 +119,14 @@ export interface CreateStageRequest {
|
|
|
109
119
|
name?: string;
|
|
110
120
|
participantTokenConfigurations?: ParticipantTokenConfiguration[];
|
|
111
121
|
tags?: Record<string, string>;
|
|
122
|
+
autoParticipantRecordingConfiguration?: AutoParticipantRecordingConfiguration;
|
|
112
123
|
}
|
|
113
124
|
export interface Stage {
|
|
114
125
|
arn: string | undefined;
|
|
115
126
|
name?: string;
|
|
116
127
|
activeSessionId?: string;
|
|
117
128
|
tags?: Record<string, string>;
|
|
129
|
+
autoParticipantRecordingConfiguration?: AutoParticipantRecordingConfiguration;
|
|
118
130
|
}
|
|
119
131
|
export interface CreateStageResponse {
|
|
120
132
|
stage?: Stage;
|
|
@@ -286,6 +298,16 @@ export interface GetParticipantRequest {
|
|
|
286
298
|
sessionId: string | undefined;
|
|
287
299
|
participantId: string | undefined;
|
|
288
300
|
}
|
|
301
|
+
export declare const ParticipantRecordingState: {
|
|
302
|
+
readonly ACTIVE: "ACTIVE";
|
|
303
|
+
readonly DISABLED: "DISABLED";
|
|
304
|
+
readonly FAILED: "FAILED";
|
|
305
|
+
readonly STARTING: "STARTING";
|
|
306
|
+
readonly STOPPED: "STOPPED";
|
|
307
|
+
readonly STOPPING: "STOPPING";
|
|
308
|
+
};
|
|
309
|
+
export type ParticipantRecordingState =
|
|
310
|
+
(typeof ParticipantRecordingState)[keyof typeof ParticipantRecordingState];
|
|
289
311
|
export declare const ParticipantState: {
|
|
290
312
|
readonly CONNECTED: "CONNECTED";
|
|
291
313
|
readonly DISCONNECTED: "DISCONNECTED";
|
|
@@ -305,6 +327,9 @@ export interface Participant {
|
|
|
305
327
|
browserName?: string;
|
|
306
328
|
browserVersion?: string;
|
|
307
329
|
sdkVersion?: string;
|
|
330
|
+
recordingS3BucketName?: string;
|
|
331
|
+
recordingS3Prefix?: string;
|
|
332
|
+
recordingState?: ParticipantRecordingState;
|
|
308
333
|
}
|
|
309
334
|
export interface GetParticipantResponse {
|
|
310
335
|
participant?: Participant;
|
|
@@ -408,6 +433,15 @@ export interface ListParticipantEventsResponse {
|
|
|
408
433
|
events: Event[] | undefined;
|
|
409
434
|
nextToken?: string;
|
|
410
435
|
}
|
|
436
|
+
export declare const ParticipantRecordingFilterByRecordingState: {
|
|
437
|
+
readonly ACTIVE: "ACTIVE";
|
|
438
|
+
readonly FAILED: "FAILED";
|
|
439
|
+
readonly STARTING: "STARTING";
|
|
440
|
+
readonly STOPPED: "STOPPED";
|
|
441
|
+
readonly STOPPING: "STOPPING";
|
|
442
|
+
};
|
|
443
|
+
export type ParticipantRecordingFilterByRecordingState =
|
|
444
|
+
(typeof ParticipantRecordingFilterByRecordingState)[keyof typeof ParticipantRecordingFilterByRecordingState];
|
|
411
445
|
export interface ListParticipantsRequest {
|
|
412
446
|
stageArn: string | undefined;
|
|
413
447
|
sessionId: string | undefined;
|
|
@@ -416,6 +450,7 @@ export interface ListParticipantsRequest {
|
|
|
416
450
|
filterByState?: ParticipantState;
|
|
417
451
|
nextToken?: string;
|
|
418
452
|
maxResults?: number;
|
|
453
|
+
filterByRecordingState?: ParticipantRecordingFilterByRecordingState;
|
|
419
454
|
}
|
|
420
455
|
export interface ParticipantSummary {
|
|
421
456
|
participantId?: string;
|
|
@@ -423,6 +458,7 @@ export interface ParticipantSummary {
|
|
|
423
458
|
state?: ParticipantState;
|
|
424
459
|
firstJoinTime?: Date;
|
|
425
460
|
published?: boolean;
|
|
461
|
+
recordingState?: ParticipantRecordingState;
|
|
426
462
|
}
|
|
427
463
|
export interface ListParticipantsResponse {
|
|
428
464
|
participants: ParticipantSummary[] | undefined;
|
|
@@ -503,6 +539,7 @@ export interface UntagResourceResponse {}
|
|
|
503
539
|
export interface UpdateStageRequest {
|
|
504
540
|
arn: string | undefined;
|
|
505
541
|
name?: string;
|
|
542
|
+
autoParticipantRecordingConfiguration?: AutoParticipantRecordingConfiguration;
|
|
506
543
|
}
|
|
507
544
|
export interface UpdateStageResponse {
|
|
508
545
|
stage?: Stage;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ivs-realtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ivs Realtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.602.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-ivs-realtime",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.600.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.600.0",
|
|
25
25
|
"@aws-sdk/core": "3.598.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.600.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.598.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.598.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.598.0",
|