aws-sdk-mediatailor 1.33.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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
@@ -348,6 +685,338 @@ module Aws::MediaTailor
348
685
  req.send_request(options)
349
686
  end
350
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",
997
+ # })
998
+ #
999
+ # @example Response structure
1000
+ #
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 = {})
1014
+ # @param [Hash] params ({})
1015
+ def get_channel_schedule(params = {}, options = {})
1016
+ req = build_request(:get_channel_schedule, params)
1017
+ req.send_request(options)
1018
+ end
1019
+
351
1020
  # Returns the playback configuration for the specified name.
352
1021
  #
353
1022
  # @option params [required, String] :name
@@ -358,12 +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
1030
+ # * {Types::GetPlaybackConfigurationResponse#configuration_aliases #configuration_aliases} => Hash&lt;String,Hash&lt;String,String&gt;&gt;
362
1031
  # * {Types::GetPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
363
1032
  # * {Types::GetPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
364
1033
  # * {Types::GetPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
365
1034
  # * {Types::GetPlaybackConfigurationResponse#manifest_processing_rules #manifest_processing_rules} => Types::ManifestProcessingRules
366
1035
  # * {Types::GetPlaybackConfigurationResponse#name #name} => String
1036
+ # * {Types::GetPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
367
1037
  # * {Types::GetPlaybackConfigurationResponse#playback_configuration_arn #playback_configuration_arn} => String
368
1038
  # * {Types::GetPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
369
1039
  # * {Types::GetPlaybackConfigurationResponse#session_initialization_endpoint_prefix #session_initialization_endpoint_prefix} => String
@@ -387,7 +1057,9 @@ module Aws::MediaTailor
387
1057
  # resp.bumper.start_url #=> String
388
1058
  # resp.cdn_configuration.ad_segment_url_prefix #=> String
389
1059
  # resp.cdn_configuration.content_segment_url_prefix #=> String
390
- # resp.personalization_threshold_seconds #=> Integer
1060
+ # resp.configuration_aliases #=> Hash
1061
+ # resp.configuration_aliases["__string"] #=> Hash
1062
+ # resp.configuration_aliases["__string"]["__string"] #=> String
391
1063
  # resp.dash_configuration.manifest_endpoint_prefix #=> String
392
1064
  # resp.dash_configuration.mpd_location #=> String
393
1065
  # resp.dash_configuration.origin_manifest_type #=> String, one of "SINGLE_PERIOD", "MULTI_PERIOD"
@@ -396,6 +1068,7 @@ module Aws::MediaTailor
396
1068
  # resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
397
1069
  # resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
398
1070
  # resp.name #=> String
1071
+ # resp.personalization_threshold_seconds #=> Integer
399
1072
  # resp.playback_configuration_arn #=> String
400
1073
  # resp.playback_endpoint_prefix #=> String
401
1074
  # resp.session_initialization_endpoint_prefix #=> String
@@ -414,6 +1087,57 @@ module Aws::MediaTailor
414
1087
  req.send_request(options)
415
1088
  end
416
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
+
417
1141
  # Returns a list of the playback configurations defined in AWS Elemental
418
1142
  # MediaTailor. You can specify a maximum number of configurations to
419
1143
  # return at a time. The default maximum is 50. Results are returned in
@@ -430,6 +1154,8 @@ module Aws::MediaTailor
430
1154
  # * {Types::ListPlaybackConfigurationsResponse#items #items} => Array&lt;Types::PlaybackConfiguration&gt;
431
1155
  # * {Types::ListPlaybackConfigurationsResponse#next_token #next_token} => String
432
1156
  #
1157
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1158
+ #
433
1159
  # @example Request syntax with placeholder values
434
1160
  #
435
1161
  # resp = client.list_playback_configurations({
@@ -441,14 +1167,24 @@ module Aws::MediaTailor
441
1167
  #
442
1168
  # resp.items #=> Array
443
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
444
1174
  # resp.items[0].cdn_configuration.ad_segment_url_prefix #=> String
445
1175
  # resp.items[0].cdn_configuration.content_segment_url_prefix #=> String
