AWS Storage Gateway Service
AWS 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 AWS storage infrastructure. The service enables you to securely upload data to the AWS cloud for cost effective backup and rapid disaster recovery.
Use the following links to get started using the AWS Storage Gateway Service API Reference:
AWS Storage Gateway Required Request Headers: Describes the required headers that you must send with every POST request to AWS Storage Gateway.
Signing Requests: AWS Storage Gateway requires that you authenticate every request you send; this topic describes how sign such a request.
Error Responses: Provides reference information about AWS Storage Gateway errors.
Operations in AWS Storage Gateway: Contains detailed descriptions of all AWS Storage Gateway operations, their request parameters, response elements, possible errors, and examples of requests and responses.
AWS Storage Gateway Regions and Endpoints: Provides a list of each AWS Region and the endpoints available for use with AWS Storage Gateway.
AWS Storage Gateway resource IDs are in uppercase. When you use these
resource IDs with the Amazon EC2 API, EC2 expects resource IDs in
lowercase. You must change your resource ID to lowercase to use it with
the EC2 API. For example, in Storage Gateway the ID for a volume might
be 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 AWS Storage Gateway volume and snapshot IDs coming in 2016.
storagegateway(config = list())
Optional configuration of credentials, endpoint, and/or region.
svc <- storagegateway( config = list( credentials = list( creds = list( access_key_id = "string", secret_access_key = "string", session_token = "string" ), profile = "string" ), endpoint = "string", region = "string" ) )
activate_gateway | Activates the gateway you previously deployed on your host |
add_cache | Configures one or more gateway local disks as cache for a gateway |
add_tags_to_resource | Adds one or more tags to the specified resource |
add_upload_buffer | Configures one or more gateway local disks as upload buffer for a specified gateway |
add_working_storage | Configures one or more gateway local disks as working storage for a gateway |
assign_tape_pool | Assigns a tape to a tape pool for archiving |
attach_volume | Connects a volume to an iSCSI connection and then attaches the volume to the specified gateway |
cancel_archival | Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated |
cancel_retrieval | Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after the retrieval process is initiated |
create_cachedi_scsi_volume | Creates a cached volume on a specified cached volume gateway |
create_nfs_file_share | Creates a Network File System (NFS) file share on an existing file gateway |
create_smb_file_share | Creates a Server Message Block (SMB) file share on an existing file gateway |
create_snapshot | Initiates a snapshot of a volume |
create_snapshot_from_volume_recovery_point | Initiates a snapshot of a gateway from a volume recovery point |
create_storedi_scsi_volume | Creates a volume on a specified gateway |
create_tapes | Creates one or more virtual tapes |
create_tape_with_barcode | Creates a virtual tape by using your own barcode |
delete_bandwidth_rate_limit | Deletes the bandwidth rate limits of a gateway |
delete_chap_credentials | Deletes Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target and initiator pair |
delete_file_share | Deletes a file share from a file gateway |
delete_gateway | Deletes a gateway |
delete_snapshot_schedule | Deletes a snapshot of a volume |
delete_tape | Deletes the specified virtual tape |
delete_tape_archive | Deletes the specified virtual tape from the virtual tape shelf (VTS) |
delete_volume | Deletes the specified storage volume that you previously created using the CreateCachediSCSIVolume or CreateStorediSCSIVolume API |
describe_availability_monitor_test | Returns information about the most recent High Availability monitoring test that was performed on the host in a cluster |
describe_bandwidth_rate_limit | Returns the bandwidth rate limits of a gateway |
describe_cache | Returns information about the cache of a gateway |
describe_cachedi_scsi_volumes | Returns a description of the gateway volumes specified in the request |
describe_chap_credentials | Returns an array of Challenge-Handshake Authentication Protocol (CHAP) credentials information for a specified iSCSI target, one for each target-initiator pair |
describe_gateway_information | Returns metadata about a gateway such as its name, network interfaces, configured time zone, and the state (whether the gateway is running or not) |
describe_maintenance_start_time | Returns your gateway's weekly maintenance start time including the day and time of the week |
describe_nfs_file_shares | Gets a description for one or more Network File System (NFS) file shares from a file gateway |
describe_smb_file_shares | Gets a description for one or more Server Message Block (SMB) file shares from a file gateway |
describe_smb_settings | Gets a description of a Server Message Block (SMB) file share settings from a file gateway |
describe_snapshot_schedule | Describes the snapshot schedule for the specified gateway volume |
describe_storedi_scsi_volumes | Returns the description of the gateway volumes specified in the request |
describe_tape_archives | Returns a description of specified virtual tapes in the virtual tape shelf (VTS) |
describe_tape_recovery_points | Returns a list of virtual tape recovery points that are available for the specified tape gateway |
describe_tapes | Returns a description of the specified Amazon Resource Name (ARN) of virtual tapes |
describe_upload_buffer | Returns information about the upload buffer of a gateway |
describe_vtl_devices | Returns a description of virtual tape library (VTL) devices for the specified tape gateway |
describe_working_storage | Returns information about the working storage of a gateway |
detach_volume | Disconnects a volume from an iSCSI connection and then detaches the volume from the specified gateway |
disable_gateway | Disables a tape gateway when the gateway is no longer functioning |
join_domain | Adds a file gateway to an Active Directory domain |
list_file_shares | Gets a list of the file shares for a specific file gateway, or the list of file shares that belong to the calling user account |
list_gateways | Lists gateways owned by an AWS account in an AWS Region specified in the request |
list_local_disks | Returns a list of the gateway's local disks |
list_tags_for_resource | Lists the tags that have been added to the specified resource |
list_tapes | Lists virtual tapes in your virtual tape library (VTL) and your virtual tape shelf (VTS) |
list_volume_initiators | Lists iSCSI initiators that are connected to a volume |
list_volume_recovery_points | Lists the recovery points for a specified gateway |
list_volumes | Lists the iSCSI stored volumes of a gateway |
notify_when_uploaded | Sends you notification through CloudWatch Events when all files written to your file share have been uploaded to Amazon S3 |
refresh_cache | Refreshes the cache for the specified file share |
remove_tags_from_resource | Removes one or more tags from the specified resource |
reset_cache | Resets all cache disks that have encountered a error and makes the disks available for reconfiguration as cache storage |
retrieve_tape_archive | Retrieves an archived virtual tape from the virtual tape shelf (VTS) to a tape gateway |
retrieve_tape_recovery_point | Retrieves the recovery point for the specified virtual tape |
set_local_console_password | Sets the password for your VM local console |
set_smb_guest_password | Sets the password for the guest user smbguest |
shutdown_gateway | Shuts down a gateway |
start_availability_monitor_test | Start a test that verifies that the specified gateway is configured for High Availability monitoring in your host environment |
start_gateway | Starts a gateway that you previously shut down (see ShutdownGateway) |
update_bandwidth_rate_limit | Updates the bandwidth rate limits of a gateway |
update_chap_credentials | Updates the Challenge-Handshake Authentication Protocol (CHAP) credentials for a specified iSCSI target |
update_gateway_information | Updates a gateway's metadata, which includes the gateway's name and time zone |
update_gateway_software_now | Updates the gateway virtual machine (VM) software |
update_maintenance_start_time | Updates a gateway's weekly maintenance start time information, including day and time of the week |
update_nfs_file_share | Updates a Network File System (NFS) file share |
update_smb_file_share | Updates a Server Message Block (SMB) file share |
update_smb_security_strategy | Updates the SMB security strategy on a file gateway |
update_snapshot_schedule | Updates a snapshot schedule configured for a gateway volume |
# NOT RUN {
# Activates the gateway you previously deployed on your host.
# }
# NOT RUN {
svc <- storagegateway()
svc$activate_gateway(
ActivationKey = "29AV1-3OFV9-VVIUB-NKT0I-LRO6V",
GatewayName = "My_Gateway",
GatewayRegion = "us-east-1",
GatewayTimezone = "GMT-12:00",
GatewayType = "STORED",
MediumChangerType = "AWS-Gateway-VTL",
TapeDriveType = "IBM-ULT3580-TD5"
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab