import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { PublishDataTransformationProfileRequest, PublishDataTransformationProfileResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link PublishDataTransformationProfileCommand}. */ export interface PublishDataTransformationProfileCommandInput extends PublishDataTransformationProfileRequest { } /** * @public * * The output of {@link PublishDataTransformationProfileCommand}. */ export interface PublishDataTransformationProfileCommandOutput extends PublishDataTransformationProfileResponse, __MetadataBearer { } declare const PublishDataTransformationProfileCommand_base: { new (input: PublishDataTransformationProfileCommandInput): import("@smithy/core/client").CommandImpl; new (input: PublishDataTransformationProfileCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Promotes the current DRAFT version of a data transformation profile to a new immutable published version. Also supports rollback by publishing from a previously published version.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { HealthLakeClient, PublishDataTransformationProfileCommand } from "@aws-sdk/client-healthlake"; // ES Modules import * // const { HealthLakeClient, PublishDataTransformationProfileCommand } = 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 = { // PublishDataTransformationProfileRequest * ProfileId: "STRING_VALUE", // required * SourceFormat: "CCDA" || "CSV", // required * FromExistingVersion: Number("int"), * ChangeDescription: "STRING_VALUE", * }; * const command = new PublishDataTransformationProfileCommand(input); * const response = await client.send(command); * // { // PublishDataTransformationProfileResponse * // ProfileId: "STRING_VALUE", // required * // Version: Number("int"), // required * // SourceFormat: "CCDA" || "CSV", // required * // TargetFormat: "FHIR_R4", // required * // ProfileName: "STRING_VALUE", * // LastUpdatedAt: new Date("TIMESTAMP"), // required * // }; * * ``` * * @param PublishDataTransformationProfileCommandInput - {@link PublishDataTransformationProfileCommandInput} * @returns {@link PublishDataTransformationProfileCommandOutput} * @see {@link PublishDataTransformationProfileCommandInput} for command's `input` shape. * @see {@link PublishDataTransformationProfileCommandOutput} 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 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 PublishDataTransformationProfileCommand extends PublishDataTransformationProfileCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: PublishDataTransformationProfileRequest; output: PublishDataTransformationProfileResponse; }; sdk: { input: PublishDataTransformationProfileCommandInput; output: PublishDataTransformationProfileCommandOutput; }; }; }