aws-sdk-mediatailor 1.36.0 → 1.37.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: ce581813e4ada524bebdbdac8d18ac9c523e2bfba47063d480118df4a027c2de
4
- data.tar.gz: 2c67ec15cb2f466647bfef836de05765f614fd9dd8bb8a15e7c18c987c592555
3
+ metadata.gz: 22225215a408d884d762c0c61a1170ae5ea33da9b6f871867ca9a294e6aef416
4
+ data.tar.gz: 44c7b58fcbd7ac7e140dc17927ca30cb801889ced85a7287a215227b6ac4e85e
5
5
  SHA512:
6
- metadata.gz: d3a56a35d1f7782465c65c2f09ff9127b5b4b7952cf525c5c37e0c77b2b0adc4a8529a9853605b03269bbdcf4da9c67e9fbd899d81d24a30ea79d37e26fb2e92
7
- data.tar.gz: 7a866b63c429846eeca68d802cab3d2bb4426d59e79ef2c09ecf7c2b14d31bc783f209172fadd1244b111fbd50490747ced1be3abe1d78ead05b01a41b2cb9cf
6
+ metadata.gz: da1728f1e7bde735eadb8b8a551ecb581fb18759cc1f0c4a96d265fb0a651236ef398cb1a2201baaa21443d86a3bf2430a9214f9600a7a871dad72e89e4b007f
7
+ data.tar.gz: b2dc1fba17ef3756520b777e01a3ef2bf2694a3ed9a190a96459e77ec69368f134b6c298305c96d81eb9765ea18d3ee8936ff2f7b90af2037c26c33db0f9d0d8
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2021-03-12)
5
+ ------------------
6
+
7
+ * Feature - MediaTailor channel assembly is a new manifest-only service that allows you to assemble linear streams using your existing VOD content.
8
+
4
9
  1.36.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.37.0
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-mediatailor/customizations'
28
28
  # structure.
29
29
  #
30
30
  # media_tailor = Aws::MediaTailor::Client.new
31
- # resp = media_tailor.delete_playback_configuration(params)
31
+ # resp = media_tailor.create_channel(params)
32
32
  #
33
33
  # See {Client} for more information.
34
34
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-mediatailor/customizations'
48
48
  # @!group service
49
49
  module Aws::MediaTailor
50
50
 
51
- GEM_VERSION = '1.36.0'
51
+ GEM_VERSION = '1.37.0'
52
52
 
53
53
  end
@@ -327,6 +327,343 @@ module Aws::MediaTailor
327
327
 
328
328
  # @!group API Operations
329
329
 
