aws-sdk-mediaconnect 1.56.0 → 1.58.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c8b78ad541777ede6fd973e12cca8206676de0f6d68178c82b7a52e5ecf84219
4
- data.tar.gz: 1058fccee400864902f34991167baf8d1051480b2fa25c3ffbc4e76516694d74
3
+ metadata.gz: 564ac202292f54cc6d083ce754a7b525c4faa16262c54d0774909e1cbf5e1855
4
+ data.tar.gz: c0742af26e8419dc533c23d2ce6eb1d9a19b7a9d772360bfb94a0f1445064a16
5
5
  SHA512:
6
- metadata.gz: ab2dbeef84b5145215c8459f38d432e34c109947287150898244a23efec2d9ebd82850792c6b364d8fca1d7804551cd3b1176a8eddb8daa07be805a58824d0d7
7
- data.tar.gz: de1108e7ed7cc81959cc1195af44f45d3cca7d7fa147408420bb76da71a3a8edf8e0141a4d39a18991311747a118b5040df249b0afc5040992dabc403ba52067
6
+ metadata.gz: f7d186e23ca80780cb553b4cb266fd30bbae52f5c76cb770f21ebb6c42233aeeefb3c6be9a5e7682068e3fd6bd6432b4452d730dc1cada554cd03b86d841a9dd
7
+ data.tar.gz: b529463af382720dcb4cb913b9c7660ffd0ae8aa17cf620ac68bc6265249ea1343a061f594c70e4f623b0b52e16f712c133bef41e4bea89d4661743e244e8174
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.57.0 (2023-12-22)
10
+ ------------------
11
+
12
+ * Feature - This release adds the DescribeSourceMetadata API. This API can be used to view the stream information of the flow's source.
13
+
4
14
  1.56.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.56.0
1
+ 1.58.0
@@ -1935,6 +1935,57 @@ module Aws::MediaConnect
1935
1935
  req.send_request(options)
1936
1936
  end
1937
1937
 
1938
+ # Displays details of the flow's source stream. The response contains
1939
+ # information about the contents of the stream and its programs.
1940
+ #
1941
+ # @option params [required, String] :flow_arn
1942
+ #
1943
+ # @return [Types::DescribeFlowSourceMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1944
+ #
1945
+ # * {Types::DescribeFlowSourceMetadataResponse#flow_arn #flow_arn} => String
1946
+ # * {Types::DescribeFlowSourceMetadataResponse#messages #messages} => Array<Types::MessageDetail>
1947
+ # * {Types::DescribeFlowSourceMetadataResponse#timestamp #timestamp} => Time
1948
+ # * {Types::DescribeFlowSourceMetadataResponse#transport_media_info #transport_media_info} => Types::TransportMediaInfo
1949
+ #
1950
+ # @example Request syntax with placeholder values
1951
+ #
1952
+ # resp = client.describe_flow_source_metadata({
1953
+ # flow_arn: "__string", # required
1954
+ # })
1955
+ #
1956
+ # @example Response structure
1957
+ #
1958
+ # resp.flow_arn #=> String
1959
+ # resp.messages #=> Array
1960
+ # resp.messages[0].code #=> String
1961
+ # resp.messages[0].message #=> String
1962
+ # resp.messages[0].resource_name #=> String
1963
+ # resp.timestamp #=> Time
1964
+ # resp.transport_media_info.programs #=> Array
1965
+ # resp.transport_media_info.programs[0].pcr_pid #=> Integer
1966
+ # resp.transport_media_info.programs[0].program_name #=> String
1967
+ # resp.transport_media_info.programs[0].program_number #=> Integer
1968
+ # resp.transport_media_info.programs[0].program_pid #=> Integer
1969
+ # resp.transport_media_info.programs[0].streams #=> Array
1970
+ # resp.transport_media_info.programs[0].streams[0].channels #=> Integer
1971
+ # resp.transport_media_info.programs[0].streams[0].codec #=> String
1972
+ # resp.transport_media_info.programs[0].streams[0].frame_rate #=> String
1973
+ # resp.transport_media_info.programs[0].streams[0].frame_resolution.frame_height #=> Integer
1974
+ # resp.transport_media_info.programs[0].streams[0].frame_resolution.frame_width #=> Integer
1975
+ # resp.transport_media_info.programs[0].streams[0].pid #=> Integer
1976
+ # resp.transport_media_info.programs[0].streams[0].sample_rate #=> Integer
1977
+ # resp.transport_media_info.programs[0].streams[0].sample_size #=> Integer
1978
+ # resp.transport_media_info.programs[0].streams[0].stream_type #=> String
1979
+ #
1980
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlowSourceMetadata AWS API Documentation
1981
+ #
1982
+ # @overload describe_flow_source_metadata(params = {})
1983
+ # @param [Hash] params ({})
1984
+ def describe_flow_source_metadata(params = {}, options = {})
1985
+ req = build_request(:describe_flow_source_metadata, params)
1986
+ req.send_request(options)
1987
+ end
1988
+
1938
1989
  # Displays the details of a gateway. The response includes the gateway
