-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Amazon Import/Export SDK. -- -- Derived from API version 2010-06-01 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- The types from this library are intended to be used with -- amazonka, which provides mechanisms for specifying AuthN/AuthZ -- information, sending requests, and receiving responses. -- -- It is recommended to use generic lenses or optics from packages such -- as generic-lens or optics to modify optional fields and -- deconstruct responses. -- -- Generated lenses can be found in Amazonka.ImportExport.Lens and -- are suitable for use with a lens package such as lens or -- lens-family-core. -- -- See Amazonka.ImportExport and the AWS documentation to -- get started. @package amazonka-importexport @version 2.0 module Amazonka.ImportExport.Types.Artifact -- | A discrete item that contains the description and URL of an artifact -- (such as a PDF). -- -- See: newArtifact smart constructor. data Artifact Artifact' :: Maybe Text -> Maybe Text -> Artifact [$sel:description:Artifact'] :: Artifact -> Maybe Text [$sel:url:Artifact'] :: Artifact -> Maybe Text -- | Create a value of Artifact with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:description:Artifact', artifact_description - -- Undocumented member. -- -- $sel:url:Artifact', artifact_url - Undocumented member. newArtifact :: Artifact -- | Undocumented member. artifact_description :: Lens' Artifact (Maybe Text) -- | Undocumented member. artifact_url :: Lens' Artifact (Maybe Text) instance GHC.Generics.Generic Amazonka.ImportExport.Types.Artifact.Artifact instance GHC.Show.Show Amazonka.ImportExport.Types.Artifact.Artifact instance GHC.Read.Read Amazonka.ImportExport.Types.Artifact.Artifact instance GHC.Classes.Eq Amazonka.ImportExport.Types.Artifact.Artifact instance Amazonka.Data.XML.FromXML Amazonka.ImportExport.Types.Artifact.Artifact instance Data.Hashable.Class.Hashable Amazonka.ImportExport.Types.Artifact.Artifact instance Control.DeepSeq.NFData Amazonka.ImportExport.Types.Artifact.Artifact module Amazonka.ImportExport.Types.JobType -- | Specifies whether the job to initiate is an import or export job. newtype JobType JobType' :: Text -> JobType [fromJobType] :: JobType -> Text pattern JobType_Export :: JobType pattern JobType_Import :: JobType instance Amazonka.Data.XML.ToXML Amazonka.ImportExport.Types.JobType.JobType instance Amazonka.Data.XML.FromXML Amazonka.ImportExport.Types.JobType.JobType instance Data.Aeson.Types.ToJSON.ToJSONKey Amazonka.ImportExport.Types.JobType.JobType instance Data.Aeson.Types.ToJSON.ToJSON Amazonka.ImportExport.Types.JobType.JobType instance Data.Aeson.Types.FromJSON.FromJSONKey Amazonka.ImportExport.Types.JobType.JobType instance Data.Aeson.Types.FromJSON.FromJSON Amazonka.ImportExport.Types.JobType.JobType instance Amazonka.Data.Query.ToQuery Amazonka.ImportExport.Types.JobType.JobType instance Amazonka.Data.Headers.ToHeader Amazonka.ImportExport.Types.JobType.JobType instance Amazonka.Data.Log.ToLog Amazonka.ImportExport.Types.JobType.JobType instance Amazonka.Data.ByteString.ToByteString Amazonka.ImportExport.Types.JobType.JobType instance Amazonka.Data.Text.ToText Amazonka.ImportExport.Types.JobType.JobType instance Amazonka.Data.Text.FromText Amazonka.ImportExport.Types.JobType.JobType instance Control.DeepSeq.NFData Amazonka.ImportExport.Types.JobType.JobType instance Data.Hashable.Class.Hashable Amazonka.ImportExport.Types.JobType.JobType instance GHC.Generics.Generic Amazonka.ImportExport.Types.JobType.JobType instance GHC.Classes.Ord Amazonka.ImportExport.Types.JobType.JobType instance GHC.Classes.Eq Amazonka.ImportExport.Types.JobType.JobType instance GHC.Read.Read Amazonka.ImportExport.Types.JobType.JobType instance GHC.Show.Show Amazonka.ImportExport.Types.JobType.JobType module Amazonka.ImportExport.Types.Job -- | Representation of a job returned by the ListJobs operation. -- -- See: newJob smart constructor. data Job Job' :: JobType -> Text -> Bool -> ISO8601 -> Job [$sel:jobType:Job'] :: Job -> JobType [$sel:jobId:Job'] :: Job -> Text [$sel:isCanceled:Job'] :: Job -> Bool [$sel:creationDate:Job'] :: Job -> ISO8601 -- | Create a value of Job with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:jobType:Job', job_jobType - Undocumented member. -- -- $sel:jobId:Job', job_jobId - Undocumented member. -- -- $sel:isCanceled:Job', job_isCanceled - Undocumented -- member. -- -- $sel:creationDate:Job', job_creationDate - Undocumented -- member. newJob :: JobType -> Text -> Bool -> UTCTime -> Job -- | Undocumented member. job_jobType :: Lens' Job JobType -- | Undocumented member. job_jobId :: Lens' Job Text -- | Undocumented member. job_isCanceled :: Lens' Job Bool -- | Undocumented member. job_creationDate :: Lens' Job UTCTime instance GHC.Generics.Generic Amazonka.ImportExport.Types.Job.Job instance GHC.Show.Show Amazonka.ImportExport.Types.Job.Job instance GHC.Read.Read Amazonka.ImportExport.Types.Job.Job instance GHC.Classes.Eq Amazonka.ImportExport.Types.Job.Job instance Amazonka.Data.XML.FromXML Amazonka.ImportExport.Types.Job.Job instance Data.Hashable.Class.Hashable Amazonka.ImportExport.Types.Job.Job instance Control.DeepSeq.NFData Amazonka.ImportExport.Types.Job.Job module Amazonka.ImportExport.Types -- | API version 2010-06-01 of the Amazon Import/Export SDK -- configuration. defaultService :: Service -- | The account specified does not have the appropriate bucket -- permissions. _BucketPermissionException :: AsError a => Fold a ServiceError -- | The specified job ID has been canceled and is no longer valid. _CanceledJobIdException :: AsError a => Fold 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 => Fold a ServiceError -- | Indicates that the specified job has expired out of the system. _ExpiredJobIdException :: AsError a => Fold 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 => Fold a ServiceError -- | The address specified in the manifest is invalid. _InvalidAddressException :: AsError a => Fold a ServiceError -- | One or more customs parameters was invalid. Please correct and -- resubmit. _InvalidCustomsException :: AsError a => Fold a ServiceError -- | File system specified in export manifest is invalid. _InvalidFileSystemException :: AsError a => Fold a ServiceError -- | The JOBID was missing, not found, or not associated with the AWS -- account. _InvalidJobIdException :: AsError a => Fold a ServiceError -- | One or more manifest fields was invalid. Please correct and resubmit. _InvalidManifestFieldException :: AsError a => Fold a ServiceError -- | One or more parameters had an invalid value. _InvalidParameterException :: AsError a => Fold a ServiceError -- | The client tool version is invalid. _InvalidVersionException :: AsError a => Fold a ServiceError -- | Your manifest is not well-formed. _MalformedManifestException :: AsError a => Fold a ServiceError -- | One or more required customs parameters was missing from the manifest. _MissingCustomsException :: AsError a => Fold a ServiceError -- | One or more required fields were missing from the manifest file. -- Please correct and resubmit. _MissingManifestFieldException :: AsError a => Fold a ServiceError -- | One or more required parameters was missing from the request. _MissingParameterException :: AsError a => Fold 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 => Fold 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 => Fold a ServiceError -- | AWS Import/Export cannot cancel the job _UnableToCancelJobIdException :: AsError a => Fold a ServiceError -- | AWS Import/Export cannot update the job _UnableToUpdateJobIdException :: AsError a => Fold a ServiceError -- | Specifies whether the job to initiate is an import or export job. newtype JobType JobType' :: Text -> JobType [fromJobType] :: JobType -> Text pattern JobType_Export :: JobType pattern JobType_Import :: JobType -- | A discrete item that contains the description and URL of an artifact -- (such as a PDF). -- -- See: newArtifact smart constructor. data Artifact Artifact' :: Maybe Text -> Maybe Text -> Artifact [$sel:description:Artifact'] :: Artifact -> Maybe Text [$sel:url:Artifact'] :: Artifact -> Maybe Text -- | Create a value of Artifact with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:description:Artifact', artifact_description - -- Undocumented member. -- -- $sel:url:Artifact', artifact_url - Undocumented member. newArtifact :: Artifact -- | Undocumented member. artifact_description :: Lens' Artifact (Maybe Text) -- | Undocumented member. artifact_url :: Lens' Artifact (Maybe Text) -- | Representation of a job returned by the ListJobs operation. -- -- See: newJob smart constructor. data Job Job' :: JobType -> Text -> Bool -> ISO8601 -> Job [$sel:jobType:Job'] :: Job -> JobType [$sel:jobId:Job'] :: Job -> Text [$sel:isCanceled:Job'] :: Job -> Bool [$sel:creationDate:Job'] :: Job -> ISO8601 -- | Create a value of Job with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:jobType:Job', job_jobType - Undocumented member. -- -- $sel:jobId:Job', job_jobId - Undocumented member. -- -- $sel:isCanceled:Job', job_isCanceled - Undocumented -- member. -- -- $sel:creationDate:Job', job_creationDate - Undocumented -- member. newJob :: JobType -> Text -> Bool -> UTCTime -> Job -- | Undocumented member. job_jobType :: Lens' Job JobType -- | Undocumented member. job_jobId :: Lens' Job Text -- | Undocumented member. job_isCanceled :: Lens' Job Bool -- | Undocumented member. job_creationDate :: Lens' Job UTCTime -- | 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. -- -- This operation returns paginated results. module Amazonka.ImportExport.ListJobs -- | Input structure for the ListJobs operation. -- -- See: newListJobs smart constructor. data ListJobs ListJobs' :: Maybe Text -> Maybe Text -> Maybe Int -> ListJobs [$sel:aPIVersion:ListJobs'] :: ListJobs -> Maybe Text [$sel:marker:ListJobs'] :: ListJobs -> Maybe Text [$sel:maxJobs:ListJobs'] :: ListJobs -> Maybe Int -- | Create a value of ListJobs with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aPIVersion:ListJobs', listJobs_aPIVersion - -- Undocumented member. -- -- $sel:marker:ListJobs', listJobs_marker - Undocumented -- member. -- -- $sel:maxJobs:ListJobs', listJobs_maxJobs - Undocumented -- member. newListJobs :: ListJobs -- | Undocumented member. listJobs_aPIVersion :: Lens' ListJobs (Maybe Text) -- | Undocumented member. listJobs_marker :: Lens' ListJobs (Maybe Text) -- | Undocumented member. listJobs_maxJobs :: Lens' ListJobs (Maybe Int) -- | Output structure for the ListJobs operation. -- -- See: newListJobsResponse smart constructor. data ListJobsResponse ListJobsResponse' :: Maybe Bool -> Maybe [Job] -> Int -> ListJobsResponse [$sel:isTruncated:ListJobsResponse'] :: ListJobsResponse -> Maybe Bool [$sel:jobs:ListJobsResponse'] :: ListJobsResponse -> Maybe [Job] -- | The response's http status code. [$sel:httpStatus:ListJobsResponse'] :: ListJobsResponse -> Int -- | Create a value of ListJobsResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:isTruncated:ListJobsResponse', -- listJobsResponse_isTruncated - Undocumented member. -- -- $sel:jobs:ListJobsResponse', listJobsResponse_jobs - -- Undocumented member. -- -- $sel:httpStatus:ListJobsResponse', -- listJobsResponse_httpStatus - The response's http status code. newListJobsResponse :: Int -> ListJobsResponse -- | Undocumented member. listJobsResponse_isTruncated :: Lens' ListJobsResponse (Maybe Bool) -- | Undocumented member. listJobsResponse_jobs :: Lens' ListJobsResponse (Maybe [Job]) -- | The response's http status code. listJobsResponse_httpStatus :: Lens' ListJobsResponse Int instance GHC.Generics.Generic Amazonka.ImportExport.ListJobs.ListJobs instance GHC.Show.Show Amazonka.ImportExport.ListJobs.ListJobs instance GHC.Read.Read Amazonka.ImportExport.ListJobs.ListJobs instance GHC.Classes.Eq Amazonka.ImportExport.ListJobs.ListJobs instance GHC.Generics.Generic Amazonka.ImportExport.ListJobs.ListJobsResponse instance GHC.Show.Show Amazonka.ImportExport.ListJobs.ListJobsResponse instance GHC.Read.Read Amazonka.ImportExport.ListJobs.ListJobsResponse instance GHC.Classes.Eq Amazonka.ImportExport.ListJobs.ListJobsResponse instance Amazonka.Types.AWSRequest Amazonka.ImportExport.ListJobs.ListJobs instance Control.DeepSeq.NFData Amazonka.ImportExport.ListJobs.ListJobsResponse instance Amazonka.Pager.AWSPager Amazonka.ImportExport.ListJobs.ListJobs instance Data.Hashable.Class.Hashable Amazonka.ImportExport.ListJobs.ListJobs instance Control.DeepSeq.NFData Amazonka.ImportExport.ListJobs.ListJobs instance Amazonka.Data.Headers.ToHeaders Amazonka.ImportExport.ListJobs.ListJobs instance Amazonka.Data.Path.ToPath Amazonka.ImportExport.ListJobs.ListJobs instance Amazonka.Data.Query.ToQuery Amazonka.ImportExport.ListJobs.ListJobs -- | 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. module Amazonka.ImportExport.GetStatus -- | Input structure for the GetStatus operation. -- -- See: newGetStatus smart constructor. data GetStatus GetStatus' :: Maybe Text -> Text -> GetStatus [$sel:aPIVersion:GetStatus'] :: GetStatus -> Maybe Text [$sel:jobId:GetStatus'] :: GetStatus -> Text -- | Create a value of GetStatus with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aPIVersion:GetStatus', getStatus_aPIVersion - -- Undocumented member. -- -- GetStatus, getStatus_jobId - Undocumented member. newGetStatus :: Text -> GetStatus -- | Undocumented member. getStatus_aPIVersion :: Lens' GetStatus (Maybe Text) -- | Undocumented member. getStatus_jobId :: Lens' GetStatus Text -- | Output structure for the GetStatus operation. -- -- See: newGetStatusResponse smart constructor. data GetStatusResponse GetStatusResponse' :: Maybe [Artifact] -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe JobType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> GetStatusResponse [$sel:artifactList:GetStatusResponse'] :: GetStatusResponse -> Maybe [Artifact] [$sel:carrier:GetStatusResponse'] :: GetStatusResponse -> Maybe Text [$sel:creationDate:GetStatusResponse'] :: GetStatusResponse -> Maybe ISO8601 [$sel:currentManifest:GetStatusResponse'] :: GetStatusResponse -> Maybe Text [$sel:errorCount:GetStatusResponse'] :: GetStatusResponse -> Maybe Int [$sel:jobId:GetStatusResponse'] :: GetStatusResponse -> Maybe Text [$sel:jobType:GetStatusResponse'] :: GetStatusResponse -> Maybe JobType [$sel:locationCode:GetStatusResponse'] :: GetStatusResponse -> Maybe Text [$sel:locationMessage:GetStatusResponse'] :: GetStatusResponse -> Maybe Text [$sel:logBucket:GetStatusResponse'] :: GetStatusResponse -> Maybe Text [$sel:logKey:GetStatusResponse'] :: GetStatusResponse -> Maybe Text [$sel:progressCode:GetStatusResponse'] :: GetStatusResponse -> Maybe Text [$sel:progressMessage:GetStatusResponse'] :: GetStatusResponse -> Maybe Text [$sel:signature:GetStatusResponse'] :: GetStatusResponse -> Maybe Text [$sel:signatureFileContents:GetStatusResponse'] :: GetStatusResponse -> Maybe Text [$sel:trackingNumber:GetStatusResponse'] :: GetStatusResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:GetStatusResponse'] :: GetStatusResponse -> Int -- | Create a value of GetStatusResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:artifactList:GetStatusResponse', -- getStatusResponse_artifactList - Undocumented member. -- -- $sel:carrier:GetStatusResponse', -- getStatusResponse_carrier - Undocumented member. -- -- GetStatusResponse, getStatusResponse_creationDate - -- Undocumented member. -- -- $sel:currentManifest:GetStatusResponse', -- getStatusResponse_currentManifest - Undocumented member. -- -- $sel:errorCount:GetStatusResponse', -- getStatusResponse_errorCount - Undocumented member. -- -- GetStatus, getStatusResponse_jobId - Undocumented -- member. -- -- GetStatusResponse, getStatusResponse_jobType - -- Undocumented member. -- -- $sel:locationCode:GetStatusResponse', -- getStatusResponse_locationCode - Undocumented member. -- -- $sel:locationMessage:GetStatusResponse', -- getStatusResponse_locationMessage - Undocumented member. -- -- $sel:logBucket:GetStatusResponse', -- getStatusResponse_logBucket - Undocumented member. -- -- $sel:logKey:GetStatusResponse', getStatusResponse_logKey -- - Undocumented member. -- -- $sel:progressCode:GetStatusResponse', -- getStatusResponse_progressCode - Undocumented member. -- -- $sel:progressMessage:GetStatusResponse', -- getStatusResponse_progressMessage - Undocumented member. -- -- $sel:signature:GetStatusResponse', -- getStatusResponse_signature - Undocumented member. -- -- $sel:signatureFileContents:GetStatusResponse', -- getStatusResponse_signatureFileContents - Undocumented member. -- -- $sel:trackingNumber:GetStatusResponse', -- getStatusResponse_trackingNumber - Undocumented member. -- -- $sel:httpStatus:GetStatusResponse', -- getStatusResponse_httpStatus - The response's http status code. newGetStatusResponse :: Int -> GetStatusResponse -- | Undocumented member. getStatusResponse_artifactList :: Lens' GetStatusResponse (Maybe [Artifact]) -- | Undocumented member. getStatusResponse_carrier :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_creationDate :: Lens' GetStatusResponse (Maybe UTCTime) -- | Undocumented member. getStatusResponse_currentManifest :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_errorCount :: Lens' GetStatusResponse (Maybe Int) -- | Undocumented member. getStatusResponse_jobId :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_jobType :: Lens' GetStatusResponse (Maybe JobType) -- | Undocumented member. getStatusResponse_locationCode :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_locationMessage :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_logBucket :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_logKey :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_progressCode :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_progressMessage :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_signature :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_signatureFileContents :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_trackingNumber :: Lens' GetStatusResponse (Maybe Text) -- | The response's http status code. getStatusResponse_httpStatus :: Lens' GetStatusResponse Int instance GHC.Generics.Generic Amazonka.ImportExport.GetStatus.GetStatus instance GHC.Show.Show Amazonka.ImportExport.GetStatus.GetStatus instance GHC.Read.Read Amazonka.ImportExport.GetStatus.GetStatus instance GHC.Classes.Eq Amazonka.ImportExport.GetStatus.GetStatus instance GHC.Generics.Generic Amazonka.ImportExport.GetStatus.GetStatusResponse instance GHC.Show.Show Amazonka.ImportExport.GetStatus.GetStatusResponse instance GHC.Read.Read Amazonka.ImportExport.GetStatus.GetStatusResponse instance GHC.Classes.Eq Amazonka.ImportExport.GetStatus.GetStatusResponse instance Amazonka.Types.AWSRequest Amazonka.ImportExport.GetStatus.GetStatus instance Control.DeepSeq.NFData Amazonka.ImportExport.GetStatus.GetStatusResponse instance Data.Hashable.Class.Hashable Amazonka.ImportExport.GetStatus.GetStatus instance Control.DeepSeq.NFData Amazonka.ImportExport.GetStatus.GetStatus instance Amazonka.Data.Headers.ToHeaders Amazonka.ImportExport.GetStatus.GetStatus instance Amazonka.Data.Path.ToPath Amazonka.ImportExport.GetStatus.GetStatus instance Amazonka.Data.Query.ToQuery Amazonka.ImportExport.GetStatus.GetStatus -- | This operation generates a pre-paid UPS shipping label that you will -- use to ship your device to AWS for processing. module Amazonka.ImportExport.GetShippingLabel -- | See: newGetShippingLabel smart constructor. data GetShippingLabel GetShippingLabel' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> [Text] -> GetShippingLabel [$sel:aPIVersion:GetShippingLabel'] :: GetShippingLabel -> Maybe Text [$sel:city:GetShippingLabel'] :: GetShippingLabel -> Maybe Text [$sel:company:GetShippingLabel'] :: GetShippingLabel -> Maybe Text [$sel:country:GetShippingLabel'] :: GetShippingLabel -> Maybe Text [$sel:name:GetShippingLabel'] :: GetShippingLabel -> Maybe Text [$sel:phoneNumber:GetShippingLabel'] :: GetShippingLabel -> Maybe Text [$sel:postalCode:GetShippingLabel'] :: GetShippingLabel -> Maybe Text [$sel:stateOrProvince:GetShippingLabel'] :: GetShippingLabel -> Maybe Text [$sel:street1:GetShippingLabel'] :: GetShippingLabel -> Maybe Text [$sel:street2:GetShippingLabel'] :: GetShippingLabel -> Maybe Text [$sel:street3:GetShippingLabel'] :: GetShippingLabel -> Maybe Text [$sel:jobIds:GetShippingLabel'] :: GetShippingLabel -> [Text] -- | Create a value of GetShippingLabel with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aPIVersion:GetShippingLabel', -- getShippingLabel_aPIVersion - Undocumented member. -- -- $sel:city:GetShippingLabel', getShippingLabel_city - -- Undocumented member. -- -- $sel:company:GetShippingLabel', getShippingLabel_company -- - Undocumented member. -- -- $sel:country:GetShippingLabel', getShippingLabel_country -- - Undocumented member. -- -- $sel:name:GetShippingLabel', getShippingLabel_name - -- Undocumented member. -- -- $sel:phoneNumber:GetShippingLabel', -- getShippingLabel_phoneNumber - Undocumented member. -- -- $sel:postalCode:GetShippingLabel', -- getShippingLabel_postalCode - Undocumented member. -- -- $sel:stateOrProvince:GetShippingLabel', -- getShippingLabel_stateOrProvince - Undocumented member. -- -- $sel:street1:GetShippingLabel', getShippingLabel_street1 -- - Undocumented member. -- -- $sel:street2:GetShippingLabel', getShippingLabel_street2 -- - Undocumented member. -- -- $sel:street3:GetShippingLabel', getShippingLabel_street3 -- - Undocumented member. -- -- $sel:jobIds:GetShippingLabel', getShippingLabel_jobIds - -- Undocumented member. newGetShippingLabel :: GetShippingLabel -- | Undocumented member. getShippingLabel_aPIVersion :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_city :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_company :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_country :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_name :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_phoneNumber :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_postalCode :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_stateOrProvince :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_street1 :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_street2 :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_street3 :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_jobIds :: Lens' GetShippingLabel [Text] -- | See: newGetShippingLabelResponse smart constructor. data GetShippingLabelResponse GetShippingLabelResponse' :: Maybe Text -> Maybe Text -> Int -> GetShippingLabelResponse [$sel:shippingLabelURL:GetShippingLabelResponse'] :: GetShippingLabelResponse -> Maybe Text [$sel:warning:GetShippingLabelResponse'] :: GetShippingLabelResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:GetShippingLabelResponse'] :: GetShippingLabelResponse -> Int -- | Create a value of GetShippingLabelResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:shippingLabelURL:GetShippingLabelResponse', -- getShippingLabelResponse_shippingLabelURL - Undocumented -- member. -- -- $sel:warning:GetShippingLabelResponse', -- getShippingLabelResponse_warning - Undocumented member. -- -- $sel:httpStatus:GetShippingLabelResponse', -- getShippingLabelResponse_httpStatus - The response's http -- status code. newGetShippingLabelResponse :: Int -> GetShippingLabelResponse -- | Undocumented member. getShippingLabelResponse_shippingLabelURL :: Lens' GetShippingLabelResponse (Maybe Text) -- | Undocumented member. getShippingLabelResponse_warning :: Lens' GetShippingLabelResponse (Maybe Text) -- | The response's http status code. getShippingLabelResponse_httpStatus :: Lens' GetShippingLabelResponse Int instance GHC.Generics.Generic Amazonka.ImportExport.GetShippingLabel.GetShippingLabel instance GHC.Show.Show Amazonka.ImportExport.GetShippingLabel.GetShippingLabel instance GHC.Read.Read Amazonka.ImportExport.GetShippingLabel.GetShippingLabel instance GHC.Classes.Eq Amazonka.ImportExport.GetShippingLabel.GetShippingLabel instance GHC.Generics.Generic Amazonka.ImportExport.GetShippingLabel.GetShippingLabelResponse instance GHC.Show.Show Amazonka.ImportExport.GetShippingLabel.GetShippingLabelResponse instance GHC.Read.Read Amazonka.ImportExport.GetShippingLabel.GetShippingLabelResponse instance GHC.Classes.Eq Amazonka.ImportExport.GetShippingLabel.GetShippingLabelResponse instance Amazonka.Types.AWSRequest Amazonka.ImportExport.GetShippingLabel.GetShippingLabel instance Control.DeepSeq.NFData Amazonka.ImportExport.GetShippingLabel.GetShippingLabelResponse instance Data.Hashable.Class.Hashable Amazonka.ImportExport.GetShippingLabel.GetShippingLabel instance Control.DeepSeq.NFData Amazonka.ImportExport.GetShippingLabel.GetShippingLabel instance Amazonka.Data.Headers.ToHeaders Amazonka.ImportExport.GetShippingLabel.GetShippingLabel instance Amazonka.Data.Path.ToPath Amazonka.ImportExport.GetShippingLabel.GetShippingLabel instance Amazonka.Data.Query.ToQuery Amazonka.ImportExport.GetShippingLabel.GetShippingLabel -- | 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. module Amazonka.ImportExport.CreateJob -- | Input structure for the CreateJob operation. -- -- See: newCreateJob smart constructor. data CreateJob CreateJob' :: Maybe Text -> Maybe Text -> JobType -> Text -> Bool -> CreateJob [$sel:aPIVersion:CreateJob'] :: CreateJob -> Maybe Text [$sel:manifestAddendum:CreateJob'] :: CreateJob -> Maybe Text [$sel:jobType:CreateJob'] :: CreateJob -> JobType [$sel:manifest:CreateJob'] :: CreateJob -> Text [$sel:validateOnly:CreateJob'] :: CreateJob -> Bool -- | Create a value of CreateJob with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aPIVersion:CreateJob', createJob_aPIVersion - -- Undocumented member. -- -- $sel:manifestAddendum:CreateJob', -- createJob_manifestAddendum - Undocumented member. -- -- CreateJob, createJob_jobType - Undocumented member. -- -- $sel:manifest:CreateJob', createJob_manifest - -- Undocumented member. -- -- $sel:validateOnly:CreateJob', createJob_validateOnly - -- Undocumented member. newCreateJob :: JobType -> Text -> Bool -> CreateJob -- | Undocumented member. createJob_aPIVersion :: Lens' CreateJob (Maybe Text) -- | Undocumented member. createJob_manifestAddendum :: Lens' CreateJob (Maybe Text) -- | Undocumented member. createJob_jobType :: Lens' CreateJob JobType -- | Undocumented member. createJob_manifest :: Lens' CreateJob Text -- | Undocumented member. createJob_validateOnly :: Lens' CreateJob Bool -- | Output structure for the CreateJob operation. -- -- See: newCreateJobResponse smart constructor. data CreateJobResponse CreateJobResponse' :: Maybe [Artifact] -> Maybe Text -> Maybe JobType -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateJobResponse [$sel:artifactList:CreateJobResponse'] :: CreateJobResponse -> Maybe [Artifact] [$sel:jobId:CreateJobResponse'] :: CreateJobResponse -> Maybe Text [$sel:jobType:CreateJobResponse'] :: CreateJobResponse -> Maybe JobType [$sel:signature:CreateJobResponse'] :: CreateJobResponse -> Maybe Text [$sel:signatureFileContents:CreateJobResponse'] :: CreateJobResponse -> Maybe Text [$sel:warningMessage:CreateJobResponse'] :: CreateJobResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:CreateJobResponse'] :: CreateJobResponse -> Int -- | Create a value of CreateJobResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:artifactList:CreateJobResponse', -- createJobResponse_artifactList - Undocumented member. -- -- CreateJobResponse, createJobResponse_jobId - -- Undocumented member. -- -- CreateJob, createJobResponse_jobType - Undocumented -- member. -- -- $sel:signature:CreateJobResponse', -- createJobResponse_signature - Undocumented member. -- -- $sel:signatureFileContents:CreateJobResponse', -- createJobResponse_signatureFileContents - Undocumented member. -- -- $sel:warningMessage:CreateJobResponse', -- createJobResponse_warningMessage - Undocumented member. -- -- $sel:httpStatus:CreateJobResponse', -- createJobResponse_httpStatus - The response's http status code. newCreateJobResponse :: Int -> CreateJobResponse -- | Undocumented member. createJobResponse_artifactList :: Lens' CreateJobResponse (Maybe [Artifact]) -- | Undocumented member. createJobResponse_jobId :: Lens' CreateJobResponse (Maybe Text) -- | Undocumented member. createJobResponse_jobType :: Lens' CreateJobResponse (Maybe JobType) -- | Undocumented member. createJobResponse_signature :: Lens' CreateJobResponse (Maybe Text) -- | Undocumented member. createJobResponse_signatureFileContents :: Lens' CreateJobResponse (Maybe Text) -- | Undocumented member. createJobResponse_warningMessage :: Lens' CreateJobResponse (Maybe Text) -- | The response's http status code. createJobResponse_httpStatus :: Lens' CreateJobResponse Int instance GHC.Generics.Generic Amazonka.ImportExport.CreateJob.CreateJob instance GHC.Show.Show Amazonka.ImportExport.CreateJob.CreateJob instance GHC.Read.Read Amazonka.ImportExport.CreateJob.CreateJob instance GHC.Classes.Eq Amazonka.ImportExport.CreateJob.CreateJob instance GHC.Generics.Generic Amazonka.ImportExport.CreateJob.CreateJobResponse instance GHC.Show.Show Amazonka.ImportExport.CreateJob.CreateJobResponse instance GHC.Read.Read Amazonka.ImportExport.CreateJob.CreateJobResponse instance GHC.Classes.Eq Amazonka.ImportExport.CreateJob.CreateJobResponse instance Amazonka.Types.AWSRequest Amazonka.ImportExport.CreateJob.CreateJob instance Control.DeepSeq.NFData Amazonka.ImportExport.CreateJob.CreateJobResponse instance Data.Hashable.Class.Hashable Amazonka.ImportExport.CreateJob.CreateJob instance Control.DeepSeq.NFData Amazonka.ImportExport.CreateJob.CreateJob instance Amazonka.Data.Headers.ToHeaders Amazonka.ImportExport.CreateJob.CreateJob instance Amazonka.Data.Path.ToPath Amazonka.ImportExport.CreateJob.CreateJob instance Amazonka.Data.Query.ToQuery Amazonka.ImportExport.CreateJob.CreateJob -- | 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. module Amazonka.ImportExport.CancelJob -- | Input structure for the CancelJob operation. -- -- See: newCancelJob smart constructor. data CancelJob CancelJob' :: Maybe Text -> Text -> CancelJob [$sel:aPIVersion:CancelJob'] :: CancelJob -> Maybe Text [$sel:jobId:CancelJob'] :: CancelJob -> Text -- | Create a value of CancelJob with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aPIVersion:CancelJob', cancelJob_aPIVersion - -- Undocumented member. -- -- CancelJob, cancelJob_jobId - Undocumented member. newCancelJob :: Text -> CancelJob -- | Undocumented member. cancelJob_aPIVersion :: Lens' CancelJob (Maybe Text) -- | Undocumented member. cancelJob_jobId :: Lens' CancelJob Text -- | Output structure for the CancelJob operation. -- -- See: newCancelJobResponse smart constructor. data CancelJobResponse CancelJobResponse' :: Maybe Bool -> Int -> CancelJobResponse [$sel:success:CancelJobResponse'] :: CancelJobResponse -> Maybe Bool -- | The response's http status code. [$sel:httpStatus:CancelJobResponse'] :: CancelJobResponse -> Int -- | Create a value of CancelJobResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:success:CancelJobResponse', -- cancelJobResponse_success - Undocumented member. -- -- $sel:httpStatus:CancelJobResponse', -- cancelJobResponse_httpStatus - The response's http status code. newCancelJobResponse :: Int -> CancelJobResponse -- | Undocumented member. cancelJobResponse_success :: Lens' CancelJobResponse (Maybe Bool) -- | The response's http status code. cancelJobResponse_httpStatus :: Lens' CancelJobResponse Int instance GHC.Generics.Generic Amazonka.ImportExport.CancelJob.CancelJob instance GHC.Show.Show Amazonka.ImportExport.CancelJob.CancelJob instance GHC.Read.Read Amazonka.ImportExport.CancelJob.CancelJob instance GHC.Classes.Eq Amazonka.ImportExport.CancelJob.CancelJob instance GHC.Generics.Generic Amazonka.ImportExport.CancelJob.CancelJobResponse instance GHC.Show.Show Amazonka.ImportExport.CancelJob.CancelJobResponse instance GHC.Read.Read Amazonka.ImportExport.CancelJob.CancelJobResponse instance GHC.Classes.Eq Amazonka.ImportExport.CancelJob.CancelJobResponse instance Amazonka.Types.AWSRequest Amazonka.ImportExport.CancelJob.CancelJob instance Control.DeepSeq.NFData Amazonka.ImportExport.CancelJob.CancelJobResponse instance Data.Hashable.Class.Hashable Amazonka.ImportExport.CancelJob.CancelJob instance Control.DeepSeq.NFData Amazonka.ImportExport.CancelJob.CancelJob instance Amazonka.Data.Headers.ToHeaders Amazonka.ImportExport.CancelJob.CancelJob instance Amazonka.Data.Path.ToPath Amazonka.ImportExport.CancelJob.CancelJob instance Amazonka.Data.Query.ToQuery Amazonka.ImportExport.CancelJob.CancelJob -- | 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. module Amazonka.ImportExport.UpdateJob -- | Input structure for the UpateJob operation. -- -- See: newUpdateJob smart constructor. data UpdateJob UpdateJob' :: Maybe Text -> Text -> Text -> JobType -> Bool -> UpdateJob [$sel:aPIVersion:UpdateJob'] :: UpdateJob -> Maybe Text [$sel:jobId:UpdateJob'] :: UpdateJob -> Text [$sel:manifest:UpdateJob'] :: UpdateJob -> Text [$sel:jobType:UpdateJob'] :: UpdateJob -> JobType [$sel:validateOnly:UpdateJob'] :: UpdateJob -> Bool -- | Create a value of UpdateJob with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aPIVersion:UpdateJob', updateJob_aPIVersion - -- Undocumented member. -- -- UpdateJob, updateJob_jobId - Undocumented member. -- -- $sel:manifest:UpdateJob', updateJob_manifest - -- Undocumented member. -- -- UpdateJob, updateJob_jobType - Undocumented member. -- -- $sel:validateOnly:UpdateJob', updateJob_validateOnly - -- Undocumented member. newUpdateJob :: Text -> Text -> JobType -> Bool -> UpdateJob -- | Undocumented member. updateJob_aPIVersion :: Lens' UpdateJob (Maybe Text) -- | Undocumented member. updateJob_jobId :: Lens' UpdateJob Text -- | Undocumented member. updateJob_manifest :: Lens' UpdateJob Text -- | Undocumented member. updateJob_jobType :: Lens' UpdateJob JobType -- | Undocumented member. updateJob_validateOnly :: Lens' UpdateJob Bool -- | Output structure for the UpateJob operation. -- -- See: newUpdateJobResponse smart constructor. data UpdateJobResponse UpdateJobResponse' :: Maybe [Artifact] -> Maybe Bool -> Maybe Text -> Int -> UpdateJobResponse [$sel:artifactList:UpdateJobResponse'] :: UpdateJobResponse -> Maybe [Artifact] [$sel:success:UpdateJobResponse'] :: UpdateJobResponse -> Maybe Bool [$sel:warningMessage:UpdateJobResponse'] :: UpdateJobResponse -> Maybe Text -- | The response's http status code. [$sel:httpStatus:UpdateJobResponse'] :: UpdateJobResponse -> Int -- | Create a value of UpdateJobResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:artifactList:UpdateJobResponse', -- updateJobResponse_artifactList - Undocumented member. -- -- $sel:success:UpdateJobResponse', -- updateJobResponse_success - Undocumented member. -- -- $sel:warningMessage:UpdateJobResponse', -- updateJobResponse_warningMessage - Undocumented member. -- -- $sel:httpStatus:UpdateJobResponse', -- updateJobResponse_httpStatus - The response's http status code. newUpdateJobResponse :: Int -> UpdateJobResponse -- | Undocumented member. updateJobResponse_artifactList :: Lens' UpdateJobResponse (Maybe [Artifact]) -- | Undocumented member. updateJobResponse_success :: Lens' UpdateJobResponse (Maybe Bool) -- | Undocumented member. updateJobResponse_warningMessage :: Lens' UpdateJobResponse (Maybe Text) -- | The response's http status code. updateJobResponse_httpStatus :: Lens' UpdateJobResponse Int instance GHC.Generics.Generic Amazonka.ImportExport.UpdateJob.UpdateJob instance GHC.Show.Show Amazonka.ImportExport.UpdateJob.UpdateJob instance GHC.Read.Read Amazonka.ImportExport.UpdateJob.UpdateJob instance GHC.Classes.Eq Amazonka.ImportExport.UpdateJob.UpdateJob instance GHC.Generics.Generic Amazonka.ImportExport.UpdateJob.UpdateJobResponse instance GHC.Show.Show Amazonka.ImportExport.UpdateJob.UpdateJobResponse instance GHC.Read.Read Amazonka.ImportExport.UpdateJob.UpdateJobResponse instance GHC.Classes.Eq Amazonka.ImportExport.UpdateJob.UpdateJobResponse instance Amazonka.Types.AWSRequest Amazonka.ImportExport.UpdateJob.UpdateJob instance Control.DeepSeq.NFData Amazonka.ImportExport.UpdateJob.UpdateJobResponse instance Data.Hashable.Class.Hashable Amazonka.ImportExport.UpdateJob.UpdateJob instance Control.DeepSeq.NFData Amazonka.ImportExport.UpdateJob.UpdateJob instance Amazonka.Data.Headers.ToHeaders Amazonka.ImportExport.UpdateJob.UpdateJob instance Amazonka.Data.Path.ToPath Amazonka.ImportExport.UpdateJob.UpdateJob instance Amazonka.Data.Query.ToQuery Amazonka.ImportExport.UpdateJob.UpdateJob module Amazonka.ImportExport.Lens -- | Undocumented member. cancelJob_aPIVersion :: Lens' CancelJob (Maybe Text) -- | Undocumented member. cancelJob_jobId :: Lens' CancelJob Text -- | Undocumented member. cancelJobResponse_success :: Lens' CancelJobResponse (Maybe Bool) -- | The response's http status code. cancelJobResponse_httpStatus :: Lens' CancelJobResponse Int -- | Undocumented member. createJob_aPIVersion :: Lens' CreateJob (Maybe Text) -- | Undocumented member. createJob_manifestAddendum :: Lens' CreateJob (Maybe Text) -- | Undocumented member. createJob_jobType :: Lens' CreateJob JobType -- | Undocumented member. createJob_manifest :: Lens' CreateJob Text -- | Undocumented member. createJob_validateOnly :: Lens' CreateJob Bool -- | Undocumented member. createJobResponse_artifactList :: Lens' CreateJobResponse (Maybe [Artifact]) -- | Undocumented member. createJobResponse_jobId :: Lens' CreateJobResponse (Maybe Text) -- | Undocumented member. createJobResponse_jobType :: Lens' CreateJobResponse (Maybe JobType) -- | Undocumented member. createJobResponse_signature :: Lens' CreateJobResponse (Maybe Text) -- | Undocumented member. createJobResponse_signatureFileContents :: Lens' CreateJobResponse (Maybe Text) -- | Undocumented member. createJobResponse_warningMessage :: Lens' CreateJobResponse (Maybe Text) -- | The response's http status code. createJobResponse_httpStatus :: Lens' CreateJobResponse Int -- | Undocumented member. getShippingLabel_aPIVersion :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_city :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_company :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_country :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_name :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_phoneNumber :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_postalCode :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_stateOrProvince :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_street1 :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_street2 :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_street3 :: Lens' GetShippingLabel (Maybe Text) -- | Undocumented member. getShippingLabel_jobIds :: Lens' GetShippingLabel [Text] -- | Undocumented member. getShippingLabelResponse_shippingLabelURL :: Lens' GetShippingLabelResponse (Maybe Text) -- | Undocumented member. getShippingLabelResponse_warning :: Lens' GetShippingLabelResponse (Maybe Text) -- | The response's http status code. getShippingLabelResponse_httpStatus :: Lens' GetShippingLabelResponse Int -- | Undocumented member. getStatus_aPIVersion :: Lens' GetStatus (Maybe Text) -- | Undocumented member. getStatus_jobId :: Lens' GetStatus Text -- | Undocumented member. getStatusResponse_artifactList :: Lens' GetStatusResponse (Maybe [Artifact]) -- | Undocumented member. getStatusResponse_carrier :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_creationDate :: Lens' GetStatusResponse (Maybe UTCTime) -- | Undocumented member. getStatusResponse_currentManifest :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_errorCount :: Lens' GetStatusResponse (Maybe Int) -- | Undocumented member. getStatusResponse_jobId :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_jobType :: Lens' GetStatusResponse (Maybe JobType) -- | Undocumented member. getStatusResponse_locationCode :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_locationMessage :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_logBucket :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_logKey :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_progressCode :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_progressMessage :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_signature :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_signatureFileContents :: Lens' GetStatusResponse (Maybe Text) -- | Undocumented member. getStatusResponse_trackingNumber :: Lens' GetStatusResponse (Maybe Text) -- | The response's http status code. getStatusResponse_httpStatus :: Lens' GetStatusResponse Int -- | Undocumented member. listJobs_aPIVersion :: Lens' ListJobs (Maybe Text) -- | Undocumented member. listJobs_marker :: Lens' ListJobs (Maybe Text) -- | Undocumented member. listJobs_maxJobs :: Lens' ListJobs (Maybe Int) -- | Undocumented member. listJobsResponse_isTruncated :: Lens' ListJobsResponse (Maybe Bool) -- | Undocumented member. listJobsResponse_jobs :: Lens' ListJobsResponse (Maybe [Job]) -- | The response's http status code. listJobsResponse_httpStatus :: Lens' ListJobsResponse Int -- | Undocumented member. updateJob_aPIVersion :: Lens' UpdateJob (Maybe Text) -- | Undocumented member. updateJob_jobId :: Lens' UpdateJob Text -- | Undocumented member. updateJob_manifest :: Lens' UpdateJob Text -- | Undocumented member. updateJob_jobType :: Lens' UpdateJob JobType -- | Undocumented member. updateJob_validateOnly :: Lens' UpdateJob Bool -- | Undocumented member. updateJobResponse_artifactList :: Lens' UpdateJobResponse (Maybe [Artifact]) -- | Undocumented member. updateJobResponse_success :: Lens' UpdateJobResponse (Maybe Bool) -- | Undocumented member. updateJobResponse_warningMessage :: Lens' UpdateJobResponse (Maybe Text) -- | The response's http status code. updateJobResponse_httpStatus :: Lens' UpdateJobResponse Int -- | Undocumented member. artifact_description :: Lens' Artifact (Maybe Text) -- | Undocumented member. artifact_url :: Lens' Artifact (Maybe Text) -- | Undocumented member. job_jobType :: Lens' Job JobType -- | Undocumented member. job_jobId :: Lens' Job Text -- | Undocumented member. job_isCanceled :: Lens' Job Bool -- | Undocumented member. job_creationDate :: Lens' Job UTCTime module Amazonka.ImportExport.Waiters -- | Derived from API version 2010-06-01 of the AWS service -- descriptions, licensed under Apache 2.0. -- -- 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. module Amazonka.ImportExport -- | API version 2010-06-01 of the Amazon Import/Export SDK -- configuration. defaultService :: Service -- | The account specified does not have the appropriate bucket -- permissions. _BucketPermissionException :: AsError a => Fold a ServiceError -- | The specified job ID has been canceled and is no longer valid. _CanceledJobIdException :: AsError a => Fold 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 => Fold a ServiceError -- | Indicates that the specified job has expired out of the system. _ExpiredJobIdException :: AsError a => Fold 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 => Fold a ServiceError -- | The address specified in the manifest is invalid. _InvalidAddressException :: AsError a => Fold a ServiceError -- | One or more customs parameters was invalid. Please correct and -- resubmit. _InvalidCustomsException :: AsError a => Fold a ServiceError -- | File system specified in export manifest is invalid. _InvalidFileSystemException :: AsError a => Fold a ServiceError -- | The JOBID was missing, not found, or not associated with the AWS -- account. _InvalidJobIdException :: AsError a => Fold a ServiceError -- | One or more manifest fields was invalid. Please correct and resubmit. _InvalidManifestFieldException :: AsError a => Fold a ServiceError -- | One or more parameters had an invalid value. _InvalidParameterException :: AsError a => Fold a ServiceError -- | The client tool version is invalid. _InvalidVersionException :: AsError a => Fold a ServiceError -- | Your manifest is not well-formed. _MalformedManifestException :: AsError a => Fold a ServiceError -- | One or more required customs parameters was missing from the manifest. _MissingCustomsException :: AsError a => Fold a ServiceError -- | One or more required fields were missing from the manifest file. -- Please correct and resubmit. _MissingManifestFieldException :: AsError a => Fold a ServiceError -- | One or more required parameters was missing from the request. _MissingParameterException :: AsError a => Fold 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 => Fold 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 => Fold a ServiceError -- | AWS Import/Export cannot cancel the job _UnableToCancelJobIdException :: AsError a => Fold a ServiceError -- | AWS Import/Export cannot update the job _UnableToUpdateJobIdException :: AsError a => Fold a ServiceError -- | Input structure for the CancelJob operation. -- -- See: newCancelJob smart constructor. data CancelJob CancelJob' :: Maybe Text -> Text -> CancelJob -- | Create a value of CancelJob with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aPIVersion:CancelJob', cancelJob_aPIVersion - -- Undocumented member. -- -- CancelJob, cancelJob_jobId - Undocumented member. newCancelJob :: Text -> CancelJob -- | Output structure for the CancelJob operation. -- -- See: newCancelJobResponse smart constructor. data CancelJobResponse CancelJobResponse' :: Maybe Bool -> Int -> CancelJobResponse -- | Create a value of CancelJobResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:success:CancelJobResponse', -- cancelJobResponse_success - Undocumented member. -- -- $sel:httpStatus:CancelJobResponse', -- cancelJobResponse_httpStatus - The response's http status code. newCancelJobResponse :: Int -> CancelJobResponse -- | Input structure for the CreateJob operation. -- -- See: newCreateJob smart constructor. data CreateJob CreateJob' :: Maybe Text -> Maybe Text -> JobType -> Text -> Bool -> CreateJob -- | Create a value of CreateJob with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aPIVersion:CreateJob', createJob_aPIVersion - -- Undocumented member. -- -- $sel:manifestAddendum:CreateJob', -- createJob_manifestAddendum - Undocumented member. -- -- CreateJob, createJob_jobType - Undocumented member. -- -- $sel:manifest:CreateJob', createJob_manifest - -- Undocumented member. -- -- $sel:validateOnly:CreateJob', createJob_validateOnly - -- Undocumented member. newCreateJob :: JobType -> Text -> Bool -> CreateJob -- | Output structure for the CreateJob operation. -- -- See: newCreateJobResponse smart constructor. data CreateJobResponse CreateJobResponse' :: Maybe [Artifact] -> Maybe Text -> Maybe JobType -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> CreateJobResponse -- | Create a value of CreateJobResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:artifactList:CreateJobResponse', -- createJobResponse_artifactList - Undocumented member. -- -- CreateJobResponse, createJobResponse_jobId - -- Undocumented member. -- -- CreateJob, createJobResponse_jobType - Undocumented -- member. -- -- $sel:signature:CreateJobResponse', -- createJobResponse_signature - Undocumented member. -- -- $sel:signatureFileContents:CreateJobResponse', -- createJobResponse_signatureFileContents - Undocumented member. -- -- $sel:warningMessage:CreateJobResponse', -- createJobResponse_warningMessage - Undocumented member. -- -- $sel:httpStatus:CreateJobResponse', -- createJobResponse_httpStatus - The response's http status code. newCreateJobResponse :: Int -> CreateJobResponse -- | See: newGetShippingLabel smart constructor. data GetShippingLabel GetShippingLabel' :: Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> [Text] -> GetShippingLabel -- | Create a value of GetShippingLabel with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aPIVersion:GetShippingLabel', -- getShippingLabel_aPIVersion - Undocumented member. -- -- $sel:city:GetShippingLabel', getShippingLabel_city - -- Undocumented member. -- -- $sel:company:GetShippingLabel', getShippingLabel_company -- - Undocumented member. -- -- $sel:country:GetShippingLabel', getShippingLabel_country -- - Undocumented member. -- -- $sel:name:GetShippingLabel', getShippingLabel_name - -- Undocumented member. -- -- $sel:phoneNumber:GetShippingLabel', -- getShippingLabel_phoneNumber - Undocumented member. -- -- $sel:postalCode:GetShippingLabel', -- getShippingLabel_postalCode - Undocumented member. -- -- $sel:stateOrProvince:GetShippingLabel', -- getShippingLabel_stateOrProvince - Undocumented member. -- -- $sel:street1:GetShippingLabel', getShippingLabel_street1 -- - Undocumented member. -- -- $sel:street2:GetShippingLabel', getShippingLabel_street2 -- - Undocumented member. -- -- $sel:street3:GetShippingLabel', getShippingLabel_street3 -- - Undocumented member. -- -- $sel:jobIds:GetShippingLabel', getShippingLabel_jobIds - -- Undocumented member. newGetShippingLabel :: GetShippingLabel -- | See: newGetShippingLabelResponse smart constructor. data GetShippingLabelResponse GetShippingLabelResponse' :: Maybe Text -> Maybe Text -> Int -> GetShippingLabelResponse -- | Create a value of GetShippingLabelResponse with all optional -- fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:shippingLabelURL:GetShippingLabelResponse', -- getShippingLabelResponse_shippingLabelURL - Undocumented -- member. -- -- $sel:warning:GetShippingLabelResponse', -- getShippingLabelResponse_warning - Undocumented member. -- -- $sel:httpStatus:GetShippingLabelResponse', -- getShippingLabelResponse_httpStatus - The response's http -- status code. newGetShippingLabelResponse :: Int -> GetShippingLabelResponse -- | Input structure for the GetStatus operation. -- -- See: newGetStatus smart constructor. data GetStatus GetStatus' :: Maybe Text -> Text -> GetStatus -- | Create a value of GetStatus with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aPIVersion:GetStatus', getStatus_aPIVersion - -- Undocumented member. -- -- GetStatus, getStatus_jobId - Undocumented member. newGetStatus :: Text -> GetStatus -- | Output structure for the GetStatus operation. -- -- See: newGetStatusResponse smart constructor. data GetStatusResponse GetStatusResponse' :: Maybe [Artifact] -> Maybe Text -> Maybe ISO8601 -> Maybe Text -> Maybe Int -> Maybe Text -> Maybe JobType -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Maybe Text -> Int -> GetStatusResponse -- | Create a value of GetStatusResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:artifactList:GetStatusResponse', -- getStatusResponse_artifactList - Undocumented member. -- -- $sel:carrier:GetStatusResponse', -- getStatusResponse_carrier - Undocumented member. -- -- GetStatusResponse, getStatusResponse_creationDate - -- Undocumented member. -- -- $sel:currentManifest:GetStatusResponse', -- getStatusResponse_currentManifest - Undocumented member. -- -- $sel:errorCount:GetStatusResponse', -- getStatusResponse_errorCount - Undocumented member. -- -- GetStatus, getStatusResponse_jobId - Undocumented -- member. -- -- GetStatusResponse, getStatusResponse_jobType - -- Undocumented member. -- -- $sel:locationCode:GetStatusResponse', -- getStatusResponse_locationCode - Undocumented member. -- -- $sel:locationMessage:GetStatusResponse', -- getStatusResponse_locationMessage - Undocumented member. -- -- $sel:logBucket:GetStatusResponse', -- getStatusResponse_logBucket - Undocumented member. -- -- $sel:logKey:GetStatusResponse', getStatusResponse_logKey -- - Undocumented member. -- -- $sel:progressCode:GetStatusResponse', -- getStatusResponse_progressCode - Undocumented member. -- -- $sel:progressMessage:GetStatusResponse', -- getStatusResponse_progressMessage - Undocumented member. -- -- $sel:signature:GetStatusResponse', -- getStatusResponse_signature - Undocumented member. -- -- $sel:signatureFileContents:GetStatusResponse', -- getStatusResponse_signatureFileContents - Undocumented member. -- -- $sel:trackingNumber:GetStatusResponse', -- getStatusResponse_trackingNumber - Undocumented member. -- -- $sel:httpStatus:GetStatusResponse', -- getStatusResponse_httpStatus - The response's http status code. newGetStatusResponse :: Int -> GetStatusResponse -- | Input structure for the ListJobs operation. -- -- See: newListJobs smart constructor. data ListJobs ListJobs' :: Maybe Text -> Maybe Text -> Maybe Int -> ListJobs -- | Create a value of ListJobs with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aPIVersion:ListJobs', listJobs_aPIVersion - -- Undocumented member. -- -- $sel:marker:ListJobs', listJobs_marker - Undocumented -- member. -- -- $sel:maxJobs:ListJobs', listJobs_maxJobs - Undocumented -- member. newListJobs :: ListJobs -- | Output structure for the ListJobs operation. -- -- See: newListJobsResponse smart constructor. data ListJobsResponse ListJobsResponse' :: Maybe Bool -> Maybe [Job] -> Int -> ListJobsResponse -- | Create a value of ListJobsResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:isTruncated:ListJobsResponse', -- listJobsResponse_isTruncated - Undocumented member. -- -- $sel:jobs:ListJobsResponse', listJobsResponse_jobs - -- Undocumented member. -- -- $sel:httpStatus:ListJobsResponse', -- listJobsResponse_httpStatus - The response's http status code. newListJobsResponse :: Int -> ListJobsResponse -- | Input structure for the UpateJob operation. -- -- See: newUpdateJob smart constructor. data UpdateJob UpdateJob' :: Maybe Text -> Text -> Text -> JobType -> Bool -> UpdateJob -- | Create a value of UpdateJob with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:aPIVersion:UpdateJob', updateJob_aPIVersion - -- Undocumented member. -- -- UpdateJob, updateJob_jobId - Undocumented member. -- -- $sel:manifest:UpdateJob', updateJob_manifest - -- Undocumented member. -- -- UpdateJob, updateJob_jobType - Undocumented member. -- -- $sel:validateOnly:UpdateJob', updateJob_validateOnly - -- Undocumented member. newUpdateJob :: Text -> Text -> JobType -> Bool -> UpdateJob -- | Output structure for the UpateJob operation. -- -- See: newUpdateJobResponse smart constructor. data UpdateJobResponse UpdateJobResponse' :: Maybe [Artifact] -> Maybe Bool -> Maybe Text -> Int -> UpdateJobResponse -- | Create a value of UpdateJobResponse with all optional fields -- omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:artifactList:UpdateJobResponse', -- updateJobResponse_artifactList - Undocumented member. -- -- $sel:success:UpdateJobResponse', -- updateJobResponse_success - Undocumented member. -- -- $sel:warningMessage:UpdateJobResponse', -- updateJobResponse_warningMessage - Undocumented member. -- -- $sel:httpStatus:UpdateJobResponse', -- updateJobResponse_httpStatus - The response's http status code. newUpdateJobResponse :: Int -> UpdateJobResponse -- | Specifies whether the job to initiate is an import or export job. newtype JobType JobType' :: Text -> JobType [fromJobType] :: JobType -> Text pattern JobType_Export :: JobType pattern JobType_Import :: JobType -- | A discrete item that contains the description and URL of an artifact -- (such as a PDF). -- -- See: newArtifact smart constructor. data Artifact Artifact' :: Maybe Text -> Maybe Text -> Artifact -- | Create a value of Artifact with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:description:Artifact', artifact_description - -- Undocumented member. -- -- $sel:url:Artifact', artifact_url - Undocumented member. newArtifact :: Artifact -- | Representation of a job returned by the ListJobs operation. -- -- See: newJob smart constructor. data Job Job' :: JobType -> Text -> Bool -> ISO8601 -> Job -- | Create a value of Job with all optional fields omitted. -- -- Use generic-lens or optics to modify other optional -- fields. -- -- The following record fields are available, with the corresponding -- lenses provided for backwards compatibility: -- -- $sel:jobType:Job', job_jobType - Undocumented member. -- -- $sel:jobId:Job', job_jobId - Undocumented member. -- -- $sel:isCanceled:Job', job_isCanceled - Undocumented -- member. -- -- $sel:creationDate:Job', job_creationDate - Undocumented -- member. newJob :: JobType -> Text -> Bool -> UTCTime -> Job