330
+ # Creates a channel.
331
+ #
332
+ # @option params [required, String] :channel_name
333
+ #
334
+ # @option params [required, Array<Types::RequestOutputItem>] :outputs
335
+ # The channel's output properties.
336
+ #
337
+ # @option params [required, String] :playback_mode
338
+ # The type of playback mode for this channel. The only supported value
339
+ # is LOOP.
340
+ #
341
+ # @option params [Hash<String,String>] :tags
342
+ # The tags to assign to the channel.
343
+ #
344
+ # @return [Types::CreateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
345
+ #
346
+ # * {Types::CreateChannelResponse#arn #arn} => String
347
+ # * {Types::CreateChannelResponse#channel_name #channel_name} => String
348
+ # * {Types::CreateChannelResponse#channel_state #channel_state} => String
349
+ # * {Types::CreateChannelResponse#creation_time #creation_time} => Time
350
+ # * {Types::CreateChannelResponse#last_modified_time #last_modified_time} => Time
351
+ # * {Types::CreateChannelResponse#outputs #outputs} => Array&lt;Types::ResponseOutputItem&gt;
352
+ # * {Types::CreateChannelResponse#playback_mode #playback_mode} => String
353
+ # * {Types::CreateChannelResponse#tags #tags} => Hash&lt;String,String&gt;
354
+ #
355
+ # @example Request syntax with placeholder values
356
+ #
357
+ # resp = client.create_channel({
358
+ # channel_name: "__string", # required
359
+ # outputs: [ # required
360
+ # {
361
+ # dash_playlist_settings: {
362
+ # manifest_window_seconds: 1,
363
+ # min_buffer_time_seconds: 1,
364
+ # min_update_period_seconds: 1,
365
+ # suggested_presentation_delay_seconds: 1,
366
+ # },
367
+ # hls_playlist_settings: {
368
+ # manifest_window_seconds: 1,
369
+ # },
370
+ # manifest_name: "__string", # required
371
+ # source_group: "__string", # required
372
+ # },
373
+ # ],
374
+ # playback_mode: "LOOP", # required, accepts LOOP
375
+ # tags: {
376
+ # "__string" => "__string",
377
+ # },
378
+ # })
379
+ #
380
+ # @example Response structure
381
+ #
382
+ # resp.arn #=> String
383
+ # resp.channel_name #=> String
384
+ # resp.channel_state #=> String, one of "RUNNING", "STOPPED"
385
+ # resp.creation_time #=> Time
386
+ # resp.last_modified_time #=> Time
387
+ # resp.outputs #=> Array
388
+ # resp.outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
389
+ # resp.outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
390
+ # resp.outputs[0].dash_playlist_settings.min_update_period_seconds #=> Integer
391
+ # resp.outputs[0].dash_playlist_settings.suggested_presentation_delay_seconds #=> Integer
392
+ # resp.outputs[0].hls_playlist_settings.manifest_window_seconds #=> Integer
393
+ # resp.outputs[0].manifest_name #=> String
394
+ # resp.outputs[0].playback_url #=> String
395
+ # resp.outputs[0].source_group #=> String
396
+ # resp.playback_mode #=> String
397
+ # resp.tags #=> Hash
398
+ # resp.tags["__string"] #=> String
399
+ #
400
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateChannel AWS API Documentation
401
+ #
402
+ # @overload create_channel(params = {})
403
+ # @param [Hash] params ({})
404
+ def create_channel(params = {}, options = {})
405
+ req = build_request(:create_channel, params)
406
+ req.send_request(options)
407
+ end
408
+
409
+ # Creates a program.
410
+ #
411
+ # @option params [Array<Types::AdBreak>] :ad_breaks
412
+ # The ad break configuration settings.
413
+ #
414
+ # @option params [required, String] :channel_name
415
+ #
416
+ # @option params [required, String] :program_name
417
+ #
418
+ # @option params [required, Types::ScheduleConfiguration] :schedule_configuration
419
+ # The schedule configuration settings.
420
+ #
421
+ # @option params [required, String] :source_location_name
422
+ # The name of the source location.
423
+ #
424
+ # @option params [required, String] :vod_source_name
425
+ # The name that's used to refer to a VOD source.
426
+ #
427
+ # @return [Types::CreateProgramResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
428
+ #
429
+ # * {Types::CreateProgramResponse#ad_breaks #ad_breaks} => Array&lt;Types::AdBreak&gt;
430
+ # * {Types::CreateProgramResponse#arn #arn} => String
431
+ # * {Types::CreateProgramResponse#channel_name #channel_name} => String
432
+ # * {Types::CreateProgramResponse#creation_time #creation_time} => Time
433
+ # * {Types::CreateProgramResponse#program_name #program_name} => String
434
+ # * {Types::CreateProgramResponse#source_location_name #source_location_name} => String
435
+ # * {Types::CreateProgramResponse#vod_source_name #vod_source_name} => String
436
+ #
437
+ # @example Request syntax with placeholder values
438
+ #
439
+ # resp = client.create_program({
440
+ # ad_breaks: [
441
+ # {
442
+ # message_type: "SPLICE_INSERT", # accepts SPLICE_INSERT
443
+ # offset_millis: 1,
444
+ # slate: {
445
+ # source_location_name: "__string",
446
+ # vod_source_name: "__string",
447
+ # },
448
+ # splice_insert_message: {
449
+ # avail_num: 1,
450
+ # avails_expected: 1,
451
+ # splice_event_id: 1,
452
+ # unique_program_id: 1,
453
+ # },
454
+ # },
455
+ # ],
456
+ # channel_name: "__string", # required
457
+ # program_name: "__string", # required
458
+ # schedule_configuration: { # required
459
+ # transition: { # required
460
+ # relative_position: "BEFORE_PROGRAM", # required, accepts BEFORE_PROGRAM, AFTER_PROGRAM
461
+ # relative_program: "__string",
462
+ # type: "__string", # required
463
+ # },
464
+ # },
465
+ # source_location_name: "__string", # required
466
+ # vod_source_name: "__string", # required
467
+ # })
468
+ #
469
+ # @example Response structure
470
+ #
471
+ # resp.ad_breaks #=> Array
472
+ # resp.ad_breaks[0].message_type #=> String, one of "SPLICE_INSERT"
473
+ # resp.ad_breaks[0].offset_millis #=> Integer
474
+ # resp.ad_breaks[0].slate.source_location_name #=> String
475
+ # resp.ad_breaks[0].slate.vod_source_name #=> String
476
+ # resp.ad_breaks[0].splice_insert_message.avail_num #=> Integer
477
+ # resp.ad_breaks[0].splice_insert_message.avails_expected #=> Integer
478
+ # resp.ad_breaks[0].splice_insert_message.splice_event_id #=> Integer
479
+ # resp.ad_breaks[0].splice_insert_message.unique_program_id #=> Integer
480
+ # resp.arn #=> String
481
+ # resp.channel_name #=> String
482
+ # resp.creation_time #=> Time
483
+ # resp.program_name #=> String
484
+ # resp.source_location_name #=> String
485
+ # resp.vod_source_name #=> String
486
+ #
487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateProgram AWS API Documentation
488
+ #
489
+ # @overload create_program(params = {})
490
+ # @param [Hash] params ({})
491
+ def create_program(params = {}, options = {})
492
+ req = build_request(:create_program, params)
493
+ req.send_request(options)
494
+ end
495
+
496
+ # Creates a source location on a specific channel.
497
+ #
498
+ # @option params [Types::AccessConfiguration] :access_configuration
499
+ # Access configuration parameters. Configures the type of authentication
500
+ # used to access content from your source location.
501
+ #
502
+ # @option params [Types::DefaultSegmentDeliveryConfiguration] :default_segment_delivery_configuration
503
+ # The optional configuration for the server that serves segments.
504
+ #
505
+ # @option params [required, Types::HttpConfiguration] :http_configuration
506
+ # The source's HTTP package configurations.
507
+ #
508
+ # @option params [required, String] :source_location_name
509
+ #
510
+ # @option params [Hash<String,String>] :tags
511
+ # The tags to assign to the source location.
512
+ #
513
+ # @return [Types::CreateSourceLocationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
514
+ #
515
+ # * {Types::CreateSourceLocationResponse#access_configuration #access_configuration} => Types::AccessConfiguration
516
+ # * {Types::CreateSourceLocationResponse#arn #arn} => String
517
+ # * {Types::CreateSourceLocationResponse#creation_time #creation_time} => Time
518
+ # * {Types::CreateSourceLocationResponse#default_segment_delivery_configuration #default_segment_delivery_configuration} => Types::DefaultSegmentDeliveryConfiguration
519
+ # * {Types::CreateSourceLocationResponse#http_configuration #http_configuration} => Types::HttpConfiguration
520
+ # * {Types::CreateSourceLocationResponse#last_modified_time #last_modified_time} => Time
521
+ # * {Types::CreateSourceLocationResponse#source_location_name #source_location_name} => String
522
+ # * {Types::CreateSourceLocationResponse#tags #tags} => Hash&lt;String,String&gt;
523
+ #
524
+ # @example Request syntax with placeholder values
525
+ #
526
+ # resp = client.create_source_location({
527
+ # access_configuration: {
528
+ # access_type: "S3_SIGV4", # accepts S3_SIGV4
529
+ # },
530
+ # default_segment_delivery_configuration: {
531
+ # base_url: "__string",
532
+ # },
533
+ # http_configuration: { # required
534
+ # base_url: "__string", # required
535
+ # },
536
+ # source_location_name: "__string", # required
537
+ # tags: {
538
+ # "__string" => "__string",
539
+ # },
540
+ # })
541
+ #
542
+ # @example Response structure
543
+ #
544
+ # resp.access_configuration.access_type #=> String, one of "S3_SIGV4"
545
+ # resp.arn #=> String
546
+ # resp.creation_time #=> Time
547
+ # resp.default_segment_delivery_configuration.base_url #=> String
548
+ # resp.http_configuration.base_url #=> String
549
+ # resp.last_modified_time #=> Time
550
+ # resp.source_location_name #=> String
551
+ # resp.tags #=> Hash
552
+ # resp.tags["__string"] #=> String
553
+ #
554
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateSourceLocation AWS API Documentation
555
+ #
556
+ # @overload create_source_location(params = {})
557
+ # @param [Hash] params ({})
558
+ def create_source_location(params = {}, options = {})
559
+ req = build_request(:create_source_location, params)
560
+ req.send_request(options)
561
+ end
562
+
563
+ # Creates name for a specific VOD source in a source location.
564
+ #
565
+ # @option params [required, Array<Types::HttpPackageConfiguration>] :http_package_configurations
566
+ # An array of HTTP package configuration parameters for this VOD source.
567
+ #
568
+ # @option params [required, String] :source_location_name
569
+ #
570
+ # @option params [Hash<String,String>] :tags
571
+ # The tags to assign to the VOD source.
572
+ #
573
+ # @option params [required, String] :vod_source_name
574
+ #
575
+ # @return [Types::CreateVodSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
576
+ #
577
+ # * {Types::CreateVodSourceResponse#arn #arn} => String
578
+ # * {Types::CreateVodSourceResponse#creation_time #creation_time} => Time
579
+ # * {Types::CreateVodSourceResponse#http_package_configurations #http_package_configurations} => Array&lt;Types::HttpPackageConfiguration&gt;
580
+ # * {Types::CreateVodSourceResponse#last_modified_time #last_modified_time} => Time
581
+ # * {Types::CreateVodSourceResponse#source_location_name #source_location_name} => String
582
+ # * {Types::CreateVodSourceResponse#tags #tags} => Hash&lt;String,String&gt;
583
+ # * {Types::CreateVodSourceResponse#vod_source_name #vod_source_name} => String
584
+ #
585
+ # @example Request syntax with placeholder values
586
+ #
587
+ # resp = client.create_vod_source({
588
+ # http_package_configurations: [ # required
589
+ # {
590
+ # path: "__string", # required
591
+ # source_group: "__string", # required
592
+ # type: "DASH", # required, accepts DASH, HLS
593
+ # },
594
+ # ],
595
+ # source_location_name: "__string", # required
596
+ # tags: {
597
+ # "__string" => "__string",
598
+ # },
599
+ # vod_source_name: "__string", # required
600
+ # })
601
+ #
602
+ # @example Response structure
603
+ #
604
+ # resp.arn #=> String
605
+ # resp.creation_time #=> Time
606
+ # resp.http_package_configurations #=> Array
607
+ # resp.http_package_configurations[0].path #=> String
608
+ # resp.http_package_configurations[0].source_group #=> String
609
+ # resp.http_package_configurations[0].type #=> String, one of "DASH", "HLS"
610
+ # resp.last_modified_time #=> Time
611
+ # resp.source_location_name #=> String
612
+ # resp.tags #=> Hash
613
+ # resp.tags["__string"] #=> String
614
+ # resp.vod_source_name #=> String
615
+ #
616
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateVodSource AWS API Documentation
617
+ #
618
+ # @overload create_vod_source(params = {})
619
+ # @param [Hash] params ({})
620
+ def create_vod_source(params = {}, options = {})
621
+ req = build_request(:create_vod_source, params)
622
+ req.send_request(options)
623
+ end
624
+
625
+ # Deletes a channel. You must stop the channel before it can be deleted.
626
+ #
627
+ # @option params [required, String] :channel_name
628
+ #
629
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
630
+ #
631
+ # @example Request syntax with placeholder values
632
+ #
633
+ # resp = client.delete_channel({
634
+ # channel_name: "__string", # required
635
+ # })
636
+ #
637
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannel AWS API Documentation
638
+ #
639
+ # @overload delete_channel(params = {})
640
+ # @param [Hash] params ({})
641
+ def delete_channel(params = {}, options = {})
642
+ req = build_request(:delete_channel, params)
643
+ req.send_request(options)
644
+ end
645
+
646
+ # Deletes a channel's IAM policy.
647
+ #
648
+ # @option params [required, String] :channel_name
649
+ #
650
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
651
+ #
652
+ # @example Request syntax with placeholder values
653
+ #
654
+ # resp = client.delete_channel_policy({
655
+ # channel_name: "__string", # required
656
+ # })
657
+ #
658
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannelPolicy AWS API Documentation
659
+ #
660
+ # @overload delete_channel_policy(params = {})
661
+ # @param [Hash] params ({})
662
+ def delete_channel_policy(params = {}, options = {})
663
+ req = build_request(:delete_channel_policy, params)
664
+ req.send_request(options)
665
+ end
666
+
330
667
  # Deletes the playback configuration for the specified name.
