aws-sdk-ivsrealtime 1.54.0 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ivsrealtime/client.rb +14 -2
- data/lib/aws-sdk-ivsrealtime/client_api.rb +9 -0
- data/lib/aws-sdk-ivsrealtime/types.rb +59 -4
- data/lib/aws-sdk-ivsrealtime.rb +1 -1
- data/sig/types.rbs +11 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6d79d4f5cd39d780f44be02faf1b4d6ff7d3d36ee8deefc18cbd412e921e670e
|
|
4
|
+
data.tar.gz: ae9df51893a5c99d7aa3d040ae752034a348396dd1d9e78daaceda8122e72bba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dcd106b1ade74e738cfbb8efb6806f989e0436198effa5a535a506677d70877b5206936689bd4d6930579385f6d6c974c5d1cb69093adf7921fcccda1628413a
|
|
7
|
+
data.tar.gz: cbcfaa0589fef9bc9b02010b3bc29dc99f19ca4420f25d9dcd2bacf00dd89e29fb6dea95ad3fb85468557a0f2f67e1fe322ee0d3c9dd734af07ea80b8f3b3da6
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.55.0 (2025-12-09)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - 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.
|
|
8
|
+
|
|
4
9
|
1.54.0 (2025-11-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.55.0
|
|
@@ -1614,7 +1614,7 @@ module Aws::IVSRealTime
|
|
|
1614
1614
|
# @example Response structure
|
|
1615
1615
|
#
|
|
1616
1616
|
# resp.events #=> Array
|
|
1617
|
-
# resp.events[0].name #=> String, one of "JOINED", "LEFT", "PUBLISH_STARTED", "PUBLISH_STOPPED", "SUBSCRIBE_STARTED", "SUBSCRIBE_STOPPED", "PUBLISH_ERROR", "SUBSCRIBE_ERROR", "JOIN_ERROR", "REPLICATION_STARTED", "REPLICATION_STOPPED"
|
|
1617
|
+
# resp.events[0].name #=> String, one of "JOINED", "LEFT", "PUBLISH_STARTED", "PUBLISH_STOPPED", "SUBSCRIBE_STARTED", "SUBSCRIBE_STOPPED", "PUBLISH_ERROR", "SUBSCRIBE_ERROR", "JOIN_ERROR", "REPLICATION_STARTED", "REPLICATION_STOPPED", "TOKEN_EXCHANGED"
|
|
1618
1618
|
# resp.events[0].participant_id #=> String
|
|
1619
1619
|
# resp.events[0].event_time #=> Time
|
|
1620
1620
|
# resp.events[0].remote_participant_id #=> String
|
|
@@ -1622,6 +1622,18 @@ module Aws::IVSRealTime
|
|
|
1622
1622
|
# resp.events[0].destination_stage_arn #=> String
|
|
1623
1623
|
# resp.events[0].destination_session_id #=> String
|
|
1624
1624
|
# resp.events[0].replica #=> Boolean
|
|
1625
|
+
# resp.events[0].previous_token.capabilities #=> Array
|
|
1626
|
+
# resp.events[0].previous_token.capabilities[0] #=> String, one of "PUBLISH", "SUBSCRIBE"
|
|
1627
|
+
# resp.events[0].previous_token.attributes #=> Hash
|
|
1628
|
+
# resp.events[0].previous_token.attributes["String"] #=> String
|
|
1629
|
+
# resp.events[0].previous_token.user_id #=> String
|
|
1630
|
+
# resp.events[0].previous_token.expiration_time #=> Time
|
|
1631
|
+
# resp.events[0].new_token.capabilities #=> Array
|
|
1632
|
+
# resp.events[0].new_token.capabilities[0] #=> String, one of "PUBLISH", "SUBSCRIBE"
|
|
1633
|
+
# resp.events[0].new_token.attributes #=> Hash
|
|
1634
|
+
# resp.events[0].new_token.attributes["String"] #=> String
|
|
1635
|
+
# resp.events[0].new_token.user_id #=> String
|
|
1636
|
+
# resp.events[0].new_token.expiration_time #=> Time
|
|
1625
1637
|
# resp.next_token #=> String
|
|
1626
1638
|
#
|
|
1627
1639
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipantEvents AWS API Documentation
|
|
@@ -2496,7 +2508,7 @@ module Aws::IVSRealTime
|
|
|
2496
2508
|
tracer: tracer
|
|
2497
2509
|
)
|
|
2498
2510
|
context[:gem_name] = 'aws-sdk-ivsrealtime'
|
|
2499
|
-
context[:gem_version] = '1.
|
|
2511
|
+
context[:gem_version] = '1.55.0'
|
|
2500
2512
|
Seahorse::Client::Request.new(handlers, context)
|
|
2501
2513
|
end
|
|
2502
2514
|
|
|
@@ -75,6 +75,7 @@ module Aws::IVSRealTime
|
|
|
75
75
|
EventErrorCode = Shapes::StringShape.new(name: 'EventErrorCode')
|
|
76
76
|
EventList = Shapes::ListShape.new(name: 'EventList')
|
|
77
77
|
EventName = Shapes::StringShape.new(name: 'EventName')
|
|
78
|
+
ExchangedParticipantToken = Shapes::StructureShape.new(name: 'ExchangedParticipantToken')
|
|
78
79
|
Framerate = Shapes::FloatShape.new(name: 'Framerate')
|
|
79
80
|
GetCompositionRequest = Shapes::StructureShape.new(name: 'GetCompositionRequest')
|
|
80
81
|
GetCompositionResponse = Shapes::StructureShape.new(name: 'GetCompositionResponse')
|
|
@@ -450,10 +451,18 @@ module Aws::IVSRealTime
|
|
|
450
451
|
Event.add_member(:destination_stage_arn, Shapes::ShapeRef.new(shape: StageArn, location_name: "destinationStageArn"))
|
|
451
452
|
Event.add_member(:destination_session_id, Shapes::ShapeRef.new(shape: StageSessionId, location_name: "destinationSessionId"))
|
|
452
453
|
Event.add_member(:replica, Shapes::ShapeRef.new(shape: Replica, location_name: "replica"))
|
|
454
|
+
Event.add_member(:previous_token, Shapes::ShapeRef.new(shape: ExchangedParticipantToken, location_name: "previousToken"))
|
|
455
|
+
Event.add_member(:new_token, Shapes::ShapeRef.new(shape: ExchangedParticipantToken, location_name: "newToken"))
|
|
453
456
|
Event.struct_class = Types::Event
|
|
454
457
|
|
|
455
458
|
EventList.member = Shapes::ShapeRef.new(shape: Event)
|
|
456
459
|
|
|
460
|
+
ExchangedParticipantToken.add_member(:capabilities, Shapes::ShapeRef.new(shape: ParticipantTokenCapabilities, location_name: "capabilities"))
|
|
461
|
+
ExchangedParticipantToken.add_member(:attributes, Shapes::ShapeRef.new(shape: ParticipantTokenAttributes, location_name: "attributes"))
|
|
462
|
+
ExchangedParticipantToken.add_member(:user_id, Shapes::ShapeRef.new(shape: ParticipantTokenUserId, location_name: "userId"))
|
|
463
|
+
ExchangedParticipantToken.add_member(:expiration_time, Shapes::ShapeRef.new(shape: ParticipantTokenExpirationTime, location_name: "expirationTime"))
|
|
464
|
+
ExchangedParticipantToken.struct_class = Types::ExchangedParticipantToken
|
|
465
|
+
|
|
457
466
|
GetCompositionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: CompositionArn, required: true, location_name: "arn"))
|
|
458
467
|
GetCompositionRequest.struct_class = Types::GetCompositionRequest
|
|
459
468
|
|
|
@@ -1003,6 +1003,14 @@ module Aws::IVSRealTime
|
|
|
1003
1003
|
# `remoteParticipantId`. Default: `false`.
|
|
1004
1004
|
# @return [Boolean]
|
|
1005
1005
|
#
|
|
1006
|
+
# @!attribute [rw] previous_token
|
|
1007
|
+
# Source participant token for `TOKEN_EXCHANGED` event.
|
|
1008
|
+
# @return [Types::ExchangedParticipantToken]
|
|
1009
|
+
#
|
|
1010
|
+
# @!attribute [rw] new_token
|
|
1011
|
+
# Participant token created during `TOKEN_EXCHANGED` event.
|
|
1012
|
+
# @return [Types::ExchangedParticipantToken]
|
|
1013
|
+
#
|
|
1006
1014
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/Event AWS API Documentation
|
|
1007
1015
|
#
|
|
1008
1016
|
class Event < Struct.new(
|
|
@@ -1013,7 +1021,53 @@ module Aws::IVSRealTime
|
|
|
1013
1021
|
:error_code,
|
|
1014
1022
|
:destination_stage_arn,
|
|
1015
1023
|
:destination_session_id,
|
|
1016
|
-
:replica
|
|
1024
|
+
:replica,
|
|
1025
|
+
:previous_token,
|
|
1026
|
+
:new_token)
|
|
1027
|
+
SENSITIVE = []
|
|
1028
|
+
include Aws::Structure
|
|
1029
|
+
end
|
|
1030
|
+
|
|
1031
|
+
# Object specifying an exchanged participant token in a stage, created
|
|
1032
|
+
# when an original participant token is updated.
|
|
1033
|
+
#
|
|
1034
|
+
# **Important**: Treat tokens as opaque; i.e., do not build
|
|
1035
|
+
# functionality based on token contents. The format of tokens could
|
|
1036
|
+
# change in the future.
|
|
1037
|
+
#
|
|
1038
|
+
# @!attribute [rw] capabilities
|
|
1039
|
+
# Set of capabilities that the user is allowed to perform in the
|
|
1040
|
+
# stage.
|
|
1041
|
+
# @return [Array<String>]
|
|
1042
|
+
#
|
|
1043
|
+
# @!attribute [rw] attributes
|
|
1044
|
+
# Application-provided attributes to encode into the token and attach
|
|
1045
|
+
# to a stage. Map keys and values can contain UTF-8 encoded text. The
|
|
1046
|
+
# maximum length of this field is 1 KB total. *This field is exposed
|
|
1047
|
+
# to all stage participants and should not be used for personally
|
|
1048
|
+
# identifying, confidential, or sensitive information.*
|
|
1049
|
+
# @return [Hash<String,String>]
|
|
1050
|
+
#
|
|
1051
|
+
# @!attribute [rw] user_id
|
|
1052
|
+
# Customer-assigned name to help identify the token; this can be used
|
|
1053
|
+
# to link a participant to a user in the customer’s own systems. This
|
|
1054
|
+
# can be any UTF-8 encoded text. *This field is exposed to all stage
|
|
1055
|
+
# participants and should not be used for personally identifying,
|
|
1056
|
+
# confidential, or sensitive information.*
|
|
1057
|
+
# @return [String]
|
|
1058
|
+
#
|
|
1059
|
+
# @!attribute [rw] expiration_time
|
|
1060
|
+
# ISO 8601 timestamp (returned as a string) for when this token
|
|
1061
|
+
# expires.
|
|
1062
|
+
# @return [Time]
|
|
1063
|
+
#
|
|
1064
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ExchangedParticipantToken AWS API Documentation
|
|
1065
|
+
#
|
|
1066
|
+
class ExchangedParticipantToken < Struct.new(
|
|
1067
|
+
:capabilities,
|
|
1068
|
+
:attributes,
|
|
1069
|
+
:user_id,
|
|
1070
|
+
:expiration_time)
|
|
1017
1071
|
SENSITIVE = []
|
|
1018
1072
|
include Aws::Structure
|
|
1019
1073
|
end
|
|
@@ -2331,9 +2385,10 @@ module Aws::IVSRealTime
|
|
|
2331
2385
|
#
|
|
2332
2386
|
# @!attribute [rw] attributes
|
|
2333
2387
|
# Application-provided attributes to encode into the token and attach
|
|
2334
|
-
# to a stage.
|
|
2335
|
-
#
|
|
2336
|
-
#
|
|
2388
|
+
# to a stage. Map keys and values can contain UTF-8 encoded text. The
|
|
2389
|
+
# maximum length of this field is 1 KB total. *This field is exposed
|
|
2390
|
+
# to all stage participants and should not be used for personally
|
|
2391
|
+
# identifying, confidential, or sensitive information.*
|
|
2337
2392
|
# @return [Hash<String,String>]
|
|
2338
2393
|
#
|
|
2339
2394
|
# @!attribute [rw] duration
|
data/lib/aws-sdk-ivsrealtime.rb
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -249,7 +249,7 @@ module Aws::IVSRealTime
|
|
|
249
249
|
end
|
|
250
250
|
|
|
251
251
|
class Event
|
|
252
|
-
attr_accessor name: ("JOINED" | "LEFT" | "PUBLISH_STARTED" | "PUBLISH_STOPPED" | "SUBSCRIBE_STARTED" | "SUBSCRIBE_STOPPED" | "PUBLISH_ERROR" | "SUBSCRIBE_ERROR" | "JOIN_ERROR" | "REPLICATION_STARTED" | "REPLICATION_STOPPED")
|
|
252
|
+
attr_accessor name: ("JOINED" | "LEFT" | "PUBLISH_STARTED" | "PUBLISH_STOPPED" | "SUBSCRIBE_STARTED" | "SUBSCRIBE_STOPPED" | "PUBLISH_ERROR" | "SUBSCRIBE_ERROR" | "JOIN_ERROR" | "REPLICATION_STARTED" | "REPLICATION_STOPPED" | "TOKEN_EXCHANGED")
|
|
253
253
|
attr_accessor participant_id: ::String
|
|
254
254
|
attr_accessor event_time: ::Time
|
|
255
255
|
attr_accessor remote_participant_id: ::String
|
|
@@ -257,6 +257,16 @@ module Aws::IVSRealTime
|
|
|
257
257
|
attr_accessor destination_stage_arn: ::String
|
|
258
258
|
attr_accessor destination_session_id: ::String
|
|
259
259
|
attr_accessor replica: bool
|
|
260
|
+
attr_accessor previous_token: Types::ExchangedParticipantToken
|
|
261
|
+
attr_accessor new_token: Types::ExchangedParticipantToken
|
|
262
|
+
SENSITIVE: []
|
|
263
|
+
end
|
|
264
|
+
|
|
265
|
+
class ExchangedParticipantToken
|
|
266
|
+
attr_accessor capabilities: ::Array[("PUBLISH" | "SUBSCRIBE")]
|
|
267
|
+
attr_accessor attributes: ::Hash[::String, ::String]
|
|
268
|
+
attr_accessor user_id: ::String
|
|
269
|
+
attr_accessor expiration_time: ::Time
|
|
260
270
|
SENSITIVE: []
|
|
261
271
|
end
|
|
262
272
|
|