-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Amazon Import/Export SDK.
--
-- 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.
--
-- The types from this library are intended to be used with
-- amazonka, which provides mechanisms for specifying AuthN/AuthZ
-- information and sending requests.
--
-- Use of lenses is required for constructing and manipulating types.
-- This is due to the amount of nesting of AWS types and transparency
-- regarding de/serialisation into more palatable Haskell values. The
-- provided lenses should be compatible with any of the major lens
-- libraries such as lens or lens-family-core.
--
-- See Network.AWS.ImportExport and the AWS API Reference
-- to get started.
@package amazonka-importexport
@version 1.3.7
module Network.AWS.ImportExport.Types
-- | API version '2010-06-01' of the Amazon Import/Export SDK
-- configuration.
importExport :: Service
-- | The JOBID was missing, not found, or not associated with the AWS
-- account.
_InvalidJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more parameters had an invalid value.
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Indicates that the specified job has expired out of the system.
_ExpiredJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | File system specified in export manifest is invalid.
_InvalidFileSystemException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_InvalidAccessKeyIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | AWS Import/Export cannot update the job
_UnableToUpdateJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | AWS Import/Export cannot cancel the job
_UnableToCancelJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Your manifest file contained buckets from multiple regions. A job is
-- restricted to buckets from one region. Please correct and resubmit.
_MultipleRegionsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The client tool version is invalid.
_InvalidVersionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Your manifest is not well-formed.
_MalformedManifestException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more required parameters was missing from the request.
_MissingParameterException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified job ID has been canceled and is no longer valid.
_CanceledJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The account specified does not have the appropriate bucket
-- permissions.
_BucketPermissionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_NoSuchBucketException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The address specified in the manifest is invalid.
_InvalidAddressException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more required customs parameters was missing from the manifest.
_MissingCustomsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more manifest fields was invalid. Please correct and resubmit.
_InvalidManifestFieldException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more customs parameters was invalid. Please correct and
-- resubmit.
_InvalidCustomsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more required fields were missing from the manifest file.
-- Please correct and resubmit.
_MissingManifestFieldException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_CreateJobQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Specifies whether the job to initiate is an import or export job.
data JobType
Export :: JobType
Import :: JobType
-- | A discrete item that contains the description and URL of an artifact
-- (such as a PDF).
--
-- See: artifact smart constructor.
data Artifact
-- | 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:
--
--
artifact :: Artifact
-- | Undocumented member.
aURL :: Lens' Artifact (Maybe Text)
-- | Undocumented member.
aDescription :: Lens' Artifact (Maybe Text)
-- | Representation of a job returned by the ListJobs operation.
--
-- See: job smart constructor.
data Job
-- | 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:
--
--
job :: JobType -> Text -> Bool -> UTCTime -> Job
-- | Undocumented member.
jobJobType :: Lens' Job JobType
-- | Undocumented member.
jobJobId :: Lens' Job Text
-- | Undocumented member.
jobIsCanceled :: Lens' Job Bool
-- | Undocumented member.
jobCreationDate :: Lens' Job UTCTime
module Network.AWS.ImportExport.Waiters
-- | This operation cancels a specified job. Only the job owner can cancel
-- it. The operation fails if the job has already started or is complete.
--
-- See: AWS API Reference for CancelJob.
module Network.AWS.ImportExport.CancelJob
-- | Creates a value of CancelJob with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
cancelJob :: Text -> CancelJob
-- | Input structure for the CancelJob operation.
--
-- See: cancelJob smart constructor.
data CancelJob
-- | Undocumented member.
cAPIVersion :: Lens' CancelJob (Maybe Text)
-- | Undocumented member.
cJobId :: Lens' CancelJob Text
-- | Creates a value of CancelJobResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
cancelJobResponse :: Int -> CancelJobResponse
-- | Output structure for the CancelJob operation.
--
-- See: cancelJobResponse smart constructor.
data CancelJobResponse
-- | Undocumented member.
crsSuccess :: Lens' CancelJobResponse (Maybe Bool)
-- | The response status code.
crsResponseStatus :: Lens' CancelJobResponse Int
instance GHC.Generics.Selector Network.AWS.ImportExport.CancelJob.S1_0_1CancelJobResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.CancelJob.S1_0_0CancelJobResponse
instance GHC.Generics.Constructor Network.AWS.ImportExport.CancelJob.C1_0CancelJobResponse
instance GHC.Generics.Datatype Network.AWS.ImportExport.CancelJob.D1CancelJobResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.CancelJob.S1_0_1CancelJob
instance GHC.Generics.Selector Network.AWS.ImportExport.CancelJob.S1_0_0CancelJob
instance GHC.Generics.Constructor Network.AWS.ImportExport.CancelJob.C1_0CancelJob
instance GHC.Generics.Datatype Network.AWS.ImportExport.CancelJob.D1CancelJob
instance GHC.Generics.Generic Network.AWS.ImportExport.CancelJob.CancelJobResponse
instance Data.Data.Data Network.AWS.ImportExport.CancelJob.CancelJobResponse
instance GHC.Show.Show Network.AWS.ImportExport.CancelJob.CancelJobResponse
instance GHC.Read.Read Network.AWS.ImportExport.CancelJob.CancelJobResponse
instance GHC.Classes.Eq Network.AWS.ImportExport.CancelJob.CancelJobResponse
instance GHC.Generics.Generic Network.AWS.ImportExport.CancelJob.CancelJob
instance Data.Data.Data Network.AWS.ImportExport.CancelJob.CancelJob
instance GHC.Show.Show Network.AWS.ImportExport.CancelJob.CancelJob
instance GHC.Read.Read Network.AWS.ImportExport.CancelJob.CancelJob
instance GHC.Classes.Eq Network.AWS.ImportExport.CancelJob.CancelJob
instance Network.AWS.Types.AWSRequest Network.AWS.ImportExport.CancelJob.CancelJob
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ImportExport.CancelJob.CancelJob
instance Network.AWS.Data.Path.ToPath Network.AWS.ImportExport.CancelJob.CancelJob
instance Network.AWS.Data.Query.ToQuery Network.AWS.ImportExport.CancelJob.CancelJob
-- | This operation returns information about a job, including where the
-- job is in the processing pipeline, the status of the results, and the
-- signature value associated with the job. You can only return
-- information about jobs you own.
--
-- See: AWS API Reference for GetStatus.
module Network.AWS.ImportExport.GetStatus
-- | Creates a value of GetStatus with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getStatus :: Text -> GetStatus
-- | Input structure for the GetStatus operation.
--
-- See: getStatus smart constructor.
data GetStatus
-- | Undocumented member.
gsAPIVersion :: Lens' GetStatus (Maybe Text)
-- | Undocumented member.
gsJobId :: Lens' GetStatus Text
-- | Creates a value of GetStatusResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getStatusResponse :: Int -> GetStatusResponse
-- | Output structure for the GetStatus operation.
--
-- See: getStatusResponse smart constructor.
data GetStatusResponse
-- | Undocumented member.
gsrsCarrier :: Lens' GetStatusResponse (Maybe Text)
-- | Undocumented member.
gsrsTrackingNumber :: Lens' GetStatusResponse (Maybe Text)
-- | Undocumented member.
gsrsSignature :: Lens' GetStatusResponse (Maybe Text)
-- | Undocumented member.
gsrsJobType :: Lens' GetStatusResponse (Maybe JobType)
-- | Undocumented member.
gsrsJobId :: Lens' GetStatusResponse (Maybe Text)
-- | Undocumented member.
gsrsSignatureFileContents :: Lens' GetStatusResponse (Maybe Text)
-- | Undocumented member.
gsrsErrorCount :: Lens' GetStatusResponse (Maybe Int)
-- | Undocumented member.
gsrsCurrentManifest :: Lens' GetStatusResponse (Maybe Text)
-- | Undocumented member.
gsrsArtifactList :: Lens' GetStatusResponse [Artifact]
-- | Undocumented member.
gsrsLogBucket :: Lens' GetStatusResponse (Maybe Text)
-- | Undocumented member.
gsrsCreationDate :: Lens' GetStatusResponse (Maybe UTCTime)
-- | Undocumented member.
gsrsProgressCode :: Lens' GetStatusResponse (Maybe Text)
-- | Undocumented member.
gsrsLocationCode :: Lens' GetStatusResponse (Maybe Text)
-- | Undocumented member.
gsrsLogKey :: Lens' GetStatusResponse (Maybe Text)
-- | Undocumented member.
gsrsLocationMessage :: Lens' GetStatusResponse (Maybe Text)
-- | Undocumented member.
gsrsProgressMessage :: Lens' GetStatusResponse (Maybe Text)
-- | The response status code.
gsrsResponseStatus :: Lens' GetStatusResponse Int
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_16GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_15GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_14GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_13GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_12GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_11GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_10GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_9GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_8GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_7GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_6GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_5GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_4GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_3GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_2GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_1GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_0GetStatusResponse
instance GHC.Generics.Constructor Network.AWS.ImportExport.GetStatus.C1_0GetStatusResponse
instance GHC.Generics.Datatype Network.AWS.ImportExport.GetStatus.D1GetStatusResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_1GetStatus
instance GHC.Generics.Selector Network.AWS.ImportExport.GetStatus.S1_0_0GetStatus
instance GHC.Generics.Constructor Network.AWS.ImportExport.GetStatus.C1_0GetStatus
instance GHC.Generics.Datatype Network.AWS.ImportExport.GetStatus.D1GetStatus
instance GHC.Generics.Generic Network.AWS.ImportExport.GetStatus.GetStatusResponse
instance Data.Data.Data Network.AWS.ImportExport.GetStatus.GetStatusResponse
instance GHC.Show.Show Network.AWS.ImportExport.GetStatus.GetStatusResponse
instance GHC.Read.Read Network.AWS.ImportExport.GetStatus.GetStatusResponse
instance GHC.Classes.Eq Network.AWS.ImportExport.GetStatus.GetStatusResponse
instance GHC.Generics.Generic Network.AWS.ImportExport.GetStatus.GetStatus
instance Data.Data.Data Network.AWS.ImportExport.GetStatus.GetStatus
instance GHC.Show.Show Network.AWS.ImportExport.GetStatus.GetStatus
instance GHC.Read.Read Network.AWS.ImportExport.GetStatus.GetStatus
instance GHC.Classes.Eq Network.AWS.ImportExport.GetStatus.GetStatus
instance Network.AWS.Types.AWSRequest Network.AWS.ImportExport.GetStatus.GetStatus
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ImportExport.GetStatus.GetStatus
instance Network.AWS.Data.Path.ToPath Network.AWS.ImportExport.GetStatus.GetStatus
instance Network.AWS.Data.Query.ToQuery Network.AWS.ImportExport.GetStatus.GetStatus
-- | You use this operation to change the parameters specified in the
-- original manifest file by supplying a new manifest file. The manifest
-- file attached to this request replaces the original manifest file. You
-- can only use the operation after a CreateJob request but before the
-- data transfer starts and you can only use it on jobs you own.
--
-- See: AWS API Reference for UpdateJob.
module Network.AWS.ImportExport.UpdateJob
-- | Creates a value of UpdateJob with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updateJob :: Text -> Text -> JobType -> Bool -> UpdateJob
-- | Input structure for the UpateJob operation.
--
-- See: updateJob smart constructor.
data UpdateJob
-- | Undocumented member.
ujAPIVersion :: Lens' UpdateJob (Maybe Text)
-- | Undocumented member.
ujJobId :: Lens' UpdateJob Text
-- | Undocumented member.
ujManifest :: Lens' UpdateJob Text
-- | Undocumented member.
ujJobType :: Lens' UpdateJob JobType
-- | Undocumented member.
ujValidateOnly :: Lens' UpdateJob Bool
-- | Creates a value of UpdateJobResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
updateJobResponse :: Int -> UpdateJobResponse
-- | Output structure for the UpateJob operation.
--
-- See: updateJobResponse smart constructor.
data UpdateJobResponse
-- | Undocumented member.
ujrsSuccess :: Lens' UpdateJobResponse (Maybe Bool)
-- | Undocumented member.
ujrsWarningMessage :: Lens' UpdateJobResponse (Maybe Text)
-- | Undocumented member.
ujrsArtifactList :: Lens' UpdateJobResponse [Artifact]
-- | The response status code.
ujrsResponseStatus :: Lens' UpdateJobResponse Int
instance GHC.Generics.Selector Network.AWS.ImportExport.UpdateJob.S1_0_3UpdateJobResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.UpdateJob.S1_0_2UpdateJobResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.UpdateJob.S1_0_1UpdateJobResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.UpdateJob.S1_0_0UpdateJobResponse
instance GHC.Generics.Constructor Network.AWS.ImportExport.UpdateJob.C1_0UpdateJobResponse
instance GHC.Generics.Datatype Network.AWS.ImportExport.UpdateJob.D1UpdateJobResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.UpdateJob.S1_0_4UpdateJob
instance GHC.Generics.Selector Network.AWS.ImportExport.UpdateJob.S1_0_3UpdateJob
instance GHC.Generics.Selector Network.AWS.ImportExport.UpdateJob.S1_0_2UpdateJob
instance GHC.Generics.Selector Network.AWS.ImportExport.UpdateJob.S1_0_1UpdateJob
instance GHC.Generics.Selector Network.AWS.ImportExport.UpdateJob.S1_0_0UpdateJob
instance GHC.Generics.Constructor Network.AWS.ImportExport.UpdateJob.C1_0UpdateJob
instance GHC.Generics.Datatype Network.AWS.ImportExport.UpdateJob.D1UpdateJob
instance GHC.Generics.Generic Network.AWS.ImportExport.UpdateJob.UpdateJobResponse
instance Data.Data.Data Network.AWS.ImportExport.UpdateJob.UpdateJobResponse
instance GHC.Show.Show Network.AWS.ImportExport.UpdateJob.UpdateJobResponse
instance GHC.Read.Read Network.AWS.ImportExport.UpdateJob.UpdateJobResponse
instance GHC.Classes.Eq Network.AWS.ImportExport.UpdateJob.UpdateJobResponse
instance GHC.Generics.Generic Network.AWS.ImportExport.UpdateJob.UpdateJob
instance Data.Data.Data Network.AWS.ImportExport.UpdateJob.UpdateJob
instance GHC.Show.Show Network.AWS.ImportExport.UpdateJob.UpdateJob
instance GHC.Read.Read Network.AWS.ImportExport.UpdateJob.UpdateJob
instance GHC.Classes.Eq Network.AWS.ImportExport.UpdateJob.UpdateJob
instance Network.AWS.Types.AWSRequest Network.AWS.ImportExport.UpdateJob.UpdateJob
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ImportExport.UpdateJob.UpdateJob
instance Network.AWS.Data.Path.ToPath Network.AWS.ImportExport.UpdateJob.UpdateJob
instance Network.AWS.Data.Query.ToQuery Network.AWS.ImportExport.UpdateJob.UpdateJob
-- | This operation returns the jobs associated with the requester. AWS
-- Import/Export lists the jobs in reverse chronological order based on
-- the date of creation. For example if Job Test1 was created 2009Dec30
-- and Test2 was created 2010Feb05, the ListJobs operation would return
-- Test2 followed by Test1.
--
-- See: AWS API Reference for ListJobs.
--
-- This operation returns paginated results.
module Network.AWS.ImportExport.ListJobs
-- | Creates a value of ListJobs with the minimum fields required to
-- make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
listJobs :: ListJobs
-- | Input structure for the ListJobs operation.
--
-- See: listJobs smart constructor.
data ListJobs
-- | Undocumented member.
ljAPIVersion :: Lens' ListJobs (Maybe Text)
-- | Undocumented member.
ljMarker :: Lens' ListJobs (Maybe Text)
-- | Undocumented member.
ljMaxJobs :: Lens' ListJobs (Maybe Int)
-- | Creates a value of ListJobsResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
listJobsResponse :: Int -> ListJobsResponse
-- | Output structure for the ListJobs operation.
--
-- See: listJobsResponse smart constructor.
data ListJobsResponse
-- | Undocumented member.
ljrsJobs :: Lens' ListJobsResponse [Job]
-- | Undocumented member.
ljrsIsTruncated :: Lens' ListJobsResponse (Maybe Bool)
-- | The response status code.
ljrsResponseStatus :: Lens' ListJobsResponse Int
instance GHC.Generics.Selector Network.AWS.ImportExport.ListJobs.S1_0_2ListJobsResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.ListJobs.S1_0_1ListJobsResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.ListJobs.S1_0_0ListJobsResponse
instance GHC.Generics.Constructor Network.AWS.ImportExport.ListJobs.C1_0ListJobsResponse
instance GHC.Generics.Datatype Network.AWS.ImportExport.ListJobs.D1ListJobsResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.ListJobs.S1_0_2ListJobs
instance GHC.Generics.Selector Network.AWS.ImportExport.ListJobs.S1_0_1ListJobs
instance GHC.Generics.Selector Network.AWS.ImportExport.ListJobs.S1_0_0ListJobs
instance GHC.Generics.Constructor Network.AWS.ImportExport.ListJobs.C1_0ListJobs
instance GHC.Generics.Datatype Network.AWS.ImportExport.ListJobs.D1ListJobs
instance GHC.Generics.Generic Network.AWS.ImportExport.ListJobs.ListJobsResponse
instance Data.Data.Data Network.AWS.ImportExport.ListJobs.ListJobsResponse
instance GHC.Show.Show Network.AWS.ImportExport.ListJobs.ListJobsResponse
instance GHC.Read.Read Network.AWS.ImportExport.ListJobs.ListJobsResponse
instance GHC.Classes.Eq Network.AWS.ImportExport.ListJobs.ListJobsResponse
instance GHC.Generics.Generic Network.AWS.ImportExport.ListJobs.ListJobs
instance Data.Data.Data Network.AWS.ImportExport.ListJobs.ListJobs
instance GHC.Show.Show Network.AWS.ImportExport.ListJobs.ListJobs
instance GHC.Read.Read Network.AWS.ImportExport.ListJobs.ListJobs
instance GHC.Classes.Eq Network.AWS.ImportExport.ListJobs.ListJobs
instance Network.AWS.Pager.AWSPager Network.AWS.ImportExport.ListJobs.ListJobs
instance Network.AWS.Types.AWSRequest Network.AWS.ImportExport.ListJobs.ListJobs
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ImportExport.ListJobs.ListJobs
instance Network.AWS.Data.Path.ToPath Network.AWS.ImportExport.ListJobs.ListJobs
instance Network.AWS.Data.Query.ToQuery Network.AWS.ImportExport.ListJobs.ListJobs
-- | This operation initiates the process of scheduling an upload or
-- download of your data. You include in the request a manifest that
-- describes the data transfer specifics. The response to the request
-- includes a job ID, which you can use in other operations, a signature
-- that you use to identify your storage device, and the address where
-- you should ship your storage device.
--
-- See: AWS API Reference for CreateJob.
module Network.AWS.ImportExport.CreateJob
-- | Creates a value of CreateJob with the minimum fields required
-- to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createJob :: JobType -> Text -> Bool -> CreateJob
-- | Input structure for the CreateJob operation.
--
-- See: createJob smart constructor.
data CreateJob
-- | Undocumented member.
cjAPIVersion :: Lens' CreateJob (Maybe Text)
-- | Undocumented member.
cjManifestAddendum :: Lens' CreateJob (Maybe Text)
-- | Undocumented member.
cjJobType :: Lens' CreateJob JobType
-- | Undocumented member.
cjManifest :: Lens' CreateJob Text
-- | Undocumented member.
cjValidateOnly :: Lens' CreateJob Bool
-- | Creates a value of CreateJobResponse with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
createJobResponse :: Int -> CreateJobResponse
-- | Output structure for the CreateJob operation.
--
-- See: createJobResponse smart constructor.
data CreateJobResponse
-- | Undocumented member.
cjrsSignature :: Lens' CreateJobResponse (Maybe Text)
-- | Undocumented member.
cjrsJobType :: Lens' CreateJobResponse (Maybe JobType)
-- | Undocumented member.
cjrsJobId :: Lens' CreateJobResponse (Maybe Text)
-- | Undocumented member.
cjrsSignatureFileContents :: Lens' CreateJobResponse (Maybe Text)
-- | Undocumented member.
cjrsWarningMessage :: Lens' CreateJobResponse (Maybe Text)
-- | Undocumented member.
cjrsArtifactList :: Lens' CreateJobResponse [Artifact]
-- | The response status code.
cjrsResponseStatus :: Lens' CreateJobResponse Int
instance GHC.Generics.Selector Network.AWS.ImportExport.CreateJob.S1_0_6CreateJobResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.CreateJob.S1_0_5CreateJobResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.CreateJob.S1_0_4CreateJobResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.CreateJob.S1_0_3CreateJobResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.CreateJob.S1_0_2CreateJobResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.CreateJob.S1_0_1CreateJobResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.CreateJob.S1_0_0CreateJobResponse
instance GHC.Generics.Constructor Network.AWS.ImportExport.CreateJob.C1_0CreateJobResponse
instance GHC.Generics.Datatype Network.AWS.ImportExport.CreateJob.D1CreateJobResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.CreateJob.S1_0_4CreateJob
instance GHC.Generics.Selector Network.AWS.ImportExport.CreateJob.S1_0_3CreateJob
instance GHC.Generics.Selector Network.AWS.ImportExport.CreateJob.S1_0_2CreateJob
instance GHC.Generics.Selector Network.AWS.ImportExport.CreateJob.S1_0_1CreateJob
instance GHC.Generics.Selector Network.AWS.ImportExport.CreateJob.S1_0_0CreateJob
instance GHC.Generics.Constructor Network.AWS.ImportExport.CreateJob.C1_0CreateJob
instance GHC.Generics.Datatype Network.AWS.ImportExport.CreateJob.D1CreateJob
instance GHC.Generics.Generic Network.AWS.ImportExport.CreateJob.CreateJobResponse
instance Data.Data.Data Network.AWS.ImportExport.CreateJob.CreateJobResponse
instance GHC.Show.Show Network.AWS.ImportExport.CreateJob.CreateJobResponse
instance GHC.Read.Read Network.AWS.ImportExport.CreateJob.CreateJobResponse
instance GHC.Classes.Eq Network.AWS.ImportExport.CreateJob.CreateJobResponse
instance GHC.Generics.Generic Network.AWS.ImportExport.CreateJob.CreateJob
instance Data.Data.Data Network.AWS.ImportExport.CreateJob.CreateJob
instance GHC.Show.Show Network.AWS.ImportExport.CreateJob.CreateJob
instance GHC.Read.Read Network.AWS.ImportExport.CreateJob.CreateJob
instance GHC.Classes.Eq Network.AWS.ImportExport.CreateJob.CreateJob
instance Network.AWS.Types.AWSRequest Network.AWS.ImportExport.CreateJob.CreateJob
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ImportExport.CreateJob.CreateJob
instance Network.AWS.Data.Path.ToPath Network.AWS.ImportExport.CreateJob.CreateJob
instance Network.AWS.Data.Query.ToQuery Network.AWS.ImportExport.CreateJob.CreateJob
-- | This operation generates a pre-paid UPS shipping label that you will
-- use to ship your device to AWS for processing.
--
-- See: AWS API Reference for GetShippingLabel.
module Network.AWS.ImportExport.GetShippingLabel
-- | Creates a value of GetShippingLabel with the minimum fields
-- required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getShippingLabel :: GetShippingLabel
-- | See: getShippingLabel smart constructor.
data GetShippingLabel
-- | Undocumented member.
gslStreet3 :: Lens' GetShippingLabel (Maybe Text)
-- | Undocumented member.
gslAPIVersion :: Lens' GetShippingLabel (Maybe Text)
-- | Undocumented member.
gslCountry :: Lens' GetShippingLabel (Maybe Text)
-- | Undocumented member.
gslStateOrProvince :: Lens' GetShippingLabel (Maybe Text)
-- | Undocumented member.
gslPostalCode :: Lens' GetShippingLabel (Maybe Text)
-- | Undocumented member.
gslStreet2 :: Lens' GetShippingLabel (Maybe Text)
-- | Undocumented member.
gslName :: Lens' GetShippingLabel (Maybe Text)
-- | Undocumented member.
gslCompany :: Lens' GetShippingLabel (Maybe Text)
-- | Undocumented member.
gslPhoneNumber :: Lens' GetShippingLabel (Maybe Text)
-- | Undocumented member.
gslCity :: Lens' GetShippingLabel (Maybe Text)
-- | Undocumented member.
gslStreet1 :: Lens' GetShippingLabel (Maybe Text)
-- | Undocumented member.
gslJobIds :: Lens' GetShippingLabel [Text]
-- | Creates a value of GetShippingLabelResponse with the minimum
-- fields required to make a request.
--
-- Use one of the following lenses to modify other fields as desired:
--
--
getShippingLabelResponse :: Int -> GetShippingLabelResponse
-- | See: getShippingLabelResponse smart constructor.
data GetShippingLabelResponse
-- | Undocumented member.
gslrsShippingLabelURL :: Lens' GetShippingLabelResponse (Maybe Text)
-- | Undocumented member.
gslrsWarning :: Lens' GetShippingLabelResponse (Maybe Text)
-- | The response status code.
gslrsResponseStatus :: Lens' GetShippingLabelResponse Int
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_2GetShippingLabelResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_1GetShippingLabelResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_0GetShippingLabelResponse
instance GHC.Generics.Constructor Network.AWS.ImportExport.GetShippingLabel.C1_0GetShippingLabelResponse
instance GHC.Generics.Datatype Network.AWS.ImportExport.GetShippingLabel.D1GetShippingLabelResponse
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_11GetShippingLabel
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_10GetShippingLabel
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_9GetShippingLabel
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_8GetShippingLabel
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_7GetShippingLabel
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_6GetShippingLabel
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_5GetShippingLabel
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_4GetShippingLabel
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_3GetShippingLabel
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_2GetShippingLabel
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_1GetShippingLabel
instance GHC.Generics.Selector Network.AWS.ImportExport.GetShippingLabel.S1_0_0GetShippingLabel
instance GHC.Generics.Constructor Network.AWS.ImportExport.GetShippingLabel.C1_0GetShippingLabel
instance GHC.Generics.Datatype Network.AWS.ImportExport.GetShippingLabel.D1GetShippingLabel
instance GHC.Generics.Generic Network.AWS.ImportExport.GetShippingLabel.GetShippingLabelResponse
instance Data.Data.Data Network.AWS.ImportExport.GetShippingLabel.GetShippingLabelResponse
instance GHC.Show.Show Network.AWS.ImportExport.GetShippingLabel.GetShippingLabelResponse
instance GHC.Read.Read Network.AWS.ImportExport.GetShippingLabel.GetShippingLabelResponse
instance GHC.Classes.Eq Network.AWS.ImportExport.GetShippingLabel.GetShippingLabelResponse
instance GHC.Generics.Generic Network.AWS.ImportExport.GetShippingLabel.GetShippingLabel
instance Data.Data.Data Network.AWS.ImportExport.GetShippingLabel.GetShippingLabel
instance GHC.Show.Show Network.AWS.ImportExport.GetShippingLabel.GetShippingLabel
instance GHC.Read.Read Network.AWS.ImportExport.GetShippingLabel.GetShippingLabel
instance GHC.Classes.Eq Network.AWS.ImportExport.GetShippingLabel.GetShippingLabel
instance Network.AWS.Types.AWSRequest Network.AWS.ImportExport.GetShippingLabel.GetShippingLabel
instance Network.AWS.Data.Headers.ToHeaders Network.AWS.ImportExport.GetShippingLabel.GetShippingLabel
instance Network.AWS.Data.Path.ToPath Network.AWS.ImportExport.GetShippingLabel.GetShippingLabel
instance Network.AWS.Data.Query.ToQuery Network.AWS.ImportExport.GetShippingLabel.GetShippingLabel
-- | 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
module Network.AWS.ImportExport
-- | API version '2010-06-01' of the Amazon Import/Export SDK
-- configuration.
importExport :: Service
-- | The JOBID was missing, not found, or not associated with the AWS
-- account.
_InvalidJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more parameters had an invalid value.
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Indicates that the specified job has expired out of the system.
_ExpiredJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | File system specified in export manifest is invalid.
_InvalidFileSystemException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_InvalidAccessKeyIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | AWS Import/Export cannot update the job
_UnableToUpdateJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | AWS Import/Export cannot cancel the job
_UnableToCancelJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Your manifest file contained buckets from multiple regions. A job is
-- restricted to buckets from one region. Please correct and resubmit.
_MultipleRegionsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The client tool version is invalid.
_InvalidVersionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Your manifest is not well-formed.
_MalformedManifestException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more required parameters was missing from the request.
_MissingParameterException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The specified job ID has been canceled and is no longer valid.
_CanceledJobIdException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The account specified does not have the appropriate bucket
-- permissions.
_BucketPermissionException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_NoSuchBucketException :: AsError a => Getting (First ServiceError) a ServiceError
-- | The address specified in the manifest is invalid.
_InvalidAddressException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more required customs parameters was missing from the manifest.
_MissingCustomsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more manifest fields was invalid. Please correct and resubmit.
_InvalidManifestFieldException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more customs parameters was invalid. Please correct and
-- resubmit.
_InvalidCustomsException :: AsError a => Getting (First ServiceError) a ServiceError
-- | One or more required fields were missing from the manifest file.
-- Please correct and resubmit.
_MissingManifestFieldException :: AsError a => Getting (First ServiceError) a ServiceError
-- | 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.
_CreateJobQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError
-- | Specifies whether the job to initiate is an import or export job.
data JobType
Export :: JobType
Import :: JobType
-- | A discrete item that contains the description and URL of an artifact
-- (such as a PDF).
--
-- See: artifact smart constructor.
data Artifact
-- | 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:
--
--
artifact :: Artifact
-- | Undocumented member.
aURL :: Lens' Artifact (Maybe Text)
-- | Undocumented member.
aDescription :: Lens' Artifact (Maybe Text)
-- | Representation of a job returned by the ListJobs operation.
--
-- See: job smart constructor.
data Job
-- | 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:
--
--
job :: JobType -> Text -> Bool -> UTCTime -> Job
-- | Undocumented member.
jobJobType :: Lens' Job JobType
-- | Undocumented member.
jobJobId :: Lens' Job Text
-- | Undocumented member.
jobIsCanceled :: Lens' Job Bool
-- | Undocumented member.
jobCreationDate :: Lens' Job UTCTime