aws-sdk-mediapackagev2 1.31.0 → 1.33.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: 63a341baf6e750f9c763b6cbb5e55a3b4ed6ab63fc6f63a9455587a15b5946ad
4
- data.tar.gz: e182bd25200deb2ceb569640d11fc153eccbcfcfafe0fd9df259cee9a0da8830
3
+ metadata.gz: c86611366bbd192b6afd49e34496779fba86457fcf22014122c4fb2cf5c9f40e
4
+ data.tar.gz: 51b9130a8950ecc594d243cde8b4bad32e9360662a6a8a07b803c228e7819b17
5
5
  SHA512:
6
- metadata.gz: c16712389786ee860346a02477fbc088bbb8abde506dbdc1c7e7d4cefa3c9cc3220724a81b3c344f23037afd2805e936de5fe652efe3c6583b3ba99e62c0b8e9
7
- data.tar.gz: 2ad8100677c67a92dd8e4e1d72ba30952ee98eb5656bd9d3eadcaa8e5d4910d0412663756f1a5e1bcce381331b2287eaaf2c94e1298f81c479d08e4d748ec6ea
6
+ metadata.gz: cedfc47d680b03ed4cf25dd07878f41ab64f7a227625c3d0975a5d925900d030dff070204fa118954cd89b88e8592b0d3b97a12b7c1aebbcc30f971db48da46f
7
+ data.tar.gz: 2b977b1ffecf82112c4b8dd757aa1c14494301c693d9c4683e06c49f5a6d6ea85032aab233f6c2035fd99f7eb7c9dd4498169aaa55b591e04c83800eff8632c5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2024-11-20)
5
+ ------------------
6
+
7
+ * Feature - MediaPackage v2 now supports the Media Quality Confidence Score (MQCS) published from MediaLive. Customers can control input switching based on the MQCS and publishing HTTP Headers for the MQCS via the API.
8
+
9
+ 1.32.0 (2024-11-06)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.31.0 (2024-10-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.33.0
@@ -547,6 +547,16 @@ module Aws::MediaPackageV2
547
547
  # @option params [String] :description
548
548
  # Enter any descriptive text that helps you to identify the channel.
549
549
  #
550
+ # @option params [Types::InputSwitchConfiguration] :input_switch_configuration
551
+ # The configuration for input switching based on the media quality
552
+ # confidence score (MQCS) as provided from AWS Elemental MediaLive. This
553
+ # setting is valid only when `InputType` is `CMAF`.
554
+ #
555
+ # @option params [Types::OutputHeaderConfiguration] :output_header_configuration
556
+ # The settings for what common media server data (CMSD) headers AWS
557
+ # Elemental MediaPackage includes in responses to the CDN. This setting
558
+ # is valid only when `InputType` is `CMAF`.
559
+ #
550
560
  # @option params [Hash<String,String>] :tags
551
561
  # A comma-separated list of tag key:value pairs that you define. For
552
562
  # example:
@@ -567,6 +577,8 @@ module Aws::MediaPackageV2
567
577
  # * {Types::CreateChannelResponse#input_type #input_type} => String
568
578
  # * {Types::CreateChannelResponse#etag #etag} => String
569
579
  # * {Types::CreateChannelResponse#tags #tags} => Hash&lt;String,String&gt;
580
+ # * {Types::CreateChannelResponse#input_switch_configuration #input_switch_configuration} => Types::InputSwitchConfiguration
581
+ # * {Types::CreateChannelResponse#output_header_configuration #output_header_configuration} => Types::OutputHeaderConfiguration
570
582
  #
571
583
  #
572
584
  # @example Example: Creating a Channel
@@ -616,6 +628,12 @@ module Aws::MediaPackageV2
616
628
  # client_token: "IdempotencyToken",
617
629
  # input_type: "HLS", # accepts HLS, CMAF
618
630
  # description: "ResourceDescription",
631
+ # input_switch_configuration: {
632
+ # mqcs_input_switching: false,
633
+ # },
634
+ # output_header_configuration: {
635
+ # publish_mqcs: false,
636
+ # },
619
637
  # tags: {
620
638
  # "TagKey" => "TagValue",
621
639
  # },
@@ -636,6 +654,8 @@ module Aws::MediaPackageV2
636
654
  # resp.etag #=> String
637
655
  # resp.tags #=> Hash
638
656
  # resp.tags["TagKey"] #=> String
657
+ # resp.input_switch_configuration.mqcs_input_switching #=> Boolean
658
+ # resp.output_header_configuration.publish_mqcs #=> Boolean
639
659
  #
640
660
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateChannel AWS API Documentation
641
661
  #
@@ -1973,6 +1993,8 @@ module Aws::MediaPackageV2
1973
1993
  # * {Types::GetChannelResponse#input_type #input_type} => String
1974
1994
  # * {Types::GetChannelResponse#etag #etag} => String
1975
1995
  # * {Types::GetChannelResponse#tags #tags} => Hash&lt;String,String&gt;
1996
+ # * {Types::GetChannelResponse#input_switch_configuration #input_switch_configuration} => Types::InputSwitchConfiguration
1997
+ # * {Types::GetChannelResponse#output_header_configuration #output_header_configuration} => Types::OutputHeaderConfiguration
1976
1998
  #
1977
1999
  #
1978
2000
  # @example Example: Getting a Channel
@@ -2030,6 +2052,8 @@ module Aws::MediaPackageV2
2030
2052
  # resp.etag #=> String
2031
2053
  # resp.tags #=> Hash
2032
2054
  # resp.tags["TagKey"] #=> String
2055
+ # resp.input_switch_configuration.mqcs_input_switching #=> Boolean
2056
+ # resp.output_header_configuration.publish_mqcs #=> Boolean
2033
2057
  #
2034
2058
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannel AWS API Documentation
2035
2059
  #
@@ -3297,6 +3321,16 @@ module Aws::MediaPackageV2
3297
3321
  # Any descriptive information that you want to add to the channel for
3298
3322
  # future identification purposes.
3299
3323
  #
3324
+ # @option params [Types::InputSwitchConfiguration] :input_switch_configuration
3325
+ # The configuration for input switching based on the media quality
3326
+ # confidence score (MQCS) as provided from AWS Elemental MediaLive. This
3327
+ # setting is valid only when `InputType` is `CMAF`.
3328
+ #
3329
+ # @option params [Types::OutputHeaderConfiguration] :output_header_configuration
3330
+ # The settings for what common media server data (CMSD) headers AWS
3331
+ # Elemental MediaPackage includes in responses to the CDN. This setting
3332
+ # is valid only when `InputType` is `CMAF`.
3333
+ #
3300
3334
  # @return [Types::UpdateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3301
3335
  #
3302
3336
  # * {Types::UpdateChannelResponse#arn #arn} => String
@@ -3309,6 +3343,8 @@ module Aws::MediaPackageV2
3309
3343
  # * {Types::UpdateChannelResponse#input_type #input_type} => String
3310
3344
  # * {Types::UpdateChannelResponse#etag #etag} => String
3311
3345
  # * {Types::UpdateChannelResponse#tags #tags} => Hash&lt;String,String&gt;
3346
+ # * {Types::UpdateChannelResponse#input_switch_configuration #input_switch_configuration} => Types::InputSwitchConfiguration
3347
+ # * {Types::UpdateChannelResponse#output_header_configuration #output_header_configuration} => Types::OutputHeaderConfiguration
3312
3348
  #
3313
3349
  #
3314
3350
  # @example Example: Updating a Channel
@@ -3352,6 +3388,12 @@ module Aws::MediaPackageV2
3352
3388
  # channel_name: "ResourceName", # required
3353
3389
  # etag: "EntityTag",
3354
3390
  # description: "ResourceDescription",
3391
+ # input_switch_configuration: {
3392
+ # mqcs_input_switching: false,
3393
+ # },
3394
+ # output_header_configuration: {
3395
+ # publish_mqcs: false,
3396
+ # },
3355
3397
  # })
3356
3398
  #
3357
3399
  # @example Response structure
@@ -3369,6 +3411,8 @@ module Aws::MediaPackageV2
3369
3411
  # resp.etag #=> String
3370
3412
  # resp.tags #=> Hash
3371
3413
  # resp.tags["TagKey"] #=> String
3414
+ # resp.input_switch_configuration.mqcs_input_switching #=> Boolean
3415
+ # resp.output_header_configuration.publish_mqcs #=> Boolean
3372
3416
  #
3373
3417
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateChannel AWS API Documentation
3374
3418
  #
@@ -3954,7 +3998,7 @@ module Aws::MediaPackageV2
3954
3998
  tracer: tracer
3955
3999
  )