331
668
  #
332
669
  # @option params [required, String] :name
@@ -335,16 +672,348 @@ module Aws::MediaTailor
335
672
  #
336
673
  # @example Request syntax with placeholder values
337
674
  #
338
- # resp = client.delete_playback_configuration({
339
- # name: "__string", # required
675
+ # resp = client.delete_playback_configuration({
676
+ # name: "__string", # required
677
+ # })
678
+ #
679
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfiguration AWS API Documentation
680
+ #
681
+ # @overload delete_playback_configuration(params = {})
682
+ # @param [Hash] params ({})
683
+ def delete_playback_configuration(params = {}, options = {})
684
+ req = build_request(:delete_playback_configuration, params)
685
+ req.send_request(options)
686
+ end
687
+
688
+ # Deletes a specific program on a specific channel.
689
+ #
690
+ # @option params [required, String] :channel_name
691
+ #
692
+ # @option params [required, String] :program_name
693
+ #
694
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
695
+ #
696
+ # @example Request syntax with placeholder values
697
+ #
698
+ # resp = client.delete_program({
699
+ # channel_name: "__string", # required
700
+ # program_name: "__string", # required
701
+ # })
702
+ #
703
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteProgram AWS API Documentation
704
+ #
705
+ # @overload delete_program(params = {})
706
+ # @param [Hash] params ({})
707
+ def delete_program(params = {}, options = {})
708
+ req = build_request(:delete_program, params)
709
+ req.send_request(options)
710
+ end
711
+
712
+ # Deletes a source location on a specific channel.
713
+ #
714
+ # @option params [required, String] :source_location_name
715
+ #
716
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
717
+ #
718
+ # @example Request syntax with placeholder values
719
+ #
720
+ # resp = client.delete_source_location({
721
+ # source_location_name: "__string", # required
722
+ # })
723
+ #
724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteSourceLocation AWS API Documentation
725
+ #
726
+ # @overload delete_source_location(params = {})
727
+ # @param [Hash] params ({})
728
+ def delete_source_location(params = {}, options = {})
729
+ req = build_request(:delete_source_location, params)
730
+ req.send_request(options)
731
+ end
732
+
733
+ # Deletes a specific VOD source in a specific source location.
734
+ #
735
+ # @option params [required, String] :source_location_name
736
+ #
737
+ # @option params [required, String] :vod_source_name
738
+ #
739
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
740
+ #
741
+ # @example Request syntax with placeholder values
742
+ #
743
+ # resp = client.delete_vod_source({
744
+ # source_location_name: "__string", # required
745
+ # vod_source_name: "__string", # required
746
+ # })
747
+ #
748
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteVodSource AWS API Documentation
749
+ #
750
+ # @overload delete_vod_source(params = {})
751
+ # @param [Hash] params ({})
752
+ def delete_vod_source(params = {}, options = {})
753
+ req = build_request(:delete_vod_source, params)
754
+ req.send_request(options)
755
+ end
756
+
757
+ # Describes the properties of a specific channel.
758
+ #
759
+ # @option params [required, String] :channel_name
760
+ #
761
+ # @return [Types::DescribeChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
762
+ #
763
+ # * {Types::DescribeChannelResponse#arn #arn} => String
764
+ # * {Types::DescribeChannelResponse#channel_name #channel_name} => String
765
+ # * {Types::DescribeChannelResponse#channel_state #channel_state} => String
766
+ # * {Types::DescribeChannelResponse#creation_time #creation_time} => Time
767
+ # * {Types::DescribeChannelResponse#last_modified_time #last_modified_time} => Time
768
+ # * {Types::DescribeChannelResponse#outputs #outputs} => Array&lt;Types::ResponseOutputItem&gt;
769
+ # * {Types::DescribeChannelResponse#playback_mode #playback_mode} => String
770
+ # * {Types::DescribeChannelResponse#tags #tags} => Hash&lt;String,String&gt;
771
+ #
772
+ # @example Request syntax with placeholder values
773
+ #
774
+ # resp = client.describe_channel({
775
+ # channel_name: "__string", # required
776
+ # })
777
+ #
778
+ # @example Response structure
779
+ #
780
+ # resp.arn #=> String
781
+ # resp.channel_name #=> String
782
+ # resp.channel_state #=> String, one of "RUNNING", "STOPPED"
783
+ # resp.creation_time #=> Time
784
+ # resp.last_modified_time #=> Time
785
+ # resp.outputs #=> Array
786
+ # resp.outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
787
+ # resp.outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
788
+ # resp.outputs[0].dash_playlist_settings.min_update_period_seconds #=> Integer
789
+ # resp.outputs[0].dash_playlist_settings.suggested_presentation_delay_seconds #=> Integer
790
+ # resp.outputs[0].hls_playlist_settings.manifest_window_seconds #=> Integer
791
+ # resp.outputs[0].manifest_name #=> String
792
+ # resp.outputs[0].playback_url #=> String
793
+ # resp.outputs[0].source_group #=> String
794
+ # resp.playback_mode #=> String
795
+ # resp.tags #=> Hash
796
+ # resp.tags["__string"] #=> String
797
+ #
798
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeChannel AWS API Documentation
799
+ #
800
+ # @overload describe_channel(params = {})
801
+ # @param [Hash] params ({})
802
+ def describe_channel(params = {}, options = {})
803
+ req = build_request(:describe_channel, params)
804
+ req.send_request(options)
805
+ end
806
+
807
+ # Retrieves the properties of the requested program.
808
+ #
809
+ # @option params [required, String] :channel_name
810
+ #
811
+ # @option params [required, String] :program_name
812
+ #
813
+ # @return [Types::DescribeProgramResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
814
+ #
815
+ # * {Types::DescribeProgramResponse#ad_breaks #ad_breaks} => Array&lt;Types::AdBreak&gt;
816
+ # * {Types::DescribeProgramResponse#arn #arn} => String
817
+ # * {Types::DescribeProgramResponse#channel_name #channel_name} => String
818
+ # * {Types::DescribeProgramResponse#creation_time #creation_time} => Time
819
+ # * {Types::DescribeProgramResponse#program_name #program_name} => String
820
+ # * {Types::DescribeProgramResponse#source_location_name #source_location_name} => String
821
+ # * {Types::DescribeProgramResponse#vod_source_name #vod_source_name} => String
822
+ #
823
+ # @example Request syntax with placeholder values
824
+ #
825
+ # resp = client.describe_program({
826
+ # channel_name: "__string", # required
827
+ # program_name: "__string", # required
828
+ # })
829
+ #
830
+ # @example Response structure
831
+ #
832
+ # resp.ad_breaks #=> Array
833
+ # resp.ad_breaks[0].message_type #=> String, one of "SPLICE_INSERT"
834
+ # resp.ad_breaks[0].offset_millis #=> Integer
835
+ # resp.ad_breaks[0].slate.source_location_name #=> String
836
+ # resp.ad_breaks[0].slate.vod_source_name #=> String
837
+ # resp.ad_breaks[0].splice_insert_message.avail_num #=> Integer
838
+ # resp.ad_breaks[0].splice_insert_message.avails_expected #=> Integer
839
+ # resp.ad_breaks[0].splice_insert_message.splice_event_id #=> Integer
840
+ # resp.ad_breaks[0].splice_insert_message.unique_program_id #=> Integer
841
+ # resp.arn #=> String
842
+ # resp.channel_name #=> String
843
+ # resp.creation_time #=> Time
844
+ # resp.program_name #=> String
845
+ # resp.source_location_name #=> String
846
+ # resp.vod_source_name #=> String
847
+ #
848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeProgram AWS API Documentation
849
+ #
850
+ # @overload describe_program(params = {})
851
+ # @param [Hash] params ({})
852
+ def describe_program(params = {}, options = {})
853
+ req = build_request(:describe_program, params)
854
+ req.send_request(options)
855
+ end
856
+
857
+ # Retrieves the properties of the requested source location.
858
+ #
859
+ # @option params [required, String] :source_location_name
860
+ #
861
+ # @return [Types::DescribeSourceLocationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
862
+ #
863
+ # * {Types::DescribeSourceLocationResponse#access_configuration #access_configuration} => Types::AccessConfiguration
864
+ # * {Types::DescribeSourceLocationResponse#arn #arn} => String
865
+ # * {Types::DescribeSourceLocationResponse#creation_time #creation_time} => Time
866
+ # * {Types::DescribeSourceLocationResponse#default_segment_delivery_configuration #default_segment_delivery_configuration} => Types::DefaultSegmentDeliveryConfiguration
867
+ # * {Types::DescribeSourceLocationResponse#http_configuration #http_configuration} => Types::HttpConfiguration
868
+ # * {Types::DescribeSourceLocationResponse#last_modified_time #last_modified_time} => Time
869
+ # * {Types::DescribeSourceLocationResponse#source_location_name #source_location_name} => String
870
+ # * {Types::DescribeSourceLocationResponse#tags #tags} => Hash&lt;String,String&gt;
871
+ #
872
+ # @example Request syntax with placeholder values
873
+ #
874
+ # resp = client.describe_source_location({
875
+ # source_location_name: "__string", # required
876
+ # })
877
+ #
878
+ # @example Response structure
879
+ #
880
+ # resp.access_configuration.access_type #=> String, one of "S3_SIGV4"
881
+ # resp.arn #=> String
882
+ # resp.creation_time #=> Time
883
+ # resp.default_segment_delivery_configuration.base_url #=> String
884
+ # resp.http_configuration.base_url #=> String
885
+ # resp.last_modified_time #=> Time
886
+ # resp.source_location_name #=> String
887
+ # resp.tags #=> Hash
888
+ # resp.tags["__string"] #=> String
889
+ #
890
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeSourceLocation AWS API Documentation
891
+ #
892
+ # @overload describe_source_location(params = {})
893
+ # @param [Hash] params ({})
894
+ def describe_source_location(params = {}, options = {})
895
+ req = build_request(:describe_source_location, params)
896
+ req.send_request(options)
897
+ end
898
+
899
+ # Provides details about a specific VOD source in a specific source
900
+ # location.
901
+ #
902
+ # @option params [required, String] :source_location_name
903
+ #
904
+ # @option params [required, String] :vod_source_name
905
+ #
906
+ # @return [Types::DescribeVodSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
907
+ #
908
+ # * {Types::DescribeVodSourceResponse#arn #arn} => String
909
+ # * {Types::DescribeVodSourceResponse#creation_time #creation_time} => Time
910
+ # * {Types::DescribeVodSourceResponse#http_package_configurations #http_package_configurations} => Array&lt;Types::HttpPackageConfiguration&gt;
911
+ # * {Types::DescribeVodSourceResponse#last_modified_time #last_modified_time} => Time
912
+ # * {Types::DescribeVodSourceResponse#source_location_name #source_location_name} => String
913
+ # * {Types::DescribeVodSourceResponse#tags #tags} => Hash&lt;String,String&gt;
914
+ # * {Types::DescribeVodSourceResponse#vod_source_name #vod_source_name} => String
915
+ #
916
+ # @example Request syntax with placeholder values
917
+ #
918
+ # resp = client.describe_vod_source({
919
+ # source_location_name: "__string", # required
920
+ # vod_source_name: "__string", # required
921
+ # })
922
+ #
923
+ # @example Response structure
924
+ #
925
+ # resp.arn #=> String
926
+ # resp.creation_time #=> Time
927
+ # resp.http_package_configurations #=> Array
928
+ # resp.http_package_configurations[0].path #=> String
929
+ # resp.http_package_configurations[0].source_group #=> String
930
+ # resp.http_package_configurations[0].type #=> String, one of "DASH", "HLS"
931
+ # resp.last_modified_time #=> Time
932
+ # resp.source_location_name #=> String
933
+ # resp.tags #=> Hash
934
+ # resp.tags["__string"] #=> String
935
+ # resp.vod_source_name #=> String
936
+ #
937
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeVodSource AWS API Documentation
938
+ #
939
+ # @overload describe_vod_source(params = {})
940
+ # @param [Hash] params ({})
941
+ def describe_vod_source(params = {}, options = {})
942
+ req = build_request(:describe_vod_source, params)
943
+ req.send_request(options)
944
+ end
945
+
946
+ # Retrieves information about a channel's IAM policy.
947
+ #
948
+ # @option params [required, String] :channel_name
949
+ #
950
+ # @return [Types::GetChannelPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
951
+ #
952
+ # * {Types::GetChannelPolicyResponse#policy #policy} => String
953
+ #
954
+ # @example Request syntax with placeholder values
955
+ #
956
+ # resp = client.get_channel_policy({
957
+ # channel_name: "__string", # required
958
+ # })
959
+ #
960
+ # @example Response structure
961
+ #
962
+ # resp.policy #=> String
963
+ #
964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelPolicy AWS API Documentation
965
+ #
966
+ # @overload get_channel_policy(params = {})
967
+ # @param [Hash] params ({})
968
+ def get_channel_policy(params = {}, options = {})
969
+ req = build_request(:get_channel_policy, params)
970
+ req.send_request(options)
971
+ end
972
+
973
+ # Retrieves information about your channel's schedule.
974
+ #
975
+ # @option params [required, String] :channel_name
976
+ #
977
+ # @option params [String] :duration_minutes
978
+ #
979
+ # @option params [Integer] :max_results
980
+ #
981
+ # @option params [String] :next_token
982
+ #
983
+ # @return [Types::GetChannelScheduleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
984
+ #
985
+ # * {Types::GetChannelScheduleResponse#items #items} => Array&lt;Types::ScheduleEntry&gt;
986
+ # * {Types::GetChannelScheduleResponse#next_token #next_token} => String
987
+ #
988
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
989
+ #
990
+ # @example Request syntax with placeholder values
991
+ #
992
+ # resp = client.get_channel_schedule({
993
+ # channel_name: "__string", # required
994
+ # duration_minutes: "__string",
995
+ # max_results: 1,
996
+ # next_token: "__string",
340
997
  # })
