import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DeviceFarmClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DeviceFarmClient"; import type { GetUploadRequest, GetUploadResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetUploadCommand}. */ export interface GetUploadCommandInput extends GetUploadRequest { } /** * @public * * The output of {@link GetUploadCommand}. */ export interface GetUploadCommandOutput extends GetUploadResult, __MetadataBearer { } declare const GetUploadCommand_base: { new (input: GetUploadCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetUploadCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Gets information about an upload.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DeviceFarmClient, GetUploadCommand } from "@aws-sdk/client-device-farm"; // ES Modules import * // const { DeviceFarmClient, GetUploadCommand } = require("@aws-sdk/client-device-farm"); // CommonJS import * // import type { DeviceFarmClientConfig } from "@aws-sdk/client-device-farm"; * const config = {}; // type is DeviceFarmClientConfig * const client = new DeviceFarmClient(config); * const input = { // GetUploadRequest * arn: "STRING_VALUE", // required * }; * const command = new GetUploadCommand(input); * const response = await client.send(command); * // { // GetUploadResult * // upload: { // Upload * // arn: "STRING_VALUE", * // name: "STRING_VALUE", * // created: new Date("TIMESTAMP"), * // type: "ANDROID_APP" || "IOS_APP" || "WEB_APP" || "EXTERNAL_DATA" || "APPIUM_JAVA_JUNIT_TEST_PACKAGE" || "APPIUM_JAVA_TESTNG_TEST_PACKAGE" || "APPIUM_PYTHON_TEST_PACKAGE" || "APPIUM_NODE_TEST_PACKAGE" || "APPIUM_RUBY_TEST_PACKAGE" || "APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE" || "APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE" || "APPIUM_WEB_PYTHON_TEST_PACKAGE" || "APPIUM_WEB_NODE_TEST_PACKAGE" || "APPIUM_WEB_RUBY_TEST_PACKAGE" || "CALABASH_TEST_PACKAGE" || "INSTRUMENTATION_TEST_PACKAGE" || "UIAUTOMATION_TEST_PACKAGE" || "UIAUTOMATOR_TEST_PACKAGE" || "XCTEST_TEST_PACKAGE" || "XCTEST_UI_TEST_PACKAGE" || "APPIUM_JAVA_JUNIT_TEST_SPEC" || "APPIUM_JAVA_TESTNG_TEST_SPEC" || "APPIUM_PYTHON_TEST_SPEC" || "APPIUM_NODE_TEST_SPEC" || "APPIUM_RUBY_TEST_SPEC" || "APPIUM_WEB_JAVA_JUNIT_TEST_SPEC" || "APPIUM_WEB_JAVA_TESTNG_TEST_SPEC" || "APPIUM_WEB_PYTHON_TEST_SPEC" || "APPIUM_WEB_NODE_TEST_SPEC" || "APPIUM_WEB_RUBY_TEST_SPEC" || "INSTRUMENTATION_TEST_SPEC" || "XCTEST_UI_TEST_SPEC", * // status: "INITIALIZED" || "PROCESSING" || "SUCCEEDED" || "FAILED", * // url: "STRING_VALUE", * // metadata: "STRING_VALUE", * // contentType: "STRING_VALUE", * // message: "STRING_VALUE", * // category: "CURATED" || "PRIVATE", * // }, * // }; * * ``` * * @param GetUploadCommandInput - {@link GetUploadCommandInput} * @returns {@link GetUploadCommandOutput} * @see {@link GetUploadCommandInput} for command's `input` shape. * @see {@link GetUploadCommandOutput} for command's `response` shape. * @see {@link DeviceFarmClientResolvedConfig | config} for DeviceFarmClient's `config` shape. * * @throws {@link ArgumentException} (client fault) *

An invalid argument was specified.

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

A limit was exceeded.

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

The specified entity was not found.

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

There was a problem with the service account.

* * @throws {@link DeviceFarmServiceException} *

Base exception class for all service exceptions from DeviceFarm service.

* * * @example To get information about a specific upload * ```javascript * // The following example gets information about a specific upload. * const input = { * arn: "arn:aws:devicefarm:us-west-2:123456789101:upload:EXAMPLE-GUID-123-456" * }; * const command = new GetUploadCommand(input); * const response = await client.send(command); * /* response is * { * upload: { /* empty *\/ } * } * *\/ * ``` * * @public */ export declare class GetUploadCommand extends GetUploadCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetUploadRequest; output: GetUploadResult; }; sdk: { input: GetUploadCommandInput; output: GetUploadCommandOutput; }; }; }