aws-sdk-ivsrealtime 1.42.0 → 1.43.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 +204 -2
- data/lib/aws-sdk-ivsrealtime/client_api.rb +119 -0
- data/lib/aws-sdk-ivsrealtime/types.rb +326 -8
- data/lib/aws-sdk-ivsrealtime.rb +1 -1
- data/sig/client.rbs +56 -2
- data/sig/types.rbs +75 -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: f3cd70f60854f1b9b7b1f5ea31b4f1edcb3c87470714d29799379e1a0187cf0f
|
4
|
+
data.tar.gz: abdc416375972ccc5ff9da9a90b99addb23975eb5d6143ff74e8720d3b362cad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 810d692ba995fc9130911df50893add46dc8802650044d71dc6702ad4091da115aa6b03b4be2326f68345e62f3eac9a502ad70ca4684aed2be7054a3e067b02f
|
7
|
+
data.tar.gz: 8105a0803a01628267cf5b47565e75246a829a0d46c483f12350f26e043110df849ca8edc5871bbaada6950587513caef889a8d9aeb59dc8c0651be71ee161ec
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.43.0 (2025-05-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - IVS Real-Time now offers customers the participant replication that allow customers to copy a participant from one stage to another.
|
8
|
+
|
4
9
|
1.42.0 (2025-05-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.43.0
|
@@ -745,6 +745,7 @@ module Aws::IVSRealTime
|
|
745
745
|
# hls_configuration: {
|
746
746
|
# target_segment_duration_seconds: 1,
|
747
747
|
# },
|
748
|
+
# record_participant_replicas: false,
|
748
749
|
# },
|
749
750
|
# })
|
750
751
|
#
|
@@ -764,6 +765,7 @@ module Aws::IVSRealTime
|
|
764
765
|
# resp.stage.auto_participant_recording_configuration.thumbnail_configuration.recording_mode #=> String, one of "INTERVAL", "DISABLED"
|
765
766
|
# resp.stage.auto_participant_recording_configuration.recording_reconnect_window_seconds #=> Integer
|
766
767
|
# resp.stage.auto_participant_recording_configuration.hls_configuration.target_segment_duration_seconds #=> Integer
|
768
|
+
# resp.stage.auto_participant_recording_configuration.record_participant_replicas #=> Boolean
|
767
769
|
# resp.stage.endpoints.events #=> String
|
768
770
|
# resp.stage.endpoints.whip #=> String
|
769
771
|
# resp.stage.endpoints.rtmp #=> String
|
@@ -1196,6 +1198,10 @@ module Aws::IVSRealTime
|
|
1196
1198
|
# resp.participant.recording_s3_prefix #=> String
|
1197
1199
|
# resp.participant.recording_state #=> String, one of "STARTING", "ACTIVE", "STOPPING", "STOPPED", "FAILED", "DISABLED"
|
1198
1200
|
# resp.participant.protocol #=> String, one of "UNKNOWN", "WHIP", "RTMP", "RTMPS"
|
1201
|
+
# resp.participant.replication_type #=> String, one of "SOURCE", "REPLICA", "NONE"
|
1202
|
+
# resp.participant.replication_state #=> String, one of "ACTIVE", "STOPPED"
|
1203
|
+
# resp.participant.source_stage_arn #=> String
|
1204
|
+
# resp.participant.source_session_id #=> String
|
1199
1205
|
#
|
1200
1206
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/GetParticipant AWS API Documentation
|
1201
1207
|
#
|
@@ -1270,6 +1276,7 @@ module Aws::IVSRealTime
|
|
1270
1276
|
# resp.stage.auto_participant_recording_configuration.thumbnail_configuration.recording_mode #=> String, one of "INTERVAL", "DISABLED"
|
1271
1277
|
# resp.stage.auto_participant_recording_configuration.recording_reconnect_window_seconds #=> Integer
|
1272
1278
|
# resp.stage.auto_participant_recording_configuration.hls_configuration.target_segment_duration_seconds #=> Integer
|
1279
|
+
# resp.stage.auto_participant_recording_configuration.record_participant_replicas #=> Boolean
|
1273
1280
|
# resp.stage.endpoints.events #=> String
|
1274
1281
|
# resp.stage.endpoints.whip #=> String
|
1275
1282
|
# resp.stage.endpoints.rtmp #=> String
|
@@ -1598,11 +1605,14 @@ module Aws::IVSRealTime
|
|
1598
1605
|
# @example Response structure
|
1599
1606
|
#
|
1600
1607
|
# resp.events #=> Array
|
1601
|
-
# resp.events[0].name #=> String, one of "JOINED", "LEFT", "PUBLISH_STARTED", "PUBLISH_STOPPED", "SUBSCRIBE_STARTED", "SUBSCRIBE_STOPPED", "PUBLISH_ERROR", "SUBSCRIBE_ERROR", "JOIN_ERROR"
|
1608
|
+
# 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"
|
1602
1609
|
# resp.events[0].participant_id #=> String
|
1603
1610
|
# resp.events[0].event_time #=> Time
|
1604
1611
|
# resp.events[0].remote_participant_id #=> String
|
1605
1612
|
# resp.events[0].error_code #=> String, one of "INSUFFICIENT_CAPABILITIES", "QUOTA_EXCEEDED", "PUBLISHER_NOT_FOUND", "BITRATE_EXCEEDED", "RESOLUTION_EXCEEDED", "STREAM_DURATION_EXCEEDED", "INVALID_AUDIO_CODEC", "INVALID_VIDEO_CODEC", "INVALID_PROTOCOL", "INVALID_STREAM_KEY", "REUSE_OF_STREAM_KEY", "B_FRAME_PRESENT", "INVALID_INPUT", "INTERNAL_SERVER_EXCEPTION"
|
1613
|
+
# resp.events[0].destination_stage_arn #=> String
|
1614
|
+
# resp.events[0].destination_session_id #=> String
|
1615
|
+
# resp.events[0].replica #=> Boolean
|
1606
1616
|
# resp.next_token #=> String
|
1607
1617
|
#
|
1608
1618
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipantEvents AWS API Documentation
|
@@ -1614,6 +1624,63 @@ module Aws::IVSRealTime
|
|
1614
1624
|
req.send_request(options)
|
1615
1625
|
end
|
1616
1626
|
|
1627
|
+
# Lists all the replicas for a participant from a source stage.
|
1628
|
+
#
|
1629
|
+
# @option params [required, String] :source_stage_arn
|
1630
|
+
# ARN of the stage where the participant is publishing.
|
1631
|
+
#
|
1632
|
+
# @option params [required, String] :participant_id
|
1633
|
+
# Participant ID of the publisher that has been replicated. This is
|
1634
|
+
# assigned by IVS and returned by CreateParticipantToken or the `jti`
|
1635
|
+
# (JWT ID) used to [create a self signed token][1].
|
1636
|
+
#
|
1637
|
+
#
|
1638
|
+
#
|
1639
|
+
# [1]: https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/getting-started-distribute-tokens.html#getting-started-distribute-tokens-self-signed
|
1640
|
+
#
|
1641
|
+
# @option params [String] :next_token
|
1642
|
+
# The first participant to retrieve. This is used for pagination; see
|
1643
|
+
# the `nextToken` response field.
|
1644
|
+
#
|
1645
|
+
# @option params [Integer] :max_results
|
1646
|
+
# Maximum number of results to return. Default: 50.
|
1647
|
+
#
|
1648
|
+
# @return [Types::ListParticipantReplicasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1649
|
+
#
|
1650
|
+
# * {Types::ListParticipantReplicasResponse#replicas #replicas} => Array<Types::ParticipantReplica>
|
1651
|
+
# * {Types::ListParticipantReplicasResponse#next_token #next_token} => String
|
1652
|
+
#
|
1653
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1654
|
+
#
|
1655
|
+
# @example Request syntax with placeholder values
|
1656
|
+
#
|
1657
|
+
# resp = client.list_participant_replicas({
|
1658
|
+
# source_stage_arn: "StageArn", # required
|
1659
|
+
# participant_id: "ParticipantId", # required
|
1660
|
+
# next_token: "PaginationToken",
|
1661
|
+
# max_results: 1,
|
1662
|
+
# })
|
1663
|
+
#
|
1664
|
+
# @example Response structure
|
1665
|
+
#
|
1666
|
+
# resp.replicas #=> Array
|
1667
|
+
# resp.replicas[0].source_stage_arn #=> String
|
1668
|
+
# resp.replicas[0].participant_id #=> String
|
1669
|
+
# resp.replicas[0].source_session_id #=> String
|
1670
|
+
# resp.replicas[0].destination_stage_arn #=> String
|
1671
|
+
# resp.replicas[0].destination_session_id #=> String
|
1672
|
+
# resp.replicas[0].replication_state #=> String, one of "ACTIVE", "STOPPED"
|
1673
|
+
# resp.next_token #=> String
|
1674
|
+
#
|
1675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipantReplicas AWS API Documentation
|
1676
|
+
#
|
1677
|
+
# @overload list_participant_replicas(params = {})
|
1678
|
+
# @param [Hash] params ({})
|
1679
|
+
def list_participant_replicas(params = {}, options = {})
|
1680
|
+
req = build_request(:list_participant_replicas, params)
|
1681
|
+
req.send_request(options)
|
1682
|
+
end
|
1683
|
+
|
1617
1684
|
# Lists all participants in a specified stage session.
|
1618
1685
|
#
|
1619
1686
|
# @option params [required, String] :stage_arn
|
@@ -1683,6 +1750,10 @@ module Aws::IVSRealTime
|
|
1683
1750
|
# resp.participants[0].first_join_time #=> Time
|
1684
1751
|
# resp.participants[0].published #=> Boolean
|
1685
1752
|
# resp.participants[0].recording_state #=> String, one of "STARTING", "ACTIVE", "STOPPING", "STOPPED", "FAILED", "DISABLED"
|
1753
|
+
# resp.participants[0].replication_type #=> String, one of "SOURCE", "REPLICA", "NONE"
|
1754
|
+
# resp.participants[0].replication_state #=> String, one of "ACTIVE", "STOPPED"
|
1755
|
+
# resp.participants[0].source_stage_arn #=> String
|
1756
|
+
# resp.participants[0].source_session_id #=> String
|
1686
1757
|
# resp.next_token #=> String
|
1687
1758
|
#
|
1688
1759
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipants AWS API Documentation
|
@@ -2056,6 +2127,81 @@ module Aws::IVSRealTime
|
|
2056
2127
|
req.send_request(options)
|
2057
2128
|
end
|
2058
2129
|
|
2130
|
+
# Starts replicating a publishing participant from a source stage to a
|
2131
|
+
# destination stage.
|
2132
|
+
#
|
2133
|
+
# @option params [required, String] :source_stage_arn
|
2134
|
+
# ARN of the stage where the participant is publishing.
|
2135
|
+
#
|
2136
|
+
# @option params [required, String] :destination_stage_arn
|
2137
|
+
# ARN of the stage to which the participant will be replicated.
|
2138
|
+
#
|
2139
|
+
# @option params [required, String] :participant_id
|
2140
|
+
# Participant ID of the publisher that will be replicated. This is
|
2141
|
+
# assigned by IVS and returned by CreateParticipantToken or the `jti`
|
2142
|
+
# (JWT ID) used to [create a self signed token][1].
|
2143
|
+
#
|
2144
|
+
#
|
2145
|
+
#
|
2146
|
+
# [1]: https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/getting-started-distribute-tokens.html#getting-started-distribute-tokens-self-signed
|
2147
|
+
#
|
2148
|
+
# @option params [Integer] :reconnect_window_seconds
|
2149
|
+
# If the participant disconnects and then reconnects within the
|
2150
|
+
# specified interval, replication will continue to be `ACTIVE`. Default:
|
2151
|
+
# 0.
|
2152
|
+
#
|
2153
|
+
# @option params [Hash<String,String>] :attributes
|
2154
|
+
# Application-provided attributes to set on the replicated participant
|
2155
|
+
# in the destination stage. Map keys and values can contain UTF-8
|
2156
|
+
# encoded text. The maximum length of this field is 1 KB total. *This
|
2157
|
+
# field is exposed to all stage participants and should not be used for
|
2158
|
+
# personally identifying, confidential, or sensitive information.*
|
2159
|
+
#
|
2160
|
+
# These attributes are merged with any attributes set for this
|
2161
|
+
# participant when creating the token. If there is overlap in keys, the
|
2162
|
+
# values in these attributes are replaced.
|
2163
|
+
#
|
2164
|
+
# @return [Types::StartParticipantReplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2165
|
+
#
|
2166
|
+
# * {Types::StartParticipantReplicationResponse#access_control_allow_origin #access_control_allow_origin} => String
|
2167
|
+
# * {Types::StartParticipantReplicationResponse#access_control_expose_headers #access_control_expose_headers} => String
|
2168
|
+
# * {Types::StartParticipantReplicationResponse#cache_control #cache_control} => String
|
2169
|
+
# * {Types::StartParticipantReplicationResponse#content_security_policy #content_security_policy} => String
|
2170
|
+
# * {Types::StartParticipantReplicationResponse#strict_transport_security #strict_transport_security} => String
|
2171
|
+
# * {Types::StartParticipantReplicationResponse#x_content_type_options #x_content_type_options} => String
|
2172
|
+
# * {Types::StartParticipantReplicationResponse#x_frame_options #x_frame_options} => String
|
2173
|
+
#
|
2174
|
+
# @example Request syntax with placeholder values
|
2175
|
+
#
|
2176
|
+
# resp = client.start_participant_replication({
|
2177
|
+
# source_stage_arn: "StageArn", # required
|
2178
|
+
# destination_stage_arn: "StageArn", # required
|
2179
|
+
# participant_id: "ParticipantId", # required
|
2180
|
+
# reconnect_window_seconds: 1,
|
2181
|
+
# attributes: {
|
2182
|
+
# "String" => "String",
|
2183
|
+
# },
|
2184
|
+
# })
|
2185
|
+
#
|
2186
|
+
# @example Response structure
|
2187
|
+
#
|
2188
|
+
# resp.access_control_allow_origin #=> String
|
2189
|
+
# resp.access_control_expose_headers #=> String
|
2190
|
+
# resp.cache_control #=> String
|
2191
|
+
# resp.content_security_policy #=> String
|
2192
|
+
# resp.strict_transport_security #=> String
|
2193
|
+
# resp.x_content_type_options #=> String
|
2194
|
+
# resp.x_frame_options #=> String
|
2195
|
+
#
|
2196
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/StartParticipantReplication AWS API Documentation
|
2197
|
+
#
|
2198
|
+
# @overload start_participant_replication(params = {})
|
2199
|
+
# @param [Hash] params ({})
|
2200
|
+
def start_participant_replication(params = {}, options = {})
|
2201
|
+
req = build_request(:start_participant_replication, params)
|
2202
|
+
req.send_request(options)
|
2203
|
+
end
|
2204
|
+
|
2059
2205
|
# Stops and deletes a Composition resource. Any broadcast from the
|
2060
2206
|
# Composition resource is stopped.
|
2061
2207
|
#
|
@@ -2079,6 +2225,60 @@ module Aws::IVSRealTime
|
|
2079
2225
|
req.send_request(options)
|
2080
2226
|
end
|
2081
2227
|
|
2228
|
+
# Stops a replicated participant session.
|
2229
|
+
#
|
2230
|
+
# @option params [required, String] :source_stage_arn
|
2231
|
+
# ARN of the stage where the participant is publishing.
|
2232
|
+
#
|
2233
|
+
# @option params [required, String] :destination_stage_arn
|
2234
|
+
# ARN of the stage where the participant has been replicated.
|
2235
|
+
#
|
2236
|
+
# @option params [required, String] :participant_id
|
2237
|
+
# Participant ID of the publisher that has been replicated. This is
|
2238
|
+
# assigned by IVS and returned by CreateParticipantToken or the `jti`
|
2239
|
+
# (JWT ID) used to [ create a self signed token][1].
|
2240
|
+
#
|
2241
|
+
#
|
2242
|
+
#
|
2243
|
+
# [1]: https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/getting-started-distribute-tokens.html#getting-started-distribute-tokens-self-signed
|
2244
|
+
#
|
2245
|
+
# @return [Types::StopParticipantReplicationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2246
|
+
#
|
2247
|
+
# * {Types::StopParticipantReplicationResponse#access_control_allow_origin #access_control_allow_origin} => String
|
2248
|
+
# * {Types::StopParticipantReplicationResponse#access_control_expose_headers #access_control_expose_headers} => String
|
2249
|
+
# * {Types::StopParticipantReplicationResponse#cache_control #cache_control} => String
|
2250
|
+
# * {Types::StopParticipantReplicationResponse#content_security_policy #content_security_policy} => String
|
2251
|
+
# * {Types::StopParticipantReplicationResponse#strict_transport_security #strict_transport_security} => String
|
2252
|
+
# * {Types::StopParticipantReplicationResponse#x_content_type_options #x_content_type_options} => String
|
2253
|
+
# * {Types::StopParticipantReplicationResponse#x_frame_options #x_frame_options} => String
|
2254
|
+
#
|
2255
|
+
# @example Request syntax with placeholder values
|
2256
|
+
#
|
2257
|
+
# resp = client.stop_participant_replication({
|
2258
|
+
# source_stage_arn: "StageArn", # required
|
2259
|
+
# destination_stage_arn: "StageArn", # required
|
2260
|
+
# participant_id: "ParticipantId", # required
|
2261
|
+
# })
|
2262
|
+
#
|
2263
|
+
# @example Response structure
|
2264
|
+
#
|
2265
|
+
# resp.access_control_allow_origin #=> String
|
2266
|
+
# resp.access_control_expose_headers #=> String
|
2267
|
+
# resp.cache_control #=> String
|
2268
|
+
# resp.content_security_policy #=> String
|
2269
|
+
# resp.strict_transport_security #=> String
|
2270
|
+
# resp.x_content_type_options #=> String
|
2271
|
+
# resp.x_frame_options #=> String
|
2272
|
+
#
|
2273
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/StopParticipantReplication AWS API Documentation
|
2274
|
+
#
|
2275
|
+
# @overload stop_participant_replication(params = {})
|
2276
|
+
# @param [Hash] params ({})
|
2277
|
+
def stop_participant_replication(params = {}, options = {})
|
2278
|
+
req = build_request(:stop_participant_replication, params)
|
2279
|
+
req.send_request(options)
|
2280
|
+
end
|
2281
|
+
|
2082
2282
|
# Adds or updates tags for the AWS resource with the specified ARN.
|
2083
2283
|
#
|
2084
2284
|
# @option params [required, String] :resource_arn
|
@@ -2230,6 +2430,7 @@ module Aws::IVSRealTime
|
|
2230
2430
|
# hls_configuration: {
|
2231
2431
|
# target_segment_duration_seconds: 1,
|
2232
2432
|
# },
|
2433
|
+
# record_participant_replicas: false,
|
2233
2434
|
# },
|
2234
2435
|
# })
|
2235
2436
|
#
|
@@ -2249,6 +2450,7 @@ module Aws::IVSRealTime
|
|
2249
2450
|
# resp.stage.auto_participant_recording_configuration.thumbnail_configuration.recording_mode #=> String, one of "INTERVAL", "DISABLED"
|
2250
2451
|
# resp.stage.auto_participant_recording_configuration.recording_reconnect_window_seconds #=> Integer
|
2251
2452
|
# resp.stage.auto_participant_recording_configuration.hls_configuration.target_segment_duration_seconds #=> Integer
|
2453
|
+
# resp.stage.auto_participant_recording_configuration.record_participant_replicas #=> Boolean
|
2252
2454
|
# resp.stage.endpoints.events #=> String
|
2253
2455
|
# resp.stage.endpoints.whip #=> String
|
2254
2456
|
# resp.stage.endpoints.rtmp #=> String
|
@@ -2281,7 +2483,7 @@ module Aws::IVSRealTime
|
|
2281
2483
|
tracer: tracer
|
2282
2484
|
)
|
2283
2485
|
context[:gem_name] = 'aws-sdk-ivsrealtime'
|
2284
|
-
context[:gem_version] = '1.
|
2486
|
+
context[:gem_version] = '1.43.0'
|
2285
2487
|
Seahorse::Client::Request.new(handlers, context)
|
2286
2488
|
end
|
2287
2489
|
|
@@ -116,6 +116,8 @@ module Aws::IVSRealTime
|
|
116
116
|
ListIngestConfigurationsResponse = Shapes::StructureShape.new(name: 'ListIngestConfigurationsResponse')
|
117
117
|
ListParticipantEventsRequest = Shapes::StructureShape.new(name: 'ListParticipantEventsRequest')
|
118
118
|
ListParticipantEventsResponse = Shapes::StructureShape.new(name: 'ListParticipantEventsResponse')
|
119
|
+
ListParticipantReplicasRequest = Shapes::StructureShape.new(name: 'ListParticipantReplicasRequest')
|
120
|
+
ListParticipantReplicasResponse = Shapes::StructureShape.new(name: 'ListParticipantReplicasResponse')
|
119
121
|
ListParticipantsRequest = Shapes::StructureShape.new(name: 'ListParticipantsRequest')
|
120
122
|
ListParticipantsResponse = Shapes::StructureShape.new(name: 'ListParticipantsResponse')
|
121
123
|
ListPublicKeysRequest = Shapes::StructureShape.new(name: 'ListPublicKeysRequest')
|
@@ -132,6 +134,7 @@ module Aws::IVSRealTime
|
|
132
134
|
MaxEncoderConfigurationResults = Shapes::IntegerShape.new(name: 'MaxEncoderConfigurationResults')
|
133
135
|
MaxIngestConfigurationResults = Shapes::IntegerShape.new(name: 'MaxIngestConfigurationResults')
|
134
136
|
MaxParticipantEventResults = Shapes::IntegerShape.new(name: 'MaxParticipantEventResults')
|
137
|
+
MaxParticipantReplicaResults = Shapes::IntegerShape.new(name: 'MaxParticipantReplicaResults')
|
135
138
|
MaxParticipantResults = Shapes::IntegerShape.new(name: 'MaxParticipantResults')
|
136
139
|
MaxPublicKeyResults = Shapes::IntegerShape.new(name: 'MaxPublicKeyResults')
|
137
140
|
MaxStageResults = Shapes::IntegerShape.new(name: 'MaxStageResults')
|
@@ -154,6 +157,8 @@ module Aws::IVSRealTime
|
|
154
157
|
ParticipantRecordingS3Prefix = Shapes::StringShape.new(name: 'ParticipantRecordingS3Prefix')
|
155
158
|
ParticipantRecordingState = Shapes::StringShape.new(name: 'ParticipantRecordingState')
|
156
159
|
ParticipantRecordingTargetSegmentDurationSeconds = Shapes::IntegerShape.new(name: 'ParticipantRecordingTargetSegmentDurationSeconds')
|
160
|
+
ParticipantReplica = Shapes::StructureShape.new(name: 'ParticipantReplica')
|
161
|
+
ParticipantReplicaList = Shapes::ListShape.new(name: 'ParticipantReplicaList')
|
157
162
|
ParticipantState = Shapes::StringShape.new(name: 'ParticipantState')
|
158
163
|
ParticipantSummary = Shapes::StructureShape.new(name: 'ParticipantSummary')
|
159
164
|
ParticipantThumbnailConfiguration = Shapes::StructureShape.new(name: 'ParticipantThumbnailConfiguration')
|
@@ -184,8 +189,13 @@ module Aws::IVSRealTime
|
|
184
189
|
PublicKeyName = Shapes::StringShape.new(name: 'PublicKeyName')
|
185
190
|
PublicKeySummary = Shapes::StructureShape.new(name: 'PublicKeySummary')
|
186
191
|
Published = Shapes::BooleanShape.new(name: 'Published')
|
192
|
+
ReconnectWindowSeconds = Shapes::IntegerShape.new(name: 'ReconnectWindowSeconds')
|
193
|
+
RecordParticipantReplicas = Shapes::BooleanShape.new(name: 'RecordParticipantReplicas')
|
187
194
|
RecordingConfiguration = Shapes::StructureShape.new(name: 'RecordingConfiguration')
|
188
195
|
RecordingConfigurationFormat = Shapes::StringShape.new(name: 'RecordingConfigurationFormat')
|
196
|
+
Replica = Shapes::BooleanShape.new(name: 'Replica')
|
197
|
+
ReplicationState = Shapes::StringShape.new(name: 'ReplicationState')
|
198
|
+
ReplicationType = Shapes::StringShape.new(name: 'ReplicationType')
|
189
199
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
190
200
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
191
201
|
S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
|
@@ -206,8 +216,12 @@ module Aws::IVSRealTime
|
|
206
216
|
StageSummaryList = Shapes::ListShape.new(name: 'StageSummaryList')
|
207
217
|
StartCompositionRequest = Shapes::StructureShape.new(name: 'StartCompositionRequest')
|
208
218
|
StartCompositionResponse = Shapes::StructureShape.new(name: 'StartCompositionResponse')
|
219
|
+
StartParticipantReplicationRequest = Shapes::StructureShape.new(name: 'StartParticipantReplicationRequest')
|
220
|
+
StartParticipantReplicationResponse = Shapes::StructureShape.new(name: 'StartParticipantReplicationResponse')
|
209
221
|
StopCompositionRequest = Shapes::StructureShape.new(name: 'StopCompositionRequest')
|
210
222
|
StopCompositionResponse = Shapes::StructureShape.new(name: 'StopCompositionResponse')
|
223
|
+
StopParticipantReplicationRequest = Shapes::StructureShape.new(name: 'StopParticipantReplicationRequest')
|
224
|
+
StopParticipantReplicationResponse = Shapes::StructureShape.new(name: 'StopParticipantReplicationResponse')
|
211
225
|
StorageConfiguration = Shapes::StructureShape.new(name: 'StorageConfiguration')
|
212
226
|
StorageConfigurationArn = Shapes::StringShape.new(name: 'StorageConfigurationArn')
|
213
227
|
StorageConfigurationName = Shapes::StringShape.new(name: 'StorageConfigurationName')
|
@@ -256,6 +270,7 @@ module Aws::IVSRealTime
|
|
256
270
|
AutoParticipantRecordingConfiguration.add_member(:thumbnail_configuration, Shapes::ShapeRef.new(shape: ParticipantThumbnailConfiguration, location_name: "thumbnailConfiguration"))
|
257
271
|
AutoParticipantRecordingConfiguration.add_member(:recording_reconnect_window_seconds, Shapes::ShapeRef.new(shape: ParticipantRecordingReconnectWindowSeconds, location_name: "recordingReconnectWindowSeconds"))
|
258
272
|
AutoParticipantRecordingConfiguration.add_member(:hls_configuration, Shapes::ShapeRef.new(shape: ParticipantRecordingHlsConfiguration, location_name: "hlsConfiguration"))
|
273
|
+
AutoParticipantRecordingConfiguration.add_member(:record_participant_replicas, Shapes::ShapeRef.new(shape: RecordParticipantReplicas, location_name: "recordParticipantReplicas"))
|
259
274
|
AutoParticipantRecordingConfiguration.struct_class = Types::AutoParticipantRecordingConfiguration
|
260
275
|
|
261
276
|
ChannelDestinationConfiguration.add_member(:channel_arn, Shapes::ShapeRef.new(shape: ChannelArn, required: true, location_name: "channelArn"))
|
@@ -432,6 +447,9 @@ module Aws::IVSRealTime
|
|
432
447
|
Event.add_member(:event_time, Shapes::ShapeRef.new(shape: Time, location_name: "eventTime"))
|
433
448
|
Event.add_member(:remote_participant_id, Shapes::ShapeRef.new(shape: ParticipantId, location_name: "remoteParticipantId"))
|
434
449
|
Event.add_member(:error_code, Shapes::ShapeRef.new(shape: EventErrorCode, location_name: "errorCode"))
|
450
|
+
Event.add_member(:destination_stage_arn, Shapes::ShapeRef.new(shape: StageArn, location_name: "destinationStageArn"))
|
451
|
+
Event.add_member(:destination_session_id, Shapes::ShapeRef.new(shape: StageSessionId, location_name: "destinationSessionId"))
|
452
|
+
Event.add_member(:replica, Shapes::ShapeRef.new(shape: Replica, location_name: "replica"))
|
435
453
|
Event.struct_class = Types::Event
|
436
454
|
|
437
455
|
EventList.member = Shapes::ShapeRef.new(shape: Event)
|
@@ -579,6 +597,16 @@ module Aws::IVSRealTime
|
|
579
597
|
ListParticipantEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
580
598
|
ListParticipantEventsResponse.struct_class = Types::ListParticipantEventsResponse
|
581
599
|
|
600
|
+
ListParticipantReplicasRequest.add_member(:source_stage_arn, Shapes::ShapeRef.new(shape: StageArn, required: true, location_name: "sourceStageArn"))
|
601
|
+
ListParticipantReplicasRequest.add_member(:participant_id, Shapes::ShapeRef.new(shape: ParticipantId, required: true, location_name: "participantId"))
|
602
|
+
ListParticipantReplicasRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
603
|
+
ListParticipantReplicasRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxParticipantReplicaResults, location_name: "maxResults"))
|
604
|
+
ListParticipantReplicasRequest.struct_class = Types::ListParticipantReplicasRequest
|
605
|
+
|
606
|
+
ListParticipantReplicasResponse.add_member(:replicas, Shapes::ShapeRef.new(shape: ParticipantReplicaList, required: true, location_name: "replicas"))
|
607
|
+
ListParticipantReplicasResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
608
|
+
ListParticipantReplicasResponse.struct_class = Types::ListParticipantReplicasResponse
|
609
|
+
|
582
610
|
ListParticipantsRequest.add_member(:stage_arn, Shapes::ShapeRef.new(shape: StageArn, required: true, location_name: "stageArn"))
|
583
611
|
ListParticipantsRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: StageSessionId, required: true, location_name: "sessionId"))
|
584
612
|
ListParticipantsRequest.add_member(:filter_by_user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "filterByUserId"))
|
@@ -648,6 +676,10 @@ module Aws::IVSRealTime
|
|
648
676
|
Participant.add_member(:recording_s3_prefix, Shapes::ShapeRef.new(shape: ParticipantRecordingS3Prefix, location_name: "recordingS3Prefix"))
|
649
677
|
Participant.add_member(:recording_state, Shapes::ShapeRef.new(shape: ParticipantRecordingState, location_name: "recordingState"))
|
650
678
|
Participant.add_member(:protocol, Shapes::ShapeRef.new(shape: ParticipantProtocol, location_name: "protocol"))
|
679
|
+
Participant.add_member(:replication_type, Shapes::ShapeRef.new(shape: ReplicationType, location_name: "replicationType"))
|
680
|
+
Participant.add_member(:replication_state, Shapes::ShapeRef.new(shape: ReplicationState, location_name: "replicationState"))
|
681
|
+
Participant.add_member(:source_stage_arn, Shapes::ShapeRef.new(shape: StageArn, location_name: "sourceStageArn"))
|
682
|
+
Participant.add_member(:source_session_id, Shapes::ShapeRef.new(shape: StageSessionId, location_name: "sourceSessionId"))
|
651
683
|
Participant.struct_class = Types::Participant
|
652
684
|
|
653
685
|
ParticipantAttributes.key = Shapes::ShapeRef.new(shape: String)
|
@@ -660,12 +692,26 @@ module Aws::IVSRealTime
|
|
660
692
|
|
661
693
|
ParticipantRecordingMediaTypeList.member = Shapes::ShapeRef.new(shape: ParticipantRecordingMediaType)
|
662
694
|
|
695
|
+
ParticipantReplica.add_member(:source_stage_arn, Shapes::ShapeRef.new(shape: StageArn, required: true, location_name: "sourceStageArn"))
|
696
|
+
ParticipantReplica.add_member(:participant_id, Shapes::ShapeRef.new(shape: ParticipantId, required: true, location_name: "participantId"))
|
697
|
+
ParticipantReplica.add_member(:source_session_id, Shapes::ShapeRef.new(shape: StageSessionId, required: true, location_name: "sourceSessionId"))
|
698
|
+
ParticipantReplica.add_member(:destination_stage_arn, Shapes::ShapeRef.new(shape: StageArn, required: true, location_name: "destinationStageArn"))
|
699
|
+
ParticipantReplica.add_member(:destination_session_id, Shapes::ShapeRef.new(shape: StageSessionId, required: true, location_name: "destinationSessionId"))
|
700
|
+
ParticipantReplica.add_member(:replication_state, Shapes::ShapeRef.new(shape: ReplicationState, required: true, location_name: "replicationState"))
|
701
|
+
ParticipantReplica.struct_class = Types::ParticipantReplica
|
702
|
+
|
703
|
+
ParticipantReplicaList.member = Shapes::ShapeRef.new(shape: ParticipantReplica)
|
704
|
+
|
663
705
|
ParticipantSummary.add_member(:participant_id, Shapes::ShapeRef.new(shape: ParticipantId, location_name: "participantId"))
|
664
706
|
ParticipantSummary.add_member(:user_id, Shapes::ShapeRef.new(shape: UserId, location_name: "userId"))
|
665
707
|
ParticipantSummary.add_member(:state, Shapes::ShapeRef.new(shape: ParticipantState, location_name: "state"))
|
666
708
|
ParticipantSummary.add_member(:first_join_time, Shapes::ShapeRef.new(shape: Time, location_name: "firstJoinTime"))
|
667
709
|
ParticipantSummary.add_member(:published, Shapes::ShapeRef.new(shape: Published, location_name: "published"))
|
668
710
|
ParticipantSummary.add_member(:recording_state, Shapes::ShapeRef.new(shape: ParticipantRecordingState, location_name: "recordingState"))
|
711
|
+
ParticipantSummary.add_member(:replication_type, Shapes::ShapeRef.new(shape: ReplicationType, location_name: "replicationType"))
|
712
|
+
ParticipantSummary.add_member(:replication_state, Shapes::ShapeRef.new(shape: ReplicationState, location_name: "replicationState"))
|
713
|
+
ParticipantSummary.add_member(:source_stage_arn, Shapes::ShapeRef.new(shape: StageArn, location_name: "sourceStageArn"))
|
714
|
+
ParticipantSummary.add_member(:source_session_id, Shapes::ShapeRef.new(shape: StageSessionId, location_name: "sourceSessionId"))
|
669
715
|
ParticipantSummary.struct_class = Types::ParticipantSummary
|
670
716
|
|
671
717
|
ParticipantThumbnailConfiguration.add_member(:target_interval_seconds, Shapes::ShapeRef.new(shape: ThumbnailIntervalSeconds, location_name: "targetIntervalSeconds"))
|
@@ -816,11 +862,41 @@ module Aws::IVSRealTime
|
|
816
862
|
StartCompositionResponse.add_member(:composition, Shapes::ShapeRef.new(shape: Composition, location_name: "composition"))
|
817
863
|
StartCompositionResponse.struct_class = Types::StartCompositionResponse
|
818
864
|
|
865
|
+
StartParticipantReplicationRequest.add_member(:source_stage_arn, Shapes::ShapeRef.new(shape: StageArn, required: true, location_name: "sourceStageArn"))
|
866
|
+
StartParticipantReplicationRequest.add_member(:destination_stage_arn, Shapes::ShapeRef.new(shape: StageArn, required: true, location_name: "destinationStageArn"))
|
867
|
+
StartParticipantReplicationRequest.add_member(:participant_id, Shapes::ShapeRef.new(shape: ParticipantId, required: true, location_name: "participantId"))
|
868
|
+
StartParticipantReplicationRequest.add_member(:reconnect_window_seconds, Shapes::ShapeRef.new(shape: ReconnectWindowSeconds, location_name: "reconnectWindowSeconds"))
|
869
|
+
StartParticipantReplicationRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ParticipantAttributes, location_name: "attributes"))
|
870
|
+
StartParticipantReplicationRequest.struct_class = Types::StartParticipantReplicationRequest
|
871
|
+
|
872
|
+
StartParticipantReplicationResponse.add_member(:access_control_allow_origin, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Access-Control-Allow-Origin"))
|
873
|
+
StartParticipantReplicationResponse.add_member(:access_control_expose_headers, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Access-Control-Expose-Headers"))
|
874
|
+
StartParticipantReplicationResponse.add_member(:cache_control, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Cache-Control"))
|
875
|
+
StartParticipantReplicationResponse.add_member(:content_security_policy, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Security-Policy"))
|
876
|
+
StartParticipantReplicationResponse.add_member(:strict_transport_security, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Strict-Transport-Security"))
|
877
|
+
StartParticipantReplicationResponse.add_member(:x_content_type_options, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Content-Type-Options"))
|
878
|
+
StartParticipantReplicationResponse.add_member(:x_frame_options, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Frame-Options"))
|
879
|
+
StartParticipantReplicationResponse.struct_class = Types::StartParticipantReplicationResponse
|
880
|
+
|
819
881
|
StopCompositionRequest.add_member(:arn, Shapes::ShapeRef.new(shape: CompositionArn, required: true, location_name: "arn"))
|
820
882
|
StopCompositionRequest.struct_class = Types::StopCompositionRequest
|
821
883
|
|
822
884
|
StopCompositionResponse.struct_class = Types::StopCompositionResponse
|
823
885
|
|
886
|
+
StopParticipantReplicationRequest.add_member(:source_stage_arn, Shapes::ShapeRef.new(shape: StageArn, required: true, location_name: "sourceStageArn"))
|
887
|
+
StopParticipantReplicationRequest.add_member(:destination_stage_arn, Shapes::ShapeRef.new(shape: StageArn, required: true, location_name: "destinationStageArn"))
|
888
|
+
StopParticipantReplicationRequest.add_member(:participant_id, Shapes::ShapeRef.new(shape: ParticipantId, required: true, location_name: "participantId"))
|
889
|
+
StopParticipantReplicationRequest.struct_class = Types::StopParticipantReplicationRequest
|
890
|
+
|
891
|
+
StopParticipantReplicationResponse.add_member(:access_control_allow_origin, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Access-Control-Allow-Origin"))
|
892
|
+
StopParticipantReplicationResponse.add_member(:access_control_expose_headers, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Access-Control-Expose-Headers"))
|
893
|
+
StopParticipantReplicationResponse.add_member(:cache_control, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Cache-Control"))
|
894
|
+
StopParticipantReplicationResponse.add_member(:content_security_policy, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Content-Security-Policy"))
|
895
|
+
StopParticipantReplicationResponse.add_member(:strict_transport_security, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Strict-Transport-Security"))
|
896
|
+
StopParticipantReplicationResponse.add_member(:x_content_type_options, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Content-Type-Options"))
|
897
|
+
StopParticipantReplicationResponse.add_member(:x_frame_options, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Frame-Options"))
|
898
|
+
StopParticipantReplicationResponse.struct_class = Types::StopParticipantReplicationResponse
|
899
|
+
|
824
900
|
StorageConfiguration.add_member(:arn, Shapes::ShapeRef.new(shape: StorageConfigurationArn, required: true, location_name: "arn"))
|
825
901
|
StorageConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: StorageConfigurationName, location_name: "name"))
|
826
902
|
StorageConfiguration.add_member(:s3, Shapes::ShapeRef.new(shape: S3StorageConfiguration, location_name: "s3"))
|
@@ -1232,6 +1308,22 @@ module Aws::IVSRealTime
|
|
1232
1308
|
)
|
1233
1309
|
end)
|
1234
1310
|
|
1311
|
+
api.add_operation(:list_participant_replicas, Seahorse::Model::Operation.new.tap do |o|
|
1312
|
+
o.name = "ListParticipantReplicas"
|
1313
|
+
o.http_method = "POST"
|
1314
|
+
o.http_request_uri = "/ListParticipantReplicas"
|
1315
|
+
o.input = Shapes::ShapeRef.new(shape: ListParticipantReplicasRequest)
|
1316
|
+
o.output = Shapes::ShapeRef.new(shape: ListParticipantReplicasResponse)
|
1317
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1318
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1319
|
+
o[:pager] = Aws::Pager.new(
|
1320
|
+
limit_key: "max_results",
|
1321
|
+
tokens: {
|
1322
|
+
"next_token" => "next_token"
|
1323
|
+
}
|
1324
|
+
)
|
1325
|
+
end)
|
1326
|
+
|
1235
1327
|
api.add_operation(:list_participants, Seahorse::Model::Operation.new.tap do |o|
|
1236
1328
|
o.name = "ListParticipants"
|
1237
1329
|
o.http_method = "POST"
|
@@ -1342,6 +1434,21 @@ module Aws::IVSRealTime
|
|
1342
1434
|
o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
|
1343
1435
|
end)
|
1344
1436
|
|
1437
|
+
api.add_operation(:start_participant_replication, Seahorse::Model::Operation.new.tap do |o|
|
1438
|
+
o.name = "StartParticipantReplication"
|
1439
|
+
o.http_method = "POST"
|
1440
|
+
o.http_request_uri = "/StartParticipantReplication"
|
1441
|
+
o.input = Shapes::ShapeRef.new(shape: StartParticipantReplicationRequest)
|
1442
|
+
o.output = Shapes::ShapeRef.new(shape: StartParticipantReplicationResponse)
|
1443
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1444
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1445
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1446
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1447
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1448
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1449
|
+
o.errors << Shapes::ShapeRef.new(shape: PendingVerification)
|
1450
|
+
end)
|
1451
|
+
|
1345
1452
|
api.add_operation(:stop_composition, Seahorse::Model::Operation.new.tap do |o|
|
1346
1453
|
o.name = "StopComposition"
|
1347
1454
|
o.http_method = "POST"
|
@@ -1356,6 +1463,18 @@ module Aws::IVSRealTime
|
|
1356
1463
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1357
1464
|
end)
|
1358
1465
|
|
1466
|
+
api.add_operation(:stop_participant_replication, Seahorse::Model::Operation.new.tap do |o|
|
1467
|
+
o.name = "StopParticipantReplication"
|
1468
|
+
o.http_method = "POST"
|
1469
|
+
o.http_request_uri = "/StopParticipantReplication"
|
1470
|
+
o.input = Shapes::ShapeRef.new(shape: StopParticipantReplicationRequest)
|
1471
|
+
o.output = Shapes::ShapeRef.new(shape: StopParticipantReplicationResponse)
|
1472
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1473
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1474
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1475
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1476
|
+
end)
|
1477
|
+
|
1359
1478
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
1360
1479
|
o.name = "TagResource"
|
1361
1480
|
o.http_method = "POST"
|
@@ -89,6 +89,12 @@ module Aws::IVSRealTime
|
|
89
89
|
# HLS configuration object for individual participant recording.
|
90
90
|
# @return [Types::ParticipantRecordingHlsConfiguration]
|
91
91
|
#
|
92
|
+
# @!attribute [rw] record_participant_replicas
|
93
|
+
# Optional field to disable replica participant recording. If this is
|
94
|
+
# set to `false` when a participant is a replica, replica participants
|
95
|
+
# are not recorded. Default: `true`.
|
96
|
+
# @return [Boolean]
|
97
|
+
#
|
92
98
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/AutoParticipantRecordingConfiguration AWS API Documentation
|
93
99
|
#
|
94
100
|
class AutoParticipantRecordingConfiguration < Struct.new(
|
@@ -96,7 +102,8 @@ module Aws::IVSRealTime
|
|
96
102
|
:media_types,
|
97
103
|
:thumbnail_configuration,
|
98
104
|
:recording_reconnect_window_seconds,
|
99
|
-
:hls_configuration
|
105
|
+
:hls_configuration,
|
106
|
+
:record_participant_replicas)
|
100
107
|
SENSITIVE = []
|
101
108
|
include Aws::Structure
|
102
109
|
end
|
@@ -189,9 +196,7 @@ module Aws::IVSRealTime
|
|
189
196
|
#
|
190
197
|
# @!attribute [rw] target_segment_duration_seconds
|
191
198
|
# Defines the target duration for recorded segments generated when
|
192
|
-
# using composite recording.
|
193
|
-
# the specified value when needed to ensure each segment begins with a
|
194
|
-
# keyframe. Default: 2.
|
199
|
+
# using composite recording. Default: 2.
|
195
200
|
# @return [Integer]
|
196
201
|
#
|
197
202
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/CompositionRecordingHlsConfiguration AWS API Documentation
|
@@ -981,6 +986,23 @@ module Aws::IVSRealTime
|
|
981
986
|
# [3]: https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/rt-stream-ingest.html
|
982
987
|
# @return [String]
|
983
988
|
#
|
989
|
+
# @!attribute [rw] destination_stage_arn
|
990
|
+
# ARN of the stage where the participant is replicated. Applicable
|
991
|
+
# only if the event name is `REPLICATION_STARTED` or
|
992
|
+
# `REPLICATION_STOPPED`.
|
993
|
+
# @return [String]
|
994
|
+
#
|
995
|
+
# @!attribute [rw] destination_session_id
|
996
|
+
# ID of the session within the destination stage. Applicable only if
|
997
|
+
# the event name is `REPLICATION_STARTED` or `REPLICATION_STOPPED`.
|
998
|
+
# @return [String]
|
999
|
+
#
|
1000
|
+
# @!attribute [rw] replica
|
1001
|
+
# If true, this indicates the `participantId` is a replicated
|
1002
|
+
# participant. If this is a subscribe event, then this flag refers to
|
1003
|
+
# `remoteParticipantId`.
|
1004
|
+
# @return [Boolean]
|
1005
|
+
#
|
984
1006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/Event AWS API Documentation
|
985
1007
|
#
|
986
1008
|
class Event < Struct.new(
|
@@ -988,7 +1010,10 @@ module Aws::IVSRealTime
|
|
988
1010
|
:participant_id,
|
989
1011
|
:event_time,
|
990
1012
|
:remote_participant_id,
|
991
|
-
:error_code
|
1013
|
+
:error_code,
|
1014
|
+
:destination_stage_arn,
|
1015
|
+
:destination_session_id,
|
1016
|
+
:replica)
|
992
1017
|
SENSITIVE = []
|
993
1018
|
include Aws::Structure
|
994
1019
|
end
|
@@ -1673,6 +1698,58 @@ module Aws::IVSRealTime
|
|
1673
1698
|
include Aws::Structure
|
1674
1699
|
end
|
1675
1700
|
|
1701
|
+
# @!attribute [rw] source_stage_arn
|
1702
|
+
# ARN of the stage where the participant is publishing.
|
1703
|
+
# @return [String]
|
1704
|
+
#
|
1705
|
+
# @!attribute [rw] participant_id
|
1706
|
+
# Participant ID of the publisher that has been replicated. This is
|
1707
|
+
# assigned by IVS and returned by CreateParticipantToken or the `jti`
|
1708
|
+
# (JWT ID) used to [create a self signed token][1].
|
1709
|
+
#
|
1710
|
+
#
|
1711
|
+
#
|
1712
|
+
# [1]: https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/getting-started-distribute-tokens.html#getting-started-distribute-tokens-self-signed
|
1713
|
+
# @return [String]
|
1714
|
+
#
|
1715
|
+
# @!attribute [rw] next_token
|
1716
|
+
# The first participant to retrieve. This is used for pagination; see
|
1717
|
+
# the `nextToken` response field.
|
1718
|
+
# @return [String]
|
1719
|
+
#
|
1720
|
+
# @!attribute [rw] max_results
|
1721
|
+
# Maximum number of results to return. Default: 50.
|
1722
|
+
# @return [Integer]
|
1723
|
+
#
|
1724
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipantReplicasRequest AWS API Documentation
|
1725
|
+
#
|
1726
|
+
class ListParticipantReplicasRequest < Struct.new(
|
1727
|
+
:source_stage_arn,
|
1728
|
+
:participant_id,
|
1729
|
+
:next_token,
|
1730
|
+
:max_results)
|
1731
|
+
SENSITIVE = []
|
1732
|
+
include Aws::Structure
|
1733
|
+
end
|
1734
|
+
|
1735
|
+
# @!attribute [rw] replicas
|
1736
|
+
# List of all participant replicas.
|
1737
|
+
# @return [Array<Types::ParticipantReplica>]
|
1738
|
+
#
|
1739
|
+
# @!attribute [rw] next_token
|
1740
|
+
# If there are more participants than `maxResults`, use `nextToken` in
|
1741
|
+
# the request to get the next set.
|
1742
|
+
# @return [String]
|
1743
|
+
#
|
1744
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ListParticipantReplicasResponse AWS API Documentation
|
1745
|
+
#
|
1746
|
+
class ListParticipantReplicasResponse < Struct.new(
|
1747
|
+
:replicas,
|
1748
|
+
:next_token)
|
1749
|
+
SENSITIVE = []
|
1750
|
+
include Aws::Structure
|
1751
|
+
end
|
1752
|
+
|
1676
1753
|
# @!attribute [rw] stage_arn
|
1677
1754
|
# Stage ARN.
|
1678
1755
|
# @return [String]
|
@@ -1997,7 +2074,12 @@ module Aws::IVSRealTime
|
|
1997
2074
|
# @!attribute [rw] recording_s3_prefix
|
1998
2075
|
# S3 prefix of the S3 bucket where the participant is being recorded,
|
1999
2076
|
# if individual participant recording is enabled, or `""` (empty
|
2000
|
-
# string), if recording is not enabled.
|
2077
|
+
# string), if recording is not enabled. If individual participant
|
2078
|
+
# recording merge is enabled, and if a stage publisher disconnects
|
2079
|
+
# from a stage and then reconnects, IVS tries to record to the same S3
|
2080
|
+
# prefix as the previous session. See [ Merge Fragmented Individual
|
2081
|
+
# Participant
|
2082
|
+
# Recordings](/ivs/latest/RealTimeUserGuide/rt-individual-participant-recording.html#ind-part-rec-merge-frag).
|
2001
2083
|
# @return [String]
|
2002
2084
|
#
|
2003
2085
|
# @!attribute [rw] recording_state
|
@@ -2009,6 +2091,25 @@ module Aws::IVSRealTime
|
|
2009
2091
|
# broadcasting.
|
2010
2092
|
# @return [String]
|
2011
2093
|
#
|
2094
|
+
# @!attribute [rw] replication_type
|
2095
|
+
# Indicates if the participant has been replicated to another stage or
|
2096
|
+
# is a replica from another stage. Default: `NONE`.
|
2097
|
+
# @return [String]
|
2098
|
+
#
|
2099
|
+
# @!attribute [rw] replication_state
|
2100
|
+
# The participant's replication state.
|
2101
|
+
# @return [String]
|
2102
|
+
#
|
2103
|
+
# @!attribute [rw] source_stage_arn
|
2104
|
+
# Source stage ARN from which this participant is replicated, if
|
2105
|
+
# `replicationType` is `REPLICA`.
|
2106
|
+
# @return [String]
|
2107
|
+
#
|
2108
|
+
# @!attribute [rw] source_session_id
|
2109
|
+
# ID of the session within the source stage, if `replicationType` is
|
2110
|
+
# `REPLICA`.
|
2111
|
+
# @return [String]
|
2112
|
+
#
|
2012
2113
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/Participant AWS API Documentation
|
2013
2114
|
#
|
2014
2115
|
class Participant < Struct.new(
|
@@ -2027,7 +2128,11 @@ module Aws::IVSRealTime
|
|
2027
2128
|
:recording_s3_bucket_name,
|
2028
2129
|
:recording_s3_prefix,
|
2029
2130
|
:recording_state,
|
2030
|
-
:protocol
|
2131
|
+
:protocol,
|
2132
|
+
:replication_type,
|
2133
|
+
:replication_state,
|
2134
|
+
:source_stage_arn,
|
2135
|
+
:source_session_id)
|
2031
2136
|
SENSITIVE = []
|
2032
2137
|
include Aws::Structure
|
2033
2138
|
end
|
@@ -2050,6 +2155,51 @@ module Aws::IVSRealTime
|
|
2050
2155
|
include Aws::Structure
|
2051
2156
|
end
|
2052
2157
|
|
2158
|
+
# Information about the replicated destination stage for a participant.
|
2159
|
+
#
|
2160
|
+
# @!attribute [rw] source_stage_arn
|
2161
|
+
# ARN of the stage from which this participant is replicated.
|
2162
|
+
# @return [String]
|
2163
|
+
#
|
2164
|
+
# @!attribute [rw] participant_id
|
2165
|
+
# Participant ID of the publisher that will be replicated. This is
|
2166
|
+
# assigned by IVS and returned by CreateParticipantToken or the `jti`
|
2167
|
+
# (JWT ID) used to [ create a self signed token][1].
|
2168
|
+
#
|
2169
|
+
#
|
2170
|
+
#
|
2171
|
+
# [1]: https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/getting-started-distribute-tokens.html#getting-started-distribute-tokens-self-signed
|
2172
|
+
# @return [String]
|
2173
|
+
#
|
2174
|
+
# @!attribute [rw] source_session_id
|
2175
|
+
# ID of the session within the source stage.
|
2176
|
+
# @return [String]
|
2177
|
+
#
|
2178
|
+
# @!attribute [rw] destination_stage_arn
|
2179
|
+
# ARN of the stage where the participant is replicated.
|
2180
|
+
# @return [String]
|
2181
|
+
#
|
2182
|
+
# @!attribute [rw] destination_session_id
|
2183
|
+
# ID of the session within the destination stage.
|
2184
|
+
# @return [String]
|
2185
|
+
#
|
2186
|
+
# @!attribute [rw] replication_state
|
2187
|
+
# Replica’s current replication state.
|
2188
|
+
# @return [String]
|
2189
|
+
#
|
2190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ParticipantReplica AWS API Documentation
|
2191
|
+
#
|
2192
|
+
class ParticipantReplica < Struct.new(
|
2193
|
+
:source_stage_arn,
|
2194
|
+
:participant_id,
|
2195
|
+
:source_session_id,
|
2196
|
+
:destination_stage_arn,
|
2197
|
+
:destination_session_id,
|
2198
|
+
:replication_state)
|
2199
|
+
SENSITIVE = []
|
2200
|
+
include Aws::Structure
|
2201
|
+
end
|
2202
|
+
|
2053
2203
|
# Summary object describing a participant that has joined a stage.
|
2054
2204
|
#
|
2055
2205
|
# @!attribute [rw] participant_id
|
@@ -2082,6 +2232,24 @@ module Aws::IVSRealTime
|
|
2082
2232
|
# The participant’s recording state.
|
2083
2233
|
# @return [String]
|
2084
2234
|
#
|
2235
|
+
# @!attribute [rw] replication_type
|
2236
|
+
# Indicates if the participant has been replicated to another stage or
|
2237
|
+
# is a replica from another stage. Default: `NONE`.
|
2238
|
+
# @return [String]
|
2239
|
+
#
|
2240
|
+
# @!attribute [rw] replication_state
|
2241
|
+
# The participant's replication state.
|
2242
|
+
# @return [String]
|
2243
|
+
#
|
2244
|
+
# @!attribute [rw] source_stage_arn
|
2245
|
+
# ARN of the stage from which this participant is replicated.
|
2246
|
+
# @return [String]
|
2247
|
+
#
|
2248
|
+
# @!attribute [rw] source_session_id
|
2249
|
+
# ID of the session within the source stage, if `replicationType` is
|
2250
|
+
# `REPLICA`.
|
2251
|
+
# @return [String]
|
2252
|
+
#
|
2085
2253
|
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/ParticipantSummary AWS API Documentation
|
2086
2254
|
#
|
2087
2255
|
class ParticipantSummary < Struct.new(
|
@@ -2090,7 +2258,11 @@ module Aws::IVSRealTime
|
|
2090
2258
|
:state,
|
2091
2259
|
:first_join_time,
|
2092
2260
|
:published,
|
2093
|
-
:recording_state
|
2261
|
+
:recording_state,
|
2262
|
+
:replication_type,
|
2263
|
+
:replication_state,
|
2264
|
+
:source_stage_arn,
|
2265
|
+
:source_session_id)
|
2094
2266
|
SENSITIVE = []
|
2095
2267
|
include Aws::Structure
|
2096
2268
|
end
|
@@ -2835,6 +3007,89 @@ module Aws::IVSRealTime
|
|
2835
3007
|
include Aws::Structure
|
2836
3008
|
end
|
2837
3009
|
|
3010
|
+
# @!attribute [rw] source_stage_arn
|
3011
|
+
# ARN of the stage where the participant is publishing.
|
3012
|
+
# @return [String]
|
3013
|
+
#
|
3014
|
+
# @!attribute [rw] destination_stage_arn
|
3015
|
+
# ARN of the stage to which the participant will be replicated.
|
3016
|
+
# @return [String]
|
3017
|
+
#
|
3018
|
+
# @!attribute [rw] participant_id
|
3019
|
+
# Participant ID of the publisher that will be replicated. This is
|
3020
|
+
# assigned by IVS and returned by CreateParticipantToken or the `jti`
|
3021
|
+
# (JWT ID) used to [create a self signed token][1].
|
3022
|
+
#
|
3023
|
+
#
|
3024
|
+
#
|
3025
|
+
# [1]: https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/getting-started-distribute-tokens.html#getting-started-distribute-tokens-self-signed
|
3026
|
+
# @return [String]
|
3027
|
+
#
|
3028
|
+
# @!attribute [rw] reconnect_window_seconds
|
3029
|
+
# If the participant disconnects and then reconnects within the
|
3030
|
+
# specified interval, replication will continue to be `ACTIVE`.
|
3031
|
+
# Default: 0.
|
3032
|
+
# @return [Integer]
|
3033
|
+
#
|
3034
|
+
# @!attribute [rw] attributes
|
3035
|
+
# Application-provided attributes to set on the replicated participant
|
3036
|
+
# in the destination stage. Map keys and values can contain UTF-8
|
3037
|
+
# encoded text. The maximum length of this field is 1 KB total. *This
|
3038
|
+
# field is exposed to all stage participants and should not be used
|
3039
|
+
# for personally identifying, confidential, or sensitive information.*
|
3040
|
+
#
|
3041
|
+
# These attributes are merged with any attributes set for this
|
3042
|
+
# participant when creating the token. If there is overlap in keys,
|
3043
|
+
# the values in these attributes are replaced.
|
3044
|
+
# @return [Hash<String,String>]
|
3045
|
+
#
|
3046
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/StartParticipantReplicationRequest AWS API Documentation
|
3047
|
+
#
|
3048
|
+
class StartParticipantReplicationRequest < Struct.new(
|
3049
|
+
:source_stage_arn,
|
3050
|
+
:destination_stage_arn,
|
3051
|
+
:participant_id,
|
3052
|
+
:reconnect_window_seconds,
|
3053
|
+
:attributes)
|
3054
|
+
SENSITIVE = []
|
3055
|
+
include Aws::Structure
|
3056
|
+
end
|
3057
|
+
|
3058
|
+
# @!attribute [rw] access_control_allow_origin
|
3059
|
+
# @return [String]
|
3060
|
+
#
|
3061
|
+
# @!attribute [rw] access_control_expose_headers
|
3062
|
+
# @return [String]
|
3063
|
+
#
|
3064
|
+
# @!attribute [rw] cache_control
|
3065
|
+
# @return [String]
|
3066
|
+
#
|
3067
|
+
# @!attribute [rw] content_security_policy
|
3068
|
+
# @return [String]
|
3069
|
+
#
|
3070
|
+
# @!attribute [rw] strict_transport_security
|
3071
|
+
# @return [String]
|
3072
|
+
#
|
3073
|
+
# @!attribute [rw] x_content_type_options
|
3074
|
+
# @return [String]
|
3075
|
+
#
|
3076
|
+
# @!attribute [rw] x_frame_options
|
3077
|
+
# @return [String]
|
3078
|
+
#
|
3079
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/StartParticipantReplicationResponse AWS API Documentation
|
3080
|
+
#
|
3081
|
+
class StartParticipantReplicationResponse < Struct.new(
|
3082
|
+
:access_control_allow_origin,
|
3083
|
+
:access_control_expose_headers,
|
3084
|
+
:cache_control,
|
3085
|
+
:content_security_policy,
|
3086
|
+
:strict_transport_security,
|
3087
|
+
:x_content_type_options,
|
3088
|
+
:x_frame_options)
|
3089
|
+
SENSITIVE = []
|
3090
|
+
include Aws::Structure
|
3091
|
+
end
|
3092
|
+
|
2838
3093
|
# @!attribute [rw] arn
|
2839
3094
|
# ARN of the Composition.
|
2840
3095
|
# @return [String]
|
@@ -2851,6 +3106,69 @@ module Aws::IVSRealTime
|
|
2851
3106
|
#
|
2852
3107
|
class StopCompositionResponse < Aws::EmptyStructure; end
|
2853
3108
|
|
3109
|
+
# @!attribute [rw] source_stage_arn
|
3110
|
+
# ARN of the stage where the participant is publishing.
|
3111
|
+
# @return [String]
|
3112
|
+
#
|
3113
|
+
# @!attribute [rw] destination_stage_arn
|
3114
|
+
# ARN of the stage where the participant has been replicated.
|
3115
|
+
# @return [String]
|
3116
|
+
#
|
3117
|
+
# @!attribute [rw] participant_id
|
3118
|
+
# Participant ID of the publisher that has been replicated. This is
|
3119
|
+
# assigned by IVS and returned by CreateParticipantToken or the `jti`
|
3120
|
+
# (JWT ID) used to [ create a self signed token][1].
|
3121
|
+
#
|
3122
|
+
#
|
3123
|
+
#
|
3124
|
+
# [1]: https://docs.aws.amazon.com/ivs/latest/RealTimeUserGuide/getting-started-distribute-tokens.html#getting-started-distribute-tokens-self-signed
|
3125
|
+
# @return [String]
|
3126
|
+
#
|
3127
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/StopParticipantReplicationRequest AWS API Documentation
|
3128
|
+
#
|
3129
|
+
class StopParticipantReplicationRequest < Struct.new(
|
3130
|
+
:source_stage_arn,
|
3131
|
+
:destination_stage_arn,
|
3132
|
+
:participant_id)
|
3133
|
+
SENSITIVE = []
|
3134
|
+
include Aws::Structure
|
3135
|
+
end
|
3136
|
+
|
3137
|
+
# @!attribute [rw] access_control_allow_origin
|
3138
|
+
# @return [String]
|
3139
|
+
#
|
3140
|
+
# @!attribute [rw] access_control_expose_headers
|
3141
|
+
# @return [String]
|
3142
|
+
#
|
3143
|
+
# @!attribute [rw] cache_control
|
3144
|
+
# @return [String]
|
3145
|
+
#
|
3146
|
+
# @!attribute [rw] content_security_policy
|
3147
|
+
# @return [String]
|
3148
|
+
#
|
3149
|
+
# @!attribute [rw] strict_transport_security
|
3150
|
+
# @return [String]
|
3151
|
+
#
|
3152
|
+
# @!attribute [rw] x_content_type_options
|
3153
|
+
# @return [String]
|
3154
|
+
#
|
3155
|
+
# @!attribute [rw] x_frame_options
|
3156
|
+
# @return [String]
|
3157
|
+
#
|
3158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-realtime-2020-07-14/StopParticipantReplicationResponse AWS API Documentation
|
3159
|
+
#
|
3160
|
+
class StopParticipantReplicationResponse < Struct.new(
|
3161
|
+
:access_control_allow_origin,
|
3162
|
+
:access_control_expose_headers,
|
3163
|
+
:cache_control,
|
3164
|
+
:content_security_policy,
|
3165
|
+
:strict_transport_security,
|
3166
|
+
:x_content_type_options,
|
3167
|
+
:x_frame_options)
|
3168
|
+
SENSITIVE = []
|
3169
|
+
include Aws::Structure
|
3170
|
+
end
|
3171
|
+
|
2854
3172
|
# A complex type that describes a location where recorded videos will be
|
2855
3173
|
# stored.
|
2856
3174
|
#
|
data/lib/aws-sdk-ivsrealtime.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -152,7 +152,8 @@ module Aws
|
|
152
152
|
recording_reconnect_window_seconds: ::Integer?,
|
153
153
|
hls_configuration: {
|
154
154
|
target_segment_duration_seconds: ::Integer?
|
155
|
-
}
|
155
|
+
}?,
|
156
|
+
record_participant_replicas: bool?
|
156
157
|
}
|
157
158
|
) -> _CreateStageResponseSuccess
|
158
159
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStageResponseSuccess
|
@@ -378,6 +379,20 @@ module Aws
|
|
378
379
|
) -> _ListParticipantEventsResponseSuccess
|
379
380
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListParticipantEventsResponseSuccess
|
380
381
|
|
382
|
+
interface _ListParticipantReplicasResponseSuccess
|
383
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListParticipantReplicasResponse]
|
384
|
+
def replicas: () -> ::Array[Types::ParticipantReplica]
|
385
|
+
def next_token: () -> ::String
|
386
|
+
end
|
387
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#list_participant_replicas-instance_method
|
388
|
+
def list_participant_replicas: (
|
389
|
+
source_stage_arn: ::String,
|
390
|
+
participant_id: ::String,
|
391
|
+
?next_token: ::String,
|
392
|
+
?max_results: ::Integer
|
393
|
+
) -> _ListParticipantReplicasResponseSuccess
|
394
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListParticipantReplicasResponseSuccess
|
395
|
+
|
381
396
|
interface _ListParticipantsResponseSuccess
|
382
397
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListParticipantsResponse]
|
383
398
|
def participants: () -> ::Array[Types::ParticipantSummary]
|
@@ -513,6 +528,26 @@ module Aws
|
|
513
528
|
) -> _StartCompositionResponseSuccess
|
514
529
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCompositionResponseSuccess
|
515
530
|
|
531
|
+
interface _StartParticipantReplicationResponseSuccess
|
532
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartParticipantReplicationResponse]
|
533
|
+
def access_control_allow_origin: () -> ::String
|
534
|
+
def access_control_expose_headers: () -> ::String
|
535
|
+
def cache_control: () -> ::String
|
536
|
+
def content_security_policy: () -> ::String
|
537
|
+
def strict_transport_security: () -> ::String
|
538
|
+
def x_content_type_options: () -> ::String
|
539
|
+
def x_frame_options: () -> ::String
|
540
|
+
end
|
541
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#start_participant_replication-instance_method
|
542
|
+
def start_participant_replication: (
|
543
|
+
source_stage_arn: ::String,
|
544
|
+
destination_stage_arn: ::String,
|
545
|
+
participant_id: ::String,
|
546
|
+
?reconnect_window_seconds: ::Integer,
|
547
|
+
?attributes: Hash[::String, ::String]
|
548
|
+
) -> _StartParticipantReplicationResponseSuccess
|
549
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartParticipantReplicationResponseSuccess
|
550
|
+
|
516
551
|
interface _StopCompositionResponseSuccess
|
517
552
|
include ::Seahorse::Client::_ResponseSuccess[Types::StopCompositionResponse]
|
518
553
|
end
|
@@ -522,6 +557,24 @@ module Aws
|
|
522
557
|
) -> _StopCompositionResponseSuccess
|
523
558
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopCompositionResponseSuccess
|
524
559
|
|
560
|
+
interface _StopParticipantReplicationResponseSuccess
|
561
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopParticipantReplicationResponse]
|
562
|
+
def access_control_allow_origin: () -> ::String
|
563
|
+
def access_control_expose_headers: () -> ::String
|
564
|
+
def cache_control: () -> ::String
|
565
|
+
def content_security_policy: () -> ::String
|
566
|
+
def strict_transport_security: () -> ::String
|
567
|
+
def x_content_type_options: () -> ::String
|
568
|
+
def x_frame_options: () -> ::String
|
569
|
+
end
|
570
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#stop_participant_replication-instance_method
|
571
|
+
def stop_participant_replication: (
|
572
|
+
source_stage_arn: ::String,
|
573
|
+
destination_stage_arn: ::String,
|
574
|
+
participant_id: ::String
|
575
|
+
) -> _StopParticipantReplicationResponseSuccess
|
576
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopParticipantReplicationResponseSuccess
|
577
|
+
|
525
578
|
interface _TagResourceResponseSuccess
|
526
579
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
527
580
|
end
|
@@ -572,7 +625,8 @@ module Aws
|
|
572
625
|
recording_reconnect_window_seconds: ::Integer?,
|
573
626
|
hls_configuration: {
|
574
627
|
target_segment_duration_seconds: ::Integer?
|
575
|
-
}
|
628
|
+
}?,
|
629
|
+
record_participant_replicas: bool?
|
576
630
|
}
|
577
631
|
) -> _UpdateStageResponseSuccess
|
578
632
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStageResponseSuccess
|
data/sig/types.rbs
CHANGED
@@ -27,6 +27,7 @@ module Aws::IVSRealTime
|
|
27
27
|
attr_accessor thumbnail_configuration: Types::ParticipantThumbnailConfiguration
|
28
28
|
attr_accessor recording_reconnect_window_seconds: ::Integer
|
29
29
|
attr_accessor hls_configuration: Types::ParticipantRecordingHlsConfiguration
|
30
|
+
attr_accessor record_participant_replicas: bool
|
30
31
|
SENSITIVE: []
|
31
32
|
end
|
32
33
|
|
@@ -248,11 +249,14 @@ module Aws::IVSRealTime
|
|
248
249
|
end
|
249
250
|
|
250
251
|
class Event
|
251
|
-
attr_accessor name: ("JOINED" | "LEFT" | "PUBLISH_STARTED" | "PUBLISH_STOPPED" | "SUBSCRIBE_STARTED" | "SUBSCRIBE_STOPPED" | "PUBLISH_ERROR" | "SUBSCRIBE_ERROR" | "JOIN_ERROR")
|
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
253
|
attr_accessor participant_id: ::String
|
253
254
|
attr_accessor event_time: ::Time
|
254
255
|
attr_accessor remote_participant_id: ::String
|
255
256
|
attr_accessor error_code: ("INSUFFICIENT_CAPABILITIES" | "QUOTA_EXCEEDED" | "PUBLISHER_NOT_FOUND" | "BITRATE_EXCEEDED" | "RESOLUTION_EXCEEDED" | "STREAM_DURATION_EXCEEDED" | "INVALID_AUDIO_CODEC" | "INVALID_VIDEO_CODEC" | "INVALID_PROTOCOL" | "INVALID_STREAM_KEY" | "REUSE_OF_STREAM_KEY" | "B_FRAME_PRESENT" | "INVALID_INPUT" | "INTERNAL_SERVER_EXCEPTION")
|
257
|
+
attr_accessor destination_stage_arn: ::String
|
258
|
+
attr_accessor destination_session_id: ::String
|
259
|
+
attr_accessor replica: bool
|
256
260
|
SENSITIVE: []
|
257
261
|
end
|
258
262
|
|
@@ -459,6 +463,20 @@ module Aws::IVSRealTime
|
|
459
463
|
SENSITIVE: []
|
460
464
|
end
|
461
465
|
|
466
|
+
class ListParticipantReplicasRequest
|
467
|
+
attr_accessor source_stage_arn: ::String
|
468
|
+
attr_accessor participant_id: ::String
|
469
|
+
attr_accessor next_token: ::String
|
470
|
+
attr_accessor max_results: ::Integer
|
471
|
+
SENSITIVE: []
|
472
|
+
end
|
473
|
+
|
474
|
+
class ListParticipantReplicasResponse
|
475
|
+
attr_accessor replicas: ::Array[Types::ParticipantReplica]
|
476
|
+
attr_accessor next_token: ::String
|
477
|
+
SENSITIVE: []
|
478
|
+
end
|
479
|
+
|
462
480
|
class ListParticipantsRequest
|
463
481
|
attr_accessor stage_arn: ::String
|
464
482
|
attr_accessor session_id: ::String
|
@@ -553,6 +571,10 @@ module Aws::IVSRealTime
|
|
553
571
|
attr_accessor recording_s3_prefix: ::String
|
554
572
|
attr_accessor recording_state: ("STARTING" | "ACTIVE" | "STOPPING" | "STOPPED" | "FAILED" | "DISABLED")
|
555
573
|
attr_accessor protocol: ("UNKNOWN" | "WHIP" | "RTMP" | "RTMPS")
|
574
|
+
attr_accessor replication_type: ("SOURCE" | "REPLICA" | "NONE")
|
575
|
+
attr_accessor replication_state: ("ACTIVE" | "STOPPED")
|
576
|
+
attr_accessor source_stage_arn: ::String
|
577
|
+
attr_accessor source_session_id: ::String
|
556
578
|
SENSITIVE: []
|
557
579
|
end
|
558
580
|
|
@@ -561,6 +583,16 @@ module Aws::IVSRealTime
|
|
561
583
|
SENSITIVE: []
|
562
584
|
end
|
563
585
|
|
586
|
+
class ParticipantReplica
|
587
|
+
attr_accessor source_stage_arn: ::String
|
588
|
+
attr_accessor participant_id: ::String
|
589
|
+
attr_accessor source_session_id: ::String
|
590
|
+
attr_accessor destination_stage_arn: ::String
|
591
|
+
attr_accessor destination_session_id: ::String
|
592
|
+
attr_accessor replication_state: ("ACTIVE" | "STOPPED")
|
593
|
+
SENSITIVE: []
|
594
|
+
end
|
595
|
+
|
564
596
|
class ParticipantSummary
|
565
597
|
attr_accessor participant_id: ::String
|
566
598
|
attr_accessor user_id: ::String
|
@@ -568,6 +600,10 @@ module Aws::IVSRealTime
|
|
568
600
|
attr_accessor first_join_time: ::Time
|
569
601
|
attr_accessor published: bool
|
570
602
|
attr_accessor recording_state: ("STARTING" | "ACTIVE" | "STOPPING" | "STOPPED" | "FAILED" | "DISABLED")
|
603
|
+
attr_accessor replication_type: ("SOURCE" | "REPLICA" | "NONE")
|
604
|
+
attr_accessor replication_state: ("ACTIVE" | "STOPPED")
|
605
|
+
attr_accessor source_stage_arn: ::String
|
606
|
+
attr_accessor source_session_id: ::String
|
571
607
|
SENSITIVE: []
|
572
608
|
end
|
573
609
|
|
@@ -744,6 +780,26 @@ module Aws::IVSRealTime
|
|
744
780
|
SENSITIVE: []
|
745
781
|
end
|
746
782
|
|
783
|
+
class StartParticipantReplicationRequest
|
784
|
+
attr_accessor source_stage_arn: ::String
|
785
|
+
attr_accessor destination_stage_arn: ::String
|
786
|
+
attr_accessor participant_id: ::String
|
787
|
+
attr_accessor reconnect_window_seconds: ::Integer
|
788
|
+
attr_accessor attributes: ::Hash[::String, ::String]
|
789
|
+
SENSITIVE: []
|
790
|
+
end
|
791
|
+
|
792
|
+
class StartParticipantReplicationResponse
|
793
|
+
attr_accessor access_control_allow_origin: ::String
|
794
|
+
attr_accessor access_control_expose_headers: ::String
|
795
|
+
attr_accessor cache_control: ::String
|
796
|
+
attr_accessor content_security_policy: ::String
|
797
|
+
attr_accessor strict_transport_security: ::String
|
798
|
+
attr_accessor x_content_type_options: ::String
|
799
|
+
attr_accessor x_frame_options: ::String
|
800
|
+
SENSITIVE: []
|
801
|
+
end
|
802
|
+
|
747
803
|
class StopCompositionRequest
|
748
804
|
attr_accessor arn: ::String
|
749
805
|
SENSITIVE: []
|
@@ -752,6 +808,24 @@ module Aws::IVSRealTime
|
|
752
808
|
class StopCompositionResponse < Aws::EmptyStructure
|
753
809
|
end
|
754
810
|
|
811
|
+
class StopParticipantReplicationRequest
|
812
|
+
attr_accessor source_stage_arn: ::String
|
813
|
+
attr_accessor destination_stage_arn: ::String
|
814
|
+
attr_accessor participant_id: ::String
|
815
|
+
SENSITIVE: []
|
816
|
+
end
|
817
|
+
|
818
|
+
class StopParticipantReplicationResponse
|
819
|
+
attr_accessor access_control_allow_origin: ::String
|
820
|
+
attr_accessor access_control_expose_headers: ::String
|
821
|
+
attr_accessor cache_control: ::String
|
822
|
+
attr_accessor content_security_policy: ::String
|
823
|
+
attr_accessor strict_transport_security: ::String
|
824
|
+
attr_accessor x_content_type_options: ::String
|
825
|
+
attr_accessor x_frame_options: ::String
|
826
|
+
SENSITIVE: []
|
827
|
+
end
|
828
|
+
|
755
829
|
class StorageConfiguration
|
756
830
|
attr_accessor arn: ::String
|
757
831
|
attr_accessor name: ::String
|