1939
1990
  # ARN, name, and CIDR blocks, as well as details about the networks.
1940
1991
  #
@@ -3945,7 +3996,7 @@ module Aws::MediaConnect
3945
3996
  params: params,
3946
3997
  config: config)
3947
3998
  context[:gem_name] = 'aws-sdk-mediaconnect'
3948
- context[:gem_version] = '1.56.0'
3999
+ context[:gem_version] = '1.58.0'
3949
4000
  Seahorse::Client::Request.new(handlers, context)
3950
4001
  end
3951
4002
 
@@ -71,6 +71,8 @@ module Aws::MediaConnect
71
71
  DescribeBridgeResponse = Shapes::StructureShape.new(name: 'DescribeBridgeResponse')
72
72
  DescribeFlowRequest = Shapes::StructureShape.new(name: 'DescribeFlowRequest')
73
73
  DescribeFlowResponse = Shapes::StructureShape.new(name: 'DescribeFlowResponse')
74
+ DescribeFlowSourceMetadataRequest = Shapes::StructureShape.new(name: 'DescribeFlowSourceMetadataRequest')
75
+ DescribeFlowSourceMetadataResponse = Shapes::StructureShape.new(name: 'DescribeFlowSourceMetadataResponse')
74
76
  DescribeGatewayInstanceRequest = Shapes::StructureShape.new(name: 'DescribeGatewayInstanceRequest')
75
77
  DescribeGatewayInstanceResponse = Shapes::StructureShape.new(name: 'DescribeGatewayInstanceResponse')
76
78
  DescribeGatewayRequest = Shapes::StructureShape.new(name: 'DescribeGatewayRequest')
@@ -97,6 +99,7 @@ module Aws::MediaConnect
97
99
  Fmtp = Shapes::StructureShape.new(name: 'Fmtp')
98
100
  FmtpRequest = Shapes::StructureShape.new(name: 'FmtpRequest')
99
101
  ForbiddenException = Shapes::StructureShape.new(name: 'ForbiddenException')
102
+ FrameResolution = Shapes::StructureShape.new(name: 'FrameResolution')
100
103
  Gateway = Shapes::StructureShape.new(name: 'Gateway')
101
104
  GatewayBridgeSource = Shapes::StructureShape.new(name: 'GatewayBridgeSource')
102
105
  GatewayInstance = Shapes::StructureShape.new(name: 'GatewayInstance')
@@ -193,6 +196,9 @@ module Aws::MediaConnect
193
196
  Tcs = Shapes::StringShape.new(name: 'Tcs')
194
197
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
195
198
  Transport = Shapes::StructureShape.new(name: 'Transport')
199
+ TransportMediaInfo = Shapes::StructureShape.new(name: 'TransportMediaInfo')
200
+ TransportStream = Shapes::StructureShape.new(name: 'TransportStream')
201
+ TransportStreamProgram = Shapes::StructureShape.new(name: 'TransportStreamProgram')
196
202
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
197
203
  UpdateBridgeFlowSourceRequest = Shapes::StructureShape.new(name: 'UpdateBridgeFlowSourceRequest')
