Learn R Programming

paws.analytics (version 0.7.0)

ivsrealtime_create_participant_token: Creates an additional token for a specified stage

Description

Creates 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.

See https://www.paws-r-sdk.com/docs/ivsrealtime_create_participant_token/ for full documentation.

Usage

ivsrealtime_create_participant_token(
  stageArn,
  duration = NULL,
  userId = NULL,
  attributes = NULL,
  capabilities = NULL
)

Arguments

stageArn

[required] ARN of the stage to which this token is scoped.

duration

Duration (in minutes), after which the token expires. Default: 720 (12 hours).

userId

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

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

Set of capabilities that the user is allowed to perform in the stage. Default: PUBLISH, SUBSCRIBE.