aws-sdk-mediatailor 1.36.0 → 1.41.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ce581813e4ada524bebdbdac8d18ac9c523e2bfba47063d480118df4a027c2de
4
- data.tar.gz: 2c67ec15cb2f466647bfef836de05765f614fd9dd8bb8a15e7c18c987c592555
3
+ metadata.gz: 21a074898a077c5d54a90ca1da6bae6e76b33e081298544e0c9ea8bfd5d6c4e6
4
+ data.tar.gz: bf380373f45881ef3eb786df7c556f780e0b00c9aaf67afaaf9de4ebece012e1
5
5
  SHA512:
6
- metadata.gz: d3a56a35d1f7782465c65c2f09ff9127b5b4b7952cf525c5c37e0c77b2b0adc4a8529a9853605b03269bbdcf4da9c67e9fbd899d81d24a30ea79d37e26fb2e92
7
- data.tar.gz: 7a866b63c429846eeca68d802cab3d2bb4426d59e79ef2c09ecf7c2b14d31bc783f209172fadd1244b111fbd50490747ced1be3abe1d78ead05b01a41b2cb9cf
6
+ metadata.gz: 4180b323d01571adbd8f8c807d58285ab8e8abb8eb3413c0b5c8d7d0fc4a72c86d4b324f716b625fb1192ebfbcc05a1d3e48bb320c7f773302b0a612c2371e40
7
+ data.tar.gz: 16fcff6012071f71c43724d2ce12adb12961be5083f81c98a966e69050c2d8edea1274e0ab1f7568437e00491160a3f4348fca8d83c04a0492dee9c377bf6d44
data/CHANGELOG.md CHANGED
@@ -1,6 +1,31 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2021-07-08)
5
+ ------------------
6
+
7
+ * Feature - Add ListAlerts for Channel, Program, Source Location, and VOD Source to return alerts for resources.
8
+
9
+ 1.40.0 (2021-06-23)
10
+ ------------------
11
+
12
+ * Feature - Update GetChannelSchedule to return information on ad breaks.
13
+
14
+ 1.39.0 (2021-06-16)
15
+ ------------------
16
+
17
+ * Feature - Adds AWS Secrets Manager Access Token Authentication for Source Locations
18
+
19
+ 1.38.0 (2021-03-16)
20
+ ------------------
21
+
22
+ * Feature - MediaTailor channel assembly is a new manifest-only service that allows you to assemble linear streams using your existing VOD content.
23
+
24
+ 1.37.0 (2021-03-12)
25
+ ------------------
26
+
27
+ * Feature - MediaTailor channel assembly is a new manifest-only service that allows you to assemble linear streams using your existing VOD content.
28
+
4
29
  1.36.0 (2021-03-10)
5
30
  ------------------
6
31
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.36.0
1
+ 1.41.0
@@ -28,7 +28,7 @@ require_relative 'aws-sdk-mediatailor/customizations'
28
28
  # structure.
29
29
  #
30
30
  # media_tailor = Aws::MediaTailor::Client.new
31
- # resp = media_tailor.delete_playback_configuration(params)
31
+ # resp = media_tailor.create_channel(params)
32
32
  #
33
33
  # See {Client} for more information.
34
34
  #
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-mediatailor/customizations'
48
48
  # @!group service
49
49
  module Aws::MediaTailor
50
50
 
51
- GEM_VERSION = '1.36.0'
51
+ GEM_VERSION = '1.41.0'
52
52
 
53
53
  end
@@ -327,24 +327,709 @@ 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
333
678
  #
334
679
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
335
680
  #
336
- # @example Request syntax with placeholder values
681
+ # @example Request syntax with placeholder values
682
+ #
683
+ # resp = client.delete_playback_configuration({
684
+ # name: "__string", # required
685
+ # })
686
+ #
687
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfiguration AWS API Documentation
688
+ #
689
+ # @overload delete_playback_configuration(params = {})
690
+ # @param [Hash] params ({})
691
+ def delete_playback_configuration(params = {}, options = {})
692
+ req = build_request(:delete_playback_configuration, params)
693
+ req.send_request(options)
694
+ end
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
337
1011
  #
338
- # resp = client.delete_playback_configuration({
339
- # name: "__string", # required
340
- # })
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
341
1026
  #
