Class: AWS.MediaStoreData
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.MediaStoreData
- Identifier:
- mediastoredata
- API Version:
- 2017-09-01
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
An AWS Elemental MediaStore asset is an object, similar to an object in the Amazon S3 service. Objects are the fundamental entities that are stored in AWS Elemental MediaStore.
Sending a Request Using MediaStoreData
var mediastoredata = new AWS.MediaStoreData();
mediastoredata.deleteObject(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 MediaStoreData object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var mediastoredata = new AWS.MediaStoreData({apiVersion: '2017-09-01'});
You can also set the API version globally in AWS.config.apiVersions
using
the mediastoredata service identifier:
AWS.config.apiVersions = {
mediastoredata: '2017-09-01',
// other service API versions
};
var mediastoredata = new AWS.MediaStoreData();
Constructor Summary collapse
-
new AWS.MediaStoreData(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
-
deleteObject(params = {}, callback) ⇒ AWS.Request
Deletes an object at the specified path.
.
-
describeObject(params = {}, callback) ⇒ AWS.Request
Gets the headers for an object at the specified path.
.
-
getObject(params = {}, callback) ⇒ AWS.Request
Downloads the object at the specified path.
-
listItems(params = {}, callback) ⇒ AWS.Request
Provides a list of metadata entries about folders and objects in the specified folder.
.
-
putObject(params = {}, callback) ⇒ AWS.Request
Uploads an object to the specified path.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.MediaStoreData(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
describeObject(params = {}, callback) ⇒ AWS.Request
Gets the headers for an object at the specified path.
getObject(params = {}, callback) ⇒ AWS.Request
Downloads the object at the specified path. If the object’s upload availability is set to streaming
, AWS Elemental MediaStore downloads the object even if it’s still uploading the object.