import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateDataTransformationProfileRequest, CreateDataTransformationProfileResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateDataTransformationProfileCommand}. */ export interface CreateDataTransformationProfileCommandInput extends CreateDataTransformationProfileRequest { } /** * @public * * The output of {@link CreateDataTransformationProfileCommand}. */ export interface CreateDataTransformationProfileCommandOutput extends CreateDataTransformationProfileResponse, __MetadataBearer { } declare const CreateDataTransformationProfileCommand_base: { new (input: CreateDataTransformationProfileCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateDataTransformationProfileCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

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.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { HealthLakeClient, CreateDataTransformationProfileCommand } from "@aws-sdk/client-healthlake"; // ES Modules import * // const { HealthLakeClient, CreateDataTransformationProfileCommand } = require("@aws-sdk/client-healthlake"); // CommonJS import * // import type { HealthLakeClientConfig } from "@aws-sdk/client-healthlake"; * const config = {}; // type is HealthLakeClientConfig * const client = new HealthLakeClient(config); * const input = { // CreateDataTransformationProfileRequest * SourceFormat: "CCDA" || "CSV", // required * Source: { // CreateDataTransformationProfileSource Union: only one key present * StarterProfile: { // StarterProfileSource * StarterProfileName: "STRING_VALUE", // required * }, * ExistingVersionedProfileId: { // ExistingVersionedProfileSource * ProfileId: "STRING_VALUE", // required * Version: Number("int"), // required * }, * ProfileMapping: { // ProfileMappingSource * ProfileMapping: { // StringMap // required * "": "STRING_VALUE", * }, * }, * SampleData: { // SampleDataSource * S3Uri: "STRING_VALUE", // required * }, * }, * KmsKeyId: "STRING_VALUE", * ProfileDescription: "STRING_VALUE", * ProfileName: "STRING_VALUE", // required * Tags: { // TagMap * "": "STRING_VALUE", * }, * ClientToken: "STRING_VALUE", * }; * const command = new CreateDataTransformationProfileCommand(input); * const response = await client.send(command); * // { // CreateDataTransformationProfileResponse * // ProfileId: "STRING_VALUE", // required * // Version: Number("int"), // required * // SourceFormat: "CCDA" || "CSV", // required * // TargetFormat: "FHIR_R4", // required * // ProfileName: "STRING_VALUE", // required * // LastUpdatedAt: new Date("TIMESTAMP"), // required * // }; * * ``` * * @param CreateDataTransformationProfileCommandInput - {@link CreateDataTransformationProfileCommandInput} * @returns {@link CreateDataTransformationProfileCommandOutput} * @see {@link CreateDataTransformationProfileCommandInput} for command's `input` shape. * @see {@link CreateDataTransformationProfileCommandOutput} for command's `response` shape. * @see {@link HealthLakeClientResolvedConfig | config} for HealthLakeClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

Access is denied. Your account is not authorized to perform this operation.

* * @throws {@link ConflictException} (client fault) *

The data store is in a transition state and the user requested action cannot be performed.

* * @throws {@link InternalServerException} (server fault) *

An unknown internal error occurred in the service.

* * @throws {@link ResourceNotFoundException} (client fault) *

The requested data store was not found.

* * @throws {@link ServiceQuotaExceededException} (client fault) * The request exceeds the service quota. * * @throws {@link ThrottlingException} (client fault) *

The user has exceeded their maximum number of allowed calls to the given API.

* * @throws {@link ValidationException} (client fault) *

The user input parameter was invalid.

* * @throws {@link HealthLakeServiceException} *

Base exception class for all service exceptions from HealthLake service.

* * * @public */ export declare class CreateDataTransformationProfileCommand extends CreateDataTransformationProfileCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateDataTransformationProfileRequest; output: CreateDataTransformationProfileResponse; }; sdk: { input: CreateDataTransformationProfileCommandInput; output: CreateDataTransformationProfileCommandOutput; }; }; }