3956
4000
  context[:gem_name] = 'aws-sdk-mediapackagev2'
3957
- context[:gem_version] = '1.31.0'
4001
+ context[:gem_version] = '1.33.0'
3958
4002
  Seahorse::Client::Request.new(handlers, context)
3959
4003
  end
3960
4004
 
@@ -115,6 +115,7 @@ module Aws::MediaPackageV2
115
115
  IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
116
116
  IngestEndpoint = Shapes::StructureShape.new(name: 'IngestEndpoint')
117
117
  IngestEndpointList = Shapes::ListShape.new(name: 'IngestEndpointList')
118
+ InputSwitchConfiguration = Shapes::StructureShape.new(name: 'InputSwitchConfiguration')
118
119
  InputType = Shapes::StringShape.new(name: 'InputType')
119
120
  Integer = Shapes::IntegerShape.new(name: 'Integer')
120
121
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -141,6 +142,7 @@ module Aws::MediaPackageV2
141
142
  ManifestName = Shapes::StringShape.new(name: 'ManifestName')
142
143
  OriginEndpointListConfiguration = Shapes::StructureShape.new(name: 'OriginEndpointListConfiguration')
143
144
  OriginEndpointsList = Shapes::ListShape.new(name: 'OriginEndpointsList')
145
+ OutputHeaderConfiguration = Shapes::StructureShape.new(name: 'OutputHeaderConfiguration')
144
146
  PolicyText = Shapes::StringShape.new(name: 'PolicyText')
145
147
  PresetSpeke20Audio = Shapes::StringShape.new(name: 'PresetSpeke20Audio')
146
148
  PresetSpeke20Video = Shapes::StringShape.new(name: 'PresetSpeke20Video')
