Class: AWS.StorageGateway
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.StorageGateway
- Identifier:
- storagegateway
- API Version:
- 2013-06-30
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Storage Gateway is the service that connects an on-premises software appliance with cloud-based storage to provide seamless and secure integration between an organization's on-premises IT environment and the Amazon Web Services storage infrastructure. The service enables you to securely upload data to the Amazon Web Services Cloud for cost effective backup and rapid disaster recovery.
Use the following links to get started using the Storage Gateway Service API Reference:
-
Storage Gateway required request headers: Describes the required headers that you must send with every POST request to Storage Gateway.
-
Signing requests: Storage Gateway requires that you authenticate every request you send; this topic describes how sign such a request.
-
Error responses: Provides reference information about Storage Gateway errors.
-
Operations in Storage Gateway: Contains detailed descriptions of all Storage Gateway operations, their request parameters, response elements, possible errors, and examples of requests and responses.
-
Storage Gateway endpoints and quotas: Provides a list of each Amazon Web Services Region and the endpoints available for use with Storage Gateway.
vol-AA22BB012345DAF670. When you use this ID with the EC2 API, you must change it to vol-aa22bb012345daf670. Otherwise, the EC2 API might not behave as expected. IDs for Storage Gateway volumes and Amazon EBS snapshots created from gateway volumes are changing to a longer format. Starting in December 2016, all new volumes and snapshots will be created with a 17-character string. Starting in April 2016, you will be able to use these longer IDs so you can test your systems with the new format. For more information, see Longer EC2 and EBS resource IDs.
For example, a volume Amazon Resource Name (ARN) with the longer volume ID format looks like the following:
arn:aws:storagegateway:us-west-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABBCCDDEEFFG.
A snapshot ID with the longer ID format looks like the following: snap-78e226633445566ee.
For more information, see Announcement: Heads-up – Longer Storage Gateway volume and snapshot IDs coming in 2016.
Sending a Request Using StorageGateway
var storagegateway = new AWS.StorageGateway();
storagegateway.activateGateway(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 StorageGateway object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var storagegateway = new AWS.StorageGateway({apiVersion: '2013-06-30'});
You can also set the API version globally in AWS.config.apiVersions using
the storagegateway service identifier:
AWS.config.apiVersions = {
storagegateway: '2013-06-30',
// other service API versions
};
var storagegateway = new AWS.StorageGateway();
Constructor Summary collapse
-
new AWS.StorageGateway(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
-
activateGateway(params = {}, callback) ⇒ AWS.Request
Activates the gateway you previously deployed on your host.
-
addCache(params = {}, callback) ⇒ AWS.Request
Configures one or more gateway local disks as cache for a gateway.
-
addTagsToResource(params = {}, callback) ⇒ AWS.Request
Adds one or more tags to the specified resource.
-
addUploadBuffer(params = {}, callback) ⇒ AWS.Request
Configures one or more gateway local disks as upload buffer for a specified gateway.
-
addWorkingStorage(params = {}, callback) ⇒ AWS.Request
Configures one or more gateway local disks as working storage for a gateway.
-
assignTapePool(params = {}, callback) ⇒ AWS.Request
Assigns a tape to a tape pool for archiving.
-
associateFileSystem(params = {}, callback) ⇒ AWS.Request
Associate an Amazon FSx file system with the FSx File Gateway.
-
attachVolume(params = {}, callback) ⇒ AWS.Request
Connects a volume to an iSCSI connection and then attaches the volume to the specified gateway.
-
cancelArchival(params = {}, callback) ⇒ AWS.Request
Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated.
-
cancelRetrieval(params = {}, callback) ⇒ AWS.Request
Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after the retrieval process is initiated.
-
createCachediSCSIVolume(params = {}, callback) ⇒ AWS.Request
Creates a cached volume on a specified cached volume gateway.
-
createNFSFileShare(params = {}, callback) ⇒ AWS.Request
Creates a Network File System (NFS) file share on an existing S3 File Gateway.
-
createSMBFileShare(params = {}, callback) ⇒ AWS.Request
Creates a Server Message Block (SMB) file share on an existing S3 File Gateway.
-
createSnapshot(params = {}, callback) ⇒ AWS.Request
Initiates a snapshot of a volume.
Storage Gateway provides the ability to back up point-in-time snapshots of your data to Amazon Simple Storage (Amazon S3) for durable off-site recovery, and also import the data to an Amazon Elastic Block Store (EBS) volume in Amazon Elastic Compute Cloud (EC2).
-
createSnapshotFromVolumeRecoveryPoint(params = {}, callback) ⇒ AWS.Request
Initiates a snapshot of a gateway from a volume recovery point.
-
createStorediSCSIVolume(params = {}, callback) ⇒ AWS.Request
Creates a volume on a specified gateway.
-
createTapePool(params = {}, callback) ⇒ AWS.Request
Creates a new custom tape pool.
-
createTapes(params = {}, callback) ⇒ AWS.Request
Creates one or more virtual tapes.
-
createTapeWithBarcode(params = {}, callback) ⇒ AWS.Request
Creates a virtual tape by using your own barcode.
-
deleteAutomaticTapeCreationPolicy(params = {}, callback) ⇒ AWS.Request
Deletes the automatic tape creation policy of a gateway.
-
deleteBandwidthRateLimit(params = {}, callback) ⇒ AWS.Request
Deletes the bandwidth rate limits of a gateway.
-
deleteChapCredentials(params = {}, callback) ⇒ AWS.Request
Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair.
-
deleteFileShare(params = {}, callback) ⇒ AWS.Request
Deletes a file share from an S3 File Gateway.
-
deleteGateway(params = {}, callback) ⇒ AWS.Request
Deletes a gateway.
-
deleteSnapshotSchedule(params = {}, callback) ⇒ AWS.Request
Deletes a snapshot of a volume.
You can take snapshots of your gateway volumes on a scheduled or ad hoc basis.
-
deleteTape(params = {}, callback) ⇒ AWS.Request
Deletes the specified virtual tape.
-
deleteTapeArchive(params = {}, callback) ⇒ AWS.Request
Deletes the specified virtual tape from the virtual tape shelf (VTS).
-
deleteTapePool(params = {}, callback) ⇒ AWS.Request
Delete a custom tape pool.
-
deleteVolume(params = {}, callback) ⇒ AWS.Request
Deletes the specified storage volume that you previously created using the CreateCachediSCSIVolume or CreateStorediSCSIVolume API.
-
describeAvailabilityMonitorTest(params = {}, callback) ⇒ AWS.Request
Returns information about the most recent high availability monitoring test that was performed on the host in a cluster.
-
describeBandwidthRateLimit(params = {}, callback) ⇒ AWS.Request
Returns the bandwidth rate limits of a gateway.
-
describeBandwidthRateLimitSchedule(params = {}, callback) ⇒ AWS.Request
Returns information about the bandwidth rate limit schedule of a gateway.
-
describeCache(params = {}, callback) ⇒ AWS.Request
Returns information about the cache of a gateway.
-
describeCachediSCSIVolumes(params = {}, callback) ⇒ AWS.Request
Returns a description of the gateway volumes specified in the request.
-
describeChapCredentials(params = {}, callback) ⇒ AWS.Request
Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target-initiator pair.
-
describeFileSystemAssociations(params = {}, callback) ⇒ AWS.Request
Gets the file system association information.
-
describeGatewayInformation(params = {}, callback) ⇒ AWS.Request
Returns metadata about a gateway such as its name, network interfaces, time zone, status, and software version.
-
describeMaintenanceStartTime(params = {}, callback) ⇒ AWS.Request
Returns your gateway's maintenance window schedule information, with values for monthly or weekly cadence, specific day and time to begin maintenance, and which types of updates to apply.
-
describeNFSFileShares(params = {}, callback) ⇒ AWS.Request
Gets a description for one or more Network File System (NFS) file shares from an S3 File Gateway.
-
describeSMBFileShares(params = {}, callback) ⇒ AWS.Request
Gets a description for one or more Server Message Block (SMB) file shares from a S3 File Gateway.
-
describeSMBSettings(params = {}, callback) ⇒ AWS.Request
Gets a description of a Server Message Block (SMB) file share settings from a file gateway.
-
describeSnapshotSchedule(params = {}, callback) ⇒ AWS.Request
Describes the snapshot schedule for the specified gateway volume.
-
describeStorediSCSIVolumes(params = {}, callback) ⇒ AWS.Request
Returns the description of the gateway volumes specified in the request.
-
describeTapeArchives(params = {}, callback) ⇒ AWS.Request
Returns a description of specified virtual tapes in the virtual tape shelf (VTS).
-
describeTapeRecoveryPoints(params = {}, callback) ⇒ AWS.Request
Returns a list of virtual tape recovery points that are available for the specified tape gateway.
A recovery point is a point-in-time view of a virtual tape at which all the data on the virtual tape is consistent.
-
describeTapes(params = {}, callback) ⇒ AWS.Request
Returns a description of virtual tapes that correspond to the specified Amazon Resource Names (ARNs).
-
describeUploadBuffer(params = {}, callback) ⇒ AWS.Request
Returns information about the upload buffer of a gateway.
-
describeVTLDevices(params = {}, callback) ⇒ AWS.Request
Returns a description of virtual tape library (VTL) devices for the specified tape gateway.
-
describeWorkingStorage(params = {}, callback) ⇒ AWS.Request
Returns information about the working storage of a gateway.
-
detachVolume(params = {}, callback) ⇒ AWS.Request
Disconnects a volume from an iSCSI connection and then detaches the volume from the specified gateway.
-
disableGateway(params = {}, callback) ⇒ AWS.Request
Disables a tape gateway when the gateway is no longer functioning.
-
disassociateFileSystem(params = {}, callback) ⇒ AWS.Request
Disassociates an Amazon FSx file system from the specified gateway.
-
joinDomain(params = {}, callback) ⇒ AWS.Request
Adds a file gateway to an Active Directory domain.
-
listAutomaticTapeCreationPolicies(params = {}, callback) ⇒ AWS.Request
Lists the automatic tape creation policies for a gateway.
-
listFileShares(params = {}, callback) ⇒ AWS.Request
Gets a list of the file shares for a specific S3 File Gateway, or the list of file shares that belong to the calling Amazon Web Services account.
-
listFileSystemAssociations(params = {}, callback) ⇒ AWS.Request
Gets a list of
FileSystemAssociationSummaryobjects. -
listGateways(params = {}, callback) ⇒ AWS.Request
Lists gateways owned by an Amazon Web Services account in an Amazon Web Services Region specified in the request.
-
listLocalDisks(params = {}, callback) ⇒ AWS.Request
Returns a list of the gateway's local disks.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Lists the tags that have been added to the specified resource.
-
listTapePools(params = {}, callback) ⇒ AWS.Request
Lists custom tape pools.
-
listTapes(params = {}, callback) ⇒ AWS.Request
Lists virtual tapes in your virtual tape library (VTL) and your virtual tape shelf (VTS).
-
listVolumeInitiators(params = {}, callback) ⇒ AWS.Request
Lists iSCSI initiators that are connected to a volume.
-
listVolumeRecoveryPoints(params = {}, callback) ⇒ AWS.Request
Lists the recovery points for a specified gateway.
-
listVolumes(params = {}, callback) ⇒ AWS.Request
Lists the iSCSI stored volumes of a gateway.
-
notifyWhenUploaded(params = {}, callback) ⇒ AWS.Request
Sends you notification through CloudWatch Events when all files written to your file share have been uploaded to Amazon S3.
Storage Gateway can send a notification through Amazon CloudWatch Events when all files written to your file share up to that point in time have been uploaded to Amazon S3.
-
refreshCache(params = {}, callback) ⇒ AWS.Request
Refreshes the cached inventory of objects for the specified file share.
-
removeTagsFromResource(params = {}, callback) ⇒ AWS.Request
Removes one or more tags from the specified resource.
-
resetCache(params = {}, callback) ⇒ AWS.Request
Resets all cache disks that have encountered an error and makes the disks available for reconfiguration as cache storage.
-
retrieveTapeArchive(params = {}, callback) ⇒ AWS.Request
Retrieves an archived virtual tape from the virtual tape shelf (VTS) to a tape gateway.
-
retrieveTapeRecoveryPoint(params = {}, callback) ⇒ AWS.Request
Retrieves the recovery point for the specified virtual tape.
-
setLocalConsolePassword(params = {}, callback) ⇒ AWS.Request
Sets the password for your VM local console.
-
setSMBGuestPassword(params = {}, callback) ⇒ AWS.Request
Sets the password for the guest user
smbguest.