aws-sdk-mediaconnect 1.29.0 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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/master/CONTRIBUTING.md
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/master/CONTRIBUTING.md
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/master/CONTRIBUTING.md
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", # required, accepts aes128, aes192, aes256
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", # required, accepts aes128, aes192, aes256
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", # required, accepts aes128, aes192, aes256
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 one entitlement.
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", # required, accepts aes128, aes192, aes256
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", # required, accepts aes128, aes192, aes256
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", # required, accepts aes128, aes192, aes256
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,23 +687,43 @@ 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",
442
711
  # },
443
712
  # source_failover_config: {
713
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
444
714
  # recovery_window: 1,
715
+ # source_priority: {
716
+ # primary_source: "__string",
717
+ # },
445
718
  # state: "ENABLED", # accepts ENABLED, DISABLED
446
719
  # },
447
720
  # sources: [
448
721
  # {
449
722
  # decryption: {
450
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
723
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
451
724
  # constant_initialization_vector: "__string",
452
725
  # device_id: "__string",
453
- # key_type: "speke", # accepts speke, static-key
726
+ # key_type: "speke", # accepts speke, static-key, srt-password
454
727
  # region: "__string",
455
728
  # resource_id: "__string",
456
729
  # role_arn: "__string", # required
@@ -462,8 +735,24 @@ module Aws::MediaConnect
462
735
  # ingest_port: 1,
463
736
  # max_bitrate: 1,
464
737
  # max_latency: 1,
738
+ # max_sync_buffer: 1,
739
+ # media_stream_source_configurations: [
740
+ # {
741
+ # encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
742
+ # input_configurations: [
743
+ # {
744
+ # input_port: 1, # required
745
+ # interface: { # required
746
+ # name: "__string", # required
747
+ # },
748
+ # },
749
+ # ],
750
+ # media_stream_name: "__string", # required
751
+ # },
752
+ # ],
753
+ # min_latency: 1,
465
754
  # name: "__string",
466
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
755
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
467
756
  # stream_id: "__string",
468
757
  # vpc_interface_name: "__string",
469
758
  # whitelist_cidr: "__string",
@@ -472,6 +761,7 @@ module Aws::MediaConnect
472
761
  # vpc_interfaces: [
473
762
  # {
474
763
  # name: "__string", # required
764
+ # network_interface_type: "ena", # accepts ena, efa
475
765
  # role_arn: "__string", # required
476
766
  # security_group_ids: ["__string"], # required
477
767
  # subnet_id: "__string", # required
@@ -489,6 +779,11 @@ module Aws::MediaConnect
489
779
  # The entitlements that you want to grant on a flow.
490
780
  # @return [Array<Types::GrantEntitlementRequest>]
491
781
  #
782
+ # @!attribute [rw] media_streams
783
+ # The media streams that you want to add to the flow. You can
784
+ # associate these media streams with sources and outputs on the flow.
785
+ # @return [Array<Types::AddMediaStreamRequest>]
786
+ #
492
787
  # @!attribute [rw] name
493
788
  # The name of the flow.
494
789
  # @return [String]
