Class: Aws::MediaPackageVod::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::MediaPackageVod::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb
Overview
An API client for MediaPackageVod. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::MediaPackageVod::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(params = {}) ⇒ Types::ConfigureLogsResponse
Changes the packaging group's properities to configure log subscription.
-
#create_asset(params = {}) ⇒ Types::CreateAssetResponse
Creates a new MediaPackage VOD Asset resource.
-
#create_packaging_configuration(params = {}) ⇒ Types::CreatePackagingConfigurationResponse
Creates a new MediaPackage VOD PackagingConfiguration resource.
-
#create_packaging_group(params = {}) ⇒ Types::CreatePackagingGroupResponse
Creates a new MediaPackage VOD PackagingGroup resource.
-
#delete_asset(params = {}) ⇒ Struct
Deletes an existing MediaPackage VOD Asset resource.
-
#delete_packaging_configuration(params = {}) ⇒ Struct
Deletes a MediaPackage VOD PackagingConfiguration resource.
-
#delete_packaging_group(params = {}) ⇒ Struct
Deletes a MediaPackage VOD PackagingGroup resource.
-
#describe_asset(params = {}) ⇒ Types::DescribeAssetResponse
Returns a description of a MediaPackage VOD Asset resource.
-
#describe_packaging_configuration(params = {}) ⇒ Types::DescribePackagingConfigurationResponse
Returns a description of a MediaPackage VOD PackagingConfiguration resource.
-
#describe_packaging_group(params = {}) ⇒ Types::DescribePackagingGroupResponse
Returns a description of a MediaPackage VOD PackagingGroup resource.
-
#list_assets(params = {}) ⇒ Types::ListAssetsResponse
Returns a collection of MediaPackage VOD Asset resources.
-
#list_packaging_configurations(params = {}) ⇒ Types::ListPackagingConfigurationsResponse
Returns a collection of MediaPackage VOD PackagingConfiguration resources.
-
#list_packaging_groups(params = {}) ⇒ Types::ListPackagingGroupsResponse
Returns a collection of MediaPackage VOD PackagingGroup resources.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns a list of the tags assigned to the specified resource.
-
#tag_resource(params = {}) ⇒ Struct
Adds tags to the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from the specified resource.
-
#update_packaging_group(params = {}) ⇒ Types::UpdatePackagingGroupResponse
Updates a specific packaging group.
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.
444 445 446 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 444 def initialize(*args) super end |
Instance Method Details
#configure_logs(params = {}) ⇒ Types::ConfigureLogsResponse
Changes the packaging group's properities to configure log subscription
493 494 495 496 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 493 def configure_logs(params = {}, = {}) req = build_request(:configure_logs, params) req.send_request() end |
#create_asset(params = {}) ⇒ Types::CreateAssetResponse
Creates a new MediaPackage VOD Asset resource.
558 559 560 561 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 558 def create_asset(params = {}, = {}) req = build_request(:create_asset, params) req.send_request() end |
#create_packaging_configuration(params = {}) ⇒ Types::CreatePackagingConfigurationResponse
Creates a new MediaPackage VOD PackagingConfiguration resource.
808 809 810 811 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 808 def create_packaging_configuration(params = {}, = {}) req = build_request(:create_packaging_configuration, params) req.send_request() end |
#create_packaging_group(params = {}) ⇒ Types::CreatePackagingGroupResponse
Creates a new MediaPackage VOD PackagingGroup resource.
868 869 870 871 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 868 def create_packaging_group(params = {}, = {}) req = build_request(:create_packaging_group, params) req.send_request() end |
#delete_asset(params = {}) ⇒ Struct
Deletes an existing MediaPackage VOD Asset resource.
889 890 891 892 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 889 def delete_asset(params = {}, = {}) req = build_request(:delete_asset, params) req.send_request() end |
#delete_packaging_configuration(params = {}) ⇒ Struct
Deletes a MediaPackage VOD PackagingConfiguration resource.
910 911 912 913 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 910 def delete_packaging_configuration(params = {}, = {}) req = build_request(:delete_packaging_configuration, params) req.send_request() end |
#delete_packaging_group(params = {}) ⇒ Struct
Deletes a MediaPackage VOD PackagingGroup resource.
931 932 933 934 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 931 def delete_packaging_group(params = {}, = {}) req = build_request(:delete_packaging_group, params) req.send_request() end |
#describe_asset(params = {}) ⇒ Types::DescribeAssetResponse
Returns a description of a MediaPackage VOD Asset resource.
978 979 980 981 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 978 def describe_asset(params = {}, = {}) req = build_request(:describe_asset, params) req.send_request() end |
#describe_packaging_configuration(params = {}) ⇒ Types::DescribePackagingConfigurationResponse
Returns a description of a MediaPackage VOD PackagingConfiguration resource.
1090 1091 1092 1093 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 1090 def describe_packaging_configuration(params = {}, = {}) req = build_request(:describe_packaging_configuration, params) req.send_request() end |
#describe_packaging_group(params = {}) ⇒ Types::DescribePackagingGroupResponse
Returns a description of a MediaPackage VOD PackagingGroup resource.
1133 1134 1135 1136 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 1133 def describe_packaging_group(params = {}, = {}) req = build_request(:describe_packaging_group, params) req.send_request() end |
#list_assets(params = {}) ⇒ Types::ListAssetsResponse
Returns a collection of MediaPackage VOD Asset resources.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1179 1180 1181 1182 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 1179 def list_assets(params = {}, = {}) req = build_request(:list_assets, params) req.send_request() end |
#list_packaging_configurations(params = {}) ⇒ Types::ListPackagingConfigurationsResponse
Returns a collection of MediaPackage VOD PackagingConfiguration resources.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1294 1295 1296 1297 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 1294 def list_packaging_configurations(params = {}, = {}) req = build_request(:list_packaging_configurations, params) req.send_request() end |
#list_packaging_groups(params = {}) ⇒ Types::ListPackagingGroupsResponse
Returns a collection of MediaPackage VOD PackagingGroup resources.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
1338 1339 1340 1341 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 1338 def list_packaging_groups(params = {}, = {}) req = build_request(:list_packaging_groups, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Returns a list of the tags assigned to the specified resource.
1366 1367 1368 1369 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 1366 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds tags to the specified resource. You can specify one or more tags to add.
1393 1394 1395 1396 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 1393 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from the specified resource. You can specify one or more tags to remove.
1418 1419 1420 1421 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 1418 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_packaging_group(params = {}) ⇒ Types::UpdatePackagingGroupResponse
Updates a specific packaging group. You can't change the id attribute or any other system-generated attributes.
1469 1470 1471 1472 |
# File 'gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb', line 1469 def update_packaging_group(params = {}, = {}) req = build_request(:update_packaging_group, params) req.send_request() end |