import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateWorkflowRequest, CreateWorkflowResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateWorkflowCommand}. */ export interface CreateWorkflowCommandInput extends CreateWorkflowRequest { } /** * @public * * The output of {@link CreateWorkflowCommand}. */ export interface CreateWorkflowCommandOutput extends CreateWorkflowResponse, __MetadataBearer { } declare const CreateWorkflowCommand_base: { new (input: CreateWorkflowCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [CreateWorkflowCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a private workflow. Before you create a private workflow, you must create and configure these required resources:

For more information, see Creating or updating a private workflow in Amazon Web Services HealthOmics in the Amazon Web Services HealthOmics User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OmicsClient, CreateWorkflowCommand } from "@aws-sdk/client-omics"; // ES Modules import * // const { OmicsClient, CreateWorkflowCommand } = require("@aws-sdk/client-omics"); // CommonJS import * // import type { OmicsClientConfig } from "@aws-sdk/client-omics"; * const config = {}; // type is OmicsClientConfig * const client = new OmicsClient(config); * const input = { // CreateWorkflowRequest * name: "STRING_VALUE", * description: "STRING_VALUE", * engine: "STRING_VALUE", * definitionZip: new Uint8Array(), // e.g. Buffer.from("") or new TextEncoder().encode("") * definitionUri: "STRING_VALUE", * main: "STRING_VALUE", * parameterTemplate: { // WorkflowParameterTemplate * "": { // WorkflowParameter * description: "STRING_VALUE", * optional: true || false, * }, * }, * storageCapacity: Number("int"), * tags: { // TagMap * "": "STRING_VALUE", * }, * requestId: "STRING_VALUE", // required * accelerators: "STRING_VALUE", * storageType: "STRING_VALUE", * containerRegistryMap: { // ContainerRegistryMap * registryMappings: [ // RegistryMappingsList * { // RegistryMapping * upstreamRegistryUrl: "STRING_VALUE", * ecrRepositoryPrefix: "STRING_VALUE", * upstreamRepositoryPrefix: "STRING_VALUE", * ecrAccountId: "STRING_VALUE", * }, * ], * imageMappings: [ // ImageMappingsList * { // ImageMapping * sourceImage: "STRING_VALUE", * destinationImage: "STRING_VALUE", * }, * ], * }, * containerRegistryMapUri: "STRING_VALUE", * readmeMarkdown: "STRING_VALUE", * parameterTemplatePath: "STRING_VALUE", * readmePath: "STRING_VALUE", * definitionRepository: { // DefinitionRepository * connectionArn: "STRING_VALUE", // required * fullRepositoryId: "STRING_VALUE", // required * sourceReference: { // SourceReference * type: "STRING_VALUE", // required * value: "STRING_VALUE", // required * }, * excludeFilePatterns: [ // ExcludeFilePatternList * "STRING_VALUE", * ], * }, * workflowBucketOwnerId: "STRING_VALUE", * readmeUri: "STRING_VALUE", * }; * const command = new CreateWorkflowCommand(input); * const response = await client.send(command); * // { // CreateWorkflowResponse * // arn: "STRING_VALUE", * // id: "STRING_VALUE", * // status: "STRING_VALUE", * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // uuid: "STRING_VALUE", * // }; * * ``` * * @param CreateWorkflowCommandInput - {@link CreateWorkflowCommandInput} * @returns {@link CreateWorkflowCommandOutput} * @see {@link CreateWorkflowCommandInput} for command's `input` shape. * @see {@link CreateWorkflowCommandOutput} for command's `response` shape. * @see {@link OmicsClientResolvedConfig | config} for OmicsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

The request cannot be applied to the target resource in its current state.

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

An unexpected error occurred. Try the request again.

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

The request timed out.

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

The target resource was not found in the current Region.

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

The request exceeds a service quota.

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

The request was denied due to request throttling.

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

The input fails to satisfy the constraints specified by an AWS service.

* * @throws {@link OmicsServiceException} *

Base exception class for all service exceptions from Omics service.

* * * @public */ export declare class CreateWorkflowCommand extends CreateWorkflowCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateWorkflowRequest; output: CreateWorkflowResponse; }; sdk: { input: CreateWorkflowCommandInput; output: CreateWorkflowCommandOutput; }; }; }