341
998
  #
342
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfiguration AWS API Documentation
999
+ # @example Response structure
343
1000
  #
344
- # @overload delete_playback_configuration(params = {})
1001
+ # resp.items #=> Array
1002
+ # resp.items[0].approximate_duration_seconds #=> Integer
1003
+ # resp.items[0].approximate_start_time #=> Time
1004
+ # resp.items[0].arn #=> String
1005
+ # resp.items[0].channel_name #=> String
1006
+ # resp.items[0].program_name #=> String
1007
+ # resp.items[0].source_location_name #=> String
1008
+ # resp.items[0].vod_source_name #=> String
1009
+ # resp.next_token #=> String
1010
+ #
1011
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelSchedule AWS API Documentation
1012
+ #
1013
+ # @overload get_channel_schedule(params = {})
345
1014
  # @param [Hash] params ({})
346
- def delete_playback_configuration(params = {}, options = {})
347
- req = build_request(:delete_playback_configuration, params)
1015
+ def get_channel_schedule(params = {}, options = {})
1016
+ req = build_request(:get_channel_schedule, params)
348
1017
  req.send_request(options)
349
1018
  end
350
1019
 
@@ -358,13 +1027,13 @@ module Aws::MediaTailor
358
1027
  # * {Types::GetPlaybackConfigurationResponse#avail_suppression #avail_suppression} => Types::AvailSuppression
