aws-sdk-ivsrealtime 1.19.0 → 1.21.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.
@@ -0,0 +1,15 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ require 'aws-sdk-core/waiters'
11
+
12
+ module Aws::IVSRealTime
13
+ module Waiters
14
+ end
15
+ end
@@ -16,6 +16,7 @@ require_relative 'aws-sdk-ivsrealtime/client_api'
16
16
  require_relative 'aws-sdk-ivsrealtime/plugins/endpoints.rb'
17
17
  require_relative 'aws-sdk-ivsrealtime/client'
18
18
  require_relative 'aws-sdk-ivsrealtime/errors'
19
+ require_relative 'aws-sdk-ivsrealtime/waiters'
19
20
  require_relative 'aws-sdk-ivsrealtime/resource'
20
21
  require_relative 'aws-sdk-ivsrealtime/endpoint_parameters'
21
22
  require_relative 'aws-sdk-ivsrealtime/endpoint_provider'
@@ -52,6 +53,6 @@ require_relative 'aws-sdk-ivsrealtime/customizations'
52
53
  # @!group service
53
54
  module Aws::IVSRealTime
54
55
 
55
- GEM_VERSION = '1.19.0'
56
+ GEM_VERSION = '1.21.0'
56
57
 
57
58
  end
data/sig/client.rbs CHANGED
@@ -79,13 +79,13 @@ module Aws
79
79
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#create_encoder_configuration-instance_method
80
80
  def create_encoder_configuration: (
81
81
  ?name: ::String,
82
- ?tags: Hash[::String, ::String],
83
82
  ?video: {
84
- bitrate: ::Integer?,
85
- framerate: ::Float?,
83
+ width: ::Integer?,
86
84
  height: ::Integer?,
87
- width: ::Integer?
88
- }
85
+ framerate: ::Float?,
86
+ bitrate: ::Integer?
87
+ },
88
+ ?tags: Hash[::String, ::String]
89
89
  ) -> _CreateEncoderConfigurationResponseSuccess
90
90
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEncoderConfigurationResponseSuccess
91
91
 
@@ -95,31 +95,35 @@ module Aws
95
95
  end
96
96
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#create_participant_token-instance_method
97
97
  def create_participant_token: (
98
- ?attributes: Hash[::String, ::String],
99
- ?capabilities: Array[("PUBLISH" | "SUBSCRIBE")],
100
- ?duration: ::Integer,
101
98
  stage_arn: ::String,
102
- ?user_id: ::String
99
+ ?duration: ::Integer,
100
+ ?user_id: ::String,
101
+ ?attributes: Hash[::String, ::String],
102
+ ?capabilities: Array[("PUBLISH" | "SUBSCRIBE")]
103
103
  ) -> _CreateParticipantTokenResponseSuccess
104
104
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateParticipantTokenResponseSuccess
105
105
 
106
106
  interface _CreateStageResponseSuccess
107
107
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateStageResponse]
108
- def participant_tokens: () -> ::Array[Types::ParticipantToken]
109
108
  def stage: () -> Types::Stage
109
+ def participant_tokens: () -> ::Array[Types::ParticipantToken]
110
110
  end
111
111
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#create_stage-instance_method
112
112
  def create_stage: (
113
113
  ?name: ::String,
114
114
  ?participant_token_configurations: Array[
115
115
  {
116
- attributes: Hash[::String, ::String]?,
117
- capabilities: Array[("PUBLISH" | "SUBSCRIBE")]?,
118
116
  duration: ::Integer?,
119
- user_id: ::String?
117
+ user_id: ::String?,
118
+ attributes: Hash[::String, ::String]?,
119
+ capabilities: Array[("PUBLISH" | "SUBSCRIBE")]?
120
120
  },
121
121
  ],
122
- ?tags: Hash[::String, ::String]
122
+ ?tags: Hash[::String, ::String],
123
+ ?auto_participant_recording_configuration: {
124
+ storage_configuration_arn: ::String,
125
+ media_types: Array[("AUDIO_VIDEO" | "AUDIO_ONLY")]?
126
+ }
123
127
  ) -> _CreateStageResponseSuccess
124
128
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateStageResponseSuccess
125
129
 
@@ -169,9 +173,9 @@ module Aws
169
173
  end
170
174
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#disconnect_participant-instance_method
171
175
  def disconnect_participant: (
176
+ stage_arn: ::String,
172
177
  participant_id: ::String,
173
- ?reason: ::String,
174
- stage_arn: ::String
178
+ ?reason: ::String
175
179
  ) -> _DisconnectParticipantResponseSuccess
176
180
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisconnectParticipantResponseSuccess
177
181
 
