Class: Aws::MediaTailor::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::MediaTailor::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb
Overview
An API client for MediaTailor. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::MediaTailor::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#configure_logs_for_channel(params = {}) ⇒ Types::ConfigureLogsForChannelResponse
Configures Amazon CloudWatch log settings for a channel.
-
#configure_logs_for_playback_configuration(params = {}) ⇒ Types::ConfigureLogsForPlaybackConfigurationResponse
Amazon CloudWatch log settings for a playback configuration.
-
#create_channel(params = {}) ⇒ Types::CreateChannelResponse
Creates a channel.
-
#create_live_source(params = {}) ⇒ Types::CreateLiveSourceResponse
The live source configuration.
-
#create_prefetch_schedule(params = {}) ⇒ Types::CreatePrefetchScheduleResponse
Creates a prefetch schedule for a playback configuration.
-
#create_program(params = {}) ⇒ Types::CreateProgramResponse
Creates a program within a channel.
-
#create_source_location(params = {}) ⇒ Types::CreateSourceLocationResponse
Creates a source location.
-
#create_vod_source(params = {}) ⇒ Types::CreateVodSourceResponse
The VOD source configuration parameters.
-
#delete_channel(params = {}) ⇒ Struct
Deletes a channel.
-
#delete_channel_policy(params = {}) ⇒ Struct
The channel policy to delete.
-
#delete_live_source(params = {}) ⇒ Struct
The live source to delete.
-
#delete_playback_configuration(params = {}) ⇒ Struct
Deletes a playback configuration.
-
#delete_prefetch_schedule(params = {}) ⇒ Struct
Deletes a prefetch schedule for a specific playback configuration.
-
#delete_program(params = {}) ⇒ Struct
Deletes a program within a channel.
-
#delete_source_location(params = {}) ⇒ Struct
Deletes a source location.
-
#delete_vod_source(params = {}) ⇒ Struct
The video on demand (VOD) source to delete.
-
#describe_channel(params = {}) ⇒ Types::DescribeChannelResponse
Describes a channel.
-
#describe_live_source(params = {}) ⇒ Types::DescribeLiveSourceResponse
The live source to describe.
-
#describe_program(params = {}) ⇒ Types::DescribeProgramResponse
Describes a program within a channel.
-
#describe_source_location(params = {}) ⇒ Types::DescribeSourceLocationResponse
Describes a source location.
-
#describe_vod_source(params = {}) ⇒ Types::DescribeVodSourceResponse
Provides details about a specific video on demand (VOD) source in a specific source location.
-
#get_channel_policy(params = {}) ⇒ Types::GetChannelPolicyResponse
Returns the channel's IAM policy.
-
#get_channel_schedule(params = {}) ⇒ Types::GetChannelScheduleResponse
Retrieves information about your channel's schedule.
-
#get_playback_configuration(params = {}) ⇒ Types::GetPlaybackConfigurationResponse
Retrieves a playback configuration.
-
#get_prefetch_schedule(params = {}) ⇒ Types::GetPrefetchScheduleResponse
Retrieves a prefetch schedule for a playback configuration.
-
#list_alerts(params = {}) ⇒ Types::ListAlertsResponse
Lists the alerts that are associated with a MediaTailor channel assembly resource.
-
#list_channels(params = {}) ⇒ Types::ListChannelsResponse
Retrieves information about the channels that are associated with the current AWS account.
-
#list_live_sources(params = {}) ⇒ Types::ListLiveSourcesResponse
Lists the live sources contained in a source location.
-
#list_playback_configurations(params = {}) ⇒ Types::ListPlaybackConfigurationsResponse
Retrieves existing playback configurations.
-
#list_prefetch_schedules(params = {}) ⇒ Types::ListPrefetchSchedulesResponse
Lists the prefetch schedules for a playback configuration.
-
#list_source_locations(params = {}) ⇒ Types::ListSourceLocationsResponse
Lists the source locations for a channel.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
A list of tags that are associated with this resource.
-
#list_vod_sources(params = {}) ⇒ Types::ListVodSourcesResponse
Lists the VOD sources contained in a source location.
-
#put_channel_policy(params = {}) ⇒ Struct
Creates an IAM policy for the channel.
-
#put_playback_configuration(params = {}) ⇒ Types::PutPlaybackConfigurationResponse
Creates a playback configuration.
-
#start_channel(params = {}) ⇒ Struct
Starts a channel.
-
#stop_channel(params = {}) ⇒ Struct
Stops a channel.
-
#tag_resource(params = {}) ⇒ Struct
The resource to tag.
-
#untag_resource(params = {}) ⇒ Struct
The resource to untag.
-
#update_channel(params = {}) ⇒ Types::UpdateChannelResponse
Updates a channel.
-
#update_live_source(params = {}) ⇒ Types::UpdateLiveSourceResponse
Updates a live source's configuration.
-
#update_source_location(params = {}) ⇒ Types::UpdateSourceLocationResponse
Updates a source location.
-
#update_vod_source(params = {}) ⇒ Types::UpdateVodSourceResponse
Updates a VOD source's configuration.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
365 366 367 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 365 def initialize(*args) super end |
Instance Method Details
#configure_logs_for_channel(params = {}) ⇒ Types::ConfigureLogsForChannelResponse
Configures Amazon CloudWatch log settings for a channel.
401 402 403 404 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 401 def configure_logs_for_channel(params = {}, = {}) req = build_request(:configure_logs_for_channel, params) req.send_request() end |
#configure_logs_for_playback_configuration(params = {}) ⇒ Types::ConfigureLogsForPlaybackConfigurationResponse
Amazon CloudWatch log settings for a playback configuration.
447 448 449 450 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 447 def configure_logs_for_playback_configuration(params = {}, = {}) req = build_request(:configure_logs_for_playback_configuration, params) req.send_request() end |
#create_channel(params = {}) ⇒ Types::CreateChannelResponse
Creates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
564 565 566 567 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 564 def create_channel(params = {}, = {}) req = build_request(:create_channel, params) req.send_request() end |
#create_live_source(params = {}) ⇒ Types::CreateLiveSourceResponse
The live source configuration.
635 636 637 638 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 635 def create_live_source(params = {}, = {}) req = build_request(:create_live_source, params) req.send_request() end |
#create_prefetch_schedule(params = {}) ⇒ Types::CreatePrefetchScheduleResponse
Creates a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.
730 731 732 733 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 730 def create_prefetch_schedule(params = {}, = {}) req = build_request(:create_prefetch_schedule, params) req.send_request() end |
#create_program(params = {}) ⇒ Types::CreateProgramResponse
Creates a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
857 858 859 860 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 857 def create_program(params = {}, = {}) req = build_request(:create_program, params) req.send_request() end |
#create_source_location(params = {}) ⇒ Types::CreateSourceLocationResponse
Creates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
960 961 962 963 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 960 def create_source_location(params = {}, = {}) req = build_request(:create_source_location, params) req.send_request() end |
#create_vod_source(params = {}) ⇒ Types::CreateVodSourceResponse
The VOD source configuration parameters.
1031 1032 1033 1034 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1031 def create_vod_source(params = {}, = {}) req = build_request(:create_vod_source, params) req.send_request() end |
#delete_channel(params = {}) ⇒ Struct
Deletes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
1058 1059 1060 1061 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1058 def delete_channel(params = {}, = {}) req = build_request(:delete_channel, params) req.send_request() end |
#delete_channel_policy(params = {}) ⇒ Struct
The channel policy to delete.
1080 1081 1082 1083 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1080 def delete_channel_policy(params = {}, = {}) req = build_request(:delete_channel_policy, params) req.send_request() end |
#delete_live_source(params = {}) ⇒ Struct
The live source to delete.
1106 1107 1108 1109 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1106 def delete_live_source(params = {}, = {}) req = build_request(:delete_live_source, params) req.send_request() end |
#delete_playback_configuration(params = {}) ⇒ Struct
Deletes a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
1134 1135 1136 1137 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1134 def delete_playback_configuration(params = {}, = {}) req = build_request(:delete_playback_configuration, params) req.send_request() end |
#delete_prefetch_schedule(params = {}) ⇒ Struct
Deletes a prefetch schedule for a specific playback configuration. If
you call DeletePrefetchSchedule
on an expired prefetch schedule,
MediaTailor returns an HTTP 404 status code. For more information
about ad prefetching, see Using ad prefetching in the
MediaTailor User Guide.
1169 1170 1171 1172 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1169 def delete_prefetch_schedule(params = {}, = {}) req = build_request(:delete_prefetch_schedule, params) req.send_request() end |
#delete_program(params = {}) ⇒ Struct
Deletes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
1200 1201 1202 1203 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1200 def delete_program(params = {}, = {}) req = build_request(:delete_program, params) req.send_request() end |
#delete_source_location(params = {}) ⇒ Struct
Deletes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
1228 1229 1230 1231 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1228 def delete_source_location(params = {}, = {}) req = build_request(:delete_source_location, params) req.send_request() end |
#delete_vod_source(params = {}) ⇒ Struct
The video on demand (VOD) source to delete.
1254 1255 1256 1257 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1254 def delete_vod_source(params = {}, = {}) req = build_request(:delete_vod_source, params) req.send_request() end |
#describe_channel(params = {}) ⇒ Types::DescribeChannelResponse
Describes a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
1318 1319 1320 1321 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1318 def describe_channel(params = {}, = {}) req = build_request(:describe_channel, params) req.send_request() end |
#describe_live_source(params = {}) ⇒ Types::DescribeLiveSourceResponse
The live source to describe.
1366 1367 1368 1369 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1366 def describe_live_source(params = {}, = {}) req = build_request(:describe_live_source, params) req.send_request() end |
#describe_program(params = {}) ⇒ Types::DescribeProgramResponse
Describes a program within a channel. For information about programs, see Working with programs in the MediaTailor User Guide.
1436 1437 1438 1439 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1436 def describe_program(params = {}, = {}) req = build_request(:describe_program, params) req.send_request() end |
#describe_source_location(params = {}) ⇒ Types::DescribeSourceLocationResponse
Describes a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
1492 1493 1494 1495 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1492 def describe_source_location(params = {}, = {}) req = build_request(:describe_source_location, params) req.send_request() end |
#describe_vod_source(params = {}) ⇒ Types::DescribeVodSourceResponse
Provides details about a specific video on demand (VOD) source in a specific source location.
1541 1542 1543 1544 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1541 def describe_vod_source(params = {}, = {}) req = build_request(:describe_vod_source, params) req.send_request() end |
#get_channel_policy(params = {}) ⇒ Types::GetChannelPolicyResponse
Returns the channel's IAM policy. IAM policies are used to control access to your channel.
1570 1571 1572 1573 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1570 def get_channel_policy(params = {}, = {}) req = build_request(:get_channel_policy, params) req.send_request() end |
#get_channel_schedule(params = {}) ⇒ Types::GetChannelScheduleResponse
Retrieves information about your channel's schedule.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1642 1643 1644 1645 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1642 def get_channel_schedule(params = {}, = {}) req = build_request(:get_channel_schedule, params) req.send_request() end |
#get_playback_configuration(params = {}) ⇒ Types::GetPlaybackConfigurationResponse
Retrieves a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
1721 1722 1723 1724 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1721 def get_playback_configuration(params = {}, = {}) req = build_request(:get_playback_configuration, params) req.send_request() end |
#get_prefetch_schedule(params = {}) ⇒ Types::GetPrefetchScheduleResponse
Retrieves a prefetch schedule for a playback configuration. A prefetch schedule allows you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. For more information about ad prefetching, see Using ad prefetching in the MediaTailor User Guide.
1783 1784 1785 1786 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1783 def get_prefetch_schedule(params = {}, = {}) req = build_request(:get_prefetch_schedule, params) req.send_request() end |
#list_alerts(params = {}) ⇒ Types::ListAlertsResponse
Lists the alerts that are associated with a MediaTailor channel assembly resource.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1834 1835 1836 1837 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1834 def list_alerts(params = {}, = {}) req = build_request(:list_alerts, params) req.send_request() end |
#list_channels(params = {}) ⇒ Types::ListChannelsResponse
Retrieves information about the channels that are associated with the current AWS account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1897 1898 1899 1900 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1897 def list_channels(params = {}, = {}) req = build_request(:list_channels, params) req.send_request() end |
#list_live_sources(params = {}) ⇒ Types::ListLiveSourcesResponse
Lists the live sources contained in a source location. A source represents a piece of content.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1954 1955 1956 1957 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1954 def list_live_sources(params = {}, = {}) req = build_request(:list_live_sources, params) req.send_request() end |
#list_playback_configurations(params = {}) ⇒ Types::ListPlaybackConfigurationsResponse
Retrieves existing playback configurations. For information about MediaTailor configurations, see Working with Configurations in AWS Elemental MediaTailor.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2028 2029 2030 2031 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2028 def list_playback_configurations(params = {}, = {}) req = build_request(:list_playback_configurations, params) req.send_request() end |
#list_prefetch_schedules(params = {}) ⇒ Types::ListPrefetchSchedulesResponse
Lists the prefetch schedules for a playback configuration.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2101 2102 2103 2104 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2101 def list_prefetch_schedules(params = {}, = {}) req = build_request(:list_prefetch_schedules, params) req.send_request() end |
#list_source_locations(params = {}) ⇒ Types::ListSourceLocationsResponse
Lists the source locations for a channel. A source location defines the host server URL, and contains a list of sources.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2157 2158 2159 2160 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2157 def list_source_locations(params = {}, = {}) req = build_request(:list_source_locations, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
A list of tags that are associated with this resource. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
2193 2194 2195 2196 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2193 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_vod_sources(params = {}) ⇒ Types::ListVodSourcesResponse
Lists the VOD sources contained in a source location. A source represents a piece of content.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2249 2250 2251 2252 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2249 def list_vod_sources(params = {}, = {}) req = build_request(:list_vod_sources, params) req.send_request() end |
#put_channel_policy(params = {}) ⇒ Struct
Creates an IAM policy for the channel. IAM policies are used to control access to your channel.
2276 2277 2278 2279 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2276 def put_channel_policy(params = {}, = {}) req = build_request(:put_channel_policy, params) req.send_request() end |
#put_playback_configuration(params = {}) ⇒ Types::PutPlaybackConfigurationResponse
Creates a playback configuration. For information about MediaTailor configurations, see Working with configurations in AWS Elemental MediaTailor.
2485 2486 2487 2488 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2485 def put_playback_configuration(params = {}, = {}) req = build_request(:put_playback_configuration, params) req.send_request() end |
#start_channel(params = {}) ⇒ Struct
Starts a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
2512 2513 2514 2515 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2512 def start_channel(params = {}, = {}) req = build_request(:start_channel, params) req.send_request() end |
#stop_channel(params = {}) ⇒ Struct
Stops a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
2539 2540 2541 2542 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2539 def stop_channel(params = {}, = {}) req = build_request(:stop_channel, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
The resource to tag. Tags are key-value pairs that you can associate with Amazon resources to help with organization, access control, and cost tracking. For more information, see Tagging AWS Elemental MediaTailor Resources.
2581 2582 2583 2584 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2581 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
The resource to untag.
2607 2608 2609 2610 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2607 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_channel(params = {}) ⇒ Types::UpdateChannelResponse
Updates a channel. For information about MediaTailor channels, see Working with channels in the MediaTailor User Guide.
2696 2697 2698 2699 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2696 def update_channel(params = {}, = {}) req = build_request(:update_channel, params) req.send_request() end |
#update_live_source(params = {}) ⇒ Types::UpdateLiveSourceResponse
Updates a live source's configuration.
2755 2756 2757 2758 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2755 def update_live_source(params = {}, = {}) req = build_request(:update_live_source, params) req.send_request() end |
#update_source_location(params = {}) ⇒ Types::UpdateSourceLocationResponse
Updates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.
2845 2846 2847 2848 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2845 def update_source_location(params = {}, = {}) req = build_request(:update_source_location, params) req.send_request() end |
#update_vod_source(params = {}) ⇒ Types::UpdateVodSourceResponse
Updates a VOD source's configuration.
2904 2905 2906 2907 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2904 def update_vod_source(params = {}, = {}) req = build_request(:update_vod_source, params) req.send_request() end |