Module: Aws::MediaPackageV2

Defined in:
lib/aws-sdk-mediapackagev2/endpoint_parameters.rb,
lib/aws-sdk-mediapackagev2/plugins/endpoints.rb,
lib/aws-sdk-mediapackagev2/endpoint_provider.rb,
lib/aws-sdk-mediapackagev2/client_api.rb,
lib/aws-sdk-mediapackagev2/endpoints.rb,
lib/aws-sdk-mediapackagev2/resource.rb,
lib/aws-sdk-mediapackagev2/waiters.rb,
lib/aws-sdk-mediapackagev2/errors.rb,
lib/aws-sdk-mediapackagev2/client.rb,
lib/aws-sdk-mediapackagev2/types.rb,
lib/aws-sdk-mediapackagev2.rb

Overview

This module provides support for AWS Elemental MediaPackage v2. This module is available in the ‘aws-sdk-mediapackagev2` gem.

# Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

media_package_v2 = Aws::MediaPackageV2::Client.new
resp = media_package_v2.cancel_harvest_job(params)

See Client for more information.

# Errors

Errors returned from AWS Elemental MediaPackage v2 are defined in the Errors module and all extend Errors::ServiceError.

begin
  # do stuff
rescue Aws::MediaPackageV2::Errors::ServiceError
  # rescues all AWS Elemental MediaPackage v2 API errors
end

See Errors for more information.

Defined Under Namespace

Modules: ClientApi, Endpoints, Errors, Plugins, Types, Waiters Classes: Client, EndpointParameters, EndpointProvider, Resource

service collapse

GEM_VERSION =
'1.33.0'