@@ -201,9 +205,9 @@ module Aws
201
205
  end
202
206
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#get_participant-instance_method
203
207
  def get_participant: (
204
- participant_id: ::String,
208
+ stage_arn: ::String,
205
209
  session_id: ::String,
206
- stage_arn: ::String
210
+ participant_id: ::String
207
211
  ) -> _GetParticipantResponseSuccess
208
212
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetParticipantResponseSuccess
209
213
 
@@ -223,8 +227,8 @@ module Aws
223
227
  end
224
228
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#get_stage_session-instance_method
225
229
  def get_stage_session: (
226
- session_id: ::String,
227
- stage_arn: ::String
230
+ stage_arn: ::String,
231
+ session_id: ::String
228
232
  ) -> _GetStageSessionResponseSuccess
229
233
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetStageSessionResponseSuccess
230
234
 
@@ -245,10 +249,10 @@ module Aws
245
249
  end
246
250
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#list_compositions-instance_method
247
251
  def list_compositions: (
248
- ?filter_by_encoder_configuration_arn: ::String,
249
252
  ?filter_by_stage_arn: ::String,
250
- ?max_results: ::Integer,
251
- ?next_token: ::String
253
+ ?filter_by_encoder_configuration_arn: ::String,
254
+ ?next_token: ::String,
255
+ ?max_results: ::Integer
252
256
  ) -> _ListCompositionsResponseSuccess
253
257
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCompositionsResponseSuccess
254
258
 
@@ -259,8 +263,8 @@ module Aws
259
263
  end
260
264
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#list_encoder_configurations-instance_method
261
265
  def list_encoder_configurations: (
262
- ?max_results: ::Integer,
263
- ?next_token: ::String
266
+ ?next_token: ::String,
267
+ ?max_results: ::Integer
264
268
  ) -> _ListEncoderConfigurationsResponseSuccess
265
269
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEncoderConfigurationsResponseSuccess
266
270
 
@@ -271,65 +275,66 @@ module Aws
271
275
  end
272
276
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#list_participant_events-instance_method
273
277
  def list_participant_events: (
274
- ?max_results: ::Integer,
275
- ?next_token: ::String,
276
- participant_id: ::String,
278
+ stage_arn: ::String,
277
279
  session_id: ::String,
278
- stage_arn: ::String
280
+ participant_id: ::String,
281
+ ?next_token: ::String,
282
+ ?max_results: ::Integer
279
283
  ) -> _ListParticipantEventsResponseSuccess
280
284
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListParticipantEventsResponseSuccess
281
285
 
282
286
  interface _ListParticipantsResponseSuccess
283
287
  include ::Seahorse::Client::_ResponseSuccess[Types::ListParticipantsResponse]
284
- def next_token: () -> ::String
285
288
  def participants: () -> ::Array[Types::ParticipantSummary]
289
+ def next_token: () -> ::String
286
290
  end
287
291
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#list_participants-instance_method
288
292
  def list_participants: (
293
+ stage_arn: ::String,
294
+ session_id: ::String,
295
+ ?filter_by_user_id: ::String,
289
296
  ?filter_by_published: bool,
290
297
  ?filter_by_state: ("CONNECTED" | "DISCONNECTED"),
291
- ?filter_by_user_id: ::String,
292
- ?max_results: ::Integer,
293
298
  ?next_token: ::String,
294
- session_id: ::String,
295
- stage_arn: ::String
299
+ ?max_results: ::Integer,
300
+ ?filter_by_recording_state: ("STARTING" | "ACTIVE" | "STOPPING" | "STOPPED" | "FAILED")
296
301
  ) -> _ListParticipantsResponseSuccess
297
302
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListParticipantsResponseSuccess
298
303
 
299
304
  interface _ListStageSessionsResponseSuccess
300
305
  include ::Seahorse::Client::_ResponseSuccess[Types::ListStageSessionsResponse]
301
- def next_token: () -> ::String
302
306
  def stage_sessions: () -> ::Array[Types::StageSessionSummary]
307
+ def next_token: () -> ::String
303
308
  end
304
309
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#list_stage_sessions-instance_method
305
310
  def list_stage_sessions: (
306
- ?max_results: ::Integer,
311
+ stage_arn: ::String,
307
312
  ?next_token: ::String,
308
- stage_arn: ::String
313
+ ?max_results: ::Integer
309
314
  ) -> _ListStageSessionsResponseSuccess
310
315
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStageSessionsResponseSuccess
311
316
 
312
317
  interface _ListStagesResponseSuccess
313
318
  include ::Seahorse::Client::_ResponseSuccess[Types::ListStagesResponse]
