aws-sdk-mediatailor 1.35.0 → 1.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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,351 @@ 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, SECRETS_MANAGER_ACCESS_TOKEN
529
+ # secrets_manager_access_token_configuration: {
530
+ # header_name: "__string",
531
+ # secret_arn: "__string",
532
+ # secret_string_key: "__string",
533
+ # },
534
+ # },
535
+ # default_segment_delivery_configuration: {
536
+ # base_url: "__string",
537
+ # },
538
+ # http_configuration: { # required
539
+ # base_url: "__string", # required
540
+ # },
541
+ # source_location_name: "__string", # required
542
+ # tags: {
543
+ # "__string" => "__string",
544
+ # },
545
+ # })
546
+ #
547
+ # @example Response structure
548
+ #
549
+ # resp.access_configuration.access_type #=> String, one of "S3_SIGV4", "SECRETS_MANAGER_ACCESS_TOKEN"
550
+ # resp.access_configuration.secrets_manager_access_token_configuration.header_name #=> String
551
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_arn #=> String
552
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_string_key #=> String
553
+ # resp.arn #=> String
554
+ # resp.creation_time #=> Time
555
+ # resp.default_segment_delivery_configuration.base_url #=> String
556
+ # resp.http_configuration.base_url #=> String
557
+ # resp.last_modified_time #=> Time
558
+ # resp.source_location_name #=> String
559
+ # resp.tags #=> Hash
560
+ # resp.tags["__string"] #=> String
561
+ #
562
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateSourceLocation AWS API Documentation
563
+ #
564
+ # @overload create_source_location(params = {})
565
+ # @param [Hash] params ({})
566
+ def create_source_location(params = {}, options = {})
567
+ req = build_request(:create_source_location, params)
568
+ req.send_request(options)
569
+ end
570
+
571
+ # Creates name for a specific VOD source in a source location.
572
+ #
573
+ # @option params [required, Array<Types::HttpPackageConfiguration>] :http_package_configurations
574
+ # An array of HTTP package configuration parameters for this VOD source.
575
+ #
576
+ # @option params [required, String] :source_location_name
577
+ #
578
+ # @option params [Hash<String,String>] :tags
579
+ # The tags to assign to the VOD source.
580
+ #
581
+ # @option params [required, String] :vod_source_name
582
+ #
583
+ # @return [Types::CreateVodSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
584
+ #
585
+ # * {Types::CreateVodSourceResponse#arn #arn} => String
586
+ # * {Types::CreateVodSourceResponse#creation_time #creation_time} => Time
587
+ # * {Types::CreateVodSourceResponse#http_package_configurations #http_package_configurations} => Array&lt;Types::HttpPackageConfiguration&gt;
588
+ # * {Types::CreateVodSourceResponse#last_modified_time #last_modified_time} => Time
589
+ # * {Types::CreateVodSourceResponse#source_location_name #source_location_name} => String
590
+ # * {Types::CreateVodSourceResponse#tags #tags} => Hash&lt;String,String&gt;
591
+ # * {Types::CreateVodSourceResponse#vod_source_name #vod_source_name} => String
592
+ #
593
+ # @example Request syntax with placeholder values
594
+ #
595
+ # resp = client.create_vod_source({
596
+ # http_package_configurations: [ # required
597
+ # {
598
+ # path: "__string", # required
599
+ # source_group: "__string", # required
600
+ # type: "DASH", # required, accepts DASH, HLS
601
+ # },
602
+ # ],
603
+ # source_location_name: "__string", # required
604
+ # tags: {
605
+ # "__string" => "__string",
606
+ # },
607
+ # vod_source_name: "__string", # required
608
+ # })
609
+ #
610
+ # @example Response structure
611
+ #
612
+ # resp.arn #=> String
613
+ # resp.creation_time #=> Time
614
+ # resp.http_package_configurations #=> Array
615
+ # resp.http_package_configurations[0].path #=> String
616
+ # resp.http_package_configurations[0].source_group #=> String
617
+ # resp.http_package_configurations[0].type #=> String, one of "DASH", "HLS"
618
+ # resp.last_modified_time #=> Time
619
+ # resp.source_location_name #=> String
620
+ # resp.tags #=> Hash
621
+ # resp.tags["__string"] #=> String
622
+ # resp.vod_source_name #=> String
623
+ #
624
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/CreateVodSource AWS API Documentation
625
+ #
626
+ # @overload create_vod_source(params = {})
627
+ # @param [Hash] params ({})
628
+ def create_vod_source(params = {}, options = {})
629
+ req = build_request(:create_vod_source, params)
630
+ req.send_request(options)
631
+ end
632
+
633
+ # Deletes a channel. You must stop the channel before it can be deleted.
634
+ #
635
+ # @option params [required, String] :channel_name
636
+ #
637
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
638
+ #
639
+ # @example Request syntax with placeholder values
640
+ #
641
+ # resp = client.delete_channel({
642
+ # channel_name: "__string", # required
643
+ # })
644
+ #
645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannel AWS API Documentation
646
+ #
647
+ # @overload delete_channel(params = {})
648
+ # @param [Hash] params ({})
649
+ def delete_channel(params = {}, options = {})
650
+ req = build_request(:delete_channel, params)
651
+ req.send_request(options)
652
+ end
653
+
654
+ # Deletes a channel's IAM policy.
655
+ #
656
+ # @option params [required, String] :channel_name
657
+ #
658
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
659
+ #
660
+ # @example Request syntax with placeholder values
661
+ #
662
+ # resp = client.delete_channel_policy({
663
+ # channel_name: "__string", # required
664
+ # })
665
+ #
666
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteChannelPolicy AWS API Documentation
667
+ #
668
+ # @overload delete_channel_policy(params = {})
669
+ # @param [Hash] params ({})
670
+ def delete_channel_policy(params = {}, options = {})
671
+ req = build_request(:delete_channel_policy, params)
672
+ req.send_request(options)
673
+ end
674
+
330
675
  # Deletes the playback configuration for the specified name.
331
676
  #
332
677
  # @option params [required, String] :name
@@ -348,6 +693,346 @@ module Aws::MediaTailor
348
693
  req.send_request(options)
349
694
  end
350
695
 
