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 { GetDeviceRequest, GetDeviceResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetDeviceCommand}. */ export interface GetDeviceCommandInput extends GetDeviceRequest { } /** * @public * * The output of {@link GetDeviceCommand}. */ export interface GetDeviceCommandOutput extends GetDeviceResult, __MetadataBearer { } declare const GetDeviceCommand_base: { new (input: GetDeviceCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetDeviceCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Gets information about a unique device type.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DeviceFarmClient, GetDeviceCommand } from "@aws-sdk/client-device-farm"; // ES Modules import * // const { DeviceFarmClient, GetDeviceCommand } = 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 = { // GetDeviceRequest * arn: "STRING_VALUE", // required * }; * const command = new GetDeviceCommand(input); * const response = await client.send(command); * // { // GetDeviceResult * // device: { // Device * // arn: "STRING_VALUE", * // name: "STRING_VALUE", * // manufacturer: "STRING_VALUE", * // model: "STRING_VALUE", * // modelId: "STRING_VALUE", * // formFactor: "PHONE" || "TABLET", * // platform: "ANDROID" || "IOS", * // os: "STRING_VALUE", * // cpu: { // CPU * // frequency: "STRING_VALUE", * // architecture: "STRING_VALUE", * // clock: Number("double"), * // }, * // resolution: { // Resolution * // width: Number("int"), * // height: Number("int"), * // }, * // heapSize: Number("long"), * // memory: Number("long"), * // image: "STRING_VALUE", * // carrier: "STRING_VALUE", * // radio: "STRING_VALUE", * // remoteAccessEnabled: true || false, * // remoteDebugEnabled: true || false, * // fleetType: "STRING_VALUE", * // fleetName: "STRING_VALUE", * // instances: [ // DeviceInstances * // { // DeviceInstance * // arn: "STRING_VALUE", * // deviceArn: "STRING_VALUE", * // labels: [ // InstanceLabels * // "STRING_VALUE", * // ], * // status: "IN_USE" || "PREPARING" || "AVAILABLE" || "NOT_AVAILABLE", * // udid: "STRING_VALUE", * // instanceProfile: { // InstanceProfile * // arn: "STRING_VALUE", * // packageCleanup: true || false, * // excludeAppPackagesFromCleanup: [ // PackageIds * // "STRING_VALUE", * // ], * // rebootAfterUse: true || false, * // name: "STRING_VALUE", * // description: "STRING_VALUE", * // }, * // }, * // ], * // availability: "TEMPORARY_NOT_AVAILABLE" || "BUSY" || "AVAILABLE" || "HIGHLY_AVAILABLE", * // }, * // }; * * ``` * * @param GetDeviceCommandInput - {@link GetDeviceCommandInput} * @returns {@link GetDeviceCommandOutput} * @see {@link GetDeviceCommandInput} for command's `input` shape. * @see {@link GetDeviceCommandOutput} 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 device * ```javascript * // The following example returns information about a specific device. * const input = { * arn: "arn:aws:devicefarm:us-west-2::device:123EXAMPLE" * }; * const command = new GetDeviceCommand(input); * const response = await client.send(command); * /* response is * { * device: { * arn: "arn:aws:devicefarm:us-west-2::device:A0E6E6E1059E45918208DF75B2B7EF6C", * cpu: { * architecture: "armeabi-v7a", * clock: 2265.6, * frequency: "MHz" * }, * formFactor: "PHONE", * heapSize: 256000000, * image: "75B2B7EF6C12345EXAMPLE", * manufacturer: "LG", * memory: 16000000000, * model: "G2 (Sprint)", * name: "LG G2 (Sprint)", * os: "4.2.2", * platform: "ANDROID", * resolution: { * height: 1920, * width: 1080 * } * } * } * *\/ * ``` * * @public */ export declare class GetDeviceCommand extends GetDeviceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetDeviceRequest; output: GetDeviceResult; }; sdk: { input: GetDeviceCommandInput; output: GetDeviceCommandOutput; }; }; }