aws-sdk-mediaconnect 1.32.0 → 1.33.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,9 +687,24 @@ 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",
@@ -477,9 +731,24 @@ module Aws::MediaConnect
477
731
  # ingest_port: 1,
478
732
  # max_bitrate: 1,
479
733
  # max_latency: 1,
734
+ # max_sync_buffer: 1,
735
+ # media_stream_source_configurations: [
736
+ # {
737
+ # encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
738
+ # input_configurations: [
739
+ # {
740
+ # input_port: 1, # required
741
+ # interface: { # required
742
+ # name: "__string", # required
743
+ # },
744
+ # },
745
+ # ],
746
+ # media_stream_name: "__string", # required
747
+ # },
748
+ # ],
480
749
  # min_latency: 1,
481
750
  # name: "__string",
482
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
751
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
483
752
  # stream_id: "__string",
484
753
  # vpc_interface_name: "__string",
485
754
  # whitelist_cidr: "__string",
@@ -488,6 +757,7 @@ module Aws::MediaConnect
488
757
  # vpc_interfaces: [
489
758
  # {
490
759
  # name: "__string", # required
760
+ # network_interface_type: "ena", # accepts ena, efa
491
761
  # role_arn: "__string", # required
492
762
  # security_group_ids: ["__string"], # required
493
763
  # subnet_id: "__string", # required
@@ -505,6 +775,11 @@ module Aws::MediaConnect
505
775
  # The entitlements that you want to grant on a flow.
506
776
  # @return [Array<Types::GrantEntitlementRequest>]
507
777
  #
778
+ # @!attribute [rw] media_streams
779
+ # The media streams that you want to add to the flow. You can
780
+ # associate these media streams with sources and outputs on the flow.
781
+ # @return [Array<Types::AddMediaStreamRequest>]
782
+ #
508
783
  # @!attribute [rw] name
509
784
  # The name of the flow.
510
785
  # @return [String]