359
1028
  # * {Types::GetPlaybackConfigurationResponse#bumper #bumper} => Types::Bumper
360
1029
  # * {Types::GetPlaybackConfigurationResponse#cdn_configuration #cdn_configuration} => Types::CdnConfiguration
361
- # * {Types::GetPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
362
1030
  # * {Types::GetPlaybackConfigurationResponse#configuration_aliases #configuration_aliases} => Hash&lt;String,Hash&lt;String,String&gt;&gt;
363
1031
  # * {Types::GetPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
364
1032
  # * {Types::GetPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
365
1033
  # * {Types::GetPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
366
1034
  # * {Types::GetPlaybackConfigurationResponse#manifest_processing_rules #manifest_processing_rules} => Types::ManifestProcessingRules
367
1035
  # * {Types::GetPlaybackConfigurationResponse#name #name} => String
1036
+ # * {Types::GetPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
368
1037
  # * {Types::GetPlaybackConfigurationResponse#playback_configuration_arn #playback_configuration_arn} => String
369
1038
  # * {Types::GetPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
370
1039
  # * {Types::GetPlaybackConfigurationResponse#session_initialization_endpoint_prefix #session_initialization_endpoint_prefix} => String
@@ -388,7 +1057,6 @@ module Aws::MediaTailor
388
1057
  # resp.bumper.start_url #=> String
389
1058
  # resp.cdn_configuration.ad_segment_url_prefix #=> String
390
1059
  # resp.cdn_configuration.content_segment_url_prefix #=> String
391
- # resp.personalization_threshold_seconds #=> Integer
392
1060
  # resp.configuration_aliases #=> Hash
393
1061
  # resp.configuration_aliases["__string"] #=> Hash
394
1062
  # resp.configuration_aliases["__string"]["__string"] #=> String
@@ -400,6 +1068,7 @@ module Aws::MediaTailor
400
1068
  # resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
401
1069
  # resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
402
1070
  # resp.name #=> String
1071
+ # resp.personalization_threshold_seconds #=> Integer
403
1072
  # resp.playback_configuration_arn #=> String
404
1073
  # resp.playback_endpoint_prefix #=> String
405
1074
  # resp.session_initialization_endpoint_prefix #=> String
@@ -418,6 +1087,57 @@ module Aws::MediaTailor
418
1087
  req.send_request(options)
419
1088
  end
420
1089
 
1090
+ # Retrieves a list of channels that are associated with this account.
1091
+ #
1092
+ # @option params [Integer] :max_results
1093
+ #
1094
+ # @option params [String] :next_token
1095
+ #
1096
+ # @return [Types::ListChannelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1097
+ #
1098
+ # * {Types::ListChannelsResponse#items #items} => Array&lt;Types::Channel&gt;
1099
+ # * {Types::ListChannelsResponse#next_token #next_token} => String
1100
+ #
1101
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1102
+ #
1103
+ # @example Request syntax with placeholder values
1104
+ #
1105
+ # resp = client.list_channels({
1106
+ # max_results: 1,
1107
+ # next_token: "__string",
1108
+ # })
1109
+ #
1110
+ # @example Response structure
1111
+ #
1112
+ # resp.items #=> Array
1113
+ # resp.items[0].arn #=> String
1114
+ # resp.items[0].channel_name #=> String
1115
+ # resp.items[0].channel_state #=> String
1116
+ # resp.items[0].creation_time #=> Time
1117
+ # resp.items[0].last_modified_time #=> Time
1118
+ # resp.items[0].outputs #=> Array
1119
+ # resp.items[0].outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
1120
+ # resp.items[0].outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
1121
+ # resp.items[0].outputs[0].dash_playlist_settings.min_update_period_seconds #=> Integer
1122
+ # resp.items[0].outputs[0].dash_playlist_settings.suggested_presentation_delay_seconds #=> Integer
1123
+ # resp.items[0].outputs[0].hls_playlist_settings.manifest_window_seconds #=> Integer
1124
+ # resp.items[0].outputs[0].manifest_name #=> String
1125
+ # resp.items[0].outputs[0].playback_url #=> String
1126
+ # resp.items[0].outputs[0].source_group #=> String
1127
+ # resp.items[0].playback_mode #=> String
1128
+ # resp.items[0].tags #=> Hash
1129
+ # resp.items[0].tags["__string"] #=> String
1130
+ # resp.next_token #=> String
1131
+ #
1132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListChannels AWS API Documentation
1133
+ #
1134
+ # @overload list_channels(params = {})
1135
+ # @param [Hash] params ({})
1136
+ def list_channels(params = {}, options = {})
1137
+ req = build_request(:list_channels, params)
1138
+ req.send_request(options)
1139
+ end
1140
+
421
1141
  # Returns a list of the playback configurations defined in AWS Elemental
422
1142
  # MediaTailor. You can specify a maximum number of configurations to
423
1143
  # return at a time. The default maximum is 50. Results are returned in
@@ -447,9 +1167,12 @@ module Aws::MediaTailor
447
1167
  #
448
1168
  # resp.items #=> Array
449
1169
  # resp.items[0].ad_decision_server_url #=> String
1170
+ # resp.items[0].avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE"
1171
+ # resp.items[0].avail_suppression.value #=> String
1172
+ # resp.items[0].bumper.end_url #=> String
1173
+ # resp.items[0].bumper.start_url #=> String
450
1174
  # resp.items[0].cdn_configuration.ad_segment_url_prefix #=> String
451
1175
  # resp.items[0].cdn_configuration.content_segment_url_prefix #=> String
452
- # resp.items[0].personalization_threshold_seconds #=> Integer
453
1176
  # resp.items[0].configuration_aliases #=> Hash
454
1177
  # resp.items[0].configuration_aliases["__string"] #=> Hash
455
1178
  # resp.items[0].configuration_aliases["__string"]["__string"] #=> String
@@ -457,7 +1180,11 @@ module Aws::MediaTailor
457
1180
  # resp.items[0].dash_configuration.mpd_location #=> String
458
1181
  # resp.items[0].dash_configuration.origin_manifest_type #=> String, one of "SINGLE_PERIOD", "MULTI_PERIOD"
459
1182
  # resp.items[0].hls_configuration.manifest_endpoint_prefix #=> String
1183
+ # resp.items[0].live_pre_roll_configuration.ad_decision_server_url #=> String
1184
+ # resp.items[0].live_pre_roll_configuration.max_duration_seconds #=> Integer
1185
+ # resp.items[0].manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
460
1186
  # resp.items[0].name #=> String
1187
+ # resp.items[0].personalization_threshold_seconds #=> Integer
461
1188
  # resp.items[0].playback_configuration_arn #=> String
462
1189
  # resp.items[0].playback_endpoint_prefix #=> String
463
1190
  # resp.items[0].session_initialization_endpoint_prefix #=> String
@@ -477,6 +1204,102 @@ module Aws::MediaTailor
477
1204
  req.send_request(options)
478
1205
  end
479
1206
 
