Class: AWS.ImportExport
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.ImportExport
- Identifier:
- importexport
- API Version:
- 2010-06-01
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
AWS Import/Export accelerates transferring large amounts of data between the AWS cloud and portable storage devices that you mail to us. AWS Import/Export transfers data directly onto and off of your storage devices using Amazon's high-speed internal network and bypassing the Internet. For large data sets, AWS Import/Export is often faster than Internet transfer and more cost effective than upgrading your connectivity.
Sending a Request Using ImportExport
var importexport = new AWS.ImportExport();
importexport.cancelJob(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 ImportExport object uses this specific API, you can
construct the object by passing the apiVersion
option to the constructor:
var importexport = new AWS.ImportExport({apiVersion: '2010-06-01'});
You can also set the API version globally in AWS.config.apiVersions
using
the importexport service identifier:
AWS.config.apiVersions = {
importexport: '2010-06-01',
// other service API versions
};
var importexport = new AWS.ImportExport();
Constructor Summary
-
new AWS.ImportExport(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary
-
cancelJob(params = {}, callback) ⇒ AWS.Request
This operation cancels a specified job.
-
createJob(params = {}, callback) ⇒ AWS.Request
This operation initiates the process of scheduling an upload or download of your data.
-
getShippingLabel(params = {}, callback) ⇒ AWS.Request
This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing.
-
getStatus(params = {}, callback) ⇒ AWS.Request
This operation returns information about a job, including where the job is in the processing pipeline, the status of the results, and the signature value associated with the job.
-
listJobs(params = {}, callback) ⇒ AWS.Request
This operation returns the jobs associated with the requester.
-
updateJob(params = {}, callback) ⇒ AWS.Request
You use this operation to change the parameters specified in the original manifest file by supplying a new manifest file.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
Property Details
Method Details
cancelJob(params = {}, callback) ⇒ AWS.Request
This operation cancels a specified job. Only the job owner can cancel it. The operation fails if the job has already started or is complete.
createJob(params = {}, callback) ⇒ AWS.Request
This operation initiates the process of scheduling an upload or download of your data. You include in the request a manifest that describes the data transfer specifics. The response to the request includes a job ID, which you can use in other operations, a signature that you use to identify your storage device, and the address where you should ship your storage device.
getShippingLabel(params = {}, callback) ⇒ AWS.Request
This operation generates a pre-paid UPS shipping label that you will use to ship your device to AWS for processing.
getStatus(params = {}, callback) ⇒ AWS.Request
This operation returns information about a job, including where the job is in the processing pipeline, the status of the results, and the signature value associated with the job. You can only return information about jobs you own.
listJobs(params = {}, callback) ⇒ AWS.Request
This operation returns the jobs associated with the requester. AWS Import/Export lists the jobs in reverse chronological order based on the date of creation. For example if Job Test1 was created 2009Dec30 and Test2 was created 2010Feb05, the ListJobs operation would return Test2 followed by Test1.
updateJob(params = {}, callback) ⇒ AWS.Request
You use this operation to change the parameters specified in the original manifest file by supplying a new manifest file. The manifest file attached to this request replaces the original manifest file. You can only use the operation after a CreateJob request but before the data transfer starts and you can only use it on jobs you own.