@@ -533,6 +808,7 @@ module Aws::MediaConnect
533
808
  class CreateFlowRequest < Struct.new(
534
809
  :availability_zone,
535
810
  :entitlements,
811
+ :media_streams,
536
812
  :name,
537
813
  :outputs,
538
814
  :source,
@@ -704,6 +980,146 @@ module Aws::MediaConnect
704
980
  include Aws::Structure
705
981
  end
706
982
 
983
+ # The transport parameters that are associated with an outbound media
984
+ # stream.
985
+ #
986
+ # @!attribute [rw] destination_ip
987
+ # The IP address where contents of the media stream will be sent.
988
+ # @return [String]
989
+ #
990
+ # @!attribute [rw] destination_port
991
+ # The port to use when the content of the media stream is distributed
992
+ # to the output.
993
+ # @return [Integer]
994
+ #
995
+ # @!attribute [rw] interface
996
+ # The VPC interface that is used for the media stream associated with
997
+ # the output.
998
+ # @return [Types::Interface]
999
+ #
1000
+ # @!attribute [rw] outbound_ip
1001
+ # The IP address that the receiver requires in order to establish a
1002
+ # connection with the flow. This value is represented by the elastic
1003
+ # network interface IP address of the VPC. This field applies only to
1004
+ # outputs that use the CDI or ST 2110 JPEG XS protocol.
1005
+ # @return [String]
1006
+ #
1007
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DestinationConfiguration AWS API Documentation
1008
+ #
1009
+ class DestinationConfiguration < Struct.new(
1010
+ :destination_ip,
1011
+ :destination_port,
1012
+ :interface,
1013
+ :outbound_ip)
1014
+ SENSITIVE = []
1015
+ include Aws::Structure
1016
+ end
1017
+
1018
+ # The transport parameters that you want to associate with an outbound
1019
+ # media stream.
1020
+ #
1021
+ # @note When making an API call, you may pass DestinationConfigurationRequest
1022
+ # data as a hash:
1023
+ #
1024
+ # {
1025
+ # destination_ip: "__string", # required
1026
+ # destination_port: 1, # required
1027
+ # interface: { # required
1028
+ # name: "__string", # required
1029
+ # },
1030
+ # }
1031
+ #
1032
+ # @!attribute [rw] destination_ip
1033
+ # The IP address where you want MediaConnect to send contents of the
1034
+ # media stream.
1035
+ # @return [String]
1036
+ #
1037
+ # @!attribute [rw] destination_port
1038
+ # The port that you want MediaConnect to use when it distributes the
1039
+ # media stream to the output.
1040
+ # @return [Integer]
1041
+ #
1042
+ # @!attribute [rw] interface
1043
+ # The VPC interface that you want to use for the media stream
1044
+ # associated with the output.
1045
+ # @return [Types::InterfaceRequest]
1046
+ #
1047
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DestinationConfigurationRequest AWS API Documentation
1048
+ #
1049
+ class DestinationConfigurationRequest < Struct.new(
1050
+ :destination_ip,
1051
+ :destination_port,
1052
+ :interface)
1053
+ SENSITIVE = []
1054
+ include Aws::Structure
1055
+ end
1056
+
1057
+ # A collection of parameters that determine how MediaConnect will
1058
+ # convert the content. These fields only apply to outputs on flows that
1059
+ # have a CDI source.
1060
+ #
1061
+ # @!attribute [rw] compression_factor
1062
+ # A value that is used to calculate compression for an output. The
1063
+ # bitrate of the output is calculated as follows: Output bitrate = (1
1064
+ # / compressionFactor) * (source bitrate) This property only applies
1065
+ # to outputs that use the ST 2110 JPEG XS protocol, with a flow source
1066
+ # that uses the CDI protocol. Valid values are floating point numbers
1067
+ # in the range of 3.0 to 10.0, inclusive.
1068
+ # @return [Float]
1069
+ #
1070
+ # @!attribute [rw] encoder_profile
1071
+ # A setting on the encoder that drives compression settings. This
1072
+ # property only applies to video media streams associated with outputs
1073
+ # that use the ST 2110 JPEG XS protocol, with a flow source that uses
1074
+ # the CDI protocol.
1075
+ # @return [String]
1076
+ #
1077
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/EncodingParameters AWS API Documentation
1078
+ #
1079
+ class EncodingParameters < Struct.new(
1080
+ :compression_factor,
1081
+ :encoder_profile)
1082
+ SENSITIVE = []
1083
+ include Aws::Structure
1084
+ end
1085
+
1086
+ # A collection of parameters that determine how MediaConnect will
1087
+ # convert the content. These fields only apply to outputs on flows that
1088
+ # have a CDI source.
1089
+ #
1090
+ # @note When making an API call, you may pass EncodingParametersRequest
1091
+ # data as a hash:
1092
+ #
1093
+ # {
1094
+ # compression_factor: 1.0, # required
1095
+ # encoder_profile: "main", # required, accepts main, high
1096
+ # }
1097
+ #
1098
+ # @!attribute [rw] compression_factor
1099
+ # A value that is used to calculate compression for an output. The
1100
+ # bitrate of the output is calculated as follows: Output bitrate = (1
1101
+ # / compressionFactor) * (source bitrate) This property only applies
1102
+ # to outputs that use the ST 2110 JPEG XS protocol, with a flow source
1103
+ # that uses the CDI protocol. Valid values are floating point numbers
1104
+ # in the range of 3.0 to 10.0, inclusive.
1105
+ # @return [Float]
1106
+ #
1107
+ # @!attribute [rw] encoder_profile
1108
+ # A setting on the encoder that drives compression settings. This
1109
+ # property only applies to video media streams associated with outputs
1110
+ # that use the ST 2110 JPEG XS protocol, if at least one source on the
1111
+ # flow uses the CDI protocol.
1112
+ # @return [String]
1113
+ #
1114
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/EncodingParametersRequest AWS API Documentation
1115
+ #
1116
+ class EncodingParametersRequest < Struct.new(
1117
+ :compression_factor,
1118
+ :encoder_profile)
1119
+ SENSITIVE = []
1120
+ include Aws::Structure
1121
+ end
1122
+
707
1123
  # Information about the encryption of the flow.
708
1124
  #
709
1125
  # @note When making an API call, you may pass Encryption
@@ -891,6 +1307,12 @@ module Aws::MediaConnect
891
1307
  # resource, of the flow.
892
1308
  # @return [String]
893
1309
  #
1310
+ # @!attribute [rw] media_streams
1311
+ # The media streams that are associated with the flow. After you
1312
+ # associate a media stream with a source, you can also associate it
1313
+ # with outputs on the flow.
1314
+ # @return [Array<Types::MediaStream>]
1315
+ #
894
1316
  # @!attribute [rw] name
895
1317
  # The name of the flow.
896
1318
  # @return [String]
@@ -926,6 +1348,7 @@ module Aws::MediaConnect
926
1348
  :egress_ip,
927
1349
  :entitlements,
928
1350
  :flow_arn,
1351
+ :media_streams,
929
1352
  :name,
930
1353
  :outputs,
931
1354
  :source,
@@ -937,6 +1360,115 @@ module Aws::MediaConnect
937
1360
  include Aws::Structure
938
1361
  end
939
1362
 
1363
+ # FMTP
1364
+ #
1365
+ # @!attribute [rw] channel_order
1366
+ # The format of the audio channel.
1367
+ # @return [String]
1368
+ #
1369
+ # @!attribute [rw] colorimetry
1370
+ # The format that is used for the representation of color.
1371
+ # @return [String]
1372
+ #
1373
+ # @!attribute [rw] exact_framerate
1374
+ # The frame rate for the video stream, in frames/second. For example:
1375
+ # 60000/1001. If you specify a whole number, MediaConnect uses a ratio
1376
+ # of N/1. For example, if you specify 60, MediaConnect uses 60/1 as
1377
+ # the exactFramerate.
1378
+ # @return [String]
1379
+ #
1380
+ # @!attribute [rw] par
1381
+ # The pixel aspect ratio (PAR) of the video.
1382
+ # @return [String]
1383
+ #
1384
+ # @!attribute [rw] range
1385
+ # The encoding range of the video.
1386
+ # @return [String]
1387
+ #
1388
+ # @!attribute [rw] scan_mode
1389
+ # The type of compression that was used to smooth the video’s
1390
+ # appearance
1391
+ # @return [String]
1392
+ #
1393
+ # @!attribute [rw] tcs
1394
+ # The transfer characteristic system (TCS) that is used in the video.
1395
+ # @return [String]
1396
+ #
1397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Fmtp AWS API Documentation
1398
+ #
1399
+ class Fmtp < Struct.new(
1400
+ :channel_order,
1401
+ :colorimetry,
1402
+ :exact_framerate,
1403
+ :par,
1404
+ :range,
1405
+ :scan_mode,
1406
+ :tcs)
1407
+ SENSITIVE = []
1408
+ include Aws::Structure
1409
+ end
1410
+
1411
+ # The settings that you want to use to define the media stream.
1412
+ #
1413
+ # @note When making an API call, you may pass FmtpRequest
1414
+ # data as a hash:
1415
+ #
1416
+ # {
1417
+ # channel_order: "__string",
1418
+ # colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
1419
+ # exact_framerate: "__string",
1420
+ # par: "__string",
1421
+ # range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
1422
+ # scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
1423
+ # tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
1424
+ # }
1425
+ #
1426
+ # @!attribute [rw] channel_order
1427
+ # The format of the audio channel.
1428
+ # @return [String]
1429
+ #
1430
+ # @!attribute [rw] colorimetry
1431
+ # The format that is used for the representation of color.
1432
+ # @return [String]
1433
+ #
1434
+ # @!attribute [rw] exact_framerate
1435
+ # The frame rate for the video stream, in frames/second. For example:
1436
+ # 60000/1001. If you specify a whole number, MediaConnect uses a ratio
1437
+ # of N/1. For example, if you specify 60, MediaConnect uses 60/1 as
1438
+ # the exactFramerate.
1439
+ # @return [String]
1440
+ #
1441
+ # @!attribute [rw] par
1442
+ # The pixel aspect ratio (PAR) of the video.
1443
+ # @return [String]
1444
+ #
1445
+ # @!attribute [rw] range
1446
+ # The encoding range of the video.
1447
+ # @return [String]
1448
+ #
1449
+ # @!attribute [rw] scan_mode
1450
+ # The type of compression that was used to smooth the video’s
1451
+ # appearance.
1452
+ # @return [String]
1453
+ #
1454
+ # @!attribute [rw] tcs
1455
+ # The transfer characteristic system (TCS) that is used in the video.
1456
+ # @return [String]
1457
+ #
1458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/FmtpRequest AWS API Documentation
1459
+ #
1460
+ class FmtpRequest < Struct.new(
1461
+ :channel_order,
1462
+ :colorimetry,
1463
+ :exact_framerate,
1464
+ :par,
1465
+ :range,
1466
+ :scan_mode,
1467
+ :tcs)
1468
+ SENSITIVE = []
1469
+ include Aws::Structure
1470
+ end
1471
+
940
1472
  # Exception raised by AWS Elemental MediaConnect. See the error message
941
1473
  # and documentation for the operation for more information on the cause
942
1474
  # of this exception.
@@ -1102,6 +1634,101 @@ module Aws::MediaConnect
1102
1634
  include Aws::Structure
1103
1635
  end
1104
1636
 
1637
+ # The transport parameters that are associated with an incoming media
1638
+ # stream.
1639
+ #
1640
+ # @!attribute [rw] input_ip
1641
+ # The IP address that the flow listens on for incoming content for a
1642
+ # media stream.
1643
+ # @return [String]
1644
+ #
1645
+ # @!attribute [rw] input_port
1646
+ # The port that the flow listens on for an incoming media stream.
1647
+ # @return [Integer]
1648
+ #
1649
+ # @!attribute [rw] interface
1650
+ # The VPC interface where the media stream comes in from.
1651
+ # @return [Types::Interface]
1652
+ #
1653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/InputConfiguration AWS API Documentation
1654
+ #
1655
+ class InputConfiguration < Struct.new(
1656
+ :input_ip,
1657
+ :input_port,
1658
+ :interface)
1659
+ SENSITIVE = []
1660
+ include Aws::Structure
1661
+ end
1662
+
1663
+ # The transport parameters that you want to associate with an incoming
1664
+ # media stream.
1665
+ #
1666
+ # @note When making an API call, you may pass InputConfigurationRequest
1667
+ # data as a hash:
1668
+ #
1669
+ # {
1670
+ # input_port: 1, # required
1671
+ # interface: { # required
1672
+ # name: "__string", # required
1673
+ # },
1674
+ # }
1675
+ #
1676
+ # @!attribute [rw] input_port
1677
+ # The port that you want the flow to listen on for an incoming media
1678
+ # stream.
1679
+ # @return [Integer]
1680
+ #
1681
+ # @!attribute [rw] interface
1682
+ # The VPC interface that you want to use for the incoming media
1683
+ # stream.
1684
+ # @return [Types::InterfaceRequest]
1685
+ #
1686
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/InputConfigurationRequest AWS API Documentation
1687
+ #
1688
+ class InputConfigurationRequest < Struct.new(
1689
+ :input_port,
1690
+ :interface)
1691
+ SENSITIVE = []
1692
+ include Aws::Structure
1693
+ end
1694
+
1695
+ # The VPC interface that is used for the media stream associated with
1696
+ # the source or output.
1697
+ #
1698
+ # @!attribute [rw] name
1699
+ # The name of the VPC interface.
1700
+ # @return [String]
1701
+ #
1702
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/Interface AWS API Documentation
1703
+ #
1704
+ class Interface < Struct.new(
1705
+ :name)
1706
+ SENSITIVE = []
1707
+ include Aws::Structure
1708
+ end
1709
+
1710
+ # The VPC interface that you want to designate where the media stream is
1711
+ # coming from or going to.
1712
+ #
1713
+ # @note When making an API call, you may pass InterfaceRequest
1714
+ # data as a hash:
1715
+ #
1716
+ # {
1717
+ # name: "__string", # required
1718
+ # }
1719
+ #
1720
+ # @!attribute [rw] name
1721
+ # The name of the VPC interface.
1722
+ # @return [String]
1723
+ #
1724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/InterfaceRequest AWS API Documentation
1725
+ #
1726
+ class InterfaceRequest < Struct.new(
1727
+ :name)
1728
+ SENSITIVE = []
1729
+ include Aws::Structure
1730
+ end
1731
+
1105
1732
  # Exception raised by AWS Elemental MediaConnect. See the error message
1106
1733
  # and documentation for the operation for more information on the cause
1107
1734
  # of this exception.
@@ -1423,6 +2050,286 @@ module Aws::MediaConnect
1423
2050
  include Aws::Structure
1424
2051
  end
1425
2052
 
2053
+ # A single track or stream of media that contains video, audio, or
2054
+ # ancillary data. After you add a media stream to a flow, you can
2055
+ # associate it with sources and outputs on that flow, as long as they
2056
+ # use the CDI protocol or the ST 2110 JPEG XS protocol. Each source or
2057
+ # output can consist of one or many media streams.
2058
+ #
2059
+ # @!attribute [rw] attributes
2060
+ # Attributes that are related to the media stream.
2061
+ # @return [Types::MediaStreamAttributes]
2062
+ #
2063
+ # @!attribute [rw] clock_rate
2064
+ # The sample rate for the stream. This value is measured in Hz.
2065
+ # @return [Integer]
2066
+ #
2067
+ # @!attribute [rw] description
2068
+ # A description that can help you quickly identify what your media
2069
+ # stream is used for.
2070
+ # @return [String]
2071
+ #
2072
+ # @!attribute [rw] fmt
2073
+ # The format type number (sometimes referred to as RTP payload type)
2074
+ # of the media stream. MediaConnect assigns this value to the media
2075
+ # stream. For ST 2110 JPEG XS outputs, you need to provide this value
2076
+ # to the receiver.
2077
+ # @return [Integer]
2078
+ #
2079
+ # @!attribute [rw] media_stream_id
2080
+ # A unique identifier for the media stream.
2081
+ # @return [Integer]
2082
+ #
2083
+ # @!attribute [rw] media_stream_name
2084
+ # A name that helps you distinguish one media stream from another.
2085
+ # @return [String]
2086
+ #
2087
+ # @!attribute [rw] media_stream_type
2088
+ # The type of media stream.
2089
+ # @return [String]
2090
+ #
2091
+ # @!attribute [rw] video_format
2092
+ # The resolution of the video.
2093
+ # @return [String]
2094
+ #
2095
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStream AWS API Documentation
2096
+ #
2097
+ class MediaStream < Struct.new(
2098
+ :attributes,
2099
+ :clock_rate,
2100
+ :description,
2101
+ :fmt,
2102
+ :media_stream_id,
2103
+ :media_stream_name,
2104
+ :media_stream_type,
2105
+ :video_format)
2106
+ SENSITIVE = []
2107
+ include Aws::Structure
2108
+ end
2109
+
2110
+ # Attributes that are related to the media stream.
2111
+ #
2112
+ # @!attribute [rw] fmtp
2113
+ # A set of parameters that define the media stream.
2114
+ # @return [Types::Fmtp]
2115
+ #
2116
+ # @!attribute [rw] lang
2117
+ # The audio language, in a format that is recognized by the receiver.
2118
+ # @return [String]
2119
+ #
2120
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamAttributes AWS API Documentation
2121
+ #
2122
+ class MediaStreamAttributes < Struct.new(
2123
+ :fmtp,
2124
+ :lang)
2125
+ SENSITIVE = []
2126
+ include Aws::Structure
2127
+ end
2128
+
2129
+ # Attributes that are related to the media stream.
2130
+ #
2131
+ # @note When making an API call, you may pass MediaStreamAttributesRequest
2132
+ # data as a hash:
2133
+ #
2134
+ # {
2135
+ # fmtp: {
2136
+ # channel_order: "__string",
2137
+ # colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
2138
+ # exact_framerate: "__string",
2139
+ # par: "__string",
2140
+ # range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
2141
+ # scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
2142
+ # tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
2143
+ # },
2144
+ # lang: "__string",
2145
+ # }
2146
+ #
2147
+ # @!attribute [rw] fmtp
2148
+ # The settings that you want to use to define the media stream.
2149
+ # @return [Types::FmtpRequest]
2150
+ #
2151
+ # @!attribute [rw] lang
2152
+ # The audio language, in a format that is recognized by the receiver.
2153
+ # @return [String]
2154
+ #
2155
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamAttributesRequest AWS API Documentation
2156
+ #
2157
+ class MediaStreamAttributesRequest < Struct.new(
2158
+ :fmtp,
2159
+ :lang)
2160
+ SENSITIVE = []
2161
+ include Aws::Structure
2162
+ end
2163
+
2164
+ # The media stream that is associated with the output, and the
2165
+ # parameters for that association.
2166
+ #
2167
+ # @!attribute [rw] destination_configurations
2168
+ # The transport parameters that are associated with each outbound
2169
+ # media stream.
2170
+ # @return [Array<Types::DestinationConfiguration>]
2171
+ #
2172
+ # @!attribute [rw] encoding_name
2173
+ # The format that was used to encode the data. For ancillary data
2174
+ # streams, set the encoding name to smpte291. For audio streams, set
2175
+ # the encoding name to pcm. For video, 2110 streams, set the encoding
2176
+ # name to raw. For video, JPEG XS streams, set the encoding name to
2177
+ # jxsv.
2178
+ # @return [String]
2179
+ #
2180
+ # @!attribute [rw] encoding_parameters
2181
+ # Encoding parameters
2182
+ # @return [Types::EncodingParameters]
2183
+ #
2184
+ # @!attribute [rw] media_stream_name
2185
+ # The name of the media stream.
2186
+ # @return [String]
2187
+ #
2188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamOutputConfiguration AWS API Documentation
2189
+ #
2190
+ class MediaStreamOutputConfiguration < Struct.new(
2191
+ :destination_configurations,
2192
+ :encoding_name,
2193
+ :encoding_parameters,
2194
+ :media_stream_name)
2195
+ SENSITIVE = []
2196
+ include Aws::Structure
2197
+ end
2198
+
2199
+ # The media stream that you want to associate with the output, and the
2200
+ # parameters for that association.
2201
+ #
2202
+ # @note When making an API call, you may pass MediaStreamOutputConfigurationRequest
2203
+ # data as a hash:
2204
+ #
2205
+ # {
2206
+ # destination_configurations: [
2207
+ # {
2208
+ # destination_ip: "__string", # required
2209
+ # destination_port: 1, # required
2210
+ # interface: { # required
2211
+ # name: "__string", # required
2212
+ # },
2213
+ # },
2214
+ # ],
2215
+ # encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
2216
+ # encoding_parameters: {
2217
+ # compression_factor: 1.0, # required
2218
+ # encoder_profile: "main", # required, accepts main, high
2219
+ # },
2220
+ # media_stream_name: "__string", # required
2221
+ # }
2222
+ #
2223
+ # @!attribute [rw] destination_configurations
2224
+ # The transport parameters that you want to associate with the media
2225
+ # stream.
2226
+ # @return [Array<Types::DestinationConfigurationRequest>]
2227
+ #
2228
+ # @!attribute [rw] encoding_name
2229
+ # The format that will be used to encode the data. For ancillary data
2230
+ # streams, set the encoding name to smpte291. For audio streams, set
2231
+ # the encoding name to pcm. For video, 2110 streams, set the encoding
2232
+ # name to raw. For video, JPEG XS streams, set the encoding name to
2233
+ # jxsv.
2234
+ # @return [String]
2235
+ #
2236
+ # @!attribute [rw] encoding_parameters
2237
+ # A collection of parameters that determine how MediaConnect will
2238
+ # convert the content. These fields only apply to outputs on flows
2239
+ # that have a CDI source.
2240
+ # @return [Types::EncodingParametersRequest]
2241
+ #
2242
+ # @!attribute [rw] media_stream_name
2243
+ # The name of the media stream that is associated with the output.
2244
+ # @return [String]
2245
+ #
2246
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamOutputConfigurationRequest AWS API Documentation
2247
+ #
2248
+ class MediaStreamOutputConfigurationRequest < Struct.new(
2249
+ :destination_configurations,
2250
+ :encoding_name,
2251
+ :encoding_parameters,
2252
+ :media_stream_name)
2253
+ SENSITIVE = []
2254
+ include Aws::Structure
2255
+ end
2256
+
2257
+ # The media stream that is associated with the source, and the
2258
+ # parameters for that association.
2259
+ #
2260
+ # @!attribute [rw] encoding_name
2261
+ # The format that was used to encode the data. For ancillary data
2262
+ # streams, set the encoding name to smpte291. For audio streams, set
2263
+ # the encoding name to pcm. For video, 2110 streams, set the encoding
2264
+ # name to raw. For video, JPEG XS streams, set the encoding name to
2265
+ # jxsv.
2266
+ # @return [String]
2267
+ #
2268
+ # @!attribute [rw] input_configurations
2269
+ # The transport parameters that are associated with an incoming media
2270
+ # stream.
2271
+ # @return [Array<Types::InputConfiguration>]
2272
+ #
2273
+ # @!attribute [rw] media_stream_name
2274
+ # The name of the media stream.
2275
+ # @return [String]
2276
+ #
2277
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamSourceConfiguration AWS API Documentation
2278
+ #
2279
+ class MediaStreamSourceConfiguration < Struct.new(
2280
+ :encoding_name,
2281
+ :input_configurations,
2282
+ :media_stream_name)
2283
+ SENSITIVE = []
2284
+ include Aws::Structure
2285
+ end
2286
+
2287
+ # The definition of a media stream that you want to associate with the
2288
+ # source.
2289
+ #
2290
+ # @note When making an API call, you may pass MediaStreamSourceConfigurationRequest
2291
+ # data as a hash:
2292
+ #
2293
+ # {
2294
+ # encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
2295
+ # input_configurations: [
2296
+ # {
2297
+ # input_port: 1, # required
2298
+ # interface: { # required
2299
+ # name: "__string", # required
2300
+ # },
2301
+ # },
2302
+ # ],
2303
+ # media_stream_name: "__string", # required
2304
+ # }
2305
+ #
2306
+ # @!attribute [rw] encoding_name
2307
+ # The format you want to use to encode the data. For ancillary data
2308
+ # streams, set the encoding name to smpte291. For audio streams, set
2309
+ # the encoding name to pcm. For video, 2110 streams, set the encoding
2310
+ # name to raw. For video, JPEG XS streams, set the encoding name to
2311
+ # jxsv.
2312
+ # @return [String]
2313
+ #
2314
+ # @!attribute [rw] input_configurations
2315
+ # The transport parameters that you want to associate with the media
2316
+ # stream.
2317
+ # @return [Array<Types::InputConfigurationRequest>]
2318
+ #
2319
+ # @!attribute [rw] media_stream_name
2320
+ # The name of the media stream.
2321
+ # @return [String]
2322
+ #
2323
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/MediaStreamSourceConfigurationRequest AWS API Documentation
2324
+ #
2325
+ class MediaStreamSourceConfigurationRequest < Struct.new(
2326
+ :encoding_name,
2327
+ :input_configurations,
2328
+ :media_stream_name)
2329
+ SENSITIVE = []
2330
+ include Aws::Structure
2331
+ end
2332
+
1426
2333
  # Messages that provide the state of the flow.
1427
2334
  #
1428
2335
  # @!attribute [rw] errors
@@ -1548,6 +2455,11 @@ module Aws::MediaConnect
1548
2455
  # input.
1549
2456
  # @return [String]
1550
2457
  #
2458
+ # @!attribute [rw] media_stream_output_configurations
2459
+ # The configuration for each media stream that is associated with the
2460
+ # output.
2461
+ # @return [Array<Types::MediaStreamOutputConfiguration>]
2462
+ #
1551
2463
  # @!attribute [rw] name
1552
2464
  # The name of the output. This value must be unique within the current
1553
2465
  # flow.
@@ -1580,6 +2492,7 @@ module Aws::MediaConnect
1580
2492
  :entitlement_arn,
1581
2493
  :listener_address,
1582
2494
  :media_live_input_arn,
2495
+ :media_stream_output_configurations,
1583
2496
  :name,
1584
2497
  :output_arn,
1585
2498
  :port,
@@ -1649,6 +2562,48 @@ module Aws::MediaConnect
1649
2562
  include Aws::Structure
1650
2563
  end
1651
2564
 
2565
+ # @note When making an API call, you may pass RemoveFlowMediaStreamRequest
2566
+ # data as a hash:
2567
+ #
2568
+ # {
2569
+ # flow_arn: "__string", # required
2570
+ # media_stream_name: "__string", # required
2571
+ # }
2572
+ #
2573
+ # @!attribute [rw] flow_arn
2574
+ # @return [String]
2575
+ #
2576
+ # @!attribute [rw] media_stream_name
2577
+ # @return [String]
2578
+ #
2579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowMediaStreamRequest AWS API Documentation
2580
+ #
2581
+ class RemoveFlowMediaStreamRequest < Struct.new(
2582
+ :flow_arn,
2583
+ :media_stream_name)
2584
+ SENSITIVE = []
2585
+ include Aws::Structure
2586
+ end
2587
+
2588
+ # The result of a successful RemoveFlowMediaStream request.
2589
+ #
2590
+ # @!attribute [rw] flow_arn
2591
+ # The Amazon Resource Name (ARN) of the flow.
2592
+ # @return [String]
2593
+ #
2594
+ # @!attribute [rw] media_stream_name
2595
+ # The name of the media stream that was removed.
2596
+ # @return [String]
2597
+ #
2598
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/RemoveFlowMediaStreamResponse AWS API Documentation
2599
+ #
2600
+ class RemoveFlowMediaStreamResponse < Struct.new(
2601
+ :flow_arn,
2602
+ :media_stream_name)
2603
+ SENSITIVE = []
2604
+ include Aws::Structure
2605
+ end
2606
+
1652
2607
  # @note When making an API call, you may pass RemoveFlowOutputRequest
1653
2608
  # data as a hash:
1654
2609
  #
@@ -1998,9 +2953,24 @@ module Aws::MediaConnect
1998
2953
  # ingest_port: 1,
1999
2954
  # max_bitrate: 1,
2000
2955
  # max_latency: 1,
2956
+ # max_sync_buffer: 1,
2957
+ # media_stream_source_configurations: [
2958
+ # {
2959
+ # encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
2960
+ # input_configurations: [
2961
+ # {
2962
+ # input_port: 1, # required
2963
+ # interface: { # required
2964
+ # name: "__string", # required
2965
+ # },
2966
+ # },
2967
+ # ],
2968
+ # media_stream_name: "__string", # required
2969
+ # },
2970
+ # ],
2001
2971
  # min_latency: 1,
2002
2972
  # name: "__string",
2003
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
2973
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
2004
2974
  # stream_id: "__string",
2005
2975
  # vpc_interface_name: "__string",
2006
2976
  # whitelist_cidr: "__string",
@@ -2035,6 +3005,16 @@ module Aws::MediaConnect
2035
3005
  # RIST-based and Zixi-based streams.
2036
3006
  # @return [Integer]
2037
3007
  #
3008
+ # @!attribute [rw] max_sync_buffer
3009
+ # The size of the buffer (in milliseconds) to use to sync incoming
3010
+ # source data.
3011
+ # @return [Integer]
3012
+ #
3013
+ # @!attribute [rw] media_stream_source_configurations
3014
+ # The media streams that are associated with the source, and the
3015
+ # parameters for those associations.
3016
+ # @return [Array<Types::MediaStreamSourceConfigurationRequest>]
3017
+ #
2038
3018
  # @!attribute [rw] min_latency
2039
3019
  # The minimum latency in milliseconds for SRT-based streams. In
2040
3020
  # streams that use the SRT protocol, this value that you set on your
@@ -2077,6 +3057,8 @@ module Aws::MediaConnect
2077
3057
  :ingest_port,
2078
3058
  :max_bitrate,
2079
3059
  :max_latency,
3060
+ :max_sync_buffer,
3061
+ :media_stream_source_configurations,
2080
3062
  :min_latency,
2081
3063
  :name,
2082
3064
  :protocol,
@@ -2120,6 +3102,11 @@ module Aws::MediaConnect
2120
3102
  # The port that the flow will be listening on for incoming content.
2121
3103
  # @return [Integer]
2122
3104
  #
3105
+ # @!attribute [rw] media_stream_source_configurations
3106
+ # The media streams that are associated with the source, and the
3107
+ # parameters for those associations.
3108
+ # @return [Array<Types::MediaStreamSourceConfiguration>]
3109
+ #
2123
3110
  # @!attribute [rw] name
2124
3111
  # The name of the source.
2125
3112
  # @return [String]
@@ -2134,7 +3121,7 @@ module Aws::MediaConnect
2134
3121
  # @return [Types::Transport]
2135
3122
  #
2136
3123
  # @!attribute [rw] vpc_interface_name
2137
- # The name of the VPC Interface this Source is configured with.
3124
+ # The name of the VPC interface that is used for this source.
2138
3125
  # @return [String]
2139
3126
  #
2140
3127
  # @!attribute [rw] whitelist_cidr
@@ -2153,6 +3140,7 @@ module Aws::MediaConnect
2153
3140
  :entitlement_arn,
2154
3141
  :ingest_ip,
2155
3142
  :ingest_port,
3143
+ :media_stream_source_configurations,
2156
3144
  :name,
2157
3145
  :source_arn,
2158
3146
  :transport,
@@ -2302,6 +3290,11 @@ module Aws::MediaConnect
2302
3290
  # RIST-based and Zixi-based streams.
2303
3291
  # @return [Integer]
2304
3292
  #
3293
+ # @!attribute [rw] max_sync_buffer
3294
+ # The size of the buffer (in milliseconds) to use to sync incoming
3295
+ # source data.
3296
+ # @return [Integer]
3297
+ #
2305
3298
  # @!attribute [rw] min_latency
2306
3299
  # The minimum latency in milliseconds for SRT-based streams. In
2307
3300
  # streams that use the SRT protocol, this value that you set on your
@@ -2335,6 +3328,7 @@ module Aws::MediaConnect
2335
3328
  :cidr_allow_list,
2336
3329
  :max_bitrate,
2337
3330
  :max_latency,
3331
+ :max_sync_buffer,
2338
3332
  :min_latency,
2339
3333
  :protocol,
2340
3334
  :remote_id,
@@ -2567,6 +3561,94 @@ module Aws::MediaConnect
2567
3561
  include Aws::Structure
2568
3562
  end
2569
3563
 
3564
+ # Update a media stream on a flow.
3565
+ #
3566
+ # @note When making an API call, you may pass UpdateFlowMediaStreamRequest
3567
+ # data as a hash:
3568
+ #
3569
+ # {
3570
+ # attributes: {
3571
+ # fmtp: {
3572
+ # channel_order: "__string",
3573
+ # colorimetry: "BT601", # accepts BT601, BT709, BT2020, BT2100, ST2065-1, ST2065-3, XYZ
3574
+ # exact_framerate: "__string",
3575
+ # par: "__string",
3576
+ # range: "NARROW", # accepts NARROW, FULL, FULLPROTECT
3577
+ # scan_mode: "progressive", # accepts progressive, interlace, progressive-segmented-frame
3578
+ # tcs: "SDR", # accepts SDR, PQ, HLG, LINEAR, BT2100LINPQ, BT2100LINHLG, ST2065-1, ST428-1, DENSITY
3579
+ # },
3580
+ # lang: "__string",
3581
+ # },
3582
+ # clock_rate: 1,
3583
+ # description: "__string",
3584
+ # flow_arn: "__string", # required
3585
+ # media_stream_name: "__string", # required
3586
+ # media_stream_type: "video", # accepts video, audio, ancillary-data
3587
+ # video_format: "__string",
3588
+ # }
3589
+ #
3590
+ # @!attribute [rw] attributes
3591
+ # The attributes that you want to assign to the media stream.
3592
+ # @return [Types::MediaStreamAttributesRequest]
3593
+ #
3594
+ # @!attribute [rw] clock_rate
3595
+ # The sample rate (in Hz) for the stream. If the media stream type is
3596
+ # video or ancillary data, set this value to 90000. If the media
3597
+ # stream type is audio, set this value to either 48000 or 96000.
3598
+ # @return [Integer]
3599
+ #
3600
+ # @!attribute [rw] description
3601
+ # Description
3602
+ # @return [String]
3603
+ #
3604
+ # @!attribute [rw] flow_arn
3605
+ # @return [String]
3606
+ #
3607
+ # @!attribute [rw] media_stream_name
3608
+ # @return [String]
3609
+ #
3610
+ # @!attribute [rw] media_stream_type
3611
+ # The type of media stream.
3612
+ # @return [String]
3613
+ #
3614
+ # @!attribute [rw] video_format
3615
+ # The resolution of the video.
3616
+ # @return [String]
3617
+ #
3618
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowMediaStreamRequest AWS API Documentation
3619
+ #
3620
+ class UpdateFlowMediaStreamRequest < Struct.new(
3621
+ :attributes,
3622
+ :clock_rate,
3623
+ :description,
3624
+ :flow_arn,
3625
+ :media_stream_name,
3626
+ :media_stream_type,
3627
+ :video_format)
3628
+ SENSITIVE = []
3629
+ include Aws::Structure
3630
+ end
3631
+
3632
+ # Update response
3633
+ #
3634
+ # @!attribute [rw] flow_arn
3635
+ # The ARN of the flow that is associated with the media stream that
3636
+ # you updated.
3637
+ # @return [String]
3638
+ #
3639
+ # @!attribute [rw] media_stream
3640
+ # The media stream that you updated.
3641
+ # @return [Types::MediaStream]
3642
+ #
3643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/UpdateFlowMediaStreamResponse AWS API Documentation
3644
+ #
3645
+ class UpdateFlowMediaStreamResponse < Struct.new(
3646
+ :flow_arn,
3647
+ :media_stream)
3648
+ SENSITIVE = []
3649
+ include Aws::Structure
3650
+ end
3651
+
2570
3652
  # The updates that you want to make to an existing output of an existing
2571
3653
  # flow.
2572
3654
  #
@@ -2590,10 +3672,29 @@ module Aws::MediaConnect
2590
3672
  # },
2591
3673
  # flow_arn: "__string", # required
2592
3674
  # max_latency: 1,
3675
+ # media_stream_output_configurations: [
3676
+ # {
3677
+ # destination_configurations: [
3678
+ # {
3679
+ # destination_ip: "__string", # required
3680
+ # destination_port: 1, # required
3681
+ # interface: { # required
3682
+ # name: "__string", # required
3683
+ # },
3684
+ # },
3685
+ # ],
3686
+ # encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
3687
+ # encoding_parameters: {
3688
+ # compression_factor: 1.0, # required
3689
+ # encoder_profile: "main", # required, accepts main, high
3690
+ # },
3691
+ # media_stream_name: "__string", # required
3692
+ # },
3693
+ # ],
2593
3694
  # min_latency: 1,
2594
3695
  # output_arn: "__string", # required
2595
3696
  # port: 1,
2596
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
3697
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
2597
3698
  # remote_id: "__string",
2598
3699
  # smoothing_latency: 1,
2599
3700
  # stream_id: "__string",
@@ -2631,6 +3732,11 @@ module Aws::MediaConnect
2631
3732
  # The maximum latency in milliseconds for Zixi-based streams.
2632
3733
  # @return [Integer]
2633
3734
  #
3735
+ # @!attribute [rw] media_stream_output_configurations
3736
+ # The media streams that are associated with the output, and the
3737
+ # parameters for those associations.
3738
+ # @return [Array<Types::MediaStreamOutputConfigurationRequest>]
3739
+ #
2634
3740
  # @!attribute [rw] min_latency
2635
3741
  # The minimum latency in milliseconds for SRT-based streams. In
2636
3742
  # streams that use the SRT protocol, this value that you set on your
@@ -2678,6 +3784,7 @@ module Aws::MediaConnect
2678
3784
  :encryption,
2679
3785
  :flow_arn,
2680
3786
  :max_latency,
3787
+ :media_stream_output_configurations,
2681
3788
  :min_latency,
2682
3789
  :output_arn,
2683
3790
  :port,
@@ -2754,7 +3861,8 @@ module Aws::MediaConnect
2754
3861
  include Aws::Structure
2755
3862
  end
2756
3863
 
2757
- # The settings for the updated source of the flow.
3864
+ # The updates that you want to make to an existing source of an existing
3865
+ # flow.
2758
3866
  #
2759
3867
  # @note When making an API call, you may pass UpdateFlowSourceRequest
2760
3868
  # data as a hash:
@@ -2777,8 +3885,23 @@ module Aws::MediaConnect
2777
3885
  # ingest_port: 1,
2778
3886
  # max_bitrate: 1,
2779
3887
  # max_latency: 1,
3888
+ # max_sync_buffer: 1,
3889
+ # media_stream_source_configurations: [
3890
+ # {
3891
+ # encoding_name: "jxsv", # required, accepts jxsv, raw, smpte291, pcm
3892
+ # input_configurations: [
3893
+ # {
3894
+ # input_port: 1, # required
3895
+ # interface: { # required
3896
+ # name: "__string", # required
3897
+ # },
3898
+ # },
3899
+ # ],
3900
+ # media_stream_name: "__string", # required
3901
+ # },
3902
+ # ],
2780
3903
  # min_latency: 1,
2781
- # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, srt-listener
3904
+ # protocol: "zixi-push", # accepts zixi-push, rtp-fec, rtp, zixi-pull, rist, st2110-jpegxs, cdi, srt-listener
2782
3905
  # source_arn: "__string", # required
2783
3906
  # stream_id: "__string",
2784
3907
  # vpc_interface_name: "__string",
@@ -2817,6 +3940,16 @@ module Aws::MediaConnect
2817
3940
  # RIST-based and Zixi-based streams.
2818
3941
  # @return [Integer]
2819
3942
  #
3943
+ # @!attribute [rw] max_sync_buffer
3944
+ # The size of the buffer (in milliseconds) to use to sync incoming
3945
+ # source data.
3946
+ # @return [Integer]
3947
+ #
3948
+ # @!attribute [rw] media_stream_source_configurations
3949
+ # The media streams that are associated with the source, and the
3950
+ # parameters for those associations.
3951
+ # @return [Array<Types::MediaStreamSourceConfigurationRequest>]
3952
+ #
2820
3953
  # @!attribute [rw] min_latency
2821
3954
  # The minimum latency in milliseconds for SRT-based streams. In
2822
3955
  # streams that use the SRT protocol, this value that you set on your
@@ -2839,7 +3972,7 @@ module Aws::MediaConnect
2839
3972
  # @return [String]
2840
3973
  #
2841
3974
  # @!attribute [rw] vpc_interface_name
2842
- # The name of the VPC Interface to configure this Source with.
3975
+ # The name of the VPC interface to use for this source.
2843
3976
  # @return [String]
2844
3977
  #
2845
3978
  # @!attribute [rw] whitelist_cidr
@@ -2859,6 +3992,8 @@ module Aws::MediaConnect
2859
3992
  :ingest_port,
2860
3993
  :max_bitrate,
2861
3994
  :max_latency,
3995
+ :max_sync_buffer,
3996
+ :media_stream_source_configurations,
2862
3997
  :min_latency,
2863
3998
  :protocol,
2864
3999
  :source_arn,
@@ -2902,6 +4037,10 @@ module Aws::MediaConnect
2902
4037
  # MediaConnect.
2903
4038
  # @return [Array<String>]
2904
4039
  #
4040
+ # @!attribute [rw] network_interface_type
4041
+ # The type of network interface.
4042
+ # @return [String]
4043
+ #
2905
4044
  # @!attribute [rw] role_arn
2906
4045
  # Role Arn MediaConnect can assumes to create ENIs in customer's
2907
4046
  # account
@@ -2920,6 +4059,7 @@ module Aws::MediaConnect
2920
4059
  class VpcInterface < Struct.new(
2921
4060
  :name,
2922
4061
  :network_interface_ids,
4062
+ :network_interface_type,
2923
4063
  :role_arn,
2924
4064
  :security_group_ids,
2925
4065
  :subnet_id)
@@ -2955,6 +4095,7 @@ module Aws::MediaConnect
2955
4095
  #
2956
4096
  # {
2957
4097
  # name: "__string", # required
4098
+ # network_interface_type: "ena", # accepts ena, efa
2958
4099
  # role_arn: "__string", # required
2959
4100
  # security_group_ids: ["__string"], # required
2960
4101
  # subnet_id: "__string", # required
@@ -2965,6 +4106,11 @@ module Aws::MediaConnect
2965
4106
  # current flow.
2966
4107
  # @return [String]
2967
4108
  #
4109
+ # @!attribute [rw] network_interface_type
4110
+ # The type of network interface. If this value is not included in the
4111
+ # request, MediaConnect uses ENA as the networkInterfaceType.
4112
+ # @return [String]
4113
+ #
2968
4114
  # @!attribute [rw] role_arn
2969
4115
  # Role Arn MediaConnect can assumes to create ENIs in customer's
2970
4116
  # account
@@ -2982,6 +4128,7 @@ module Aws::MediaConnect
2982
4128
  #
2983
4129
  class VpcInterfaceRequest < Struct.new(
2984
4130
  :name,
4131
+ :network_interface_type,
2985
4132
  :role_arn,
2986
4133
  :security_group_ids,
2987
4134
  :subnet_id)