198
204
  UpdateBridgeNetworkOutputRequest = Shapes::StructureShape.new(name: 'UpdateBridgeNetworkOutputRequest')
@@ -258,6 +264,8 @@ module Aws::MediaConnect
258
264
  __listOfReservation = Shapes::ListShape.new(name: '__listOfReservation')
259
265
  __listOfSetSourceRequest = Shapes::ListShape.new(name: '__listOfSetSourceRequest')
260
266
  __listOfSource = Shapes::ListShape.new(name: '__listOfSource')
267
+ __listOfTransportStream = Shapes::ListShape.new(name: '__listOfTransportStream')
268
+ __listOfTransportStreamProgram = Shapes::ListShape.new(name: '__listOfTransportStreamProgram')
261
269
  __listOfVpcInterface = Shapes::ListShape.new(name: '__listOfVpcInterface')
262
270
  __listOfVpcInterfaceRequest = Shapes::ListShape.new(name: '__listOfVpcInterfaceRequest')
263
271
  __listOf__integer = Shapes::ListShape.new(name: '__listOf__integer')
@@ -519,6 +527,15 @@ module Aws::MediaConnect
519
527
  DescribeFlowResponse.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
520
528
  DescribeFlowResponse.struct_class = Types::DescribeFlowResponse
521
529
 
530
+ DescribeFlowSourceMetadataRequest.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "flowArn"))
531
+ DescribeFlowSourceMetadataRequest.struct_class = Types::DescribeFlowSourceMetadataRequest
532
+
533
+ DescribeFlowSourceMetadataResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: __string, location_name: "flowArn"))
534
+ DescribeFlowSourceMetadataResponse.add_member(:messages, Shapes::ShapeRef.new(shape: __listOfMessageDetail, location_name: "messages"))
535
+ DescribeFlowSourceMetadataResponse.add_member(:timestamp, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "timestamp"))
536
+ DescribeFlowSourceMetadataResponse.add_member(:transport_media_info, Shapes::ShapeRef.new(shape: TransportMediaInfo, location_name: "transportMediaInfo"))
537
+ DescribeFlowSourceMetadataResponse.struct_class = Types::DescribeFlowSourceMetadataResponse
538
+
522
539
  DescribeGatewayInstanceRequest.add_member(:gateway_instance_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "gatewayInstanceArn", metadata: {"pattern"=>"^arn:.+:mediaconnect.+:gateway:.+:instance:.+$"}))
523
540
  DescribeGatewayInstanceRequest.struct_class = Types::DescribeGatewayInstanceRequest
524
541
 
@@ -629,6 +646,10 @@ module Aws::MediaConnect
629
646
  ForbiddenException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
630
647
  ForbiddenException.struct_class = Types::ForbiddenException
631
648
 
649
+ FrameResolution.add_member(:frame_height, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "frameHeight"))
650
+ FrameResolution.add_member(:frame_width, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "frameWidth"))
651
+ FrameResolution.struct_class = Types::FrameResolution
652
+
632
653
  Gateway.add_member(:egress_cidr_blocks, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location_name: "egressCidrBlocks"))
633
654
  Gateway.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "gatewayArn"))
634
655
  Gateway.add_member(:gateway_messages, Shapes::ShapeRef.new(shape: __listOfMessageDetail, location_name: "gatewayMessages"))
@@ -1048,6 +1069,26 @@ module Aws::MediaConnect
1048
1069
  Transport.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
1049
1070
  Transport.struct_class = Types::Transport
1050
1071
 