446
- # resp.items[0].personalization_threshold_seconds #=> Integer
1176
+ # resp.items[0].configuration_aliases #=> Hash
1177
+ # resp.items[0].configuration_aliases["__string"] #=> Hash
1178
+ # resp.items[0].configuration_aliases["__string"]["__string"] #=> String
447
1179
  # resp.items[0].dash_configuration.manifest_endpoint_prefix #=> String
448
1180
  # resp.items[0].dash_configuration.mpd_location #=> String
449
1181
  # resp.items[0].dash_configuration.origin_manifest_type #=> String, one of "SINGLE_PERIOD", "MULTI_PERIOD"
450
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
451
1186
  # resp.items[0].name #=> String
1187
+ # resp.items[0].personalization_threshold_seconds #=> Integer
452
1188
  # resp.items[0].playback_configuration_arn #=> String
453
1189
  # resp.items[0].playback_endpoint_prefix #=> String
454
1190
  # resp.items[0].session_initialization_endpoint_prefix #=> String
@@ -468,6 +1204,49 @@ module Aws::MediaTailor
468
1204
  req.send_request(options)
469
1205
  end
470
1206
 
1207
+ # Retrieves a list of source locations.
1208
+ #
1209
+ # @option params [Integer] :max_results
1210
+ #
1211
+ # @option params [String] :next_token
1212
+ #
1213
+ # @return [Types::ListSourceLocationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1214
+ #
1215
+ # * {Types::ListSourceLocationsResponse#items #items} => Array&lt;Types::SourceLocation&gt;
1216
+ # * {Types::ListSourceLocationsResponse#next_token #next_token} => String
1217
+ #
1218
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1219
+ #
1220
+ # @example Request syntax with placeholder values
1221
+ #
1222
+ # resp = client.list_source_locations({
1223
+ # max_results: 1,
1224
+ # next_token: "__string",
1225
+ # })
1226
+ #
1227
+ # @example Response structure
1228
+ #
1229
+ # resp.items #=> Array
1230
+ # resp.items[0].access_configuration.access_type #=> String, one of "S3_SIGV4"
1231
+ # resp.items[0].arn #=> String
1232
+ # resp.items[0].creation_time #=> Time
1233
+ # resp.items[0].default_segment_delivery_configuration.base_url #=> String
1234
+ # resp.items[0].http_configuration.base_url #=> String
1235
+ # resp.items[0].last_modified_time #=> Time
1236
+ # resp.items[0].source_location_name #=> String
1237
+ # resp.items[0].tags #=> Hash
1238
+ # resp.items[0].tags["__string"] #=> String
1239
+ # resp.next_token #=> String
1240
+ #
1241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListSourceLocations AWS API Documentation
1242
+ #
1243
+ # @overload list_source_locations(params = {})
1244
+ # @param [Hash] params ({})
1245
+ def list_source_locations(params = {}, options = {})
1246
+ req = build_request(:list_source_locations, params)
1247
+ req.send_request(options)
1248
+ end
1249
+
471
1250
  # Returns a list of the tags assigned to the specified playback
472
1251
  # configuration resource.
473
1252
  #
@@ -497,6 +1276,79 @@ module Aws::MediaTailor
497
1276
  req.send_request(options)
498
1277
  end
499
1278
 
