Values.CreateParticipantTokenRequestSourceCreates an additional token for a specified stage. This can be done after stage creation or when tokens expire. Tokens always are scoped to the stage for which they are created. Encryption keys are owned by Amazon IVS and never used directly by your application.
type nonrec t = {stageArn : StageArn.t;ARN of the stage to which this token is scoped.
*)duration : ParticipantTokenDurationMinutes.t option;Duration (in minutes), after which the token expires. Default: 720 (12 hours).
*)userId : ParticipantTokenUserId.t option;Name that can be specified to help identify the token. This can be any UTF-8 encoded text. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
*)attributes : ParticipantTokenAttributes.t option;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. This field is exposed to all stage participants and should not be used for personally identifying, confidential, or sensitive information.
*)capabilities : ParticipantTokenCapabilities.t option;Set of capabilities that the user is allowed to perform in the stage. Default: PUBLISH, SUBSCRIBE.
*)}val make :
?duration:??? ->
?userId:??? ->
?attributes:??? ->
?capabilities:??? ->
stageArn:StageArn.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Integer of ParticipantTokenDurationMinutes.t
| `List of [> `Enum of string ] list
| `Map of
([> `String of String_.t ] * [> `String of String_.t ]) list
| `String of StageArn.t ])
list ]