aws-sdk-mediaconnect 1.32.0 → 1.36.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,6 +10,73 @@
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.
@@ -50,10 +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
+ # ],
53
139
  # min_latency: 1,
54
140
  # name: "__string",
55
141
  # port: 1,
56
- # protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
142
+ # protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
57
143
  # remote_id: "__string",
58
144
  # smoothing_latency: 1,
59
145
  # stream_id: "__string",
@@ -125,9 +211,24 @@ module Aws::MediaConnect
125
211
  # ingest_port: 1,
126
212
  # max_bitrate: 1,
127
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
+ # ],
128
229
  # min_latency: 1,
129
230
  # name: "__string",
130
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
231
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
131
232
  # stream_id: "__string",
132
233
  # vpc_interface_name: "__string",
133
234
  # whitelist_cidr: "__string",
@@ -181,6 +282,7 @@ module Aws::MediaConnect
181
282
  # vpc_interfaces: [ # required
182
283
  # {
183
284
  # name: "__string", # required
285
+ # network_interface_type: "ena", # accepts ena, efa
184
286
  # role_arn: "__string", # required
185
287
  # security_group_ids: ["__string"], # required
186
288
  # subnet_id: "__string", # required
@@ -224,6 +326,77 @@ module Aws::MediaConnect
224
326
  include Aws::Structure
225
327
  end
226
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
+
227
400
  # The output that you want to add to this flow.
228
401
  #
229
402
  # @note When making an API call, you may pass AddOutputRequest
@@ -245,10 +418,29 @@ module Aws::MediaConnect
245
418
  # url: "__string",
246
419
  # },
247
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
+ # ],
248
440
  # min_latency: 1,
249
441
  # name: "__string",
250
442
  # port: 1,
251
- # protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
443
+ # protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
252
444
  # remote_id: "__string",
253
445
  # smoothing_latency: 1,
254
446
  # stream_id: "__string",
@@ -283,6 +475,11 @@ module Aws::MediaConnect
283
475
  # The maximum latency in milliseconds for Zixi-based streams.
284
476
  # @return [Integer]
285
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
+ #
286
483
  # @!attribute [rw] min_latency
287
484
  # The minimum latency in milliseconds for SRT-based streams. In
288
485
  # streams that use the SRT protocol, this value that you set on your
@@ -331,6 +528,7 @@ module Aws::MediaConnect
331
528
  :destination,
332
529
  :encryption,
333
530
  :max_latency,
531
+ :media_stream_output_configurations,
334
532
  :min_latency,
335
533
  :name,
336
534
  :port,
@@ -374,7 +572,7 @@ module Aws::MediaConnect
374
572
  end
375
573
 
376
574
  # Creates a new flow. The request must include one source. The request
377
- # optionally can include outputs (up to 50) and one entitlement.
575
+ # optionally can include outputs (up to 50) and entitlements (up to 50.)
378
576
  #
379
577
  # @note When making an API call, you may pass CreateFlowRequest
380
578
  # data as a hash:
@@ -401,6 +599,28 @@ module Aws::MediaConnect
401
599
  # subscribers: ["__string"], # required
402
600
  # },
403
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
+ # ],
404
624
  # name: "__string", # required
405
625
  # outputs: [
406
626
  # {
@@ -419,10 +639,29 @@ module Aws::MediaConnect
419
639
  # url: "__string",
420
640
  # },
421
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
+ # ],
422
661
  # min_latency: 1,
423
662
  # name: "__string",
424
663
  # port: 1,
425
- # protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
664
+ # protocol: "zixi-push", # required, accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
426
665
  # remote_id: "__string",
427
666
  # smoothing_latency: 1,
428
667
  # stream_id: "__string",
@@ -448,15 +687,34 @@ module Aws::MediaConnect
448
687
  # ingest_port: 1,
449
688
  # max_bitrate: 1,
450
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
+ # ],
451
705
  # min_latency: 1,
452
706
  # name: "__string",
453
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
707
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
454
708
  # stream_id: "__string",