@@ -517,6 +812,7 @@ module Aws::MediaConnect
517
812
  class CreateFlowRequest < Struct.new(
518
813
  :availability_zone,
519
814
  :entitlements,
815
+ :media_streams,
520
816
  :name,
521
817
  :outputs,
522
818
  :source,
@@ -688,16 +984,156 @@ module Aws::MediaConnect
688
984
  include Aws::Structure
689
985
  end
690
986
 
987
+ # The transport parameters that are associated with an outbound media
988
+ # stream.
989
+ #
990
+ # @!attribute [rw] destination_ip
991
+ # The IP address where contents of the media stream will be sent.
992
+ # @return [String]
993
+ #
994
+ # @!attribute [rw] destination_port
995
+ # The port to use when the content of the media stream is distributed
996
+ # to the output.
997
+ # @return [Integer]
998
+ #
999
+ # @!attribute [rw] interface
1000
+ # The VPC interface that is used for the media stream associated with
1001
+ # the output.
1002
+ # @return [Types::Interface]
1003
+ #
1004
+ # @!attribute [rw] outbound_ip
1005
+ # The IP address that the receiver requires in order to establish a
1006
+ # connection with the flow. This value is represented by the elastic
1007
+ # network interface IP address of the VPC. This field applies only to
1008
+ # outputs that use the CDI or ST 2110 JPEG XS protocol.
1009
+ # @return [String]
1010
+ #
1011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DestinationConfiguration AWS API Documentation
1012
+ #
1013
+ class DestinationConfiguration < Struct.new(
1014
+ :destination_ip,
1015
+ :destination_port,
1016
+ :interface,
1017
+ :outbound_ip)
1018
+ SENSITIVE = []
1019
+ include Aws::Structure
1020
+ end
1021
+
1022
+ # The transport parameters that you want to associate with an outbound
1023
+ # media stream.
1024
+ #
1025
+ # @note When making an API call, you may pass DestinationConfigurationRequest
1026
+ # data as a hash:
1027
+ #
1028
+ # {
1029
+ # destination_ip: "__string", # required
1030
+ # destination_port: 1, # required
1031
+ # interface: { # required
1032
+ # name: "__string", # required
1033
+ # },
1034
+ # }
1035
+ #
1036
+ # @!attribute [rw] destination_ip
1037
+ # The IP address where you want MediaConnect to send contents of the
1038
+ # media stream.
1039
+ # @return [String]
1040
+ #
1041
+ # @!attribute [rw] destination_port
1042
+ # The port that you want MediaConnect to use when it distributes the
1043
+ # media stream to the output.
1044
+ # @return [Integer]
1045
+ #
1046
+ # @!attribute [rw] interface
1047
+ # The VPC interface that you want to use for the media stream
1048
+ # associated with the output.
1049
+ # @return [Types::InterfaceRequest]
1050
+ #
1051
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DestinationConfigurationRequest AWS API Documentation
1052
+ #
1053
+ class DestinationConfigurationRequest < Struct.new(
1054
+ :destination_ip,
1055
+ :destination_port,
1056
+ :interface)
1057
+ SENSITIVE = []
1058
+ include Aws::Structure
1059
+ end
1060
+
1061
+ # A collection of parameters that determine how MediaConnect will
1062
+ # convert the content. These fields only apply to outputs on flows that
1063
+ # have a CDI source.
1064
+ #
1065
+ # @!attribute [rw] compression_factor
1066
+ # A value that is used to calculate compression for an output. The
1067
+ # bitrate of the output is calculated as follows: Output bitrate = (1
1068
+ # / compressionFactor) * (source bitrate) This property only applies
1069
+ # to outputs that use the ST 2110 JPEG XS protocol, with a flow source
1070
+ # that uses the CDI protocol. Valid values are floating point numbers
1071
+ # in the range of 3.0 to 10.0, inclusive.
1072
+ # @return [Float]
1073
+ #
1074
+ # @!attribute [rw] encoder_profile
1075
+ # A setting on the encoder that drives compression settings. This
1076
+ # property only applies to video media streams associated with outputs
1077
+ # that use the ST 2110 JPEG XS protocol, with a flow source that uses
1078
+ # the CDI protocol.
1079
+ # @return [String]
1080
+ #
1081
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/EncodingParameters AWS API Documentation
1082
+ #
1083
+ class EncodingParameters < Struct.new(
1084
+ :compression_factor,
1085
+ :encoder_profile)
1086
+ SENSITIVE = []
1087
+ include Aws::Structure
1088
+ end
1089
+
1090
+ # A collection of parameters that determine how MediaConnect will
1091
+ # convert the content. These fields only apply to outputs on flows that
1092
+ # have a CDI source.
1093
+ #
1094
+ # @note When making an API call, you may pass EncodingParametersRequest
1095
+ # data as a hash:
1096
+ #
1097
+ # {
1098
+ # compression_factor: 1.0, # required
1099
+ # encoder_profile: "main", # required, accepts main, high
1100
+ # }
1101
+ #
1102
+ # @!attribute [rw] compression_factor
1103
+ # A value that is used to calculate compression for an output. The
1104
+ # bitrate of the output is calculated as follows: Output bitrate = (1
1105
+ # / compressionFactor) * (source bitrate) This property only applies
1106
+ # to outputs that use the ST 2110 JPEG XS protocol, with a flow source
1107
+ # that uses the CDI protocol. Valid values are floating point numbers
1108
+ # in the range of 3.0 to 10.0, inclusive.
1109
+ # @return [Float]
1110
+ #
1111
+ # @!attribute [rw] encoder_profile
1112
+ # A setting on the encoder that drives compression settings. This
1113
+ # property only applies to video media streams associated with outputs
1114
+ # that use the ST 2110 JPEG XS protocol, if at least one source on the
1115
+ # flow uses the CDI protocol.
1116
+ # @return [String]
1117
+ #
1118
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/EncodingParametersRequest AWS API Documentation
1119
+ #
1120
+ class EncodingParametersRequest < Struct.new(
1121
+ :compression_factor,
1122
+ :encoder_profile)
1123
+ SENSITIVE = []
1124
+ include Aws::Structure
1125
+ end
1126
+
691
1127
  # Information about the encryption of the flow.
692
1128
  #
693
1129
  # @note When making an API call, you may pass Encryption
694
1130
  # data as a hash:
695
1131
  #
696
1132
  # {
697
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
1133
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
698
1134
  # constant_initialization_vector: "__string",
699
1135
  # device_id: "__string",
700
- # key_type: "speke", # accepts speke, static-key
1136
+ # key_type: "speke", # accepts speke, static-key, srt-password
701
1137
  # region: "__string",
702
1138
  # resource_id: "__string",
703
1139
  # role_arn: "__string", # required
@@ -828,21 +1264,39 @@ module Aws::MediaConnect
828
1264
  # data as a hash:
829
1265
  #
830
1266
  # {
1267
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
831
1268
  # recovery_window: 1,
1269
+ # source_priority: {
1270
+ # primary_source: "__string",
1271
+ # },
832
1272
  # state: "ENABLED", # accepts ENABLED, DISABLED
833
1273
  # }
834
1274
  #
1275
+ # @!attribute [rw] failover_mode
1276
+ # The type of failover you choose for this flow. MERGE combines the
1277
+ # source streams into a single stream, allowing graceful recovery from
1278
+ # any single-source loss. FAILOVER allows switching between different
1279
+ # streams.
1280
+ # @return [String]
1281
+ #
835
1282
  # @!attribute [rw] recovery_window
836
1283
  # Search window time to look for dash-7 packets
837
1284
  # @return [Integer]
838
1285
  #
1286
+ # @!attribute [rw] source_priority
1287
+ # The priority you want to assign to a source. You can have a primary
1288
+ # stream and a backup stream or two equally prioritized streams.
1289
+ # @return [Types::SourcePriority]
1290
+ #
839
1291
  # @!attribute [rw] state
840
1292
  # @return [String]
841
1293
  #
842
1294
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/FailoverConfig AWS API Documentation
843
1295
  #
844
1296
  class FailoverConfig < Struct.new(
1297
+ :failover_mode,
845
1298
  :recovery_window,
1299
+ :source_priority,
846
1300
  :state)
847
1301
  SENSITIVE = []
848
1302
  include Aws::Structure
@@ -875,6 +1329,12 @@ module Aws::MediaConnect
875
1329
  # resource, of the flow.
876
1330
  # @return [String]
877
1331
  #
1332
+ # @!attribute [rw] media_streams
1333
+ # The media streams that are associated with the flow. After you
1334
+ # associate a media stream with a source, you can also associate it
1335
+ # with outputs on the flow.
1336
+ # @return [Array<Types::MediaStream>]
1337
+ #
878
1338
  # @!attribute [rw] name
879
1339
  # The name of the flow.
880
1340
  # @return [String]
@@ -910,6 +1370,7 @@ module Aws::MediaConnect
910
1370
  :egress_ip,
911
1371
  :entitlements,
912
1372
  :flow_arn,
1373
+ :media_streams,
913
1374
  :name,
914
1375
  :outputs,
915
1376
  :source,
@@ -921,6 +1382,115 @@ module Aws::MediaConnect
921
1382
  include Aws::Structure
922
1383
  end
923
1384
 
1385
+ # FMTP
1386
+ #
1387
+ # @!attribute [rw] channel_order
1388
+ # The format of the audio channel.
1389
+ # @return [String]
1390
+ #
1391
+ # @!attribute [rw] colorimetry
1392
+ # The format that is used for the representation of color.
1393
+ # @return [String]
1394
+ #
1395
+ # @!attribute [rw] exact_framerate
1396
+ # The frame rate for the video stream, in frames/second. For example:
1397
+ # 60000/1001. If you specify a whole number, MediaConnect uses a ratio
1398
+ # of N/1. For example, if you specify 60, MediaConnect uses 60/1 as
1399
+ # the exactFramerate.
1400
+ # @return [String]
1401
+ #
1402
+ # @!attribute [rw] par
1403
+ # The pixel aspect ratio (PAR) of the video.
1404
+ # @return [String]
1405
+ #
1406
+ # @!attribute [rw] range
1407
+ # The encoding range of the video.
1408
+ # @return [String]
1409
+ #
1410
+ # @!attribute [rw] scan_mode
1411
+ # The type of compression that was used to smooth the video’s
1412
+ # appearance
1413
+ # @return [String]
1414
+ #
1415
+ # @!attribute [rw] tcs
1416
+ # The transfer characteristic system (TCS) that is used in the video.
1417
+ # @return [String]
1418
+ #
1419
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Fmtp AWS API Documentation
1420
+ #
1421
+ class Fmtp < Struct.new(
1422
+ :channel_order,
1423
+ :colorimetry,
1424
+ :exact_framerate,
1425
+ :par,
1426
+ :range,
1427
+ :scan_mode,
1428
+ :tcs)
1429
+ SENSITIVE = []
1430
+ include Aws::Structure
1431
+ end
1432
+
1433
+ # The settings that you want to use to define the media stream.
1434
+ #
1435
+ # @note When making an API call, you may pass FmtpRequest
1436
+ # data as a hash:
1437
+ #
1438
+ # {
1439
+ # channel_order: "__string",
1440
+ # colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
1441
+ # exact_framerate: "__string",
1442
+ # par: "__string",
1443
+ # range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
1444
+ # scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
1445
+ # tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
1446
+ # }
1447
+ #
1448
+ # @!attribute [rw] channel_order
1449
+ # The format of the audio channel.
1450
+ # @return [String]
1451
+ #
1452
+ # @!attribute [rw] colorimetry
1453
+ # The format that is used for the representation of color.
1454
+ # @return [String]
1455
+ #
1456
+ # @!attribute [rw] exact_framerate
1457
+ # The frame rate for the video stream, in frames/second. For example:
1458
+ # 60000/1001. If you specify a whole number, MediaConnect uses a ratio
1459
+ # of N/1. For example, if you specify 60, MediaConnect uses 60/1 as
1460
+ # the exactFramerate.
1461
+ # @return [String]
1462
+ #
1463
+ # @!attribute [rw] par
1464
+ # The pixel aspect ratio (PAR) of the video.
1465
+ # @return [String]
1466
+ #
1467
+ # @!attribute [rw] range
1468
+ # The encoding range of the video.
1469
+ # @return [String]
1470
+ #
1471
+ # @!attribute [rw] scan_mode
1472
+ # The type of compression that was used to smooth the video’s
1473
+ # appearance.
1474
+ # @return [String]
1475
+ #
1476
+ # @!attribute [rw] tcs
1477
+ # The transfer characteristic system (TCS) that is used in the video.
1478
+ # @return [String]
1479
+ #
1480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/FmtpRequest AWS API Documentation
1481
+ #
1482
+ class FmtpRequest < Struct.new(
1483
+ :channel_order,
1484
+ :colorimetry,
1485
+ :exact_framerate,
1486
+ :par,
1487
+ :range,
1488
+ :scan_mode,
1489
+ :tcs)
1490
+ SENSITIVE = []
1491
+ include Aws::Structure
1492
+ end
1493
+
924
1494
  # Exception raised by AWS Elemental MediaConnect. See the error message
925
1495
  # and documentation for the operation for more information on the cause
926
1496
  # of this exception.
@@ -945,10 +1515,10 @@ module Aws::MediaConnect
945
1515
  # data_transfer_subscriber_fee_percent: 1,
946
1516
  # description: "__string",
947
1517
  # encryption: {
948
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
1518
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
949
1519
  # constant_initialization_vector: "__string",
950
1520
  # device_id: "__string",
951
- # key_type: "speke", # accepts speke, static-key
1521
+ # key_type: "speke", # accepts speke, static-key, srt-password
952
1522
  # region: "__string",
953
1523
  # resource_id: "__string",
954
1524
  # role_arn: "__string", # required
@@ -1033,10 +1603,10 @@ module Aws::MediaConnect
1033
1603
  # data_transfer_subscriber_fee_percent: 1,
1034
1604
  # description: "__string",
1035
1605
  # encryption: {
1036
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
1606
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
1037
1607
  # constant_initialization_vector: "__string",
1038
1608
  # device_id: "__string",
1039
- # key_type: "speke", # accepts speke, static-key
1609
+ # key_type: "speke", # accepts speke, static-key, srt-password
1040
1610
  # region: "__string",
1041
1611
  # resource_id: "__string",
1042
1612
  # role_arn: "__string", # required
@@ -1086,6 +1656,101 @@ module Aws::MediaConnect
1086
1656
  include Aws::Structure
1087
1657
  end
1088
1658
 
1659
+ # The transport parameters that are associated with an incoming media
1660
+ # stream.
1661
+ #
1662
+ # @!attribute [rw] input_ip
1663
+ # The IP address that the flow listens on for incoming content for a
1664
+ # media stream.
1665
+ # @return [String]
1666
+ #
1667
+ # @!attribute [rw] input_port
1668
+ # The port that the flow listens on for an incoming media stream.
1669
+ # @return [Integer]
1670
+ #
1671
+ # @!attribute [rw] interface
1672
+ # The VPC interface where the media stream comes in from.
1673
+ # @return [Types::Interface]
1674
+ #
1675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/InputConfiguration AWS API Documentation
1676
+ #
1677
+ class InputConfiguration < Struct.new(
1678
+ :input_ip,
1679
+ :input_port,
1680
+ :interface)
1681
+ SENSITIVE = []
1682
+ include Aws::Structure
1683
+ end
1684
+
1685
+ # The transport parameters that you want to associate with an incoming
1686
+ # media stream.
1687
+ #
1688
+ # @note When making an API call, you may pass InputConfigurationRequest
1689
+ # data as a hash:
1690
+ #
1691
+ # {
1692
+ # input_port: 1, # required
1693
+ # interface: { # required
1694
+ # name: "__string", # required
1695
+ # },
1696
+ # }
1697
+ #
1698
+ # @!attribute [rw] input_port
1699
+ # The port that you want the flow to listen on for an incoming media
1700
+ # stream.
1701
+ # @return [Integer]
1702
+ #
1703
+ # @!attribute [rw] interface
1704
+ # The VPC interface that you want to use for the incoming media
1705
+ # stream.
1706
+ # @return [Types::InterfaceRequest]
1707
+ #
1708
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/InputConfigurationRequest AWS API Documentation
1709
+ #
1710
+ class InputConfigurationRequest < Struct.new(
1711
+ :input_port,
1712
+ :interface)
1713
+ SENSITIVE = []
1714
+ include Aws::Structure
1715
+ end
1716
+
1717
+ # The VPC interface that is used for the media stream associated with
1718
+ # the source or output.
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/Interface AWS API Documentation
1725
+ #
1726
+ class Interface < Struct.new(
1727
+ :name)
1728
+ SENSITIVE = []
1729
+ include Aws::Structure
1730
+ end
1731
+
1732
+ # The VPC interface that you want to designate where the media stream is
1733
+ # coming from or going to.
1734
+ #
1735
+ # @note When making an API call, you may pass InterfaceRequest
1736
+ # data as a hash:
1737
+ #
1738
+ # {
1739
+ # name: "__string", # required
1740
+ # }
1741
+ #
1742
+ # @!attribute [rw] name
1743
+ # The name of the VPC interface.
1744
+ # @return [String]
1745
+ #
1746
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/InterfaceRequest AWS API Documentation
1747
+ #
1748
+ class InterfaceRequest < Struct.new(
1749
+ :name)
1750
+ SENSITIVE = []
1751
+ include Aws::Structure
1752
+ end
1753
+
1089
1754
  # Exception raised by AWS Elemental MediaConnect. See the error message
1090
1755
  # and documentation for the operation for more information on the cause
1091
1756
  # of this exception.
@@ -1407,6 +2072,286 @@ module Aws::MediaConnect
1407
2072
  include Aws::Structure
1408
2073
  end
1409
2074
 
2075
+ # A single track or stream of media that contains video, audio, or
2076
+ # ancillary data. After you add a media stream to a flow, you can
2077
+ # associate it with sources and outputs on that flow, as long as they
2078
+ # use the CDI protocol or the ST 2110 JPEG XS protocol. Each source or
2079
+ # output can consist of one or many media streams.
2080
+ #
2081
+ # @!attribute [rw] attributes
2082
+ # Attributes that are related to the media stream.
2083
+ # @return [Types::MediaStreamAttributes]
2084
+ #
2085
+ # @!attribute [rw] clock_rate
2086
+ # The sample rate for the stream. This value is measured in Hz.
2087
+ # @return [Integer]
2088
+ #
2089
+ # @!attribute [rw] description
2090
+ # A description that can help you quickly identify what your media
2091
+ # stream is used for.
2092
+ # @return [String]
2093
+ #
2094
+ # @!attribute [rw] fmt
2095
+ # The format type number (sometimes referred to as RTP payload type)
2096
+ # of the media stream. MediaConnect assigns this value to the media
2097
+ # stream. For ST 2110 JPEG XS outputs, you need to provide this value
2098
+ # to the receiver.
2099
+ # @return [Integer]
2100
+ #
2101
+ # @!attribute [rw] media_stream_id
2102
+ # A unique identifier for the media stream.
2103
+ # @return [Integer]
2104
+ #
2105
+ # @!attribute [rw] media_stream_name
2106
+ # A name that helps you distinguish one media stream from another.
2107
+ # @return [String]
2108
+ #
2109
+ # @!attribute [rw] media_stream_type
2110
+ # The type of media stream.
2111
+ # @return [String]
2112
+ #
2113
+ # @!attribute [rw] video_format
2114
+ # The resolution of the video.
2115
+ # @return [String]
2116
+ #
2117
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStream AWS API Documentation
2118
+ #
2119
+ class MediaStream < Struct.new(
2120
+ :attributes,
2121
+ :clock_rate,
2122
+ :description,
2123
+ :fmt,
2124
+ :media_stream_id,
2125
+ :media_stream_name,
2126
+ :media_stream_type,
2127
+ :video_format)
2128
+ SENSITIVE = []
2129
+ include Aws::Structure
2130
+ end
2131
+
2132
+ # Attributes that are related to the media stream.
2133
+ #
2134
+ # @!attribute [rw] fmtp
2135
+ # A set of parameters that define the media stream.
2136
+ # @return [Types::Fmtp]
2137
+ #
2138
+ # @!attribute [rw] lang
2139
+ # The audio language, in a format that is recognized by the receiver.
2140
+ # @return [String]
2141
+ #
2142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamAttributes AWS API Documentation
2143
+ #
2144
+ class MediaStreamAttributes < Struct.new(
2145
+ :fmtp,
2146
+ :lang)
2147
+ SENSITIVE = []
2148
+ include Aws::Structure
2149
+ end
2150
+
2151
+ # Attributes that are related to the media stream.
2152
+ #
2153
+ # @note When making an API call, you may pass MediaStreamAttributesRequest
2154
+ # data as a hash:
2155
+ #
2156
+ # {
2157
+ # fmtp: {
2158
+ # channel_order: "__string",
2159
+ # colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
2160
+ # exact_framerate: "__string",
2161
+ # par: "__string",
2162
+ # range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
2163
+ # scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
2164
+ # tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
2165
+ # },
2166
+ # lang: "__string",
2167
+ # }
2168
+ #
2169
+ # @!attribute [rw] fmtp
2170
+ # The settings that you want to use to define the media stream.
2171
+ # @return [Types::FmtpRequest]
2172
+ #
2173
+ # @!attribute [rw] lang
2174
+ # The audio language, in a format that is recognized by the receiver.
2175
+ # @return [String]
2176
+ #
2177
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamAttributesRequest AWS API Documentation
2178
+ #
2179
+ class MediaStreamAttributesRequest < Struct.new(
2180
+ :fmtp,
2181
+ :lang)
2182
+ SENSITIVE = []
2183
+ include Aws::Structure
2184
+ end
2185
+
2186
+ # The media stream that is associated with the output, and the
2187
+ # parameters for that association.
2188
+ #
2189
+ # @!attribute [rw] destination_configurations
2190
+ # The transport parameters that are associated with each outbound
2191
+ # media stream.
2192
+ # @return [Array<Types::DestinationConfiguration>]
2193
+ #
2194
+ # @!attribute [rw] encoding_name
2195
+ # The format that was used to encode the data. For ancillary data
2196
+ # streams, set the encoding name to smpte291. For audio streams, set
2197
+ # the encoding name to pcm. For video, 2110 streams, set the encoding
2198
+ # name to raw. For video, JPEG XS streams, set the encoding name to
2199
+ # jxsv.
2200
+ # @return [String]
2201
+ #
2202
+ # @!attribute [rw] encoding_parameters
2203
+ # Encoding parameters
2204
+ # @return [Types::EncodingParameters]
2205
+ #
2206
+ # @!attribute [rw] media_stream_name
2207
+ # The name of the media stream.
2208
+ # @return [String]
2209
+ #
2210
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamOutputConfiguration AWS API Documentation
2211
+ #
2212
+ class MediaStreamOutputConfiguration < Struct.new(
2213
+ :destination_configurations,
2214
+ :encoding_name,
2215
+ :encoding_parameters,
2216
+ :media_stream_name)
2217
+ SENSITIVE = []
2218
+ include Aws::Structure
2219
+ end
2220
+
2221
+ # The media stream that you want to associate with the output, and the
2222
+ # parameters for that association.
2223
+ #
2224
+ # @note When making an API call, you may pass MediaStreamOutputConfigurationRequest
2225
+ # data as a hash:
2226
+ #
2227
+ # {
2228
+ # destination_configurations: [
2229
+ # {
2230
+ # destination_ip: "__string", # required
2231
+ # destination_port: 1, # required
2232
+ # interface: { # required
2233
+ # name: "__string", # required
2234
+ # },
2235
+ # },
2236
+ # ],
2237
+ # encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
2238
+ # encoding_parameters: {
2239
+ # compression_factor: 1.0, # required
2240
+ # encoder_profile: "main", # required, accepts main, high
2241
+ # },
2242
+ # media_stream_name: "__string", # required
2243
+ # }
2244
+ #
2245
+ # @!attribute [rw] destination_configurations
2246
+ # The transport parameters that you want to associate with the media
2247
+ # stream.
2248
+ # @return [Array<Types::DestinationConfigurationRequest>]
2249
+ #
2250
+ # @!attribute [rw] encoding_name
2251
+ # The format that will be used to encode the data. For ancillary data
2252
+ # streams, set the encoding name to smpte291. For audio streams, set
2253
+ # the encoding name to pcm. For video, 2110 streams, set the encoding
2254
+ # name to raw. For video, JPEG XS streams, set the encoding name to
2255
+ # jxsv.
2256
+ # @return [String]
2257
+ #
2258
+ # @!attribute [rw] encoding_parameters
2259
+ # A collection of parameters that determine how MediaConnect will
2260
+ # convert the content. These fields only apply to outputs on flows
2261
+ # that have a CDI source.
2262
+ # @return [Types::EncodingParametersRequest]
2263
+ #
2264
+ # @!attribute [rw] media_stream_name
2265
+ # The name of the media stream that is associated with the output.
2266
+ # @return [String]
2267
+ #
2268
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamOutputConfigurationRequest AWS API Documentation
2269
+ #
2270
+ class MediaStreamOutputConfigurationRequest < Struct.new(
2271
+ :destination_configurations,
2272
+ :encoding_name,
2273
+ :encoding_parameters,
2274
+ :media_stream_name)
2275
+ SENSITIVE = []
2276
+ include Aws::Structure
2277
+ end
2278
+
2279
+ # The media stream that is associated with the source, and the
2280
+ # parameters for that association.
2281
+ #
2282
+ # @!attribute [rw] encoding_name
2283
+ # The format that was used to encode the data. For ancillary data
2284
+ # streams, set the encoding name to smpte291. For audio streams, set
2285
+ # the encoding name to pcm. For video, 2110 streams, set the encoding
2286
+ # name to raw. For video, JPEG XS streams, set the encoding name to
2287
+ # jxsv.
2288
+ # @return [String]
2289
+ #
2290
+ # @!attribute [rw] input_configurations
2291
+ # The transport parameters that are associated with an incoming media
2292
+ # stream.
2293
+ # @return [Array<Types::InputConfiguration>]
2294
+ #
2295
+ # @!attribute [rw] media_stream_name
2296
+ # The name of the media stream.
2297
+ # @return [String]
2298
+ #
2299
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamSourceConfiguration AWS API Documentation
2300
+ #
2301
+ class MediaStreamSourceConfiguration < Struct.new(
2302
+ :encoding_name,
2303
+ :input_configurations,
2304
+ :media_stream_name)
2305
+ SENSITIVE = []
2306
+ include Aws::Structure
2307
+ end
2308
+
2309
+ # The definition of a media stream that you want to associate with the
2310
+ # source.
2311
+ #
2312
+ # @note When making an API call, you may pass MediaStreamSourceConfigurationRequest
2313
+ # data as a hash:
2314
+ #
2315
+ # {
2316
+ # encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
2317
+ # input_configurations: [
2318
+ # {
2319
+ # input_port: 1, # required
2320
+ # interface: { # required
2321
+ # name: "__string", # required
2322
+ # },
2323
+ # },
2324
+ # ],
2325
+ # media_stream_name: "__string", # required
2326
+ # }
2327
+ #
2328
+ # @!attribute [rw] encoding_name
2329
+ # The format you want to use to encode the data. For ancillary data
2330
+ # streams, set the encoding name to smpte291. For audio streams, set
2331
+ # the encoding name to pcm. For video, 2110 streams, set the encoding
2332
+ # name to raw. For video, JPEG XS streams, set the encoding name to
2333
+ # jxsv.
2334
+ # @return [String]
2335
+ #
2336
+ # @!attribute [rw] input_configurations
2337
+ # The transport parameters that you want to associate with the media
2338
+ # stream.
2339
+ # @return [Array<Types::InputConfigurationRequest>]
2340
+ #
2341
+ # @!attribute [rw] media_stream_name
2342
+ # The name of the media stream.
2343
+ # @return [String]
2344
+ #
2345
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamSourceConfigurationRequest AWS API Documentation
2346
+ #
2347
+ class MediaStreamSourceConfigurationRequest < Struct.new(
2348
+ :encoding_name,
2349
+ :input_configurations,
2350
+ :media_stream_name)
2351
+ SENSITIVE = []
2352
+ include Aws::Structure
2353
+ end
2354
+
1410
2355
  # Messages that provide the state of the flow.
1411
2356
  #
1412
2357
  # @!attribute [rw] errors
@@ -1517,12 +2462,26 @@ module Aws::MediaConnect
1517
2462
  # is relevant only on entitled flows.
1518
2463
  # @return [String]
1519
2464
  #
2465
+ # @!attribute [rw] listener_address
2466
+ # The IP address that the receiver requires in order to establish a
2467
+ # connection with the flow. For public networking, the ListenerAddress
2468
+ # is represented by the elastic IP address of the flow. For private
2469
+ # networking, the ListenerAddress is represented by the elastic
2470
+ # network interface IP address of the VPC. This field applies only to
2471
+ # outputs that use the Zixi pull or SRT listener protocol.
2472
+ # @return [String]
2473
+ #
1520
2474
  # @!attribute [rw] media_live_input_arn
1521
2475
  # The input ARN of the AWS Elemental MediaLive channel. This parameter
1522
2476
  # is relevant only for outputs that were added by creating a MediaLive
1523
2477
  # input.
1524
2478
  # @return [String]
1525
2479
  #
2480
+ # @!attribute [rw] media_stream_output_configurations
2481
+ # The configuration for each media stream that is associated with the
2482
+ # output.
2483
+ # @return [Array<Types::MediaStreamOutputConfiguration>]
2484
+ #
1526
2485
  # @!attribute [rw] name
1527
2486
  # The name of the output. This value must be unique within the current
1528
2487
  # flow.
@@ -1553,7 +2512,9 @@ module Aws::MediaConnect
1553
2512
  :destination,
1554
2513
  :encryption,
1555
2514
  :entitlement_arn,
2515
+ :listener_address,
1556
2516
  :media_live_input_arn,
2517
+ :media_stream_output_configurations,
1557
2518
  :name,
1558
2519
  :output_arn,
1559
2520
  :port,
@@ -1623,6 +2584,48 @@ module Aws::MediaConnect
1623
2584
  include Aws::Structure
1624
2585
  end
1625
2586
 
2587
+ # @note When making an API call, you may pass RemoveFlowMediaStreamRequest
2588
+ # data as a hash:
2589
+ #
2590
+ # {
2591
+ # flow_arn: "__string", # required
2592
+ # media_stream_name: "__string", # required
2593
+ # }
2594
+ #
2595
+ # @!attribute [rw] flow_arn
2596
+ # @return [String]
2597
+ #
2598
+ # @!attribute [rw] media_stream_name
2599
+ # @return [String]
2600
+ #
2601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowMediaStreamRequest AWS API Documentation
2602
+ #
2603
+ class RemoveFlowMediaStreamRequest < Struct.new(
2604
+ :flow_arn,
2605
+ :media_stream_name)
2606
+ SENSITIVE = []
2607
+ include Aws::Structure
2608
+ end
2609
+
2610
+ # The result of a successful RemoveFlowMediaStream request.
2611
+ #
2612
+ # @!attribute [rw] flow_arn
2613
+ # The Amazon Resource Name (ARN) of the flow.
2614
+ # @return [String]
2615
+ #
2616
+ # @!attribute [rw] media_stream_name
2617
+ # The name of the media stream that was removed.
2618
+ # @return [String]
2619
+ #
2620
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowMediaStreamResponse AWS API Documentation
2621
+ #
2622
+ class RemoveFlowMediaStreamResponse < Struct.new(
2623
+ :flow_arn,
2624
+ :media_stream_name)
2625
+ SENSITIVE = []
2626
+ include Aws::Structure
2627
+ end
2628
+
1626
2629
  # @note When making an API call, you may pass RemoveFlowOutputRequest
1627
2630
  # data as a hash:
1628
2631
  #
@@ -1957,10 +2960,10 @@ module Aws::MediaConnect
1957
2960
  #
1958
2961
  # {
1959
2962
  # decryption: {
1960
- # algorithm: "aes128", # required, accepts aes128, aes192, aes256
2963
+ # algorithm: "aes128", # accepts aes128, aes192, aes256
1961
2964
  # constant_initialization_vector: "__string",
1962
2965
  # device_id: "__string",
1963
- # key_type: "speke", # accepts speke, static-key
2966
+ # key_type: "speke", # accepts speke, static-key, srt-password
1964
2967
  # region: "__string",
1965
2968
  # resource_id: "__string",
1966
2969
  # role_arn: "__string", # required
@@ -1972,8 +2975,24 @@ module Aws::MediaConnect
1972
2975
  # ingest_port: 1,
1973
2976
  # max_bitrate: 1,
1974
2977
  # max_latency: 1,
2978
+ # max_sync_buffer: 1,
2979
+ # media_stream_source_configurations: [
2980
+ # {
2981
+ # encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
2982
+ # input_configurations: [
2983
+ # {
2984
+ # input_port: 1, # required
2985
+ # interface: { # required
2986
+ # name: "__string", # required
2987
+ # },
2988
+ # },
2989
+ # ],
2990
+ # media_stream_name: "__string", # required
2991
+ # },
2992
+ # ],
2993
+ # min_latency: 1,
1975
2994
  # name: "__string",
1976
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
2995
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
1977
2996
  # stream_id: "__string",
1978
2997
  # vpc_interface_name: "__string",
1979
2998
  # whitelist_cidr: "__string",
@@ -2008,6 +3027,25 @@ module Aws::MediaConnect
2008
3027
  # RIST-based and Zixi-based streams.
2009
3028
  # @return [Integer]
2010
3029
  #
3030
+ # @!attribute [rw] max_sync_buffer
3031
+ # The size of the buffer (in milliseconds) to use to sync incoming
3032
+ # source data.
3033
+ # @return [Integer]
3034
+ #
3035
+ # @!attribute [rw] media_stream_source_configurations
3036
+ # The media streams that are associated with the source, and the
3037
+ # parameters for those associations.
3038
+ # @return [Array<Types::MediaStreamSourceConfigurationRequest>]
3039
+ #
3040
+ # @!attribute [rw] min_latency
3041
+ # The minimum latency in milliseconds for SRT-based streams. In
3042
+ # streams that use the SRT protocol, this value that you set on your
3043
+ # MediaConnect source or output represents the minimal potential
3044
+ # latency of that connection. The latency of the stream is set to the
3045
+ # highest number between the sender’s minimum latency and the
3046
+ # receiver’s minimum latency.
3047
+ # @return [Integer]
3048
+ #
2011
3049
  # @!attribute [rw] name
2012
3050
  # The name of the source.
2013
3051
  # @return [String]
@@ -2041,6 +3079,9 @@ module Aws::MediaConnect
2041
3079
  :ingest_port,
2042
3080
  :max_bitrate,
2043
3081
  :max_latency,
3082
+ :max_sync_buffer,
3083
+ :media_stream_source_configurations,
3084
+ :min_latency,
2044
3085
  :name,
2045
3086
  :protocol,
2046
3087
  :stream_id,
@@ -2083,6 +3124,11 @@ module Aws::MediaConnect
2083
3124
  # The port that the flow will be listening on for incoming content.
2084
3125
  # @return [Integer]
2085
3126
  #
3127
+ # @!attribute [rw] media_stream_source_configurations
3128
+ # The media streams that are associated with the source, and the
3129
+ # parameters for those associations.
3130
+ # @return [Array<Types::MediaStreamSourceConfiguration>]
3131
+ #
2086
3132
  # @!attribute [rw] name
2087
3133
  # The name of the source.
2088
3134
  # @return [String]
@@ -2097,7 +3143,7 @@ module Aws::MediaConnect
2097
3143
  # @return [Types::Transport]
2098
3144
  #
2099
3145
  # @!attribute [rw] vpc_interface_name
2100
- # The name of the VPC Interface this Source is configured with.
3146
+ # The name of the VPC interface that is used for this source.
2101
3147
  # @return [String]
2102
3148
  #
2103
3149
  # @!attribute [rw] whitelist_cidr
@@ -2116,6 +3162,7 @@ module Aws::MediaConnect
2116
3162
  :entitlement_arn,
2117
3163
  :ingest_ip,
2118
3164
  :ingest_port,
3165
+ :media_stream_source_configurations,
2119
3166
  :name,
2120
3167
  :source_arn,
2121
3168
  :transport,
@@ -2125,6 +3172,29 @@ module Aws::MediaConnect
2125
3172
  include Aws::Structure
2126
3173
  end
2127
3174
 
3175
+ # The priority you want to assign to a source. You can have a primary
3176
+ # stream and a backup stream or two equally prioritized streams.
3177
+ #
3178
+ # @note When making an API call, you may pass SourcePriority
3179
+ # data as a hash:
3180
+ #
3181
+ # {
3182
+ # primary_source: "__string",
3183
+ # }
3184
+ #
3185
+ # @!attribute [rw] primary_source
3186
+ # The name of the source you choose as the primary source for this
3187
+ # flow.
3188
+ # @return [String]
3189
+ #
3190
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/SourcePriority AWS API Documentation
3191
+ #
3192
+ class SourcePriority < Struct.new(
3193
+ :primary_source)
3194
+ SENSITIVE = []
3195
+ include Aws::Structure
3196
+ end
3197
+
2128
3198
  # @note When making an API call, you may pass StartFlowRequest
2129
3199
  # data as a hash:
2130
3200
  #
@@ -2265,6 +3335,20 @@ module Aws::MediaConnect
2265
3335
  # RIST-based and Zixi-based streams.
2266
3336
  # @return [Integer]
2267
3337
  #
3338
+ # @!attribute [rw] max_sync_buffer
3339
+ # The size of the buffer (in milliseconds) to use to sync incoming
3340
+ # source data.
3341
+ # @return [Integer]
3342
+ #
3343
+ # @!attribute [rw] min_latency
3344
+ # The minimum latency in milliseconds for SRT-based streams. In
3345
+ # streams that use the SRT protocol, this value that you set on your
3346
+ # MediaConnect source or output represents the minimal potential
3347
+ # latency of that connection. The latency of the stream is set to the
3348
+ # highest number between the sender’s minimum latency and the
3349
+ # receiver’s minimum latency.
3350
+ # @return [Integer]
3351
+ #
2268
3352
  # @!attribute [rw] protocol
2269
3353
  # The protocol that is used by the source or output.
2270
3354
  # @return [String]
@@ -2289,6 +3373,8 @@ module Aws::MediaConnect
2289
3373
  :cidr_allow_list,
2290
3374
  :max_bitrate,
2291
3375
  :max_latency,
3376
+ :max_sync_buffer,
3377
+ :min_latency,
2292
3378
  :protocol,
2293
3379
  :remote_id,
2294
3380
  :smoothing_latency,
@@ -2329,7 +3415,7 @@ module Aws::MediaConnect
2329
3415
  # algorithm: "aes128", # accepts aes128, aes192, aes256
2330
3416
  # constant_initialization_vector: "__string",
2331
3417
  # device_id: "__string",
2332
- # key_type: "speke", # accepts speke, static-key
3418
+ # key_type: "speke", # accepts speke, static-key, srt-password
2333
3419
  # region: "__string",
2334
3420
  # resource_id: "__string",
2335
3421
  # role_arn: "__string",
@@ -2412,21 +3498,39 @@ module Aws::MediaConnect
2412
3498
  # data as a hash:
2413
3499
  #
2414
3500
  # {
3501
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
2415
3502
  # recovery_window: 1,
3503
+ # source_priority: {
3504
+ # primary_source: "__string",
3505
+ # },
2416
3506
  # state: "ENABLED", # accepts ENABLED, DISABLED
2417
3507
  # }
2418
3508
  #
3509
+ # @!attribute [rw] failover_mode
3510
+ # The type of failover you choose for this flow. MERGE combines the
3511
+ # source streams into a single stream, allowing graceful recovery from
3512
+ # any single-source loss. FAILOVER allows switching between different
3513
+ # streams.
3514
+ # @return [String]
3515
+ #
2419
3516
  # @!attribute [rw] recovery_window
2420
3517
  # Recovery window time to look for dash-7 packets
2421
3518
  # @return [Integer]
2422
3519
  #
3520
+ # @!attribute [rw] source_priority
3521
+ # The priority you want to assign to a source. You can have a primary
3522
+ # stream and a backup stream or two equally prioritized streams.
3523
+ # @return [Types::SourcePriority]
3524
+ #
2423
3525
  # @!attribute [rw] state
2424
3526
  # @return [String]
2425
3527
  #
2426
3528
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFailoverConfig AWS API Documentation
2427
3529
  #
2428
3530
  class UpdateFailoverConfig < Struct.new(
3531
+ :failover_mode,
2429
3532
  :recovery_window,
3533
+ :source_priority,
2430
3534
  :state)
2431
3535
  SENSITIVE = []
2432
3536
  include Aws::Structure
@@ -2443,7 +3547,7 @@ module Aws::MediaConnect
2443
3547
  # algorithm: "aes128", # accepts aes128, aes192, aes256
2444
3548
  # constant_initialization_vector: "__string",
2445
3549
  # device_id: "__string",
2446
- # key_type: "speke", # accepts speke, static-key
3550
+ # key_type: "speke", # accepts speke, static-key, srt-password
2447
3551
  # region: "__string",
2448
3552
  # resource_id: "__string",
2449
3553
  # role_arn: "__string",
@@ -2520,6 +3624,94 @@ module Aws::MediaConnect
2520
3624
  include Aws::Structure
2521
3625
  end
2522
3626
 
3627
+ # Update a media stream on a flow.
3628
+ #
3629
+ # @note When making an API call, you may pass UpdateFlowMediaStreamRequest
3630
+ # data as a hash:
3631
+ #
3632
+ # {
3633
+ # attributes: {
3634
+ # fmtp: {
3635
+ # channel_order: "__string",
3636
+ # colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
3637
+ # exact_framerate: "__string",
3638
+ # par: "__string",
3639
+ # range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
3640
+ # scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
3641
+ # tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
3642
+ # },
3643
+ # lang: "__string",
3644
+ # },
3645
+ # clock_rate: 1,
3646
+ # description: "__string",
3647
+ # flow_arn: "__string", # required
3648
+ # media_stream_name: "__string", # required
3649
+ # media_stream_type: "video", # accepts video, audio, ancillary-data
3650
+ # video_format: "__string",
3651
+ # }
3652
+ #
3653
+ # @!attribute [rw] attributes
3654
+ # The attributes that you want to assign to the media stream.
3655
+ # @return [Types::MediaStreamAttributesRequest]
3656
+ #
3657
+ # @!attribute [rw] clock_rate
3658
+ # The sample rate (in Hz) for the stream. If the media stream type is
3659
+ # video or ancillary data, set this value to 90000. If the media
3660
+ # stream type is audio, set this value to either 48000 or 96000.
3661
+ # @return [Integer]
3662
+ #
3663
+ # @!attribute [rw] description
3664
+ # Description
3665
+ # @return [String]
3666
+ #
3667
+ # @!attribute [rw] flow_arn
3668
+ # @return [String]
3669
+ #
3670
+ # @!attribute [rw] media_stream_name
3671
+ # @return [String]
3672
+ #
3673
+ # @!attribute [rw] media_stream_type
3674
+ # The type of media stream.
3675
+ # @return [String]
3676
+ #
3677
+ # @!attribute [rw] video_format
3678
+ # The resolution of the video.
3679
+ # @return [String]
3680
+ #
3681
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowMediaStreamRequest AWS API Documentation
3682
+ #
3683
+ class UpdateFlowMediaStreamRequest < Struct.new(
3684
+ :attributes,
3685
+ :clock_rate,
3686
+ :description,
3687
+ :flow_arn,
3688
+ :media_stream_name,
3689
+ :media_stream_type,
3690
+ :video_format)
3691
+ SENSITIVE = []
3692
+ include Aws::Structure
3693
+ end
3694
+
3695
+ # Update response
3696
+ #
3697
+ # @!attribute [rw] flow_arn
3698
+ # The ARN of the flow that is associated with the media stream that
3699
+ # you updated.
3700
+ # @return [String]
3701
+ #
3702
+ # @!attribute [rw] media_stream
3703
+ # The media stream that you updated.
3704
+ # @return [Types::MediaStream]
3705
+ #
3706
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowMediaStreamResponse AWS API Documentation
3707
+ #
3708
+ class UpdateFlowMediaStreamResponse < Struct.new(
3709
+ :flow_arn,
3710
+ :media_stream)
3711
+ SENSITIVE = []
3712
+ include Aws::Structure
3713
+ end
3714
+
2523
3715
  # The updates that you want to make to an existing output of an existing
2524
3716
  # flow.
2525
3717
  #
@@ -2534,7 +3726,7 @@ module Aws::MediaConnect
2534
3726
  # algorithm: "aes128", # accepts aes128, aes192, aes256
2535
3727
  # constant_initialization_vector: "__string",
2536
3728
  # device_id: "__string",
2537
- # key_type: "speke", # accepts speke, static-key
3729
+ # key_type: "speke", # accepts speke, static-key, srt-password
2538
3730
  # region: "__string",
2539
3731
  # resource_id: "__string",
2540
3732
  # role_arn: "__string",
@@ -2543,9 +3735,29 @@ module Aws::MediaConnect
2543
3735
  # },
2544
3736
  # flow_arn: "__string", # required
2545
3737
  # max_latency: 1,
3738
+ # media_stream_output_configurations: [
3739
+ # {
3740
+ # destination_configurations: [
3741
+ # {
3742
+ # destination_ip: "__string", # required
3743
+ # destination_port: 1, # required
3744
+ # interface: { # required
3745
+ # name: "__string", # required
3746
+ # },
3747
+ # },
3748
+ # ],
3749
+ # encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
3750
+ # encoding_parameters: {
3751
+ # compression_factor: 1.0, # required
3752
+ # encoder_profile: "main", # required, accepts main, high
3753
+ # },
3754
+ # media_stream_name: "__string", # required
3755
+ # },
3756
+ # ],
3757
+ # min_latency: 1,
2546
3758
  # output_arn: "__string", # required
2547
3759
  # port: 1,
2548
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
3760
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
2549
3761
  # remote_id: "__string",
2550
3762
  # smoothing_latency: 1,
2551
3763
  # stream_id: "__string",
@@ -2583,6 +3795,20 @@ module Aws::MediaConnect
2583
3795
  # The maximum latency in milliseconds for Zixi-based streams.
2584
3796
  # @return [Integer]
2585
3797
  #
3798
+ # @!attribute [rw] media_stream_output_configurations
3799
+ # The media streams that are associated with the output, and the
3800
+ # parameters for those associations.
3801
+ # @return [Array<Types::MediaStreamOutputConfigurationRequest>]
3802
+ #
3803
+ # @!attribute [rw] min_latency
3804
+ # The minimum latency in milliseconds for SRT-based streams. In
3805
+ # streams that use the SRT protocol, this value that you set on your
3806
+ # MediaConnect source or output represents the minimal potential
3807
+ # latency of that connection. The latency of the stream is set to the
3808
+ # highest number between the sender’s minimum latency and the
3809
+ # receiver’s minimum latency.
3810
+ # @return [Integer]
3811
+ #
2586
3812
  # @!attribute [rw] output_arn
2587
3813
  # @return [String]
2588
3814
  #
@@ -2621,6 +3847,8 @@ module Aws::MediaConnect
2621
3847
  :encryption,
2622
3848
  :flow_arn,
2623
3849
  :max_latency,
3850
+ :media_stream_output_configurations,
3851
+ :min_latency,
2624
3852
  :output_arn,
2625
3853
  :port,
2626
3854
  :protocol,
@@ -2660,7 +3888,11 @@ module Aws::MediaConnect
2660
3888
  # {
2661
3889
  # flow_arn: "__string", # required
2662
3890
  # source_failover_config: {
3891
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
2663
3892
  # recovery_window: 1,
3893
+ # source_priority: {
3894
+ # primary_source: "__string",
3895
+ # },
2664
3896
  # state: "ENABLED", # accepts ENABLED, DISABLED
2665
3897
  # },
2666
3898
  # }
@@ -2696,7 +3928,8 @@ module Aws::MediaConnect
2696
3928
  include Aws::Structure
2697
3929
  end
2698
3930
 
2699
- # The settings for the updated source of the flow.
3931
+ # The updates that you want to make to an existing source of an existing
3932
+ # flow.
2700
3933
  #
2701
3934
  # @note When making an API call, you may pass UpdateFlowSourceRequest
2702
3935
  # data as a hash:
@@ -2706,7 +3939,7 @@ module Aws::MediaConnect
2706
3939
  # algorithm: "aes128", # accepts aes128, aes192, aes256
2707
3940
  # constant_initialization_vector: "__string",
2708
3941
  # device_id: "__string",
2709
- # key_type: "speke", # accepts speke, static-key
3942
+ # key_type: "speke", # accepts speke, static-key, srt-password
2710
3943
  # region: "__string",
2711
3944
  # resource_id: "__string",
2712
3945
  # role_arn: "__string",
@@ -2719,7 +3952,23 @@ module Aws::MediaConnect
2719
3952
  # ingest_port: 1,
2720
3953
  # max_bitrate: 1,
2721
3954
  # max_latency: 1,
2722
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist
3955
+ # max_sync_buffer: 1,
3956
+ # media_stream_source_configurations: [
3957
+ # {
3958
+ # encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
3959
+ # input_configurations: [
3960
+ # {
3961
+ # input_port: 1, # required
3962
+ # interface: { # required
3963
+ # name: "__string", # required
3964
+ # },
3965
+ # },
3966
+ # ],
3967
+ # media_stream_name: "__string", # required
3968
+ # },
3969
+ # ],
3970
+ # min_latency: 1,
3971
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
2723
3972
  # source_arn: "__string", # required
2724
3973
  # stream_id: "__string",
2725
3974
  # vpc_interface_name: "__string",
@@ -2758,6 +4007,25 @@ module Aws::MediaConnect
2758
4007
  # RIST-based and Zixi-based streams.
2759
4008
  # @return [Integer]
2760
4009
  #
4010
+ # @!attribute [rw] max_sync_buffer
4011
+ # The size of the buffer (in milliseconds) to use to sync incoming
4012
+ # source data.
4013
+ # @return [Integer]
4014
+ #
4015
+ # @!attribute [rw] media_stream_source_configurations
4016
+ # The media streams that are associated with the source, and the
4017
+ # parameters for those associations.
4018
+ # @return [Array<Types::MediaStreamSourceConfigurationRequest>]
4019
+ #
4020
+ # @!attribute [rw] min_latency
4021
+ # The minimum latency in milliseconds for SRT-based streams. In
4022
+ # streams that use the SRT protocol, this value that you set on your
4023
+ # MediaConnect source or output represents the minimal potential
4024
+ # latency of that connection. The latency of the stream is set to the
4025
+ # highest number between the sender’s minimum latency and the
4026
+ # receiver’s minimum latency.
4027
+ # @return [Integer]
4028
+ #
2761
4029
  # @!attribute [rw] protocol
2762
4030
  # The protocol that is used by the source.
2763
4031
  # @return [String]
@@ -2771,7 +4039,7 @@ module Aws::MediaConnect
2771
4039
  # @return [String]
2772
4040
  #
2773
4041
  # @!attribute [rw] vpc_interface_name
2774
- # The name of the VPC Interface to configure this Source with.
4042
+ # The name of the VPC interface to use for this source.
2775
4043
  # @return [String]
2776
4044
  #
2777
4045
  # @!attribute [rw] whitelist_cidr
@@ -2791,6 +4059,9 @@ module Aws::MediaConnect
2791
4059
  :ingest_port,
2792
4060
  :max_bitrate,
2793
4061
  :max_latency,
4062
+ :max_sync_buffer,
4063
+ :media_stream_source_configurations,
4064
+ :min_latency,
2794
4065
  :protocol,
2795
4066
  :source_arn,
2796
4067
  :stream_id,
@@ -2833,6 +4104,10 @@ module Aws::MediaConnect
2833
4104
  # MediaConnect.
2834
4105
  # @return [Array<String>]
2835
4106
  #
4107
+ # @!attribute [rw] network_interface_type
4108
+ # The type of network interface.
4109
+ # @return [String]
4110
+ #
2836
4111
  # @!attribute [rw] role_arn
2837
4112
  # Role Arn MediaConnect can assumes to create ENIs in customer's
2838
4113
  # account
@@ -2851,6 +4126,7 @@ module Aws::MediaConnect
2851
4126
  class VpcInterface < Struct.new(
2852
4127
  :name,
2853
4128
  :network_interface_ids,
4129
+ :network_interface_type,
2854
4130
  :role_arn,
2855
4131
  :security_group_ids,
2856
4132
  :subnet_id)
@@ -2886,6 +4162,7 @@ module Aws::MediaConnect
2886
4162
  #
2887
4163
  # {
2888
4164
  # name: "__string", # required
4165
+ # network_interface_type: "ena", # accepts ena, efa
2889
4166
  # role_arn: "__string", # required
2890
4167
  # security_group_ids: ["__string"], # required
2891
4168
  # subnet_id: "__string", # required
@@ -2896,6 +4173,11 @@ module Aws::MediaConnect
2896
4173
  # current flow.
2897
4174
  # @return [String]
2898
4175
  #
4176
+ # @!attribute [rw] network_interface_type
4177
+ # The type of network interface. If this value is not included in the
4178
+ # request, MediaConnect uses ENA as the networkInterfaceType.
4179
+ # @return [String]
4180
+ #
2899
4181
  # @!attribute [rw] role_arn
2900
4182
  # Role Arn MediaConnect can assumes to create ENIs in customer's
2901
4183
  # account
@@ -2913,6 +4195,7 @@ module Aws::MediaConnect
2913
4195
  #
2914
4196
  class VpcInterfaceRequest < Struct.new(
2915
4197
  :name,
4198
+ :network_interface_type,
2916
4199
  :role_arn,
2917
4200
  :security_group_ids,
2918
4201
  :subnet_id)