Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- defaultService :: Service
- _BucketPermissionException :: AsError a => Fold a ServiceError
- _CanceledJobIdException :: AsError a => Fold a ServiceError
- _CreateJobQuotaExceededException :: AsError a => Fold a ServiceError
- _ExpiredJobIdException :: AsError a => Fold a ServiceError
- _InvalidAccessKeyIdException :: AsError a => Fold a ServiceError
- _InvalidAddressException :: AsError a => Fold a ServiceError
- _InvalidCustomsException :: AsError a => Fold a ServiceError
- _InvalidFileSystemException :: AsError a => Fold a ServiceError
- _InvalidJobIdException :: AsError a => Fold a ServiceError
- _InvalidManifestFieldException :: AsError a => Fold a ServiceError
- _InvalidParameterException :: AsError a => Fold a ServiceError
- _InvalidVersionException :: AsError a => Fold a ServiceError
- _MalformedManifestException :: AsError a => Fold a ServiceError
- _MissingCustomsException :: AsError a => Fold a ServiceError
- _MissingManifestFieldException :: AsError a => Fold a ServiceError
- _MissingParameterException :: AsError a => Fold a ServiceError
- _MultipleRegionsException :: AsError a => Fold a ServiceError
- _NoSuchBucketException :: AsError a => Fold a ServiceError
- _UnableToCancelJobIdException :: AsError a => Fold a ServiceError
- _UnableToUpdateJobIdException :: AsError a => Fold a ServiceError
- newtype JobType where
- JobType' {
- fromJobType :: Text
- pattern JobType_Export :: JobType
- pattern JobType_Import :: JobType
- JobType' {
- data Artifact = Artifact' {}
- newArtifact :: Artifact
- artifact_description :: Lens' Artifact (Maybe Text)
- artifact_url :: Lens' Artifact (Maybe Text)
- data Job = Job' {
- jobType :: JobType
- jobId :: Text
- isCanceled :: Bool
- creationDate :: ISO8601
- newJob :: JobType -> Text -> Bool -> UTCTime -> Job
- job_jobType :: Lens' Job JobType
- job_jobId :: Lens' Job Text
- job_isCanceled :: Lens' Job Bool
- job_creationDate :: Lens' Job UTCTime
Service Configuration
defaultService :: Service Source #
API version 2010-06-01
of the Amazon Import/Export SDK configuration.
Errors
_BucketPermissionException :: AsError a => Fold a ServiceError Source #
The account specified does not have the appropriate bucket permissions.
_CanceledJobIdException :: AsError a => Fold a ServiceError Source #
The specified job ID has been canceled and is no longer valid.
_CreateJobQuotaExceededException :: AsError a => Fold a ServiceError Source #
Each account can create only a certain number of jobs per day. If you need to create more than this, please contact awsimportexport@amazon.com to explain your particular use case.
_ExpiredJobIdException :: AsError a => Fold a ServiceError Source #
Indicates that the specified job has expired out of the system.
_InvalidAccessKeyIdException :: AsError a => Fold a ServiceError Source #
The AWS Access Key ID specified in the request did not match the manifest's accessKeyId value. The manifest and the request authentication must use the same AWS Access Key ID.
_InvalidAddressException :: AsError a => Fold a ServiceError Source #
The address specified in the manifest is invalid.
_InvalidCustomsException :: AsError a => Fold a ServiceError Source #
One or more customs parameters was invalid. Please correct and resubmit.
_InvalidFileSystemException :: AsError a => Fold a ServiceError Source #
File system specified in export manifest is invalid.
_InvalidJobIdException :: AsError a => Fold a ServiceError Source #
The JOBID was missing, not found, or not associated with the AWS account.
_InvalidManifestFieldException :: AsError a => Fold a ServiceError Source #
One or more manifest fields was invalid. Please correct and resubmit.
_InvalidParameterException :: AsError a => Fold a ServiceError Source #
One or more parameters had an invalid value.
_InvalidVersionException :: AsError a => Fold a ServiceError Source #
The client tool version is invalid.
_MalformedManifestException :: AsError a => Fold a ServiceError Source #
Your manifest is not well-formed.
_MissingCustomsException :: AsError a => Fold a ServiceError Source #
One or more required customs parameters was missing from the manifest.
_MissingManifestFieldException :: AsError a => Fold a ServiceError Source #
One or more required fields were missing from the manifest file. Please correct and resubmit.
_MissingParameterException :: AsError a => Fold a ServiceError Source #
One or more required parameters was missing from the request.
_MultipleRegionsException :: AsError a => Fold a ServiceError Source #
Your manifest file contained buckets from multiple regions. A job is restricted to buckets from one region. Please correct and resubmit.
_NoSuchBucketException :: AsError a => Fold a ServiceError Source #
The specified bucket does not exist. Create the specified bucket or change the manifest's bucket, exportBucket, or logBucket field to a bucket that the account, as specified by the manifest's Access Key ID, has write permissions to.
_UnableToCancelJobIdException :: AsError a => Fold a ServiceError Source #
AWS Import/Export cannot cancel the job
_UnableToUpdateJobIdException :: AsError a => Fold a ServiceError Source #
AWS Import/Export cannot update the job
JobType
Specifies whether the job to initiate is an import or export job.
pattern JobType_Export :: JobType | |
pattern JobType_Import :: JobType |
Instances
Artifact
A discrete item that contains the description and URL of an artifact (such as a PDF).
See: newArtifact
smart constructor.
Instances
FromXML Artifact Source # | |
Generic Artifact Source # | |
Read Artifact Source # | |
Show Artifact Source # | |
NFData Artifact Source # | |
Defined in Amazonka.ImportExport.Types.Artifact | |
Eq Artifact Source # | |
Hashable Artifact Source # | |
Defined in Amazonka.ImportExport.Types.Artifact | |
type Rep Artifact Source # | |
Defined in Amazonka.ImportExport.Types.Artifact type Rep Artifact = D1 ('MetaData "Artifact" "Amazonka.ImportExport.Types.Artifact" "amazonka-importexport-2.0-Jy65964a2E2FHiikVjI7dI" 'False) (C1 ('MetaCons "Artifact'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "url") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newArtifact :: Artifact Source #
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.
Job
Representation of a job returned by the ListJobs operation.
See: newJob
smart constructor.
Job' | |
|
Instances
FromXML Job Source # | |
Generic Job Source # | |
Read Job Source # | |
Show Job Source # | |
NFData Job Source # | |
Defined in Amazonka.ImportExport.Types.Job | |
Eq Job Source # | |
Hashable Job Source # | |
Defined in Amazonka.ImportExport.Types.Job | |
type Rep Job Source # | |
Defined in Amazonka.ImportExport.Types.Job type Rep Job = D1 ('MetaData "Job" "Amazonka.ImportExport.Types.Job" "amazonka-importexport-2.0-Jy65964a2E2FHiikVjI7dI" 'False) (C1 ('MetaCons "Job'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "jobType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 JobType) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "isCanceled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 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.