1279
+ # Lists all the VOD sources in a source location.
1280
+ #
1281
+ # @option params [Integer] :max_results
1282
+ #
1283
+ # @option params [String] :next_token
1284
+ #
1285
+ # @option params [required, String] :source_location_name
1286
+ #
1287
+ # @return [Types::ListVodSourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1288
+ #
1289
+ # * {Types::ListVodSourcesResponse#items #items} => Array&lt;Types::VodSource&gt;
1290
+ # * {Types::ListVodSourcesResponse#next_token #next_token} => String
1291
+ #
1292
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1293
+ #
1294
+ # @example Request syntax with placeholder values
1295
+ #
1296
+ # resp = client.list_vod_sources({
1297
+ # max_results: 1,
1298
+ # next_token: "__string",
1299
+ # source_location_name: "__string", # required
1300
+ # })
1301
+ #
1302
+ # @example Response structure
1303
+ #
1304
+ # resp.items #=> Array
1305
+ # resp.items[0].arn #=> String
1306
+ # resp.items[0].creation_time #=> Time
1307
+ # resp.items[0].http_package_configurations #=> Array
1308
+ # resp.items[0].http_package_configurations[0].path #=> String
1309
+ # resp.items[0].http_package_configurations[0].source_group #=> String
1310
+ # resp.items[0].http_package_configurations[0].type #=> String, one of "DASH", "HLS"
1311
+ # resp.items[0].last_modified_time #=> Time
1312
+ # resp.items[0].source_location_name #=> String
1313
+ # resp.items[0].tags #=> Hash
1314
+ # resp.items[0].tags["__string"] #=> String
1315
+ # resp.items[0].vod_source_name #=> String
1316
+ # resp.next_token #=> String
1317
+ #
1318
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListVodSources AWS API Documentation
1319
+ #
1320
+ # @overload list_vod_sources(params = {})
1321
+ # @param [Hash] params ({})
1322
+ def list_vod_sources(params = {}, options = {})
1323
+ req = build_request(:list_vod_sources, params)
1324
+ req.send_request(options)
1325
+ end
1326
+
1327
+ # Creates an IAM policy for the channel.
1328
+ #
1329
+ # @option params [required, String] :channel_name
1330
+ #
1331
+ # @option params [required, String] :policy
1332
+ # Adds an IAM role that determines the permissions of your channel.
1333
+ #
1334
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1335
+ #
1336
+ # @example Request syntax with placeholder values
1337
+ #
1338
+ # resp = client.put_channel_policy({
1339
+ # channel_name: "__string", # required
1340
+ # policy: "__string", # required
1341
+ # })
1342
+ #
1343
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutChannelPolicy AWS API Documentation
1344
+ #
1345
+ # @overload put_channel_policy(params = {})
1346
+ # @param [Hash] params ({})
1347
+ def put_channel_policy(params = {}, options = {})
1348
+ req = build_request(:put_channel_policy, params)
1349
+ req.send_request(options)
1350
+ end
1351
+
500
1352
  # Adds a new playback configuration to AWS Elemental MediaTailor.
501
1353
  #
502
1354
  # @option params [String] :ad_decision_server_url
@@ -508,19 +1360,34 @@ module Aws::MediaTailor
508
1360
  # maximum length is 25,000 characters.
509
1361
  #
510
1362
  # @option params [Types::AvailSuppression] :avail_suppression
511
- # The configuration for Avail Suppression.
1363
+ # The configuration for avail suppression, also known as ad suppression.
1364
+ # For more information about ad suppression, see [Ad Suppression][1].
1365
+ #
1366
+ #
1367
+ #
1368
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
512
1369
  #
513
1370
  # @option params [Types::Bumper] :bumper
514
1371
  # The configuration for bumpers. Bumpers are short audio or video clips
515
- # that play at the start or before the end of an ad break.
1372
+ # that play at the start or before the end of an ad break. To learn more
1373
+ # about bumpers, see [Bumpers][1].
1374
+ #
1375
+ #
1376
+ #
1377
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html
516
1378
  #
517
1379
  # @option params [Types::CdnConfiguration] :cdn_configuration
518
1380
  # The configuration for using a content delivery network (CDN), like
519
1381
  # Amazon CloudFront, for content and ad segment management.
520
1382
  #
521
- # @option params [Integer] :personalization_threshold_seconds
522
- # The maximum duration of underfilled ad time (in seconds) allowed in an
523
- # ad break.
1383
+ # @option params [Hash<String,Hash>] :configuration_aliases
1384
+ # The player parameters and aliases used as dynamic variables during
1385
+ # session initialization. For more information, see [Domain
1386
+ # Variables][1].
1387
+ #
1388
+ #
1389
+ #
1390
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domain.html
524
1391
  #
525
1392
  # @option params [Types::DashConfigurationForPut] :dash_configuration
526
1393
  # The configuration for DASH content.
@@ -536,6 +1403,20 @@ module Aws::MediaTailor
536
1403
  # @option params [String] :name
537
1404
  # The identifier for the playback configuration.
538
1405
  #