455
709
  # vpc_interface_name: "__string",
456
710
  # whitelist_cidr: "__string",
457
711
  # },
458
712
  # source_failover_config: {
713
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
459
714
  # recovery_window: 1,
715
+ # source_priority: {
716
+ # primary_source: "__string",
717
+ # },
460
718
  # state: "ENABLED", # accepts ENABLED, DISABLED
461
719
  # },
462
720
  # sources: [
@@ -477,9 +735,24 @@ module Aws::MediaConnect
477
735
  # ingest_port: 1,
478
736
  # max_bitrate: 1,
479
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
+ # ],
480
753
  # min_latency: 1,
481
754
  # name: "__string",
482
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
755
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
483
756
  # stream_id: "__string",
484
757
  # vpc_interface_name: "__string",
485
758
  # whitelist_cidr: "__string",
@@ -488,6 +761,7 @@ module Aws::MediaConnect
488
761
  # vpc_interfaces: [
489
762
  # {
490
763
  # name: "__string", # required
764
+ # network_interface_type: "ena", # accepts ena, efa
491
765
  # role_arn: "__string", # required
492
766
  # security_group_ids: ["__string"], # required
493
767
  # subnet_id: "__string", # required
@@ -505,6 +779,11 @@ module Aws::MediaConnect
505
779
  # The entitlements that you want to grant on a flow.
506
780
  # @return [Array<Types::GrantEntitlementRequest>]
507
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
+ #
508
787
  # @!attribute [rw] name
509
788
  # The name of the flow.
510
789
  # @return [String]
