Creates a data transformation profile in DRAFT state¶
Description¶
Creates a data transformation profile in DRAFT state. Specify a built-in starter profile, an existing profile version, raw profile content, or a sample data file as the source.
Usage¶
healthlake_create_data_transformation_profile(SourceFormat, Source,
KmsKeyId, ProfileDescription, ProfileName, Tags, ClientToken)
Arguments¶
SourceFormat
[required] The source data format that this profile converts from (Consolidated Clinical Document Architecture (C-CDA) or Comma-separated values (CSV)).
Source
[required] The source for the initial profile content. Specify a built-in starter profile, an existing profile version to clone, raw profile content for CI/CD workflows, or a sample data file in Amazon S3.
KmsKeyId
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key identifier used to encrypt the profile content at rest.
ProfileDescription
A human-readable description of the profile's purpose.
ProfileName
[required] A name for the data transformation profile.
Tags
The tags to associate with the profile at creation time.
ClientToken
A unique, case-sensitive identifier to ensure that the operation completes no more than one time. If this token matches a previous request, the service ignores the request but does not return an error.
Value¶
A list with the following syntax:
list(
ProfileId = "string",
Version = 123,
SourceFormat = "CCDA"|"CSV",
TargetFormat = "FHIR_R4",
ProfileName = "string",
LastUpdatedAt = as.POSIXct(
"2015-01-01"
)
)
Request syntax¶
svc$create_data_transformation_profile(
SourceFormat = "CCDA"|"CSV",
Source = list(
StarterProfile = list(
StarterProfileName = "string"
),
ExistingVersionedProfileId = list(
ProfileId = "string",
Version = 123
),
ProfileMapping = list(
ProfileMapping = list(
"string"
)
),
SampleData = list(
S3Uri = "string"
)
),
KmsKeyId = "string",
ProfileDescription = "string",
ProfileName = "string",
Tags = list(
"string"
),
ClientToken = "string"
)