1207
+ # Retrieves a list of programs on a specific channel.
1208
+ #
1209
+ # @option params [required, String] :channel_name
1210
+ #
1211
+ # @option params [Integer] :max_results
1212
+ #
1213
+ # @option params [String] :next_token
1214
+ #
1215
+ # @return [Types::ListProgramsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1216
+ #
1217
+ # * {Types::ListProgramsResponse#items #items} => Array&lt;Types::Program&gt;
1218
+ # * {Types::ListProgramsResponse#next_token #next_token} => String
1219
+ #
1220
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1221
+ #
1222
+ # @example Request syntax with placeholder values
1223
+ #
1224
+ # resp = client.list_programs({
1225
+ # channel_name: "__string", # required
1226
+ # max_results: 1,
1227
+ # next_token: "__string",
1228
+ # })
1229
+ #
1230
+ # @example Response structure
1231
+ #
1232
+ # resp.items #=> Array
1233
+ # resp.items[0].ad_breaks #=> Array
1234
+ # resp.items[0].ad_breaks[0].message_type #=> String, one of "SPLICE_INSERT"
1235
+ # resp.items[0].ad_breaks[0].offset_millis #=> Integer
1236
+ # resp.items[0].ad_breaks[0].slate.source_location_name #=> String
1237
+ # resp.items[0].ad_breaks[0].slate.vod_source_name #=> String
1238
+ # resp.items[0].ad_breaks[0].splice_insert_message.avail_num #=> Integer
1239
+ # resp.items[0].ad_breaks[0].splice_insert_message.avails_expected #=> Integer
1240
+ # resp.items[0].ad_breaks[0].splice_insert_message.splice_event_id #=> Integer
1241
+ # resp.items[0].ad_breaks[0].splice_insert_message.unique_program_id #=> Integer
1242
+ # resp.items[0].arn #=> String
1243
+ # resp.items[0].channel_name #=> String
1244
+ # resp.items[0].creation_time #=> Time
1245
+ # resp.items[0].last_modified_time #=> Time
1246
+ # resp.items[0].program_name #=> String
1247
+ # resp.items[0].source_location_name #=> String
1248
+ # resp.items[0].vod_source_name #=> String
1249
+ # resp.next_token #=> String
1250
+ #
1251
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListPrograms AWS API Documentation
1252
+ #
1253
+ # @overload list_programs(params = {})
1254
+ # @param [Hash] params ({})
1255
+ def list_programs(params = {}, options = {})
1256
+ req = build_request(:list_programs, params)
1257
+ req.send_request(options)
1258
+ end
1259
+
1260
+ # Retrieves a list of source locations.
1261
+ #
1262
+ # @option params [Integer] :max_results
1263
+ #
1264
+ # @option params [String] :next_token
1265
+ #
1266
+ # @return [Types::ListSourceLocationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1267
+ #
1268
+ # * {Types::ListSourceLocationsResponse#items #items} => Array&lt;Types::SourceLocation&gt;
1269
+ # * {Types::ListSourceLocationsResponse#next_token #next_token} => String
1270
+ #
1271
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1272
+ #
1273
+ # @example Request syntax with placeholder values
1274
+ #
1275
+ # resp = client.list_source_locations({
1276
+ # max_results: 1,
1277
+ # next_token: "__string",
1278
+ # })
1279
+ #
1280
+ # @example Response structure
1281
+ #
1282
+ # resp.items #=> Array
1283
+ # resp.items[0].access_configuration.access_type #=> String, one of "S3_SIGV4"
1284
+ # resp.items[0].arn #=> String
1285
+ # resp.items[0].creation_time #=> Time
1286
+ # resp.items[0].default_segment_delivery_configuration.base_url #=> String
1287
+ # resp.items[0].http_configuration.base_url #=> String
1288
+ # resp.items[0].last_modified_time #=> Time
1289
+ # resp.items[0].source_location_name #=> String
1290
+ # resp.items[0].tags #=> Hash
1291
+ # resp.items[0].tags["__string"] #=> String
1292
+ # resp.next_token #=> String
1293
+ #
1294
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListSourceLocations AWS API Documentation
1295
+ #
1296
+ # @overload list_source_locations(params = {})
1297
+ # @param [Hash] params ({})
1298
+ def list_source_locations(params = {}, options = {})
1299
+ req = build_request(:list_source_locations, params)
1300
+ req.send_request(options)
1301
+ end
1302
+
480
1303
  # Returns a list of the tags assigned to the specified playback
481
1304
  # configuration resource.
482
1305
  #
@@ -506,6 +1329,79 @@ module Aws::MediaTailor
506
1329
  req.send_request(options)
507
1330
  end
508
1331
 
1332
+ # Lists all the VOD sources in a source location.
1333
+ #
1334
+ # @option params [Integer] :max_results
1335
+ #
1336
+ # @option params [String] :next_token
1337
+ #
1338
+ # @option params [required, String] :source_location_name
1339
+ #
1340
+ # @return [Types::ListVodSourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1341
+ #
1342
+ # * {Types::ListVodSourcesResponse#items #items} => Array&lt;Types::VodSource&gt;
1343
+ # * {Types::ListVodSourcesResponse#next_token #next_token} => String
1344
+ #
1345
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1346
+ #
1347
+ # @example Request syntax with placeholder values
1348
+ #
1349
+ # resp = client.list_vod_sources({
1350
+ # max_results: 1,
1351
+ # next_token: "__string",
1352
+ # source_location_name: "__string", # required
1353
+ # })
1354
+ #
1355
+ # @example Response structure
1356
+ #
1357
+ # resp.items #=> Array
1358
+ # resp.items[0].arn #=> String
1359
+ # resp.items[0].creation_time #=> Time
1360
+ # resp.items[0].http_package_configurations #=> Array
1361
+ # resp.items[0].http_package_configurations[0].path #=> String
1362
+ # resp.items[0].http_package_configurations[0].source_group #=> String
1363
+ # resp.items[0].http_package_configurations[0].type #=> String, one of "DASH", "HLS"
1364
+ # resp.items[0].last_modified_time #=> Time
1365
+ # resp.items[0].source_location_name #=> String
1366
+ # resp.items[0].tags #=> Hash
1367
+ # resp.items[0].tags["__string"] #=> String
1368
+ # resp.items[0].vod_source_name #=> String
1369
+ # resp.next_token #=> String
1370
+ #
1371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListVodSources AWS API Documentation
1372
+ #
1373
+ # @overload list_vod_sources(params = {})
1374
+ # @param [Hash] params ({})
1375
+ def list_vod_sources(params = {}, options = {})
1376
+ req = build_request(:list_vod_sources, params)
1377
+ req.send_request(options)
1378
+ end
1379
+
1380
+ # Creates an IAM policy for the channel.
1381
+ #
1382
+ # @option params [required, String] :channel_name
1383
+ #
1384
+ # @option params [required, String] :policy
1385
+ # Adds an IAM role that determines the permissions of your channel.
1386
+ #
1387
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1388
+ #
1389
+ # @example Request syntax with placeholder values
1390
+ #
1391
+ # resp = client.put_channel_policy({
1392
+ # channel_name: "__string", # required
1393
+ # policy: "__string", # required
1394
+ # })
1395
+ #
1396
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutChannelPolicy AWS API Documentation
1397
+ #
1398
+ # @overload put_channel_policy(params = {})
1399
+ # @param [Hash] params ({})
1400
+ def put_channel_policy(params = {}, options = {})
1401
+ req = build_request(:put_channel_policy, params)
1402
+ req.send_request(options)
1403
+ end
1404
+
509
1405
  # Adds a new playback configuration to AWS Elemental MediaTailor.
510
1406
  #
511
1407
  # @option params [String] :ad_decision_server_url
@@ -517,22 +1413,34 @@ module Aws::MediaTailor
517
1413
  # maximum length is 25,000 characters.
518
1414
  #
519
1415
  # @option params [Types::AvailSuppression] :avail_suppression
520
- # The configuration for Avail Suppression.
1416
+ # The configuration for avail suppression, also known as ad suppression.
1417
+ # For more information about ad suppression, see [Ad Suppression][1].
1418
+ #
1419
+ #
1420
+ #
1421
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
521
1422
  #
522
1423
  # @option params [Types::Bumper] :bumper
523
1424
  # The configuration for bumpers. Bumpers are short audio or video clips
524
- # that play at the start or before the end of an ad break.
1425
+ # that play at the start or before the end of an ad break. To learn more
1426
+ # about bumpers, see [Bumpers][1].
1427
+ #
1428
+ #
1429
+ #
1430
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html
525
1431
  #
