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_playback_configuration(params = {}) ⇒ Types::ConfigureLogsForPlaybackConfigurationResponse
Configures Amazon CloudWatch log settings for a playback configuration.
-
#create_channel(params = {}) ⇒ Types::CreateChannelResponse
Creates a channel.
-
#create_live_source(params = {}) ⇒ Types::CreateLiveSourceResponse
Creates name for a specific live source in a source location.
-
#create_prefetch_schedule(params = {}) ⇒ Types::CreatePrefetchScheduleResponse
Creates a new prefetch schedule for the specified playback configuration.
-
#create_program(params = {}) ⇒ Types::CreateProgramResponse
Creates a program.
-
#create_source_location(params = {}) ⇒ Types::CreateSourceLocationResponse
Creates a source location on a specific channel.
-
#create_vod_source(params = {}) ⇒ Types::CreateVodSourceResponse
Creates name for a specific VOD source in a source location.
-
#delete_channel(params = {}) ⇒ Struct
Deletes a channel.
-
#delete_channel_policy(params = {}) ⇒ Struct
Deletes a channel's IAM policy.
-
#delete_live_source(params = {}) ⇒ Struct
Deletes a specific live source in a specific source location.
-
#delete_playback_configuration(params = {}) ⇒ Struct
Deletes the playback configuration for the specified name.
-
#delete_prefetch_schedule(params = {}) ⇒ Struct
Deletes a prefetch schedule for a specific playback configuration.
-
#delete_program(params = {}) ⇒ Struct
Deletes a specific program on a specific channel.
-
#delete_source_location(params = {}) ⇒ Struct
Deletes a source location on a specific channel.
-
#delete_vod_source(params = {}) ⇒ Struct
Deletes a specific VOD source in a specific source location.
-
#describe_channel(params = {}) ⇒ Types::DescribeChannelResponse
Describes the properties of a specific channel.
-
#describe_live_source(params = {}) ⇒ Types::DescribeLiveSourceResponse
Provides details about a specific live source in a specific source location.
-
#describe_program(params = {}) ⇒ Types::DescribeProgramResponse
Retrieves the properties of the requested program.
-
#describe_source_location(params = {}) ⇒ Types::DescribeSourceLocationResponse
Retrieves the properties of the requested source location.
-
#describe_vod_source(params = {}) ⇒ Types::DescribeVodSourceResponse
Provides details about a specific VOD source in a specific source location.
-
#get_channel_policy(params = {}) ⇒ Types::GetChannelPolicyResponse
Retrieves information about a channel's IAM policy.
-
#get_channel_schedule(params = {}) ⇒ Types::GetChannelScheduleResponse
Retrieves information about your channel's schedule.
-
#get_playback_configuration(params = {}) ⇒ Types::GetPlaybackConfigurationResponse
Returns the playback configuration for the specified name.
-
#get_prefetch_schedule(params = {}) ⇒ Types::GetPrefetchScheduleResponse
Returns information about the prefetch schedule for a specific playback configuration.
-
#list_alerts(params = {}) ⇒ Types::ListAlertsResponse
Returns a list of alerts for the given resource.
-
#list_channels(params = {}) ⇒ Types::ListChannelsResponse
Retrieves a list of channels that are associated with this account.
-
#list_live_sources(params = {}) ⇒ Types::ListLiveSourcesResponse
lists all the live sources in a source location.
-
#list_playback_configurations(params = {}) ⇒ Types::ListPlaybackConfigurationsResponse
Returns a list of the playback configurations defined in AWS Elemental MediaTailor.
-
#list_prefetch_schedules(params = {}) ⇒ Types::ListPrefetchSchedulesResponse
Creates a new prefetch schedule.
-
#list_source_locations(params = {}) ⇒ Types::ListSourceLocationsResponse
Retrieves a list of source locations.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns a list of the tags assigned to the specified playback configuration resource.
-
#list_vod_sources(params = {}) ⇒ Types::ListVodSourcesResponse
Lists all the VOD sources in a source location.
-
#put_channel_policy(params = {}) ⇒ Struct
Creates an IAM policy for the channel.
-
#put_playback_configuration(params = {}) ⇒ Types::PutPlaybackConfigurationResponse
Adds a new playback configuration to AWS Elemental MediaTailor.
-
#start_channel(params = {}) ⇒ Struct
Starts a specific channel.
-
#stop_channel(params = {}) ⇒ Struct
Stops a specific channel.
-
#tag_resource(params = {}) ⇒ Struct
Adds tags to the specified playback configuration resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from the specified playback configuration resource.
-
#update_channel(params = {}) ⇒ Types::UpdateChannelResponse
Updates an existing channel.
-
#update_live_source(params = {}) ⇒ Types::UpdateLiveSourceResponse
Updates a specific live source in a specific source location.
-
#update_source_location(params = {}) ⇒ Types::UpdateSourceLocationResponse
Updates a source location on a specific channel.
-
#update_vod_source(params = {}) ⇒ Types::UpdateVodSourceResponse
Updates a specific VOD source in a specific source location.
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.
348 349 350 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 348 def initialize(*args) super end |
Instance Method Details
#configure_logs_for_playback_configuration(params = {}) ⇒ Types::ConfigureLogsForPlaybackConfigurationResponse
Configures Amazon CloudWatch log settings for a playback configuration.
396 397 398 399 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 396 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.
500 501 502 503 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 500 def create_channel(params = {}, = {}) req = build_request(:create_channel, params) req.send_request() end |
#create_live_source(params = {}) ⇒ Types::CreateLiveSourceResponse
Creates name for a specific live source in a source location.
562 563 564 565 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 562 def create_live_source(params = {}, = {}) req = build_request(:create_live_source, params) req.send_request() end |
#create_prefetch_schedule(params = {}) ⇒ Types::CreatePrefetchScheduleResponse
Creates a new prefetch schedule for the specified playback configuration.
648 649 650 651 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 648 def create_prefetch_schedule(params = {}, = {}) req = build_request(:create_prefetch_schedule, params) req.send_request() end |
#create_program(params = {}) ⇒ Types::CreateProgramResponse
Creates a program.
745 746 747 748 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 745 def create_program(params = {}, = {}) req = build_request(:create_program, params) req.send_request() end |
#create_source_location(params = {}) ⇒ Types::CreateSourceLocationResponse
Creates a source location on a specific channel.
834 835 836 837 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 834 def create_source_location(params = {}, = {}) req = build_request(:create_source_location, params) req.send_request() end |
#create_vod_source(params = {}) ⇒ Types::CreateVodSourceResponse
Creates name for a specific VOD source in a source location.
896 897 898 899 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 896 def create_vod_source(params = {}, = {}) req = build_request(:create_vod_source, params) req.send_request() end |
#delete_channel(params = {}) ⇒ Struct
Deletes a channel. You must stop the channel before it can be deleted.
917 918 919 920 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 917 def delete_channel(params = {}, = {}) req = build_request(:delete_channel, params) req.send_request() end |
#delete_channel_policy(params = {}) ⇒ Struct
Deletes a channel's IAM policy.
938 939 940 941 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 938 def delete_channel_policy(params = {}, = {}) req = build_request(:delete_channel_policy, params) req.send_request() end |
#delete_live_source(params = {}) ⇒ Struct
Deletes a specific live source in a specific source location.
962 963 964 965 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 962 def delete_live_source(params = {}, = {}) req = build_request(:delete_live_source, params) req.send_request() end |
#delete_playback_configuration(params = {}) ⇒ Struct
Deletes the playback configuration for the specified name.
983 984 985 986 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 983 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.
1009 1010 1011 1012 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1009 def delete_prefetch_schedule(params = {}, = {}) req = build_request(:delete_prefetch_schedule, params) req.send_request() end |
#delete_program(params = {}) ⇒ Struct
Deletes a specific program on a specific channel.
1033 1034 1035 1036 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1033 def delete_program(params = {}, = {}) req = build_request(:delete_program, params) req.send_request() end |
#delete_source_location(params = {}) ⇒ Struct
Deletes a source location on a specific channel.
1054 1055 1056 1057 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1054 def delete_source_location(params = {}, = {}) req = build_request(:delete_source_location, params) req.send_request() end |
#delete_vod_source(params = {}) ⇒ Struct
Deletes a specific VOD source in a specific source location.
1078 1079 1080 1081 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1078 def delete_vod_source(params = {}, = {}) req = build_request(:delete_vod_source, params) req.send_request() end |
#describe_channel(params = {}) ⇒ Types::DescribeChannelResponse
Describes the properties of a specific channel.
1133 1134 1135 1136 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1133 def describe_channel(params = {}, = {}) req = build_request(:describe_channel, params) req.send_request() end |
#describe_live_source(params = {}) ⇒ Types::DescribeLiveSourceResponse
Provides details about a specific live source in a specific source location.
1180 1181 1182 1183 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1180 def describe_live_source(params = {}, = {}) req = build_request(:describe_live_source, params) req.send_request() end |
#describe_program(params = {}) ⇒ Types::DescribeProgramResponse
Retrieves the properties of the requested program.
1234 1235 1236 1237 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1234 def describe_program(params = {}, = {}) req = build_request(:describe_program, params) req.send_request() end |
#describe_source_location(params = {}) ⇒ Types::DescribeSourceLocationResponse
Retrieves the properties of the requested source location.
1283 1284 1285 1286 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1283 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 VOD source in a specific source location.
1330 1331 1332 1333 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1330 def describe_vod_source(params = {}, = {}) req = build_request(:describe_vod_source, params) req.send_request() end |
#get_channel_policy(params = {}) ⇒ Types::GetChannelPolicyResponse
Retrieves information about a channel's IAM policy.
1357 1358 1359 1360 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1357 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.
1411 1412 1413 1414 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1411 def get_channel_schedule(params = {}, = {}) req = build_request(:get_channel_schedule, params) req.send_request() end |
#get_playback_configuration(params = {}) ⇒ Types::GetPlaybackConfigurationResponse
Returns the playback configuration for the specified name.
1483 1484 1485 1486 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1483 def get_playback_configuration(params = {}, = {}) req = build_request(:get_playback_configuration, params) req.send_request() end |
#get_prefetch_schedule(params = {}) ⇒ Types::GetPrefetchScheduleResponse
Returns information about the prefetch schedule for a specific playback configuration. If you call GetPrefetchSchedule on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code.
1532 1533 1534 1535 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1532 def get_prefetch_schedule(params = {}, = {}) req = build_request(:get_prefetch_schedule, params) req.send_request() end |
#list_alerts(params = {}) ⇒ Types::ListAlertsResponse
Returns a list of alerts for the given resource.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1575 1576 1577 1578 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1575 def list_alerts(params = {}, = {}) req = build_request(:list_alerts, params) req.send_request() end |
#list_channels(params = {}) ⇒ Types::ListChannelsResponse
Retrieves a list of channels that are associated with this account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1629 1630 1631 1632 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1629 def list_channels(params = {}, = {}) req = build_request(:list_channels, params) req.send_request() end |
#list_live_sources(params = {}) ⇒ Types::ListLiveSourcesResponse
lists all the live sources in a source location.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1677 1678 1679 1680 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1677 def list_live_sources(params = {}, = {}) req = build_request(:list_live_sources, params) req.send_request() end |
#list_playback_configurations(params = {}) ⇒ Types::ListPlaybackConfigurationsResponse
Returns a list of the playback configurations defined in AWS Elemental MediaTailor. You can specify a maximum number of configurations to return at a time. The default maximum is 50. Results are returned in pagefuls. If MediaTailor has more configurations than the specified maximum, it provides parameters in the response that you can use to retrieve the next pageful.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1744 1745 1746 1747 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1744 def list_playback_configurations(params = {}, = {}) req = build_request(:list_playback_configurations, params) req.send_request() end |
#list_prefetch_schedules(params = {}) ⇒ Types::ListPrefetchSchedulesResponse
Creates a new prefetch schedule.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1815 1816 1817 1818 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1815 def list_prefetch_schedules(params = {}, = {}) req = build_request(:list_prefetch_schedules, params) req.send_request() end |
#list_source_locations(params = {}) ⇒ Types::ListSourceLocationsResponse
Retrieves a list of source locations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1864 1865 1866 1867 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1864 def list_source_locations(params = {}, = {}) req = build_request(:list_source_locations, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns a list of the tags assigned to the specified playback configuration resource.
1893 1894 1895 1896 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1893 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_vod_sources(params = {}) ⇒ Types::ListVodSourcesResponse
Lists all the VOD sources in a source location.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1941 1942 1943 1944 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1941 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.
1966 1967 1968 1969 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 1966 def put_channel_policy(params = {}, = {}) req = build_request(:put_channel_policy, params) req.send_request() end |
#put_playback_configuration(params = {}) ⇒ Types::PutPlaybackConfigurationResponse
Adds a new playback configuration to AWS Elemental MediaTailor.
2162 2163 2164 2165 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2162 def put_playback_configuration(params = {}, = {}) req = build_request(:put_playback_configuration, params) req.send_request() end |
#start_channel(params = {}) ⇒ Struct
Starts a specific channel.
2183 2184 2185 2186 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2183 def start_channel(params = {}, = {}) req = build_request(:start_channel, params) req.send_request() end |
#stop_channel(params = {}) ⇒ Struct
Stops a specific channel.
2204 2205 2206 2207 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2204 def stop_channel(params = {}, = {}) req = build_request(:stop_channel, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds tags to the specified playback configuration resource. You can specify one or more tags to add.
2231 2232 2233 2234 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2231 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from the specified playback configuration resource. You can specify one or more tags to remove.
2256 2257 2258 2259 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2256 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_channel(params = {}) ⇒ Types::UpdateChannelResponse
Updates an existing channel.
2339 2340 2341 2342 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2339 def update_channel(params = {}, = {}) req = build_request(:update_channel, params) req.send_request() end |
#update_live_source(params = {}) ⇒ Types::UpdateLiveSourceResponse
Updates a specific live source in a specific source location.
2396 2397 2398 2399 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2396 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 on a specific channel.
2479 2480 2481 2482 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2479 def update_source_location(params = {}, = {}) req = build_request(:update_source_location, params) req.send_request() end |
#update_vod_source(params = {}) ⇒ Types::UpdateVodSourceResponse
Updates a specific VOD source in a specific source location.
2536 2537 2538 2539 |
# File 'gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb', line 2536 def update_vod_source(params = {}, = {}) req = build_request(:update_vod_source, params) req.send_request() end |