696
+ # Deletes a specific program on a specific channel.
697
+ #
698
+ # @option params [required, String] :channel_name
699
+ #
700
+ # @option params [required, String] :program_name
701
+ #
702
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
703
+ #
704
+ # @example Request syntax with placeholder values
705
+ #
706
+ # resp = client.delete_program({
707
+ # channel_name: "__string", # required
708
+ # program_name: "__string", # required
709
+ # })
710
+ #
711
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteProgram AWS API Documentation
712
+ #
713
+ # @overload delete_program(params = {})
714
+ # @param [Hash] params ({})
715
+ def delete_program(params = {}, options = {})
716
+ req = build_request(:delete_program, params)
717
+ req.send_request(options)
718
+ end
719
+
720
+ # Deletes a source location on a specific channel.
721
+ #
722
+ # @option params [required, String] :source_location_name
723
+ #
724
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
725
+ #
726
+ # @example Request syntax with placeholder values
727
+ #
728
+ # resp = client.delete_source_location({
729
+ # source_location_name: "__string", # required
730
+ # })
731
+ #
732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteSourceLocation AWS API Documentation
733
+ #
734
+ # @overload delete_source_location(params = {})
735
+ # @param [Hash] params ({})
736
+ def delete_source_location(params = {}, options = {})
737
+ req = build_request(:delete_source_location, params)
738
+ req.send_request(options)
739
+ end
740
+
741
+ # Deletes a specific VOD source in a specific source location.
742
+ #
743
+ # @option params [required, String] :source_location_name
744
+ #
745
+ # @option params [required, String] :vod_source_name
746
+ #
747
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
748
+ #
749
+ # @example Request syntax with placeholder values
750
+ #
751
+ # resp = client.delete_vod_source({
752
+ # source_location_name: "__string", # required
753
+ # vod_source_name: "__string", # required
754
+ # })
755
+ #
756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeleteVodSource AWS API Documentation
757
+ #
758
+ # @overload delete_vod_source(params = {})
759
+ # @param [Hash] params ({})
760
+ def delete_vod_source(params = {}, options = {})
761
+ req = build_request(:delete_vod_source, params)
762
+ req.send_request(options)
763
+ end
764
+
765
+ # Describes the properties of a specific channel.
766
+ #
767
+ # @option params [required, String] :channel_name
768
+ #
769
+ # @return [Types::DescribeChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
770
+ #
771
+ # * {Types::DescribeChannelResponse#arn #arn} => String
772
+ # * {Types::DescribeChannelResponse#channel_name #channel_name} => String
773
+ # * {Types::DescribeChannelResponse#channel_state #channel_state} => String
774
+ # * {Types::DescribeChannelResponse#creation_time #creation_time} => Time
775
+ # * {Types::DescribeChannelResponse#last_modified_time #last_modified_time} => Time
776
+ # * {Types::DescribeChannelResponse#outputs #outputs} => Array&lt;Types::ResponseOutputItem&gt;
777
+ # * {Types::DescribeChannelResponse#playback_mode #playback_mode} => String
778
+ # * {Types::DescribeChannelResponse#tags #tags} => Hash&lt;String,String&gt;
779
+ #
780
+ # @example Request syntax with placeholder values
781
+ #
782
+ # resp = client.describe_channel({
783
+ # channel_name: "__string", # required
784
+ # })
785
+ #
786
+ # @example Response structure
787
+ #
788
+ # resp.arn #=> String
789
+ # resp.channel_name #=> String
790
+ # resp.channel_state #=> String, one of "RUNNING", "STOPPED"
791
+ # resp.creation_time #=> Time
792
+ # resp.last_modified_time #=> Time
793
+ # resp.outputs #=> Array
794
+ # resp.outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
795
+ # resp.outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
796
+ # resp.outputs[0].dash_playlist_settings.min_update_period_seconds #=> Integer
797
+ # resp.outputs[0].dash_playlist_settings.suggested_presentation_delay_seconds #=> Integer
798
+ # resp.outputs[0].hls_playlist_settings.manifest_window_seconds #=> Integer
799
+ # resp.outputs[0].manifest_name #=> String
800
+ # resp.outputs[0].playback_url #=> String
801
+ # resp.outputs[0].source_group #=> String
802
+ # resp.playback_mode #=> String
803
+ # resp.tags #=> Hash
804
+ # resp.tags["__string"] #=> String
805
+ #
806
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeChannel AWS API Documentation
807
+ #
808
+ # @overload describe_channel(params = {})
809
+ # @param [Hash] params ({})
810
+ def describe_channel(params = {}, options = {})
811
+ req = build_request(:describe_channel, params)
812
+ req.send_request(options)
813
+ end
814
+
815
+ # Retrieves the properties of the requested program.
816
+ #
817
+ # @option params [required, String] :channel_name
818
+ #
819
+ # @option params [required, String] :program_name
820
+ #
821
+ # @return [Types::DescribeProgramResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
822
+ #
823
+ # * {Types::DescribeProgramResponse#ad_breaks #ad_breaks} => Array&lt;Types::AdBreak&gt;
824
+ # * {Types::DescribeProgramResponse#arn #arn} => String
825
+ # * {Types::DescribeProgramResponse#channel_name #channel_name} => String
826
+ # * {Types::DescribeProgramResponse#creation_time #creation_time} => Time
827
+ # * {Types::DescribeProgramResponse#program_name #program_name} => String
828
+ # * {Types::DescribeProgramResponse#source_location_name #source_location_name} => String
829
+ # * {Types::DescribeProgramResponse#vod_source_name #vod_source_name} => String
830
+ #
831
+ # @example Request syntax with placeholder values
832
+ #
833
+ # resp = client.describe_program({
834
+ # channel_name: "__string", # required
835
+ # program_name: "__string", # required
836
+ # })
837
+ #
838
+ # @example Response structure
839
+ #
840
+ # resp.ad_breaks #=> Array
841
+ # resp.ad_breaks[0].message_type #=> String, one of "SPLICE_INSERT"
842
+ # resp.ad_breaks[0].offset_millis #=> Integer
843
+ # resp.ad_breaks[0].slate.source_location_name #=> String
844
+ # resp.ad_breaks[0].slate.vod_source_name #=> String
845
+ # resp.ad_breaks[0].splice_insert_message.avail_num #=> Integer
846
+ # resp.ad_breaks[0].splice_insert_message.avails_expected #=> Integer
847
+ # resp.ad_breaks[0].splice_insert_message.splice_event_id #=> Integer
848
+ # resp.ad_breaks[0].splice_insert_message.unique_program_id #=> Integer
849
+ # resp.arn #=> String
850
+ # resp.channel_name #=> String
851
+ # resp.creation_time #=> Time
852
+ # resp.program_name #=> String
853
+ # resp.source_location_name #=> String
854
+ # resp.vod_source_name #=> String
855
+ #
856
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeProgram AWS API Documentation
857
+ #
858
+ # @overload describe_program(params = {})
859
+ # @param [Hash] params ({})
860
+ def describe_program(params = {}, options = {})
861
+ req = build_request(:describe_program, params)
862
+ req.send_request(options)
863
+ end
864
+
865
+ # Retrieves the properties of the requested source location.
866
+ #
867
+ # @option params [required, String] :source_location_name
868
+ #
869
+ # @return [Types::DescribeSourceLocationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
870
+ #
871
+ # * {Types::DescribeSourceLocationResponse#access_configuration #access_configuration} => Types::AccessConfiguration
872
+ # * {Types::DescribeSourceLocationResponse#arn #arn} => String
873
+ # * {Types::DescribeSourceLocationResponse#creation_time #creation_time} => Time
874
+ # * {Types::DescribeSourceLocationResponse#default_segment_delivery_configuration #default_segment_delivery_configuration} => Types::DefaultSegmentDeliveryConfiguration
875
+ # * {Types::DescribeSourceLocationResponse#http_configuration #http_configuration} => Types::HttpConfiguration
876
+ # * {Types::DescribeSourceLocationResponse#last_modified_time #last_modified_time} => Time
877
+ # * {Types::DescribeSourceLocationResponse#source_location_name #source_location_name} => String
878
+ # * {Types::DescribeSourceLocationResponse#tags #tags} => Hash&lt;String,String&gt;
879
+ #
880
+ # @example Request syntax with placeholder values
881
+ #
882
+ # resp = client.describe_source_location({
883
+ # source_location_name: "__string", # required
884
+ # })
885
+ #
886
+ # @example Response structure
887
+ #
888
+ # resp.access_configuration.access_type #=> String, one of "S3_SIGV4", "SECRETS_MANAGER_ACCESS_TOKEN"
889
+ # resp.access_configuration.secrets_manager_access_token_configuration.header_name #=> String
890
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_arn #=> String
891
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_string_key #=> String
892
+ # resp.arn #=> String
893
+ # resp.creation_time #=> Time
894
+ # resp.default_segment_delivery_configuration.base_url #=> String
895
+ # resp.http_configuration.base_url #=> String
896
+ # resp.last_modified_time #=> Time
897
+ # resp.source_location_name #=> String
898
+ # resp.tags #=> Hash
899
+ # resp.tags["__string"] #=> String
900
+ #
901
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeSourceLocation AWS API Documentation
902
+ #
903
+ # @overload describe_source_location(params = {})
904
+ # @param [Hash] params ({})
905
+ def describe_source_location(params = {}, options = {})
906
+ req = build_request(:describe_source_location, params)
907
+ req.send_request(options)
908
+ end
909
+
910
+ # Provides details about a specific VOD source in a specific source
911
+ # location.
912
+ #
913
+ # @option params [required, String] :source_location_name
914
+ #
915
+ # @option params [required, String] :vod_source_name
916
+ #
917
+ # @return [Types::DescribeVodSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
918
+ #
919
+ # * {Types::DescribeVodSourceResponse#arn #arn} => String
920
+ # * {Types::DescribeVodSourceResponse#creation_time #creation_time} => Time
921
+ # * {Types::DescribeVodSourceResponse#http_package_configurations #http_package_configurations} => Array&lt;Types::HttpPackageConfiguration&gt;
922
+ # * {Types::DescribeVodSourceResponse#last_modified_time #last_modified_time} => Time
923
+ # * {Types::DescribeVodSourceResponse#source_location_name #source_location_name} => String
924
+ # * {Types::DescribeVodSourceResponse#tags #tags} => Hash&lt;String,String&gt;
925
+ # * {Types::DescribeVodSourceResponse#vod_source_name #vod_source_name} => String
926
+ #
927
+ # @example Request syntax with placeholder values
928
+ #
929
+ # resp = client.describe_vod_source({
930
+ # source_location_name: "__string", # required
931
+ # vod_source_name: "__string", # required
932
+ # })
933
+ #
934
+ # @example Response structure
935
+ #
936
+ # resp.arn #=> String
937
+ # resp.creation_time #=> Time
938
+ # resp.http_package_configurations #=> Array
939
+ # resp.http_package_configurations[0].path #=> String
940
+ # resp.http_package_configurations[0].source_group #=> String
941
+ # resp.http_package_configurations[0].type #=> String, one of "DASH", "HLS"
942
+ # resp.last_modified_time #=> Time
943
+ # resp.source_location_name #=> String
944
+ # resp.tags #=> Hash
945
+ # resp.tags["__string"] #=> String
946
+ # resp.vod_source_name #=> String
947
+ #
948
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DescribeVodSource AWS API Documentation
949
+ #
950
+ # @overload describe_vod_source(params = {})
951
+ # @param [Hash] params ({})
952
+ def describe_vod_source(params = {}, options = {})
953
+ req = build_request(:describe_vod_source, params)
954
+ req.send_request(options)
955
+ end
956
+
957
+ # Retrieves information about a channel's IAM policy.
958
+ #
959
+ # @option params [required, String] :channel_name
960
+ #
961
+ # @return [Types::GetChannelPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
962
+ #
963
+ # * {Types::GetChannelPolicyResponse#policy #policy} => String
964
+ #
965
+ # @example Request syntax with placeholder values
966
+ #
967
+ # resp = client.get_channel_policy({
968
+ # channel_name: "__string", # required
969
+ # })
970
+ #
971
+ # @example Response structure
972
+ #
973
+ # resp.policy #=> String
974
+ #
975
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelPolicy AWS API Documentation
976
+ #
977
+ # @overload get_channel_policy(params = {})
978
+ # @param [Hash] params ({})
979
+ def get_channel_policy(params = {}, options = {})
980
+ req = build_request(:get_channel_policy, params)
981
+ req.send_request(options)
982
+ end
983
+
984
+ # Retrieves information about your channel's schedule.
985
+ #
986
+ # @option params [required, String] :channel_name
987
+ #
988
+ # @option params [String] :duration_minutes
989
+ #
990
+ # @option params [Integer] :max_results
991
+ #
992
+ # @option params [String] :next_token
993
+ #
994
+ # @return [Types::GetChannelScheduleResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
995
+ #
996
+ # * {Types::GetChannelScheduleResponse#items #items} => Array&lt;Types::ScheduleEntry&gt;
997
+ # * {Types::GetChannelScheduleResponse#next_token #next_token} => String
998
+ #
999
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1000
+ #
1001
+ # @example Request syntax with placeholder values
1002
+ #
1003
+ # resp = client.get_channel_schedule({
1004
+ # channel_name: "__string", # required
1005
+ # duration_minutes: "__string",
1006
+ # max_results: 1,
1007
+ # next_token: "__string",
1008
+ # })
1009
+ #
1010
+ # @example Response structure
1011
+ #
1012
+ # resp.items #=> Array
1013
+ # resp.items[0].approximate_duration_seconds #=> Integer
1014
+ # resp.items[0].approximate_start_time #=> Time
1015
+ # resp.items[0].arn #=> String
1016
+ # resp.items[0].channel_name #=> String
1017
+ # resp.items[0].program_name #=> String
1018
+ # resp.items[0].schedule_ad_breaks #=> Array
1019
+ # resp.items[0].schedule_ad_breaks[0].approximate_duration_seconds #=> Integer
1020
+ # resp.items[0].schedule_ad_breaks[0].approximate_start_time #=> Time
1021
+ # resp.items[0].schedule_ad_breaks[0].source_location_name #=> String
1022
+ # resp.items[0].schedule_ad_breaks[0].vod_source_name #=> String
1023
+ # resp.items[0].source_location_name #=> String
1024
+ # resp.items[0].vod_source_name #=> String
1025
+ # resp.next_token #=> String
1026
+ #
1027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelSchedule AWS API Documentation
1028
+ #
1029
+ # @overload get_channel_schedule(params = {})
1030
+ # @param [Hash] params ({})
1031
+ def get_channel_schedule(params = {}, options = {})
1032
+ req = build_request(:get_channel_schedule, params)
1033
+ req.send_request(options)
1034
+ end
1035
+
351
1036
  # Returns the playback configuration for the specified name.
