@aws-sdk/client-ivs-realtime 3.947.0 → 3.952.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 CHANGED
@@ -387,6 +387,7 @@ const _EC = "EncoderConfiguration";
387
387
  const _ECS = "EncoderConfigurationSummary";
388
388
  const _ECSL = "EncoderConfigurationSummaryList";
389
389
  const _EL = "EventList";
390
+ const _EPT = "ExchangedParticipantToken";
390
391
  const _GC = "GridConfiguration";
391
392
  const _GCR = "GetCompositionRequest";
392
393
  const _GCRe = "GetCompositionResponse";
@@ -583,7 +584,8 @@ const _l = "layout";
583
584
  const _mR = "maxResults";
584
585
  const _mT = "mediaTypes";
585
586
  const _n = "name";
586
- const _nT = "nextToken";
587
+ const _nT = "newToken";
588
+ const _nTe = "nextToken";
587
589
  const _oN = "osName";
588
590
  const _oSV = "omitStoppedVideo";
589
591
  const _oV = "osVersion";
@@ -601,6 +603,7 @@ const _pPA = "pipParticipantAttribute";
601
603
  const _pT = "participantToken";
602
604
  const _pTC = "participantTokenConfigurations";
603
605
  const _pTa = "participantTokens";
606
+ const _pTr = "previousToken";
604
607
  const _pW = "pipWidth";
605
608
  const _pa = "participants";
606
609
  const _pi = "pip";
@@ -853,8 +856,16 @@ var Event = [
853
856
  n0,
854
857
  _E,
855
858
  0,
856
- [_n, _pI, _eTv, _rPI, _eCr, _dSA, _dSI, _re],
857
- [0, 0, 5, 0, 0, 0, 0, 2],
859
+ [_n, _pI, _eTv, _rPI, _eCr, _dSA, _dSI, _re, _pTr, _nT],
860
+ [0, 0, 5, 0, 0, 0, 0, 2, () => ExchangedParticipantToken, () => ExchangedParticipantToken],
861
+ ];
862
+ var ExchangedParticipantToken = [
863
+ 3,
864
+ n0,
865
+ _EPT,
866
+ 0,
867
+ [_ca, _at, _uI, _eTx],
868
+ [64 | 0, 128 | 0, 0, 5],
858
869
  ];
859
870
  var GetCompositionRequest = [3, n0, _GCR, 0, [_a], [0]];
860
871
  var GetCompositionResponse = [3, n0, _GCRe, 0, [_com], [() => Composition]];
@@ -946,22 +957,22 @@ var LayoutConfiguration = [
946
957
  [_g, _pi],
947
958
  [() => GridConfiguration, () => PipConfiguration],
948
959
  ];
949
- var ListCompositionsRequest = [3, n0, _LCR, 0, [_fBSA, _fBECA, _nT, _mR], [0, 0, 0, 1]];
960
+ var ListCompositionsRequest = [3, n0, _LCR, 0, [_fBSA, _fBECA, _nTe, _mR], [0, 0, 0, 1]];
950
961
  var ListCompositionsResponse = [
951
962
  3,
952
963
  n0,
953
964
  _LCRi,
954
965
  0,
955
- [_comp, _nT],
966
+ [_comp, _nTe],
956
967
  [() => CompositionSummaryList, 0],
957
968
  ];
958
- var ListEncoderConfigurationsRequest = [3, n0, _LECR, 0, [_nT, _mR], [0, 1]];
969
+ var ListEncoderConfigurationsRequest = [3, n0, _LECR, 0, [_nTe, _mR], [0, 1]];
959
970
  var ListEncoderConfigurationsResponse = [
960
971
  3,
961
972
  n0,
962
973
  _LECRi,
963
974
  0,
964
- [_eCn, _nT],
975
+ [_eCn, _nTe],
965
976
  [() => EncoderConfigurationSummaryList, 0],
966
977
  ];
