AWS SDK for .NET Documentation
ArchiveTransferManager Class
AmazonAmazon.Glacier.TransferArchiveTransferManager Did this page help you?   Yes   No    Tell us about it...
Provides a high level API for managing transfers to and from Amazon Glacier. This removes complexities such as breaking files into parts and computing check sums.
Declaration Syntax
C#
public class ArchiveTransferManager : IDisposable
Members
All MembersConstructorsMethods



IconMemberDescription
ArchiveTransferManager(RegionEndpoint)
Constructs an ArchiveTransferManager object for the specified Amazon Glacier region endpoint using the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
CopyC#
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSAccessKey" value="********************"/>
        <add key="AWSSecretKey" value="****************************************"/>
    </appSettings>
</configuration>

ArchiveTransferManager(AmazonGlacier)
Constructs an ArchiveTransferManager object using an existing Amazon Glacier client.

ArchiveTransferManager(AWSCredentials, RegionEndpoint)
Constructs an ArchiveTransferManager object using the specified AWS credentials and Amazon Glacier region endpoint.

ArchiveTransferManager(String, String, RegionEndpoint)
Constructs an ArchiveTransferManager object with the specified AWS Access Key ID, AWS Secret Key, and Amazon Glacier region endpoint.

CreateVault(String)
Creates a vault.

DeleteArchive(String, String)
Deletes an archive specified by vault name and archive ID.

DeleteVault(String)
Deletes the specified vault. Before deletion, the vault must be empty of all archives.

Dispose()()()()
Disposes of allocated resources and initiates garbage collection for the ArchiveTransferManager object.

Download(String, String, String)

Downloads an Amazon Glacier archive from the specified vault for the current user's account. Saves the archive to the specified file.

This method creates an Amazon SNS topic, and an Amazon SQS queue that is subscribed to that topic. It then initiates the archive retrieval job and polls the queue for the archive to be available. This polling takes about 4 hours. Once the archive is available, download will begin.


Download(String, String, String, DownloadOptions)

Downloads an archive from Amazon Glacier from the specified vault for the current user's account. Saves the archive to the specified file.

This method creates an Amazon SNS topic, and an Amazon SQS queue that is subscribed to that topic. It then initiates the archive retrieval job and polls the queue for the archive to be available. This polling takes about 4 hours. Once the archive is available, download will begin.

Additional options can be set using the UploadDirectoryOptions object. For example, you can set the FilesTransferProgress property to a delegate to track progress.


DownloadJob(String, String, String)

Downloads the results from a completed archive retrieval. Saves the job output to the specified file.

If there is an error during download the download will be retried from the last point read. Once the download is complete the checksum will be compared.


DownloadJob(String, String, String, DownloadOptions)

Downloads the results from a completed archive retrieval. Saves the job output to the specified file.

If there is an error during download the download will be retried from the last point read. Once the download is complete the checksum will be compared.


Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
InitiateArchiveRetrievalJob(String, String)
This method initiates an archive retieval job for the specified archive and returns back the job id. Once the is complete

InitiateArchiveRetrievalJob(String, String, InitiateArchiveRetrievalOptions)
This method initiates an archive retieval job for the specified archive and returns back the job id. Once the is complete

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
Upload(String, String, String)
Uploads the specified file to Amazon Glacier for archival storage in the specified vault in the specified user's account. For small archives, this method uploads the archive directly to Glacier. For larger archives, this method uses Glacier's multipart upload API to split the upload into multiple parts for better error recovery if any errors are encountered while streaming the data to Amazon Glacier.

Upload(String, String, String, UploadOptions)

Uploads the specified file to Amazon Glacier for archival storage in the specified vault in the specified user's account. For small archives, this method uploads the archive directly to Glacier. For larger archives, this method uses Glacier's multipart upload API to split the upload into multiple parts for better error recovery if any errors are encountered while streaming the data to Amazon Glacier.


Inheritance Hierarchy
Object
ArchiveTransferManager

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)