Class: AWS.MediaPackage
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.MediaPackage
- Identifier:
- mediapackage
- API Version:
- 2017-10-12
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
AWS Elemental MediaPackage
Sending a Request Using MediaPackage
var mediapackage = new AWS.MediaPackage();
mediapackage.configureLogs(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the MediaPackage object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var mediapackage = new AWS.MediaPackage({apiVersion: '2017-10-12'});
You can also set the API version globally in AWS.config.apiVersions using
the mediapackage service identifier:
AWS.config.apiVersions = {
mediapackage: '2017-10-12',
// other service API versions
};
var mediapackage = new AWS.MediaPackage();
Constructor Summary collapse
-
new AWS.MediaPackage(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
configureLogs(params = {}, callback) ⇒ AWS.Request
Changes the Channel's properities to configure log subscription.
-
createChannel(params = {}, callback) ⇒ AWS.Request
Creates a new Channel.
-
createHarvestJob(params = {}, callback) ⇒ AWS.Request
Creates a new HarvestJob record.
-
createOriginEndpoint(params = {}, callback) ⇒ AWS.Request
Creates a new OriginEndpoint record.
-
deleteChannel(params = {}, callback) ⇒ AWS.Request
Deletes an existing Channel.
-
deleteOriginEndpoint(params = {}, callback) ⇒ AWS.Request
Deletes an existing OriginEndpoint.
-
describeChannel(params = {}, callback) ⇒ AWS.Request
Gets details about a Channel.
-
describeHarvestJob(params = {}, callback) ⇒ AWS.Request
Gets details about an existing HarvestJob.
-
describeOriginEndpoint(params = {}, callback) ⇒ AWS.Request
Gets details about an existing OriginEndpoint.
-
listChannels(params = {}, callback) ⇒ AWS.Request
Returns a collection of Channels.
-
listHarvestJobs(params = {}, callback) ⇒ AWS.Request
Returns a collection of HarvestJob records.
-
listOriginEndpoints(params = {}, callback) ⇒ AWS.Request
Returns a collection of OriginEndpoint records.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Calls the ListTagsForResource API operation.
-
rotateChannelCredentials(params = {}, callback) ⇒ AWS.Request
Changes the Channel's first IngestEndpoint's username and password.
-
rotateIngestEndpointCredentials(params = {}, callback) ⇒ AWS.Request
Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Calls the TagResource API operation.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Calls the UntagResource API operation.
-
updateChannel(params = {}, callback) ⇒ AWS.Request
Updates an existing Channel.
-
updateOriginEndpoint(params = {}, callback) ⇒ AWS.Request
Updates an existing OriginEndpoint.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.MediaPackage(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.