Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- InvalidJobIdException
- InvalidParameterException
- ExpiredJobIdException
- InvalidFileSystemException
- InvalidAccessKeyIdException
- UnableToUpdateJobIdException
- UnableToCancelJobIdException
- InvalidVersionException
- MultipleRegionsException
- MalformedManifestException
- CanceledJobIdException
- BucketPermissionException
- MissingParameterException
- NoSuchBucketException
- InvalidAddressException
- InvalidManifestFieldException
- MissingCustomsException
- InvalidCustomsException
- MissingManifestFieldException
- CreateJobQuotaExceededException
- Waiters
- Operations
- Types
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
- importExport :: Service
- _InvalidJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- _ExpiredJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidFileSystemException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidAccessKeyIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnableToUpdateJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnableToCancelJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidVersionException :: AsError a => Getting (First ServiceError) a ServiceError
- _MultipleRegionsException :: AsError a => Getting (First ServiceError) a ServiceError
- _MalformedManifestException :: AsError a => Getting (First ServiceError) a ServiceError
- _CanceledJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
- _BucketPermissionException :: AsError a => Getting (First ServiceError) a ServiceError
- _MissingParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- _NoSuchBucketException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidAddressException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidManifestFieldException :: AsError a => Getting (First ServiceError) a ServiceError
- _MissingCustomsException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidCustomsException :: AsError a => Getting (First ServiceError) a ServiceError
- _MissingManifestFieldException :: AsError a => Getting (First ServiceError) a ServiceError
- _CreateJobQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- module Network.AWS.ImportExport.GetShippingLabel
- module Network.AWS.ImportExport.CreateJob
- module Network.AWS.ImportExport.ListJobs
- module Network.AWS.ImportExport.UpdateJob
- module Network.AWS.ImportExport.GetStatus
- module Network.AWS.ImportExport.CancelJob
- data JobType
- data Artifact
- artifact :: Artifact
- aURL :: Lens' Artifact (Maybe Text)
- aDescription :: Lens' Artifact (Maybe Text)
- data Job
- job :: JobType -> Text -> Bool -> UTCTime -> Job
- jobJobType :: Lens' Job JobType
- jobJobId :: Lens' Job Text
- jobIsCanceled :: Lens' Job Bool
- jobCreationDate :: Lens' Job UTCTime
Service Configuration
importExport :: Service Source
API version '2010-06-01' of the Amazon Import/Export SDK configuration.
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
Specifies whether the job to initiate is an import or export job.
Artifact
A discrete item that contains the description and URL of an artifact (such as a PDF).
See: artifact
smart constructor.
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:
Job
Representation of a job returned by the ListJobs operation.
See: job
smart constructor.
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.
jobIsCanceled :: Lens' Job Bool Source
Undocumented member.
jobCreationDate :: Lens' Job UTCTime Source
Undocumented member.