1406
+ # @option params [Integer] :personalization_threshold_seconds
1407
+ # Defines the maximum duration of underfilled ad time (in seconds)
1408
+ # allowed in an ad break. If the duration of underfilled ad time exceeds
1409
+ # the personalization threshold, then the personalization of the ad
1410
+ # break is abandoned and the underlying content is shown. This feature
1411
+ # applies to *ad replacement* in live and VOD streams, rather than ad
1412
+ # insertion, because it relies on an underlying content stream. For more
1413
+ # information about ad break behavior, including ad replacement and
1414
+ # insertion, see [Ad Behavior in AWS Elemental MediaTailor][1].
1415
+ #
1416
+ #
1417
+ #
1418
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
1419
+ #
539
1420
  # @option params [String] :slate_ad_url
540
1421
  # The URL for a high-quality video asset to transcode and use to fill in
541
1422
  # time that's not used by ads. AWS Elemental MediaTailor shows the
@@ -555,7 +1436,7 @@ module Aws::MediaTailor
555
1436
  # custom profiles with the help of AWS Support.
556
1437
  #
557
1438
  # @option params [String] :video_content_source_url
558
- # The URL prefix for the master playlist for the stream, minus the asset
1439
+ # The URL prefix for the parent manifest for the stream, minus the asset
559
1440
  # ID. The maximum length is 512 characters.
560
1441
  #
561
1442
  # @return [Types::PutPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -564,11 +1445,13 @@ module Aws::MediaTailor
564
1445
  # * {Types::PutPlaybackConfigurationResponse#avail_suppression #avail_suppression} => Types::AvailSuppression
565
1446
  # * {Types::PutPlaybackConfigurationResponse#bumper #bumper} => Types::Bumper
566
1447
  # * {Types::PutPlaybackConfigurationResponse#cdn_configuration #cdn_configuration} => Types::CdnConfiguration
1448
+ # * {Types::PutPlaybackConfigurationResponse#configuration_aliases #configuration_aliases} => Hash&lt;String,Hash&lt;String,String&gt;&gt;
567
1449
  # * {Types::PutPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
568
1450
  # * {Types::PutPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
569
1451
  # * {Types::PutPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
570
- # * {Types::PutPlaybackConfigurationResponse#name #name} => String
571
1452
  # * {Types::PutPlaybackConfigurationResponse#manifest_processing_rules #manifest_processing_rules} => Types::ManifestProcessingRules
1453
+ # * {Types::PutPlaybackConfigurationResponse#name #name} => String
1454
+ # * {Types::PutPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
572
1455
  # * {Types::PutPlaybackConfigurationResponse#playback_configuration_arn #playback_configuration_arn} => String
573
1456
  # * {Types::PutPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
574
1457
  # * {Types::PutPlaybackConfigurationResponse#session_initialization_endpoint_prefix #session_initialization_endpoint_prefix} => String
@@ -593,7 +1476,11 @@ module Aws::MediaTailor
593
1476
  # ad_segment_url_prefix: "__string",
594
1477
  # content_segment_url_prefix: "__string",
595
1478
  # },
596
- # personalization_threshold_seconds: 1,
1479
+ # configuration_aliases: {
1480
+ # "__string" => {
1481
+ # "__string" => "__string",
1482
+ # },
1483
+ # },
597
1484
  # dash_configuration: {
598
1485
  # mpd_location: "__string",
599
1486
  # origin_manifest_type: "SINGLE_PERIOD", # accepts SINGLE_PERIOD, MULTI_PERIOD
@@ -608,6 +1495,7 @@ module Aws::MediaTailor
608
1495
  # },
609
1496
  # },
610
1497
  # name: "__string",
1498
+ # personalization_threshold_seconds: 1,
611
1499
  # slate_ad_url: "__string",
612
1500
  # tags: {
613
1501
  # "__string" => "__string",
@@ -625,14 +1513,18 @@ module Aws::MediaTailor
625
1513
  # resp.bumper.start_url #=> String
626
1514
  # resp.cdn_configuration.ad_segment_url_prefix #=> String
627
1515
  # resp.cdn_configuration.content_segment_url_prefix #=> String
1516
+ # resp.configuration_aliases #=> Hash
1517
+ # resp.configuration_aliases["__string"] #=> Hash
1518
+ # resp.configuration_aliases["__string"]["__string"] #=> String
628
1519
  # resp.dash_configuration.manifest_endpoint_prefix #=> String