526
1432
  # @option params [Types::CdnConfiguration] :cdn_configuration
527
1433
  # The configuration for using a content delivery network (CDN), like
528
1434
  # Amazon CloudFront, for content and ad segment management.
529
1435
  #
530
- # @option params [Integer] :personalization_threshold_seconds
531
- # The maximum duration of underfilled ad time (in seconds) allowed in an
532
- # ad break.
533
- #
534
1436
  # @option params [Hash<String,Hash>] :configuration_aliases
535
- # Predefined aliases for dynamic variables.
1437
+ # The player parameters and aliases used as dynamic variables during
1438
+ # session initialization. For more information, see [Domain
1439
+ # Variables][1].
1440
+ #
1441
+ #
1442
+ #
1443
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domain.html
536
1444
  #
537
1445
  # @option params [Types::DashConfigurationForPut] :dash_configuration
538
1446
  # The configuration for DASH content.
@@ -548,6 +1456,20 @@ module Aws::MediaTailor
548
1456
  # @option params [String] :name
549
1457
  # The identifier for the playback configuration.
550
1458
  #
1459
+ # @option params [Integer] :personalization_threshold_seconds
1460
+ # Defines the maximum duration of underfilled ad time (in seconds)
1461
+ # allowed in an ad break. If the duration of underfilled ad time exceeds
1462
+ # the personalization threshold, then the personalization of the ad
1463
+ # break is abandoned and the underlying content is shown. This feature
1464
+ # applies to *ad replacement* in live and VOD streams, rather than ad
1465
+ # insertion, because it relies on an underlying content stream. For more
1466
+ # information about ad break behavior, including ad replacement and
1467
+ # insertion, see [Ad Behavior in AWS Elemental MediaTailor][1].
1468
+ #
1469
+ #
1470
+ #
1471
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
1472
+ #
551
1473
  # @option params [String] :slate_ad_url
552
1474
  # The URL for a high-quality video asset to transcode and use to fill in
553
1475
  # time that's not used by ads. AWS Elemental MediaTailor shows the
@@ -567,7 +1489,7 @@ module Aws::MediaTailor
567
1489
  # custom profiles with the help of AWS Support.
568
1490
  #
569
1491
  # @option params [String] :video_content_source_url
570
- # The URL prefix for the master playlist for the stream, minus the asset
1492
+ # The URL prefix for the parent manifest for the stream, minus the asset
571
1493
  # ID. The maximum length is 512 characters.
572
1494
  #
573
1495
  # @return [Types::PutPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -580,8 +1502,9 @@ module Aws::MediaTailor
580
1502
  # * {Types::PutPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
581
1503
  # * {Types::PutPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
582
1504
  # * {Types::PutPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
583
- # * {Types::PutPlaybackConfigurationResponse#name #name} => String
584
1505
  # * {Types::PutPlaybackConfigurationResponse#manifest_processing_rules #manifest_processing_rules} => Types::ManifestProcessingRules
1506
+ # * {Types::PutPlaybackConfigurationResponse#name #name} => String
1507
+ # * {Types::PutPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
585
1508
  # * {Types::PutPlaybackConfigurationResponse#playback_configuration_arn #playback_configuration_arn} => String
586
1509
  # * {Types::PutPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
587
1510
  # * {Types::PutPlaybackConfigurationResponse#session_initialization_endpoint_prefix #session_initialization_endpoint_prefix} => String
@@ -606,7 +1529,6 @@ module Aws::MediaTailor
606
1529
  # ad_segment_url_prefix: "__string",
607
1530
  # content_segment_url_prefix: "__string",
608
1531
  # },
609
- # personalization_threshold_seconds: 1,
610
1532
  # configuration_aliases: {
611
1533
  # "__string" => {
612
1534
  # "__string" => "__string",
@@ -626,6 +1548,7 @@ module Aws::MediaTailor
626
1548
  # },
627
1549
  # },
628
1550
  # name: "__string",
1551
+ # personalization_threshold_seconds: 1,
629
1552
  # slate_ad_url: "__string",
630
1553
  # tags: {
631
1554
  # "__string" => "__string",
@@ -652,8 +1575,9 @@ module Aws::MediaTailor
652
1575
  # resp.hls_configuration.manifest_endpoint_prefix #=> String
653
1576
  # resp.live_pre_roll_configuration.ad_decision_server_url #=> String
654
1577
  # resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
655
- # resp.name #=> String
656
1578
  # resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
1579
+ # resp.name #=> String
1580
+ # resp.personalization_threshold_seconds #=> Integer
657
1581
  # resp.playback_configuration_arn #=> String
658
1582
  # resp.playback_endpoint_prefix #=> String
659
1583
  # resp.session_initialization_endpoint_prefix #=> String
@@ -672,6 +1596,48 @@ module Aws::MediaTailor
672
1596
  req.send_request(options)
673
1597
  end
674
1598
 
1599
+ # Starts a specific channel.
1600
+ #
1601
+ # @option params [required, String] :channel_name
1602
+ #
1603
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1604
+ #
1605
+ # @example Request syntax with placeholder values
1606
+ #
1607
+ # resp = client.start_channel({
1608
+ # channel_name: "__string", # required
1609
+ # })
1610
+ #
1611
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StartChannel AWS API Documentation
1612
+ #
1613
+ # @overload start_channel(params = {})
1614
+ # @param [Hash] params ({})
1615
+ def start_channel(params = {}, options = {})
1616
+ req = build_request(:start_channel, params)
1617
+ req.send_request(options)
1618
+ end
1619
+
1620
+ # Stops a specific channel.
1621
+ #
1622
+ # @option params [required, String] :channel_name
1623
+ #
1624
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1625
+ #
1626
+ # @example Request syntax with placeholder values
1627
+ #
1628
+ # resp = client.stop_channel({
1629
+ # channel_name: "__string", # required
1630
+ # })
1631
+ #
1632
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StopChannel AWS API Documentation
1633
+ #
1634
+ # @overload stop_channel(params = {})
1635
+ # @param [Hash] params ({})
1636
+ def stop_channel(params = {}, options = {})
1637
+ req = build_request(:stop_channel, params)
1638
+ req.send_request(options)
1639
+ end
1640
+
675
1641
  # Adds tags to the specified playback configuration resource. You can
676
1642
  # specify one or more tags to add.
677
1643
  #
@@ -724,6 +1690,192 @@ module Aws::MediaTailor
724
1690
  req.send_request(options)
725
1691
  end
726
1692
 
