Class: Aws::MediaPackageVod::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::MediaPackageVod::Client
- Includes:
- ClientStubs
- Defined in:
- 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](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
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.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
467 468 469 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 467 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1528 1529 1530 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1528 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1531 1532 1533 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1531 def errors_module Errors end |
Instance Method Details
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1501 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::MediaPackageVod') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-mediapackagevod' context[:gem_version] = '1.66.0' Seahorse::Client::Request.new(handlers, context) end |
#configure_logs(params = {}) ⇒ Types::ConfigureLogsResponse
Changes the packaging group’s properities to configure log subscription
516 517 518 519 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 516 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.
581 582 583 584 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 581 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.
831 832 833 834 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 831 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.
891 892 893 894 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 891 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.
912 913 914 915 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 912 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.
933 934 935 936 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 933 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.
954 955 956 957 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 954 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.
1001 1002 1003 1004 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1001 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.
1113 1114 1115 1116 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1113 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.
1156 1157 1158 1159 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1156 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.
1202 1203 1204 1205 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1202 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.
1317 1318 1319 1320 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1317 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.
1361 1362 1363 1364 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1361 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.
1389 1390 1391 1392 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1389 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.
1416 1417 1418 1419 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1416 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.
1441 1442 1443 1444 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1441 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.
1492 1493 1494 1495 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1492 def update_packaging_group(params = {}, = {}) req = build_request(:update_packaging_group, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
1521 1522 1523 |
# File 'lib/aws-sdk-mediapackagevod/client.rb', line 1521 def waiter_names [] end |