@@ -248,6 +250,8 @@ module Aws::MediaPackageV2
248
250
  CreateChannelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location: "header", location_name: "x-amzn-client-token", metadata: {"idempotencyToken"=>true}))
249
251
  CreateChannelRequest.add_member(:input_type, Shapes::ShapeRef.new(shape: InputType, location_name: "InputType"))
250
252
  CreateChannelRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
253
+ CreateChannelRequest.add_member(:input_switch_configuration, Shapes::ShapeRef.new(shape: InputSwitchConfiguration, location_name: "InputSwitchConfiguration"))
254
+ CreateChannelRequest.add_member(:output_header_configuration, Shapes::ShapeRef.new(shape: OutputHeaderConfiguration, location_name: "OutputHeaderConfiguration"))
251
255
  CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
252
256
  CreateChannelRequest.struct_class = Types::CreateChannelRequest
253
257
 
@@ -261,6 +265,8 @@ module Aws::MediaPackageV2
261
265
  CreateChannelResponse.add_member(:input_type, Shapes::ShapeRef.new(shape: InputType, location_name: "InputType"))
262
266
  CreateChannelResponse.add_member(:etag, Shapes::ShapeRef.new(shape: EntityTag, location_name: "ETag"))
263
267
  CreateChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
268
+ CreateChannelResponse.add_member(:input_switch_configuration, Shapes::ShapeRef.new(shape: InputSwitchConfiguration, location_name: "InputSwitchConfiguration"))
269
+ CreateChannelResponse.add_member(:output_header_configuration, Shapes::ShapeRef.new(shape: OutputHeaderConfiguration, location_name: "OutputHeaderConfiguration"))
264
270
  CreateChannelResponse.struct_class = Types::CreateChannelResponse
265
271
 
266
272
  CreateDashManifestConfiguration.add_member(:manifest_name, Shapes::ShapeRef.new(shape: ManifestName, required: true, location_name: "ManifestName"))
@@ -464,6 +470,8 @@ module Aws::MediaPackageV2
464
470
  GetChannelResponse.add_member(:input_type, Shapes::ShapeRef.new(shape: InputType, location_name: "InputType"))
465
471
  GetChannelResponse.add_member(:etag, Shapes::ShapeRef.new(shape: EntityTag, location_name: "ETag"))
466
472
  GetChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
473
+ GetChannelResponse.add_member(:input_switch_configuration, Shapes::ShapeRef.new(shape: InputSwitchConfiguration, location_name: "InputSwitchConfiguration"))
474
+ GetChannelResponse.add_member(:output_header_configuration, Shapes::ShapeRef.new(shape: OutputHeaderConfiguration, location_name: "OutputHeaderConfiguration"))
467
475
  GetChannelResponse.struct_class = Types::GetChannelResponse
468
476
 
469
477
  GetDashManifestConfiguration.add_member(:manifest_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "ManifestName"))
@@ -611,6 +619,9 @@ module Aws::MediaPackageV2
611
619
 
612
620
  IngestEndpointList.member = Shapes::ShapeRef.new(shape: IngestEndpoint)
613
621
 
622
+ InputSwitchConfiguration.add_member(:mqcs_input_switching, Shapes::ShapeRef.new(shape: Boolean, location_name: "MQCSInputSwitching"))
623
+ InputSwitchConfiguration.struct_class = Types::InputSwitchConfiguration
624
+
614
625
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
615
626
  InternalServerException.struct_class = Types::InternalServerException
616
627
 
@@ -695,6 +706,9 @@ module Aws::MediaPackageV2
695
706
 
696
707
  OriginEndpointsList.member = Shapes::ShapeRef.new(shape: OriginEndpointListConfiguration)
697
708
 
709
+ OutputHeaderConfiguration.add_member(:publish_mqcs, Shapes::ShapeRef.new(shape: Boolean, location_name: "PublishMQCS"))
710
+ OutputHeaderConfiguration.struct_class = Types::OutputHeaderConfiguration
711
+
698
712
  PutChannelPolicyRequest.add_member(:channel_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "ChannelGroupName"))
699
713
  PutChannelPolicyRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "ChannelName"))
700
714
  PutChannelPolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: PolicyText, required: true, location_name: "Policy"))
@@ -789,6 +803,8 @@ module Aws::MediaPackageV2
789
803
  UpdateChannelRequest.add_member(:channel_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "ChannelName"))
790
804
  UpdateChannelRequest.add_member(:etag, Shapes::ShapeRef.new(shape: EntityTag, location: "header", location_name: "x-amzn-update-if-match"))
791
805
  UpdateChannelRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "Description"))
806
+ UpdateChannelRequest.add_member(:input_switch_configuration, Shapes::ShapeRef.new(shape: InputSwitchConfiguration, location_name: "InputSwitchConfiguration"))
807
+ UpdateChannelRequest.add_member(:output_header_configuration, Shapes::ShapeRef.new(shape: OutputHeaderConfiguration, location_name: "OutputHeaderConfiguration"))
792
808
  UpdateChannelRequest.struct_class = Types::UpdateChannelRequest
793
809
 
794
810
  UpdateChannelResponse.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Arn"))