342
- # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/DeletePlaybackConfiguration AWS API Documentation
1027
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelSchedule AWS API Documentation
343
1028
  #
344
- # @overload delete_playback_configuration(params = {})
1029
+ # @overload get_channel_schedule(params = {})
345
1030
  # @param [Hash] params ({})
346
- def delete_playback_configuration(params = {}, options = {})
347
- req = build_request(:delete_playback_configuration, params)
1031
+ def get_channel_schedule(params = {}, options = {})
1032
+ req = build_request(:get_channel_schedule, params)
348
1033
  req.send_request(options)
349
1034
  end
350
1035
 
@@ -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,100 @@ module Aws::MediaTailor
418
1103
  req.send_request(options)
419
1104
  end
420
1105
 
1106
+ # Returns a list of alerts for the given resource.
1107
+ #
1108
+ # @option params [Integer] :max_results
1109
+ #
1110
+ # @option params [String] :next_token
1111
+ #
1112
+ # @option params [required, String] :resource_arn
1113
+ #
1114
+ # @return [Types::ListAlertsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1115
+ #
1116
+ # * {Types::ListAlertsResponse#items #items} => Array&lt;Types::Alert&gt;
1117
+ # * {Types::ListAlertsResponse#next_token #next_token} => String
1118
+ #
1119
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1120
+ #
1121
+ # @example Request syntax with placeholder values
1122
+ #
1123
+ # resp = client.list_alerts({
1124
+ # max_results: 1,
1125
+ # next_token: "__string",
1126
+ # resource_arn: "__string", # required
1127
+ # })
1128
+ #
1129
+ # @example Response structure
1130
+ #
1131
+ # resp.items #=> Array
1132
+ # resp.items[0].alert_code #=> String
1133
+ # resp.items[0].alert_message #=> String
1134
+ # resp.items[0].last_modified_time #=> Time
1135
+ # resp.items[0].related_resource_arns #=> Array
1136
+ # resp.items[0].related_resource_arns[0] #=> String
1137
+ # resp.items[0].resource_arn #=> String
1138
+ # resp.next_token #=> String
1139
+ #
1140
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListAlerts AWS API Documentation
1141
+ #
1142
+ # @overload list_alerts(params = {})
1143
+ # @param [Hash] params ({})
1144
+ def list_alerts(params = {}, options = {})
1145
+ req = build_request(:list_alerts, params)
1146
+ req.send_request(options)
1147
+ end
1148
+
1149
+ # Retrieves a list of channels that are associated with this account.
1150
+ #
1151
+ # @option params [Integer] :max_results
1152
+ #
1153
+ # @option params [String] :next_token
1154
+ #
1155
+ # @return [Types::ListChannelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1156
+ #
1157
+ # * {Types::ListChannelsResponse#items #items} => Array&lt;Types::Channel&gt;
1158
+ # * {Types::ListChannelsResponse#next_token #next_token} => String
1159
+ #
1160
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1161
+ #
1162
+ # @example Request syntax with placeholder values
1163
+ #
1164
+ # resp = client.list_channels({
1165
+ # max_results: 1,
1166
+ # next_token: "__string",
1167
+ # })
1168
+ #
1169
+ # @example Response structure
1170
+ #
1171
+ # resp.items #=> Array
1172
+ # resp.items[0].arn #=> String
1173
+ # resp.items[0].channel_name #=> String
1174
+ # resp.items[0].channel_state #=> String
1175
+ # resp.items[0].creation_time #=> Time
1176
+ # resp.items[0].last_modified_time #=> Time
1177
+ # resp.items[0].outputs #=> Array
1178
+ # resp.items[0].outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
1179
+ # resp.items[0].outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
1180
+ # resp.items[0].outputs[0].dash_playlist_settings.min_update_period_seconds #=> Integer
1181
+ # resp.items[0].outputs[0].dash_playlist_settings.suggested_presentation_delay_seconds #=> Integer
1182
+ # resp.items[0].outputs[0].hls_playlist_settings.manifest_window_seconds #=> Integer
1183
+ # resp.items[0].outputs[0].manifest_name #=> String
1184
+ # resp.items[0].outputs[0].playback_url #=> String
1185
+ # resp.items[0].outputs[0].source_group #=> String
1186
+ # resp.items[0].playback_mode #=> String
1187
+ # resp.items[0].tags #=> Hash
1188
+ # resp.items[0].tags["__string"] #=> String
1189
+ # resp.next_token #=> String
1190
+ #
1191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListChannels AWS API Documentation
1192
+ #
1193
+ # @overload list_channels(params = {})
1194
+ # @param [Hash] params ({})
1195
+ def list_channels(params = {}, options = {})
1196
+ req = build_request(:list_channels, params)
1197
+ req.send_request(options)
1198
+ end
1199
+
421
1200
  # Returns a list of the playback configurations defined in AWS Elemental
