aws-sdk-mediaconnect 1.28.0 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +178 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-mediaconnect.rb +4 -3
- data/lib/aws-sdk-mediaconnect/client.rb +735 -59
- data/lib/aws-sdk-mediaconnect/client_api.rb +255 -2
- data/lib/aws-sdk-mediaconnect/errors.rb +1 -1
- data/lib/aws-sdk-mediaconnect/resource.rb +1 -1
- data/lib/aws-sdk-mediaconnect/types.rb +1256 -40
- data/lib/aws-sdk-mediaconnect/waiters.rb +266 -0
- metadata +12 -9
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,13 +3,80 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
10
|
module Aws::MediaConnect
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Adds media streams to an existing flow.
|
14
|
+
#
|
15
|
+
# @note When making an API call, you may pass AddFlowMediaStreamsRequest
|
16
|
+
# data as a hash:
|
17
|
+
#
|
18
|
+
# {
|
19
|
+
# flow_arn: "__string", # required
|
20
|
+
# media_streams: [ # required
|
21
|
+
# {
|
22
|
+
# attributes: {
|
23
|
+
# fmtp: {
|
24
|
+
# channel_order: "__string",
|
25
|
+
# colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
|
26
|
+
# exact_framerate: "__string",
|
27
|
+
# par: "__string",
|
28
|
+
# range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
|
29
|
+
# scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
|
30
|
+
# tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
|
31
|
+
# },
|
32
|
+
# lang: "__string",
|
33
|
+
# },
|
34
|
+
# clock_rate: 1,
|
35
|
+
# description: "__string",
|
36
|
+
# media_stream_id: 1, # required
|
37
|
+
# media_stream_name: "__string", # required
|
38
|
+
# media_stream_type: "video", # required, accepts video, audio, ancillary-data
|
39
|
+
# video_format: "__string",
|
40
|
+
# },
|
41
|
+
# ],
|
42
|
+
# }
|
43
|
+
#
|
44
|
+
# @!attribute [rw] flow_arn
|
45
|
+
# @return [String]
|
46
|
+
#
|
47
|
+
# @!attribute [rw] media_streams
|
48
|
+
# The media streams that you want to add to the flow.
|
49
|
+
# @return [Array<Types::AddMediaStreamRequest>]
|
50
|
+
#
|
51
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowMediaStreamsRequest AWS API Documentation
|
52
|
+
#
|
53
|
+
class AddFlowMediaStreamsRequest < Struct.new(
|
54
|
+
:flow_arn,
|
55
|
+
:media_streams)
|
56
|
+
SENSITIVE = []
|
57
|
+
include Aws::Structure
|
58
|
+
end
|
59
|
+
|
60
|
+
# The result of a successful AddFlowMediaStreamsRequest request. The
|
61
|
+
# response includes the details of the newly added media streams.
|
62
|
+
#
|
63
|
+
# @!attribute [rw] flow_arn
|
64
|
+
# The ARN of the flow that you added media streams to.
|
65
|
+
# @return [String]
|
66
|
+
#
|
67
|
+
# @!attribute [rw] media_streams
|
68
|
+
# The media streams that you added to the flow.
|
69
|
+
# @return [Array<Types::MediaStream>]
|
70
|
+
#
|
71
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddFlowMediaStreamsResponse AWS API Documentation
|
72
|
+
#
|
73
|
+
class AddFlowMediaStreamsResponse < Struct.new(
|
74
|
+
:flow_arn,
|
75
|
+
:media_streams)
|
76
|
+
SENSITIVE = []
|
77
|
+
include Aws::Structure
|
78
|
+
end
|
79
|
+
|
13
80
|
# Exception raised by AWS Elemental MediaConnect. See the error message
|
14
81
|
# and documentation for the operation for more information on the cause
|
15
82
|
# of this exception.
|
@@ -39,10 +106,10 @@ module Aws::MediaConnect
|
|
39
106
|
# description: "__string",
|
40
107
|
# destination: "__string",
|
41
108
|
# encryption: {
|
42
|
-
# algorithm: "aes128", #
|
109
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
43
110
|
# constant_initialization_vector: "__string",
|
44
111
|
# device_id: "__string",
|
45
|
-
# key_type: "speke", # accepts speke, static-key
|
112
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
46
113
|
# region: "__string",
|
47
114
|
# resource_id: "__string",
|
48
115
|
# role_arn: "__string", # required
|
@@ -50,9 +117,29 @@ module Aws::MediaConnect
|
|
50
117
|
# url: "__string",
|
51
118
|
# },
|
52
119
|
# max_latency: 1,
|
120
|
+
# media_stream_output_configurations: [
|
121
|
+
# {
|
122
|
+
# destination_configurations: [
|
123
|
+
# {
|
124
|
+
# destination_ip: "__string", # required
|
125
|
+
# destination_port: 1, # required
|
126
|
+
# interface: { # required
|
127
|
+
# name: "__string", # required
|
128
|
+
# },
|
129
|
+
# },
|
130
|
+
# ],
|
131
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
132
|
+
# encoding_parameters: {
|
133
|
+
# compression_factor: 1.0, # required
|
134
|
+
# encoder_profile: "main", # required, accepts main, high
|
135
|
+
# },
|
136
|
+
# media_stream_name: "__string", # required
|
137
|
+
# },
|
138
|
+
# ],
|
139
|
+
# min_latency: 1,
|
53
140
|
# name: "__string",
|
54
141
|
# port: 1,
|
55
|
-
# protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
142
|
+
# protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
56
143
|
# remote_id: "__string",
|
57
144
|
# smoothing_latency: 1,
|
58
145
|
# stream_id: "__string",
|
@@ -109,10 +196,10 @@ module Aws::MediaConnect
|
|
109
196
|
# sources: [ # required
|
110
197
|
# {
|
111
198
|
# decryption: {
|
112
|
-
# algorithm: "aes128", #
|
199
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
113
200
|
# constant_initialization_vector: "__string",
|
114
201
|
# device_id: "__string",
|
115
|
-
# key_type: "speke", # accepts speke, static-key
|
202
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
116
203
|
# region: "__string",
|
117
204
|
# resource_id: "__string",
|
118
205
|
# role_arn: "__string", # required
|
@@ -124,8 +211,24 @@ module Aws::MediaConnect
|
|
124
211
|
# ingest_port: 1,
|
125
212
|
# max_bitrate: 1,
|
126
213
|
# max_latency: 1,
|
214
|
+
# max_sync_buffer: 1,
|
215
|
+
# media_stream_source_configurations: [
|
216
|
+
# {
|
217
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
218
|
+
# input_configurations: [
|
219
|
+
# {
|
220
|
+
# input_port: 1, # required
|
221
|
+
# interface: { # required
|
222
|
+
# name: "__string", # required
|
223
|
+
# },
|
224
|
+
# },
|
225
|
+
# ],
|
226
|
+
# media_stream_name: "__string", # required
|
227
|
+
# },
|
228
|
+
# ],
|
229
|
+
# min_latency: 1,
|
127
230
|
# name: "__string",
|
128
|
-
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
231
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
129
232
|
# stream_id: "__string",
|
130
233
|
# vpc_interface_name: "__string",
|
131
234
|
# whitelist_cidr: "__string",
|
@@ -179,6 +282,7 @@ module Aws::MediaConnect
|
|
179
282
|
# vpc_interfaces: [ # required
|
180
283
|
# {
|
181
284
|
# name: "__string", # required
|
285
|
+
# network_interface_type: "ena", # accepts ena, efa
|
182
286
|
# role_arn: "__string", # required
|
183
287
|
# security_group_ids: ["__string"], # required
|
184
288
|
# subnet_id: "__string", # required
|
@@ -222,6 +326,77 @@ module Aws::MediaConnect
|
|
222
326
|
include Aws::Structure
|
223
327
|
end
|
224
328
|
|
329
|
+
# The media stream that you want to add to the flow.
|
330
|
+
#
|
331
|
+
# @note When making an API call, you may pass AddMediaStreamRequest
|
332
|
+
# data as a hash:
|
333
|
+
#
|
334
|
+
# {
|
335
|
+
# attributes: {
|
336
|
+
# fmtp: {
|
337
|
+
# channel_order: "__string",
|
338
|
+
# colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
|
339
|
+
# exact_framerate: "__string",
|
340
|
+
# par: "__string",
|
341
|
+
# range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
|
342
|
+
# scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
|
343
|
+
# tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
|
344
|
+
# },
|
345
|
+
# lang: "__string",
|
346
|
+
# },
|
347
|
+
# clock_rate: 1,
|
348
|
+
# description: "__string",
|
349
|
+
# media_stream_id: 1, # required
|
350
|
+
# media_stream_name: "__string", # required
|
351
|
+
# media_stream_type: "video", # required, accepts video, audio, ancillary-data
|
352
|
+
# video_format: "__string",
|
353
|
+
# }
|
354
|
+
#
|
355
|
+
# @!attribute [rw] attributes
|
356
|
+
# The attributes that you want to assign to the new media stream.
|
357
|
+
# @return [Types::MediaStreamAttributesRequest]
|
358
|
+
#
|
359
|
+
# @!attribute [rw] clock_rate
|
360
|
+
# The sample rate (in Hz) for the stream. If the media stream type is
|
361
|
+
# video or ancillary data, set this value to 90000. If the media
|
362
|
+
# stream type is audio, set this value to either 48000 or 96000.
|
363
|
+
# @return [Integer]
|
364
|
+
#
|
365
|
+
# @!attribute [rw] description
|
366
|
+
# A description that can help you quickly identify what your media
|
367
|
+
# stream is used for.
|
368
|
+
# @return [String]
|
369
|
+
#
|
370
|
+
# @!attribute [rw] media_stream_id
|
371
|
+
# A unique identifier for the media stream.
|
372
|
+
# @return [Integer]
|
373
|
+
#
|
374
|
+
# @!attribute [rw] media_stream_name
|
375
|
+
# A name that helps you distinguish one media stream from another.
|
376
|
+
# @return [String]
|
377
|
+
#
|
378
|
+
# @!attribute [rw] media_stream_type
|
379
|
+
# The type of media stream.
|
380
|
+
# @return [String]
|
381
|
+
#
|
382
|
+
# @!attribute [rw] video_format
|
383
|
+
# The resolution of the video.
|
384
|
+
# @return [String]
|
385
|
+
#
|
386
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/AddMediaStreamRequest AWS API Documentation
|
387
|
+
#
|
388
|
+
class AddMediaStreamRequest < Struct.new(
|
389
|
+
:attributes,
|
390
|
+
:clock_rate,
|
391
|
+
:description,
|
392
|
+
:media_stream_id,
|
393
|
+
:media_stream_name,
|
394
|
+
:media_stream_type,
|
395
|
+
:video_format)
|
396
|
+
SENSITIVE = []
|
397
|
+
include Aws::Structure
|
398
|
+
end
|
399
|
+
|
225
400
|
# The output that you want to add to this flow.
|
226
401
|
#
|
227
402
|
# @note When making an API call, you may pass AddOutputRequest
|
@@ -232,10 +407,10 @@ module Aws::MediaConnect
|
|
232
407
|
# description: "__string",
|
233
408
|
# destination: "__string",
|
234
409
|
# encryption: {
|
235
|
-
# algorithm: "aes128", #
|
410
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
236
411
|
# constant_initialization_vector: "__string",
|
237
412
|
# device_id: "__string",
|
238
|
-
# key_type: "speke", # accepts speke, static-key
|
413
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
239
414
|
# region: "__string",
|
240
415
|
# resource_id: "__string",
|
241
416
|
# role_arn: "__string", # required
|
@@ -243,9 +418,29 @@ module Aws::MediaConnect
|
|
243
418
|
# url: "__string",
|
244
419
|
# },
|
245
420
|
# max_latency: 1,
|
421
|
+
# media_stream_output_configurations: [
|
422
|
+
# {
|
423
|
+
# destination_configurations: [
|
424
|
+
# {
|
425
|
+
# destination_ip: "__string", # required
|
426
|
+
# destination_port: 1, # required
|
427
|
+
# interface: { # required
|
428
|
+
# name: "__string", # required
|
429
|
+
# },
|
430
|
+
# },
|
431
|
+
# ],
|
432
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
433
|
+
# encoding_parameters: {
|
434
|
+
# compression_factor: 1.0, # required
|
435
|
+
# encoder_profile: "main", # required, accepts main, high
|
436
|
+
# },
|
437
|
+
# media_stream_name: "__string", # required
|
438
|
+
# },
|
439
|
+
# ],
|
440
|
+
# min_latency: 1,
|
246
441
|
# name: "__string",
|
247
442
|
# port: 1,
|
248
|
-
# protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
443
|
+
# protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
249
444
|
# remote_id: "__string",
|
250
445
|
# smoothing_latency: 1,
|
251
446
|
# stream_id: "__string",
|
@@ -280,6 +475,20 @@ module Aws::MediaConnect
|
|
280
475
|
# The maximum latency in milliseconds for Zixi-based streams.
|
281
476
|
# @return [Integer]
|
282
477
|
#
|
478
|
+
# @!attribute [rw] media_stream_output_configurations
|
479
|
+
# The media streams that are associated with the output, and the
|
480
|
+
# parameters for those associations.
|
481
|
+
# @return [Array<Types::MediaStreamOutputConfigurationRequest>]
|
482
|
+
#
|
483
|
+
# @!attribute [rw] min_latency
|
484
|
+
# The minimum latency in milliseconds for SRT-based streams. In
|
485
|
+
# streams that use the SRT protocol, this value that you set on your
|
486
|
+
# MediaConnect source or output represents the minimal potential
|
487
|
+
# latency of that connection. The latency of the stream is set to the
|
488
|
+
# highest number between the sender’s minimum latency and the
|
489
|
+
# receiver’s minimum latency.
|
490
|
+
# @return [Integer]
|
491
|
+
#
|
283
492
|
# @!attribute [rw] name
|
284
493
|
# The name of the output. This value must be unique within the current
|
285
494
|
# flow.
|
@@ -319,6 +528,8 @@ module Aws::MediaConnect
|
|
319
528
|
:destination,
|
320
529
|
:encryption,
|
321
530
|
:max_latency,
|
531
|
+
:media_stream_output_configurations,
|
532
|
+
:min_latency,
|
322
533
|
:name,
|
323
534
|
:port,
|
324
535
|
:protocol,
|
@@ -361,7 +572,7 @@ module Aws::MediaConnect
|
|
361
572
|
end
|
362
573
|
|
363
574
|
# Creates a new flow. The request must include one source. The request
|
364
|
-
# optionally can include outputs (up to 50) and
|
575
|
+
# optionally can include outputs (up to 50) and entitlements (up to 50.)
|
365
576
|
#
|
366
577
|
# @note When making an API call, you may pass CreateFlowRequest
|
367
578
|
# data as a hash:
|
@@ -373,10 +584,10 @@ module Aws::MediaConnect
|
|
373
584
|
# data_transfer_subscriber_fee_percent: 1,
|
374
585
|
# description: "__string",
|
375
586
|
# encryption: {
|
376
|
-
# algorithm: "aes128", #
|
587
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
377
588
|
# constant_initialization_vector: "__string",
|
378
589
|
# device_id: "__string",
|
379
|
-
# key_type: "speke", # accepts speke, static-key
|
590
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
380
591
|
# region: "__string",
|
381
592
|
# resource_id: "__string",
|
382
593
|
# role_arn: "__string", # required
|
@@ -388,6 +599,28 @@ module Aws::MediaConnect
|
|
388
599
|
# subscribers: ["__string"], # required
|
389
600
|
# },
|
390
601
|
# ],
|
602
|
+
# media_streams: [
|
603
|
+
# {
|
604
|
+
# attributes: {
|
605
|
+
# fmtp: {
|
606
|
+
# channel_order: "__string",
|
607
|
+
# colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
|
608
|
+
# exact_framerate: "__string",
|
609
|
+
# par: "__string",
|
610
|
+
# range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
|
611
|
+
# scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
|
612
|
+
# tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
|
613
|
+
# },
|
614
|
+
# lang: "__string",
|
615
|
+
# },
|
616
|
+
# clock_rate: 1,
|
617
|
+
# description: "__string",
|
618
|
+
# media_stream_id: 1, # required
|
619
|
+
# media_stream_name: "__string", # required
|
620
|
+
# media_stream_type: "video", # required, accepts video, audio, ancillary-data
|
621
|
+
# video_format: "__string",
|
622
|
+
# },
|
623
|
+
# ],
|
391
624
|
# name: "__string", # required
|
392
625
|
# outputs: [
|
393
626
|
# {
|
@@ -395,10 +628,10 @@ module Aws::MediaConnect
|
|
395
628
|
# description: "__string",
|
396
629
|
# destination: "__string",
|
397
630
|
# encryption: {
|
398
|
-
# algorithm: "aes128", #
|
631
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
399
632
|
# constant_initialization_vector: "__string",
|
400
633
|
# device_id: "__string",
|
401
|
-
# key_type: "speke", # accepts speke, static-key
|
634
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
402
635
|
# region: "__string",
|
403
636
|
# resource_id: "__string",
|
404
637
|
# role_arn: "__string", # required
|
@@ -406,9 +639,29 @@ module Aws::MediaConnect
|
|
406
639
|
# url: "__string",
|
407
640
|
# },
|
408
641
|
# max_latency: 1,
|
642
|
+
# media_stream_output_configurations: [
|
643
|
+
# {
|
644
|
+
# destination_configurations: [
|
645
|
+
# {
|
646
|
+
# destination_ip: "__string", # required
|
647
|
+
# destination_port: 1, # required
|
648
|
+
# interface: { # required
|
649
|
+
# name: "__string", # required
|
650
|
+
# },
|
651
|
+
# },
|
652
|
+
# ],
|
653
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
654
|
+
# encoding_parameters: {
|
655
|
+
# compression_factor: 1.0, # required
|
656
|
+
# encoder_profile: "main", # required, accepts main, high
|
657
|
+
# },
|
658
|
+
# media_stream_name: "__string", # required
|
659
|
+
# },
|
660
|
+
# ],
|
661
|
+
# min_latency: 1,
|
409
662
|
# name: "__string",
|
410
663
|
# port: 1,
|
411
|
-
# protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
664
|
+
# protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
412
665
|
# remote_id: "__string",
|
413
666
|
# smoothing_latency: 1,
|
414
667
|
# stream_id: "__string",
|
@@ -419,10 +672,10 @@ module Aws::MediaConnect
|
|
419
672
|
# ],
|
420
673
|
# source: {
|
421
674
|
# decryption: {
|
422
|
-
# algorithm: "aes128", #
|
675
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
423
676
|
# constant_initialization_vector: "__string",
|
424
677
|
# device_id: "__string",
|
425
|
-
# key_type: "speke", # accepts speke, static-key
|
678
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
426
679
|
# region: "__string",
|
427
680
|
# resource_id: "__string",
|
428
681
|
# role_arn: "__string", # required
|
@@ -434,8 +687,24 @@ module Aws::MediaConnect
|
|
434
687
|
# ingest_port: 1,
|
435
688
|
# max_bitrate: 1,
|
436
689
|
# max_latency: 1,
|
690
|
+
# max_sync_buffer: 1,
|
691
|
+
# media_stream_source_configurations: [
|
692
|
+
# {
|
693
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
694
|
+
# input_configurations: [
|
695
|
+
# {
|
696
|
+
# input_port: 1, # required
|
697
|
+
# interface: { # required
|
698
|
+
# name: "__string", # required
|
699
|
+
# },
|
700
|
+
# },
|
701
|
+
# ],
|
702
|
+
# media_stream_name: "__string", # required
|
703
|
+
# },
|
704
|
+
# ],
|
705
|
+
# min_latency: 1,
|
437
706
|
# name: "__string",
|
438
|
-
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
707
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
439
708
|
# stream_id: "__string",
|
440
709
|
# vpc_interface_name: "__string",
|
441
710
|
# whitelist_cidr: "__string",
|
@@ -447,10 +716,10 @@ module Aws::MediaConnect
|
|
447
716
|
# sources: [
|
448
717
|
# {
|
449
718
|
# decryption: {
|
450
|
-
# algorithm: "aes128", #
|
719
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
451
720
|
# constant_initialization_vector: "__string",
|
452
721
|
# device_id: "__string",
|
453
|
-
# key_type: "speke", # accepts speke, static-key
|
722
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
454
723
|
# region: "__string",
|
455
724
|
# resource_id: "__string",
|
456
725
|
# role_arn: "__string", # required
|
@@ -462,8 +731,24 @@ module Aws::MediaConnect
|
|
462
731
|
# ingest_port: 1,
|
463
732
|
# max_bitrate: 1,
|
464
733
|
# max_latency: 1,
|
734
|
+
# max_sync_buffer: 1,
|
735
|
+
# media_stream_source_configurations: [
|
736
|
+
# {
|
737
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
738
|
+
# input_configurations: [
|
739
|
+
# {
|
740
|
+
# input_port: 1, # required
|
741
|
+
# interface: { # required
|
742
|
+
# name: "__string", # required
|
743
|
+
# },
|
744
|
+
# },
|
745
|
+
# ],
|
746
|
+
# media_stream_name: "__string", # required
|
747
|
+
# },
|
748
|
+
# ],
|
749
|
+
# min_latency: 1,
|
465
750
|
# name: "__string",
|
466
|
-
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
751
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
467
752
|
# stream_id: "__string",
|
468
753
|
# vpc_interface_name: "__string",
|
469
754
|
# whitelist_cidr: "__string",
|
@@ -472,6 +757,7 @@ module Aws::MediaConnect
|
|
472
757
|
# vpc_interfaces: [
|
473
758
|
# {
|
474
759
|
# name: "__string", # required
|
760
|
+
# network_interface_type: "ena", # accepts ena, efa
|
475
761
|
# role_arn: "__string", # required
|
476
762
|
# security_group_ids: ["__string"], # required
|
477
763
|
# subnet_id: "__string", # required
|
@@ -489,6 +775,11 @@ module Aws::MediaConnect
|
|
489
775
|
# The entitlements that you want to grant on a flow.
|
490
776
|
# @return [Array<Types::GrantEntitlementRequest>]
|
491
777
|
#
|
778
|
+
# @!attribute [rw] media_streams
|
779
|
+
# The media streams that you want to add to the flow. You can
|
780
|
+
# associate these media streams with sources and outputs on the flow.
|
781
|
+
# @return [Array<Types::AddMediaStreamRequest>]
|
782
|
+
#
|
492
783
|
# @!attribute [rw] name
|
493
784
|
# The name of the flow.
|
494
785
|
# @return [String]
|
@@ -517,6 +808,7 @@ module Aws::MediaConnect
|
|
517
808
|
class CreateFlowRequest < Struct.new(
|
518
809
|
:availability_zone,
|
519
810
|
:entitlements,
|
811
|
+
:media_streams,
|
520
812
|
:name,
|
521
813
|
:outputs,
|
522
814
|
:source,
|
@@ -688,16 +980,156 @@ module Aws::MediaConnect
|
|
688
980
|
include Aws::Structure
|
689
981
|
end
|
690
982
|
|
983
|
+
# The transport parameters that are associated with an outbound media
|
984
|
+
# stream.
|
985
|
+
#
|
986
|
+
# @!attribute [rw] destination_ip
|
987
|
+
# The IP address where contents of the media stream will be sent.
|
988
|
+
# @return [String]
|
989
|
+
#
|
990
|
+
# @!attribute [rw] destination_port
|
991
|
+
# The port to use when the content of the media stream is distributed
|
992
|
+
# to the output.
|
993
|
+
# @return [Integer]
|
994
|
+
#
|
995
|
+
# @!attribute [rw] interface
|
996
|
+
# The VPC interface that is used for the media stream associated with
|
997
|
+
# the output.
|
998
|
+
# @return [Types::Interface]
|
999
|
+
#
|
1000
|
+
# @!attribute [rw] outbound_ip
|
1001
|
+
# The IP address that the receiver requires in order to establish a
|
1002
|
+
# connection with the flow. This value is represented by the elastic
|
1003
|
+
# network interface IP address of the VPC. This field applies only to
|
1004
|
+
# outputs that use the CDI or ST 2110 JPEG XS protocol.
|
1005
|
+
# @return [String]
|
1006
|
+
#
|
1007
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DestinationConfiguration AWS API Documentation
|
1008
|
+
#
|
1009
|
+
class DestinationConfiguration < Struct.new(
|
1010
|
+
:destination_ip,
|
1011
|
+
:destination_port,
|
1012
|
+
:interface,
|
1013
|
+
:outbound_ip)
|
1014
|
+
SENSITIVE = []
|
1015
|
+
include Aws::Structure
|
1016
|
+
end
|
1017
|
+
|
1018
|
+
# The transport parameters that you want to associate with an outbound
|
1019
|
+
# media stream.
|
1020
|
+
#
|
1021
|
+
# @note When making an API call, you may pass DestinationConfigurationRequest
|
1022
|
+
# data as a hash:
|
1023
|
+
#
|
1024
|
+
# {
|
1025
|
+
# destination_ip: "__string", # required
|
1026
|
+
# destination_port: 1, # required
|
1027
|
+
# interface: { # required
|
1028
|
+
# name: "__string", # required
|
1029
|
+
# },
|
1030
|
+
# }
|
1031
|
+
#
|
1032
|
+
# @!attribute [rw] destination_ip
|
1033
|
+
# The IP address where you want MediaConnect to send contents of the
|
1034
|
+
# media stream.
|
1035
|
+
# @return [String]
|
1036
|
+
#
|
1037
|
+
# @!attribute [rw] destination_port
|
1038
|
+
# The port that you want MediaConnect to use when it distributes the
|
1039
|
+
# media stream to the output.
|
1040
|
+
# @return [Integer]
|
1041
|
+
#
|
1042
|
+
# @!attribute [rw] interface
|
1043
|
+
# The VPC interface that you want to use for the media stream
|
1044
|
+
# associated with the output.
|
1045
|
+
# @return [Types::InterfaceRequest]
|
1046
|
+
#
|
1047
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DestinationConfigurationRequest AWS API Documentation
|
1048
|
+
#
|
1049
|
+
class DestinationConfigurationRequest < Struct.new(
|
1050
|
+
:destination_ip,
|
1051
|
+
:destination_port,
|
1052
|
+
:interface)
|
1053
|
+
SENSITIVE = []
|
1054
|
+
include Aws::Structure
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
# A collection of parameters that determine how MediaConnect will
|
1058
|
+
# convert the content. These fields only apply to outputs on flows that
|
1059
|
+
# have a CDI source.
|
1060
|
+
#
|
1061
|
+
# @!attribute [rw] compression_factor
|
1062
|
+
# A value that is used to calculate compression for an output. The
|
1063
|
+
# bitrate of the output is calculated as follows: Output bitrate = (1
|
1064
|
+
# / compressionFactor) * (source bitrate) This property only applies
|
1065
|
+
# to outputs that use the ST 2110 JPEG XS protocol, with a flow source
|
1066
|
+
# that uses the CDI protocol. Valid values are floating point numbers
|
1067
|
+
# in the range of 3.0 to 10.0, inclusive.
|
1068
|
+
# @return [Float]
|
1069
|
+
#
|
1070
|
+
# @!attribute [rw] encoder_profile
|
1071
|
+
# A setting on the encoder that drives compression settings. This
|
1072
|
+
# property only applies to video media streams associated with outputs
|
1073
|
+
# that use the ST 2110 JPEG XS protocol, with a flow source that uses
|
1074
|
+
# the CDI protocol.
|
1075
|
+
# @return [String]
|
1076
|
+
#
|
1077
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/EncodingParameters AWS API Documentation
|
1078
|
+
#
|
1079
|
+
class EncodingParameters < Struct.new(
|
1080
|
+
:compression_factor,
|
1081
|
+
:encoder_profile)
|
1082
|
+
SENSITIVE = []
|
1083
|
+
include Aws::Structure
|
1084
|
+
end
|
1085
|
+
|
1086
|
+
# A collection of parameters that determine how MediaConnect will
|
1087
|
+
# convert the content. These fields only apply to outputs on flows that
|
1088
|
+
# have a CDI source.
|
1089
|
+
#
|
1090
|
+
# @note When making an API call, you may pass EncodingParametersRequest
|
1091
|
+
# data as a hash:
|
1092
|
+
#
|
1093
|
+
# {
|
1094
|
+
# compression_factor: 1.0, # required
|
1095
|
+
# encoder_profile: "main", # required, accepts main, high
|
1096
|
+
# }
|
1097
|
+
#
|
1098
|
+
# @!attribute [rw] compression_factor
|
1099
|
+
# A value that is used to calculate compression for an output. The
|
1100
|
+
# bitrate of the output is calculated as follows: Output bitrate = (1
|
1101
|
+
# / compressionFactor) * (source bitrate) This property only applies
|
1102
|
+
# to outputs that use the ST 2110 JPEG XS protocol, with a flow source
|
1103
|
+
# that uses the CDI protocol. Valid values are floating point numbers
|
1104
|
+
# in the range of 3.0 to 10.0, inclusive.
|
1105
|
+
# @return [Float]
|
1106
|
+
#
|
1107
|
+
# @!attribute [rw] encoder_profile
|
1108
|
+
# A setting on the encoder that drives compression settings. This
|
1109
|
+
# property only applies to video media streams associated with outputs
|
1110
|
+
# that use the ST 2110 JPEG XS protocol, if at least one source on the
|
1111
|
+
# flow uses the CDI protocol.
|
1112
|
+
# @return [String]
|
1113
|
+
#
|
1114
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/EncodingParametersRequest AWS API Documentation
|
1115
|
+
#
|
1116
|
+
class EncodingParametersRequest < Struct.new(
|
1117
|
+
:compression_factor,
|
1118
|
+
:encoder_profile)
|
1119
|
+
SENSITIVE = []
|
1120
|
+
include Aws::Structure
|
1121
|
+
end
|
1122
|
+
|
691
1123
|
# Information about the encryption of the flow.
|
692
1124
|
#
|
693
1125
|
# @note When making an API call, you may pass Encryption
|
694
1126
|
# data as a hash:
|
695
1127
|
#
|
696
1128
|
# {
|
697
|
-
# algorithm: "aes128", #
|
1129
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
698
1130
|
# constant_initialization_vector: "__string",
|
699
1131
|
# device_id: "__string",
|
700
|
-
# key_type: "speke", # accepts speke, static-key
|
1132
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
701
1133
|
# region: "__string",
|
702
1134
|
# resource_id: "__string",
|
703
1135
|
# role_arn: "__string", # required
|
@@ -875,6 +1307,12 @@ module Aws::MediaConnect
|
|
875
1307
|
# resource, of the flow.
|
876
1308
|
# @return [String]
|
877
1309
|
#
|
1310
|
+
# @!attribute [rw] media_streams
|
1311
|
+
# The media streams that are associated with the flow. After you
|
1312
|
+
# associate a media stream with a source, you can also associate it
|
1313
|
+
# with outputs on the flow.
|
1314
|
+
# @return [Array<Types::MediaStream>]
|
1315
|
+
#
|
878
1316
|
# @!attribute [rw] name
|
879
1317
|
# The name of the flow.
|
880
1318
|
# @return [String]
|
@@ -910,6 +1348,7 @@ module Aws::MediaConnect
|
|
910
1348
|
:egress_ip,
|
911
1349
|
:entitlements,
|
912
1350
|
:flow_arn,
|
1351
|
+
:media_streams,
|
913
1352
|
:name,
|
914
1353
|
:outputs,
|
915
1354
|
:source,
|
@@ -921,6 +1360,115 @@ module Aws::MediaConnect
|
|
921
1360
|
include Aws::Structure
|
922
1361
|
end
|
923
1362
|
|
1363
|
+
# FMTP
|
1364
|
+
#
|
1365
|
+
# @!attribute [rw] channel_order
|
1366
|
+
# The format of the audio channel.
|
1367
|
+
# @return [String]
|
1368
|
+
#
|
1369
|
+
# @!attribute [rw] colorimetry
|
1370
|
+
# The format that is used for the representation of color.
|
1371
|
+
# @return [String]
|
1372
|
+
#
|
1373
|
+
# @!attribute [rw] exact_framerate
|
1374
|
+
# The frame rate for the video stream, in frames/second. For example:
|
1375
|
+
# 60000/1001. If you specify a whole number, MediaConnect uses a ratio
|
1376
|
+
# of N/1. For example, if you specify 60, MediaConnect uses 60/1 as
|
1377
|
+
# the exactFramerate.
|
1378
|
+
# @return [String]
|
1379
|
+
#
|
1380
|
+
# @!attribute [rw] par
|
1381
|
+
# The pixel aspect ratio (PAR) of the video.
|
1382
|
+
# @return [String]
|
1383
|
+
#
|
1384
|
+
# @!attribute [rw] range
|
1385
|
+
# The encoding range of the video.
|
1386
|
+
# @return [String]
|
1387
|
+
#
|
1388
|
+
# @!attribute [rw] scan_mode
|
1389
|
+
# The type of compression that was used to smooth the video’s
|
1390
|
+
# appearance
|
1391
|
+
# @return [String]
|
1392
|
+
#
|
1393
|
+
# @!attribute [rw] tcs
|
1394
|
+
# The transfer characteristic system (TCS) that is used in the video.
|
1395
|
+
# @return [String]
|
1396
|
+
#
|
1397
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Fmtp AWS API Documentation
|
1398
|
+
#
|
1399
|
+
class Fmtp < Struct.new(
|
1400
|
+
:channel_order,
|
1401
|
+
:colorimetry,
|
1402
|
+
:exact_framerate,
|
1403
|
+
:par,
|
1404
|
+
:range,
|
1405
|
+
:scan_mode,
|
1406
|
+
:tcs)
|
1407
|
+
SENSITIVE = []
|
1408
|
+
include Aws::Structure
|
1409
|
+
end
|
1410
|
+
|
1411
|
+
# The settings that you want to use to define the media stream.
|
1412
|
+
#
|
1413
|
+
# @note When making an API call, you may pass FmtpRequest
|
1414
|
+
# data as a hash:
|
1415
|
+
#
|
1416
|
+
# {
|
1417
|
+
# channel_order: "__string",
|
1418
|
+
# colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
|
1419
|
+
# exact_framerate: "__string",
|
1420
|
+
# par: "__string",
|
1421
|
+
# range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
|
1422
|
+
# scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
|
1423
|
+
# tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
|
1424
|
+
# }
|
1425
|
+
#
|
1426
|
+
# @!attribute [rw] channel_order
|
1427
|
+
# The format of the audio channel.
|
1428
|
+
# @return [String]
|
1429
|
+
#
|
1430
|
+
# @!attribute [rw] colorimetry
|
1431
|
+
# The format that is used for the representation of color.
|
1432
|
+
# @return [String]
|
1433
|
+
#
|
1434
|
+
# @!attribute [rw] exact_framerate
|
1435
|
+
# The frame rate for the video stream, in frames/second. For example:
|
1436
|
+
# 60000/1001. If you specify a whole number, MediaConnect uses a ratio
|
1437
|
+
# of N/1. For example, if you specify 60, MediaConnect uses 60/1 as
|
1438
|
+
# the exactFramerate.
|
1439
|
+
# @return [String]
|
1440
|
+
#
|
1441
|
+
# @!attribute [rw] par
|
1442
|
+
# The pixel aspect ratio (PAR) of the video.
|
1443
|
+
# @return [String]
|
1444
|
+
#
|
1445
|
+
# @!attribute [rw] range
|
1446
|
+
# The encoding range of the video.
|
1447
|
+
# @return [String]
|
1448
|
+
#
|
1449
|
+
# @!attribute [rw] scan_mode
|
1450
|
+
# The type of compression that was used to smooth the video’s
|
1451
|
+
# appearance.
|
1452
|
+
# @return [String]
|
1453
|
+
#
|
1454
|
+
# @!attribute [rw] tcs
|
1455
|
+
# The transfer characteristic system (TCS) that is used in the video.
|
1456
|
+
# @return [String]
|
1457
|
+
#
|
1458
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/FmtpRequest AWS API Documentation
|
1459
|
+
#
|
1460
|
+
class FmtpRequest < Struct.new(
|
1461
|
+
:channel_order,
|
1462
|
+
:colorimetry,
|
1463
|
+
:exact_framerate,
|
1464
|
+
:par,
|
1465
|
+
:range,
|
1466
|
+
:scan_mode,
|
1467
|
+
:tcs)
|
1468
|
+
SENSITIVE = []
|
1469
|
+
include Aws::Structure
|
1470
|
+
end
|
1471
|
+
|
924
1472
|
# Exception raised by AWS Elemental MediaConnect. See the error message
|
925
1473
|
# and documentation for the operation for more information on the cause
|
926
1474
|
# of this exception.
|
@@ -945,10 +1493,10 @@ module Aws::MediaConnect
|
|
945
1493
|
# data_transfer_subscriber_fee_percent: 1,
|
946
1494
|
# description: "__string",
|
947
1495
|
# encryption: {
|
948
|
-
# algorithm: "aes128", #
|
1496
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
949
1497
|
# constant_initialization_vector: "__string",
|
950
1498
|
# device_id: "__string",
|
951
|
-
# key_type: "speke", # accepts speke, static-key
|
1499
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
952
1500
|
# region: "__string",
|
953
1501
|
# resource_id: "__string",
|
954
1502
|
# role_arn: "__string", # required
|
@@ -1033,10 +1581,10 @@ module Aws::MediaConnect
|
|
1033
1581
|
# data_transfer_subscriber_fee_percent: 1,
|
1034
1582
|
# description: "__string",
|
1035
1583
|
# encryption: {
|
1036
|
-
# algorithm: "aes128", #
|
1584
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
1037
1585
|
# constant_initialization_vector: "__string",
|
1038
1586
|
# device_id: "__string",
|
1039
|
-
# key_type: "speke", # accepts speke, static-key
|
1587
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
1040
1588
|
# region: "__string",
|
1041
1589
|
# resource_id: "__string",
|
1042
1590
|
# role_arn: "__string", # required
|
@@ -1086,6 +1634,101 @@ module Aws::MediaConnect
|
|
1086
1634
|
include Aws::Structure
|
1087
1635
|
end
|
1088
1636
|
|
1637
|
+
# The transport parameters that are associated with an incoming media
|
1638
|
+
# stream.
|
1639
|
+
#
|
1640
|
+
# @!attribute [rw] input_ip
|
1641
|
+
# The IP address that the flow listens on for incoming content for a
|
1642
|
+
# media stream.
|
1643
|
+
# @return [String]
|
1644
|
+
#
|
1645
|
+
# @!attribute [rw] input_port
|
1646
|
+
# The port that the flow listens on for an incoming media stream.
|
1647
|
+
# @return [Integer]
|
1648
|
+
#
|
1649
|
+
# @!attribute [rw] interface
|
1650
|
+
# The VPC interface where the media stream comes in from.
|
1651
|
+
# @return [Types::Interface]
|
1652
|
+
#
|
1653
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/InputConfiguration AWS API Documentation
|
1654
|
+
#
|
1655
|
+
class InputConfiguration < Struct.new(
|
1656
|
+
:input_ip,
|
1657
|
+
:input_port,
|
1658
|
+
:interface)
|
1659
|
+
SENSITIVE = []
|
1660
|
+
include Aws::Structure
|
1661
|
+
end
|
1662
|
+
|
1663
|
+
# The transport parameters that you want to associate with an incoming
|
1664
|
+
# media stream.
|
1665
|
+
#
|
1666
|
+
# @note When making an API call, you may pass InputConfigurationRequest
|
1667
|
+
# data as a hash:
|
1668
|
+
#
|
1669
|
+
# {
|
1670
|
+
# input_port: 1, # required
|
1671
|
+
# interface: { # required
|
1672
|
+
# name: "__string", # required
|
1673
|
+
# },
|
1674
|
+
# }
|
1675
|
+
#
|
1676
|
+
# @!attribute [rw] input_port
|
1677
|
+
# The port that you want the flow to listen on for an incoming media
|
1678
|
+
# stream.
|
1679
|
+
# @return [Integer]
|
1680
|
+
#
|
1681
|
+
# @!attribute [rw] interface
|
1682
|
+
# The VPC interface that you want to use for the incoming media
|
1683
|
+
# stream.
|
1684
|
+
# @return [Types::InterfaceRequest]
|
1685
|
+
#
|
1686
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/InputConfigurationRequest AWS API Documentation
|
1687
|
+
#
|
1688
|
+
class InputConfigurationRequest < Struct.new(
|
1689
|
+
:input_port,
|
1690
|
+
:interface)
|
1691
|
+
SENSITIVE = []
|
1692
|
+
include Aws::Structure
|
1693
|
+
end
|
1694
|
+
|
1695
|
+
# The VPC interface that is used for the media stream associated with
|
1696
|
+
# the source or output.
|
1697
|
+
#
|
1698
|
+
# @!attribute [rw] name
|
1699
|
+
# The name of the VPC interface.
|
1700
|
+
# @return [String]
|
1701
|
+
#
|
1702
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Interface AWS API Documentation
|
1703
|
+
#
|
1704
|
+
class Interface < Struct.new(
|
1705
|
+
:name)
|
1706
|
+
SENSITIVE = []
|
1707
|
+
include Aws::Structure
|
1708
|
+
end
|
1709
|
+
|
1710
|
+
# The VPC interface that you want to designate where the media stream is
|
1711
|
+
# coming from or going to.
|
1712
|
+
#
|
1713
|
+
# @note When making an API call, you may pass InterfaceRequest
|
1714
|
+
# data as a hash:
|
1715
|
+
#
|
1716
|
+
# {
|
1717
|
+
# name: "__string", # required
|
1718
|
+
# }
|
1719
|
+
#
|
1720
|
+
# @!attribute [rw] name
|
1721
|
+
# The name of the VPC interface.
|
1722
|
+
# @return [String]
|
1723
|
+
#
|
1724
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/InterfaceRequest AWS API Documentation
|
1725
|
+
#
|
1726
|
+
class InterfaceRequest < Struct.new(
|
1727
|
+
:name)
|
1728
|
+
SENSITIVE = []
|
1729
|
+
include Aws::Structure
|
1730
|
+
end
|
1731
|
+
|
1089
1732
|
# Exception raised by AWS Elemental MediaConnect. See the error message
|
1090
1733
|
# and documentation for the operation for more information on the cause
|
1091
1734
|
# of this exception.
|
@@ -1407,6 +2050,286 @@ module Aws::MediaConnect
|
|
1407
2050
|
include Aws::Structure
|
1408
2051
|
end
|
1409
2052
|
|
2053
|
+
# A single track or stream of media that contains video, audio, or
|
2054
|
+
# ancillary data. After you add a media stream to a flow, you can
|
2055
|
+
# associate it with sources and outputs on that flow, as long as they
|
2056
|
+
# use the CDI protocol or the ST 2110 JPEG XS protocol. Each source or
|
2057
|
+
# output can consist of one or many media streams.
|
2058
|
+
#
|
2059
|
+
# @!attribute [rw] attributes
|
2060
|
+
# Attributes that are related to the media stream.
|
2061
|
+
# @return [Types::MediaStreamAttributes]
|
2062
|
+
#
|
2063
|
+
# @!attribute [rw] clock_rate
|
2064
|
+
# The sample rate for the stream. This value is measured in Hz.
|
2065
|
+
# @return [Integer]
|
2066
|
+
#
|
2067
|
+
# @!attribute [rw] description
|
2068
|
+
# A description that can help you quickly identify what your media
|
2069
|
+
# stream is used for.
|
2070
|
+
# @return [String]
|
2071
|
+
#
|
2072
|
+
# @!attribute [rw] fmt
|
2073
|
+
# The format type number (sometimes referred to as RTP payload type)
|
2074
|
+
# of the media stream. MediaConnect assigns this value to the media
|
2075
|
+
# stream. For ST 2110 JPEG XS outputs, you need to provide this value
|
2076
|
+
# to the receiver.
|
2077
|
+
# @return [Integer]
|
2078
|
+
#
|
2079
|
+
# @!attribute [rw] media_stream_id
|
2080
|
+
# A unique identifier for the media stream.
|
2081
|
+
# @return [Integer]
|
2082
|
+
#
|
2083
|
+
# @!attribute [rw] media_stream_name
|
2084
|
+
# A name that helps you distinguish one media stream from another.
|
2085
|
+
# @return [String]
|
2086
|
+
#
|
2087
|
+
# @!attribute [rw] media_stream_type
|
2088
|
+
# The type of media stream.
|
2089
|
+
# @return [String]
|
2090
|
+
#
|
2091
|
+
# @!attribute [rw] video_format
|
2092
|
+
# The resolution of the video.
|
2093
|
+
# @return [String]
|
2094
|
+
#
|
2095
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStream AWS API Documentation
|
2096
|
+
#
|
2097
|
+
class MediaStream < Struct.new(
|
2098
|
+
:attributes,
|
2099
|
+
:clock_rate,
|
2100
|
+
:description,
|
2101
|
+
:fmt,
|
2102
|
+
:media_stream_id,
|
2103
|
+
:media_stream_name,
|
2104
|
+
:media_stream_type,
|
2105
|
+
:video_format)
|
2106
|
+
SENSITIVE = []
|
2107
|
+
include Aws::Structure
|
2108
|
+
end
|
2109
|
+
|
2110
|
+
# Attributes that are related to the media stream.
|
2111
|
+
#
|
2112
|
+
# @!attribute [rw] fmtp
|
2113
|
+
# A set of parameters that define the media stream.
|
2114
|
+
# @return [Types::Fmtp]
|
2115
|
+
#
|
2116
|
+
# @!attribute [rw] lang
|
2117
|
+
# The audio language, in a format that is recognized by the receiver.
|
2118
|
+
# @return [String]
|
2119
|
+
#
|
2120
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamAttributes AWS API Documentation
|
2121
|
+
#
|
2122
|
+
class MediaStreamAttributes < Struct.new(
|
2123
|
+
:fmtp,
|
2124
|
+
:lang)
|
2125
|
+
SENSITIVE = []
|
2126
|
+
include Aws::Structure
|
2127
|
+
end
|
2128
|
+
|
2129
|
+
# Attributes that are related to the media stream.
|
2130
|
+
#
|
2131
|
+
# @note When making an API call, you may pass MediaStreamAttributesRequest
|
2132
|
+
# data as a hash:
|
2133
|
+
#
|
2134
|
+
# {
|
2135
|
+
# fmtp: {
|
2136
|
+
# channel_order: "__string",
|
2137
|
+
# colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
|
2138
|
+
# exact_framerate: "__string",
|
2139
|
+
# par: "__string",
|
2140
|
+
# range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
|
2141
|
+
# scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
|
2142
|
+
# tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
|
2143
|
+
# },
|
2144
|
+
# lang: "__string",
|
2145
|
+
# }
|
2146
|
+
#
|
2147
|
+
# @!attribute [rw] fmtp
|
2148
|
+
# The settings that you want to use to define the media stream.
|
2149
|
+
# @return [Types::FmtpRequest]
|
2150
|
+
#
|
2151
|
+
# @!attribute [rw] lang
|
2152
|
+
# The audio language, in a format that is recognized by the receiver.
|
2153
|
+
# @return [String]
|
2154
|
+
#
|
2155
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamAttributesRequest AWS API Documentation
|
2156
|
+
#
|
2157
|
+
class MediaStreamAttributesRequest < Struct.new(
|
2158
|
+
:fmtp,
|
2159
|
+
:lang)
|
2160
|
+
SENSITIVE = []
|
2161
|
+
include Aws::Structure
|
2162
|
+
end
|
2163
|
+
|
2164
|
+
# The media stream that is associated with the output, and the
|
2165
|
+
# parameters for that association.
|
2166
|
+
#
|
2167
|
+
# @!attribute [rw] destination_configurations
|
2168
|
+
# The transport parameters that are associated with each outbound
|
2169
|
+
# media stream.
|
2170
|
+
# @return [Array<Types::DestinationConfiguration>]
|
2171
|
+
#
|
2172
|
+
# @!attribute [rw] encoding_name
|
2173
|
+
# The format that was used to encode the data. For ancillary data
|
2174
|
+
# streams, set the encoding name to smpte291. For audio streams, set
|
2175
|
+
# the encoding name to pcm. For video, 2110 streams, set the encoding
|
2176
|
+
# name to raw. For video, JPEG XS streams, set the encoding name to
|
2177
|
+
# jxsv.
|
2178
|
+
# @return [String]
|
2179
|
+
#
|
2180
|
+
# @!attribute [rw] encoding_parameters
|
2181
|
+
# Encoding parameters
|
2182
|
+
# @return [Types::EncodingParameters]
|
2183
|
+
#
|
2184
|
+
# @!attribute [rw] media_stream_name
|
2185
|
+
# The name of the media stream.
|
2186
|
+
# @return [String]
|
2187
|
+
#
|
2188
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamOutputConfiguration AWS API Documentation
|
2189
|
+
#
|
2190
|
+
class MediaStreamOutputConfiguration < Struct.new(
|
2191
|
+
:destination_configurations,
|
2192
|
+
:encoding_name,
|
2193
|
+
:encoding_parameters,
|
2194
|
+
:media_stream_name)
|
2195
|
+
SENSITIVE = []
|
2196
|
+
include Aws::Structure
|
2197
|
+
end
|
2198
|
+
|
2199
|
+
# The media stream that you want to associate with the output, and the
|
2200
|
+
# parameters for that association.
|
2201
|
+
#
|
2202
|
+
# @note When making an API call, you may pass MediaStreamOutputConfigurationRequest
|
2203
|
+
# data as a hash:
|
2204
|
+
#
|
2205
|
+
# {
|
2206
|
+
# destination_configurations: [
|
2207
|
+
# {
|
2208
|
+
# destination_ip: "__string", # required
|
2209
|
+
# destination_port: 1, # required
|
2210
|
+
# interface: { # required
|
2211
|
+
# name: "__string", # required
|
2212
|
+
# },
|
2213
|
+
# },
|
2214
|
+
# ],
|
2215
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
2216
|
+
# encoding_parameters: {
|
2217
|
+
# compression_factor: 1.0, # required
|
2218
|
+
# encoder_profile: "main", # required, accepts main, high
|
2219
|
+
# },
|
2220
|
+
# media_stream_name: "__string", # required
|
2221
|
+
# }
|
2222
|
+
#
|
2223
|
+
# @!attribute [rw] destination_configurations
|
2224
|
+
# The transport parameters that you want to associate with the media
|
2225
|
+
# stream.
|
2226
|
+
# @return [Array<Types::DestinationConfigurationRequest>]
|
2227
|
+
#
|
2228
|
+
# @!attribute [rw] encoding_name
|
2229
|
+
# The format that will be used to encode the data. For ancillary data
|
2230
|
+
# streams, set the encoding name to smpte291. For audio streams, set
|
2231
|
+
# the encoding name to pcm. For video, 2110 streams, set the encoding
|
2232
|
+
# name to raw. For video, JPEG XS streams, set the encoding name to
|
2233
|
+
# jxsv.
|
2234
|
+
# @return [String]
|
2235
|
+
#
|
2236
|
+
# @!attribute [rw] encoding_parameters
|
2237
|
+
# A collection of parameters that determine how MediaConnect will
|
2238
|
+
# convert the content. These fields only apply to outputs on flows
|
2239
|
+
# that have a CDI source.
|
2240
|
+
# @return [Types::EncodingParametersRequest]
|
2241
|
+
#
|
2242
|
+
# @!attribute [rw] media_stream_name
|
2243
|
+
# The name of the media stream that is associated with the output.
|
2244
|
+
# @return [String]
|
2245
|
+
#
|
2246
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamOutputConfigurationRequest AWS API Documentation
|
2247
|
+
#
|
2248
|
+
class MediaStreamOutputConfigurationRequest < Struct.new(
|
2249
|
+
:destination_configurations,
|
2250
|
+
:encoding_name,
|
2251
|
+
:encoding_parameters,
|
2252
|
+
:media_stream_name)
|
2253
|
+
SENSITIVE = []
|
2254
|
+
include Aws::Structure
|
2255
|
+
end
|
2256
|
+
|
2257
|
+
# The media stream that is associated with the source, and the
|
2258
|
+
# parameters for that association.
|
2259
|
+
#
|
2260
|
+
# @!attribute [rw] encoding_name
|
2261
|
+
# The format that was used to encode the data. For ancillary data
|
2262
|
+
# streams, set the encoding name to smpte291. For audio streams, set
|
2263
|
+
# the encoding name to pcm. For video, 2110 streams, set the encoding
|
2264
|
+
# name to raw. For video, JPEG XS streams, set the encoding name to
|
2265
|
+
# jxsv.
|
2266
|
+
# @return [String]
|
2267
|
+
#
|
2268
|
+
# @!attribute [rw] input_configurations
|
2269
|
+
# The transport parameters that are associated with an incoming media
|
2270
|
+
# stream.
|
2271
|
+
# @return [Array<Types::InputConfiguration>]
|
2272
|
+
#
|
2273
|
+
# @!attribute [rw] media_stream_name
|
2274
|
+
# The name of the media stream.
|
2275
|
+
# @return [String]
|
2276
|
+
#
|
2277
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamSourceConfiguration AWS API Documentation
|
2278
|
+
#
|
2279
|
+
class MediaStreamSourceConfiguration < Struct.new(
|
2280
|
+
:encoding_name,
|
2281
|
+
:input_configurations,
|
2282
|
+
:media_stream_name)
|
2283
|
+
SENSITIVE = []
|
2284
|
+
include Aws::Structure
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
# The definition of a media stream that you want to associate with the
|
2288
|
+
# source.
|
2289
|
+
#
|
2290
|
+
# @note When making an API call, you may pass MediaStreamSourceConfigurationRequest
|
2291
|
+
# data as a hash:
|
2292
|
+
#
|
2293
|
+
# {
|
2294
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
2295
|
+
# input_configurations: [
|
2296
|
+
# {
|
2297
|
+
# input_port: 1, # required
|
2298
|
+
# interface: { # required
|
2299
|
+
# name: "__string", # required
|
2300
|
+
# },
|
2301
|
+
# },
|
2302
|
+
# ],
|
2303
|
+
# media_stream_name: "__string", # required
|
2304
|
+
# }
|
2305
|
+
#
|
2306
|
+
# @!attribute [rw] encoding_name
|
2307
|
+
# The format you want to use to encode the data. For ancillary data
|
2308
|
+
# streams, set the encoding name to smpte291. For audio streams, set
|
2309
|
+
# the encoding name to pcm. For video, 2110 streams, set the encoding
|
2310
|
+
# name to raw. For video, JPEG XS streams, set the encoding name to
|
2311
|
+
# jxsv.
|
2312
|
+
# @return [String]
|
2313
|
+
#
|
2314
|
+
# @!attribute [rw] input_configurations
|
2315
|
+
# The transport parameters that you want to associate with the media
|
2316
|
+
# stream.
|
2317
|
+
# @return [Array<Types::InputConfigurationRequest>]
|
2318
|
+
#
|
2319
|
+
# @!attribute [rw] media_stream_name
|
2320
|
+
# The name of the media stream.
|
2321
|
+
# @return [String]
|
2322
|
+
#
|
2323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamSourceConfigurationRequest AWS API Documentation
|
2324
|
+
#
|
2325
|
+
class MediaStreamSourceConfigurationRequest < Struct.new(
|
2326
|
+
:encoding_name,
|
2327
|
+
:input_configurations,
|
2328
|
+
:media_stream_name)
|
2329
|
+
SENSITIVE = []
|
2330
|
+
include Aws::Structure
|
2331
|
+
end
|
2332
|
+
|
1410
2333
|
# Messages that provide the state of the flow.
|
1411
2334
|
#
|
1412
2335
|
# @!attribute [rw] errors
|
@@ -1517,12 +2440,26 @@ module Aws::MediaConnect
|
|
1517
2440
|
# is relevant only on entitled flows.
|
1518
2441
|
# @return [String]
|
1519
2442
|
#
|
2443
|
+
# @!attribute [rw] listener_address
|
2444
|
+
# The IP address that the receiver requires in order to establish a
|
2445
|
+
# connection with the flow. For public networking, the ListenerAddress
|
2446
|
+
# is represented by the elastic IP address of the flow. For private
|
2447
|
+
# networking, the ListenerAddress is represented by the elastic
|
2448
|
+
# network interface IP address of the VPC. This field applies only to
|
2449
|
+
# outputs that use the Zixi pull or SRT listener protocol.
|
2450
|
+
# @return [String]
|
2451
|
+
#
|
1520
2452
|
# @!attribute [rw] media_live_input_arn
|
1521
2453
|
# The input ARN of the AWS Elemental MediaLive channel. This parameter
|
1522
2454
|
# is relevant only for outputs that were added by creating a MediaLive
|
1523
2455
|
# input.
|
1524
2456
|
# @return [String]
|
1525
2457
|
#
|
2458
|
+
# @!attribute [rw] media_stream_output_configurations
|
2459
|
+
# The configuration for each media stream that is associated with the
|
2460
|
+
# output.
|
2461
|
+
# @return [Array<Types::MediaStreamOutputConfiguration>]
|
2462
|
+
#
|
1526
2463
|
# @!attribute [rw] name
|
1527
2464
|
# The name of the output. This value must be unique within the current
|
1528
2465
|
# flow.
|
@@ -1553,7 +2490,9 @@ module Aws::MediaConnect
|
|
1553
2490
|
:destination,
|
1554
2491
|
:encryption,
|
1555
2492
|
:entitlement_arn,
|
2493
|
+
:listener_address,
|
1556
2494
|
:media_live_input_arn,
|
2495
|
+
:media_stream_output_configurations,
|
1557
2496
|
:name,
|
1558
2497
|
:output_arn,
|
1559
2498
|
:port,
|
@@ -1623,6 +2562,48 @@ module Aws::MediaConnect
|
|
1623
2562
|
include Aws::Structure
|
1624
2563
|
end
|
1625
2564
|
|
2565
|
+
# @note When making an API call, you may pass RemoveFlowMediaStreamRequest
|
2566
|
+
# data as a hash:
|
2567
|
+
#
|
2568
|
+
# {
|
2569
|
+
# flow_arn: "__string", # required
|
2570
|
+
# media_stream_name: "__string", # required
|
2571
|
+
# }
|
2572
|
+
#
|
2573
|
+
# @!attribute [rw] flow_arn
|
2574
|
+
# @return [String]
|
2575
|
+
#
|
2576
|
+
# @!attribute [rw] media_stream_name
|
2577
|
+
# @return [String]
|
2578
|
+
#
|
2579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowMediaStreamRequest AWS API Documentation
|
2580
|
+
#
|
2581
|
+
class RemoveFlowMediaStreamRequest < Struct.new(
|
2582
|
+
:flow_arn,
|
2583
|
+
:media_stream_name)
|
2584
|
+
SENSITIVE = []
|
2585
|
+
include Aws::Structure
|
2586
|
+
end
|
2587
|
+
|
2588
|
+
# The result of a successful RemoveFlowMediaStream request.
|
2589
|
+
#
|
2590
|
+
# @!attribute [rw] flow_arn
|
2591
|
+
# The Amazon Resource Name (ARN) of the flow.
|
2592
|
+
# @return [String]
|
2593
|
+
#
|
2594
|
+
# @!attribute [rw] media_stream_name
|
2595
|
+
# The name of the media stream that was removed.
|
2596
|
+
# @return [String]
|
2597
|
+
#
|
2598
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowMediaStreamResponse AWS API Documentation
|
2599
|
+
#
|
2600
|
+
class RemoveFlowMediaStreamResponse < Struct.new(
|
2601
|
+
:flow_arn,
|
2602
|
+
:media_stream_name)
|
2603
|
+
SENSITIVE = []
|
2604
|
+
include Aws::Structure
|
2605
|
+
end
|
2606
|
+
|
1626
2607
|
# @note When making an API call, you may pass RemoveFlowOutputRequest
|
1627
2608
|
# data as a hash:
|
1628
2609
|
#
|
@@ -1957,10 +2938,10 @@ module Aws::MediaConnect
|
|
1957
2938
|
#
|
1958
2939
|
# {
|
1959
2940
|
# decryption: {
|
1960
|
-
# algorithm: "aes128", #
|
2941
|
+
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
1961
2942
|
# constant_initialization_vector: "__string",
|
1962
2943
|
# device_id: "__string",
|
1963
|
-
# key_type: "speke", # accepts speke, static-key
|
2944
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
1964
2945
|
# region: "__string",
|
1965
2946
|
# resource_id: "__string",
|
1966
2947
|
# role_arn: "__string", # required
|
@@ -1972,8 +2953,24 @@ module Aws::MediaConnect
|
|
1972
2953
|
# ingest_port: 1,
|
1973
2954
|
# max_bitrate: 1,
|
1974
2955
|
# max_latency: 1,
|
2956
|
+
# max_sync_buffer: 1,
|
2957
|
+
# media_stream_source_configurations: [
|
2958
|
+
# {
|
2959
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
2960
|
+
# input_configurations: [
|
2961
|
+
# {
|
2962
|
+
# input_port: 1, # required
|
2963
|
+
# interface: { # required
|
2964
|
+
# name: "__string", # required
|
2965
|
+
# },
|
2966
|
+
# },
|
2967
|
+
# ],
|
2968
|
+
# media_stream_name: "__string", # required
|
2969
|
+
# },
|
2970
|
+
# ],
|
2971
|
+
# min_latency: 1,
|
1975
2972
|
# name: "__string",
|
1976
|
-
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
2973
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
1977
2974
|
# stream_id: "__string",
|
1978
2975
|
# vpc_interface_name: "__string",
|
1979
2976
|
# whitelist_cidr: "__string",
|
@@ -2008,6 +3005,25 @@ module Aws::MediaConnect
|
|
2008
3005
|
# RIST-based and Zixi-based streams.
|
2009
3006
|
# @return [Integer]
|
2010
3007
|
#
|
3008
|
+
# @!attribute [rw] max_sync_buffer
|
3009
|
+
# The size of the buffer (in milliseconds) to use to sync incoming
|
3010
|
+
# source data.
|
3011
|
+
# @return [Integer]
|
3012
|
+
#
|
3013
|
+
# @!attribute [rw] media_stream_source_configurations
|
3014
|
+
# The media streams that are associated with the source, and the
|
3015
|
+
# parameters for those associations.
|
3016
|
+
# @return [Array<Types::MediaStreamSourceConfigurationRequest>]
|
3017
|
+
#
|
3018
|
+
# @!attribute [rw] min_latency
|
3019
|
+
# The minimum latency in milliseconds for SRT-based streams. In
|
3020
|
+
# streams that use the SRT protocol, this value that you set on your
|
3021
|
+
# MediaConnect source or output represents the minimal potential
|
3022
|
+
# latency of that connection. The latency of the stream is set to the
|
3023
|
+
# highest number between the sender’s minimum latency and the
|
3024
|
+
# receiver’s minimum latency.
|
3025
|
+
# @return [Integer]
|
3026
|
+
#
|
2011
3027
|
# @!attribute [rw] name
|
2012
3028
|
# The name of the source.
|
2013
3029
|
# @return [String]
|
@@ -2041,6 +3057,9 @@ module Aws::MediaConnect
|
|
2041
3057
|
:ingest_port,
|
2042
3058
|
:max_bitrate,
|
2043
3059
|
:max_latency,
|
3060
|
+
:max_sync_buffer,
|
3061
|
+
:media_stream_source_configurations,
|
3062
|
+
:min_latency,
|
2044
3063
|
:name,
|
2045
3064
|
:protocol,
|
2046
3065
|
:stream_id,
|
@@ -2083,6 +3102,11 @@ module Aws::MediaConnect
|
|
2083
3102
|
# The port that the flow will be listening on for incoming content.
|
2084
3103
|
# @return [Integer]
|
2085
3104
|
#
|
3105
|
+
# @!attribute [rw] media_stream_source_configurations
|
3106
|
+
# The media streams that are associated with the source, and the
|
3107
|
+
# parameters for those associations.
|
3108
|
+
# @return [Array<Types::MediaStreamSourceConfiguration>]
|
3109
|
+
#
|
2086
3110
|
# @!attribute [rw] name
|
2087
3111
|
# The name of the source.
|
2088
3112
|
# @return [String]
|
@@ -2097,7 +3121,7 @@ module Aws::MediaConnect
|
|
2097
3121
|
# @return [Types::Transport]
|
2098
3122
|
#
|
2099
3123
|
# @!attribute [rw] vpc_interface_name
|
2100
|
-
# The name of the VPC
|
3124
|
+
# The name of the VPC interface that is used for this source.
|
2101
3125
|
# @return [String]
|
2102
3126
|
#
|
2103
3127
|
# @!attribute [rw] whitelist_cidr
|
@@ -2116,6 +3140,7 @@ module Aws::MediaConnect
|
|
2116
3140
|
:entitlement_arn,
|
2117
3141
|
:ingest_ip,
|
2118
3142
|
:ingest_port,
|
3143
|
+
:media_stream_source_configurations,
|
2119
3144
|
:name,
|
2120
3145
|
:source_arn,
|
2121
3146
|
:transport,
|
@@ -2265,6 +3290,20 @@ module Aws::MediaConnect
|
|
2265
3290
|
# RIST-based and Zixi-based streams.
|
2266
3291
|
# @return [Integer]
|
2267
3292
|
#
|
3293
|
+
# @!attribute [rw] max_sync_buffer
|
3294
|
+
# The size of the buffer (in milliseconds) to use to sync incoming
|
3295
|
+
# source data.
|
3296
|
+
# @return [Integer]
|
3297
|
+
#
|
3298
|
+
# @!attribute [rw] min_latency
|
3299
|
+
# The minimum latency in milliseconds for SRT-based streams. In
|
3300
|
+
# streams that use the SRT protocol, this value that you set on your
|
3301
|
+
# MediaConnect source or output represents the minimal potential
|
3302
|
+
# latency of that connection. The latency of the stream is set to the
|
3303
|
+
# highest number between the sender’s minimum latency and the
|
3304
|
+
# receiver’s minimum latency.
|
3305
|
+
# @return [Integer]
|
3306
|
+
#
|
2268
3307
|
# @!attribute [rw] protocol
|
2269
3308
|
# The protocol that is used by the source or output.
|
2270
3309
|
# @return [String]
|
@@ -2289,6 +3328,8 @@ module Aws::MediaConnect
|
|
2289
3328
|
:cidr_allow_list,
|
2290
3329
|
:max_bitrate,
|
2291
3330
|
:max_latency,
|
3331
|
+
:max_sync_buffer,
|
3332
|
+
:min_latency,
|
2292
3333
|
:protocol,
|
2293
3334
|
:remote_id,
|
2294
3335
|
:smoothing_latency,
|
@@ -2329,7 +3370,7 @@ module Aws::MediaConnect
|
|
2329
3370
|
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
2330
3371
|
# constant_initialization_vector: "__string",
|
2331
3372
|
# device_id: "__string",
|
2332
|
-
# key_type: "speke", # accepts speke, static-key
|
3373
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
2333
3374
|
# region: "__string",
|
2334
3375
|
# resource_id: "__string",
|
2335
3376
|
# role_arn: "__string",
|
@@ -2443,7 +3484,7 @@ module Aws::MediaConnect
|
|
2443
3484
|
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
2444
3485
|
# constant_initialization_vector: "__string",
|
2445
3486
|
# device_id: "__string",
|
2446
|
-
# key_type: "speke", # accepts speke, static-key
|
3487
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
2447
3488
|
# region: "__string",
|
2448
3489
|
# resource_id: "__string",
|
2449
3490
|
# role_arn: "__string",
|
@@ -2520,6 +3561,94 @@ module Aws::MediaConnect
|
|
2520
3561
|
include Aws::Structure
|
2521
3562
|
end
|
2522
3563
|
|
3564
|
+
# Update a media stream on a flow.
|
3565
|
+
#
|
3566
|
+
# @note When making an API call, you may pass UpdateFlowMediaStreamRequest
|
3567
|
+
# data as a hash:
|
3568
|
+
#
|
3569
|
+
# {
|
3570
|
+
# attributes: {
|
3571
|
+
# fmtp: {
|
3572
|
+
# channel_order: "__string",
|
3573
|
+
# colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
|
3574
|
+
# exact_framerate: "__string",
|
3575
|
+
# par: "__string",
|
3576
|
+
# range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
|
3577
|
+
# scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
|
3578
|
+
# tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
|
3579
|
+
# },
|
3580
|
+
# lang: "__string",
|
3581
|
+
# },
|
3582
|
+
# clock_rate: 1,
|
3583
|
+
# description: "__string",
|
3584
|
+
# flow_arn: "__string", # required
|
3585
|
+
# media_stream_name: "__string", # required
|
3586
|
+
# media_stream_type: "video", # accepts video, audio, ancillary-data
|
3587
|
+
# video_format: "__string",
|
3588
|
+
# }
|
3589
|
+
#
|
3590
|
+
# @!attribute [rw] attributes
|
3591
|
+
# The attributes that you want to assign to the media stream.
|
3592
|
+
# @return [Types::MediaStreamAttributesRequest]
|
3593
|
+
#
|
3594
|
+
# @!attribute [rw] clock_rate
|
3595
|
+
# The sample rate (in Hz) for the stream. If the media stream type is
|
3596
|
+
# video or ancillary data, set this value to 90000. If the media
|
3597
|
+
# stream type is audio, set this value to either 48000 or 96000.
|
3598
|
+
# @return [Integer]
|
3599
|
+
#
|
3600
|
+
# @!attribute [rw] description
|
3601
|
+
# Description
|
3602
|
+
# @return [String]
|
3603
|
+
#
|
3604
|
+
# @!attribute [rw] flow_arn
|
3605
|
+
# @return [String]
|
3606
|
+
#
|
3607
|
+
# @!attribute [rw] media_stream_name
|
3608
|
+
# @return [String]
|
3609
|
+
#
|
3610
|
+
# @!attribute [rw] media_stream_type
|
3611
|
+
# The type of media stream.
|
3612
|
+
# @return [String]
|
3613
|
+
#
|
3614
|
+
# @!attribute [rw] video_format
|
3615
|
+
# The resolution of the video.
|
3616
|
+
# @return [String]
|
3617
|
+
#
|
3618
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowMediaStreamRequest AWS API Documentation
|
3619
|
+
#
|
3620
|
+
class UpdateFlowMediaStreamRequest < Struct.new(
|
3621
|
+
:attributes,
|
3622
|
+
:clock_rate,
|
3623
|
+
:description,
|
3624
|
+
:flow_arn,
|
3625
|
+
:media_stream_name,
|
3626
|
+
:media_stream_type,
|
3627
|
+
:video_format)
|
3628
|
+
SENSITIVE = []
|
3629
|
+
include Aws::Structure
|
3630
|
+
end
|
3631
|
+
|
3632
|
+
# Update response
|
3633
|
+
#
|
3634
|
+
# @!attribute [rw] flow_arn
|
3635
|
+
# The ARN of the flow that is associated with the media stream that
|
3636
|
+
# you updated.
|
3637
|
+
# @return [String]
|
3638
|
+
#
|
3639
|
+
# @!attribute [rw] media_stream
|
3640
|
+
# The media stream that you updated.
|
3641
|
+
# @return [Types::MediaStream]
|
3642
|
+
#
|
3643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowMediaStreamResponse AWS API Documentation
|
3644
|
+
#
|
3645
|
+
class UpdateFlowMediaStreamResponse < Struct.new(
|
3646
|
+
:flow_arn,
|
3647
|
+
:media_stream)
|
3648
|
+
SENSITIVE = []
|
3649
|
+
include Aws::Structure
|
3650
|
+
end
|
3651
|
+
|
2523
3652
|
# The updates that you want to make to an existing output of an existing
|
2524
3653
|
# flow.
|
2525
3654
|
#
|
@@ -2534,7 +3663,7 @@ module Aws::MediaConnect
|
|
2534
3663
|
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
2535
3664
|
# constant_initialization_vector: "__string",
|
2536
3665
|
# device_id: "__string",
|
2537
|
-
# key_type: "speke", # accepts speke, static-key
|
3666
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
2538
3667
|
# region: "__string",
|
2539
3668
|
# resource_id: "__string",
|
2540
3669
|
# role_arn: "__string",
|
@@ -2543,9 +3672,29 @@ module Aws::MediaConnect
|
|
2543
3672
|
# },
|
2544
3673
|
# flow_arn: "__string", # required
|
2545
3674
|
# max_latency: 1,
|
3675
|
+
# media_stream_output_configurations: [
|
3676
|
+
# {
|
3677
|
+
# destination_configurations: [
|
3678
|
+
# {
|
3679
|
+
# destination_ip: "__string", # required
|
3680
|
+
# destination_port: 1, # required
|
3681
|
+
# interface: { # required
|
3682
|
+
# name: "__string", # required
|
3683
|
+
# },
|
3684
|
+
# },
|
3685
|
+
# ],
|
3686
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
3687
|
+
# encoding_parameters: {
|
3688
|
+
# compression_factor: 1.0, # required
|
3689
|
+
# encoder_profile: "main", # required, accepts main, high
|
3690
|
+
# },
|
3691
|
+
# media_stream_name: "__string", # required
|
3692
|
+
# },
|
3693
|
+
# ],
|
3694
|
+
# min_latency: 1,
|
2546
3695
|
# output_arn: "__string", # required
|
2547
3696
|
# port: 1,
|
2548
|
-
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
|
3697
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
2549
3698
|
# remote_id: "__string",
|
2550
3699
|
# smoothing_latency: 1,
|
2551
3700
|
# stream_id: "__string",
|
@@ -2583,6 +3732,20 @@ module Aws::MediaConnect
|
|
2583
3732
|
# The maximum latency in milliseconds for Zixi-based streams.
|
2584
3733
|
# @return [Integer]
|
2585
3734
|
#
|
3735
|
+
# @!attribute [rw] media_stream_output_configurations
|
3736
|
+
# The media streams that are associated with the output, and the
|
3737
|
+
# parameters for those associations.
|
3738
|
+
# @return [Array<Types::MediaStreamOutputConfigurationRequest>]
|
3739
|
+
#
|
3740
|
+
# @!attribute [rw] min_latency
|
3741
|
+
# The minimum latency in milliseconds for SRT-based streams. In
|
3742
|
+
# streams that use the SRT protocol, this value that you set on your
|
3743
|
+
# MediaConnect source or output represents the minimal potential
|
3744
|
+
# latency of that connection. The latency of the stream is set to the
|
3745
|
+
# highest number between the sender’s minimum latency and the
|
3746
|
+
# receiver’s minimum latency.
|
3747
|
+
# @return [Integer]
|
3748
|
+
#
|
2586
3749
|
# @!attribute [rw] output_arn
|
2587
3750
|
# @return [String]
|
2588
3751
|
#
|
@@ -2621,6 +3784,8 @@ module Aws::MediaConnect
|
|
2621
3784
|
:encryption,
|
2622
3785
|
:flow_arn,
|
2623
3786
|
:max_latency,
|
3787
|
+
:media_stream_output_configurations,
|
3788
|
+
:min_latency,
|
2624
3789
|
:output_arn,
|
2625
3790
|
:port,
|
2626
3791
|
:protocol,
|
@@ -2696,7 +3861,8 @@ module Aws::MediaConnect
|
|
2696
3861
|
include Aws::Structure
|
2697
3862
|
end
|
2698
3863
|
|
2699
|
-
# The
|
3864
|
+
# The updates that you want to make to an existing source of an existing
|
3865
|
+
# flow.
|
2700
3866
|
#
|
2701
3867
|
# @note When making an API call, you may pass UpdateFlowSourceRequest
|
2702
3868
|
# data as a hash:
|
@@ -2706,7 +3872,7 @@ module Aws::MediaConnect
|
|
2706
3872
|
# algorithm: "aes128", # accepts aes128, aes192, aes256
|
2707
3873
|
# constant_initialization_vector: "__string",
|
2708
3874
|
# device_id: "__string",
|
2709
|
-
# key_type: "speke", # accepts speke, static-key
|
3875
|
+
# key_type: "speke", # accepts speke, static-key, srt-password
|
2710
3876
|
# region: "__string",
|
2711
3877
|
# resource_id: "__string",
|
2712
3878
|
# role_arn: "__string",
|
@@ -2719,7 +3885,23 @@ module Aws::MediaConnect
|
|
2719
3885
|
# ingest_port: 1,
|
2720
3886
|
# max_bitrate: 1,
|
2721
3887
|
# max_latency: 1,
|
2722
|
-
#
|
3888
|
+
# max_sync_buffer: 1,
|
3889
|
+
# media_stream_source_configurations: [
|
3890
|
+
# {
|
3891
|
+
# encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
|
3892
|
+
# input_configurations: [
|
3893
|
+
# {
|
3894
|
+
# input_port: 1, # required
|
3895
|
+
# interface: { # required
|
3896
|
+
# name: "__string", # required
|
3897
|
+
# },
|
3898
|
+
# },
|
3899
|
+
# ],
|
3900
|
+
# media_stream_name: "__string", # required
|
3901
|
+
# },
|
3902
|
+
# ],
|
3903
|
+
# min_latency: 1,
|
3904
|
+
# protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
|
2723
3905
|
# source_arn: "__string", # required
|
2724
3906
|
# stream_id: "__string",
|
2725
3907
|
# vpc_interface_name: "__string",
|
@@ -2758,6 +3940,25 @@ module Aws::MediaConnect
|
|
2758
3940
|
# RIST-based and Zixi-based streams.
|
2759
3941
|
# @return [Integer]
|
2760
3942
|
#
|
3943
|
+
# @!attribute [rw] max_sync_buffer
|
3944
|
+
# The size of the buffer (in milliseconds) to use to sync incoming
|
3945
|
+
# source data.
|
3946
|
+
# @return [Integer]
|
3947
|
+
#
|
3948
|
+
# @!attribute [rw] media_stream_source_configurations
|
3949
|
+
# The media streams that are associated with the source, and the
|
3950
|
+
# parameters for those associations.
|
3951
|
+
# @return [Array<Types::MediaStreamSourceConfigurationRequest>]
|
3952
|
+
#
|
3953
|
+
# @!attribute [rw] min_latency
|
3954
|
+
# The minimum latency in milliseconds for SRT-based streams. In
|
3955
|
+
# streams that use the SRT protocol, this value that you set on your
|
3956
|
+
# MediaConnect source or output represents the minimal potential
|
3957
|
+
# latency of that connection. The latency of the stream is set to the
|
3958
|
+
# highest number between the sender’s minimum latency and the
|
3959
|
+
# receiver’s minimum latency.
|
3960
|
+
# @return [Integer]
|
3961
|
+
#
|
2761
3962
|
# @!attribute [rw] protocol
|
2762
3963
|
# The protocol that is used by the source.
|
2763
3964
|
# @return [String]
|
@@ -2771,7 +3972,7 @@ module Aws::MediaConnect
|
|
2771
3972
|
# @return [String]
|
2772
3973
|
#
|
2773
3974
|
# @!attribute [rw] vpc_interface_name
|
2774
|
-
# The name of the VPC
|
3975
|
+
# The name of the VPC interface to use for this source.
|
2775
3976
|
# @return [String]
|
2776
3977
|
#
|
2777
3978
|
# @!attribute [rw] whitelist_cidr
|
@@ -2791,6 +3992,9 @@ module Aws::MediaConnect
|
|
2791
3992
|
:ingest_port,
|
2792
3993
|
:max_bitrate,
|
2793
3994
|
:max_latency,
|
3995
|
+
:max_sync_buffer,
|
3996
|
+
:media_stream_source_configurations,
|
3997
|
+
:min_latency,
|
2794
3998
|
:protocol,
|
2795
3999
|
:source_arn,
|
2796
4000
|
:stream_id,
|
@@ -2833,6 +4037,10 @@ module Aws::MediaConnect
|
|
2833
4037
|
# MediaConnect.
|
2834
4038
|
# @return [Array<String>]
|
2835
4039
|
#
|
4040
|
+
# @!attribute [rw] network_interface_type
|
4041
|
+
# The type of network interface.
|
4042
|
+
# @return [String]
|
4043
|
+
#
|
2836
4044
|
# @!attribute [rw] role_arn
|
2837
4045
|
# Role Arn MediaConnect can assumes to create ENIs in customer's
|
2838
4046
|
# account
|
@@ -2851,6 +4059,7 @@ module Aws::MediaConnect
|
|
2851
4059
|
class VpcInterface < Struct.new(
|
2852
4060
|
:name,
|
2853
4061
|
:network_interface_ids,
|
4062
|
+
:network_interface_type,
|
2854
4063
|
:role_arn,
|
2855
4064
|
:security_group_ids,
|
2856
4065
|
:subnet_id)
|
@@ -2886,6 +4095,7 @@ module Aws::MediaConnect
|
|
2886
4095
|
#
|
2887
4096
|
# {
|
2888
4097
|
# name: "__string", # required
|
4098
|
+
# network_interface_type: "ena", # accepts ena, efa
|
2889
4099
|
# role_arn: "__string", # required
|
2890
4100
|
# security_group_ids: ["__string"], # required
|
2891
4101
|
# subnet_id: "__string", # required
|
@@ -2896,6 +4106,11 @@ module Aws::MediaConnect
|
|
2896
4106
|
# current flow.
|
2897
4107
|
# @return [String]
|
2898
4108
|
#
|
4109
|
+
# @!attribute [rw] network_interface_type
|
4110
|
+
# The type of network interface. If this value is not included in the
|
4111
|
+
# request, MediaConnect uses ENA as the networkInterfaceType.
|
4112
|
+
# @return [String]
|
4113
|
+
#
|
2899
4114
|
# @!attribute [rw] role_arn
|
2900
4115
|
# Role Arn MediaConnect can assumes to create ENIs in customer's
|
2901
4116
|
# account
|
@@ -2913,6 +4128,7 @@ module Aws::MediaConnect
|
|
2913
4128
|
#
|
2914
4129
|
class VpcInterfaceRequest < Struct.new(
|
2915
4130
|
:name,
|
4131
|
+
:network_interface_type,
|
2916
4132
|
:role_arn,
|
2917
4133
|
:security_group_ids,
|
2918
4134
|
:subnet_id)
|