1072
+ TransportMediaInfo.add_member(:programs, Shapes::ShapeRef.new(shape: __listOfTransportStreamProgram, required: true, location_name: "programs"))
1073
+ TransportMediaInfo.struct_class = Types::TransportMediaInfo
1074
+
1075
+ TransportStream.add_member(:channels, Shapes::ShapeRef.new(shape: __integer, location_name: "channels"))
1076
+ TransportStream.add_member(:codec, Shapes::ShapeRef.new(shape: __string, location_name: "codec"))
1077
+ TransportStream.add_member(:frame_rate, Shapes::ShapeRef.new(shape: __string, location_name: "frameRate"))
1078
+ TransportStream.add_member(:frame_resolution, Shapes::ShapeRef.new(shape: FrameResolution, location_name: "frameResolution"))
1079
+ TransportStream.add_member(:pid, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "pid"))
1080
+ TransportStream.add_member(:sample_rate, Shapes::ShapeRef.new(shape: __integer, location_name: "sampleRate"))
1081
+ TransportStream.add_member(:sample_size, Shapes::ShapeRef.new(shape: __integer, location_name: "sampleSize"))
1082
+ TransportStream.add_member(:stream_type, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "streamType"))
1083
+ TransportStream.struct_class = Types::TransportStream
1084
+
1085
+ TransportStreamProgram.add_member(:pcr_pid, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "pcrPid"))
1086
+ TransportStreamProgram.add_member(:program_name, Shapes::ShapeRef.new(shape: __string, location_name: "programName"))
1087
+ TransportStreamProgram.add_member(:program_number, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "programNumber"))
1088
+ TransportStreamProgram.add_member(:program_pid, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "programPid"))
1089
+ TransportStreamProgram.add_member(:streams, Shapes::ShapeRef.new(shape: __listOfTransportStream, required: true, location_name: "streams"))
1090
+ TransportStreamProgram.struct_class = Types::TransportStreamProgram
1091
+
1051
1092
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resourceArn"))
1052
1093
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "tagKeys"))
1053
1094
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -1304,6 +1345,10 @@ module Aws::MediaConnect
1304
1345
 
1305
1346
  __listOfSource.member = Shapes::ShapeRef.new(shape: Source)
1306
1347
 
1348
+ __listOfTransportStream.member = Shapes::ShapeRef.new(shape: TransportStream)
1349
+
1350
+ __listOfTransportStreamProgram.member = Shapes::ShapeRef.new(shape: TransportStreamProgram)
1351
+
1307
1352
  __listOfVpcInterface.member = Shapes::ShapeRef.new(shape: VpcInterface)
1308
1353
 
1309
1354
  __listOfVpcInterfaceRequest.member = Shapes::ShapeRef.new(shape: VpcInterfaceRequest)
@@ -1552,6 +1597,20 @@ module Aws::MediaConnect
1552
1597
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1553
1598
  end)
1554
1599
 