422
1201
  # MediaTailor. You can specify a maximum number of configurations to
423
1202
  # return at a time. The default maximum is 50. Results are returned in
@@ -447,9 +1226,12 @@ module Aws::MediaTailor
447
1226
  #
448
1227
  # resp.items #=> Array
449
1228
  # resp.items[0].ad_decision_server_url #=> String
1229
+ # resp.items[0].avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE"
1230
+ # resp.items[0].avail_suppression.value #=> String
1231
+ # resp.items[0].bumper.end_url #=> String
1232
+ # resp.items[0].bumper.start_url #=> String
450
1233
  # resp.items[0].cdn_configuration.ad_segment_url_prefix #=> String
451
1234
  # resp.items[0].cdn_configuration.content_segment_url_prefix #=> String
452
- # resp.items[0].personalization_threshold_seconds #=> Integer
453
1235
  # resp.items[0].configuration_aliases #=> Hash
454
1236
  # resp.items[0].configuration_aliases["__string"] #=> Hash
455
1237
  # resp.items[0].configuration_aliases["__string"]["__string"] #=> String
@@ -457,7 +1239,11 @@ module Aws::MediaTailor
457
1239
  # resp.items[0].dash_configuration.mpd_location #=> String
458
1240
  # resp.items[0].dash_configuration.origin_manifest_type #=> String, one of "SINGLE_PERIOD", "MULTI_PERIOD"
459
1241
  # resp.items[0].hls_configuration.manifest_endpoint_prefix #=> String
1242
+ # resp.items[0].live_pre_roll_configuration.ad_decision_server_url #=> String
1243
+ # resp.items[0].live_pre_roll_configuration.max_duration_seconds #=> Integer
1244
+ # resp.items[0].manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
460
1245
  # resp.items[0].name #=> String
1246
+ # resp.items[0].personalization_threshold_seconds #=> Integer
461
1247
  # resp.items[0].playback_configuration_arn #=> String
462
1248
  # resp.items[0].playback_endpoint_prefix #=> String
463
1249
  # resp.items[0].session_initialization_endpoint_prefix #=> String
@@ -477,6 +1263,52 @@ module Aws::MediaTailor
477
1263
  req.send_request(options)
478
1264
  end
479
1265
 
1266
+ # Retrieves a list of source locations.
1267
+ #
1268
+ # @option params [Integer] :max_results
1269
+ #
1270
+ # @option params [String] :next_token
1271
+ #
1272
+ # @return [Types::ListSourceLocationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1273
+ #
1274
+ # * {Types::ListSourceLocationsResponse#items #items} => Array&lt;Types::SourceLocation&gt;
1275
+ # * {Types::ListSourceLocationsResponse#next_token #next_token} => String
1276
+ #
1277
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1278
+ #
1279
+ # @example Request syntax with placeholder values
1280
+ #
1281
+ # resp = client.list_source_locations({
1282
+ # max_results: 1,
1283
+ # next_token: "__string",
1284
+ # })
1285
+ #
1286
+ # @example Response structure
1287
+ #
1288
+ # resp.items #=> Array
1289
+ # resp.items[0].access_configuration.access_type #=> String, one of "S3_SIGV4", "SECRETS_MANAGER_ACCESS_TOKEN"
1290
+ # resp.items[0].access_configuration.secrets_manager_access_token_configuration.header_name #=> String
1291
+ # resp.items[0].access_configuration.secrets_manager_access_token_configuration.secret_arn #=> String
1292
+ # resp.items[0].access_configuration.secrets_manager_access_token_configuration.secret_string_key #=> String
1293
+ # resp.items[0].arn #=> String
1294
+ # resp.items[0].creation_time #=> Time
1295
+ # resp.items[0].default_segment_delivery_configuration.base_url #=> String
1296
+ # resp.items[0].http_configuration.base_url #=> String
1297
+ # resp.items[0].last_modified_time #=> Time
1298
+ # resp.items[0].source_location_name #=> String
1299
+ # resp.items[0].tags #=> Hash
1300
+ # resp.items[0].tags["__string"] #=> String
1301
+ # resp.next_token #=> String
1302
+ #
1303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListSourceLocations AWS API Documentation
1304
+ #
1305
+ # @overload list_source_locations(params = {})
1306
+ # @param [Hash] params ({})
1307
+ def list_source_locations(params = {}, options = {})
1308
+ req = build_request(:list_source_locations, params)
1309
+ req.send_request(options)
1310
+ end
1311
+
480
1312
  # Returns a list of the tags assigned to the specified playback