967
978
  var ListIngestConfigurationsRequest = [
@@ -969,7 +980,7 @@ var ListIngestConfigurationsRequest = [
969
980
  n0,
970
981
  _LICR,
971
982
  0,
972
- [_fBSA, _fBS, _nT, _mR],
983
+ [_fBSA, _fBS, _nTe, _mR],
973
984
  [0, 0, 0, 1],
974
985
  ];
975
986
  var ListIngestConfigurationsResponse = [
@@ -977,7 +988,7 @@ var ListIngestConfigurationsResponse = [
977
988
  n0,
978
989
  _LICRi,
979
990
  0,
980
- [_iCn, _nT],
991
+ [_iCn, _nTe],
981
992
  [() => IngestConfigurationList, 0],
982
993
  ];
983
994
  var ListParticipantEventsRequest = [
@@ -985,16 +996,16 @@ var ListParticipantEventsRequest = [
985
996
  n0,
986
997
  _LPER,
987
998
  0,
988
- [_sA, _sI, _pI, _nT, _mR],
999
+ [_sA, _sI, _pI, _nTe, _mR],
989
1000
  [0, 0, 0, 0, 1],
990
1001
  ];
991
- var ListParticipantEventsResponse = [3, n0, _LPERi, 0, [_ev, _nT], [() => EventList, 0]];
1002
+ var ListParticipantEventsResponse = [3, n0, _LPERi, 0, [_ev, _nTe], [() => EventList, 0]];
992
1003
  var ListParticipantReplicasRequest = [
993
1004
  3,
994
1005
  n0,
995
1006
  _LPRR,
996
1007
  0,
997
- [_sSA, _pI, _nT, _mR],
1008
+ [_sSA, _pI, _nTe, _mR],
998
1009
  [0, 0, 0, 1],
999
1010
  ];
1000
1011
  var ListParticipantReplicasResponse = [
@@ -1002,7 +1013,7 @@ var ListParticipantReplicasResponse = [
1002
1013
  n0,
1003
1014
  _LPRRi,
1004
1015
  0,
1005
- [_rep, _nT],
1016
+ [_rep, _nTe],
1006
1017
  [() => ParticipantReplicaList, 0],
1007
1018
  ];
1008
1019
  var ListParticipantsRequest = [
@@ -1010,30 +1021,30 @@ var ListParticipantsRequest = [
1010
1021
  n0,
1011
1022
  _LPR,
1012
1023
  0,
1013
- [_sA, _sI, _fBUI, _fBP, _fBS, _nT, _mR, _fBRS],
1024
+ [_sA, _sI, _fBUI, _fBP, _fBS, _nTe, _mR, _fBRS],
1014
1025
  [0, 0, 0, 2, 0, 0, 1, 0],
1015
1026
  ];
1016
- var ListParticipantsResponse = [3, n0, _LPRi, 0, [_pa, _nT], [() => ParticipantList, 0]];
1017
- var ListPublicKeysRequest = [3, n0, _LPKR, 0, [_nT, _mR], [0, 1]];
1018
- var ListPublicKeysResponse = [3, n0, _LPKRi, 0, [_pKu, _nT], [() => PublicKeyList, 0]];
1019
- var ListStageSessionsRequest = [3, n0, _LSSR, 0, [_sA, _nT, _mR], [0, 0, 1]];
1027
+ var ListParticipantsResponse = [3, n0, _LPRi, 0, [_pa, _nTe], [() => ParticipantList, 0]];
1028
+ var ListPublicKeysRequest = [3, n0, _LPKR, 0, [_nTe, _mR], [0, 1]];
1029
+ var ListPublicKeysResponse = [3, n0, _LPKRi, 0, [_pKu, _nTe], [() => PublicKeyList, 0]];
1030
+ var ListStageSessionsRequest = [3, n0, _LSSR, 0, [_sA, _nTe, _mR], [0, 0, 1]];
1020
1031
  var ListStageSessionsResponse = [
1021
1032
  3,
1022
1033
  n0,
1023
1034
  _LSSRi,
1024
1035
  0,
1025
- [_sSt, _nT],
1036
+ [_sSt, _nTe],
1026
1037
  [() => StageSessionList, 0],
1027
1038
  ];
1028
- var ListStagesRequest = [3, n0, _LSR, 0, [_nT, _mR], [0, 1]];
1029
- var ListStagesResponse = [3, n0, _LSRi, 0, [_stag, _nT], [() => StageSummaryList, 0]];
1030
- var ListStorageConfigurationsRequest = [3, n0, _LSCR, 0, [_nT, _mR], [0, 1]];
1039
+ var ListStagesRequest = [3, n0, _LSR, 0, [_nTe, _mR], [0, 1]];
1040
+ var ListStagesResponse = [3, n0, _LSRi, 0, [_stag, _nTe], [() => StageSummaryList, 0]];
1041
+ var ListStorageConfigurationsRequest = [3, n0, _LSCR, 0, [_nTe, _mR], [0, 1]];
1031
1042
  var ListStorageConfigurationsResponse = [
1032
1043
  3,
1033
1044
  n0,
1034
1045
  _LSCRi,
1035
1046
  0,
1036
- [_sCt, _nT],
1047
+ [_sCt, _nTe],
1037
1048
  [() => StorageConfigurationSummaryList, 0],
1038
1049
  ];
1039
1050
  var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
@@ -2293,6 +2304,7 @@ const EventName = {
2293
2304
  SUBSCRIBE_ERROR: "SUBSCRIBE_ERROR",
2294
2305
  SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED",
2295
2306
  SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED",
2307
+ TOKEN_EXCHANGED: "TOKEN_EXCHANGED",
2296
2308
  };
2297
2309
  const ParticipantRecordingFilterByRecordingState = {
2298
2310
  ACTIVE: "ACTIVE",
@@ -117,6 +117,7 @@ export const EventName = {
117
117
  SUBSCRIBE_ERROR: "SUBSCRIBE_ERROR",
118
118
  SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED",
119
119
  SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED",
120
+ TOKEN_EXCHANGED: "TOKEN_EXCHANGED",
120
121
  };
121
122
  export const ParticipantRecordingFilterByRecordingState = {
122
123
  ACTIVE: "ACTIVE",
@@ -57,6 +57,7 @@ const _EC = "EncoderConfiguration";
57
57
  const _ECS = "EncoderConfigurationSummary";
58
58
  const _ECSL = "EncoderConfigurationSummaryList";
59
59
  const _EL = "EventList";
60
+ const _EPT = "ExchangedParticipantToken";
60
61
  const _GC = "GridConfiguration";
61
62
  const _GCR = "GetCompositionRequest";
62
63
  const _GCRe = "GetCompositionResponse";
@@ -253,7 +254,8 @@ const _l = "layout";
253
254
  const _mR = "maxResults";
254
255
  const _mT = "mediaTypes";
255
256
  const _n = "name";
256
- const _nT = "nextToken";
257
+ const _nT = "newToken";
258
+ const _nTe = "nextToken";
257
259
  const _oN = "osName";
258
260
  const _oSV = "omitStoppedVideo";
259
261
  const _oV = "osVersion";
@@ -271,6 +273,7 @@ const _pPA = "pipParticipantAttribute";
271
273
  const _pT = "participantToken";
272
274
  const _pTC = "participantTokenConfigurations";
273
275
  const _pTa = "participantTokens";
276
+ const _pTr = "previousToken";
274
277
  const _pW = "pipWidth";
275
278
  const _pa = "participants";
276
279
  const _pi = "pip";
@@ -526,8 +529,16 @@ export var Event = [
526
529
  n0,
527
530
  _E,
528
531
  0,
529
- [_n, _pI, _eTv, _rPI, _eCr, _dSA, _dSI, _re],
530
- [0, 0, 5, 0, 0, 0, 0, 2],
532
+ [_n, _pI, _eTv, _rPI, _eCr, _dSA, _dSI, _re, _pTr, _nT],
533
+ [0, 0, 5, 0, 0, 0, 0, 2, () => ExchangedParticipantToken, () => ExchangedParticipantToken],
534
+ ];
535
+ export var ExchangedParticipantToken = [
536
+ 3,
537
+ n0,
538
+ _EPT,
539
+ 0,
540
+ [_ca, _at, _uI, _eTx],
541
+ [64 | 0, 128 | 0, 0, 5],
531
542
  ];
532
543
  export var GetCompositionRequest = [3, n0, _GCR, 0, [_a], [0]];
533
544
  export var GetCompositionResponse = [3, n0, _GCRe, 0, [_com], [() => Composition]];
@@ -619,22 +630,22 @@ export var LayoutConfiguration = [
619
630
  [_g, _pi],
620
631
  [() => GridConfiguration, () => PipConfiguration],
621
632
  ];
622
- export var ListCompositionsRequest = [3, n0, _LCR, 0, [_fBSA, _fBECA, _nT, _mR], [0, 0, 0, 1]];
633
+ export var ListCompositionsRequest = [3, n0, _LCR, 0, [_fBSA, _fBECA, _nTe, _mR], [0, 0, 0, 1]];
623
634
  export var ListCompositionsResponse = [
624
635
  3,
625
636
  n0,
626
637
  _LCRi,
627
638
  0,
628
- [_comp, _nT],
639
+ [_comp, _nTe],
629
640
  [() => CompositionSummaryList, 0],
630
641
  ];
631
- export var ListEncoderConfigurationsRequest = [3, n0, _LECR, 0, [_nT, _mR], [0, 1]];
642
+ export var ListEncoderConfigurationsRequest = [3, n0, _LECR, 0, [_nTe, _mR], [0, 1]];
632
643
  export var ListEncoderConfigurationsResponse = [
633
644
  3,
634
645
  n0,
635
646
  _LECRi,
636
647
  0,
637
- [_eCn, _nT],
648
+ [_eCn, _nTe],
638
649
  [() => EncoderConfigurationSummaryList, 0],
639
650
  ];
640
651
  export var ListIngestConfigurationsRequest = [
@@ -642,7 +653,7 @@ export var ListIngestConfigurationsRequest = [
642
653
  n0,
643
654
  _LICR,
644
655
  0,
645
- [_fBSA, _fBS, _nT, _mR],
656
+ [_fBSA, _fBS, _nTe, _mR],
646
657
  [0, 0, 0, 1],
647
658
  ];
648
659
  export var ListIngestConfigurationsResponse = [
@@ -650,7 +661,7 @@ export var ListIngestConfigurationsResponse = [
650
661
  n0,
651
662
  _LICRi,
652
663
  0,
653
- [_iCn, _nT],
664
+ [_iCn, _nTe],
654
665
  [() => IngestConfigurationList, 0],
655
666
  ];
656
667
  export var ListParticipantEventsRequest = [
@@ -658,16 +669,16 @@ export var ListParticipantEventsRequest = [
658
669
  n0,
659
670
  _LPER,
660
671
  0,
661
- [_sA, _sI, _pI, _nT, _mR],
672
+ [_sA, _sI, _pI, _nTe, _mR],
662
673
  [0, 0, 0, 0, 1],
663
674
  ];
664
- export var ListParticipantEventsResponse = [3, n0, _LPERi, 0, [_ev, _nT], [() => EventList, 0]];
675
+ export var ListParticipantEventsResponse = [3, n0, _LPERi, 0, [_ev, _nTe], [() => EventList, 0]];
665
676
  export var ListParticipantReplicasRequest = [
666
677
  3,
667
678
  n0,
668
679
  _LPRR,
669
680
  0,
670
- [_sSA, _pI, _nT, _mR],
681
+ [_sSA, _pI, _nTe, _mR],
671
682
  [0, 0, 0, 1],
672
683
  ];
673
684
  export var ListParticipantReplicasResponse = [
@@ -675,7 +686,7 @@ export var ListParticipantReplicasResponse = [
675
686
  n0,
676
687
  _LPRRi,
677
688
  0,
678
- [_rep, _nT],
689
+ [_rep, _nTe],
679
690
  [() => ParticipantReplicaList, 0],
680
691
  ];
681
692
  export var ListParticipantsRequest = [
@@ -683,30 +694,30 @@ export var ListParticipantsRequest = [
683
694
  n0,
684
695
  _LPR,
685
696
  0,
686
- [_sA, _sI, _fBUI, _fBP, _fBS, _nT, _mR, _fBRS],
697
+ [_sA, _sI, _fBUI, _fBP, _fBS, _nTe, _mR, _fBRS],
687
698
  [0, 0, 0, 2, 0, 0, 1, 0],
688
699
  ];
689
- export var ListParticipantsResponse = [3, n0, _LPRi, 0, [_pa, _nT], [() => ParticipantList, 0]];
690
- export var ListPublicKeysRequest = [3, n0, _LPKR, 0, [_nT, _mR], [0, 1]];
691
- export var ListPublicKeysResponse = [3, n0, _LPKRi, 0, [_pKu, _nT], [() => PublicKeyList, 0]];
692
- export var ListStageSessionsRequest = [3, n0, _LSSR, 0, [_sA, _nT, _mR], [0, 0, 1]];
700
+ export var ListParticipantsResponse = [3, n0, _LPRi, 0, [_pa, _nTe], [() => ParticipantList, 0]];
701
+ export var ListPublicKeysRequest = [3, n0, _LPKR, 0, [_nTe, _mR], [0, 1]];
702
+ export var ListPublicKeysResponse = [3, n0, _LPKRi, 0, [_pKu, _nTe], [() => PublicKeyList, 0]];
703
+ export var ListStageSessionsRequest = [3, n0, _LSSR, 0, [_sA, _nTe, _mR], [0, 0, 1]];
693
704
  export var ListStageSessionsResponse = [
694
705
  3,
695
706
  n0,
696
707
  _LSSRi,
697
708
  0,
698
- [_sSt, _nT],
709
+ [_sSt, _nTe],
699
710
  [() => StageSessionList, 0],
700
711
  ];
701
- export var ListStagesRequest = [3, n0, _LSR, 0, [_nT, _mR], [0, 1]];
702
- export var ListStagesResponse = [3, n0, _LSRi, 0, [_stag, _nT], [() => StageSummaryList, 0]];
703
- export var ListStorageConfigurationsRequest = [3, n0, _LSCR, 0, [_nT, _mR], [0, 1]];
712
+ export var ListStagesRequest = [3, n0, _LSR, 0, [_nTe, _mR], [0, 1]];
713
+ export var ListStagesResponse = [3, n0, _LSRi, 0, [_stag, _nTe], [() => StageSummaryList, 0]];
714
+ export var ListStorageConfigurationsRequest = [3, n0, _LSCR, 0, [_nTe, _mR], [0, 1]];
704
715
  export var ListStorageConfigurationsResponse = [
705
716
  3,
706
717
  n0,
707
718
  _LSCRi,
708
719
  0,
709
- [_sCt, _nT],
720
+ [_sCt, _nTe],
710
721
  [() => StorageConfigurationSummaryList, 0],
711
722
  ];
712
723
  export var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
@@ -57,6 +57,26 @@ declare const ListParticipantEventsCommand_base: {
57
57
  * // destinationStageArn: "STRING_VALUE",
58
58
  * // destinationSessionId: "STRING_VALUE",
59
59
  * // replica: true || false,
60
+ * // previousToken: { // ExchangedParticipantToken
61
+ * // capabilities: [ // ParticipantTokenCapabilities
62
+ * // "STRING_VALUE",
63
+ * // ],
64
+ * // attributes: { // ParticipantTokenAttributes
65
+ * // "<keys>": "STRING_VALUE",
66
+ * // },
67
+ * // userId: "STRING_VALUE",
68
+ * // expirationTime: new Date("TIMESTAMP"),
69
+ * // },
70
+ * // newToken: {
71
+ * // capabilities: [
72
+ * // "STRING_VALUE",
73
+ * // ],
74
+ * // attributes: {
75
+ * // "<keys>": "STRING_VALUE",
76
+ * // },
77
+ * // userId: "STRING_VALUE",
78
+ * // expirationTime: new Date("TIMESTAMP"),
79
+ * // },
60
80
  * // },
61
81
  * // ],
62
82
  * // nextToken: "STRING_VALUE",
@@ -273,6 +273,7 @@ export declare const EventName: {
273
273
  readonly SUBSCRIBE_ERROR: "SUBSCRIBE_ERROR";
274
274
  readonly SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED";
275
275
  readonly SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED";
276
+ readonly TOKEN_EXCHANGED: "TOKEN_EXCHANGED";
276
277
  };
277
278
  /**
278
279
  * @public
@@ -291,9 +291,11 @@ export interface ParticipantToken {
291
291
  */
292
292
  userId?: string | undefined;
293
293
  /**
294
- * <p>Application-provided attributes to encode into the token and attach to a stage.
295
- * <i>This field is exposed to all stage participants and should not be used for
296
- * personally identifying, confidential, or sensitive information.</i>
294
+ * <p>Application-provided attributes to encode into the token and attach to a
295
+ * stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field
296
+ * is 1 KB total. <i>This field is exposed to all stage participants and should not be
297
+ * used for personally identifying, confidential, or sensitive
298
+ * information.</i>
297
299
  * </p>
298
300
  * @public
299
301
  */
@@ -1809,6 +1811,45 @@ export interface ListParticipantEventsRequest {
1809
1811
  */
1810
1812
  maxResults?: number | undefined;
1811
1813
  }
1814
+ /**
1815
+ * <p>Object specifying an exchanged participant token in a stage, created when an original participant token is updated.</p>
1816
+ * <p>
1817
+ * <b>Important</b>: Treat tokens as opaque; i.e., do not build
1818
+ * functionality based on token contents. The format of tokens could change in the
1819
+ * future.</p>
1820
+ * @public
1821
+ */
1822
+ export interface ExchangedParticipantToken {
1823
+ /**
1824
+ * <p>Set of capabilities that the user is allowed to perform in the stage.</p>
1825
+ * @public
1826
+ */
1827
+ capabilities?: ParticipantTokenCapability[] | undefined;
1828
+ /**
1829
+ * <p>Application-provided attributes to encode into the token and attach to a
1830
+ * stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field
1831
+ * is 1 KB total. <i>This field is exposed to all stage participants and should not be
1832
+ * used for personally identifying, confidential, or sensitive
1833
+ * information.</i>
1834
+ * </p>
1835
+ * @public
1836
+ */
1837
+ attributes?: Record<string, string> | undefined;
1838
+ /**
1839
+ * <p>Customer-assigned name to help identify the token; this can be used to link a
1840
+ * participant to a user in the customer’s own systems. This can be any UTF-8 encoded text.
1841
+ * <i>This field is exposed to all stage participants and should not be used for
1842
+ * personally identifying, confidential, or sensitive information.</i>
1843
+ * </p>
1844
+ * @public
1845
+ */
1846
+ userId?: string | undefined;
1847
+ /**
1848
+ * <p>ISO 8601 timestamp (returned as a string) for when this token expires.</p>
1849
+ * @public
1850
+ */
1851
+ expirationTime?: Date | undefined;
1852
+ }
1812
1853
  /**
1813
1854
  * <p>An occurrence during a stage session.</p>
1814
1855
  * @public
@@ -1944,6 +1985,16 @@ export interface Event {
1944
1985
  * @public
1945
1986
  */
1946
1987
  replica?: boolean | undefined;
1988
+ /**
1989
+ * <p>Source participant token for <code>TOKEN_EXCHANGED</code> event.</p>
1990
+ * @public
1991
+ */
1992
+ previousToken?: ExchangedParticipantToken | undefined;
1993
+ /**
1994
+ * <p>Participant token created during <code>TOKEN_EXCHANGED</code> event.</p>
1995
+ * @public
1996
+ */
1997
+ newToken?: ExchangedParticipantToken | undefined;
1947
1998
  }
1948
1999
  /**
1949
2000
  * @public
@@ -38,6 +38,7 @@ export declare var DisconnectParticipantResponse: StaticStructureSchema;
38
38
  export declare var EncoderConfiguration: StaticStructureSchema;
39
39
  export declare var EncoderConfigurationSummary: StaticStructureSchema;
40
40
  export declare var Event: StaticStructureSchema;
41
+ export declare var ExchangedParticipantToken: StaticStructureSchema;
41
42
  export declare var GetCompositionRequest: StaticStructureSchema;
42
43
  export declare var GetCompositionResponse: StaticStructureSchema;
43
44
  export declare var GetEncoderConfigurationRequest: StaticStructureSchema;
@@ -152,6 +152,7 @@ export declare const EventName: {
152
152
  readonly SUBSCRIBE_ERROR: "SUBSCRIBE_ERROR";
153
153
  readonly SUBSCRIBE_STARTED: "SUBSCRIBE_STARTED";
154
154
  readonly SUBSCRIBE_STOPPED: "SUBSCRIBE_STOPPED";
155
+ readonly TOKEN_EXCHANGED: "TOKEN_EXCHANGED";
155
156
  };
156
157
  export type EventName = (typeof EventName)[keyof typeof EventName];
157
158
  export declare const ParticipantRecordingFilterByRecordingState: {
@@ -410,6 +410,12 @@ export interface ListParticipantEventsRequest {
410
410
  nextToken?: string | undefined;
411
411
  maxResults?: number | undefined;
412
412
  }
413
+ export interface ExchangedParticipantToken {
414
+ capabilities?: ParticipantTokenCapability[] | undefined;
415
+ attributes?: Record<string, string> | undefined;
416
+ userId?: string | undefined;
417
+ expirationTime?: Date | undefined;
418
+ }
413
419
  export interface Event {
414
420
  name?: EventName | undefined;
415
421
  participantId?: string | undefined;
@@ -419,6 +425,8 @@ export interface Event {
419
425
  destinationStageArn?: string | undefined;
420
426
  destinationSessionId?: string | undefined;
421
427
  replica?: boolean | undefined;
428
+ previousToken?: ExchangedParticipantToken | undefined;
429
+ newToken?: ExchangedParticipantToken | undefined;
422
430
  }
423
431
  export interface ListParticipantEventsResponse {
424
432
  events: Event[] | undefined;
@@ -44,6 +44,7 @@ export declare var DisconnectParticipantResponse: StaticStructureSchema;
44
44
  export declare var EncoderConfiguration: StaticStructureSchema;
45
45
  export declare var EncoderConfigurationSummary: StaticStructureSchema;
46
46
  export declare var Event: StaticStructureSchema;
47
+ export declare var ExchangedParticipantToken: StaticStructureSchema;
47
48
  export declare var GetCompositionRequest: StaticStructureSchema;
48
49
  export declare var GetCompositionResponse: StaticStructureSchema;
49
50
  export declare var GetEncoderConfigurationRequest: StaticStructureSchema;
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.947.0",
4
+ "version": "3.952.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",
@@ -22,10 +22,10 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.947.0",
25
- "@aws-sdk/credential-provider-node": "3.947.0",
25
+ "@aws-sdk/credential-provider-node": "3.952.0",
26
26
  "@aws-sdk/middleware-host-header": "3.936.0",
27
27
  "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
29
  "@aws-sdk/middleware-user-agent": "3.947.0",
30
30
  "@aws-sdk/region-config-resolver": "3.936.0",
31
31
  "@aws-sdk/types": "3.936.0",