aws-sdk-mediatailor 1.34.0 → 1.39.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +213 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-mediatailor.rb +3 -3
- data/lib/aws-sdk-mediatailor/client.rb +1156 -14
- data/lib/aws-sdk-mediatailor/client_api.rb +693 -15
- data/lib/aws-sdk-mediatailor/errors.rb +1 -1
- data/lib/aws-sdk-mediatailor/resource.rb +1 -1
- data/lib/aws-sdk-mediatailor/types.rb +2613 -346
- metadata +9 -7
@@ -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/
|
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<Types::ResponseOutputItem>
|
352
|
+
# * {Types::CreateChannelResponse#playback_mode #playback_mode} => String
|
353
|
+
# * {Types::CreateChannelResponse#tags #tags} => Hash<String,String>
|
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<Types::AdBreak>
|
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<String,String>
|
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<Types::HttpPackageConfiguration>
|
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<String,String>
|
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,341 @@ 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<Types::ResponseOutputItem>
|
777
|
+
# * {Types::DescribeChannelResponse#playback_mode #playback_mode} => String
|
778
|
+
# * {Types::DescribeChannelResponse#tags #tags} => Hash<String,String>
|
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<Types::AdBreak>
|
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<String,String>
|
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<Types::HttpPackageConfiguration>
|
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<String,String>
|
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<Types::ScheduleEntry>
|
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].source_location_name #=> String
|
1019
|
+
# resp.items[0].vod_source_name #=> String
|
1020
|
+
# resp.next_token #=> String
|
1021
|
+
#
|
1022
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/GetChannelSchedule AWS API Documentation
|
1023
|
+
#
|
1024
|
+
# @overload get_channel_schedule(params = {})
|
1025
|
+
# @param [Hash] params ({})
|
1026
|
+
def get_channel_schedule(params = {}, options = {})
|
1027
|
+
req = build_request(:get_channel_schedule, params)
|
1028
|
+
req.send_request(options)
|
1029
|
+
end
|
1030
|
+
|
351
1031
|
# Returns the playback configuration for the specified name.
|
352
1032
|
#
|
353
1033
|
# @option params [required, String] :name
|
@@ -358,12 +1038,13 @@ module Aws::MediaTailor
|
|
358
1038
|
# * {Types::GetPlaybackConfigurationResponse#avail_suppression #avail_suppression} => Types::AvailSuppression
|
359
1039
|
# * {Types::GetPlaybackConfigurationResponse#bumper #bumper} => Types::Bumper
|
360
1040
|
# * {Types::GetPlaybackConfigurationResponse#cdn_configuration #cdn_configuration} => Types::CdnConfiguration
|
361
|
-
# * {Types::GetPlaybackConfigurationResponse#
|
1041
|
+
# * {Types::GetPlaybackConfigurationResponse#configuration_aliases #configuration_aliases} => Hash<String,Hash<String,String>>
|
362
1042
|
# * {Types::GetPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
|
363
1043
|
# * {Types::GetPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
|
364
1044
|
# * {Types::GetPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
|
365
1045
|
# * {Types::GetPlaybackConfigurationResponse#manifest_processing_rules #manifest_processing_rules} => Types::ManifestProcessingRules
|
366
1046
|
# * {Types::GetPlaybackConfigurationResponse#name #name} => String
|
1047
|
+
# * {Types::GetPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
|
367
1048
|
# * {Types::GetPlaybackConfigurationResponse#playback_configuration_arn #playback_configuration_arn} => String
|
368
1049
|
# * {Types::GetPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
|
369
1050
|
# * {Types::GetPlaybackConfigurationResponse#session_initialization_endpoint_prefix #session_initialization_endpoint_prefix} => String
|
@@ -387,7 +1068,9 @@ module Aws::MediaTailor
|
|
387
1068
|
# resp.bumper.start_url #=> String
|
388
1069
|
# resp.cdn_configuration.ad_segment_url_prefix #=> String
|
389
1070
|
# resp.cdn_configuration.content_segment_url_prefix #=> String
|
390
|
-
# resp.
|
1071
|
+
# resp.configuration_aliases #=> Hash
|
1072
|
+
# resp.configuration_aliases["__string"] #=> Hash
|
1073
|
+
# resp.configuration_aliases["__string"]["__string"] #=> String
|
391
1074
|
# resp.dash_configuration.manifest_endpoint_prefix #=> String
|
392
1075
|
# resp.dash_configuration.mpd_location #=> String
|
393
1076
|
# resp.dash_configuration.origin_manifest_type #=> String, one of "SINGLE_PERIOD", "MULTI_PERIOD"
|
@@ -396,6 +1079,7 @@ module Aws::MediaTailor
|
|
396
1079
|
# resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
|
397
1080
|
# resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
|
398
1081
|
# resp.name #=> String
|
1082
|
+
# resp.personalization_threshold_seconds #=> Integer
|
399
1083
|
# resp.playback_configuration_arn #=> String
|
400
1084
|
# resp.playback_endpoint_prefix #=> String
|
401
1085
|
# resp.session_initialization_endpoint_prefix #=> String
|
@@ -414,6 +1098,57 @@ module Aws::MediaTailor
|
|
414
1098
|
req.send_request(options)
|
415
1099
|
end
|
416
1100
|
|
1101
|
+
# Retrieves a list of channels that are associated with this account.
|
1102
|
+
#
|
1103
|
+
# @option params [Integer] :max_results
|
1104
|
+
#
|
1105
|
+
# @option params [String] :next_token
|
1106
|
+
#
|
1107
|
+
# @return [Types::ListChannelsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1108
|
+
#
|
1109
|
+
# * {Types::ListChannelsResponse#items #items} => Array<Types::Channel>
|
1110
|
+
# * {Types::ListChannelsResponse#next_token #next_token} => String
|
1111
|
+
#
|
1112
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1113
|
+
#
|
1114
|
+
# @example Request syntax with placeholder values
|
1115
|
+
#
|
1116
|
+
# resp = client.list_channels({
|
1117
|
+
# max_results: 1,
|
1118
|
+
# next_token: "__string",
|
1119
|
+
# })
|
1120
|
+
#
|
1121
|
+
# @example Response structure
|
1122
|
+
#
|
1123
|
+
# resp.items #=> Array
|
1124
|
+
# resp.items[0].arn #=> String
|
1125
|
+
# resp.items[0].channel_name #=> String
|
1126
|
+
# resp.items[0].channel_state #=> String
|
1127
|
+
# resp.items[0].creation_time #=> Time
|
1128
|
+
# resp.items[0].last_modified_time #=> Time
|
1129
|
+
# resp.items[0].outputs #=> Array
|
1130
|
+
# resp.items[0].outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
|
1131
|
+
# resp.items[0].outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
|
1132
|
+
# resp.items[0].outputs[0].dash_playlist_settings.min_update_period_seconds #=> Integer
|
1133
|
+
# resp.items[0].outputs[0].dash_playlist_settings.suggested_presentation_delay_seconds #=> Integer
|
1134
|
+
# resp.items[0].outputs[0].hls_playlist_settings.manifest_window_seconds #=> Integer
|
1135
|
+
# resp.items[0].outputs[0].manifest_name #=> String
|
1136
|
+
# resp.items[0].outputs[0].playback_url #=> String
|
1137
|
+
# resp.items[0].outputs[0].source_group #=> String
|
1138
|
+
# resp.items[0].playback_mode #=> String
|
1139
|
+
# resp.items[0].tags #=> Hash
|
1140
|
+
# resp.items[0].tags["__string"] #=> String
|
1141
|
+
# resp.next_token #=> String
|
1142
|
+
#
|
1143
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListChannels AWS API Documentation
|
1144
|
+
#
|
1145
|
+
# @overload list_channels(params = {})
|
1146
|
+
# @param [Hash] params ({})
|
1147
|
+
def list_channels(params = {}, options = {})
|
1148
|
+
req = build_request(:list_channels, params)
|
1149
|
+
req.send_request(options)
|
1150
|
+
end
|
1151
|
+
|
417
1152
|
# Returns a list of the playback configurations defined in AWS Elemental
|
418
1153
|
# MediaTailor. You can specify a maximum number of configurations to
|
419
1154
|
# return at a time. The default maximum is 50. Results are returned in
|
@@ -430,6 +1165,8 @@ module Aws::MediaTailor
|
|
430
1165
|
# * {Types::ListPlaybackConfigurationsResponse#items #items} => Array<Types::PlaybackConfiguration>
|
431
1166
|
# * {Types::ListPlaybackConfigurationsResponse#next_token #next_token} => String
|
432
1167
|
#
|
1168
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1169
|
+
#
|
433
1170
|
# @example Request syntax with placeholder values
|
434
1171
|
#
|
435
1172
|
# resp = client.list_playback_configurations({
|
@@ -441,14 +1178,24 @@ module Aws::MediaTailor
|
|
441
1178
|
#
|
442
1179
|
# resp.items #=> Array
|
443
1180
|
# resp.items[0].ad_decision_server_url #=> String
|
1181
|
+
# resp.items[0].avail_suppression.mode #=> String, one of "OFF", "BEHIND_LIVE_EDGE"
|
1182
|
+
# resp.items[0].avail_suppression.value #=> String
|
1183
|
+
# resp.items[0].bumper.end_url #=> String
|
1184
|
+
# resp.items[0].bumper.start_url #=> String
|
444
1185
|
# resp.items[0].cdn_configuration.ad_segment_url_prefix #=> String
|
445
1186
|
# resp.items[0].cdn_configuration.content_segment_url_prefix #=> String
|
446
|
-
# resp.items[0].
|
1187
|
+
# resp.items[0].configuration_aliases #=> Hash
|
1188
|
+
# resp.items[0].configuration_aliases["__string"] #=> Hash
|
1189
|
+
# resp.items[0].configuration_aliases["__string"]["__string"] #=> String
|
447
1190
|
# resp.items[0].dash_configuration.manifest_endpoint_prefix #=> String
|
448
1191
|
# resp.items[0].dash_configuration.mpd_location #=> String
|
449
1192
|
# resp.items[0].dash_configuration.origin_manifest_type #=> String, one of "SINGLE_PERIOD", "MULTI_PERIOD"
|
450
1193
|
# resp.items[0].hls_configuration.manifest_endpoint_prefix #=> String
|
1194
|
+
# resp.items[0].live_pre_roll_configuration.ad_decision_server_url #=> String
|
1195
|
+
# resp.items[0].live_pre_roll_configuration.max_duration_seconds #=> Integer
|
1196
|
+
# resp.items[0].manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
|
451
1197
|
# resp.items[0].name #=> String
|
1198
|
+
# resp.items[0].personalization_threshold_seconds #=> Integer
|
452
1199
|
# resp.items[0].playback_configuration_arn #=> String
|
453
1200
|
# resp.items[0].playback_endpoint_prefix #=> String
|
454
1201
|
# resp.items[0].session_initialization_endpoint_prefix #=> String
|
@@ -468,6 +1215,52 @@ module Aws::MediaTailor
|
|
468
1215
|
req.send_request(options)
|
469
1216
|
end
|
470
1217
|
|
1218
|
+
# Retrieves a list of source locations.
|
1219
|
+
#
|
1220
|
+
# @option params [Integer] :max_results
|
1221
|
+
#
|
1222
|
+
# @option params [String] :next_token
|
1223
|
+
#
|
1224
|
+
# @return [Types::ListSourceLocationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1225
|
+
#
|
1226
|
+
# * {Types::ListSourceLocationsResponse#items #items} => Array<Types::SourceLocation>
|
1227
|
+
# * {Types::ListSourceLocationsResponse#next_token #next_token} => String
|
1228
|
+
#
|
1229
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1230
|
+
#
|
1231
|
+
# @example Request syntax with placeholder values
|
1232
|
+
#
|
1233
|
+
# resp = client.list_source_locations({
|
1234
|
+
# max_results: 1,
|
1235
|
+
# next_token: "__string",
|
1236
|
+
# })
|
1237
|
+
#
|
1238
|
+
# @example Response structure
|
1239
|
+
#
|
1240
|
+
# resp.items #=> Array
|
1241
|
+
# resp.items[0].access_configuration.access_type #=> String, one of "S3_SIGV4", "SECRETS_MANAGER_ACCESS_TOKEN"
|
1242
|
+
# resp.items[0].access_configuration.secrets_manager_access_token_configuration.header_name #=> String
|
1243
|
+
# resp.items[0].access_configuration.secrets_manager_access_token_configuration.secret_arn #=> String
|
1244
|
+
# resp.items[0].access_configuration.secrets_manager_access_token_configuration.secret_string_key #=> String
|
1245
|
+
# resp.items[0].arn #=> String
|
1246
|
+
# resp.items[0].creation_time #=> Time
|
1247
|
+
# resp.items[0].default_segment_delivery_configuration.base_url #=> String
|
1248
|
+
# resp.items[0].http_configuration.base_url #=> String
|
1249
|
+
# resp.items[0].last_modified_time #=> Time
|
1250
|
+
# resp.items[0].source_location_name #=> String
|
1251
|
+
# resp.items[0].tags #=> Hash
|
1252
|
+
# resp.items[0].tags["__string"] #=> String
|
1253
|
+
# resp.next_token #=> String
|
1254
|
+
#
|
1255
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListSourceLocations AWS API Documentation
|
1256
|
+
#
|
1257
|
+
# @overload list_source_locations(params = {})
|
1258
|
+
# @param [Hash] params ({})
|
1259
|
+
def list_source_locations(params = {}, options = {})
|
1260
|
+
req = build_request(:list_source_locations, params)
|
1261
|
+
req.send_request(options)
|
1262
|
+
end
|
1263
|
+
|
471
1264
|
# Returns a list of the tags assigned to the specified playback
|
472
1265
|
# configuration resource.
|
473
1266
|
#
|
@@ -497,6 +1290,79 @@ module Aws::MediaTailor
|
|
497
1290
|
req.send_request(options)
|
498
1291
|
end
|
499
1292
|
|
1293
|
+
# Lists all the VOD sources in a source location.
|
1294
|
+
#
|
1295
|
+
# @option params [Integer] :max_results
|
1296
|
+
#
|
1297
|
+
# @option params [String] :next_token
|
1298
|
+
#
|
1299
|
+
# @option params [required, String] :source_location_name
|
1300
|
+
#
|
1301
|
+
# @return [Types::ListVodSourcesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1302
|
+
#
|
1303
|
+
# * {Types::ListVodSourcesResponse#items #items} => Array<Types::VodSource>
|
1304
|
+
# * {Types::ListVodSourcesResponse#next_token #next_token} => String
|
1305
|
+
#
|
1306
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1307
|
+
#
|
1308
|
+
# @example Request syntax with placeholder values
|
1309
|
+
#
|
1310
|
+
# resp = client.list_vod_sources({
|
1311
|
+
# max_results: 1,
|
1312
|
+
# next_token: "__string",
|
1313
|
+
# source_location_name: "__string", # required
|
1314
|
+
# })
|
1315
|
+
#
|
1316
|
+
# @example Response structure
|
1317
|
+
#
|
1318
|
+
# resp.items #=> Array
|
1319
|
+
# resp.items[0].arn #=> String
|
1320
|
+
# resp.items[0].creation_time #=> Time
|
1321
|
+
# resp.items[0].http_package_configurations #=> Array
|
1322
|
+
# resp.items[0].http_package_configurations[0].path #=> String
|
1323
|
+
# resp.items[0].http_package_configurations[0].source_group #=> String
|
1324
|
+
# resp.items[0].http_package_configurations[0].type #=> String, one of "DASH", "HLS"
|
1325
|
+
# resp.items[0].last_modified_time #=> Time
|
1326
|
+
# resp.items[0].source_location_name #=> String
|
1327
|
+
# resp.items[0].tags #=> Hash
|
1328
|
+
# resp.items[0].tags["__string"] #=> String
|
1329
|
+
# resp.items[0].vod_source_name #=> String
|
1330
|
+
# resp.next_token #=> String
|
1331
|
+
#
|
1332
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/ListVodSources AWS API Documentation
|
1333
|
+
#
|
1334
|
+
# @overload list_vod_sources(params = {})
|
1335
|
+
# @param [Hash] params ({})
|
1336
|
+
def list_vod_sources(params = {}, options = {})
|
1337
|
+
req = build_request(:list_vod_sources, params)
|
1338
|
+
req.send_request(options)
|
1339
|
+
end
|
1340
|
+
|
1341
|
+
# Creates an IAM policy for the channel.
|
1342
|
+
#
|
1343
|
+
# @option params [required, String] :channel_name
|
1344
|
+
#
|
1345
|
+
# @option params [required, String] :policy
|
1346
|
+
# Adds an IAM role that determines the permissions of your channel.
|
1347
|
+
#
|
1348
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1349
|
+
#
|
1350
|
+
# @example Request syntax with placeholder values
|
1351
|
+
#
|
1352
|
+
# resp = client.put_channel_policy({
|
1353
|
+
# channel_name: "__string", # required
|
1354
|
+
# policy: "__string", # required
|
1355
|
+
# })
|
1356
|
+
#
|
1357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/PutChannelPolicy AWS API Documentation
|
1358
|
+
#
|
1359
|
+
# @overload put_channel_policy(params = {})
|
1360
|
+
# @param [Hash] params ({})
|
1361
|
+
def put_channel_policy(params = {}, options = {})
|
1362
|
+
req = build_request(:put_channel_policy, params)
|
1363
|
+
req.send_request(options)
|
1364
|
+
end
|
1365
|
+
|
500
1366
|
# Adds a new playback configuration to AWS Elemental MediaTailor.
|
501
1367
|
#
|
502
1368
|
# @option params [String] :ad_decision_server_url
|
@@ -508,19 +1374,34 @@ module Aws::MediaTailor
|
|
508
1374
|
# maximum length is 25,000 characters.
|
509
1375
|
#
|
510
1376
|
# @option params [Types::AvailSuppression] :avail_suppression
|
511
|
-
# The configuration for
|
1377
|
+
# The configuration for avail suppression, also known as ad suppression.
|
1378
|
+
# For more information about ad suppression, see [Ad Suppression][1].
|
1379
|
+
#
|
1380
|
+
#
|
1381
|
+
#
|
1382
|
+
# [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
|
512
1383
|
#
|
513
1384
|
# @option params [Types::Bumper] :bumper
|
514
1385
|
# The configuration for bumpers. Bumpers are short audio or video clips
|
515
|
-
# that play at the start or before the end of an ad break.
|
1386
|
+
# that play at the start or before the end of an ad break. To learn more
|
1387
|
+
# about bumpers, see [Bumpers][1].
|
1388
|
+
#
|
1389
|
+
#
|
1390
|
+
#
|
1391
|
+
# [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/bumpers.html
|
516
1392
|
#
|
517
1393
|
# @option params [Types::CdnConfiguration] :cdn_configuration
|
518
1394
|
# The configuration for using a content delivery network (CDN), like
|
519
1395
|
# Amazon CloudFront, for content and ad segment management.
|
520
1396
|
#
|
521
|
-
# @option params [
|
522
|
-
# The
|
523
|
-
#
|
1397
|
+
# @option params [Hash<String,Hash>] :configuration_aliases
|
1398
|
+
# The player parameters and aliases used as dynamic variables during
|
1399
|
+
# session initialization. For more information, see [Domain
|
1400
|
+
# Variables][1].
|
1401
|
+
#
|
1402
|
+
#
|
1403
|
+
#
|
1404
|
+
# [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/variables-domain.html
|
524
1405
|
#
|
525
1406
|
# @option params [Types::DashConfigurationForPut] :dash_configuration
|
526
1407
|
# The configuration for DASH content.
|
@@ -536,6 +1417,20 @@ module Aws::MediaTailor
|
|
536
1417
|
# @option params [String] :name
|
537
1418
|
# The identifier for the playback configuration.
|
538
1419
|
#
|
1420
|
+
# @option params [Integer] :personalization_threshold_seconds
|
1421
|
+
# Defines the maximum duration of underfilled ad time (in seconds)
|
1422
|
+
# allowed in an ad break. If the duration of underfilled ad time exceeds
|
1423
|
+
# the personalization threshold, then the personalization of the ad
|
1424
|
+
# break is abandoned and the underlying content is shown. This feature
|
1425
|
+
# applies to *ad replacement* in live and VOD streams, rather than ad
|
1426
|
+
# insertion, because it relies on an underlying content stream. For more
|
1427
|
+
# information about ad break behavior, including ad replacement and
|
1428
|
+
# insertion, see [Ad Behavior in AWS Elemental MediaTailor][1].
|
1429
|
+
#
|
1430
|
+
#
|
1431
|
+
#
|
1432
|
+
# [1]: https://docs.aws.amazon.com/mediatailor/latest/ug/ad-behavior.html
|
1433
|
+
#
|
539
1434
|
# @option params [String] :slate_ad_url
|
540
1435
|
# The URL for a high-quality video asset to transcode and use to fill in
|
541
1436
|
# time that's not used by ads. AWS Elemental MediaTailor shows the
|
@@ -555,7 +1450,7 @@ module Aws::MediaTailor
|
|
555
1450
|
# custom profiles with the help of AWS Support.
|
556
1451
|
#
|
557
1452
|
# @option params [String] :video_content_source_url
|
558
|
-
# The URL prefix for the
|
1453
|
+
# The URL prefix for the parent manifest for the stream, minus the asset
|
559
1454
|
# ID. The maximum length is 512 characters.
|
560
1455
|
#
|
561
1456
|
# @return [Types::PutPlaybackConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -564,11 +1459,13 @@ module Aws::MediaTailor
|
|
564
1459
|
# * {Types::PutPlaybackConfigurationResponse#avail_suppression #avail_suppression} => Types::AvailSuppression
|
565
1460
|
# * {Types::PutPlaybackConfigurationResponse#bumper #bumper} => Types::Bumper
|
566
1461
|
# * {Types::PutPlaybackConfigurationResponse#cdn_configuration #cdn_configuration} => Types::CdnConfiguration
|
1462
|
+
# * {Types::PutPlaybackConfigurationResponse#configuration_aliases #configuration_aliases} => Hash<String,Hash<String,String>>
|
567
1463
|
# * {Types::PutPlaybackConfigurationResponse#dash_configuration #dash_configuration} => Types::DashConfiguration
|
568
1464
|
# * {Types::PutPlaybackConfigurationResponse#hls_configuration #hls_configuration} => Types::HlsConfiguration
|
569
1465
|
# * {Types::PutPlaybackConfigurationResponse#live_pre_roll_configuration #live_pre_roll_configuration} => Types::LivePreRollConfiguration
|
570
|
-
# * {Types::PutPlaybackConfigurationResponse#name #name} => String
|
571
1466
|
# * {Types::PutPlaybackConfigurationResponse#manifest_processing_rules #manifest_processing_rules} => Types::ManifestProcessingRules
|
1467
|
+
# * {Types::PutPlaybackConfigurationResponse#name #name} => String
|
1468
|
+
# * {Types::PutPlaybackConfigurationResponse#personalization_threshold_seconds #personalization_threshold_seconds} => Integer
|
572
1469
|
# * {Types::PutPlaybackConfigurationResponse#playback_configuration_arn #playback_configuration_arn} => String
|
573
1470
|
# * {Types::PutPlaybackConfigurationResponse#playback_endpoint_prefix #playback_endpoint_prefix} => String
|
574
1471
|
# * {Types::PutPlaybackConfigurationResponse#session_initialization_endpoint_prefix #session_initialization_endpoint_prefix} => String
|
@@ -593,7 +1490,11 @@ module Aws::MediaTailor
|
|
593
1490
|
# ad_segment_url_prefix: "__string",
|
594
1491
|
# content_segment_url_prefix: "__string",
|
595
1492
|
# },
|
596
|
-
#
|
1493
|
+
# configuration_aliases: {
|
1494
|
+
# "__string" => {
|
1495
|
+
# "__string" => "__string",
|
1496
|
+
# },
|
1497
|
+
# },
|
597
1498
|
# dash_configuration: {
|
598
1499
|
# mpd_location: "__string",
|
599
1500
|
# origin_manifest_type: "SINGLE_PERIOD", # accepts SINGLE_PERIOD, MULTI_PERIOD
|
@@ -608,6 +1509,7 @@ module Aws::MediaTailor
|
|
608
1509
|
# },
|
609
1510
|
# },
|
610
1511
|
# name: "__string",
|
1512
|
+
# personalization_threshold_seconds: 1,
|
611
1513
|
# slate_ad_url: "__string",
|
612
1514
|
# tags: {
|
613
1515
|
# "__string" => "__string",
|
@@ -625,14 +1527,18 @@ module Aws::MediaTailor
|
|
625
1527
|
# resp.bumper.start_url #=> String
|
626
1528
|
# resp.cdn_configuration.ad_segment_url_prefix #=> String
|
627
1529
|
# resp.cdn_configuration.content_segment_url_prefix #=> String
|
1530
|
+
# resp.configuration_aliases #=> Hash
|
1531
|
+
# resp.configuration_aliases["__string"] #=> Hash
|
1532
|
+
# resp.configuration_aliases["__string"]["__string"] #=> String
|
628
1533
|
# resp.dash_configuration.manifest_endpoint_prefix #=> String
|
629
1534
|
# resp.dash_configuration.mpd_location #=> String
|
630
1535
|
# resp.dash_configuration.origin_manifest_type #=> String, one of "SINGLE_PERIOD", "MULTI_PERIOD"
|
631
1536
|
# resp.hls_configuration.manifest_endpoint_prefix #=> String
|
632
1537
|
# resp.live_pre_roll_configuration.ad_decision_server_url #=> String
|
633
1538
|
# resp.live_pre_roll_configuration.max_duration_seconds #=> Integer
|
634
|
-
# resp.name #=> String
|
635
1539
|
# resp.manifest_processing_rules.ad_marker_passthrough.enabled #=> Boolean
|
1540
|
+
# resp.name #=> String
|
1541
|
+
# resp.personalization_threshold_seconds #=> Integer
|
636
1542
|
# resp.playback_configuration_arn #=> String
|
637
1543
|
# resp.playback_endpoint_prefix #=> String
|
638
1544
|
# resp.session_initialization_endpoint_prefix #=> String
|
@@ -651,6 +1557,48 @@ module Aws::MediaTailor
|
|
651
1557
|
req.send_request(options)
|
652
1558
|
end
|
653
1559
|
|
1560
|
+
# Starts a specific channel.
|
1561
|
+
#
|
1562
|
+
# @option params [required, String] :channel_name
|
1563
|
+
#
|
1564
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1565
|
+
#
|
1566
|
+
# @example Request syntax with placeholder values
|
1567
|
+
#
|
1568
|
+
# resp = client.start_channel({
|
1569
|
+
# channel_name: "__string", # required
|
1570
|
+
# })
|
1571
|
+
#
|
1572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StartChannel AWS API Documentation
|
1573
|
+
#
|
1574
|
+
# @overload start_channel(params = {})
|
1575
|
+
# @param [Hash] params ({})
|
1576
|
+
def start_channel(params = {}, options = {})
|
1577
|
+
req = build_request(:start_channel, params)
|
1578
|
+
req.send_request(options)
|
1579
|
+
end
|
1580
|
+
|
1581
|
+
# Stops a specific channel.
|
1582
|
+
#
|
1583
|
+
# @option params [required, String] :channel_name
|
1584
|
+
#
|
1585
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1586
|
+
#
|
1587
|
+
# @example Request syntax with placeholder values
|
1588
|
+
#
|
1589
|
+
# resp = client.stop_channel({
|
1590
|
+
# channel_name: "__string", # required
|
1591
|
+
# })
|
1592
|
+
#
|
1593
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/StopChannel AWS API Documentation
|
1594
|
+
#
|
1595
|
+
# @overload stop_channel(params = {})
|
1596
|
+
# @param [Hash] params ({})
|
1597
|
+
def stop_channel(params = {}, options = {})
|
1598
|
+
req = build_request(:stop_channel, params)
|
1599
|
+
req.send_request(options)
|
1600
|
+
end
|
1601
|
+
|
654
1602
|
# Adds tags to the specified playback configuration resource. You can
|
655
1603
|
# specify one or more tags to add.
|
656
1604
|
#
|
@@ -703,6 +1651,200 @@ module Aws::MediaTailor
|
|
703
1651
|
req.send_request(options)
|
704
1652
|
end
|
705
1653
|
|
1654
|
+
# Updates an existing channel.
|
1655
|
+
#
|
1656
|
+
# @option params [required, String] :channel_name
|
1657
|
+
#
|
1658
|
+
# @option params [required, Array<Types::RequestOutputItem>] :outputs
|
1659
|
+
# The channel's output properties.
|
1660
|
+
#
|
1661
|
+
# @return [Types::UpdateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1662
|
+
#
|
1663
|
+
# * {Types::UpdateChannelResponse#arn #arn} => String
|
1664
|
+
# * {Types::UpdateChannelResponse#channel_name #channel_name} => String
|
1665
|
+
# * {Types::UpdateChannelResponse#channel_state #channel_state} => String
|
1666
|
+
# * {Types::UpdateChannelResponse#creation_time #creation_time} => Time
|
1667
|
+
# * {Types::UpdateChannelResponse#last_modified_time #last_modified_time} => Time
|
1668
|
+
# * {Types::UpdateChannelResponse#outputs #outputs} => Array<Types::ResponseOutputItem>
|
1669
|
+
# * {Types::UpdateChannelResponse#playback_mode #playback_mode} => String
|
1670
|
+
# * {Types::UpdateChannelResponse#tags #tags} => Hash<String,String>
|
1671
|
+
#
|
1672
|
+
# @example Request syntax with placeholder values
|
1673
|
+
#
|
1674
|
+
# resp = client.update_channel({
|
1675
|
+
# channel_name: "__string", # required
|
1676
|
+
# outputs: [ # required
|
1677
|
+
# {
|
1678
|
+
# dash_playlist_settings: {
|
1679
|
+
# manifest_window_seconds: 1,
|
1680
|
+
# min_buffer_time_seconds: 1,
|
1681
|
+
# min_update_period_seconds: 1,
|
1682
|
+
# suggested_presentation_delay_seconds: 1,
|
1683
|
+
# },
|
1684
|
+
# hls_playlist_settings: {
|
1685
|
+
# manifest_window_seconds: 1,
|
1686
|
+
# },
|
1687
|
+
# manifest_name: "__string", # required
|
1688
|
+
# source_group: "__string", # required
|
1689
|
+
# },
|
1690
|
+
# ],
|
1691
|
+
# })
|
1692
|
+
#
|
1693
|
+
# @example Response structure
|
1694
|
+
#
|
1695
|
+
# resp.arn #=> String
|
1696
|
+
# resp.channel_name #=> String
|
1697
|
+
# resp.channel_state #=> String, one of "RUNNING", "STOPPED"
|
1698
|
+
# resp.creation_time #=> Time
|
1699
|
+
# resp.last_modified_time #=> Time
|
1700
|
+
# resp.outputs #=> Array
|
1701
|
+
# resp.outputs[0].dash_playlist_settings.manifest_window_seconds #=> Integer
|
1702
|
+
# resp.outputs[0].dash_playlist_settings.min_buffer_time_seconds #=> Integer
|
1703
|
+
# resp.outputs[0].dash_playlist_settings.min_update_period_seconds #=> Integer
|
1704
|
+
# resp.outputs[0].dash_playlist_settings.suggested_presentation_delay_seconds #=> Integer
|
1705
|
+
# resp.outputs[0].hls_playlist_settings.manifest_window_seconds #=> Integer
|
1706
|
+
# resp.outputs[0].manifest_name #=> String
|
1707
|
+
# resp.outputs[0].playback_url #=> String
|
1708
|
+
# resp.outputs[0].source_group #=> String
|
1709
|
+
# resp.playback_mode #=> String
|
1710
|
+
# resp.tags #=> Hash
|
1711
|
+
# resp.tags["__string"] #=> String
|
1712
|
+
#
|
1713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateChannel AWS API Documentation
|
1714
|
+
#
|
1715
|
+
# @overload update_channel(params = {})
|
1716
|
+
# @param [Hash] params ({})
|
1717
|
+
def update_channel(params = {}, options = {})
|
1718
|
+
req = build_request(:update_channel, params)
|
1719
|
+
req.send_request(options)
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
# Updates a source location on a specific channel.
|
1723
|
+
#
|
1724
|
+
# @option params [Types::AccessConfiguration] :access_configuration
|
1725
|
+
# Access configuration parameters. Configures the type of authentication
|
1726
|
+
# used to access content from your source location.
|
1727
|
+
#
|
1728
|
+
# @option params [Types::DefaultSegmentDeliveryConfiguration] :default_segment_delivery_configuration
|
1729
|
+
# The optional configuration for the host server that serves segments.
|
1730
|
+
#
|
1731
|
+
# @option params [required, Types::HttpConfiguration] :http_configuration
|
1732
|
+
# The HTTP configuration for the source location.
|
1733
|
+
#
|
1734
|
+
# @option params [required, String] :source_location_name
|
1735
|
+
#
|
1736
|
+
# @return [Types::UpdateSourceLocationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1737
|
+
#
|
1738
|
+
# * {Types::UpdateSourceLocationResponse#access_configuration #access_configuration} => Types::AccessConfiguration
|
1739
|
+
# * {Types::UpdateSourceLocationResponse#arn #arn} => String
|
1740
|
+
# * {Types::UpdateSourceLocationResponse#creation_time #creation_time} => Time
|
1741
|
+
# * {Types::UpdateSourceLocationResponse#default_segment_delivery_configuration #default_segment_delivery_configuration} => Types::DefaultSegmentDeliveryConfiguration
|
1742
|
+
# * {Types::UpdateSourceLocationResponse#http_configuration #http_configuration} => Types::HttpConfiguration
|
1743
|
+
# * {Types::UpdateSourceLocationResponse#last_modified_time #last_modified_time} => Time
|
1744
|
+
# * {Types::UpdateSourceLocationResponse#source_location_name #source_location_name} => String
|
1745
|
+
# * {Types::UpdateSourceLocationResponse#tags #tags} => Hash<String,String>
|
1746
|
+
#
|
1747
|
+
# @example Request syntax with placeholder values
|
1748
|
+
#
|
1749
|
+
# resp = client.update_source_location({
|
1750
|
+
# access_configuration: {
|
1751
|
+
# access_type: "S3_SIGV4", # accepts S3_SIGV4, SECRETS_MANAGER_ACCESS_TOKEN
|
1752
|
+
# secrets_manager_access_token_configuration: {
|
1753
|
+
# header_name: "__string",
|
1754
|
+
# secret_arn: "__string",
|
1755
|
+
# secret_string_key: "__string",
|
1756
|
+
# },
|
1757
|
+
# },
|
1758
|
+
# default_segment_delivery_configuration: {
|
1759
|
+
# base_url: "__string",
|
1760
|
+
# },
|
1761
|
+
# http_configuration: { # required
|
1762
|
+
# base_url: "__string", # required
|
1763
|
+
# },
|
1764
|
+
# source_location_name: "__string", # required
|
1765
|
+
# })
|
1766
|
+
#
|
1767
|
+
# @example Response structure
|
1768
|
+
#
|
1769
|
+
# resp.access_configuration.access_type #=> String, one of "S3_SIGV4", "SECRETS_MANAGER_ACCESS_TOKEN"
|
1770
|
+
# resp.access_configuration.secrets_manager_access_token_configuration.header_name #=> String
|
1771
|
+
# resp.access_configuration.secrets_manager_access_token_configuration.secret_arn #=> String
|
1772
|
+
# resp.access_configuration.secrets_manager_access_token_configuration.secret_string_key #=> String
|
1773
|
+
# resp.arn #=> String
|
1774
|
+
# resp.creation_time #=> Time
|
1775
|
+
# resp.default_segment_delivery_configuration.base_url #=> String
|
1776
|
+
# resp.http_configuration.base_url #=> String
|
1777
|
+
# resp.last_modified_time #=> Time
|
1778
|
+
# resp.source_location_name #=> String
|
1779
|
+
# resp.tags #=> Hash
|
1780
|
+
# resp.tags["__string"] #=> String
|
1781
|
+
#
|
1782
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateSourceLocation AWS API Documentation
|
1783
|
+
#
|
1784
|
+
# @overload update_source_location(params = {})
|
1785
|
+
# @param [Hash] params ({})
|
1786
|
+
def update_source_location(params = {}, options = {})
|
1787
|
+
req = build_request(:update_source_location, params)
|
1788
|
+
req.send_request(options)
|
1789
|
+
end
|
1790
|
+
|
1791
|
+
# Updates a specific VOD source in a specific source location.
|
1792
|
+
#
|
1793
|
+
# @option params [required, Array<Types::HttpPackageConfiguration>] :http_package_configurations
|
1794
|
+
# An array of HTTP package configurations for the VOD source on this
|
1795
|
+
# account.
|
1796
|
+
#
|
1797
|
+
# @option params [required, String] :source_location_name
|
1798
|
+
#
|
1799
|
+
# @option params [required, String] :vod_source_name
|
1800
|
+
#
|
1801
|
+
# @return [Types::UpdateVodSourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1802
|
+
#
|
1803
|
+
# * {Types::UpdateVodSourceResponse#arn #arn} => String
|
1804
|
+
# * {Types::UpdateVodSourceResponse#creation_time #creation_time} => Time
|
1805
|
+
# * {Types::UpdateVodSourceResponse#http_package_configurations #http_package_configurations} => Array<Types::HttpPackageConfiguration>
|
1806
|
+
# * {Types::UpdateVodSourceResponse#last_modified_time #last_modified_time} => Time
|
1807
|
+
# * {Types::UpdateVodSourceResponse#source_location_name #source_location_name} => String
|
1808
|
+
# * {Types::UpdateVodSourceResponse#tags #tags} => Hash<String,String>
|
1809
|
+
# * {Types::UpdateVodSourceResponse#vod_source_name #vod_source_name} => String
|
1810
|
+
#
|
1811
|
+
# @example Request syntax with placeholder values
|
1812
|
+
#
|
1813
|
+
# resp = client.update_vod_source({
|
1814
|
+
# http_package_configurations: [ # required
|
1815
|
+
# {
|
1816
|
+
# path: "__string", # required
|
1817
|
+
# source_group: "__string", # required
|
1818
|
+
# type: "DASH", # required, accepts DASH, HLS
|
1819
|
+
# },
|
1820
|
+
# ],
|
1821
|
+
# source_location_name: "__string", # required
|
1822
|
+
# vod_source_name: "__string", # required
|
1823
|
+
# })
|
1824
|
+
#
|
1825
|
+
# @example Response structure
|
1826
|
+
#
|
1827
|
+
# resp.arn #=> String
|
1828
|
+
# resp.creation_time #=> Time
|
1829
|
+
# resp.http_package_configurations #=> Array
|
1830
|
+
# resp.http_package_configurations[0].path #=> String
|
1831
|
+
# resp.http_package_configurations[0].source_group #=> String
|
1832
|
+
# resp.http_package_configurations[0].type #=> String, one of "DASH", "HLS"
|
1833
|
+
# resp.last_modified_time #=> Time
|
1834
|
+
# resp.source_location_name #=> String
|
1835
|
+
# resp.tags #=> Hash
|
1836
|
+
# resp.tags["__string"] #=> String
|
1837
|
+
# resp.vod_source_name #=> String
|
1838
|
+
#
|
1839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/mediatailor-2018-04-23/UpdateVodSource AWS API Documentation
|
1840
|
+
#
|
1841
|
+
# @overload update_vod_source(params = {})
|
1842
|
+
# @param [Hash] params ({})
|
1843
|
+
def update_vod_source(params = {}, options = {})
|
1844
|
+
req = build_request(:update_vod_source, params)
|
1845
|
+
req.send_request(options)
|
1846
|
+
end
|
1847
|
+
|
706
1848
|
# @!endgroup
|
707
1849
|
|
708
1850
|
# @param params ({})
|
@@ -716,7 +1858,7 @@ module Aws::MediaTailor
|
|
716
1858
|
params: params,
|
717
1859
|
config: config)
|
718
1860
|
context[:gem_name] = 'aws-sdk-mediatailor'
|
719
|
-
context[:gem_version] = '1.
|
1861
|
+
context[:gem_version] = '1.39.0'
|
720
1862
|
Seahorse::Client::Request.new(handlers, context)
|
721
1863
|
end
|
722
1864
|
|