Skip to content

Commit ce22975

Browse files
author
AWS
committed
Amazon Interactive Video Service RealTime Update: Token Exchange introduces seamless token exchange capabilities for IVS RTX, enabling customers to upgrade or downgrade token capabilities and update token attributes within the IVS client SDK without forcing clients to disconnect and reconnect.
1 parent b92a813 commit ce22975

File tree

2 files changed

+39
-2
lines changed

2 files changed

+39
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Interactive Video Service RealTime",
4+
"contributor": "",
5+
"description": "Token Exchange introduces seamless token exchange capabilities for IVS RTX, enabling customers to upgrade or downgrade token capabilities and update token attributes within the IVS client SDK without forcing clients to disconnect and reconnect."
6+
}

services/ivsrealtime/src/main/resources/codegen-resources/service-2.json

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,6 +1535,14 @@
15351535
"replica":{
15361536
"shape":"Replica",
15371537
"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>"
15381546
}
15391547
},
15401548
"documentation":"<p>An occurrence during a stage session.</p>"
@@ -1575,9 +1583,32 @@
15751583
"SUBSCRIBE_ERROR",
15761584
"JOIN_ERROR",
15771585
"REPLICATION_STARTED",
1578-
"REPLICATION_STOPPED"
1586+
"REPLICATION_STOPPED",
1587+
"TOKEN_EXCHANGED"
15791588
]
15801589
},
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+
},
15811612
"Framerate":{
15821613
"type":"float",
15831614
"box":true,
@@ -2780,7 +2811,7 @@
27802811
},
27812812
"attributes":{
27822813
"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>"
27842815
},
27852816
"duration":{
27862817
"shape":"ParticipantTokenDurationMinutes",

0 commit comments

Comments
 (0)