Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Begins a FHIR Import job.
Synopsis
- data StartFHIRImportJob = StartFHIRImportJob' {}
- newStartFHIRImportJob :: InputDataConfig -> OutputDataConfig -> Text -> Text -> Text -> StartFHIRImportJob
- startFHIRImportJob_jobName :: Lens' StartFHIRImportJob (Maybe Text)
- startFHIRImportJob_inputDataConfig :: Lens' StartFHIRImportJob InputDataConfig
- startFHIRImportJob_jobOutputDataConfig :: Lens' StartFHIRImportJob OutputDataConfig
- startFHIRImportJob_datastoreId :: Lens' StartFHIRImportJob Text
- startFHIRImportJob_dataAccessRoleArn :: Lens' StartFHIRImportJob Text
- startFHIRImportJob_clientToken :: Lens' StartFHIRImportJob Text
- data StartFHIRImportJobResponse = StartFHIRImportJobResponse' {
- datastoreId :: Maybe Text
- httpStatus :: Int
- jobId :: Text
- jobStatus :: JobStatus
- newStartFHIRImportJobResponse :: Int -> Text -> JobStatus -> StartFHIRImportJobResponse
- startFHIRImportJobResponse_datastoreId :: Lens' StartFHIRImportJobResponse (Maybe Text)
- startFHIRImportJobResponse_httpStatus :: Lens' StartFHIRImportJobResponse Int
- startFHIRImportJobResponse_jobId :: Lens' StartFHIRImportJobResponse Text
- startFHIRImportJobResponse_jobStatus :: Lens' StartFHIRImportJobResponse JobStatus
Creating a Request
data StartFHIRImportJob Source #
See: newStartFHIRImportJob
smart constructor.
StartFHIRImportJob' | |
|
Instances
newStartFHIRImportJob Source #
:: InputDataConfig | |
-> OutputDataConfig | |
-> Text | |
-> Text | |
-> Text | |
-> StartFHIRImportJob |
Create a value of StartFHIRImportJob
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:jobName:StartFHIRImportJob'
, startFHIRImportJob_jobName
- The name of the FHIR Import job in the StartFHIRImport job request.
$sel:inputDataConfig:StartFHIRImportJob'
, startFHIRImportJob_inputDataConfig
- The input properties of the FHIR Import job in the StartFHIRImport job
request.
$sel:jobOutputDataConfig:StartFHIRImportJob'
, startFHIRImportJob_jobOutputDataConfig
- Undocumented member.
$sel:datastoreId:StartFHIRImportJob'
, startFHIRImportJob_datastoreId
- The AWS-generated Data Store ID.
$sel:dataAccessRoleArn:StartFHIRImportJob'
, startFHIRImportJob_dataAccessRoleArn
- The Amazon Resource Name (ARN) that gives Amazon HealthLake access
permission.
$sel:clientToken:StartFHIRImportJob'
, startFHIRImportJob_clientToken
- Optional user provided token used for ensuring idempotency.
Request Lenses
startFHIRImportJob_jobName :: Lens' StartFHIRImportJob (Maybe Text) Source #
The name of the FHIR Import job in the StartFHIRImport job request.
startFHIRImportJob_inputDataConfig :: Lens' StartFHIRImportJob InputDataConfig Source #
The input properties of the FHIR Import job in the StartFHIRImport job request.
startFHIRImportJob_jobOutputDataConfig :: Lens' StartFHIRImportJob OutputDataConfig Source #
Undocumented member.
startFHIRImportJob_datastoreId :: Lens' StartFHIRImportJob Text Source #
The AWS-generated Data Store ID.
startFHIRImportJob_dataAccessRoleArn :: Lens' StartFHIRImportJob Text Source #
The Amazon Resource Name (ARN) that gives Amazon HealthLake access permission.
startFHIRImportJob_clientToken :: Lens' StartFHIRImportJob Text Source #
Optional user provided token used for ensuring idempotency.
Destructuring the Response
data StartFHIRImportJobResponse Source #
See: newStartFHIRImportJobResponse
smart constructor.
StartFHIRImportJobResponse' | |
|
Instances
newStartFHIRImportJobResponse Source #
:: Int | |
-> Text | |
-> JobStatus | |
-> StartFHIRImportJobResponse |
Create a value of StartFHIRImportJobResponse
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:datastoreId:StartFHIRImportJob'
, startFHIRImportJobResponse_datastoreId
- The AWS-generated Data Store ID.
$sel:httpStatus:StartFHIRImportJobResponse'
, startFHIRImportJobResponse_httpStatus
- The response's http status code.
$sel:jobId:StartFHIRImportJobResponse'
, startFHIRImportJobResponse_jobId
- The AWS-generated job ID.
$sel:jobStatus:StartFHIRImportJobResponse'
, startFHIRImportJobResponse_jobStatus
- The status of an import job.
Response Lenses
startFHIRImportJobResponse_datastoreId :: Lens' StartFHIRImportJobResponse (Maybe Text) Source #
The AWS-generated Data Store ID.
startFHIRImportJobResponse_httpStatus :: Lens' StartFHIRImportJobResponse Int Source #
The response's http status code.
startFHIRImportJobResponse_jobId :: Lens' StartFHIRImportJobResponse Text Source #
The AWS-generated job ID.
startFHIRImportJobResponse_jobStatus :: Lens' StartFHIRImportJobResponse JobStatus Source #
The status of an import job.