|
1535 | 1535 | "replica":{ |
1536 | 1536 | "shape":"Replica", |
1537 | 1537 | "documentation":"<p>If true, this indicates the <code>participantId</code> is a replicated participant. If this is a subscribe event, then this flag refers to <code>remoteParticipantId</code>. Default: <code>false</code>.</p>" |
| 1538 | + }, |
| 1539 | + "previousToken":{ |
| 1540 | + "shape":"ExchangedParticipantToken", |
| 1541 | + "documentation":"<p>Source participant token for <code>TOKEN_EXCHANGED</code> event.</p>" |
| 1542 | + }, |
| 1543 | + "newToken":{ |
| 1544 | + "shape":"ExchangedParticipantToken", |
| 1545 | + "documentation":"<p>Participant token created during <code>TOKEN_EXCHANGED</code> event.</p>" |
1538 | 1546 | } |
1539 | 1547 | }, |
1540 | 1548 | "documentation":"<p>An occurrence during a stage session.</p>" |
|
1575 | 1583 | "SUBSCRIBE_ERROR", |
1576 | 1584 | "JOIN_ERROR", |
1577 | 1585 | "REPLICATION_STARTED", |
1578 | | - "REPLICATION_STOPPED" |
| 1586 | + "REPLICATION_STOPPED", |
| 1587 | + "TOKEN_EXCHANGED" |
1579 | 1588 | ] |
1580 | 1589 | }, |
| 1590 | + "ExchangedParticipantToken":{ |
| 1591 | + "type":"structure", |
| 1592 | + "members":{ |
| 1593 | + "capabilities":{ |
| 1594 | + "shape":"ParticipantTokenCapabilities", |
| 1595 | + "documentation":"<p>Set of capabilities that the user is allowed to perform in the stage.</p>" |
| 1596 | + }, |
| 1597 | + "attributes":{ |
| 1598 | + "shape":"ParticipantTokenAttributes", |
| 1599 | + "documentation":"<p>Application-provided attributes to encode into the token and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>" |
| 1600 | + }, |
| 1601 | + "userId":{ |
| 1602 | + "shape":"ParticipantTokenUserId", |
| 1603 | + "documentation":"<p>Customer-assigned name to help identify the token; this can be used to link a participant to a user in the customer’s own systems. This can be any UTF-8 encoded text. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>" |
| 1604 | + }, |
| 1605 | + "expirationTime":{ |
| 1606 | + "shape":"ParticipantTokenExpirationTime", |
| 1607 | + "documentation":"<p>ISO 8601 timestamp (returned as a string) for when this token expires.</p>" |
| 1608 | + } |
| 1609 | + }, |
| 1610 | + "documentation":"<p>Object specifying an exchanged participant token in a stage, created when an original participant token is updated.</p> <p> <b>Important</b>: Treat tokens as opaque; i.e., do not build functionality based on token contents. The format of tokens could change in the future.</p>" |
| 1611 | + }, |
1581 | 1612 | "Framerate":{ |
1582 | 1613 | "type":"float", |
1583 | 1614 | "box":true, |
|
2780 | 2811 | }, |
2781 | 2812 | "attributes":{ |
2782 | 2813 | "shape":"ParticipantTokenAttributes", |
2783 | | - "documentation":"<p>Application-provided attributes to encode into the token and attach to a stage. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>" |
| 2814 | + "documentation":"<p>Application-provided attributes to encode into the token and attach to a stage. Map keys and values can contain UTF-8 encoded text. The maximum length of this field is 1 KB total. <i>This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.</i> </p>" |
2784 | 2815 | }, |
2785 | 2816 | "duration":{ |
2786 | 2817 | "shape":"ParticipantTokenDurationMinutes", |
|
0 commit comments