352
1037
  #
353
1038
  # @option params [required, String] :name
@@ -358,13 +1043,13 @@ module Aws::MediaTailor
358
1043
  # * {Types::GetPlaybackConfigurationResponse#avail_suppression #avail_suppression} => Types::AvailSuppression
359
1044
  # * {Types::GetPlaybackConfigurationResponse#bumper #bumper} => Types::Bumper
360
1045
  # * {Types::GetPlaybackConfigurationResponse#cdn_configuration #cdn_configuration} => Types::CdnConfiguration
361
- # * {Types::GetPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
362
1046
  # * {Types::GetPlaybackConfigurationResponse#configuration_aliases #configuration_aliases} => Hash&lt;String,Hash&lt;String,String&gt;&gt;
363
1047
  # * {Types::GetPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
364
1048
  # * {Types::GetPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
365
1049
  # * {Types::GetPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
366
1050
  # * {Types::GetPlaybackConfigurationResponse#manifest_processing_rules #manifest_processing_rules} => Types::ManifestProcessingRules
367
1051
  # * {Types::GetPlaybackConfigurationResponse#name #name} => String
1052
+ # * {Types::GetPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
368
1053
  # * {Types::GetPlaybackConfigurationResponse#playback_configuration_arn #playback_configuration_arn} => String
