Class: Aws::IVSRealTime::Types::CreateParticipantTokenRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ivsrealtime/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributesHash<String,String>

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

Returns:

  • (Hash<String,String>)


349
350
351
352
353
354
355
356
357
# File 'lib/aws-sdk-ivsrealtime/types.rb', line 349

class CreateParticipantTokenRequest < Struct.new(
  :stage_arn,
  :duration,
  :user_id,
  :attributes,
  :capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#capabilitiesArray<String>

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

Returns:

  • (Array<String>)


349
350
351
352
353
354
355
356
357
# File 'lib/aws-sdk-ivsrealtime/types.rb', line 349

class CreateParticipantTokenRequest < Struct.new(
  :stage_arn,
  :duration,
  :user_id,
  :attributes,
  :capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#durationInteger

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

Returns:

  • (Integer)


349
350
351
352
353
354
355
356
357
# File 'lib/aws-sdk-ivsrealtime/types.rb', line 349

class CreateParticipantTokenRequest < Struct.new(
  :stage_arn,
  :duration,
  :user_id,
  :attributes,
  :capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#stage_arnString

ARN of the stage to which this token is scoped.

Returns:

  • (String)


349
350
351
352
353
354
355
356
357
# File 'lib/aws-sdk-ivsrealtime/types.rb', line 349

class CreateParticipantTokenRequest < Struct.new(
  :stage_arn,
  :duration,
  :user_id,
  :attributes,
  :capabilities)
  SENSITIVE = []
  include Aws::Structure
end

#user_idString

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

Returns:

  • (String)


349
350
351
352
353
354
355
356
357
# File 'lib/aws-sdk-ivsrealtime/types.rb', line 349

class CreateParticipantTokenRequest < Struct.new(
  :stage_arn,
  :duration,
  :user_id,
  :attributes,
  :capabilities)
  SENSITIVE = []
  include Aws::Structure
end