@@ -801,6 +817,8 @@ module Aws::MediaPackageV2
801
817
  UpdateChannelResponse.add_member(:input_type, Shapes::ShapeRef.new(shape: InputType, location_name: "InputType"))
802
818
  UpdateChannelResponse.add_member(:etag, Shapes::ShapeRef.new(shape: EntityTag, location_name: "ETag"))
803
819
  UpdateChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
820
+ UpdateChannelResponse.add_member(:input_switch_configuration, Shapes::ShapeRef.new(shape: InputSwitchConfiguration, location_name: "InputSwitchConfiguration"))
821
+ UpdateChannelResponse.add_member(:output_header_configuration, Shapes::ShapeRef.new(shape: OutputHeaderConfiguration, location_name: "OutputHeaderConfiguration"))
804
822
  UpdateChannelResponse.struct_class = Types::UpdateChannelResponse
805
823
 
806
824
  UpdateOriginEndpointRequest.add_member(:channel_group_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "ChannelGroupName"))
@@ -314,6 +314,18 @@ module Aws::MediaPackageV2
314
314
  # Enter any descriptive text that helps you to identify the channel.
315
315
  # @return [String]
316
316
  #
317
+ # @!attribute [rw] input_switch_configuration
318
+ # The configuration for input switching based on the media quality
319
+ # confidence score (MQCS) as provided from AWS Elemental MediaLive.
320
+ # This setting is valid only when `InputType` is `CMAF`.
321
+ # @return [Types::InputSwitchConfiguration]
322
+ #
323
+ # @!attribute [rw] output_header_configuration
324
+ # The settings for what common media server data (CMSD) headers AWS
325
+ # Elemental MediaPackage includes in responses to the CDN. This
326
+ # setting is valid only when `InputType` is `CMAF`.
327
+ # @return [Types::OutputHeaderConfiguration]
328
+ #
317
329
  # @!attribute [rw] tags
318
330
  # A comma-separated list of tag key:value pairs that you define. For
319
331
  # example:
@@ -331,6 +343,8 @@ module Aws::MediaPackageV2
331
343
  :client_token,
332
344
  :input_type,
333
345
  :description,
346
+ :input_switch_configuration,
347
+ :output_header_configuration,
334
348
  :tags)
335
349
  SENSITIVE = []
336
350
  include Aws::Structure
@@ -393,6 +407,18 @@ module Aws::MediaPackageV2
393
407
  # channel.
394
408
  # @return [Hash<String,String>]
395
409
  #
410
+ # @!attribute [rw] input_switch_configuration
411
+ # The configuration for input switching based on the media quality
412
+ # confidence score (MQCS) as provided from AWS Elemental MediaLive.
413
+ # This setting is valid only when `InputType` is `CMAF`.
414
+ # @return [Types::InputSwitchConfiguration]
415
+ #
416
+ # @!attribute [rw] output_header_configuration
417
+ # The settings for what common media server data (CMSD) headers AWS
418
+ # Elemental MediaPackage includes in responses to the CDN. This
419
+ # setting is valid only when `InputType` is `CMAF`.
420
+ # @return [Types::OutputHeaderConfiguration]
421
+ #
396
422
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/CreateChannelResponse AWS API Documentation
397
423
  #
398
424
  class CreateChannelResponse < Struct.new(
@@ -405,7 +431,9 @@ module Aws::MediaPackageV2
405
431
  :ingest_endpoints,
406
432
  :input_type,
407
433
  :etag,
408
- :tags)
434
+ :tags,
435
+ :input_switch_configuration,
436
+ :output_header_configuration)
409
437
  SENSITIVE = []
410
438
  include Aws::Structure
411
439
  end
@@ -701,9 +729,7 @@ module Aws::MediaPackageV2
701
729
  # interval that you specify. If you don't enter an interval,
702
730
  # EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The
703
731
  # tags sync the stream to the wall clock so that viewers can seek to a
704
- # specific time in the playback timeline on the player. ID3Timed
705
- # metadata messages generate every 5 seconds whenever the content is
706
- # ingested.
732
+ # specific time in the playback timeline on the player.
707
733
  #
708
734
  # Irrespective of this parameter, if any ID3Timed metadata is in the
709
735
  # HLS input, it is passed through to the HLS output.
@@ -771,9 +797,7 @@ module Aws::MediaPackageV2
771
797
  # interval that you specify. If you don't enter an interval,
772
798
  # EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The
773
799
  # tags sync the stream to the wall clock so that viewers can seek to a
774
- # specific time in the playback timeline on the player. ID3Timed
775
- # metadata messages generate every 5 seconds whenever the content is
776
- # ingested.
800
+ # specific time in the playback timeline on the player.
777
801
  #
778
802
  # Irrespective of this parameter, if any ID3Timed metadata is in the
779
803
  # HLS input, it is passed through to the HLS output.
@@ -1577,6 +1601,18 @@ module Aws::MediaPackageV2
1577
1601
  # channel.
1578
1602
  # @return [Hash<String,String>]
1579
1603
  #