369
1054
  # * {Types::GetPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
370
1055
  # * {Types::GetPlaybackConfigurationResponse#session_initialization_endpoint_prefix #session_initialization_endpoint_prefix} => String
@@ -388,7 +1073,6 @@ module Aws::MediaTailor
388
1073
  # resp.bumper.start_url #=> String
389
1074
  # resp.cdn_configuration.ad_segment_url_prefix #=> String
390
1075
  # resp.cdn_configuration.content_segment_url_prefix #=> String
391
- # resp.personalization_threshold_seconds #=> Integer
392
1076
  # resp.configuration_aliases #=> Hash
393
1077
  # resp.configuration_aliases["__string"] #=> Hash
394
1078
  # resp.configuration_aliases["__string"]["__string"] #=> String
@@ -400,6 +1084,7 @@ module Aws::MediaTailor
400
1084
  # resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
401
1085
  # resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
402
1086
  # resp.name #=> String
1087
+ # resp.personalization_threshold_seconds #=> Integer
403
1088
  # resp.playback_configuration_arn #=> String
404
1089
  # resp.playback_endpoint_prefix #=> String
405
1090
  # resp.session_initialization_endpoint_prefix #=> String
@@ -418,6 +1103,57 @@ module Aws::MediaTailor
418
1103
  req.send_request(options)
419
1104
  end
420
1105
 
1106
+ # Retrieves a list of channels that are associated with this account.
1107
+ #
1108
+ # @option params [Integer] :max_results
1109
+ #
1110
+ # @option params [String] :next_token
1111
+ #
1112
+ # @return [Types::ListChannelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1113
+ #
1114
+ # * {Types::ListChannelsResponse#items #items} => Array&lt;Types::Channel&gt;
1115
+ # * {Types::ListChannelsResponse#next_token #next_token} => String
1116
+ #
1117
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1118
+ #
1119
+ # @example Request syntax with placeholder values
1120
+ #
1121
+ # resp = client.list_channels({
1122
+ # max_results: 1,
1123
+ # next_token: "__string",
1124
+ # })
1125
+ #
1126
+ # @example Response structure
1127
+ #
1128
+ # resp.items #=> Array
1129
+ # resp.items[0].arn #=> String
1130
+ # resp.items[0].channel_name #=> String
1131
+ # resp.items[0].channel_state #=> String
1132
+ # resp.items[0].creation_time #=> Time
1133
+ # resp.items[0].last_modified_time #=> Time
1134
+ # resp.items[0].outputs #=> Array
1135
+ # resp.items[0].outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
1136
+ # resp.items[0].outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
1137
+ # resp.items[0].outputs[0].dash_playlist_settings.min_update_period_seconds #=> Integer
1138
+ # resp.items[0].outputs[0].dash_playlist_settings.suggested_presentation_delay_seconds #=> Integer
1139
+ # resp.items[0].outputs[0].hls_playlist_settings.manifest_window_seconds #=> Integer
1140
+ # resp.items[0].outputs[0].manifest_name #=> String
1141
+ # resp.items[0].outputs[0].playback_url #=> String
1142
+ # resp.items[0].outputs[0].source_group #=> String
1143
+ # resp.items[0].playback_mode #=> String
1144
+ # resp.items[0].tags #=> Hash
1145
+ # resp.items[0].tags["__string"] #=> String
1146
+ # resp.next_token #=> String
1147
+ #
1148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListChannels AWS API Documentation
1149
+ #
1150
+ # @overload list_channels(params = {})
1151
+ # @param [Hash] params ({})
1152
+ def list_channels(params = {}, options = {})
1153
+ req = build_request(:list_channels, params)
1154
+ req.send_request(options)
1155
+ end
1156
+
421
1157
  # Returns a list of the playback configurations defined in AWS Elemental