1600
+ api.add_operation(:describe_flow_source_metadata, Seahorse::Model::Operation.new.tap do |o|
1601
+ o.name = "DescribeFlowSourceMetadata"
1602
+ o.http_method = "GET"
1603
+ o.http_request_uri = "/v1/flows/{flowArn}/source-metadata"
1604
+ o.input = Shapes::ShapeRef.new(shape: DescribeFlowSourceMetadataRequest)
1605
+ o.output = Shapes::ShapeRef.new(shape: DescribeFlowSourceMetadataResponse)
1606
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1607
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
1608
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
1609
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1610
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1611
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1612
+ end)
1613
+
1555
1614
  api.add_operation(:describe_gateway, Seahorse::Model::Operation.new.tap do |o|
1556
1615
  o.name = "DescribeGateway"
1557
1616
  o.http_method = "GET"
@@ -32,7 +32,7 @@ module Aws::MediaConnect
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://mediaconnect-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -222,6 +222,20 @@ module Aws::MediaConnect
222
222
  end
223
223
  end
224
224
 
225
+ class DescribeFlowSourceMetadata
226
+ def self.build(context)
227
+ unless context.config.regional_endpoint
228
+ endpoint = context.config.endpoint.to_s
229
+ end
230
+ Aws::MediaConnect::EndpointParameters.new(
231
+ region: context.config.region,
232
+ use_dual_stack: context.config.use_dualstack_endpoint,
233
+ use_fips: context.config.use_fips_endpoint,
234
+ endpoint: endpoint,
235
+ )
236
+ end
237
+ end
238
+
225
239
  class DescribeGateway
226
240
  def self.build(context)
227
241
  unless context.config.regional_endpoint
@@ -14,6 +14,7 @@ module Aws::MediaConnect
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::MediaConnect::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -87,6 +88,8 @@ module Aws::MediaConnect
87
88
  Aws::MediaConnect::Endpoints::DescribeBridge.build(context)
88
89
  when :describe_flow
89
90
  Aws::MediaConnect::Endpoints::DescribeFlow.build(context)
91
+ when :describe_flow_source_metadata
92
+ Aws::MediaConnect::Endpoints::DescribeFlowSourceMetadata.build(context)
90
93
  when :describe_gateway
91
94
  Aws::MediaConnect::Endpoints::DescribeGateway.build(context)
92
95
  when :describe_gateway_instance
@@ -1244,6 +1244,49 @@ module Aws::MediaConnect
1244
1244
  include Aws::Structure
1245
1245
  end
1246
1246
 
1247
+ # @!attribute [rw] flow_arn
1248
+ # @return [String]
1249
+ #
1250
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlowSourceMetadataRequest AWS API Documentation
1251
+ #
1252
+ class DescribeFlowSourceMetadataRequest < Struct.new(
1253
+ :flow_arn)
1254
+ SENSITIVE = []
1255
+ include Aws::Structure
1256
+ end
1257
+
1258
+ # The result of a successful DescribeFlowSourceMetadata request.
1259
+ #
1260
+ # @!attribute [rw] flow_arn
1261
+ # The ARN of the flow that DescribeFlowSourceMetadata was performed
1262
+ # on.
1263
+ # @return [String]
1264
+ #
1265
+ # @!attribute [rw] messages
1266
+ # Provides a status code and message regarding issues found with the
1267
+ # flow source metadata.
1268
+ # @return [Array<Types::MessageDetail>]
1269
+ #
1270
+ # @!attribute [rw] timestamp
1271
+ # The timestamp of the most recent change in metadata for this flow’s
1272
+ # source.
1273
+ # @return [Time]
1274
+ #
1275
+ # @!attribute [rw] transport_media_info
1276
+ # The metadata of the transport stream in the current flow's source.
1277
+ # @return [Types::TransportMediaInfo]
1278
+ #
1279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/DescribeFlowSourceMetadataResponse AWS API Documentation
1280
+ #
1281
+ class DescribeFlowSourceMetadataResponse < Struct.new(
1282
+ :flow_arn,
1283
+ :messages,
1284
+ :timestamp,
1285
+ :transport_media_info)
1286
+ SENSITIVE = []
1287
+ include Aws::Structure
1288
+ end
1289
+
1247
1290
  # @!attribute [rw] gateway_instance_arn
1248
1291
  # @return [String]
1249
1292
  #
@@ -1835,6 +1878,25 @@ module Aws::MediaConnect
1835
1878
  include Aws::Structure
1836
1879
  end
1837
1880
 
1881
+ # The frame resolution used by the video stream.
1882
+ #
1883
+ # @!attribute [rw] frame_height
1884
+ # The number of pixels in the height of the video frame.
1885
+ # @return [Integer]
1886
+ #
1887
+ # @!attribute [rw] frame_width
1888
+ # The number of pixels in the width of the video frame.
1889
+ # @return [Integer]
1890
+ #
1891
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/FrameResolution AWS API Documentation
1892
+ #
1893
+ class FrameResolution < Struct.new(
1894
+ :frame_height,
1895
+ :frame_width)
1896
+ SENSITIVE = []
1897
+ include Aws::Structure
1898
+ end
1899
+
1838
1900
  # The settings for a gateway, including its networks.
1839
1901
  #
1840
1902
  # @!attribute [rw] egress_cidr_blocks
@@ -4034,6 +4096,107 @@ module Aws::MediaConnect
4034
4096
  include Aws::Structure
4035
4097
  end
4036
4098
 
4099
+ # The metadata of the transport stream in the current flow's source.
4100
+ #
4101
+ # @!attribute [rw] programs
4102
+ # The list of transport stream programs in the current flow's source.
4103
+ # @return [Array<Types::TransportStreamProgram>]
4104
+ #
4105
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/TransportMediaInfo AWS API Documentation
4106
+ #
4107
+ class TransportMediaInfo < Struct.new(
4108
+ :programs)
4109
+ SENSITIVE = []
4110
+ include Aws::Structure
4111
+ end
4112
+
4113
+ # The metadata of an elementary transport stream.
4114
+ #
4115
+ # @!attribute [rw] channels
4116
+ # The number of channels in the audio stream.
4117
+ # @return [Integer]
4118
+ #
4119
+ # @!attribute [rw] codec
4120
+ # The codec used by the stream.
4121
+ # @return [String]
4122
+ #
4123
+ # @!attribute [rw] frame_rate
4124
+ # The frame rate used by the video stream.
4125
+ # @return [String]
4126
+ #
4127
+ # @!attribute [rw] frame_resolution
4128
+ # The frame resolution used by the video stream.
4129
+ # @return [Types::FrameResolution]
4130
+ #
4131
+ # @!attribute [rw] pid
4132
+ # The Packet ID (PID) as it is reported in the Program Map Table.
4133
+ # @return [Integer]
4134
+ #
4135
+ # @!attribute [rw] sample_rate
4136
+ # The sample rate used by the audio stream.
4137
+ # @return [Integer]
4138
+ #
4139
+ # @!attribute [rw] sample_size
4140
+ # The sample bit size used by the audio stream.
4141
+ # @return [Integer]
4142
+ #
4143
+ # @!attribute [rw] stream_type
4144
+ # The Stream Type as it is reported in the Program Map Table.
4145
+ # @return [String]
4146
+ #
4147
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/TransportStream AWS API Documentation
4148
+ #
4149
+ class TransportStream < Struct.new(
4150
+ :channels,
4151
+ :codec,
4152
+ :frame_rate,
4153
+ :frame_resolution,
4154
+ :pid,
4155
+ :sample_rate,
4156
+ :sample_size,
4157
+ :stream_type)
4158
+ SENSITIVE = []
4159
+ include Aws::Structure
4160
+ end
4161
+
4162
+ # The metadata of a single transport stream program.
4163
+ #
4164
+ # @!attribute [rw] pcr_pid
4165
+ # The Program Clock Reference (PCR) Packet ID (PID) as it is reported
4166
+ # in the Program Association Table.
4167
+ # @return [Integer]
4168
+ #
4169
+ # @!attribute [rw] program_name
4170
+ # The program name as it is reported in the Program Association Table.
4171
+ # @return [String]
4172
+ #
4173
+ # @!attribute [rw] program_number
4174
+ # The program number as it is reported in the Program Association
4175
+ # Table.
4176
+ # @return [Integer]
4177
+ #
4178
+ # @!attribute [rw] program_pid
4179
+ # The program Packet ID (PID) as it is reported in the Program
4180
+ # Association Table.
4181
+ # @return [Integer]
4182
+ #
4183
+ # @!attribute [rw] streams
4184
+ # The list of elementary transport streams in the program. The list
4185
+ # includes video, audio, and data streams.
4186
+ # @return [Array<Types::TransportStream>]
4187
+ #
4188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconnect-2018-11-14/TransportStreamProgram AWS API Documentation
4189
+ #
4190
+ class TransportStreamProgram < Struct.new(
4191
+ :pcr_pid,
4192
+ :program_name,
4193
+ :program_number,
4194
+ :program_pid,
4195
+ :streams)
4196
+ SENSITIVE = []
4197
+ include Aws::Structure
4198
+ end
4199
+
4037
4200
  # @!attribute [rw] resource_arn
4038
4201
  # @return [String]
4039
4202
  #
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-mediaconnect/customizations'
53
53
  # @!group service
54
54
  module Aws::MediaConnect
55
55
 
56
- GEM_VERSION = '1.56.0'
56
+ GEM_VERSION = '1.58.0'
57
57
 
58
58
  end