1604
+ # @!attribute [rw] input_switch_configuration
1605
+ # The configuration for input switching based on the media quality
1606
+ # confidence score (MQCS) as provided from AWS Elemental MediaLive.
1607
+ # This setting is valid only when `InputType` is `CMAF`.
1608
+ # @return [Types::InputSwitchConfiguration]
1609
+ #
1610
+ # @!attribute [rw] output_header_configuration
1611
+ # The settings for what common media server data (CMSD) headers AWS
1612
+ # Elemental MediaPackage includes in responses to the CDN. This
1613
+ # setting is valid only when `InputType` is `CMAF`.
1614
+ # @return [Types::OutputHeaderConfiguration]
1615
+ #
1580
1616
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/GetChannelResponse AWS API Documentation
1581
1617
  #
1582
1618
  class GetChannelResponse < Struct.new(
@@ -1589,7 +1625,9 @@ module Aws::MediaPackageV2
1589
1625
  :ingest_endpoints,
1590
1626
  :input_type,
1591
1627
  :etag,
1592
- :tags)
1628
+ :tags,
1629
+ :input_switch_configuration,
1630
+ :output_header_configuration)
1593
1631
  SENSITIVE = []
1594
1632
  include Aws::Structure
1595
1633
  end
@@ -1844,9 +1882,7 @@ module Aws::MediaPackageV2
1844
1882
  # interval that you specify. If you don't enter an interval,
1845
1883
  # EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The
1846
1884
  # tags sync the stream to the wall clock so that viewers can seek to a
1847
- # specific time in the playback timeline on the player. ID3Timed
1848
- # metadata messages generate every 5 seconds whenever the content is
1849
- # ingested.
1885
+ # specific time in the playback timeline on the player.
1850
1886
  #
1851
1887
  # Irrespective of this parameter, if any ID3Timed metadata is in the
1852
1888
  # HLS input, it is passed through to the HLS output.
@@ -1919,9 +1955,7 @@ module Aws::MediaPackageV2
1919
1955
  # interval that you specify. If you don't enter an interval,
1920
1956
  # EXT-X-PROGRAM-DATE-TIME tags aren't included in the manifest. The
1921
1957
  # tags sync the stream to the wall clock so that viewers can seek to a
1922
- # specific time in the playback timeline on the player. ID3Timed
1923
- # metadata messages generate every 5 seconds whenever the content is
1924
- # ingested.
1958
+ # specific time in the playback timeline on the player.
1925
1959
  #
1926
1960
  # Irrespective of this parameter, if any ID3Timed metadata is in the
1927
1961
  # HLS input, it is passed through to the HLS output.
@@ -2334,6 +2368,23 @@ module Aws::MediaPackageV2
2334
2368
  include Aws::Structure
2335
2369
  end
2336
2370
 
2371
+ # The configuration for input switching based on the media quality
2372
+ # confidence score (MQCS) as provided from AWS Elemental MediaLive.
2373
+ #
2374
+ # @!attribute [rw] mqcs_input_switching
2375
+ # When true, AWS Elemental MediaPackage performs input switching based
2376
+ # on the MQCS. Default is true. This setting is valid only when
2377
+ # `InputType` is `CMAF`.
2378
+ # @return [Boolean]
2379
+ #
2380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/InputSwitchConfiguration AWS API Documentation
2381
+ #
2382
+ class InputSwitchConfiguration < Struct.new(
2383
+ :mqcs_input_switching)
2384
+ SENSITIVE = []
2385
+ include Aws::Structure
2386
+ end
2387
+
2337
2388
  # Indicates that an error from the service occurred while trying to
2338
2389
  # process a request.
2339
2390
  #
@@ -2739,6 +2790,22 @@ module Aws::MediaPackageV2
2739
2790
  include Aws::Structure
2740
2791
  end
2741
2792
 
2793
+ # The settings for what common media server data (CMSD) headers AWS
2794
+ # Elemental MediaPackage includes in responses to the CDN.
2795
+ #
2796
+ # @!attribute [rw] publish_mqcs
2797
+ # When true, AWS Elemental MediaPackage includes the MQCS in responses
2798
+ # to the CDN. This setting is valid only when `InputType` is `CMAF`.
2799
+ # @return [Boolean]
2800
+ #
2801
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/OutputHeaderConfiguration AWS API Documentation
2802
+ #
2803
+ class OutputHeaderConfiguration < Struct.new(
2804
+ :publish_mqcs)
2805
+ SENSITIVE = []
2806
+ include Aws::Structure
2807
+ end
2808
+
2742
2809
  # @!attribute [rw] channel_group_name
2743
2810
  # The name that describes the channel group. The name is the primary
2744
2811
  # identifier for the channel group, and must be unique for your
@@ -3025,8 +3092,8 @@ module Aws::MediaPackageV2
3025
3092
  # sufficient permissions policy to allow access to the specific key
3026
3093
  # retrieval URL. Get this from your DRM solution provider.
3027
3094
  #
3028
- # Valid format: `arn:aws:iam::\{accountID\}:role/\{name\}`. The
3029
- # following example shows a role ARN:
3095
+ # Valid format: `arn:aws:iam::{accountID}:role/{name}`. The following
3096
+ # example shows a role ARN:
3030
3097
  # `arn:aws:iam::444455556666:role/SpekeAccess`
3031
3098
  # @return [String]
3032
3099
  #
@@ -3234,13 +3301,27 @@ module Aws::MediaPackageV2
3234
3301
  # future identification purposes.
3235
3302
  # @return [String]
3236
3303
  #