481
1313
  # configuration resource.
482
1314
  #
@@ -506,6 +1338,79 @@ module Aws::MediaTailor
506
1338
  req.send_request(options)
507
1339
  end
508
1340
 
1341
+ # Lists all the VOD sources in a source location.
1342
+ #
1343
+ # @option params [Integer] :max_results
1344
+ #
1345
+ # @option params [String] :next_token
1346
+ #
1347
+ # @option params [required, String] :source_location_name
1348
+ #
1349
+ # @return [Types::ListVodSourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1350
+ #
1351
+ # * {Types::ListVodSourcesResponse#items #items} => Array&lt;Types::VodSource&gt;
1352
+ # * {Types::ListVodSourcesResponse#next_token #next_token} => String
1353
+ #
1354
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1355
+ #
1356
+ # @example Request syntax with placeholder values
1357
+ #
1358
+ # resp = client.list_vod_sources({
1359
+ # max_results: 1,
1360
+ # next_token: "__string",
1361
+ # source_location_name: "__string", # required
1362
+ # })
1363
+ #
1364
+ # @example Response structure
1365
+ #
1366
+ # resp.items #=> Array
1367
+ # resp.items[0].arn #=> String
1368
+ # resp.items[0].creation_time #=> Time
1369
+ # resp.items[0].http_package_configurations #=> Array
1370
+ # resp.items[0].http_package_configurations[0].path #=> String
1371
+ # resp.items[0].http_package_configurations[0].source_group #=> String
1372
+ # resp.items[0].http_package_configurations[0].type #=> String, one of "DASH", "HLS"
1373
+ # resp.items[0].last_modified_time #=> Time
1374
+ # resp.items[0].source_location_name #=> String
1375
+ # resp.items[0].tags #=> Hash
1376
+ # resp.items[0].tags["__string"] #=> String
1377
+ # resp.items[0].vod_source_name #=> String
1378
+ # resp.next_token #=> String
1379
+ #
1380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListVodSources AWS API Documentation
1381
+ #
1382
+ # @overload list_vod_sources(params = {})
1383
+ # @param [Hash] params ({})
1384
+ def list_vod_sources(params = {}, options = {})
1385
+ req = build_request(:list_vod_sources, params)
1386
+ req.send_request(options)
1387
+ end
1388
+
1389
+ # Creates an IAM policy for the channel.
1390
+ #
1391
+ # @option params [required, String] :channel_name
1392
+ #
1393
+ # @option params [required, String] :policy
1394
+ # Adds an IAM role that determines the permissions of your channel.
1395
+ #
1396
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1397
+ #
1398
+ # @example Request syntax with placeholder values
1399
+ #
1400
+ # resp = client.put_channel_policy({
1401
+ # channel_name: "__string", # required
1402
+ # policy: "__string", # required
1403
+ # })
1404
+ #
1405
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutChannelPolicy AWS API Documentation
1406
+ #
1407
+ # @overload put_channel_policy(params = {})
1408
+ # @param [Hash] params ({})
1409
+ def put_channel_policy(params = {}, options = {})
1410
+ req = build_request(:put_channel_policy, params)
1411
+ req.send_request(options)
1412
+ end
1413
+
509
1414
  # Adds a new playback configuration to AWS Elemental MediaTailor.
510
1415
  #
511
1416
  # @option params [String] :ad_decision_server_url
@@ -517,22 +1422,34 @@ module Aws::MediaTailor
517
1422
  # maximum length is 25,000 characters.
518
1423
  #
519
1424
  # @option params [Types::AvailSuppression] :avail_suppression