629
1520
  # resp.dash_configuration.mpd_location #=> String
630
1521
  # resp.dash_configuration.origin_manifest_type #=> String, one of "SINGLE_PERIOD", "MULTI_PERIOD"
631
1522
  # resp.hls_configuration.manifest_endpoint_prefix #=> String
632
1523
  # resp.live_pre_roll_configuration.ad_decision_server_url #=> String
633
1524
  # resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
634
- # resp.name #=> String
635
1525
  # resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
1526
+ # resp.name #=> String
1527
+ # resp.personalization_threshold_seconds #=> Integer
636
1528
  # resp.playback_configuration_arn #=> String
637
1529
  # resp.playback_endpoint_prefix #=> String
638
1530
  # resp.session_initialization_endpoint_prefix #=> String
@@ -651,6 +1543,48 @@ module Aws::MediaTailor
651
1543
  req.send_request(options)
652
1544
  end
653
1545
 
1546
+ # Starts a specific channel.
1547
+ #
1548
+ # @option params [required, String] :channel_name
1549
+ #
1550
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1551
+ #
1552
+ # @example Request syntax with placeholder values
1553
+ #
1554
+ # resp = client.start_channel({
1555
+ # channel_name: "__string", # required
1556
+ # })
1557
+ #
1558
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StartChannel AWS API Documentation
1559
+ #
1560
+ # @overload start_channel(params = {})
1561
+ # @param [Hash] params ({})
1562
+ def start_channel(params = {}, options = {})
1563
+ req = build_request(:start_channel, params)
1564
+ req.send_request(options)
1565
+ end
1566
+
1567
+ # Stops a specific channel.
1568
+ #
1569
+ # @option params [required, String] :channel_name
1570
+ #
1571
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1572
+ #
1573
+ # @example Request syntax with placeholder values
1574
+ #
1575
+ # resp = client.stop_channel({
1576
+ # channel_name: "__string", # required
1577
+ # })
1578
+ #
1579
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StopChannel AWS API Documentation
1580
+ #
1581
+ # @overload stop_channel(params = {})
1582
+ # @param [Hash] params ({})
1583
+ def stop_channel(params = {}, options = {})
1584
+ req = build_request(:stop_channel, params)
1585
+ req.send_request(options)
1586
+ end
1587
+
654
1588
  # Adds tags to the specified playback configuration resource. You can
655
1589
  # specify one or more tags to add.
656
1590
  #
@@ -703,6 +1637,192 @@ module Aws::MediaTailor
703
1637
  req.send_request(options)
704
1638
  end
705
1639
 