3304
+ # @!attribute [rw] input_switch_configuration
3305
+ # The configuration for input switching based on the media quality
3306
+ # confidence score (MQCS) as provided from AWS Elemental MediaLive.
3307
+ # This setting is valid only when `InputType` is `CMAF`.
3308
+ # @return [Types::InputSwitchConfiguration]
3309
+ #
3310
+ # @!attribute [rw] output_header_configuration
3311
+ # The settings for what common media server data (CMSD) headers AWS
3312
+ # Elemental MediaPackage includes in responses to the CDN. This
3313
+ # setting is valid only when `InputType` is `CMAF`.
3314
+ # @return [Types::OutputHeaderConfiguration]
3315
+ #
3237
3316
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateChannelRequest AWS API Documentation
3238
3317
  #
3239
3318
  class UpdateChannelRequest < Struct.new(
3240
3319
  :channel_group_name,
3241
3320
  :channel_name,
3242
3321
  :etag,
3243
- :description)
3322
+ :description,
3323
+ :input_switch_configuration,
3324
+ :output_header_configuration)
3244
3325
  SENSITIVE = []
3245
3326
  include Aws::Structure
3246
3327
  end
@@ -3302,6 +3383,18 @@ module Aws::MediaPackageV2
3302
3383
  # channel.
3303
3384
  # @return [Hash<String,String>]
3304
3385
  #
3386
+ # @!attribute [rw] input_switch_configuration
3387
+ # The configuration for input switching based on the media quality
3388
+ # confidence score (MQCS) as provided from AWS Elemental MediaLive.
3389
+ # This setting is valid only when `InputType` is `CMAF`.
3390
+ # @return [Types::InputSwitchConfiguration]
3391
+ #
3392
+ # @!attribute [rw] output_header_configuration
3393
+ # The settings for what common media server data (CMSD) headers AWS
3394
+ # Elemental MediaPackage includes in responses to the CDN. This
3395
+ # setting is valid only when `InputType` is `CMAF`.
3396
+ # @return [Types::OutputHeaderConfiguration]
3397
+ #
3305
3398
  # @see http://docs.aws.amazon.com/goto/WebAPI/mediapackagev2-2022-12-25/UpdateChannelResponse AWS API Documentation
3306
3399
  #
3307
3400
  class UpdateChannelResponse < Struct.new(
@@ -3314,7 +3407,9 @@ module Aws::MediaPackageV2
3314
3407
  :ingest_endpoints,
3315
3408
  :input_type,
3316
3409
  :etag,
3317
- :tags)
3410
+ :tags,
3411
+ :input_switch_configuration,
3412
+ :output_header_configuration)
3318
3413
  SENSITIVE = []
3319
3414
  include Aws::Structure
3320
3415
  end
@@ -55,7 +55,7 @@ module Aws::MediaPackageV2
55
55
  autoload :EndpointProvider, 'aws-sdk-mediapackagev2/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-mediapackagev2/endpoints'
57
57
 
58
- GEM_VERSION = '1.31.0'
58
+ GEM_VERSION = '1.33.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -100,6 +100,8 @@ module Aws
100
100
  def input_type: () -> ("HLS" | "CMAF")
101
101
  def etag: () -> ::String
102
102
  def tags: () -> ::Hash[::String, ::String]
103
+ def input_switch_configuration: () -> Types::InputSwitchConfiguration
104
+ def output_header_configuration: () -> Types::OutputHeaderConfiguration
103
105
  end
104
106
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#create_channel-instance_method
105
107
  def create_channel: (
@@ -108,6 +110,12 @@ module Aws
108
110
  ?client_token: ::String,
109
111
  ?input_type: ("HLS" | "CMAF"),
110
112
  ?description: ::String,
113
+ ?input_switch_configuration: {
114
+ mqcs_input_switching: bool?
115
+ },
116
+ ?output_header_configuration: {
117
+ publish_mqcs: bool?
118
+ },
111
119
  ?tags: Hash[::String, ::String]
112
120
  ) -> _CreateChannelResponseSuccess
113
121
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelResponseSuccess
@@ -385,6 +393,8 @@ module Aws
385
393
  def input_type: () -> ("HLS" | "CMAF")
386
394
  def etag: () -> ::String
387
395
  def tags: () -> ::Hash[::String, ::String]
396
+ def input_switch_configuration: () -> Types::InputSwitchConfiguration
397
+ def output_header_configuration: () -> Types::OutputHeaderConfiguration
388
398
  end