422
1158
  # MediaTailor. You can specify a maximum number of configurations to
423
1159
  # return at a time. The default maximum is 50. Results are returned in
@@ -447,9 +1183,12 @@ module Aws::MediaTailor
447
1183
  #
448
1184
  # resp.items #=> Array
449
1185
  # resp.items[0].ad_decision_server_url #=> String
1186
+ # resp.items[0].avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE"
1187
+ # resp.items[0].avail_suppression.value #=> String
1188
+ # resp.items[0].bumper.end_url #=> String
1189
+ # resp.items[0].bumper.start_url #=> String
450
1190
  # resp.items[0].cdn_configuration.ad_segment_url_prefix #=> String
451
1191
  # resp.items[0].cdn_configuration.content_segment_url_prefix #=> String
452
- # resp.items[0].personalization_threshold_seconds #=> Integer
453
1192
  # resp.items[0].configuration_aliases #=> Hash
454
1193
  # resp.items[0].configuration_aliases["__string"] #=> Hash
455
1194
  # resp.items[0].configuration_aliases["__string"]["__string"] #=> String
@@ -457,7 +1196,11 @@ module Aws::MediaTailor
457
1196
  # resp.items[0].dash_configuration.mpd_location #=> String
458
1197
  # resp.items[0].dash_configuration.origin_manifest_type #=> String, one of "SINGLE_PERIOD", "MULTI_PERIOD"
459
1198
  # resp.items[0].hls_configuration.manifest_endpoint_prefix #=> String
1199
+ # resp.items[0].live_pre_roll_configuration.ad_decision_server_url #=> String
1200
+ # resp.items[0].live_pre_roll_configuration.max_duration_seconds #=> Integer
1201
+ # resp.items[0].manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
460
1202
  # resp.items[0].name #=> String
1203
+ # resp.items[0].personalization_threshold_seconds #=> Integer
461
1204
  # resp.items[0].playback_configuration_arn #=> String
462
1205
  # resp.items[0].playback_endpoint_prefix #=> String
463
1206
  # resp.items[0].session_initialization_endpoint_prefix #=> String
@@ -477,6 +1220,52 @@ module Aws::MediaTailor
477
1220
  req.send_request(options)
478
1221
  end
479
1222
 
1223
+ # Retrieves a list of source locations.
1224
+ #
1225
+ # @option params [Integer] :max_results
1226
+ #
1227
+ # @option params [String] :next_token
1228
+ #
1229
+ # @return [Types::ListSourceLocationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1230
+ #
1231
+ # * {Types::ListSourceLocationsResponse#items #items} => Array&lt;Types::SourceLocation&gt;
1232
+ # * {Types::ListSourceLocationsResponse#next_token #next_token} => String
1233
+ #
1234
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1235
+ #
1236
+ # @example Request syntax with placeholder values
1237
+ #
1238
+ # resp = client.list_source_locations({
1239
+ # max_results: 1,
1240
+ # next_token: "__string",
1241
+ # })
1242
+ #
1243
+ # @example Response structure
1244
+ #
1245
+ # resp.items #=> Array
1246
+ # resp.items[0].access_configuration.access_type #=> String, one of "S3_SIGV4", "SECRETS_MANAGER_ACCESS_TOKEN"
1247
+ # resp.items[0].access_configuration.secrets_manager_access_token_configuration.header_name #=> String
1248
+ # resp.items[0].access_configuration.secrets_manager_access_token_configuration.secret_arn #=> String
1249
+ # resp.items[0].access_configuration.secrets_manager_access_token_configuration.secret_string_key #=> String
1250
+ # resp.items[0].arn #=> String
1251
+ # resp.items[0].creation_time #=> Time
1252
+ # resp.items[0].default_segment_delivery_configuration.base_url #=> String
1253
+ # resp.items[0].http_configuration.base_url #=> String
1254
+ # resp.items[0].last_modified_time #=> Time
1255
+ # resp.items[0].source_location_name #=> String
1256
+ # resp.items[0].tags #=> Hash
1257
+ # resp.items[0].tags["__string"] #=> String
1258
+ # resp.next_token #=> String
1259
+ #
1260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListSourceLocations AWS API Documentation
1261
+ #
1262
+ # @overload list_source_locations(params = {})
1263
+ # @param [Hash] params ({})
1264
+ def list_source_locations(params = {}, options = {})
1265
+ req = build_request(:list_source_locations, params)
1266
+ req.send_request(options)
1267
+ end
1268
+
480
1269
  # Returns a list of the tags assigned to the specified playback
481
1270
  # configuration resource.
482
1271
  #
@@ -506,6 +1295,79 @@ module Aws::MediaTailor
506
1295
  req.send_request(options)
507
1296
  end
508
1297
 
