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 |
Starts an annotation import job.
Synopsis
- data StartAnnotationImportJob = StartAnnotationImportJob' {}
- newStartAnnotationImportJob :: Text -> NonEmpty AnnotationImportItemSource -> Text -> StartAnnotationImportJob
- startAnnotationImportJob_formatOptions :: Lens' StartAnnotationImportJob (Maybe FormatOptions)
- startAnnotationImportJob_runLeftNormalization :: Lens' StartAnnotationImportJob (Maybe Bool)
- startAnnotationImportJob_destinationName :: Lens' StartAnnotationImportJob Text
- startAnnotationImportJob_items :: Lens' StartAnnotationImportJob (NonEmpty AnnotationImportItemSource)
- startAnnotationImportJob_roleArn :: Lens' StartAnnotationImportJob Text
- data StartAnnotationImportJobResponse = StartAnnotationImportJobResponse' {
- httpStatus :: Int
- jobId :: Text
- newStartAnnotationImportJobResponse :: Int -> Text -> StartAnnotationImportJobResponse
- startAnnotationImportJobResponse_httpStatus :: Lens' StartAnnotationImportJobResponse Int
- startAnnotationImportJobResponse_jobId :: Lens' StartAnnotationImportJobResponse Text
Creating a Request
data StartAnnotationImportJob Source #
See: newStartAnnotationImportJob
smart constructor.
StartAnnotationImportJob' | |
|
Instances
newStartAnnotationImportJob Source #
Create a value of StartAnnotationImportJob
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:formatOptions:StartAnnotationImportJob'
, startAnnotationImportJob_formatOptions
- Formatting options for the annotation file.
StartAnnotationImportJob
, startAnnotationImportJob_runLeftNormalization
- The job's left normalization setting.
StartAnnotationImportJob
, startAnnotationImportJob_destinationName
- A destination annotation store for the job.
$sel:items:StartAnnotationImportJob'
, startAnnotationImportJob_items
- Items to import.
StartAnnotationImportJob
, startAnnotationImportJob_roleArn
- A service role for the job.
Request Lenses
startAnnotationImportJob_formatOptions :: Lens' StartAnnotationImportJob (Maybe FormatOptions) Source #
Formatting options for the annotation file.
startAnnotationImportJob_runLeftNormalization :: Lens' StartAnnotationImportJob (Maybe Bool) Source #
The job's left normalization setting.
startAnnotationImportJob_destinationName :: Lens' StartAnnotationImportJob Text Source #
A destination annotation store for the job.
startAnnotationImportJob_items :: Lens' StartAnnotationImportJob (NonEmpty AnnotationImportItemSource) Source #
Items to import.
startAnnotationImportJob_roleArn :: Lens' StartAnnotationImportJob Text Source #
A service role for the job.
Destructuring the Response
data StartAnnotationImportJobResponse Source #
See: newStartAnnotationImportJobResponse
smart constructor.
StartAnnotationImportJobResponse' | |
|
Instances
Generic StartAnnotationImportJobResponse Source # | |
Read StartAnnotationImportJobResponse Source # | |
Show StartAnnotationImportJobResponse Source # | |
Defined in Amazonka.Omics.StartAnnotationImportJob | |
NFData StartAnnotationImportJobResponse Source # | |
Defined in Amazonka.Omics.StartAnnotationImportJob rnf :: StartAnnotationImportJobResponse -> () # | |
Eq StartAnnotationImportJobResponse Source # | |
type Rep StartAnnotationImportJobResponse Source # | |
Defined in Amazonka.Omics.StartAnnotationImportJob type Rep StartAnnotationImportJobResponse = D1 ('MetaData "StartAnnotationImportJobResponse" "Amazonka.Omics.StartAnnotationImportJob" "amazonka-omics-2.0-9t5CXL0ZQCvGfVWhQWVGKJ" 'False) (C1 ('MetaCons "StartAnnotationImportJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newStartAnnotationImportJobResponse Source #
Create a value of StartAnnotationImportJobResponse
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:httpStatus:StartAnnotationImportJobResponse'
, startAnnotationImportJobResponse_httpStatus
- The response's http status code.
$sel:jobId:StartAnnotationImportJobResponse'
, startAnnotationImportJobResponse_jobId
- The job's ID.
Response Lenses
startAnnotationImportJobResponse_httpStatus :: Lens' StartAnnotationImportJobResponse Int Source #
The response's http status code.