520
- # The configuration for Avail Suppression.
1425
+ # The configuration for avail suppression, also known as ad suppression.
1426
+ # For more information about ad suppression, see [Ad Suppression][1].
1427
+ #
1428
+ #
1429
+ #
1430
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
521
1431
  #
522
1432
  # @option params [Types::Bumper] :bumper
523
1433
  # 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.
1434
+ # that play at the start or before the end of an ad break. To learn more
1435
+ # about bumpers, see [Bumpers][1].
1436
+ #
1437
+ #
1438
+ #
1439
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html
525
1440
  #
526
1441
  # @option params [Types::CdnConfiguration] :cdn_configuration
527
1442
  # The configuration for using a content delivery network (CDN), like
528
1443
  # Amazon CloudFront, for content and ad segment management.
529
1444
  #
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
1445
  # @option params [Hash<String,Hash>] :configuration_aliases
535
- # Predefined aliases for dynamic variables.
1446
+ # The player parameters and aliases used as dynamic variables during
1447
+ # session initialization. For more information, see [Domain
1448
+ # Variables][1].
1449
+ #
1450
+ #
1451
+ #
1452
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domain.html
536
1453
  #
537
1454
  # @option params [Types::DashConfigurationForPut] :dash_configuration
538
1455
  # The configuration for DASH content.
@@ -548,6 +1465,20 @@ module Aws::MediaTailor
548
1465
  # @option params [String] :name
549
1466
  # The identifier for the playback configuration.
550
1467
  #
1468
+ # @option params [Integer] :personalization_threshold_seconds
1469
+ # Defines the maximum duration of underfilled ad time (in seconds)
1470
+ # allowed in an ad break. If the duration of underfilled ad time exceeds
1471
+ # the personalization threshold, then the personalization of the ad
1472
+ # break is abandoned and the underlying content is shown. This feature
1473
+ # applies to *ad replacement* in live and VOD streams, rather than ad
1474
+ # insertion, because it relies on an underlying content stream. For more
1475
+ # information about ad break behavior, including ad replacement and
1476
+ # insertion, see [Ad Behavior in AWS Elemental MediaTailor][1].
1477
+ #
1478
+ #
1479
+ #
1480
+ # [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
1481
+ #
551
1482
  # @option params [String] :slate_ad_url
552
1483
  # The URL for a high-quality video asset to transcode and use to fill in
553
1484
  # time that's not used by ads. AWS Elemental MediaTailor shows the
@@ -567,7 +1498,7 @@ module Aws::MediaTailor
567
1498
  # custom profiles with the help of AWS Support.
568
1499
  #
569
1500
  # @option params [String] :video_content_source_url
570
- # The URL prefix for the master playlist for the stream, minus the asset
1501
+ # The URL prefix for the parent manifest for the stream, minus the asset
571
1502
  # ID. The maximum length is 512 characters.
572
1503
  #
573
1504
  # @return [Types::PutPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -580,8 +1511,9 @@ module Aws::MediaTailor
580
1511
  # * {Types::PutPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
581
1512
  # * {Types::PutPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
582
1513
  # * {Types::PutPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
583
- # * {Types::PutPlaybackConfigurationResponse#name #name} => String
584
1514
  # * {Types::PutPlaybackConfigurationResponse#manifest_processing_rules #manifest_processing_rules} => Types::ManifestProcessingRules
1515
+ # * {Types::PutPlaybackConfigurationResponse#name #name} => String
1516
+ # * {Types::PutPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
585
1517
  # * {Types::PutPlaybackConfigurationResponse#playback_configuration_arn #playback_configuration_arn} => String
586
1518
  # * {Types::PutPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
587
1519
  # * {Types::PutPlaybackConfigurationResponse#session_initialization_endpoint_prefix #session_initialization_endpoint_prefix} => String
@@ -606,7 +1538,6 @@ module Aws::MediaTailor
606
1538
  # ad_segment_url_prefix: "__string",
607
1539
  # content_segment_url_prefix: "__string",
608
1540
  # },
609
- # personalization_threshold_seconds: 1,
610
1541
  # configuration_aliases: {
611
1542
  # "__string" => {
612
1543
  # "__string" => "__string",
@@ -626,6 +1557,7 @@ module Aws::MediaTailor
626
1557
  # },
627
1558
  # },
628
1559
  # name: "__string",