1298
+ # Lists all the VOD sources in a source location.
1299
+ #
1300
+ # @option params [Integer] :max_results
1301
+ #
1302
+ # @option params [String] :next_token
1303
+ #
1304
+ # @option params [required, String] :source_location_name
1305
+ #
1306
+ # @return [Types::ListVodSourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1307
+ #
1308
+ # * {Types::ListVodSourcesResponse#items #items} => Array&lt;Types::VodSource&gt;
1309
+ # * {Types::ListVodSourcesResponse#next_token #next_token} => String
1310
+ #
1311
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1312
+ #
1313
+ # @example Request syntax with placeholder values
1314
+ #
1315
+ # resp = client.list_vod_sources({
1316
+ # max_results: 1,
1317
+ # next_token: "__string",
1318
+ # source_location_name: "__string", # required
1319
+ # })
1320
+ #
1321
+ # @example Response structure
1322
+ #
1323
+ # resp.items #=> Array
1324
+ # resp.items[0].arn #=> String
1325
+ # resp.items[0].creation_time #=> Time
1326
+ # resp.items[0].http_package_configurations #=> Array
1327
+ # resp.items[0].http_package_configurations[0].path #=> String
1328
+ # resp.items[0].http_package_configurations[0].source_group #=> String
1329
+ # resp.items[0].http_package_configurations[0].type #=> String, one of "DASH", "HLS"
1330
+ # resp.items[0].last_modified_time #=> Time
1331
+ # resp.items[0].source_location_name #=> String
1332
+ # resp.items[0].tags #=> Hash
1333
+ # resp.items[0].tags["__string"] #=> String
1334
+ # resp.items[0].vod_source_name #=> String
1335
+ # resp.next_token #=> String
1336
+ #
1337
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListVodSources AWS API Documentation
1338
+ #
1339
+ # @overload list_vod_sources(params = {})
1340
+ # @param [Hash] params ({})
1341
+ def list_vod_sources(params = {}, options = {})
1342
+ req = build_request(:list_vod_sources, params)
1343
+ req.send_request(options)
1344
+ end
1345
+
1346
+ # Creates an IAM policy for the channel.
1347
+ #
1348
+ # @option params [required, String] :channel_name
1349
+ #
1350
+ # @option params [required, String] :policy
1351
+ # Adds an IAM role that determines the permissions of your channel.
1352
+ #
1353
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1354
+ #
1355
+ # @example Request syntax with placeholder values
1356
+ #
1357
+ # resp = client.put_channel_policy({
1358
+ # channel_name: "__string", # required
1359
+ # policy: "__string", # required
1360
+ # })
1361
+ #
1362
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutChannelPolicy AWS API Documentation
1363
+ #
1364
+ # @overload put_channel_policy(params = {})
1365
+ # @param [Hash] params ({})
1366
+ def put_channel_policy(params = {}, options = {})
1367
+ req = build_request(:put_channel_policy, params)
1368
+ req.send_request(options)
1369
+ end
1370
+
509
1371
  # Adds a new playback configuration to AWS Elemental MediaTailor.
510
1372
  #
511
1373
  # @option params [String] :ad_decision_server_url
@@ -517,22 +1379,34 @@ module Aws::MediaTailor
517
1379
  # maximum length is 25,000 characters.
518
1380
  #
519
1381
  # @option params [Types::AvailSuppression] :avail_suppression
520
- # The configuration for Avail Suppression.
1382
+ # The configuration for avail suppression, also known as ad suppression.
1383
+ # For more information about ad suppression, see [Ad Suppression][1].
1384
+ #
1385
+ #
1386
+ #
1387
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
521
1388
  #
522
1389
  # @option params [Types::Bumper] :bumper
523
1390
  # 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.
1391
+ # that play at the start or before the end of an ad break. To learn more
1392
+ # about bumpers, see [Bumpers][1].
1393
+ #
1394
+ #
1395
+ #
1396
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html
525
1397
  #
526
1398
  # @option params [Types::CdnConfiguration] :cdn_configuration
527
1399
  # The configuration for using a content delivery network (CDN), like
528
1400
  # Amazon CloudFront, for content and ad segment management.
529
1401
  #
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
1402
  # @option params [Hash<String,Hash>] :configuration_aliases
535
- # Predefined aliases for dynamic variables.
1403
+ # The player parameters and aliases used as dynamic variables during
1404
+ # session initialization. For more information, see [Domain
1405
+ # Variables][1].
1406
+ #
1407
+ #
1408
+ #
1409
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domain.html
536
1410
  #
537
1411
  # @option params [Types::DashConfigurationForPut] :dash_configuration
538
1412
  # The configuration for DASH content.
@@ -548,6 +1422,20 @@ module Aws::MediaTailor
548
1422
  # @option params [String] :name
549
1423
  # The identifier for the playback configuration.
550
1424
  #
1425
+ # @option params [Integer] :personalization_threshold_seconds
1426
+ # Defines the maximum duration of underfilled ad time (in seconds)
1427
+ # allowed in an ad break. If the duration of underfilled ad time exceeds
1428
+ # the personalization threshold, then the personalization of the ad
1429
+ # break is abandoned and the underlying content is shown. This feature
1430
+ # applies to *ad replacement* in live and VOD streams, rather than ad
1431
+ # insertion, because it relies on an underlying content stream. For more
1432
+ # information about ad break behavior, including ad replacement and
1433
+ # insertion, see [Ad Behavior in AWS Elemental MediaTailor][1].
1434
+ #
1435
+ #
1436
+ #
1437
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
1438
+ #
551
1439
  # @option params [String] :slate_ad_url
552
1440
  # The URL for a high-quality video asset to transcode and use to fill in
553
1441
  # time that's not used by ads. AWS Elemental MediaTailor shows the
@@ -567,7 +1455,7 @@ module Aws::MediaTailor
567
1455
  # custom profiles with the help of AWS Support.
568
1456
  #
569
1457
  # @option params [String] :video_content_source_url
570
- # The URL prefix for the master playlist for the stream, minus the asset
1458
+ # The URL prefix for the parent manifest for the stream, minus the asset
571
1459
  # ID. The maximum length is 512 characters.
572
1460
  #
573
1461
  # @return [Types::PutPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -580,8 +1468,9 @@ module Aws::MediaTailor
580
1468
  # * {Types::PutPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
581
1469
  # * {Types::PutPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
582
1470
  # * {Types::PutPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
583
- # * {Types::PutPlaybackConfigurationResponse#name #name} => String
584
1471
  # * {Types::PutPlaybackConfigurationResponse#manifest_processing_rules #manifest_processing_rules} => Types::ManifestProcessingRules
1472
+ # * {Types::PutPlaybackConfigurationResponse#name #name} => String
1473
+ # * {Types::PutPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
585
1474
  # * {Types::PutPlaybackConfigurationResponse#playback_configuration_arn #playback_configuration_arn} => String
586
1475
  # * {Types::PutPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
587
1476
  # * {Types::PutPlaybackConfigurationResponse#session_initialization_endpoint_prefix #session_initialization_endpoint_prefix} => String
@@ -606,7 +1495,6 @@ module Aws::MediaTailor
606
1495
  # ad_segment_url_prefix: "__string",
607
1496
  # content_segment_url_prefix: "__string",
608
1497
  # },
609
- # personalization_threshold_seconds: 1,
610
1498
  # configuration_aliases: {
611
1499
  # "__string" => {
612
1500
  # "__string" => "__string",
@@ -626,6 +1514,7 @@ module Aws::MediaTailor
626
1514
  # },
