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 |
Creates a Data Store that can ingest and export FHIR formatted data.
Synopsis
- data CreateFHIRDatastore = CreateFHIRDatastore' {}
- newCreateFHIRDatastore :: FHIRVersion -> CreateFHIRDatastore
- createFHIRDatastore_clientToken :: Lens' CreateFHIRDatastore (Maybe Text)
- createFHIRDatastore_sseConfiguration :: Lens' CreateFHIRDatastore (Maybe SseConfiguration)
- createFHIRDatastore_datastoreName :: Lens' CreateFHIRDatastore (Maybe Text)
- createFHIRDatastore_preloadDataConfig :: Lens' CreateFHIRDatastore (Maybe PreloadDataConfig)
- createFHIRDatastore_tags :: Lens' CreateFHIRDatastore (Maybe [Tag])
- createFHIRDatastore_datastoreTypeVersion :: Lens' CreateFHIRDatastore FHIRVersion
- data CreateFHIRDatastoreResponse = CreateFHIRDatastoreResponse' {}
- newCreateFHIRDatastoreResponse :: Int -> Text -> Text -> DatastoreStatus -> Text -> CreateFHIRDatastoreResponse
- createFHIRDatastoreResponse_httpStatus :: Lens' CreateFHIRDatastoreResponse Int
- createFHIRDatastoreResponse_datastoreId :: Lens' CreateFHIRDatastoreResponse Text
- createFHIRDatastoreResponse_datastoreArn :: Lens' CreateFHIRDatastoreResponse Text
- createFHIRDatastoreResponse_datastoreStatus :: Lens' CreateFHIRDatastoreResponse DatastoreStatus
- createFHIRDatastoreResponse_datastoreEndpoint :: Lens' CreateFHIRDatastoreResponse Text
Creating a Request
data CreateFHIRDatastore Source #
See: newCreateFHIRDatastore
smart constructor.
CreateFHIRDatastore' | |
|
Instances
newCreateFHIRDatastore Source #
Create a value of CreateFHIRDatastore
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:clientToken:CreateFHIRDatastore'
, createFHIRDatastore_clientToken
- Optional user provided token used for ensuring idempotency.
$sel:sseConfiguration:CreateFHIRDatastore'
, createFHIRDatastore_sseConfiguration
- The server-side encryption key configuration for a customer provided
encryption key specified for creating a Data Store.
$sel:datastoreName:CreateFHIRDatastore'
, createFHIRDatastore_datastoreName
- The user generated name for the Data Store.
$sel:preloadDataConfig:CreateFHIRDatastore'
, createFHIRDatastore_preloadDataConfig
- Optional parameter to preload data upon creation of the Data Store.
Currently, the only supported preloaded data is synthetic data generated
from Synthea.
$sel:tags:CreateFHIRDatastore'
, createFHIRDatastore_tags
- Resource tags that are applied to a Data Store when it is created.
$sel:datastoreTypeVersion:CreateFHIRDatastore'
, createFHIRDatastore_datastoreTypeVersion
- The FHIR version of the Data Store. The only supported version is R4.
Request Lenses
createFHIRDatastore_clientToken :: Lens' CreateFHIRDatastore (Maybe Text) Source #
Optional user provided token used for ensuring idempotency.
createFHIRDatastore_sseConfiguration :: Lens' CreateFHIRDatastore (Maybe SseConfiguration) Source #
The server-side encryption key configuration for a customer provided encryption key specified for creating a Data Store.
createFHIRDatastore_datastoreName :: Lens' CreateFHIRDatastore (Maybe Text) Source #
The user generated name for the Data Store.
createFHIRDatastore_preloadDataConfig :: Lens' CreateFHIRDatastore (Maybe PreloadDataConfig) Source #
Optional parameter to preload data upon creation of the Data Store. Currently, the only supported preloaded data is synthetic data generated from Synthea.
createFHIRDatastore_tags :: Lens' CreateFHIRDatastore (Maybe [Tag]) Source #
Resource tags that are applied to a Data Store when it is created.
createFHIRDatastore_datastoreTypeVersion :: Lens' CreateFHIRDatastore FHIRVersion Source #
The FHIR version of the Data Store. The only supported version is R4.
Destructuring the Response
data CreateFHIRDatastoreResponse Source #
See: newCreateFHIRDatastoreResponse
smart constructor.
CreateFHIRDatastoreResponse' | |
|
Instances
newCreateFHIRDatastoreResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> DatastoreStatus | |
-> Text | |
-> CreateFHIRDatastoreResponse |
Create a value of CreateFHIRDatastoreResponse
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:CreateFHIRDatastoreResponse'
, createFHIRDatastoreResponse_httpStatus
- The response's http status code.
$sel:datastoreId:CreateFHIRDatastoreResponse'
, createFHIRDatastoreResponse_datastoreId
- The AWS-generated Data Store id. This id is in the output from the
initial Data Store creation call.
$sel:datastoreArn:CreateFHIRDatastoreResponse'
, createFHIRDatastoreResponse_datastoreArn
- The datastore ARN is generated during the creation of the Data Store and
can be found in the output from the initial Data Store creation call.
$sel:datastoreStatus:CreateFHIRDatastoreResponse'
, createFHIRDatastoreResponse_datastoreStatus
- The status of the FHIR Data Store. Possible statuses are ‘CREATING’,
‘ACTIVE’, ‘DELETING’, ‘DELETED’.
$sel:datastoreEndpoint:CreateFHIRDatastoreResponse'
, createFHIRDatastoreResponse_datastoreEndpoint
- The AWS endpoint for the created Data Store. For preview, only US-east-1
endpoints are supported.
Response Lenses
createFHIRDatastoreResponse_httpStatus :: Lens' CreateFHIRDatastoreResponse Int Source #
The response's http status code.
createFHIRDatastoreResponse_datastoreId :: Lens' CreateFHIRDatastoreResponse Text Source #
The AWS-generated Data Store id. This id is in the output from the initial Data Store creation call.
createFHIRDatastoreResponse_datastoreArn :: Lens' CreateFHIRDatastoreResponse Text Source #
The datastore ARN is generated during the creation of the Data Store and can be found in the output from the initial Data Store creation call.
createFHIRDatastoreResponse_datastoreStatus :: Lens' CreateFHIRDatastoreResponse DatastoreStatus Source #
The status of the FHIR Data Store. Possible statuses are ‘CREATING’, ‘ACTIVE’, ‘DELETING’, ‘DELETED’.
createFHIRDatastoreResponse_datastoreEndpoint :: Lens' CreateFHIRDatastoreResponse Text Source #
The AWS endpoint for the created Data Store. For preview, only US-east-1 endpoints are supported.