1560
+ # personalization_threshold_seconds: 1,
629
1561
  # slate_ad_url: "__string",
630
1562
  # tags: {
631
1563
  # "__string" => "__string",
@@ -652,8 +1584,9 @@ module Aws::MediaTailor
652
1584
  # resp.hls_configuration.manifest_endpoint_prefix #=> String
653
1585
  # resp.live_pre_roll_configuration.ad_decision_server_url #=> String
654
1586
  # resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
655
- # resp.name #=> String
656
1587
  # resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
1588
+ # resp.name #=> String
1589
+ # resp.personalization_threshold_seconds #=> Integer
657
1590
  # resp.playback_configuration_arn #=> String
658
1591
  # resp.playback_endpoint_prefix #=> String
659
1592
  # resp.session_initialization_endpoint_prefix #=> String
@@ -672,6 +1605,48 @@ module Aws::MediaTailor
672
1605
  req.send_request(options)
673
1606
  end
674
1607
 
1608
+ # Starts a specific channel.
1609
+ #
1610
+ # @option params [required, String] :channel_name
1611
+ #
1612
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1613
+ #
1614
+ # @example Request syntax with placeholder values
1615
+ #
1616
+ # resp = client.start_channel({
1617
+ # channel_name: "__string", # required
1618
+ # })
1619
+ #
1620
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StartChannel AWS API Documentation
1621
+ #
1622
+ # @overload start_channel(params = {})
1623
+ # @param [Hash] params ({})
1624
+ def start_channel(params = {}, options = {})
1625
+ req = build_request(:start_channel, params)
1626
+ req.send_request(options)
1627
+ end
1628
+
1629
+ # Stops a specific channel.
1630
+ #
1631
+ # @option params [required, String] :channel_name
1632
+ #
1633
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1634
+ #
1635
+ # @example Request syntax with placeholder values
1636
+ #
1637
+ # resp = client.stop_channel({
1638
+ # channel_name: "__string", # required
1639
+ # })
1640
+ #
1641
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StopChannel AWS API Documentation
1642
+ #
1643
+ # @overload stop_channel(params = {})
1644
+ # @param [Hash] params ({})
1645
+ def stop_channel(params = {}, options = {})
1646
+ req = build_request(:stop_channel, params)
1647
+ req.send_request(options)
1648
+ end
1649
+
675
1650
  # Adds tags to the specified playback configuration resource. You can
676
1651
  # specify one or more tags to add.
677
1652
  #
@@ -724,6 +1699,200 @@ module Aws::MediaTailor
724
1699
  req.send_request(options)
725
1700
  end
726
1701
 
