@aws-sdk/client-ivs-realtime 3.600.0 → 3.605.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.
Files changed (41) hide show
  1. package/README.md +49 -170
  2. package/dist-cjs/index.js +230 -0
  3. package/dist-es/IVSRealTime.js +8 -0
  4. package/dist-es/commands/DeletePublicKeyCommand.js +24 -0
  5. package/dist-es/commands/GetPublicKeyCommand.js +24 -0
  6. package/dist-es/commands/ImportPublicKeyCommand.js +24 -0
  7. package/dist-es/commands/ListPublicKeysCommand.js +24 -0
  8. package/dist-es/commands/index.js +4 -0
  9. package/dist-es/models/models_0.js +19 -0
  10. package/dist-es/pagination/ListPublicKeysPaginator.js +4 -0
  11. package/dist-es/pagination/index.js +1 -0
  12. package/dist-es/protocols/Aws_restJson1.js +115 -0
  13. package/dist-types/IVSRealTime.d.ts +53 -177
  14. package/dist-types/IVSRealTimeClient.d.ts +30 -179
  15. package/dist-types/commands/CreateStageCommand.d.ts +16 -0
  16. package/dist-types/commands/DeletePublicKeyCommand.d.ts +75 -0
  17. package/dist-types/commands/GetParticipantCommand.d.ts +3 -0
  18. package/dist-types/commands/GetPublicKeyCommand.d.ts +77 -0
  19. package/dist-types/commands/GetStageCommand.d.ts +10 -0
  20. package/dist-types/commands/ImportPublicKeyCommand.d.ts +87 -0
  21. package/dist-types/commands/ListParticipantsCommand.d.ts +2 -0
  22. package/dist-types/commands/ListPublicKeysCommand.d.ts +76 -0
  23. package/dist-types/commands/UpdateStageCommand.d.ts +16 -0
  24. package/dist-types/commands/index.d.ts +4 -0
  25. package/dist-types/index.d.ts +24 -177
  26. package/dist-types/models/models_0.d.ts +305 -22
  27. package/dist-types/pagination/ListPublicKeysPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +1 -0
  29. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  30. package/dist-types/ts3.4/IVSRealTime.d.ts +69 -0
  31. package/dist-types/ts3.4/IVSRealTimeClient.d.ts +24 -0
  32. package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +39 -0
  33. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +36 -0
  34. package/dist-types/ts3.4/commands/ImportPublicKeyCommand.d.ts +39 -0
  35. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +39 -0
  36. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  37. package/dist-types/ts3.4/models/models_0.d.ts +80 -0
  38. package/dist-types/ts3.4/pagination/ListPublicKeysPaginator.d.ts +11 -0
  39. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  40. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  41. package/package.json +1 -1