@@ -533,6 +812,7 @@ module Aws::MediaConnect
533
812
  class CreateFlowRequest < Struct.new(
534
813
  :availability_zone,
535
814
  :entitlements,
815
+ :media_streams,
536
816
  :name,
537
817
  :outputs,
538
818
  :source,
@@ -704,6 +984,146 @@ module Aws::MediaConnect
704
984
  include Aws::Structure
705
985
  end
706
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
+
707
1127
  # Information about the encryption of the flow.
708
1128
  #
709
1129
  # @note When making an API call, you may pass Encryption
@@ -844,21 +1264,39 @@ module Aws::MediaConnect
844
1264
  # data as a hash:
845
1265
  #
846
1266
  # {
1267
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
847
1268
  # recovery_window: 1,
1269
+ # source_priority: {
1270
+ # primary_source: "__string",
1271
+ # },
848
1272
  # state: "ENABLED", # accepts ENABLED, DISABLED
849
1273
  # }
850
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
+ #
851
1282
  # @!attribute [rw] recovery_window
852
1283
  # Search window time to look for dash-7 packets
853
1284
  # @return [Integer]
854
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
+ #
855
1291
  # @!attribute [rw] state
856
1292
  # @return [String]
857
1293
  #
858
1294
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/FailoverConfig AWS API Documentation
859
1295
  #
860
1296
  class FailoverConfig < Struct.new(
1297
+ :failover_mode,
861
1298
  :recovery_window,
1299
+ :source_priority,
862
1300
  :state)
863
1301
  SENSITIVE = []
864
1302
  include Aws::Structure
@@ -891,6 +1329,12 @@ module Aws::MediaConnect
891
1329
  # resource, of the flow.
892
1330
  # @return [String]
893
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
+ #
894
1338
  # @!attribute [rw] name
895
1339
  # The name of the flow.
896
1340
  # @return [String]
@@ -926,6 +1370,7 @@ module Aws::MediaConnect
926
1370
  :egress_ip,
927
1371
  :entitlements,
928
1372
  :flow_arn,
1373
+ :media_streams,
929
1374
  :name,
930
1375
  :outputs,
931
1376
  :source,
@@ -937,6 +1382,115 @@ module Aws::MediaConnect
937
1382
  include Aws::Structure
938
1383
  end
939
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
+
940
1494
  # Exception raised by AWS Elemental MediaConnect. See the error message
941
1495
  # and documentation for the operation for more information on the cause
942
1496
  # of this exception.
@@ -1102,6 +1656,101 @@ module Aws::MediaConnect
1102
1656
  include Aws::Structure
1103
1657
  end
1104
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
+
1105
1754
  # Exception raised by AWS Elemental MediaConnect. See the error message
1106
1755
  # and documentation for the operation for more information on the cause
1107
1756
  # of this exception.
@@ -1423,6 +2072,286 @@ module Aws::MediaConnect
1423
2072
  include Aws::Structure
1424
2073
  end
1425
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
+
1426
2355
  # Messages that provide the state of the flow.
1427
2356
  #
1428
2357
  # @!attribute [rw] errors
@@ -1548,6 +2477,11 @@ module Aws::MediaConnect
1548
2477
  # input.
1549
2478
  # @return [String]
1550
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
+ #
1551
2485
  # @!attribute [rw] name
1552
2486
  # The name of the output. This value must be unique within the current
1553
2487
  # flow.
@@ -1580,6 +2514,7 @@ module Aws::MediaConnect
1580
2514
  :entitlement_arn,
1581
2515
  :listener_address,
1582
2516
  :media_live_input_arn,
2517
+ :media_stream_output_configurations,
1583
2518
  :name,
1584
2519
  :output_arn,
1585
2520
  :port,
@@ -1649,6 +2584,48 @@ module Aws::MediaConnect
1649
2584
  include Aws::Structure
1650
2585
  end
1651
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
+
1652
2629
  # @note When making an API call, you may pass RemoveFlowOutputRequest
1653
2630
  # data as a hash:
1654
2631
  #
@@ -1998,9 +2975,24 @@ module Aws::MediaConnect
1998
2975
  # ingest_port: 1,
1999
2976
  # max_bitrate: 1,
2000
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
+ # ],
2001
2993
  # min_latency: 1,
2002
2994
  # name: "__string",
2003
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
2995
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
2004
2996
  # stream_id: "__string",
2005
2997
  # vpc_interface_name: "__string",
2006
2998
  # whitelist_cidr: "__string",
@@ -2035,6 +3027,16 @@ module Aws::MediaConnect
2035
3027
  # RIST-based and Zixi-based streams.
2036
3028
  # @return [Integer]
2037
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
+ #
2038
3040
  # @!attribute [rw] min_latency
2039
3041
  # The minimum latency in milliseconds for SRT-based streams. In
2040
3042
  # streams that use the SRT protocol, this value that you set on your
@@ -2077,6 +3079,8 @@ module Aws::MediaConnect
2077
3079
  :ingest_port,
2078
3080
  :max_bitrate,
2079
3081
  :max_latency,
3082
+ :max_sync_buffer,
3083
+ :media_stream_source_configurations,
2080
3084
  :min_latency,
2081
3085
  :name,
2082
3086
  :protocol,
@@ -2120,6 +3124,11 @@ module Aws::MediaConnect
2120
3124
  # The port that the flow will be listening on for incoming content.
2121
3125
  # @return [Integer]
2122
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
+ #
2123
3132
  # @!attribute [rw] name
2124
3133
  # The name of the source.
2125
3134
  # @return [String]
@@ -2134,7 +3143,7 @@ module Aws::MediaConnect
2134
3143
  # @return [Types::Transport]
2135
3144
  #
2136
3145
  # @!attribute [rw] vpc_interface_name
2137
- # The name of the VPC Interface this Source is configured with.
3146
+ # The name of the VPC interface that is used for this source.
2138
3147
  # @return [String]
2139
3148
  #
2140
3149
  # @!attribute [rw] whitelist_cidr
@@ -2153,6 +3162,7 @@ module Aws::MediaConnect
2153
3162
  :entitlement_arn,
2154
3163
  :ingest_ip,
2155
3164
  :ingest_port,
3165
+ :media_stream_source_configurations,
2156
3166
  :name,
2157
3167
  :source_arn,
2158
3168
  :transport,
@@ -2162,6 +3172,29 @@ module Aws::MediaConnect
2162
3172
  include Aws::Structure
2163
3173
  end
2164
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
+
2165
3198
  # @note When making an API call, you may pass StartFlowRequest
2166
3199
  # data as a hash:
2167
3200
  #
@@ -2302,6 +3335,11 @@ module Aws::MediaConnect
2302
3335
  # RIST-based and Zixi-based streams.
2303
3336
  # @return [Integer]
2304
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
+ #
2305
3343
  # @!attribute [rw] min_latency
2306
3344
  # The minimum latency in milliseconds for SRT-based streams. In
2307
3345
  # streams that use the SRT protocol, this value that you set on your
@@ -2335,6 +3373,7 @@ module Aws::MediaConnect
2335
3373
  :cidr_allow_list,
2336
3374
  :max_bitrate,
2337
3375
  :max_latency,
3376
+ :max_sync_buffer,
2338
3377
  :min_latency,
2339
3378
  :protocol,
2340
3379
  :remote_id,
@@ -2459,21 +3498,39 @@ module Aws::MediaConnect
2459
3498
  # data as a hash:
2460
3499
  #
2461
3500
  # {
3501
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
2462
3502
  # recovery_window: 1,
3503
+ # source_priority: {
3504
+ # primary_source: "__string",
3505
+ # },
2463
3506
  # state: "ENABLED", # accepts ENABLED, DISABLED
2464
3507
  # }
2465
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
+ #
2466
3516
  # @!attribute [rw] recovery_window
2467
3517
  # Recovery window time to look for dash-7 packets
2468
3518
  # @return [Integer]
2469
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
+ #
2470
3525
  # @!attribute [rw] state
2471
3526
  # @return [String]
2472
3527
  #
2473
3528
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFailoverConfig AWS API Documentation
2474
3529
  #
2475
3530
  class UpdateFailoverConfig < Struct.new(
3531
+ :failover_mode,
2476
3532
  :recovery_window,
3533
+ :source_priority,
2477
3534
  :state)
2478
3535
  SENSITIVE = []
2479
3536
  include Aws::Structure
@@ -2567,6 +3624,94 @@ module Aws::MediaConnect
2567
3624
  include Aws::Structure
2568
3625
  end
2569
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
+
2570
3715
  # The updates that you want to make to an existing output of an existing
2571
3716
  # flow.
2572
3717
  #
@@ -2590,10 +3735,29 @@ module Aws::MediaConnect
2590
3735
  # },
2591
3736
  # flow_arn: "__string", # required
2592
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
+ # ],
2593
3757
  # min_latency: 1,
2594
3758
  # output_arn: "__string", # required
2595
3759
  # port: 1,
2596
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
3760
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
2597
3761
  # remote_id: "__string",
2598
3762
  # smoothing_latency: 1,
2599
3763
  # stream_id: "__string",
@@ -2631,6 +3795,11 @@ module Aws::MediaConnect
2631
3795
  # The maximum latency in milliseconds for Zixi-based streams.
2632
3796
  # @return [Integer]
2633
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
+ #
2634
3803
  # @!attribute [rw] min_latency
2635
3804
  # The minimum latency in milliseconds for SRT-based streams. In
2636
3805
  # streams that use the SRT protocol, this value that you set on your
@@ -2678,6 +3847,7 @@ module Aws::MediaConnect
2678
3847
  :encryption,
2679
3848
  :flow_arn,
2680
3849
  :max_latency,
3850
+ :media_stream_output_configurations,
2681
3851
  :min_latency,
2682
3852
  :output_arn,
2683
3853
  :port,
@@ -2718,7 +3888,11 @@ module Aws::MediaConnect
2718
3888
  # {
2719
3889
  # flow_arn: "__string", # required
2720
3890
  # source_failover_config: {
3891
+ # failover_mode: "MERGE", # accepts MERGE, FAILOVER
2721
3892
  # recovery_window: 1,
3893
+ # source_priority: {
3894
+ # primary_source: "__string",
3895
+ # },
2722
3896
  # state: "ENABLED", # accepts ENABLED, DISABLED
2723
3897
  # },
2724
3898
  # }
@@ -2754,7 +3928,8 @@ module Aws::MediaConnect
2754
3928
  include Aws::Structure
2755
3929
  end
2756
3930
 
2757
- # 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.
2758
3933
  #
2759
3934
  # @note When making an API call, you may pass UpdateFlowSourceRequest
2760
3935
  # data as a hash:
@@ -2777,8 +3952,23 @@ module Aws::MediaConnect
2777
3952
  # ingest_port: 1,
2778
3953
  # max_bitrate: 1,
2779
3954
  # max_latency: 1,
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
+ # ],
2780
3970
  # min_latency: 1,
2781
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
3971
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
2782
3972
  # source_arn: "__string", # required
2783
3973
  # stream_id: "__string",
2784
3974
  # vpc_interface_name: "__string",
@@ -2817,6 +4007,16 @@ module Aws::MediaConnect
2817
4007
  # RIST-based and Zixi-based streams.
2818
4008
  # @return [Integer]
2819
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
+ #
2820
4020
  # @!attribute [rw] min_latency
2821
4021
  # The minimum latency in milliseconds for SRT-based streams. In
2822
4022
  # streams that use the SRT protocol, this value that you set on your
@@ -2839,7 +4039,7 @@ module Aws::MediaConnect
2839
4039
  # @return [String]
2840
4040
  #
2841
4041
  # @!attribute [rw] vpc_interface_name
2842
- # The name of the VPC Interface to configure this Source with.
4042
+ # The name of the VPC interface to use for this source.
2843
4043
  # @return [String]
2844
4044
  #
2845
4045
  # @!attribute [rw] whitelist_cidr
@@ -2859,6 +4059,8 @@ module Aws::MediaConnect
2859
4059
  :ingest_port,
2860
4060
  :max_bitrate,
2861
4061
  :max_latency,
4062
+ :max_sync_buffer,
4063
+ :media_stream_source_configurations,
2862
4064
  :min_latency,
2863
4065
  :protocol,
2864
4066
  :source_arn,
@@ -2902,6 +4104,10 @@ module Aws::MediaConnect
2902
4104
  # MediaConnect.
2903
4105
  # @return [Array<String>]
2904
4106
  #
4107
+ # @!attribute [rw] network_interface_type
4108
+ # The type of network interface.
4109
+ # @return [String]
4110
+ #
2905
4111
  # @!attribute [rw] role_arn
2906
4112
  # Role Arn MediaConnect can assumes to create ENIs in customer's
2907
4113
  # account
@@ -2920,6 +4126,7 @@ module Aws::MediaConnect
2920
4126
  class VpcInterface < Struct.new(
2921
4127
  :name,
2922
4128
  :network_interface_ids,
4129
+ :network_interface_type,
2923
4130
  :role_arn,
2924
4131
  :security_group_ids,
2925
4132
  :subnet_id)
@@ -2955,6 +4162,7 @@ module Aws::MediaConnect
2955
4162
  #
2956
4163
  # {
2957
4164
  # name: "__string", # required
4165
+ # network_interface_type: "ena", # accepts ena, efa
2958
4166
  # role_arn: "__string", # required
2959
4167
  # security_group_ids: ["__string"], # required
2960
4168
  # subnet_id: "__string", # required
@@ -2965,6 +4173,11 @@ module Aws::MediaConnect
2965
4173
  # current flow.
2966
4174
  # @return [String]
2967
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
+ #
2968
4181
  # @!attribute [rw] role_arn
2969
4182
  # Role Arn MediaConnect can assumes to create ENIs in customer's
2970
4183
  # account
@@ -2982,6 +4195,7 @@ module Aws::MediaConnect
2982
4195
  #
2983
4196
  class VpcInterfaceRequest < Struct.new(
2984
4197
  :name,
4198
+ :network_interface_type,
2985
4199
  :role_arn,
2986
4200
  :security_group_ids,
2987
4201
  :subnet_id)