@aws-sdk/client-ivs-realtime 3.816.0 → 3.820.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/README.md +47 -0
- package/dist-cjs/index.js +190 -1
- package/dist-cjs/runtimeConfig.js +4 -1
- package/dist-es/IVSRealTime.js +6 -0
- package/dist-es/commands/ListParticipantReplicasCommand.js +22 -0
- package/dist-es/commands/StartParticipantReplicationCommand.js +22 -0
- package/dist-es/commands/StopParticipantReplicationCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +11 -0
- package/dist-es/pagination/ListParticipantReplicasPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +108 -0
- package/dist-es/runtimeConfig.js +4 -1
- package/dist-types/IVSRealTime.d.ts +44 -0
- package/dist-types/IVSRealTimeClient.d.ts +28 -2
- package/dist-types/commands/CreateStageCommand.d.ts +2 -0
- package/dist-types/commands/GetParticipantCommand.d.ts +4 -0
- package/dist-types/commands/GetStageCommand.d.ts +1 -0
- package/dist-types/commands/ListParticipantEventsCommand.d.ts +3 -0
- package/dist-types/commands/ListParticipantReplicasCommand.d.ts +91 -0
- package/dist-types/commands/ListParticipantsCommand.d.ts +4 -0
- package/dist-types/commands/StartParticipantReplicationCommand.d.ts +105 -0
- package/dist-types/commands/StopParticipantReplicationCommand.d.ts +92 -0
- package/dist-types/commands/UpdateStageCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/index.d.ts +23 -0
- package/dist-types/models/models_0.d.ts +322 -4
- package/dist-types/pagination/ListParticipantReplicasPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/IVSRealTime.d.ts +51 -0
- package/dist-types/ts3.4/IVSRealTimeClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/ListParticipantReplicasCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StartParticipantReplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopParticipantReplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +75 -0
- package/dist-types/ts3.4/pagination/ListParticipantReplicasPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -45,6 +45,29 @@ Composition operations support this process.</p>
|
|
|
45
45
|
including how participants are positioned in the video.</p>
|
|
46
46
|
</li>
|
|
47
47
|
</ul>
|
|
48
|
+
<p>For participant replication:</p>
|
|
49
|
+
<ul>
|
|
50
|
+
<li>
|
|
51
|
+
<p>
|
|
52
|
+
<b>Source stage</b> — The stage where the participant originally joined, which is used as the source for
|
|
53
|
+
replication.</p>
|
|
54
|
+
</li>
|
|
55
|
+
<li>
|
|
56
|
+
<p>
|
|
57
|
+
<b>Destination stage</b> — The stage to which the participant is replicated.
|
|
58
|
+
</p>
|
|
59
|
+
</li>
|
|
60
|
+
<li>
|
|
61
|
+
<p>
|
|
62
|
+
<b>Replicated participant</b> — A participant in a stage that is replicated to one or more destination stages.
|
|
63
|
+
</p>
|
|
64
|
+
</li>
|
|
65
|
+
<li>
|
|
66
|
+
<p>
|
|
67
|
+
<b>Replica participant</b> — A participant in a destination stage that is replicated from another stage
|
|
68
|
+
(the source stage).</p>
|
|
69
|
+
</li>
|
|
70
|
+
</ul>
|
|
48
71
|
<p>For more information about your IVS live stream, also see <a href="https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/getting-started.html">Getting Started with Amazon IVS Real-Time Streaming</a>.</p>
|
|
49
72
|
<p>
|
|
50
73
|
<b>Tagging</b>
|
|
@@ -448,6 +471,14 @@ ListParticipantEvents
|
|
|
448
471
|
|
|
449
472
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/ListParticipantEventsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/ListParticipantEventsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/ListParticipantEventsCommandOutput/)
|
|
450
473
|
|
|
474
|
+
</details>
|
|
475
|
+
<details>
|
|
476
|
+
<summary>
|
|
477
|
+
ListParticipantReplicas
|
|
478
|
+
</summary>
|
|
479
|
+
|
|
480
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/ListParticipantReplicasCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/ListParticipantReplicasCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/ListParticipantReplicasCommandOutput/)
|
|
481
|
+
|
|
451
482
|
</details>
|
|
452
483
|
<details>
|
|
453
484
|
<summary>
|
|
@@ -504,6 +535,14 @@ StartComposition
|
|
|
504
535
|
|
|
505
536
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/StartCompositionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/StartCompositionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/StartCompositionCommandOutput/)
|
|
506
537
|
|
|
538
|
+
</details>
|
|
539
|
+
<details>
|
|
540
|
+
<summary>
|
|
541
|
+
StartParticipantReplication
|
|
542
|
+
</summary>
|
|
543
|
+
|
|
544
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/StartParticipantReplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/StartParticipantReplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/StartParticipantReplicationCommandOutput/)
|
|
545
|
+
|
|
507
546
|
</details>
|
|
508
547
|
<details>
|
|
509
548
|
<summary>
|
|
@@ -512,6 +551,14 @@ StopComposition
|
|
|
512
551
|
|
|
513
552
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/StopCompositionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/StopCompositionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/StopCompositionCommandOutput/)
|
|
514
553
|
|
|
554
|
+
</details>
|
|
555
|
+
<details>
|
|
556
|
+
<summary>
|
|
557
|
+
StopParticipantReplication
|
|
558
|
+
</summary>
|
|
559
|
+
|
|
560
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/ivs-realtime/command/StopParticipantReplicationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/StopParticipantReplicationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-ivs-realtime/Interface/StopParticipantReplicationCommandOutput/)
|
|
561
|
+
|
|
515
562
|
</details>
|
|
516
563
|
<details>
|
|
517
564
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -62,6 +62,7 @@ __export(index_exports, {
|
|
|
62
62
|
ListEncoderConfigurationsCommand: () => ListEncoderConfigurationsCommand,
|
|
63
63
|
ListIngestConfigurationsCommand: () => ListIngestConfigurationsCommand,
|
|
64
64
|
ListParticipantEventsCommand: () => ListParticipantEventsCommand,
|
|
65
|
+
ListParticipantReplicasCommand: () => ListParticipantReplicasCommand,
|
|
65
66
|
ListParticipantsCommand: () => ListParticipantsCommand,
|
|
66
67
|
ListPublicKeysCommand: () => ListPublicKeysCommand,
|
|
67
68
|
ListStageSessionsCommand: () => ListStageSessionsCommand,
|
|
@@ -79,10 +80,14 @@ __export(index_exports, {
|
|
|
79
80
|
PipBehavior: () => PipBehavior,
|
|
80
81
|
PipPosition: () => PipPosition,
|
|
81
82
|
RecordingConfigurationFormat: () => RecordingConfigurationFormat,
|
|
83
|
+
ReplicationState: () => ReplicationState,
|
|
84
|
+
ReplicationType: () => ReplicationType,
|
|
82
85
|
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
83
86
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
84
87
|
StartCompositionCommand: () => StartCompositionCommand,
|
|
88
|
+
StartParticipantReplicationCommand: () => StartParticipantReplicationCommand,
|
|
85
89
|
StopCompositionCommand: () => StopCompositionCommand,
|
|
90
|
+
StopParticipantReplicationCommand: () => StopParticipantReplicationCommand,
|
|
86
91
|
TagResourceCommand: () => TagResourceCommand,
|
|
87
92
|
ThumbnailRecordingMode: () => ThumbnailRecordingMode,
|
|
88
93
|
ThumbnailStorageType: () => ThumbnailStorageType,
|
|
@@ -98,6 +103,7 @@ __export(index_exports, {
|
|
|
98
103
|
paginateListEncoderConfigurations: () => paginateListEncoderConfigurations,
|
|
99
104
|
paginateListIngestConfigurations: () => paginateListIngestConfigurations,
|
|
100
105
|
paginateListParticipantEvents: () => paginateListParticipantEvents,
|
|
106
|
+
paginateListParticipantReplicas: () => paginateListParticipantReplicas,
|
|
101
107
|
paginateListParticipants: () => paginateListParticipants,
|
|
102
108
|
paginateListPublicKeys: () => paginateListPublicKeys,
|
|
103
109
|
paginateListStageSessions: () => paginateListStageSessions,
|
|
@@ -860,6 +866,15 @@ var ParticipantRecordingState = {
|
|
|
860
866
|
STOPPED: "STOPPED",
|
|
861
867
|
STOPPING: "STOPPING"
|
|
862
868
|
};
|
|
869
|
+
var ReplicationState = {
|
|
870
|
+
ACTIVE: "ACTIVE",
|
|
871
|
+
STOPPED: "STOPPED"
|
|
872
|
+
};
|
|
873
|
+
var ReplicationType = {
|
|
874
|
+
NONE: "NONE",
|
|
875
|
+
REPLICA: "REPLICA",
|
|
876
|
+
SOURCE: "SOURCE"
|
|
877
|
+
};
|
|
863
878
|
var ParticipantState = {
|
|
864
879
|
CONNECTED: "CONNECTED",
|
|
865
880
|
DISCONNECTED: "DISCONNECTED"
|
|
@@ -887,6 +902,8 @@ var EventName = {
|
|
|
887
902
|
PUBLISH_ERROR: "PUBLISH_ERROR",
|
|
888
903
|
PUBLISH_STARTED: "PUBLISH_STARTED",
|
|
889
904
|
PUBLISH_STOPPED: "PUBLISH_STOPPED",
|
|
905
|
+
REPLICATION_STARTED: "REPLICATION_STARTED",
|
|
906
|
+
REPLICATION_STOPPED: "REPLICATION_STOPPED",
|
|
890
907
|
SUBSCRIBE_ERROR: "SUBSCRIBE_ERROR",
|
|
891
908
|
SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED",
|
|
892
909
|
SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED"
|
|
@@ -1332,6 +1349,24 @@ var se_ListParticipantEventsCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1332
1349
|
b.m("POST").h(headers).b(body);
|
|
1333
1350
|
return b.build();
|
|
1334
1351
|
}, "se_ListParticipantEventsCommand");
|
|
1352
|
+
var se_ListParticipantReplicasCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1353
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1354
|
+
const headers = {
|
|
1355
|
+
"content-type": "application/json"
|
|
1356
|
+
};
|
|
1357
|
+
b.bp("/ListParticipantReplicas");
|
|
1358
|
+
let body;
|
|
1359
|
+
body = JSON.stringify(
|
|
1360
|
+
(0, import_smithy_client.take)(input, {
|
|
1361
|
+
maxResults: [],
|
|
1362
|
+
nextToken: [],
|
|
1363
|
+
participantId: [],
|
|
1364
|
+
sourceStageArn: []
|
|
1365
|
+
})
|
|
1366
|
+
);
|
|
1367
|
+
b.m("POST").h(headers).b(body);
|
|
1368
|
+
return b.build();
|
|
1369
|
+
}, "se_ListParticipantReplicasCommand");
|
|
1335
1370
|
var se_ListParticipantsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1336
1371
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1337
1372
|
const headers = {
|
|
@@ -1447,6 +1482,25 @@ var se_StartCompositionCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1447
1482
|
b.m("POST").h(headers).b(body);
|
|
1448
1483
|
return b.build();
|
|
1449
1484
|
}, "se_StartCompositionCommand");
|
|
1485
|
+
var se_StartParticipantReplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1486
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1487
|
+
const headers = {
|
|
1488
|
+
"content-type": "application/json"
|
|
1489
|
+
};
|
|
1490
|
+
b.bp("/StartParticipantReplication");
|
|
1491
|
+
let body;
|
|
1492
|
+
body = JSON.stringify(
|
|
1493
|
+
(0, import_smithy_client.take)(input, {
|
|
1494
|
+
attributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "attributes"),
|
|
1495
|
+
destinationStageArn: [],
|
|
1496
|
+
participantId: [],
|
|
1497
|
+
reconnectWindowSeconds: [],
|
|
1498
|
+
sourceStageArn: []
|
|
1499
|
+
})
|
|
1500
|
+
);
|
|
1501
|
+
b.m("POST").h(headers).b(body);
|
|
1502
|
+
return b.build();
|
|
1503
|
+
}, "se_StartParticipantReplicationCommand");
|
|
1450
1504
|
var se_StopCompositionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1451
1505
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1452
1506
|
const headers = {
|
|
@@ -1462,6 +1516,23 @@ var se_StopCompositionCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1462
1516
|
b.m("POST").h(headers).b(body);
|
|
1463
1517
|
return b.build();
|
|
1464
1518
|
}, "se_StopCompositionCommand");
|
|
1519
|
+
var se_StopParticipantReplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1520
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1521
|
+
const headers = {
|
|
1522
|
+
"content-type": "application/json"
|
|
1523
|
+
};
|
|
1524
|
+
b.bp("/StopParticipantReplication");
|
|
1525
|
+
let body;
|
|
1526
|
+
body = JSON.stringify(
|
|
1527
|
+
(0, import_smithy_client.take)(input, {
|
|
1528
|
+
destinationStageArn: [],
|
|
1529
|
+
participantId: [],
|
|
1530
|
+
sourceStageArn: []
|
|
1531
|
+
})
|
|
1532
|
+
);
|
|
1533
|
+
b.m("POST").h(headers).b(body);
|
|
1534
|
+
return b.build();
|
|
1535
|
+
}, "se_StopParticipantReplicationCommand");
|
|
1465
1536
|
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1466
1537
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1467
1538
|
const headers = {
|
|
@@ -1840,6 +1911,21 @@ var de_ListParticipantEventsCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
1840
1911
|
Object.assign(contents, doc);
|
|
1841
1912
|
return contents;
|
|
1842
1913
|
}, "de_ListParticipantEventsCommand");
|
|
1914
|
+
var de_ListParticipantReplicasCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1915
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1916
|
+
return de_CommandError(output, context);
|
|
1917
|
+
}
|
|
1918
|
+
const contents = (0, import_smithy_client.map)({
|
|
1919
|
+
$metadata: deserializeMetadata(output)
|
|
1920
|
+
});
|
|
1921
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1922
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1923
|
+
nextToken: import_smithy_client.expectString,
|
|
1924
|
+
replicas: import_smithy_client._json
|
|
1925
|
+
});
|
|
1926
|
+
Object.assign(contents, doc);
|
|
1927
|
+
return contents;
|
|
1928
|
+
}, "de_ListParticipantReplicasCommand");
|
|
1843
1929
|
var de_ListParticipantsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1844
1930
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1845
1931
|
return de_CommandError(output, context);
|
|
@@ -1943,6 +2029,23 @@ var de_StartCompositionCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1943
2029
|
Object.assign(contents, doc);
|
|
1944
2030
|
return contents;
|
|
1945
2031
|
}, "de_StartCompositionCommand");
|
|
2032
|
+
var de_StartParticipantReplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2033
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2034
|
+
return de_CommandError(output, context);
|
|
2035
|
+
}
|
|
2036
|
+
const contents = (0, import_smithy_client.map)({
|
|
2037
|
+
$metadata: deserializeMetadata(output),
|
|
2038
|
+
[_aCAO]: [, output.headers[_acao]],
|
|
2039
|
+
[_aCEH]: [, output.headers[_aceh]],
|
|
2040
|
+
[_cC]: [, output.headers[_cc]],
|
|
2041
|
+
[_cSP]: [, output.headers[_csp]],
|
|
2042
|
+
[_sTS]: [, output.headers[_sts]],
|
|
2043
|
+
[_xCTO]: [, output.headers[_xcto]],
|
|
2044
|
+
[_xFO]: [, output.headers[_xfo]]
|
|
2045
|
+
});
|
|
2046
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2047
|
+
return contents;
|
|
2048
|
+
}, "de_StartParticipantReplicationCommand");
|
|
1946
2049
|
var de_StopCompositionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1947
2050
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1948
2051
|
return de_CommandError(output, context);
|
|
@@ -1953,6 +2056,23 @@ var de_StopCompositionCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1953
2056
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1954
2057
|
return contents;
|
|
1955
2058
|
}, "de_StopCompositionCommand");
|
|
2059
|
+
var de_StopParticipantReplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2060
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2061
|
+
return de_CommandError(output, context);
|
|
2062
|
+
}
|
|
2063
|
+
const contents = (0, import_smithy_client.map)({
|
|
2064
|
+
$metadata: deserializeMetadata(output),
|
|
2065
|
+
[_aCAO]: [, output.headers[_acao]],
|
|
2066
|
+
[_aCEH]: [, output.headers[_aceh]],
|
|
2067
|
+
[_cC]: [, output.headers[_cc]],
|
|
2068
|
+
[_cSP]: [, output.headers[_csp]],
|
|
2069
|
+
[_sTS]: [, output.headers[_sts]],
|
|
2070
|
+
[_xCTO]: [, output.headers[_xcto]],
|
|
2071
|
+
[_xFO]: [, output.headers[_xfo]]
|
|
2072
|
+
});
|
|
2073
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2074
|
+
return contents;
|
|
2075
|
+
}, "de_StopParticipantReplicationCommand");
|
|
1956
2076
|
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1957
2077
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1958
2078
|
return de_CommandError(output, context);
|
|
@@ -2270,11 +2390,14 @@ var de_EncoderConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
|
2270
2390
|
}, "de_EncoderConfiguration");
|
|
2271
2391
|
var de_Event = /* @__PURE__ */ __name((output, context) => {
|
|
2272
2392
|
return (0, import_smithy_client.take)(output, {
|
|
2393
|
+
destinationSessionId: import_smithy_client.expectString,
|
|
2394
|
+
destinationStageArn: import_smithy_client.expectString,
|
|
2273
2395
|
errorCode: import_smithy_client.expectString,
|
|
2274
2396
|
eventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "eventTime"),
|
|
2275
2397
|
name: import_smithy_client.expectString,
|
|
2276
2398
|
participantId: import_smithy_client.expectString,
|
|
2277
|
-
remoteParticipantId: import_smithy_client.expectString
|
|
2399
|
+
remoteParticipantId: import_smithy_client.expectString,
|
|
2400
|
+
replica: import_smithy_client.expectBoolean
|
|
2278
2401
|
});
|
|
2279
2402
|
}, "de_Event");
|
|
2280
2403
|
var de_EventList = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -2298,7 +2421,11 @@ var de_Participant = /* @__PURE__ */ __name((output, context) => {
|
|
|
2298
2421
|
recordingS3BucketName: import_smithy_client.expectString,
|
|
2299
2422
|
recordingS3Prefix: import_smithy_client.expectString,
|
|
2300
2423
|
recordingState: import_smithy_client.expectString,
|
|
2424
|
+
replicationState: import_smithy_client.expectString,
|
|
2425
|
+
replicationType: import_smithy_client.expectString,
|
|
2301
2426
|
sdkVersion: import_smithy_client.expectString,
|
|
2427
|
+
sourceSessionId: import_smithy_client.expectString,
|
|
2428
|
+
sourceStageArn: import_smithy_client.expectString,
|
|
2302
2429
|
state: import_smithy_client.expectString,
|
|
2303
2430
|
userId: import_smithy_client.expectString
|
|
2304
2431
|
});
|
|
@@ -2315,6 +2442,10 @@ var de_ParticipantSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
2315
2442
|
participantId: import_smithy_client.expectString,
|
|
2316
2443
|
published: import_smithy_client.expectBoolean,
|
|
2317
2444
|
recordingState: import_smithy_client.expectString,
|
|
2445
|
+
replicationState: import_smithy_client.expectString,
|
|
2446
|
+
replicationType: import_smithy_client.expectString,
|
|
2447
|
+
sourceSessionId: import_smithy_client.expectString,
|
|
2448
|
+
sourceStageArn: import_smithy_client.expectString,
|
|
2318
2449
|
state: import_smithy_client.expectString,
|
|
2319
2450
|
userId: import_smithy_client.expectString
|
|
2320
2451
|
});
|
|
@@ -2745,6 +2876,21 @@ var ListParticipantEventsCommand = class extends import_smithy_client.Command.cl
|
|
|
2745
2876
|
}
|
|
2746
2877
|
};
|
|
2747
2878
|
|
|
2879
|
+
// src/commands/ListParticipantReplicasCommand.ts
|
|
2880
|
+
|
|
2881
|
+
|
|
2882
|
+
|
|
2883
|
+
var ListParticipantReplicasCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2884
|
+
return [
|
|
2885
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2886
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2887
|
+
];
|
|
2888
|
+
}).s("AmazonInteractiveVideoServiceRealTime", "ListParticipantReplicas", {}).n("IVSRealTimeClient", "ListParticipantReplicasCommand").f(void 0, void 0).ser(se_ListParticipantReplicasCommand).de(de_ListParticipantReplicasCommand).build() {
|
|
2889
|
+
static {
|
|
2890
|
+
__name(this, "ListParticipantReplicasCommand");
|
|
2891
|
+
}
|
|
2892
|
+
};
|
|
2893
|
+
|
|
2748
2894
|
// src/commands/ListParticipantsCommand.ts
|
|
2749
2895
|
|
|
2750
2896
|
|
|
@@ -2850,6 +2996,21 @@ var StartCompositionCommand = class extends import_smithy_client.Command.classBu
|
|
|
2850
2996
|
}
|
|
2851
2997
|
};
|
|
2852
2998
|
|
|
2999
|
+
// src/commands/StartParticipantReplicationCommand.ts
|
|
3000
|
+
|
|
3001
|
+
|
|
3002
|
+
|
|
3003
|
+
var StartParticipantReplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3004
|
+
return [
|
|
3005
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3006
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3007
|
+
];
|
|
3008
|
+
}).s("AmazonInteractiveVideoServiceRealTime", "StartParticipantReplication", {}).n("IVSRealTimeClient", "StartParticipantReplicationCommand").f(void 0, void 0).ser(se_StartParticipantReplicationCommand).de(de_StartParticipantReplicationCommand).build() {
|
|
3009
|
+
static {
|
|
3010
|
+
__name(this, "StartParticipantReplicationCommand");
|
|
3011
|
+
}
|
|
3012
|
+
};
|
|
3013
|
+
|
|
2853
3014
|
// src/commands/StopCompositionCommand.ts
|
|
2854
3015
|
|
|
2855
3016
|
|
|
@@ -2865,6 +3026,21 @@ var StopCompositionCommand = class extends import_smithy_client.Command.classBui
|
|
|
2865
3026
|
}
|
|
2866
3027
|
};
|
|
2867
3028
|
|
|
3029
|
+
// src/commands/StopParticipantReplicationCommand.ts
|
|
3030
|
+
|
|
3031
|
+
|
|
3032
|
+
|
|
3033
|
+
var StopParticipantReplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3034
|
+
return [
|
|
3035
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3036
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3037
|
+
];
|
|
3038
|
+
}).s("AmazonInteractiveVideoServiceRealTime", "StopParticipantReplication", {}).n("IVSRealTimeClient", "StopParticipantReplicationCommand").f(void 0, void 0).ser(se_StopParticipantReplicationCommand).de(de_StopParticipantReplicationCommand).build() {
|
|
3039
|
+
static {
|
|
3040
|
+
__name(this, "StopParticipantReplicationCommand");
|
|
3041
|
+
}
|
|
3042
|
+
};
|
|
3043
|
+
|
|
2868
3044
|
// src/commands/TagResourceCommand.ts
|
|
2869
3045
|
|
|
2870
3046
|
|
|
@@ -2951,6 +3127,7 @@ var commands = {
|
|
|
2951
3127
|
ListEncoderConfigurationsCommand,
|
|
2952
3128
|
ListIngestConfigurationsCommand,
|
|
2953
3129
|
ListParticipantEventsCommand,
|
|
3130
|
+
ListParticipantReplicasCommand,
|
|
2954
3131
|
ListParticipantsCommand,
|
|
2955
3132
|
ListPublicKeysCommand,
|
|
2956
3133
|
ListStagesCommand,
|
|
@@ -2958,7 +3135,9 @@ var commands = {
|
|
|
2958
3135
|
ListStorageConfigurationsCommand,
|
|
2959
3136
|
ListTagsForResourceCommand,
|
|
2960
3137
|
StartCompositionCommand,
|
|
3138
|
+
StartParticipantReplicationCommand,
|
|
2961
3139
|
StopCompositionCommand,
|
|
3140
|
+
StopParticipantReplicationCommand,
|
|
2962
3141
|
TagResourceCommand,
|
|
2963
3142
|
UntagResourceCommand,
|
|
2964
3143
|
UpdateIngestConfigurationCommand,
|
|
@@ -2987,6 +3166,10 @@ var paginateListIngestConfigurations = (0, import_core.createPaginator)(IVSRealT
|
|
|
2987
3166
|
|
|
2988
3167
|
var paginateListParticipantEvents = (0, import_core.createPaginator)(IVSRealTimeClient, ListParticipantEventsCommand, "nextToken", "nextToken", "maxResults");
|
|
2989
3168
|
|
|
3169
|
+
// src/pagination/ListParticipantReplicasPaginator.ts
|
|
3170
|
+
|
|
3171
|
+
var paginateListParticipantReplicas = (0, import_core.createPaginator)(IVSRealTimeClient, ListParticipantReplicasCommand, "nextToken", "nextToken", "maxResults");
|
|
3172
|
+
|
|
2990
3173
|
// src/pagination/ListParticipantsPaginator.ts
|
|
2991
3174
|
|
|
2992
3175
|
var paginateListParticipants = (0, import_core.createPaginator)(IVSRealTimeClient, ListParticipantsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -3038,6 +3221,7 @@ var paginateListStorageConfigurations = (0, import_core.createPaginator)(IVSReal
|
|
|
3038
3221
|
ListEncoderConfigurationsCommand,
|
|
3039
3222
|
ListIngestConfigurationsCommand,
|
|
3040
3223
|
ListParticipantEventsCommand,
|
|
3224
|
+
ListParticipantReplicasCommand,
|
|
3041
3225
|
ListParticipantsCommand,
|
|
3042
3226
|
ListPublicKeysCommand,
|
|
3043
3227
|
ListStageSessionsCommand,
|
|
@@ -3045,7 +3229,9 @@ var paginateListStorageConfigurations = (0, import_core.createPaginator)(IVSReal
|
|
|
3045
3229
|
ListStorageConfigurationsCommand,
|
|
3046
3230
|
ListTagsForResourceCommand,
|
|
3047
3231
|
StartCompositionCommand,
|
|
3232
|
+
StartParticipantReplicationCommand,
|
|
3048
3233
|
StopCompositionCommand,
|
|
3234
|
+
StopParticipantReplicationCommand,
|
|
3049
3235
|
TagResourceCommand,
|
|
3050
3236
|
UntagResourceCommand,
|
|
3051
3237
|
UpdateIngestConfigurationCommand,
|
|
@@ -3054,6 +3240,7 @@ var paginateListStorageConfigurations = (0, import_core.createPaginator)(IVSReal
|
|
|
3054
3240
|
paginateListEncoderConfigurations,
|
|
3055
3241
|
paginateListIngestConfigurations,
|
|
3056
3242
|
paginateListParticipantEvents,
|
|
3243
|
+
paginateListParticipantReplicas,
|
|
3057
3244
|
paginateListParticipants,
|
|
3058
3245
|
paginateListPublicKeys,
|
|
3059
3246
|
paginateListStageSessions,
|
|
@@ -3081,6 +3268,8 @@ var paginateListStorageConfigurations = (0, import_core.createPaginator)(IVSReal
|
|
|
3081
3268
|
CompositionState,
|
|
3082
3269
|
ParticipantProtocol,
|
|
3083
3270
|
ParticipantRecordingState,
|
|
3271
|
+
ReplicationState,
|
|
3272
|
+
ReplicationType,
|
|
3084
3273
|
ParticipantState,
|
|
3085
3274
|
EventErrorCode,
|
|
3086
3275
|
EventName,
|
|
@@ -23,7 +23,10 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
|
-
const loaderConfig = {
|
|
26
|
+
const loaderConfig = {
|
|
27
|
+
profile: config?.profile,
|
|
28
|
+
logger: clientSharedValues.logger,
|
|
29
|
+
};
|
|
27
30
|
return {
|
|
28
31
|
...clientSharedValues,
|
|
29
32
|
...config,
|
package/dist-es/IVSRealTime.js
CHANGED
|
@@ -23,6 +23,7 @@ import { ListCompositionsCommand, } from "./commands/ListCompositionsCommand";
|
|
|
23
23
|
import { ListEncoderConfigurationsCommand, } from "./commands/ListEncoderConfigurationsCommand";
|
|
24
24
|
import { ListIngestConfigurationsCommand, } from "./commands/ListIngestConfigurationsCommand";
|
|
25
25
|
import { ListParticipantEventsCommand, } from "./commands/ListParticipantEventsCommand";
|
|
26
|
+
import { ListParticipantReplicasCommand, } from "./commands/ListParticipantReplicasCommand";
|
|
26
27
|
import { ListParticipantsCommand, } from "./commands/ListParticipantsCommand";
|
|
27
28
|
import { ListPublicKeysCommand, } from "./commands/ListPublicKeysCommand";
|
|
28
29
|
import { ListStagesCommand } from "./commands/ListStagesCommand";
|
|
@@ -30,7 +31,9 @@ import { ListStageSessionsCommand, } from "./commands/ListStageSessionsCommand";
|
|
|
30
31
|
import { ListStorageConfigurationsCommand, } from "./commands/ListStorageConfigurationsCommand";
|
|
31
32
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
32
33
|
import { StartCompositionCommand, } from "./commands/StartCompositionCommand";
|
|
34
|
+
import { StartParticipantReplicationCommand, } from "./commands/StartParticipantReplicationCommand";
|
|
33
35
|
import { StopCompositionCommand, } from "./commands/StopCompositionCommand";
|
|
36
|
+
import { StopParticipantReplicationCommand, } from "./commands/StopParticipantReplicationCommand";
|
|
34
37
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
35
38
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
36
39
|
import { UpdateIngestConfigurationCommand, } from "./commands/UpdateIngestConfigurationCommand";
|
|
@@ -61,6 +64,7 @@ const commands = {
|
|
|
61
64
|
ListEncoderConfigurationsCommand,
|
|
62
65
|
ListIngestConfigurationsCommand,
|
|
63
66
|
ListParticipantEventsCommand,
|
|
67
|
+
ListParticipantReplicasCommand,
|
|
64
68
|
ListParticipantsCommand,
|
|
65
69
|
ListPublicKeysCommand,
|
|
66
70
|
ListStagesCommand,
|
|
@@ -68,7 +72,9 @@ const commands = {
|
|
|
68
72
|
ListStorageConfigurationsCommand,
|
|
69
73
|
ListTagsForResourceCommand,
|
|
70
74
|
StartCompositionCommand,
|
|
75
|
+
StartParticipantReplicationCommand,
|
|
71
76
|
StopCompositionCommand,
|
|
77
|
+
StopParticipantReplicationCommand,
|
|
72
78
|
TagResourceCommand,
|
|
73
79
|
UntagResourceCommand,
|
|
74
80
|
UpdateIngestConfigurationCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListParticipantReplicasCommand, se_ListParticipantReplicasCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListParticipantReplicasCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonInteractiveVideoServiceRealTime", "ListParticipantReplicas", {})
|
|
17
|
+
.n("IVSRealTimeClient", "ListParticipantReplicasCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListParticipantReplicasCommand)
|
|
20
|
+
.de(de_ListParticipantReplicasCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StartParticipantReplicationCommand, se_StartParticipantReplicationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartParticipantReplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonInteractiveVideoServiceRealTime", "StartParticipantReplication", {})
|
|
17
|
+
.n("IVSRealTimeClient", "StartParticipantReplicationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StartParticipantReplicationCommand)
|
|
20
|
+
.de(de_StartParticipantReplicationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_StopParticipantReplicationCommand, se_StopParticipantReplicationCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StopParticipantReplicationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonInteractiveVideoServiceRealTime", "StopParticipantReplication", {})
|
|
17
|
+
.n("IVSRealTimeClient", "StopParticipantReplicationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_StopParticipantReplicationCommand)
|
|
20
|
+
.de(de_StopParticipantReplicationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -22,6 +22,7 @@ export * from "./ListCompositionsCommand";
|
|
|
22
22
|
export * from "./ListEncoderConfigurationsCommand";
|
|
23
23
|
export * from "./ListIngestConfigurationsCommand";
|
|
24
24
|
export * from "./ListParticipantEventsCommand";
|
|
25
|
+
export * from "./ListParticipantReplicasCommand";
|
|
25
26
|
export * from "./ListParticipantsCommand";
|
|
26
27
|
export * from "./ListPublicKeysCommand";
|
|
27
28
|
export * from "./ListStageSessionsCommand";
|
|
@@ -29,7 +30,9 @@ export * from "./ListStagesCommand";
|
|
|
29
30
|
export * from "./ListStorageConfigurationsCommand";
|
|
30
31
|
export * from "./ListTagsForResourceCommand";
|
|
31
32
|
export * from "./StartCompositionCommand";
|
|
33
|
+
export * from "./StartParticipantReplicationCommand";
|
|
32
34
|
export * from "./StopCompositionCommand";
|
|
35
|
+
export * from "./StopParticipantReplicationCommand";
|
|
33
36
|
export * from "./TagResourceCommand";
|
|
34
37
|
export * from "./UntagResourceCommand";
|
|
35
38
|
export * from "./UpdateIngestConfigurationCommand";
|
|
@@ -288,6 +288,15 @@ export const ParticipantRecordingState = {
|
|
|
288
288
|
STOPPED: "STOPPED",
|
|
289
289
|
STOPPING: "STOPPING",
|
|
290
290
|
};
|
|
291
|
+
export const ReplicationState = {
|
|
292
|
+
ACTIVE: "ACTIVE",
|
|
293
|
+
STOPPED: "STOPPED",
|
|
294
|
+
};
|
|
295
|
+
export const ReplicationType = {
|
|
296
|
+
NONE: "NONE",
|
|
297
|
+
REPLICA: "REPLICA",
|
|
298
|
+
SOURCE: "SOURCE",
|
|
299
|
+
};
|
|
291
300
|
export const ParticipantState = {
|
|
292
301
|
CONNECTED: "CONNECTED",
|
|
293
302
|
DISCONNECTED: "DISCONNECTED",
|
|
@@ -315,6 +324,8 @@ export const EventName = {
|
|
|
315
324
|
PUBLISH_ERROR: "PUBLISH_ERROR",
|
|
316
325
|
PUBLISH_STARTED: "PUBLISH_STARTED",
|
|
317
326
|
PUBLISH_STOPPED: "PUBLISH_STOPPED",
|
|
327
|
+
REPLICATION_STARTED: "REPLICATION_STARTED",
|
|
328
|
+
REPLICATION_STOPPED: "REPLICATION_STOPPED",
|
|
318
329
|
SUBSCRIBE_ERROR: "SUBSCRIBE_ERROR",
|
|
319
330
|
SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED",
|
|
320
331
|
SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListParticipantReplicasCommand, } from "../commands/ListParticipantReplicasCommand";
|
|
3
|
+
import { IVSRealTimeClient } from "../IVSRealTimeClient";
|
|
4
|
+
export const paginateListParticipantReplicas = createPaginator(IVSRealTimeClient, ListParticipantReplicasCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -3,6 +3,7 @@ export * from "./ListCompositionsPaginator";
|
|
|
3
3
|
export * from "./ListEncoderConfigurationsPaginator";
|
|
4
4
|
export * from "./ListIngestConfigurationsPaginator";
|
|
5
5
|
export * from "./ListParticipantEventsPaginator";
|
|
6
|
+
export * from "./ListParticipantReplicasPaginator";
|
|
6
7
|
export * from "./ListParticipantsPaginator";
|
|
7
8
|
export * from "./ListPublicKeysPaginator";
|
|
8
9
|
export * from "./ListStageSessionsPaginator";
|