package/dist-cjs/index.js CHANGED
@@ -31,6 +31,7 @@ __export(src_exports, {
31
31
  CreateStageResponseFilterSensitiveLog: () => CreateStageResponseFilterSensitiveLog,
32
32
  CreateStorageConfigurationCommand: () => CreateStorageConfigurationCommand,
33
33
  DeleteEncoderConfigurationCommand: () => DeleteEncoderConfigurationCommand,
34
+ DeletePublicKeyCommand: () => DeletePublicKeyCommand,
34
35
  DeleteStageCommand: () => DeleteStageCommand,
35
36
  DeleteStorageConfigurationCommand: () => DeleteStorageConfigurationCommand,
36
37
  DestinationState: () => DestinationState,
@@ -40,21 +41,27 @@ __export(src_exports, {
40
41
  GetCompositionCommand: () => GetCompositionCommand,
41
42
  GetEncoderConfigurationCommand: () => GetEncoderConfigurationCommand,
42
43
  GetParticipantCommand: () => GetParticipantCommand,
44
+ GetPublicKeyCommand: () => GetPublicKeyCommand,
43
45
  GetStageCommand: () => GetStageCommand,
44
46
  GetStageSessionCommand: () => GetStageSessionCommand,
45
47
  GetStorageConfigurationCommand: () => GetStorageConfigurationCommand,
46
48
  IVSRealTime: () => IVSRealTime,
47
49
  IVSRealTimeClient: () => IVSRealTimeClient,
48
50
  IVSRealTimeServiceException: () => IVSRealTimeServiceException,
51
+ ImportPublicKeyCommand: () => ImportPublicKeyCommand,
49
52
  InternalServerException: () => InternalServerException,
50
53
  ListCompositionsCommand: () => ListCompositionsCommand,
51
54
  ListEncoderConfigurationsCommand: () => ListEncoderConfigurationsCommand,
52
55
  ListParticipantEventsCommand: () => ListParticipantEventsCommand,
53
56
  ListParticipantsCommand: () => ListParticipantsCommand,
57
+ ListPublicKeysCommand: () => ListPublicKeysCommand,
54
58
  ListStageSessionsCommand: () => ListStageSessionsCommand,
55
59
  ListStagesCommand: () => ListStagesCommand,
56
60
  ListStorageConfigurationsCommand: () => ListStorageConfigurationsCommand,
57
61
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
62
+ ParticipantRecordingFilterByRecordingState: () => ParticipantRecordingFilterByRecordingState,
63
+ ParticipantRecordingMediaType: () => ParticipantRecordingMediaType,
64
+ ParticipantRecordingState: () => ParticipantRecordingState,
58
65
  ParticipantState: () => ParticipantState,
59
66
  ParticipantTokenCapability: () => ParticipantTokenCapability,
60
67
  ParticipantTokenFilterSensitiveLog: () => ParticipantTokenFilterSensitiveLog,
@@ -77,6 +84,7 @@ __export(src_exports, {
77
84
  paginateListEncoderConfigurations: () => paginateListEncoderConfigurations,
78
85
  paginateListParticipantEvents: () => paginateListParticipantEvents,
79
86
  paginateListParticipants: () => paginateListParticipants,
87
+ paginateListPublicKeys: () => paginateListPublicKeys,
80
88
  paginateListStageSessions: () => paginateListStageSessions,
81
89
  paginateListStages: () => paginateListStages,
82
90
  paginateListStorageConfigurations: () => paginateListStorageConfigurations
@@ -386,6 +394,10 @@ var ParticipantTokenCapability = {
386
394
  PUBLISH: "PUBLISH",
387
395
  SUBSCRIBE: "SUBSCRIBE"
388
396
  };
397
+ var ParticipantRecordingMediaType = {
398
+ AUDIO_ONLY: "AUDIO_ONLY",
399
+ AUDIO_VIDEO: "AUDIO_VIDEO"
400
+ };
389
401
  var RecordingConfigurationFormat = {
390
402
  HLS: "HLS"
391
403
  };
@@ -425,6 +437,14 @@ var CompositionState = {
425
437
  STOPPED: "STOPPED",
426
438
  STOPPING: "STOPPING"
427
439
  };
440
+ var ParticipantRecordingState = {
441
+ ACTIVE: "ACTIVE",
442
+ DISABLED: "DISABLED",
443
+ FAILED: "FAILED",
444
+ STARTING: "STARTING",
445
+ STOPPED: "STOPPED",
446
+ STOPPING: "STOPPING"
447
+ };
428
448
  var ParticipantState = {
429
449
  CONNECTED: "CONNECTED",
430
450
  DISCONNECTED: "DISCONNECTED"
@@ -445,6 +465,13 @@ var EventName = {
445
465
  SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED",
446
466
  SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED"
447
467
  };
468
+ var ParticipantRecordingFilterByRecordingState = {
469
+ ACTIVE: "ACTIVE",
470
+ FAILED: "FAILED",
471
+ STARTING: "STARTING",
472
+ STOPPED: "STOPPED",
473
+ STOPPING: "STOPPING"
474
+ };
448
475
  var ParticipantTokenFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
449
476
  ...obj,
450
477
  ...obj.token && { token: import_smithy_client.SENSITIVE_STRING }
@@ -506,6 +533,7 @@ var se_CreateStageCommand = /* @__PURE__ */ __name(async (input, context) => {
506
533
  let body;
507
534
  body = JSON.stringify(
508
535
  (0, import_smithy_client.take)(input, {
536
+ autoParticipantRecordingConfiguration: (_) => (0, import_smithy_client._json)(_),
509
537
  name: [],
510
538
  participantTokenConfigurations: (_) => (0, import_smithy_client._json)(_),
511
539
  tags: (_) => (0, import_smithy_client._json)(_)
@@ -546,6 +574,21 @@ var se_DeleteEncoderConfigurationCommand = /* @__PURE__ */ __name(async (input,
546
574
  b.m("POST").h(headers).b(body);
547
575
  return b.build();
548
576
  }, "se_DeleteEncoderConfigurationCommand");
577
+ var se_DeletePublicKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
578
+ const b = (0, import_core.requestBuilder)(input, context);
579
+ const headers = {
580
+ "content-type": "application/json"
581
+ };
582
+ b.bp("/DeletePublicKey");
583
+ let body;
584
+ body = JSON.stringify(
585
+ (0, import_smithy_client.take)(input, {
586
+ arn: []
587
+ })
588
+ );
589
+ b.m("POST").h(headers).b(body);
590
+ return b.build();
591
+ }, "se_DeletePublicKeyCommand");
549
592
  var se_DeleteStageCommand = /* @__PURE__ */ __name(async (input, context) => {
550
593
  const b = (0, import_core.requestBuilder)(input, context);
551
594
  const headers = {
@@ -640,6 +683,21 @@ var se_GetParticipantCommand = /* @__PURE__ */ __name(async (input, context) =>
640
683
  b.m("POST").h(headers).b(body);
641
684
  return b.build();
642
685
  }, "se_GetParticipantCommand");
686
+ var se_GetPublicKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
687
+ const b = (0, import_core.requestBuilder)(input, context);
688
+ const headers = {
689
+ "content-type": "application/json"
690
+ };
691
+ b.bp("/GetPublicKey");
692
+ let body;
693
+ body = JSON.stringify(
694
+ (0, import_smithy_client.take)(input, {
695
+ arn: []
696
+ })
697
+ );
698
+ b.m("POST").h(headers).b(body);
699
+ return b.build();
700
+ }, "se_GetPublicKeyCommand");
643
701
  var se_GetStageCommand = /* @__PURE__ */ __name(async (input, context) => {
644
702
  const b = (0, import_core.requestBuilder)(input, context);
645
703
  const headers = {
@@ -686,6 +744,23 @@ var se_GetStorageConfigurationCommand = /* @__PURE__ */ __name(async (input, con
686
744
  b.m("POST").h(headers).b(body);
687
745
  return b.build();
688
746
  }, "se_GetStorageConfigurationCommand");
747
+ var se_ImportPublicKeyCommand = /* @__PURE__ */ __name(async (input, context) => {
748
+ const b = (0, import_core.requestBuilder)(input, context);
749
+ const headers = {
750
+ "content-type": "application/json"
751
+ };
752
+ b.bp("/ImportPublicKey");
753
+ let body;
754
+ body = JSON.stringify(
755
+ (0, import_smithy_client.take)(input, {
756
+ name: [],
757
+ publicKeyMaterial: [],
758
+ tags: (_) => (0, import_smithy_client._json)(_)
759
+ })
760
+ );
761
+ b.m("POST").h(headers).b(body);
762
+ return b.build();
763
+ }, "se_ImportPublicKeyCommand");
689
764
  var se_ListCompositionsCommand = /* @__PURE__ */ __name(async (input, context) => {
690
765
  const b = (0, import_core.requestBuilder)(input, context);
691
766
  const headers = {
@@ -749,6 +824,7 @@ var se_ListParticipantsCommand = /* @__PURE__ */ __name(async (input, context) =
749
824
  body = JSON.stringify(
750
825
  (0, import_smithy_client.take)(input, {
751
826
  filterByPublished: [],
827
+ filterByRecordingState: [],
752
828
  filterByState: [],
753
829
  filterByUserId: [],
754
830
  maxResults: [],
@@ -760,6 +836,22 @@ var se_ListParticipantsCommand = /* @__PURE__ */ __name(async (input, context) =
760
836
  b.m("POST").h(headers).b(body);
761
837
  return b.build();
762
838
  }, "se_ListParticipantsCommand");
839
+ var se_ListPublicKeysCommand = /* @__PURE__ */ __name(async (input, context) => {
840
+ const b = (0, import_core.requestBuilder)(input, context);
841
+ const headers = {
842
+ "content-type": "application/json"
843
+ };
844
+ b.bp("/ListPublicKeys");
845
+ let body;
846
+ body = JSON.stringify(
847
+ (0, import_smithy_client.take)(input, {
848
+ maxResults: [],
849
+ nextToken: []
850
+ })
851
+ );
852
+ b.m("POST").h(headers).b(body);
853
+ return b.build();
854
+ }, "se_ListPublicKeysCommand");
763
855
  var se_ListStagesCommand = /* @__PURE__ */ __name(async (input, context) => {
764
856
  const b = (0, import_core.requestBuilder)(input, context);
765
857
  const headers = {
@@ -893,6 +985,7 @@ var se_UpdateStageCommand = /* @__PURE__ */ __name(async (input, context) => {
893
985
  body = JSON.stringify(
894
986
  (0, import_smithy_client.take)(input, {
895
987
  arn: [],
988
+ autoParticipantRecordingConfiguration: (_) => (0, import_smithy_client._json)(_),
896
989
  name: []
897
990
  })
898
991
  );
@@ -966,6 +1059,16 @@ var de_DeleteEncoderConfigurationCommand = /* @__PURE__ */ __name(async (output,
966
1059
  await (0, import_smithy_client.collectBody)(output.body, context);
967
1060
  return contents;
968
1061
  }, "de_DeleteEncoderConfigurationCommand");
1062
+ var de_DeletePublicKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
1063
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1064
+ return de_CommandError(output, context);
1065
+ }
1066
+ const contents = (0, import_smithy_client.map)({
1067
+ $metadata: deserializeMetadata(output)
1068
+ });
1069
+ await (0, import_smithy_client.collectBody)(output.body, context);
1070
+ return contents;
1071
+ }, "de_DeletePublicKeyCommand");
969
1072
  var de_DeleteStageCommand = /* @__PURE__ */ __name(async (output, context) => {
970
1073
  if (output.statusCode !== 200 && output.statusCode >= 300) {
971
1074
  return de_CommandError(output, context);
@@ -1038,6 +1141,20 @@ var de_GetParticipantCommand = /* @__PURE__ */ __name(async (output, context) =>
1038
1141
  Object.assign(contents, doc);
1039
1142
  return contents;
1040
1143
  }, "de_GetParticipantCommand");
1144
+ var de_GetPublicKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
1145
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1146
+ return de_CommandError(output, context);
1147
+ }
1148
+ const contents = (0, import_smithy_client.map)({
1149
+ $metadata: deserializeMetadata(output)
1150
+ });
1151
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1152
+ const doc = (0, import_smithy_client.take)(data, {
1153
+ publicKey: import_smithy_client._json
1154
+ });
1155
+ Object.assign(contents, doc);
1156
+ return contents;
1157
+ }, "de_GetPublicKeyCommand");
1041
1158
  var de_GetStageCommand = /* @__PURE__ */ __name(async (output, context) => {
1042
1159
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1043
1160
  return de_CommandError(output, context);
@@ -1080,6 +1197,20 @@ var de_GetStorageConfigurationCommand = /* @__PURE__ */ __name(async (output, co
1080
1197
  Object.assign(contents, doc);
1081
1198
  return contents;
1082
1199
  }, "de_GetStorageConfigurationCommand");
1200
+ var de_ImportPublicKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
1201
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1202
+ return de_CommandError(output, context);
1203
+ }
1204
+ const contents = (0, import_smithy_client.map)({
1205
+ $metadata: deserializeMetadata(output)
1206
+ });
1207
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1208
+ const doc = (0, import_smithy_client.take)(data, {
1209
+ publicKey: import_smithy_client._json
1210
+ });
1211
+ Object.assign(contents, doc);
1212
+ return contents;
1213
+ }, "de_ImportPublicKeyCommand");
1083
1214
  var de_ListCompositionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1084
1215
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1085
1216
  return de_CommandError(output, context);
@@ -1140,6 +1271,21 @@ var de_ListParticipantsCommand = /* @__PURE__ */ __name(async (output, context)
1140
1271
  Object.assign(contents, doc);
1141
1272
  return contents;
1142
1273
  }, "de_ListParticipantsCommand");
1274
+ var de_ListPublicKeysCommand = /* @__PURE__ */ __name(async (output, context) => {
1275
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1276
+ return de_CommandError(output, context);
1277
+ }
1278
+ const contents = (0, import_smithy_client.map)({
1279
+ $metadata: deserializeMetadata(output)
1280
+ });
1281
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1282
+ const doc = (0, import_smithy_client.take)(data, {
1283
+ nextToken: import_smithy_client.expectString,
1284
+ publicKeys: import_smithy_client._json
1285
+ });
1286
+ Object.assign(contents, doc);
1287
+ return contents;
1288
+ }, "de_ListPublicKeysCommand");
1143
1289
  var de_ListStagesCommand = /* @__PURE__ */ __name(async (output, context) => {
1144
1290
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1145
1291
  return de_CommandError(output, context);
@@ -1487,6 +1633,9 @@ var de_Participant = /* @__PURE__ */ __name((output, context) => {
1487
1633
  osVersion: import_smithy_client.expectString,
1488
1634
  participantId: import_smithy_client.expectString,
1489
1635
  published: import_smithy_client.expectBoolean,
1636
+ recordingS3BucketName: import_smithy_client.expectString,
1637
+ recordingS3Prefix: import_smithy_client.expectString,
1638
+ recordingState: import_smithy_client.expectString,
1490
1639
  sdkVersion: import_smithy_client.expectString,
1491
1640
  state: import_smithy_client.expectString,
1492
1641
  userId: import_smithy_client.expectString
@@ -1503,6 +1652,7 @@ var de_ParticipantSummary = /* @__PURE__ */ __name((output, context) => {
1503
1652
  firstJoinTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1504
1653
  participantId: import_smithy_client.expectString,
1505
1654
  published: import_smithy_client.expectBoolean,
1655
+ recordingState: import_smithy_client.expectString,
1506
1656
  state: import_smithy_client.expectString,
1507
1657
  userId: import_smithy_client.expectString
1508
1658
  });
@@ -1637,6 +1787,22 @@ var _DeleteEncoderConfigurationCommand = class _DeleteEncoderConfigurationComman
1637
1787
  __name(_DeleteEncoderConfigurationCommand, "DeleteEncoderConfigurationCommand");
1638
1788
  var DeleteEncoderConfigurationCommand = _DeleteEncoderConfigurationCommand;
1639
1789
 
1790
+ // src/commands/DeletePublicKeyCommand.ts
1791
+
1792
+
1793
+
1794
+ var _DeletePublicKeyCommand = class _DeletePublicKeyCommand extends import_smithy_client.Command.classBuilder().ep({
1795
+ ...commonParams
1796
+ }).m(function(Command, cs, config, o) {
1797
+ return [
1798
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1799
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1800
+ ];
1801
+ }).s("AmazonInteractiveVideoServiceRealTime", "DeletePublicKey", {}).n("IVSRealTimeClient", "DeletePublicKeyCommand").f(void 0, void 0).ser(se_DeletePublicKeyCommand).de(de_DeletePublicKeyCommand).build() {
1802
+ };
1803
+ __name(_DeletePublicKeyCommand, "DeletePublicKeyCommand");
1804
+ var DeletePublicKeyCommand = _DeletePublicKeyCommand;
1805
+
1640
1806
  // src/commands/DeleteStageCommand.ts
1641
1807
 
1642
1808
 
@@ -1733,6 +1899,22 @@ var _GetParticipantCommand = class _GetParticipantCommand extends import_smithy_
1733
1899
  __name(_GetParticipantCommand, "GetParticipantCommand");
1734
1900
  var GetParticipantCommand = _GetParticipantCommand;
1735
1901
 
1902
+ // src/commands/GetPublicKeyCommand.ts
1903
+
1904
+
1905
+
1906
+ var _GetPublicKeyCommand = class _GetPublicKeyCommand extends import_smithy_client.Command.classBuilder().ep({
1907
+ ...commonParams
1908
+ }).m(function(Command, cs, config, o) {
1909
+ return [
1910
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1911
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1912
+ ];
1913
+ }).s("AmazonInteractiveVideoServiceRealTime", "GetPublicKey", {}).n("IVSRealTimeClient", "GetPublicKeyCommand").f(void 0, void 0).ser(se_GetPublicKeyCommand).de(de_GetPublicKeyCommand).build() {
1914
+ };
1915
+ __name(_GetPublicKeyCommand, "GetPublicKeyCommand");
1916
+ var GetPublicKeyCommand = _GetPublicKeyCommand;
1917
+
1736
1918
  // src/commands/GetStageCommand.ts
1737
1919
 
1738
1920
 
@@ -1781,6 +1963,22 @@ var _GetStorageConfigurationCommand = class _GetStorageConfigurationCommand exte
1781
1963
  __name(_GetStorageConfigurationCommand, "GetStorageConfigurationCommand");
1782
1964
  var GetStorageConfigurationCommand = _GetStorageConfigurationCommand;
1783
1965
 
1966
+ // src/commands/ImportPublicKeyCommand.ts
1967
+
1968
+
1969
+
1970
+ var _ImportPublicKeyCommand = class _ImportPublicKeyCommand extends import_smithy_client.Command.classBuilder().ep({
1971
+ ...commonParams
1972
+ }).m(function(Command, cs, config, o) {
1973
+ return [
1974
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1975
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1976
+ ];
1977
+ }).s("AmazonInteractiveVideoServiceRealTime", "ImportPublicKey", {}).n("IVSRealTimeClient", "ImportPublicKeyCommand").f(void 0, void 0).ser(se_ImportPublicKeyCommand).de(de_ImportPublicKeyCommand).build() {
1978
+ };
1979
+ __name(_ImportPublicKeyCommand, "ImportPublicKeyCommand");
1980
+ var ImportPublicKeyCommand = _ImportPublicKeyCommand;
1981
+
1784
1982
  // src/commands/ListCompositionsCommand.ts
1785
1983
 
1786
1984
 
@@ -1845,6 +2043,22 @@ var _ListParticipantsCommand = class _ListParticipantsCommand extends import_smi
1845
2043
  __name(_ListParticipantsCommand, "ListParticipantsCommand");
1846
2044
  var ListParticipantsCommand = _ListParticipantsCommand;
1847
2045
 
2046
+ // src/commands/ListPublicKeysCommand.ts
2047
+
2048
+
2049
+
2050
+ var _ListPublicKeysCommand = class _ListPublicKeysCommand extends import_smithy_client.Command.classBuilder().ep({
2051
+ ...commonParams
2052
+ }).m(function(Command, cs, config, o) {
2053
+ return [
2054
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2055
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2056
+ ];
2057
+ }).s("AmazonInteractiveVideoServiceRealTime", "ListPublicKeys", {}).n("IVSRealTimeClient", "ListPublicKeysCommand").f(void 0, void 0).ser(se_ListPublicKeysCommand).de(de_ListPublicKeysCommand).build() {
2058
+ };
2059
+ __name(_ListPublicKeysCommand, "ListPublicKeysCommand");
2060
+ var ListPublicKeysCommand = _ListPublicKeysCommand;
2061
+
1848
2062
  // src/commands/ListStagesCommand.ts
1849
2063
 
1850
2064
 
@@ -1996,19 +2210,23 @@ var commands = {
1996
2210
  CreateStageCommand,
1997
2211
  CreateStorageConfigurationCommand,
1998
2212
  DeleteEncoderConfigurationCommand,
2213
+ DeletePublicKeyCommand,
1999
2214
  DeleteStageCommand,
2000
2215
  DeleteStorageConfigurationCommand,
2001
2216
  DisconnectParticipantCommand,
2002
2217
  GetCompositionCommand,
2003
2218
  GetEncoderConfigurationCommand,
2004
2219
  GetParticipantCommand,
2220
+ GetPublicKeyCommand,
2005
2221
  GetStageCommand,
2006
2222
  GetStageSessionCommand,
2007
2223
  GetStorageConfigurationCommand,
2224
+ ImportPublicKeyCommand,
2008
2225
  ListCompositionsCommand,
2009
2226
  ListEncoderConfigurationsCommand,
2010
2227
  ListParticipantEventsCommand,
2011
2228
  ListParticipantsCommand,
2229
+ ListPublicKeysCommand,
2012
2230
  ListStagesCommand,
2013
2231
  ListStageSessionsCommand,
2014
2232
  ListStorageConfigurationsCommand,
@@ -2041,6 +2259,10 @@ var paginateListParticipantEvents = (0, import_core.createPaginator)(IVSRealTime
2041
2259
 
2042
2260
  var paginateListParticipants = (0, import_core.createPaginator)(IVSRealTimeClient, ListParticipantsCommand, "nextToken", "nextToken", "maxResults");
2043
2261
 
2262
+ // src/pagination/ListPublicKeysPaginator.ts
2263
+
2264
+ var paginateListPublicKeys = (0, import_core.createPaginator)(IVSRealTimeClient, ListPublicKeysCommand, "nextToken", "nextToken", "maxResults");
2265
+
2044
2266
  // src/pagination/ListStageSessionsPaginator.ts
2045
2267
 
2046
2268
  var paginateListStageSessions = (0, import_core.createPaginator)(IVSRealTimeClient, ListStageSessionsCommand, "nextToken", "nextToken", "maxResults");
@@ -2065,19 +2287,23 @@ var paginateListStorageConfigurations = (0, import_core.createPaginator)(IVSReal
2065
2287
  CreateStageCommand,
2066
2288
  CreateStorageConfigurationCommand,
2067
2289
  DeleteEncoderConfigurationCommand,
2290
+ DeletePublicKeyCommand,
2068
2291
  DeleteStageCommand,
2069
2292
  DeleteStorageConfigurationCommand,
2070
2293
  DisconnectParticipantCommand,
2071
2294
  GetCompositionCommand,
2072
2295
  GetEncoderConfigurationCommand,
2073
2296
  GetParticipantCommand,
2297
+ GetPublicKeyCommand,
2074
2298
  GetStageCommand,
2075
2299
  GetStageSessionCommand,
2076
2300
  GetStorageConfigurationCommand,
2301
+ ImportPublicKeyCommand,
2077
2302
  ListCompositionsCommand,
2078
2303
  ListEncoderConfigurationsCommand,
2079
2304
  ListParticipantEventsCommand,
2080
2305
  ListParticipantsCommand,
2306
+ ListPublicKeysCommand,
2081
2307
  ListStageSessionsCommand,
2082
2308
  ListStagesCommand,
2083
2309
  ListStorageConfigurationsCommand,
@@ -2091,6 +2317,7 @@ var paginateListStorageConfigurations = (0, import_core.createPaginator)(IVSReal
2091
2317
  paginateListEncoderConfigurations,
2092
2318
  paginateListParticipantEvents,
2093
2319
  paginateListParticipants,
2320
+ paginateListPublicKeys,
2094
2321
  paginateListStageSessions,
2095
2322
  paginateListStages,
2096
2323
  paginateListStorageConfigurations,
@@ -2102,6 +2329,7 @@ var paginateListStorageConfigurations = (0, import_core.createPaginator)(IVSReal
2102
2329
  ServiceQuotaExceededException,
2103
2330
  ValidationException,
2104
2331
  ParticipantTokenCapability,
2332
+ ParticipantRecordingMediaType,
2105
2333
  RecordingConfigurationFormat,
2106
2334
  DestinationState,
2107
2335
  VideoAspectRatio,
@@ -2109,9 +2337,11 @@ var paginateListStorageConfigurations = (0, import_core.createPaginator)(IVSReal
2109
2337
  PipBehavior,
2110
2338
  PipPosition,
2111
2339
  CompositionState,
2340
+ ParticipantRecordingState,
2112
2341
  ParticipantState,
2113
2342
  EventErrorCode,
2114
2343
  EventName,
2344
+ ParticipantRecordingFilterByRecordingState,
2115
2345
  ParticipantTokenFilterSensitiveLog,
2116
2346
  CreateParticipantTokenResponseFilterSensitiveLog,
2117
2347
  CreateStageResponseFilterSensitiveLog
@@ -4,19 +4,23 @@ import { CreateParticipantTokenCommand, } from "./commands/CreateParticipantToke
4
4
  import { CreateStageCommand } from "./commands/CreateStageCommand";
5
5
  import { CreateStorageConfigurationCommand, } from "./commands/CreateStorageConfigurationCommand";
6
6
  import { DeleteEncoderConfigurationCommand, } from "./commands/DeleteEncoderConfigurationCommand";
7
+ import { DeletePublicKeyCommand, } from "./commands/DeletePublicKeyCommand";
7
8
  import { DeleteStageCommand } from "./commands/DeleteStageCommand";
8
9
  import { DeleteStorageConfigurationCommand, } from "./commands/DeleteStorageConfigurationCommand";
9
10
  import { DisconnectParticipantCommand, } from "./commands/DisconnectParticipantCommand";
10
11
  import { GetCompositionCommand, } from "./commands/GetCompositionCommand";
11
12
  import { GetEncoderConfigurationCommand, } from "./commands/GetEncoderConfigurationCommand";
12
13
  import { GetParticipantCommand, } from "./commands/GetParticipantCommand";
14
+ import { GetPublicKeyCommand, } from "./commands/GetPublicKeyCommand";
13
15
  import { GetStageCommand } from "./commands/GetStageCommand";
14
16
  import { GetStageSessionCommand, } from "./commands/GetStageSessionCommand";
15
17
  import { GetStorageConfigurationCommand, } from "./commands/GetStorageConfigurationCommand";
18
+ import { ImportPublicKeyCommand, } from "./commands/ImportPublicKeyCommand";
16
19
  import { ListCompositionsCommand, } from "./commands/ListCompositionsCommand";
17
20
  import { ListEncoderConfigurationsCommand, } from "./commands/ListEncoderConfigurationsCommand";
18
21
  import { ListParticipantEventsCommand, } from "./commands/ListParticipantEventsCommand";
19
22
  import { ListParticipantsCommand, } from "./commands/ListParticipantsCommand";
23
+ import { ListPublicKeysCommand, } from "./commands/ListPublicKeysCommand";
20
24
  import { ListStagesCommand } from "./commands/ListStagesCommand";
21
25
  import { ListStageSessionsCommand, } from "./commands/ListStageSessionsCommand";
22
26
  import { ListStorageConfigurationsCommand, } from "./commands/ListStorageConfigurationsCommand";
@@ -33,19 +37,23 @@ const commands = {
33
37
  CreateStageCommand,
34
38
  CreateStorageConfigurationCommand,
35
39
  DeleteEncoderConfigurationCommand,
40
+ DeletePublicKeyCommand,
36
41
  DeleteStageCommand,
37
42
  DeleteStorageConfigurationCommand,
38
43
  DisconnectParticipantCommand,
39
44
  GetCompositionCommand,
40
45
  GetEncoderConfigurationCommand,
41
46
  GetParticipantCommand,
47
+ GetPublicKeyCommand,
42
48
  GetStageCommand,
43
49
  GetStageSessionCommand,
44
50
  GetStorageConfigurationCommand,
51
+ ImportPublicKeyCommand,
45
52
  ListCompositionsCommand,
46
53
  ListEncoderConfigurationsCommand,
47
54
  ListParticipantEventsCommand,
48
55
  ListParticipantsCommand,
56
+ ListPublicKeysCommand,
49
57
  ListStagesCommand,
50
58
  ListStageSessionsCommand,
51
59
  ListStorageConfigurationsCommand,
@@ -0,0 +1,24 @@
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_DeletePublicKeyCommand, se_DeletePublicKeyCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DeletePublicKeyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonInteractiveVideoServiceRealTime", "DeletePublicKey", {})
19
+ .n("IVSRealTimeClient", "DeletePublicKeyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeletePublicKeyCommand)
22
+ .de(de_DeletePublicKeyCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
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_GetPublicKeyCommand, se_GetPublicKeyCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetPublicKeyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonInteractiveVideoServiceRealTime", "GetPublicKey", {})
19
+ .n("IVSRealTimeClient", "GetPublicKeyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetPublicKeyCommand)
22
+ .de(de_GetPublicKeyCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
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_ImportPublicKeyCommand, se_ImportPublicKeyCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ImportPublicKeyCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonInteractiveVideoServiceRealTime", "ImportPublicKey", {})
19
+ .n("IVSRealTimeClient", "ImportPublicKeyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ImportPublicKeyCommand)
22
+ .de(de_ImportPublicKeyCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
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_ListPublicKeysCommand, se_ListPublicKeysCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListPublicKeysCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("AmazonInteractiveVideoServiceRealTime", "ListPublicKeys", {})
19
+ .n("IVSRealTimeClient", "ListPublicKeysCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListPublicKeysCommand)
22
+ .de(de_ListPublicKeysCommand)
23
+ .build() {
24
+ }
@@ -3,19 +3,23 @@ export * from "./CreateParticipantTokenCommand";
3
3
  export * from "./CreateStageCommand";
4
4
  export * from "./CreateStorageConfigurationCommand";
5
5
  export * from "./DeleteEncoderConfigurationCommand";
6
+ export * from "./DeletePublicKeyCommand";
6
7
  export * from "./DeleteStageCommand";
7
8
  export * from "./DeleteStorageConfigurationCommand";
8
9
  export * from "./DisconnectParticipantCommand";
9
10
  export * from "./GetCompositionCommand";
10
11
  export * from "./GetEncoderConfigurationCommand";
11
12
  export * from "./GetParticipantCommand";
13
+ export * from "./GetPublicKeyCommand";
12
14
  export * from "./GetStageCommand";
13
15
  export * from "./GetStageSessionCommand";
14
16
  export * from "./GetStorageConfigurationCommand";
17
+ export * from "./ImportPublicKeyCommand";
15
18
  export * from "./ListCompositionsCommand";
16
19
  export * from "./ListEncoderConfigurationsCommand";
17
20
  export * from "./ListParticipantEventsCommand";
18
21
  export * from "./ListParticipantsCommand";
22
+ export * from "./ListPublicKeysCommand";
19
23
  export * from "./ListStageSessionsCommand";
20
24
  export * from "./ListStagesCommand";
21
25
  export * from "./ListStorageConfigurationsCommand";
@@ -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 }),