1693
+ # Updates an existing channel.
1694
+ #
1695
+ # @option params [required, String] :channel_name
1696
+ #
1697
+ # @option params [required, Array<Types::RequestOutputItem>] :outputs
1698
+ # The channel's output properties.
1699
+ #
1700
+ # @return [Types::UpdateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1701
+ #
1702
+ # * {Types::UpdateChannelResponse#arn #arn} => String
1703
+ # * {Types::UpdateChannelResponse#channel_name #channel_name} => String
1704
+ # * {Types::UpdateChannelResponse#channel_state #channel_state} => String
1705
+ # * {Types::UpdateChannelResponse#creation_time #creation_time} => Time
1706
+ # * {Types::UpdateChannelResponse#last_modified_time #last_modified_time} => Time
1707
+ # * {Types::UpdateChannelResponse#outputs #outputs} => Array&lt;Types::ResponseOutputItem&gt;
1708
+ # * {Types::UpdateChannelResponse#playback_mode #playback_mode} => String
1709
+ # * {Types::UpdateChannelResponse#tags #tags} => Hash&lt;String,String&gt;
1710
+ #
1711
+ # @example Request syntax with placeholder values
1712
+ #
1713
+ # resp = client.update_channel({
1714
+ # channel_name: "__string", # required
1715
+ # outputs: [ # required
1716
+ # {
1717
+ # dash_playlist_settings: {
1718
+ # manifest_window_seconds: 1,
1719
+ # min_buffer_time_seconds: 1,
1720
+ # min_update_period_seconds: 1,
1721
+ # suggested_presentation_delay_seconds: 1,
1722
+ # },
1723
+ # hls_playlist_settings: {
1724
+ # manifest_window_seconds: 1,
1725
+ # },
1726
+ # manifest_name: "__string", # required
1727
+ # source_group: "__string", # required
1728
+ # },
1729
+ # ],
1730
+ # })
1731
+ #
1732
+ # @example Response structure
1733
+ #
1734
+ # resp.arn #=> String
1735
+ # resp.channel_name #=> String
1736
+ # resp.channel_state #=> String, one of "RUNNING", "STOPPED"
1737
+ # resp.creation_time #=> Time
1738
+ # resp.last_modified_time #=> Time
1739
+ # resp.outputs #=> Array
1740
+ # resp.outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
1741
+ # resp.outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
1742
+ # resp.outputs[0].dash_playlist_settings.min_update_period_seconds #=> Integer
1743
+ # resp.outputs[0].dash_playlist_settings.suggested_presentation_delay_seconds #=> Integer
1744
+ # resp.outputs[0].hls_playlist_settings.manifest_window_seconds #=> Integer
1745
+ # resp.outputs[0].manifest_name #=> String
1746
+ # resp.outputs[0].playback_url #=> String
1747
+ # resp.outputs[0].source_group #=> String
1748
+ # resp.playback_mode #=> String
1749
+ # resp.tags #=> Hash
1750
+ # resp.tags["__string"] #=> String
1751
+ #
1752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannel AWS API Documentation
1753
+ #
1754
+ # @overload update_channel(params = {})
1755
+ # @param [Hash] params ({})
1756
+ def update_channel(params = {}, options = {})
1757
+ req = build_request(:update_channel, params)
1758
+ req.send_request(options)
1759
+ end
1760
+
1761
+ # Updates a source location on a specific channel.
1762
+ #
1763
+ # @option params [Types::AccessConfiguration] :access_configuration
1764
+ # Access configuration parameters. Configures the type of authentication
1765
+ # used to access content from your source location.
1766
+ #
1767
+ # @option params [Types::DefaultSegmentDeliveryConfiguration] :default_segment_delivery_configuration
1768
+ # The optional configuration for the host server that serves segments.
1769
+ #
1770
+ # @option params [required, Types::HttpConfiguration] :http_configuration
1771
+ # The HTTP configuration for the source location.
1772
+ #
1773
+ # @option params [required, String] :source_location_name
1774
+ #
1775
+ # @return [Types::UpdateSourceLocationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1776
+ #
1777
+ # * {Types::UpdateSourceLocationResponse#access_configuration #access_configuration} => Types::AccessConfiguration
1778
+ # * {Types::UpdateSourceLocationResponse#arn #arn} => String
1779
+ # * {Types::UpdateSourceLocationResponse#creation_time #creation_time} => Time
1780
+ # * {Types::UpdateSourceLocationResponse#default_segment_delivery_configuration #default_segment_delivery_configuration} => Types::DefaultSegmentDeliveryConfiguration
1781
+ # * {Types::UpdateSourceLocationResponse#http_configuration #http_configuration} => Types::HttpConfiguration
1782
+ # * {Types::UpdateSourceLocationResponse#last_modified_time #last_modified_time} => Time
1783
+ # * {Types::UpdateSourceLocationResponse#source_location_name #source_location_name} => String
1784
+ # * {Types::UpdateSourceLocationResponse#tags #tags} => Hash&lt;String,String&gt;
1785
+ #
1786
+ # @example Request syntax with placeholder values
1787
+ #
1788
+ # resp = client.update_source_location({
1789
+ # access_configuration: {
1790
+ # access_type: "S3_SIGV4", # accepts S3_SIGV4
1791
+ # },
1792
+ # default_segment_delivery_configuration: {
1793
+ # base_url: "__string",
1794
+ # },
1795
+ # http_configuration: { # required
1796
+ # base_url: "__string", # required
1797
+ # },
1798
+ # source_location_name: "__string", # required
1799
+ # })
1800
+ #
1801
+ # @example Response structure
1802
+ #
1803
+ # resp.access_configuration.access_type #=> String, one of "S3_SIGV4"
1804
+ # resp.arn #=> String
1805
+ # resp.creation_time #=> Time
1806
+ # resp.default_segment_delivery_configuration.base_url #=> String
1807
+ # resp.http_configuration.base_url #=> String
1808
+ # resp.last_modified_time #=> Time
1809
+ # resp.source_location_name #=> String
1810
+ # resp.tags #=> Hash
1811
+ # resp.tags["__string"] #=> String
1812
+ #
1813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateSourceLocation AWS API Documentation
1814
+ #
1815
+ # @overload update_source_location(params = {})
1816
+ # @param [Hash] params ({})
1817
+ def update_source_location(params = {}, options = {})
1818
+ req = build_request(:update_source_location, params)
1819
+ req.send_request(options)
1820
+ end
1821
+
1822
+ # Updates a specific VOD source in a specific source location.
1823
+ #
1824
+ # @option params [required, Array<Types::HttpPackageConfiguration>] :http_package_configurations
1825
+ # An array of HTTP package configurations for the VOD source on this
1826
+ # account.
1827
+ #
1828
+ # @option params [required, String] :source_location_name
1829
+ #
1830
+ # @option params [required, String] :vod_source_name
1831
+ #
1832
+ # @return [Types::UpdateVodSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1833
+ #
1834
+ # * {Types::UpdateVodSourceResponse#arn #arn} => String
1835
+ # * {Types::UpdateVodSourceResponse#creation_time #creation_time} => Time
1836
+ # * {Types::UpdateVodSourceResponse#http_package_configurations #http_package_configurations} => Array&lt;Types::HttpPackageConfiguration&gt;
1837
+ # * {Types::UpdateVodSourceResponse#last_modified_time #last_modified_time} => Time
1838
+ # * {Types::UpdateVodSourceResponse#source_location_name #source_location_name} => String
1839
+ # * {Types::UpdateVodSourceResponse#tags #tags} => Hash&lt;String,String&gt;
1840
+ # * {Types::UpdateVodSourceResponse#vod_source_name #vod_source_name} => String
1841
+ #
1842
+ # @example Request syntax with placeholder values
1843
+ #
1844
+ # resp = client.update_vod_source({
1845
+ # http_package_configurations: [ # required
1846
+ # {
1847
+ # path: "__string", # required
1848
+ # source_group: "__string", # required
1849
+ # type: "DASH", # required, accepts DASH, HLS
1850
+ # },
1851
+ # ],
1852
+ # source_location_name: "__string", # required
1853
+ # vod_source_name: "__string", # required
1854
+ # })
1855
+ #
1856
+ # @example Response structure
1857
+ #
1858
+ # resp.arn #=> String
1859
+ # resp.creation_time #=> Time
1860
+ # resp.http_package_configurations #=> Array
1861
+ # resp.http_package_configurations[0].path #=> String
1862
+ # resp.http_package_configurations[0].source_group #=> String
1863
+ # resp.http_package_configurations[0].type #=> String, one of "DASH", "HLS"
1864
+ # resp.last_modified_time #=> Time
1865
+ # resp.source_location_name #=> String
1866
+ # resp.tags #=> Hash
1867
+ # resp.tags["__string"] #=> String
1868
+ # resp.vod_source_name #=> String
1869
+ #
1870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateVodSource AWS API Documentation
1871
+ #
1872
+ # @overload update_vod_source(params = {})
1873
+ # @param [Hash] params ({})
1874
+ def update_vod_source(params = {}, options = {})
1875
+ req = build_request(:update_vod_source, params)
1876
+ req.send_request(options)
1877
+ end
1878
+
727
1879
  # @!endgroup
728
1880
 
729
1881
  # @param params ({})
@@ -737,7 +1889,7 @@ module Aws::MediaTailor
737
1889
  params: params,
738
1890
  config: config)
739
1891
  context[:gem_name] = 'aws-sdk-mediatailor'
740
- context[:gem_version] = '1.36.0'
1892
+ context[:gem_version] = '1.37.0'
741
1893
  Seahorse::Client::Request.new(handlers, context)
742
1894
  end
743
1895