1702
+ # Updates an existing channel.
1703
+ #
1704
+ # @option params [required, String] :channel_name
1705
+ #
1706
+ # @option params [required, Array<Types::RequestOutputItem>] :outputs
1707
+ # The channel's output properties.
1708
+ #
1709
+ # @return [Types::UpdateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1710
+ #
1711
+ # * {Types::UpdateChannelResponse#arn #arn} => String
1712
+ # * {Types::UpdateChannelResponse#channel_name #channel_name} => String
1713
+ # * {Types::UpdateChannelResponse#channel_state #channel_state} => String
1714
+ # * {Types::UpdateChannelResponse#creation_time #creation_time} => Time
1715
+ # * {Types::UpdateChannelResponse#last_modified_time #last_modified_time} => Time
1716
+ # * {Types::UpdateChannelResponse#outputs #outputs} => Array&lt;Types::ResponseOutputItem&gt;
1717
+ # * {Types::UpdateChannelResponse#playback_mode #playback_mode} => String
1718
+ # * {Types::UpdateChannelResponse#tags #tags} => Hash&lt;String,String&gt;
1719
+ #
1720
+ # @example Request syntax with placeholder values
1721
+ #
1722
+ # resp = client.update_channel({
1723
+ # channel_name: "__string", # required
1724
+ # outputs: [ # required
1725
+ # {
1726
+ # dash_playlist_settings: {
1727
+ # manifest_window_seconds: 1,
1728
+ # min_buffer_time_seconds: 1,
1729
+ # min_update_period_seconds: 1,
1730
+ # suggested_presentation_delay_seconds: 1,
1731
+ # },
1732
+ # hls_playlist_settings: {
1733
+ # manifest_window_seconds: 1,
1734
+ # },
1735
+ # manifest_name: "__string", # required
1736
+ # source_group: "__string", # required
1737
+ # },
1738
+ # ],
1739
+ # })
1740
+ #
1741
+ # @example Response structure
1742
+ #
1743
+ # resp.arn #=> String
1744
+ # resp.channel_name #=> String
1745
+ # resp.channel_state #=> String, one of "RUNNING", "STOPPED"
1746
+ # resp.creation_time #=> Time
1747
+ # resp.last_modified_time #=> Time
1748
+ # resp.outputs #=> Array
1749
+ # resp.outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
1750
+ # resp.outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
1751
+ # resp.outputs[0].dash_playlist_settings.min_update_period_seconds #=> Integer
1752
+ # resp.outputs[0].dash_playlist_settings.suggested_presentation_delay_seconds #=> Integer
1753
+ # resp.outputs[0].hls_playlist_settings.manifest_window_seconds #=> Integer
1754
+ # resp.outputs[0].manifest_name #=> String
1755
+ # resp.outputs[0].playback_url #=> String
1756
+ # resp.outputs[0].source_group #=> String
1757
+ # resp.playback_mode #=> String
1758
+ # resp.tags #=> Hash
1759
+ # resp.tags["__string"] #=> String
1760
+ #
1761
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannel AWS API Documentation
1762
+ #
1763
+ # @overload update_channel(params = {})
1764
+ # @param [Hash] params ({})
1765
+ def update_channel(params = {}, options = {})
1766
+ req = build_request(:update_channel, params)
1767
+ req.send_request(options)
1768
+ end
1769
+
1770
+ # Updates a source location on a specific channel.
1771
+ #
1772
+ # @option params [Types::AccessConfiguration] :access_configuration
1773
+ # Access configuration parameters. Configures the type of authentication
1774
+ # used to access content from your source location.
1775
+ #
1776
+ # @option params [Types::DefaultSegmentDeliveryConfiguration] :default_segment_delivery_configuration
1777
+ # The optional configuration for the host server that serves segments.
1778
+ #
1779
+ # @option params [required, Types::HttpConfiguration] :http_configuration
1780
+ # The HTTP configuration for the source location.
1781
+ #
1782
+ # @option params [required, String] :source_location_name
1783
+ #
1784
+ # @return [Types::UpdateSourceLocationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1785
+ #
1786
+ # * {Types::UpdateSourceLocationResponse#access_configuration #access_configuration} => Types::AccessConfiguration
1787
+ # * {Types::UpdateSourceLocationResponse#arn #arn} => String
1788
+ # * {Types::UpdateSourceLocationResponse#creation_time #creation_time} => Time
1789
+ # * {Types::UpdateSourceLocationResponse#default_segment_delivery_configuration #default_segment_delivery_configuration} => Types::DefaultSegmentDeliveryConfiguration
1790
+ # * {Types::UpdateSourceLocationResponse#http_configuration #http_configuration} => Types::HttpConfiguration
1791
+ # * {Types::UpdateSourceLocationResponse#last_modified_time #last_modified_time} => Time
1792
+ # * {Types::UpdateSourceLocationResponse#source_location_name #source_location_name} => String
1793
+ # * {Types::UpdateSourceLocationResponse#tags #tags} => Hash&lt;String,String&gt;
1794
+ #
1795
+ # @example Request syntax with placeholder values
1796
+ #
1797
+ # resp = client.update_source_location({
1798
+ # access_configuration: {
1799
+ # access_type: "S3_SIGV4", # accepts S3_SIGV4, SECRETS_MANAGER_ACCESS_TOKEN
1800
+ # secrets_manager_access_token_configuration: {
1801
+ # header_name: "__string",
1802
+ # secret_arn: "__string",
1803
+ # secret_string_key: "__string",
1804
+ # },
1805
+ # },
1806
+ # default_segment_delivery_configuration: {
1807
+ # base_url: "__string",
1808
+ # },
1809
+ # http_configuration: { # required
1810
+ # base_url: "__string", # required
1811
+ # },
1812
+ # source_location_name: "__string", # required
1813
+ # })
1814
+ #
1815
+ # @example Response structure
1816
+ #
1817
+ # resp.access_configuration.access_type #=> String, one of "S3_SIGV4", "SECRETS_MANAGER_ACCESS_TOKEN"
1818
+ # resp.access_configuration.secrets_manager_access_token_configuration.header_name #=> String
1819
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_arn #=> String
1820
+ # resp.access_configuration.secrets_manager_access_token_configuration.secret_string_key #=> String
1821
+ # resp.arn #=> String
1822
+ # resp.creation_time #=> Time
1823
+ # resp.default_segment_delivery_configuration.base_url #=> String
1824
+ # resp.http_configuration.base_url #=> String
1825
+ # resp.last_modified_time #=> Time
1826
+ # resp.source_location_name #=> String
1827
+ # resp.tags #=> Hash
1828
+ # resp.tags["__string"] #=> String
1829
+ #
1830
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateSourceLocation AWS API Documentation
1831
+ #
1832
+ # @overload update_source_location(params = {})
1833
+ # @param [Hash] params ({})
1834
+ def update_source_location(params = {}, options = {})
1835
+ req = build_request(:update_source_location, params)
1836
+ req.send_request(options)
1837
+ end
1838
+
1839
+ # Updates a specific VOD source in a specific source location.
1840
+ #
1841
+ # @option params [required, Array<Types::HttpPackageConfiguration>] :http_package_configurations
1842
+ # An array of HTTP package configurations for the VOD source on this
1843
+ # account.
1844
+ #
1845
+ # @option params [required, String] :source_location_name
1846
+ #
1847
+ # @option params [required, String] :vod_source_name
1848
+ #
1849
+ # @return [Types::UpdateVodSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1850
+ #
1851
+ # * {Types::UpdateVodSourceResponse#arn #arn} => String
1852
+ # * {Types::UpdateVodSourceResponse#creation_time #creation_time} => Time
1853
+ # * {Types::UpdateVodSourceResponse#http_package_configurations #http_package_configurations} => Array&lt;Types::HttpPackageConfiguration&gt;
1854
+ # * {Types::UpdateVodSourceResponse#last_modified_time #last_modified_time} => Time
1855
+ # * {Types::UpdateVodSourceResponse#source_location_name #source_location_name} => String
1856
+ # * {Types::UpdateVodSourceResponse#tags #tags} => Hash&lt;String,String&gt;
1857
+ # * {Types::UpdateVodSourceResponse#vod_source_name #vod_source_name} => String
1858
+ #
1859
+ # @example Request syntax with placeholder values
1860
+ #
1861
+ # resp = client.update_vod_source({
1862
+ # http_package_configurations: [ # required
1863
+ # {
1864
+ # path: "__string", # required
1865
+ # source_group: "__string", # required
1866
+ # type: "DASH", # required, accepts DASH, HLS
1867
+ # },
1868
+ # ],
1869
+ # source_location_name: "__string", # required
1870
+ # vod_source_name: "__string", # required
1871
+ # })
1872
+ #
1873
+ # @example Response structure
1874
+ #
1875
+ # resp.arn #=> String
1876
+ # resp.creation_time #=> Time
1877
+ # resp.http_package_configurations #=> Array
1878
+ # resp.http_package_configurations[0].path #=> String
1879
+ # resp.http_package_configurations[0].source_group #=> String
1880
+ # resp.http_package_configurations[0].type #=> String, one of "DASH", "HLS"
1881
+ # resp.last_modified_time #=> Time
1882
+ # resp.source_location_name #=> String
1883
+ # resp.tags #=> Hash
1884
+ # resp.tags["__string"] #=> String
1885
+ # resp.vod_source_name #=> String
1886
+ #
1887
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateVodSource AWS API Documentation
1888
+ #
1889
+ # @overload update_vod_source(params = {})
1890
+ # @param [Hash] params ({})
1891
+ def update_vod_source(params = {}, options = {})
1892
+ req = build_request(:update_vod_source, params)
1893
+ req.send_request(options)
1894
+ end
1895
+
727
1896
  # @!endgroup
728
1897
 
729
1898
  # @param params ({})
@@ -737,7 +1906,7 @@ module Aws::MediaTailor
737
1906
  params: params,
738
1907
  config: config)
739
1908
  context[:gem_name] = 'aws-sdk-mediatailor'
740
- context[:gem_version] = '1.36.0'
1909
+ context[:gem_version] = '1.41.0'
741
1910
  Seahorse::Client::Request.new(handlers, context)
742
1911
  end
743
1912