1640
+ # Updates an existing channel.
1641
+ #
1642
+ # @option params [required, String] :channel_name
1643
+ #
1644
+ # @option params [required, Array<Types::RequestOutputItem>] :outputs
1645
+ # The channel's output properties.
1646
+ #
1647
+ # @return [Types::UpdateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1648
+ #
1649
+ # * {Types::UpdateChannelResponse#arn #arn} => String
1650
+ # * {Types::UpdateChannelResponse#channel_name #channel_name} => String
1651
+ # * {Types::UpdateChannelResponse#channel_state #channel_state} => String
1652
+ # * {Types::UpdateChannelResponse#creation_time #creation_time} => Time
1653
+ # * {Types::UpdateChannelResponse#last_modified_time #last_modified_time} => Time
1654
+ # * {Types::UpdateChannelResponse#outputs #outputs} => Array&lt;Types::ResponseOutputItem&gt;
1655
+ # * {Types::UpdateChannelResponse#playback_mode #playback_mode} => String
1656
+ # * {Types::UpdateChannelResponse#tags #tags} => Hash&lt;String,String&gt;
1657
+ #
1658
+ # @example Request syntax with placeholder values
1659
+ #
1660
+ # resp = client.update_channel({
1661
+ # channel_name: "__string", # required
1662
+ # outputs: [ # required
1663
+ # {
1664
+ # dash_playlist_settings: {
1665
+ # manifest_window_seconds: 1,
1666
+ # min_buffer_time_seconds: 1,
1667
+ # min_update_period_seconds: 1,
1668
+ # suggested_presentation_delay_seconds: 1,
1669
+ # },
1670
+ # hls_playlist_settings: {
1671
+ # manifest_window_seconds: 1,
1672
+ # },
1673
+ # manifest_name: "__string", # required
1674
+ # source_group: "__string", # required
1675
+ # },
1676
+ # ],
1677
+ # })
1678
+ #
1679
+ # @example Response structure
1680
+ #
1681
+ # resp.arn #=> String
1682
+ # resp.channel_name #=> String
1683
+ # resp.channel_state #=> String, one of "RUNNING", "STOPPED"
1684
+ # resp.creation_time #=> Time
1685
+ # resp.last_modified_time #=> Time
1686
+ # resp.outputs #=> Array
1687
+ # resp.outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
1688
+ # resp.outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
1689
+ # resp.outputs[0].dash_playlist_settings.min_update_period_seconds #=> Integer
1690
+ # resp.outputs[0].dash_playlist_settings.suggested_presentation_delay_seconds #=> Integer
1691
+ # resp.outputs[0].hls_playlist_settings.manifest_window_seconds #=> Integer
1692
+ # resp.outputs[0].manifest_name #=> String
1693
+ # resp.outputs[0].playback_url #=> String
1694
+ # resp.outputs[0].source_group #=> String
1695
+ # resp.playback_mode #=> String
1696
+ # resp.tags #=> Hash
1697
+ # resp.tags["__string"] #=> String
1698
+ #
1699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannel AWS API Documentation
1700
+ #
1701
+ # @overload update_channel(params = {})
1702
+ # @param [Hash] params ({})
1703
+ def update_channel(params = {}, options = {})
1704
+ req = build_request(:update_channel, params)
1705
+ req.send_request(options)
1706
+ end
1707
+
1708
+ # Updates a source location on a specific channel.
1709
+ #
1710
+ # @option params [Types::AccessConfiguration] :access_configuration
1711
+ # Access configuration parameters. Configures the type of authentication
1712
+ # used to access content from your source location.
1713
+ #
1714
+ # @option params [Types::DefaultSegmentDeliveryConfiguration] :default_segment_delivery_configuration
1715
+ # The optional configuration for the host server that serves segments.
1716
+ #
1717
+ # @option params [required, Types::HttpConfiguration] :http_configuration
1718
+ # The HTTP configuration for the source location.
1719
+ #
1720
+ # @option params [required, String] :source_location_name
1721
+ #
1722
+ # @return [Types::UpdateSourceLocationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1723
+ #
1724
+ # * {Types::UpdateSourceLocationResponse#access_configuration #access_configuration} => Types::AccessConfiguration
1725
+ # * {Types::UpdateSourceLocationResponse#arn #arn} => String
1726
+ # * {Types::UpdateSourceLocationResponse#creation_time #creation_time} => Time
1727
+ # * {Types::UpdateSourceLocationResponse#default_segment_delivery_configuration #default_segment_delivery_configuration} => Types::DefaultSegmentDeliveryConfiguration
1728
+ # * {Types::UpdateSourceLocationResponse#http_configuration #http_configuration} => Types::HttpConfiguration
1729
+ # * {Types::UpdateSourceLocationResponse#last_modified_time #last_modified_time} => Time
1730
+ # * {Types::UpdateSourceLocationResponse#source_location_name #source_location_name} => String
1731
+ # * {Types::UpdateSourceLocationResponse#tags #tags} => Hash&lt;String,String&gt;
1732
+ #
1733
+ # @example Request syntax with placeholder values
1734
+ #
1735
+ # resp = client.update_source_location({
1736
+ # access_configuration: {
1737
+ # access_type: "S3_SIGV4", # accepts S3_SIGV4
1738
+ # },
1739
+ # default_segment_delivery_configuration: {
1740
+ # base_url: "__string",
1741
+ # },
1742
+ # http_configuration: { # required
1743
+ # base_url: "__string", # required
1744
+ # },
1745
+ # source_location_name: "__string", # required
1746
+ # })
1747
+ #
1748
+ # @example Response structure
1749
+ #
1750
+ # resp.access_configuration.access_type #=> String, one of "S3_SIGV4"
1751
+ # resp.arn #=> String
1752
+ # resp.creation_time #=> Time
1753
+ # resp.default_segment_delivery_configuration.base_url #=> String
1754
+ # resp.http_configuration.base_url #=> String
1755
+ # resp.last_modified_time #=> Time
1756
+ # resp.source_location_name #=> String
1757
+ # resp.tags #=> Hash
1758
+ # resp.tags["__string"] #=> String
1759
+ #
1760
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateSourceLocation AWS API Documentation
1761
+ #
1762
+ # @overload update_source_location(params = {})
1763
+ # @param [Hash] params ({})
1764
+ def update_source_location(params = {}, options = {})
1765
+ req = build_request(:update_source_location, params)
1766
+ req.send_request(options)
1767
+ end
1768
+
1769
+ # Updates a specific VOD source in a specific source location.
1770
+ #
1771
+ # @option params [required, Array<Types::HttpPackageConfiguration>] :http_package_configurations
1772
+ # An array of HTTP package configurations for the VOD source on this
1773
+ # account.
1774
+ #
1775
+ # @option params [required, String] :source_location_name
1776
+ #
1777
+ # @option params [required, String] :vod_source_name
1778
+ #
1779
+ # @return [Types::UpdateVodSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1780
+ #
1781
+ # * {Types::UpdateVodSourceResponse#arn #arn} => String
1782
+ # * {Types::UpdateVodSourceResponse#creation_time #creation_time} => Time
1783
+ # * {Types::UpdateVodSourceResponse#http_package_configurations #http_package_configurations} => Array&lt;Types::HttpPackageConfiguration&gt;
1784
+ # * {Types::UpdateVodSourceResponse#last_modified_time #last_modified_time} => Time
1785
+ # * {Types::UpdateVodSourceResponse#source_location_name #source_location_name} => String
1786
+ # * {Types::UpdateVodSourceResponse#tags #tags} => Hash&lt;String,String&gt;
1787
+ # * {Types::UpdateVodSourceResponse#vod_source_name #vod_source_name} => String
1788
+ #
1789
+ # @example Request syntax with placeholder values
1790
+ #
1791
+ # resp = client.update_vod_source({
1792
+ # http_package_configurations: [ # required
1793
+ # {
1794
+ # path: "__string", # required
1795
+ # source_group: "__string", # required
1796
+ # type: "DASH", # required, accepts DASH, HLS
1797
+ # },
1798
+ # ],
1799
+ # source_location_name: "__string", # required
1800
+ # vod_source_name: "__string", # required
1801
+ # })
1802
+ #
1803
+ # @example Response structure
1804
+ #
1805
+ # resp.arn #=> String
1806
+ # resp.creation_time #=> Time
1807
+ # resp.http_package_configurations #=> Array
1808
+ # resp.http_package_configurations[0].path #=> String
1809
+ # resp.http_package_configurations[0].source_group #=> String
1810
+ # resp.http_package_configurations[0].type #=> String, one of "DASH", "HLS"
1811
+ # resp.last_modified_time #=> Time
1812
+ # resp.source_location_name #=> String
1813
+ # resp.tags #=> Hash
1814
+ # resp.tags["__string"] #=> String
1815
+ # resp.vod_source_name #=> String
1816
+ #
1817
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateVodSource AWS API Documentation
1818
+ #
1819
+ # @overload update_vod_source(params = {})
1820
+ # @param [Hash] params ({})
1821
+ def update_vod_source(params = {}, options = {})
1822
+ req = build_request(:update_vod_source, params)
1823
+ req.send_request(options)
1824
+ end
1825
+
706
1826
  # @!endgroup
707
1827
 
708
1828
  # @param params ({})
@@ -716,7 +1836,7 @@ module Aws::MediaTailor
716
1836
  params: params,
717
1837
  config: config)
718
1838
  context[:gem_name] = 'aws-sdk-mediatailor'
719
- context[:gem_version] = '1.33.0'
1839
+ context[:gem_version] = '1.38.0'
720
1840
  Seahorse::Client::Request.new(handlers, context)
721
1841
  end
722
1842