627
1515
  # },
628
1516
  # name: "__string",
1517
+ # personalization_threshold_seconds: 1,
629
1518
  # slate_ad_url: "__string",
630
1519
  # tags: {
631
1520
  # "__string" => "__string",
@@ -652,8 +1541,9 @@ module Aws::MediaTailor
652
1541
  # resp.hls_configuration.manifest_endpoint_prefix #=> String
653
1542
  # resp.live_pre_roll_configuration.ad_decision_server_url #=> String
654
1543
  # resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
655
- # resp.name #=> String
656
1544
  # resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
1545
+ # resp.name #=> String
1546
+ # resp.personalization_threshold_seconds #=> Integer
657
1547
  # resp.playback_configuration_arn #=> String
658
1548
  # resp.playback_endpoint_prefix #=> String
659
1549
  # resp.session_initialization_endpoint_prefix #=> String
@@ -672,6 +1562,48 @@ module Aws::MediaTailor
672
1562
  req.send_request(options)
673
1563
  end
674
1564
 
1565
+ # Starts a specific channel.
1566
+ #
1567
+ # @option params [required, String] :channel_name
1568
+ #
1569
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1570
+ #
1571
+ # @example Request syntax with placeholder values
1572
+ #
1573
+ # resp = client.start_channel({
1574
+ # channel_name: "__string", # required
1575
+ # })
1576
+ #
1577
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StartChannel AWS API Documentation
1578
+ #
1579
+ # @overload start_channel(params = {})
1580
+ # @param [Hash] params ({})
1581
+ def start_channel(params = {}, options = {})
1582
+ req = build_request(:start_channel, params)
1583
+ req.send_request(options)
1584
+ end
1585
+
1586
+ # Stops a specific channel.
1587
+ #
1588
+ # @option params [required, String] :channel_name
1589
+ #
1590
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1591
+ #
1592
+ # @example Request syntax with placeholder values
1593
+ #
1594
+ # resp = client.stop_channel({
1595
+ # channel_name: "__string", # required
1596
+ # })
1597
+ #
1598
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StopChannel AWS API Documentation
1599
+ #
1600
+ # @overload stop_channel(params = {})
1601
+ # @param [Hash] params ({})
1602
+ def stop_channel(params = {}, options = {})
1603
+ req = build_request(:stop_channel, params)
1604
+ req.send_request(options)
1605
+ end
1606
+
675
1607
  # Adds tags to the specified playback configuration resource. You can
676
1608
  # specify one or more tags to add.
677
1609
  #
@@ -724,6 +1656,200 @@ module Aws::MediaTailor
724
1656
  req.send_request(options)
725
1657
  end
726
1658
 
