import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetWorkflowRequest, GetWorkflowResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetWorkflowCommand}. */ export interface GetWorkflowCommandInput extends GetWorkflowRequest { } /** * @public * * The output of {@link GetWorkflowCommand}. */ export interface GetWorkflowCommandOutput extends GetWorkflowResponse, __MetadataBearer { } declare const GetWorkflowCommand_base: { new (input: GetWorkflowCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetWorkflowCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets all information about a workflow using its ID.

If a workflow is shared with you, you cannot export the workflow.

For more information about your workflow status, see Verify the workflow status 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, GetWorkflowCommand } from "@aws-sdk/client-omics"; // ES Modules import * // const { OmicsClient, GetWorkflowCommand } = 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 = { // GetWorkflowRequest * id: "STRING_VALUE", // required * type: "STRING_VALUE", * export: [ // WorkflowExportList * "STRING_VALUE", * ], * workflowOwnerId: "STRING_VALUE", * }; * const command = new GetWorkflowCommand(input); * const response = await client.send(command); * // { // GetWorkflowResponse * // arn: "STRING_VALUE", * // id: "STRING_VALUE", * // status: "STRING_VALUE", * // type: "STRING_VALUE", * // name: "STRING_VALUE", * // description: "STRING_VALUE", * // engine: "STRING_VALUE", * // definition: "STRING_VALUE", * // main: "STRING_VALUE", * // digest: "STRING_VALUE", * // parameterTemplate: { // WorkflowParameterTemplate * // "": { // WorkflowParameter * // description: "STRING_VALUE", * // optional: true || false, * // }, * // }, * // storageCapacity: Number("int"), * // creationTime: new Date("TIMESTAMP"), * // statusMessage: "STRING_VALUE", * // tags: { // TagMap * // "": "STRING_VALUE", * // }, * // metadata: { // WorkflowMetadata * // "": "STRING_VALUE", * // }, * // accelerators: "STRING_VALUE", * // storageType: "STRING_VALUE", * // uuid: "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", * // }, * // ], * // }, * // readme: "STRING_VALUE", * // definitionRepositoryDetails: { // DefinitionRepositoryDetails * // connectionArn: "STRING_VALUE", * // fullRepositoryId: "STRING_VALUE", * // sourceReference: { // SourceReference * // type: "STRING_VALUE", // required * // value: "STRING_VALUE", // required * // }, * // providerType: "STRING_VALUE", * // providerEndpoint: "STRING_VALUE", * // }, * // readmePath: "STRING_VALUE", * // profiles: [ // WorkflowProfileList * // "STRING_VALUE", * // ], * // profileParameterTemplates: { // WorkflowProfileParameterTemplates * // "": { * // "": { * // description: "STRING_VALUE", * // optional: true || false, * // }, * // }, * // }, * // }; * * ``` * * @param GetWorkflowCommandInput - {@link GetWorkflowCommandInput} * @returns {@link GetWorkflowCommandOutput} * @see {@link GetWorkflowCommandInput} for command's `input` shape. * @see {@link GetWorkflowCommandOutput} 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 GetWorkflowCommand extends GetWorkflowCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetWorkflowRequest; output: GetWorkflowResponse; }; sdk: { input: GetWorkflowCommandInput; output: GetWorkflowCommandOutput; }; }; }