389
399
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#get_channel-instance_method
390
400
  def get_channel: (
@@ -606,13 +616,21 @@ module Aws
606
616
  def input_type: () -> ("HLS" | "CMAF")
607
617
  def etag: () -> ::String
608
618
  def tags: () -> ::Hash[::String, ::String]
619
+ def input_switch_configuration: () -> Types::InputSwitchConfiguration
620
+ def output_header_configuration: () -> Types::OutputHeaderConfiguration
609
621
  end
610
622
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaPackageV2/Client.html#update_channel-instance_method
611
623
  def update_channel: (
612
624
  channel_group_name: ::String,
613
625
  channel_name: ::String,
614
626
  ?etag: ::String,
615
- ?description: ::String
627
+ ?description: ::String,
628
+ ?input_switch_configuration: {
629
+ mqcs_input_switching: bool?
630
+ },
631
+ ?output_header_configuration: {
632
+ publish_mqcs: bool?
633
+ }
616
634
  ) -> _UpdateChannelResponseSuccess
617
635
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChannelResponseSuccess
618
636
 
data/sig/types.rbs CHANGED
@@ -77,6 +77,8 @@ module Aws::MediaPackageV2
77
77
  attr_accessor client_token: ::String
78
78
  attr_accessor input_type: ("HLS" | "CMAF")
79
79
  attr_accessor description: ::String
80
+ attr_accessor input_switch_configuration: Types::InputSwitchConfiguration
81
+ attr_accessor output_header_configuration: Types::OutputHeaderConfiguration
80
82
  attr_accessor tags: ::Hash[::String, ::String]
81
83
  SENSITIVE: []
82
84
  end
@@ -92,6 +94,8 @@ module Aws::MediaPackageV2
92
94
  attr_accessor input_type: ("HLS" | "CMAF")
93
95
  attr_accessor etag: ::String
94
96
  attr_accessor tags: ::Hash[::String, ::String]
97
+ attr_accessor input_switch_configuration: Types::InputSwitchConfiguration
98
+ attr_accessor output_header_configuration: Types::OutputHeaderConfiguration
95
99
  SENSITIVE: []
96
100
  end
97
101
 
@@ -340,6 +344,8 @@ module Aws::MediaPackageV2
340
344
  attr_accessor input_type: ("HLS" | "CMAF")
341
345
  attr_accessor etag: ::String
342
346
  attr_accessor tags: ::Hash[::String, ::String]
347
+ attr_accessor input_switch_configuration: Types::InputSwitchConfiguration
348
+ attr_accessor output_header_configuration: Types::OutputHeaderConfiguration
343
349
  SENSITIVE: []
344
350
  end
345
351
 
@@ -504,6 +510,11 @@ module Aws::MediaPackageV2
504
510
  SENSITIVE: []
505
511
  end
506
512
 
513
+ class InputSwitchConfiguration
514
+ attr_accessor mqcs_input_switching: bool
515
+ SENSITIVE: []
516
+ end
517
+
507
518
  class InternalServerException
508
519
  attr_accessor message: ::String
509
520
  SENSITIVE: []
@@ -610,6 +621,11 @@ module Aws::MediaPackageV2
610
621
  SENSITIVE: []
611
622
  end
612
623
 
624
+ class OutputHeaderConfiguration
625
+ attr_accessor publish_mqcs: bool
626
+ SENSITIVE: []
627
+ end
628
+
613
629
  class PutChannelPolicyRequest
614
630
  attr_accessor channel_group_name: ::String
615
631
  attr_accessor channel_name: ::String
@@ -730,6 +746,8 @@ module Aws::MediaPackageV2
730
746
  attr_accessor channel_name: ::String
731
747
  attr_accessor etag: ::String
732
748
  attr_accessor description: ::String
749
+ attr_accessor input_switch_configuration: Types::InputSwitchConfiguration
750
+ attr_accessor output_header_configuration: Types::OutputHeaderConfiguration
733
751
  SENSITIVE: []
734
752
  end
735
753
 
@@ -744,6 +762,8 @@ module Aws::MediaPackageV2
744
762
  attr_accessor input_type: ("HLS" | "CMAF")
745
763
  attr_accessor etag: ::String
746
764
  attr_accessor tags: ::Hash[::String, ::String]
765
+ attr_accessor input_switch_configuration: Types::InputSwitchConfiguration
766
+ attr_accessor output_header_configuration: Types::OutputHeaderConfiguration
747
767
  SENSITIVE: []
748
768
  end
749
769
 
@@ -785,7 +805,7 @@ module Aws::MediaPackageV2
785
805
 
786
806
  class ValidationException
787
807
  attr_accessor message: ::String
788
- attr_accessor validation_exception_type: ("CONTAINER_TYPE_IMMUTABLE" | "INVALID_PAGINATION_TOKEN" | "INVALID_PAGINATION_MAX_RESULTS" | "INVALID_POLICY" | "INVALID_ROLE_ARN" | "MANIFEST_NAME_COLLISION" | "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH" | "CENC_IV_INCOMPATIBLE" | "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE" | "ENCRYPTION_CONTRACT_UNENCRYPTED" | "ENCRYPTION_CONTRACT_SHARED" | "NUM_MANIFESTS_LOW" | "NUM_MANIFESTS_HIGH" | "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE" | "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE" | "ROLE_ARN_NOT_ASSUMABLE" | "ROLE_ARN_LENGTH_OUT_OF_RANGE" | "ROLE_ARN_INVALID_FORMAT" | "URL_INVALID" | "URL_SCHEME" | "URL_USER_INFO" | "URL_PORT" | "URL_UNKNOWN_HOST" | "URL_LOCAL_ADDRESS" | "URL_LOOPBACK_ADDRESS" | "URL_LINK_LOCAL_ADDRESS" | "URL_MULTICAST_ADDRESS" | "MEMBER_INVALID" | "MEMBER_MISSING" | "MEMBER_MIN_VALUE" | "MEMBER_MAX_VALUE" | "MEMBER_MIN_LENGTH" | "MEMBER_MAX_LENGTH" | "MEMBER_INVALID_ENUM_VALUE" | "MEMBER_DOES_NOT_MATCH_PATTERN" | "INVALID_MANIFEST_FILTER" | "INVALID_TIME_DELAY_SECONDS" | "END_TIME_EARLIER_THAN_START_TIME" | "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST" | "DIRECT_MODE_WITH_TIMING_SOURCE" | "NONE_MODE_WITH_TIMING_SOURCE" | "TIMING_SOURCE_MISSING" | "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION" | "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES" | "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS" | "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION" | "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY" | "HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION" | "HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT" | "TOO_MANY_IN_PROGRESS_HARVEST_JOBS" | "HARVEST_JOB_INELIGIBLE_FOR_CANCELLATION" | "INVALID_HARVEST_JOB_DURATION" | "HARVEST_JOB_S3_DESTINATION_MISSING_OR_INCOMPLETE" | "HARVEST_JOB_UNABLE_TO_WRITE_TO_S3_DESTINATION" | "HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED" | "CLIP_START_TIME_WITH_START_OR_END" | "START_TAG_TIME_OFFSET_INVALID")
808
+ attr_accessor validation_exception_type: ("CONTAINER_TYPE_IMMUTABLE" | "INVALID_PAGINATION_TOKEN" | "INVALID_PAGINATION_MAX_RESULTS" | "INVALID_POLICY" | "INVALID_ROLE_ARN" | "MANIFEST_NAME_COLLISION" | "ENCRYPTION_METHOD_CONTAINER_TYPE_MISMATCH" | "CENC_IV_INCOMPATIBLE" | "ENCRYPTION_CONTRACT_WITHOUT_AUDIO_RENDITION_INCOMPATIBLE" | "ENCRYPTION_CONTRACT_UNENCRYPTED" | "ENCRYPTION_CONTRACT_SHARED" | "NUM_MANIFESTS_LOW" | "NUM_MANIFESTS_HIGH" | "MANIFEST_DRM_SYSTEMS_INCOMPATIBLE" | "DRM_SYSTEMS_ENCRYPTION_METHOD_INCOMPATIBLE" | "ROLE_ARN_NOT_ASSUMABLE" | "ROLE_ARN_LENGTH_OUT_OF_RANGE" | "ROLE_ARN_INVALID_FORMAT" | "URL_INVALID" | "URL_SCHEME" | "URL_USER_INFO" | "URL_PORT" | "URL_UNKNOWN_HOST" | "URL_LOCAL_ADDRESS" | "URL_LOOPBACK_ADDRESS" | "URL_LINK_LOCAL_ADDRESS" | "URL_MULTICAST_ADDRESS" | "MEMBER_INVALID" | "MEMBER_MISSING" | "MEMBER_MIN_VALUE" | "MEMBER_MAX_VALUE" | "MEMBER_MIN_LENGTH" | "MEMBER_MAX_LENGTH" | "MEMBER_INVALID_ENUM_VALUE" | "MEMBER_DOES_NOT_MATCH_PATTERN" | "INVALID_MANIFEST_FILTER" | "INVALID_TIME_DELAY_SECONDS" | "END_TIME_EARLIER_THAN_START_TIME" | "TS_CONTAINER_TYPE_WITH_DASH_MANIFEST" | "DIRECT_MODE_WITH_TIMING_SOURCE" | "NONE_MODE_WITH_TIMING_SOURCE" | "TIMING_SOURCE_MISSING" | "UPDATE_PERIOD_SMALLER_THAN_SEGMENT_DURATION" | "PERIOD_TRIGGERS_NONE_SPECIFIED_WITH_ADDITIONAL_VALUES" | "DRM_SIGNALING_MISMATCH_SEGMENT_ENCRYPTION_STATUS" | "ONLY_CMAF_INPUT_TYPE_ALLOW_FORCE_ENDPOINT_ERROR_CONFIGURATION" | "SOURCE_DISRUPTIONS_ENABLED_INCORRECTLY" | "HARVESTED_MANIFEST_HAS_START_END_FILTER_CONFIGURATION" | "HARVESTED_MANIFEST_NOT_FOUND_ON_ENDPOINT" | "TOO_MANY_IN_PROGRESS_HARVEST_JOBS" | "HARVEST_JOB_INELIGIBLE_FOR_CANCELLATION" | "INVALID_HARVEST_JOB_DURATION" | "HARVEST_JOB_S3_DESTINATION_MISSING_OR_INCOMPLETE" | "HARVEST_JOB_UNABLE_TO_WRITE_TO_S3_DESTINATION" | "HARVEST_JOB_CUSTOMER_ENDPOINT_READ_ACCESS_DENIED" | "CLIP_START_TIME_WITH_START_OR_END" | "START_TAG_TIME_OFFSET_INVALID" | "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_INPUT_SWITCHING" | "ONLY_CMAF_INPUT_TYPE_ALLOW_MQCS_OUTPUT_CONFIGURATION")
789
809
  SENSITIVE: []
790
810
  end
791
811
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-mediapackagev2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.31.0
4
+ version: 1.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-28 00:00:00.000000000 Z
11
+ date: 2024-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core