1659
+ # Updates an existing channel.
1660
+ #
1661
+ # @option params [required, String] :channel_name
1662
+ #
1663
+ # @option params [required, Array<Types::RequestOutputItem>] :outputs
1664
+ # The channel's output properties.
1665
+ #
1666
+ # @return [Types::UpdateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1667
+ #
1668
+ # * {Types::UpdateChannelResponse#arn #arn} => String
1669
+ # * {Types::UpdateChannelResponse#channel_name #channel_name} => String
1670
+ # * {Types::UpdateChannelResponse#channel_state #channel_state} => String
1671
+ # * {Types::UpdateChannelResponse#creation_time #creation_time} => Time
1672
+ # * {Types::UpdateChannelResponse#last_modified_time #last_modified_time} => Time
1673
+ # * {Types::UpdateChannelResponse#outputs #outputs} => Array&lt;Types::ResponseOutputItem&gt;
1674
+ # * {Types::UpdateChannelResponse#playback_mode #playback_mode} => String
1675
+ # * {Types::UpdateChannelResponse#tags #tags} => Hash&lt;String,String&gt;
1676
+ #
1677
+ # @example Request syntax with placeholder values
1678
+ #
1679
+ # resp = client.update_channel({
1680
+ # channel_name: "__string", # required
1681
+ # outputs: [ # required
1682
+ # {
1683
+ # dash_playlist_settings: {
1684
+ # manifest_window_seconds: 1,
1685
+ # min_buffer_time_seconds: 1,
1686
+ # min_update_period_seconds: 1,
1687
+ # suggested_presentation_delay_seconds: 1,
1688
+ # },
1689
+ # hls_playlist_settings: {
1690
+ # manifest_window_seconds: 1,
1691
+ # },
1692
+ # manifest_name: "__string", # required
1693
+ # source_group: "__string", # required
1694
+ # },
1695
+ # ],
1696
+ # })
1697
+ #
1698
+ # @example Response structure
1699
+ #
1700
+ # resp.arn #=> String
1701
+ # resp.channel_name #=> String
1702
+ # resp.channel_state #=> String, one of "RUNNING", "STOPPED"
1703
+ # resp.creation_time #=> Time
1704
+ # resp.last_modified_time #=> Time
1705
+ # resp.outputs #=> Array
1706
+ # resp.outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
1707
+ # resp.outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
1708
+ # resp.outputs[0].dash_playlist_settings.min_update_period_seconds #=> Integer
1709
+ # resp.outputs[0].dash_playlist_settings.suggested_presentation_delay_seconds #=> Integer
1710
+ # resp.outputs[0].hls_playlist_settings.manifest_window_seconds #=> Integer
1711
+ # resp.outputs[0].manifest_name #=> String
1712
+ # resp.outputs[0].playback_url #=> String
1713
+ # resp.outputs[0].source_group #=> String
1714
+ # resp.playback_mode #=> String
1715
+ # resp.tags #=> Hash
1716
+ # resp.tags["__string"] #=> String
1717
+ #
1718
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannel AWS API Documentation
1719
+ #
1720
+ # @overload update_channel(params = {})
1721
+ # @param [Hash] params ({})
1722
+ def update_channel(params = {}, options = {})
1723
+ req = build_request(:update_channel, params)
1724
+ req.send_request(options)
1725
+ end
1726
+
1727
+ # Updates a source location on a specific channel.
1728
+ #
1729
+ # @option params [Types::AccessConfiguration] :access_configuration
1730
+ # Access configuration parameters. Configures the type of authentication
1731
+ # used to access content from your source location.
1732
+ #
1733
+ # @option params [Types::DefaultSegmentDeliveryConfiguration] :default_segment_delivery_configuration
1734
+ # The optional configuration for the host server that serves segments.
1735
+ #
1736
+ # @option params [required, Types::HttpConfiguration] :http_configuration
1737
+ # The HTTP configuration for the source location.
1738
+ #
1739
+ # @option params [required, String] :source_location_name
1740
+ #
1741
+ # @return [Types::UpdateSourceLocationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1742
+ #
1743
+ # * {Types::UpdateSourceLocationResponse#access_configuration #access_configuration} => Types::AccessConfiguration
1744
+ # * {Types::UpdateSourceLocationResponse#arn #arn} => String
1745
+ # * {Types::UpdateSourceLocationResponse#creation_time #creation_time} => Time
1746
+ # * {Types::UpdateSourceLocationResponse#default_segment_delivery_configuration #default_segment_delivery_configuration} => Types::DefaultSegmentDeliveryConfiguration
1747
+ # * {Types::UpdateSourceLocationResponse#http_configuration #http_configuration} => Types::HttpConfiguration
1748
+ # * {Types::UpdateSourceLocationResponse#last_modified_time #last_modified_time} => Time
1749
+ # * {Types::UpdateSourceLocationResponse#source_location_name #source_location_name} => String
1750
+ # * {Types::UpdateSourceLocationResponse#tags #tags} => Hash&lt;String,String&gt;
1751
+ #
1752
+ # @example Request syntax with placeholder values
1753
+ #
1754
+ # resp = client.update_source_location({
1755
+ # access_configuration: {
1756
+ # access_type: "S3_SIGV4", # accepts S3_SIGV4, SECRETS_MANAGER_ACCESS_TOKEN
1757
+ # secrets_manager_access_token_configuration: {
1758
+ # header_name: "__string",
1759
+ # secret_arn: "__string",
1760
+ # secret_string_key: "__string",
1761
+ # },
1762
+ # },
1763
+ # default_segment_delivery_configuration: {
1764
+ # base_url: "__string",
1765
+ # },
1766
+ # http_configuration: { # required
1767
+ # base_url: "__string", # required
1768
+ # },
1769
+ # source_location_name: "__string", # required
1770
+ # })
1771
+ #
1772
+ # @example Response structure
1773
+ #
1774
+ # resp.access_configuration.access_type #=> String, one of "S3_SIGV4", "SECRETS_MANAGER_ACCESS_TOKEN"
1775
+ # resp.access_configuration.secrets_manager_access_token_configuration.header_name #=> String
1776
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_arn #=> String
1777
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_string_key #=> String
1778
+ # resp.arn #=> String
1779
+ # resp.creation_time #=> Time
1780
+ # resp.default_segment_delivery_configuration.base_url #=> String
1781
+ # resp.http_configuration.base_url #=> String
1782
+ # resp.last_modified_time #=> Time
1783
+ # resp.source_location_name #=> String
1784
+ # resp.tags #=> Hash
1785
+ # resp.tags["__string"] #=> String
1786
+ #
1787
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateSourceLocation AWS API Documentation
1788
+ #
1789
+ # @overload update_source_location(params = {})
1790
+ # @param [Hash] params ({})
1791
+ def update_source_location(params = {}, options = {})
1792
+ req = build_request(:update_source_location, params)
1793
+ req.send_request(options)
1794
+ end
1795
+
1796
+ # Updates a specific VOD source in a specific source location.
1797
+ #
1798
+ # @option params [required, Array<Types::HttpPackageConfiguration>] :http_package_configurations
1799
+ # An array of HTTP package configurations for the VOD source on this
1800
+ # account.
1801
+ #
1802
+ # @option params [required, String] :source_location_name
1803
+ #
1804
+ # @option params [required, String] :vod_source_name
1805
+ #
1806
+ # @return [Types::UpdateVodSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1807
+ #
1808
+ # * {Types::UpdateVodSourceResponse#arn #arn} => String
1809
+ # * {Types::UpdateVodSourceResponse#creation_time #creation_time} => Time
1810
+ # * {Types::UpdateVodSourceResponse#http_package_configurations #http_package_configurations} => Array&lt;Types::HttpPackageConfiguration&gt;
1811
+ # * {Types::UpdateVodSourceResponse#last_modified_time #last_modified_time} => Time
1812
+ # * {Types::UpdateVodSourceResponse#source_location_name #source_location_name} => String
1813
+ # * {Types::UpdateVodSourceResponse#tags #tags} => Hash&lt;String,String&gt;
1814
+ # * {Types::UpdateVodSourceResponse#vod_source_name #vod_source_name} => String
1815
+ #
1816
+ # @example Request syntax with placeholder values
1817
+ #
1818
+ # resp = client.update_vod_source({
1819
+ # http_package_configurations: [ # required
1820
+ # {
1821
+ # path: "__string", # required
1822
+ # source_group: "__string", # required
1823
+ # type: "DASH", # required, accepts DASH, HLS
1824
+ # },
1825
+ # ],
1826
+ # source_location_name: "__string", # required
1827
+ # vod_source_name: "__string", # required
1828
+ # })
1829
+ #
1830
+ # @example Response structure
1831
+ #
1832
+ # resp.arn #=> String
1833
+ # resp.creation_time #=> Time
1834
+ # resp.http_package_configurations #=> Array
1835
+ # resp.http_package_configurations[0].path #=> String
1836
+ # resp.http_package_configurations[0].source_group #=> String
1837
+ # resp.http_package_configurations[0].type #=> String, one of "DASH", "HLS"
1838
+ # resp.last_modified_time #=> Time
1839
+ # resp.source_location_name #=> String
1840
+ # resp.tags #=> Hash
1841
+ # resp.tags["__string"] #=> String
1842
+ # resp.vod_source_name #=> String
1843
+ #
1844
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateVodSource AWS API Documentation
1845
+ #
1846
+ # @overload update_vod_source(params = {})
1847
+ # @param [Hash] params ({})
1848
+ def update_vod_source(params = {}, options = {})
1849
+ req = build_request(:update_vod_source, params)
1850
+ req.send_request(options)
1851
+ end
1852
+
727
1853
  # @!endgroup
728
1854
 
729
1855
  # @param params ({})
@@ -737,7 +1863,7 @@ module Aws::MediaTailor
737
1863
  params: params,
738
1864
  config: config)
739
1865
  context[:gem_name] = 'aws-sdk-mediatailor'
740
- context[:gem_version] = '1.35.0'
1866
+ context[:gem_version] = '1.40.0'
741
1867
  Seahorse::Client::Request.new(handlers, context)
742
1868
  end
743
1869