314
- def next_token: () -> ::String
315
319
  def stages: () -> ::Array[Types::StageSummary]
320
+ def next_token: () -> ::String
316
321
  end
317
322
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#list_stages-instance_method
318
323
  def list_stages: (
319
- ?max_results: ::Integer,
320
- ?next_token: ::String
324
+ ?next_token: ::String,
325
+ ?max_results: ::Integer
321
326
  ) -> _ListStagesResponseSuccess
322
327
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStagesResponseSuccess
323
328
 
324
329
  interface _ListStorageConfigurationsResponseSuccess
325
330
  include ::Seahorse::Client::_ResponseSuccess[Types::ListStorageConfigurationsResponse]
326
- def next_token: () -> ::String
327
331
  def storage_configurations: () -> ::Array[Types::StorageConfigurationSummary]
332
+ def next_token: () -> ::String
328
333
  end
329
334
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#list_storage_configurations-instance_method
330
335
  def list_storage_configurations: (
331
- ?max_results: ::Integer,
332
- ?next_token: ::String
336
+ ?next_token: ::String,
337
+ ?max_results: ::Integer
333
338
  ) -> _ListStorageConfigurationsResponseSuccess
334
339
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStorageConfigurationsResponseSuccess
335
340
 
@@ -349,45 +354,45 @@ module Aws
349
354
  end
350
355
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#start_composition-instance_method
351
356
  def start_composition: (
352
- destinations: Array[
353
- {
354
- channel: {
355
- channel_arn: ::String,
356
- encoder_configuration_arn: ::String?
357
- }?,
358
- name: ::String?,
359
- s3: {
360
- encoder_configuration_arns: Array[::String],
361
- recording_configuration: {
362
- format: ("HLS")?
363
- }?,
364
- storage_configuration_arn: ::String
365
- }?
366
- },
367
- ],
357
+ stage_arn: ::String,
368
358
  ?idempotency_token: ::String,
369
359
  ?layout: {
370
360
  grid: {
371
361
  featured_participant_attribute: ::String?,
372
- grid_gap: ::Integer?,
373
362
  omit_stopped_video: bool?,
374
363
  video_aspect_ratio: ("AUTO" | "VIDEO" | "SQUARE" | "PORTRAIT")?,
375
- video_fill_mode: ("FILL" | "COVER" | "CONTAIN")?
364
+ video_fill_mode: ("FILL" | "COVER" | "CONTAIN")?,
365
+ grid_gap: ::Integer?
376
366
  }?,
377
367
  pip: {
378
368
  featured_participant_attribute: ::String?,
379
- grid_gap: ::Integer?,
380
369
  omit_stopped_video: bool?,
370
+ video_fill_mode: ("FILL" | "COVER" | "CONTAIN")?,
371
+ grid_gap: ::Integer?,
372
+ pip_participant_attribute: ::String?,
381
373
  pip_behavior: ("STATIC" | "DYNAMIC")?,
382
- pip_height: ::Integer?,
383
374
  pip_offset: ::Integer?,
384
- pip_participant_attribute: ::String?,
385
375
  pip_position: ("TOP_LEFT" | "TOP_RIGHT" | "BOTTOM_LEFT" | "BOTTOM_RIGHT")?,
386
376
  pip_width: ::Integer?,
387
- video_fill_mode: ("FILL" | "COVER" | "CONTAIN")?
377
+ pip_height: ::Integer?
388
378
  }?
389
379
  },
390
- stage_arn: ::String,
380
+ destinations: Array[
381
+ {
382
+ name: ::String?,
383
+ channel: {
384
+ channel_arn: ::String,
385
+ encoder_configuration_arn: ::String?
386
+ }?,
387
+ s3: {
388
+ storage_configuration_arn: ::String,
389
+ encoder_configuration_arns: Array[::String],
390
+ recording_configuration: {
391
+ format: ("HLS")?
392
+ }?
393
+ }?
394
+ },
395
+ ],
391
396
  ?tags: Hash[::String, ::String]
392
397
  ) -> _StartCompositionResponseSuccess
393
398
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCompositionResponseSuccess
@@ -428,7 +433,11 @@ module Aws
428
433
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IVSRealTime/Client.html#update_stage-instance_method
429
434
  def update_stage: (
430
435
  arn: ::String,
431
- ?name: ::String
436
+ ?name: ::String,
437
+ ?auto_participant_recording_configuration: {
438
+ storage_configuration_arn: ::String,
439
+ media_types: Array[("AUDIO_VIDEO" | "AUDIO_ONLY")]?
440
+ }
432
441
  ) -> _UpdateStageResponseSuccess
433
442
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateStageResponseSuccess
434
443
  end