import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { GetRunTaskRequest, GetRunTaskResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link GetRunTaskCommand}. */ export interface GetRunTaskCommandInput extends GetRunTaskRequest { } /** * @public * * The output of {@link GetRunTaskCommand}. */ export interface GetRunTaskCommandOutput extends GetRunTaskResponse, __MetadataBearer { } declare const GetRunTaskCommand_base: { new (input: GetRunTaskCommandInput): import("@smithy/core/client").CommandImpl; new (input: GetRunTaskCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Gets detailed information about a run task using its ID.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { OmicsClient, GetRunTaskCommand } from "@aws-sdk/client-omics"; // ES Modules import * // const { OmicsClient, GetRunTaskCommand } = 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 = { // GetRunTaskRequest * id: "STRING_VALUE", // required * taskId: "STRING_VALUE", // required * }; * const command = new GetRunTaskCommand(input); * const response = await client.send(command); * // { // GetRunTaskResponse * // taskId: "STRING_VALUE", * // status: "STRING_VALUE", * // name: "STRING_VALUE", * // cpus: Number("int"), * // cacheHit: true || false, * // cacheS3Uri: "STRING_VALUE", * // memory: Number("int"), * // creationTime: new Date("TIMESTAMP"), * // startTime: new Date("TIMESTAMP"), * // stopTime: new Date("TIMESTAMP"), * // statusMessage: "STRING_VALUE", * // logStream: "STRING_VALUE", * // gpus: Number("int"), * // instanceType: "STRING_VALUE", * // failureReason: "STRING_VALUE", * // imageDetails: { // ImageDetails * // image: "STRING_VALUE", * // imageDigest: "STRING_VALUE", * // sourceImage: "STRING_VALUE", * // }, * // uuid: "STRING_VALUE", * // }; * * ``` * * @param GetRunTaskCommandInput - {@link GetRunTaskCommandInput} * @returns {@link GetRunTaskCommandOutput} * @see {@link GetRunTaskCommandInput} for command's `input` shape. * @see {@link GetRunTaskCommandOutput} 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 GetRunTaskCommand extends GetRunTaskCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetRunTaskRequest; output: GetRunTaskResponse; }; sdk: { input: GetRunTaskCommandInput; output: GetRunTaskCommandOutput; }; }; }