amazonka-importexport-1.0.0: Amazon Import/Export SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ImportExport

Contents

Description

AWS Import/Export Service 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.

See: AWS API Reference

Synopsis

Service

data ImportExport Source

Version 2010-06-01 of the Amazon Import/Export SDK.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by ImportExport.

InvalidJobIdException

_InvalidJobIdException :: AsError a => Getting (First ServiceError) a ServiceError Source

The JOBID was missing, not found, or not associated with the AWS account.

InvalidParameterException

_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source

One or more parameters had an invalid value.

ExpiredJobIdException

_ExpiredJobIdException :: AsError a => Getting (First ServiceError) a ServiceError Source

Indicates that the specified job has expired out of the system.

InvalidFileSystemException

_InvalidFileSystemException :: AsError a => Getting (First ServiceError) a ServiceError Source

File system specified in export manifest is invalid.

InvalidAccessKeyIdException

_InvalidAccessKeyIdException :: AsError a => Getting (First ServiceError) a ServiceError Source

The AWS Access Key ID specified in the request did not match the manifest's accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.

UnableToUpdateJobIdException

_UnableToUpdateJobIdException :: AsError a => Getting (First ServiceError) a ServiceError Source

AWS Import/Export cannot update the job

UnableToCancelJobIdException

_UnableToCancelJobIdException :: AsError a => Getting (First ServiceError) a ServiceError Source

AWS Import/Export cannot cancel the job

InvalidVersionException

_InvalidVersionException :: AsError a => Getting (First ServiceError) a ServiceError Source

The client tool version is invalid.

MultipleRegionsException

_MultipleRegionsException :: AsError a => Getting (First ServiceError) a ServiceError Source

Your manifest file contained buckets from multiple regions. A job is restricted to buckets from one region. Please correct and resubmit.

MalformedManifestException

_MalformedManifestException :: AsError a => Getting (First ServiceError) a ServiceError Source

Your manifest is not well-formed.

CanceledJobIdException

_CanceledJobIdException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified job ID has been canceled and is no longer valid.

BucketPermissionException

_BucketPermissionException :: AsError a => Getting (First ServiceError) a ServiceError Source

The account specified does not have the appropriate bucket permissions.

MissingParameterException

_MissingParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source

One or more required parameters was missing from the request.

NoSuchBucketException

_NoSuchBucketException :: AsError a => Getting (First ServiceError) a ServiceError Source

The specified bucket does not exist. Create the specified bucket or change the manifest's bucket, exportBucket, or logBucket field to a bucket that the account, as specified by the manifest's Access Key ID, has write permissions to.

InvalidAddressException

_InvalidAddressException :: AsError a => Getting (First ServiceError) a ServiceError Source

The address specified in the manifest is invalid.

InvalidManifestFieldException

_InvalidManifestFieldException :: AsError a => Getting (First ServiceError) a ServiceError Source

One or more manifest fields was invalid. Please correct and resubmit.

MissingCustomsException

_MissingCustomsException :: AsError a => Getting (First ServiceError) a ServiceError Source

One or more required customs parameters was missing from the manifest.

InvalidCustomsException

_InvalidCustomsException :: AsError a => Getting (First ServiceError) a ServiceError Source

One or more customs parameters was invalid. Please correct and resubmit.

MissingManifestFieldException

_MissingManifestFieldException :: AsError a => Getting (First ServiceError) a ServiceError Source

One or more required fields were missing from the manifest file. Please correct and resubmit.

CreateJobQuotaExceededException

_CreateJobQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source

Each account can create only a certain number of jobs per day. If you need to create more than this, please contact awsimportexport'amazon.com to explain your particular use case.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

GetShippingLabel

CreateJob

ListJobs (Paginated)

UpdateJob

GetStatus

CancelJob

Types

JobType

Artifact

data Artifact Source

A discrete item that contains the description and URL of an artifact (such as a PDF).

See: artifact smart constructor.

artifact :: Artifact Source

Creates a value of Artifact with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aURL :: Lens' Artifact (Maybe Text) Source

Undocumented member.

aDescription :: Lens' Artifact (Maybe Text) Source

Undocumented member.

Job

data Job Source

Representation of a job returned by the ListJobs operation.

See: job smart constructor.

job Source

Creates a value of Job with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

jobJobType :: Lens' Job JobType Source

Undocumented member.

jobJobId :: Lens' Job Text Source

Undocumented member.

jobIsCanceled :: Lens' Job Bool Source

Undocumented member.

jobCreationDate :: Lens' Job UTCTime Source

Undocumented member.