import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent"; import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver"; import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint"; import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry"; import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http"; import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client"; import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider"; import type { CreateDevicePoolCommandInput, CreateDevicePoolCommandOutput } from "./commands/CreateDevicePoolCommand"; import type { CreateInstanceProfileCommandInput, CreateInstanceProfileCommandOutput } from "./commands/CreateInstanceProfileCommand"; import type { CreateNetworkProfileCommandInput, CreateNetworkProfileCommandOutput } from "./commands/CreateNetworkProfileCommand"; import type { CreateProjectCommandInput, CreateProjectCommandOutput } from "./commands/CreateProjectCommand"; import type { CreateRemoteAccessSessionCommandInput, CreateRemoteAccessSessionCommandOutput } from "./commands/CreateRemoteAccessSessionCommand"; import type { CreateTestGridProjectCommandInput, CreateTestGridProjectCommandOutput } from "./commands/CreateTestGridProjectCommand"; import type { CreateTestGridUrlCommandInput, CreateTestGridUrlCommandOutput } from "./commands/CreateTestGridUrlCommand"; import type { CreateUploadCommandInput, CreateUploadCommandOutput } from "./commands/CreateUploadCommand"; import type { CreateVPCEConfigurationCommandInput, CreateVPCEConfigurationCommandOutput } from "./commands/CreateVPCEConfigurationCommand"; import type { DeleteDevicePoolCommandInput, DeleteDevicePoolCommandOutput } from "./commands/DeleteDevicePoolCommand"; import type { DeleteInstanceProfileCommandInput, DeleteInstanceProfileCommandOutput } from "./commands/DeleteInstanceProfileCommand"; import type { DeleteNetworkProfileCommandInput, DeleteNetworkProfileCommandOutput } from "./commands/DeleteNetworkProfileCommand"; import type { DeleteProjectCommandInput, DeleteProjectCommandOutput } from "./commands/DeleteProjectCommand"; import type { DeleteRemoteAccessSessionCommandInput, DeleteRemoteAccessSessionCommandOutput } from "./commands/DeleteRemoteAccessSessionCommand"; import type { DeleteRunCommandInput, DeleteRunCommandOutput } from "./commands/DeleteRunCommand"; import type { DeleteTestGridProjectCommandInput, DeleteTestGridProjectCommandOutput } from "./commands/DeleteTestGridProjectCommand"; import type { DeleteUploadCommandInput, DeleteUploadCommandOutput } from "./commands/DeleteUploadCommand"; import type { DeleteVPCEConfigurationCommandInput, DeleteVPCEConfigurationCommandOutput } from "./commands/DeleteVPCEConfigurationCommand"; import type { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand"; import type { GetDeviceCommandInput, GetDeviceCommandOutput } from "./commands/GetDeviceCommand"; import type { GetDeviceInstanceCommandInput, GetDeviceInstanceCommandOutput } from "./commands/GetDeviceInstanceCommand"; import type { GetDevicePoolCommandInput, GetDevicePoolCommandOutput } from "./commands/GetDevicePoolCommand"; import type { GetDevicePoolCompatibilityCommandInput, GetDevicePoolCompatibilityCommandOutput } from "./commands/GetDevicePoolCompatibilityCommand"; import type { GetInstanceProfileCommandInput, GetInstanceProfileCommandOutput } from "./commands/GetInstanceProfileCommand"; import type { GetJobCommandInput, GetJobCommandOutput } from "./commands/GetJobCommand"; import type { GetNetworkProfileCommandInput, GetNetworkProfileCommandOutput } from "./commands/GetNetworkProfileCommand"; import type { GetOfferingStatusCommandInput, GetOfferingStatusCommandOutput } from "./commands/GetOfferingStatusCommand"; import type { GetProjectCommandInput, GetProjectCommandOutput } from "./commands/GetProjectCommand"; import type { GetRemoteAccessSessionCommandInput, GetRemoteAccessSessionCommandOutput } from "./commands/GetRemoteAccessSessionCommand"; import type { GetRunCommandInput, GetRunCommandOutput } from "./commands/GetRunCommand"; import type { GetSuiteCommandInput, GetSuiteCommandOutput } from "./commands/GetSuiteCommand"; import type { GetTestCommandInput, GetTestCommandOutput } from "./commands/GetTestCommand"; import type { GetTestGridProjectCommandInput, GetTestGridProjectCommandOutput } from "./commands/GetTestGridProjectCommand"; import type { GetTestGridSessionCommandInput, GetTestGridSessionCommandOutput } from "./commands/GetTestGridSessionCommand"; import type { GetUploadCommandInput, GetUploadCommandOutput } from "./commands/GetUploadCommand"; import type { GetVPCEConfigurationCommandInput, GetVPCEConfigurationCommandOutput } from "./commands/GetVPCEConfigurationCommand"; import type { InstallToRemoteAccessSessionCommandInput, InstallToRemoteAccessSessionCommandOutput } from "./commands/InstallToRemoteAccessSessionCommand"; import type { ListArtifactsCommandInput, ListArtifactsCommandOutput } from "./commands/ListArtifactsCommand"; import type { ListDeviceInstancesCommandInput, ListDeviceInstancesCommandOutput } from "./commands/ListDeviceInstancesCommand"; import type { ListDevicePoolsCommandInput, ListDevicePoolsCommandOutput } from "./commands/ListDevicePoolsCommand"; import type { ListDevicesCommandInput, ListDevicesCommandOutput } from "./commands/ListDevicesCommand"; import type { ListInstanceProfilesCommandInput, ListInstanceProfilesCommandOutput } from "./commands/ListInstanceProfilesCommand"; import type { ListJobsCommandInput, ListJobsCommandOutput } from "./commands/ListJobsCommand"; import type { ListNetworkProfilesCommandInput, ListNetworkProfilesCommandOutput } from "./commands/ListNetworkProfilesCommand"; import type { ListOfferingPromotionsCommandInput, ListOfferingPromotionsCommandOutput } from "./commands/ListOfferingPromotionsCommand"; import type { ListOfferingsCommandInput, ListOfferingsCommandOutput } from "./commands/ListOfferingsCommand"; import type { ListOfferingTransactionsCommandInput, ListOfferingTransactionsCommandOutput } from "./commands/ListOfferingTransactionsCommand"; import type { ListProjectsCommandInput, ListProjectsCommandOutput } from "./commands/ListProjectsCommand"; import type { ListRemoteAccessSessionsCommandInput, ListRemoteAccessSessionsCommandOutput } from "./commands/ListRemoteAccessSessionsCommand"; import type { ListRunsCommandInput, ListRunsCommandOutput } from "./commands/ListRunsCommand"; import type { ListSamplesCommandInput, ListSamplesCommandOutput } from "./commands/ListSamplesCommand"; import type { ListSuitesCommandInput, ListSuitesCommandOutput } from "./commands/ListSuitesCommand"; import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import type { ListTestGridProjectsCommandInput, ListTestGridProjectsCommandOutput } from "./commands/ListTestGridProjectsCommand"; import type { ListTestGridSessionActionsCommandInput, ListTestGridSessionActionsCommandOutput } from "./commands/ListTestGridSessionActionsCommand"; import type { ListTestGridSessionArtifactsCommandInput, ListTestGridSessionArtifactsCommandOutput } from "./commands/ListTestGridSessionArtifactsCommand"; import type { ListTestGridSessionsCommandInput, ListTestGridSessionsCommandOutput } from "./commands/ListTestGridSessionsCommand"; import type { ListTestsCommandInput, ListTestsCommandOutput } from "./commands/ListTestsCommand"; import type { ListUniqueProblemsCommandInput, ListUniqueProblemsCommandOutput } from "./commands/ListUniqueProblemsCommand"; import type { ListUploadsCommandInput, ListUploadsCommandOutput } from "./commands/ListUploadsCommand"; import type { ListVPCEConfigurationsCommandInput, ListVPCEConfigurationsCommandOutput } from "./commands/ListVPCEConfigurationsCommand"; import type { PurchaseOfferingCommandInput, PurchaseOfferingCommandOutput } from "./commands/PurchaseOfferingCommand"; import type { RenewOfferingCommandInput, RenewOfferingCommandOutput } from "./commands/RenewOfferingCommand"; import type { ScheduleRunCommandInput, ScheduleRunCommandOutput } from "./commands/ScheduleRunCommand"; import type { StopJobCommandInput, StopJobCommandOutput } from "./commands/StopJobCommand"; import type { StopRemoteAccessSessionCommandInput, StopRemoteAccessSessionCommandOutput } from "./commands/StopRemoteAccessSessionCommand"; import type { StopRunCommandInput, StopRunCommandOutput } from "./commands/StopRunCommand"; import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import type { UpdateDeviceInstanceCommandInput, UpdateDeviceInstanceCommandOutput } from "./commands/UpdateDeviceInstanceCommand"; import type { UpdateDevicePoolCommandInput, UpdateDevicePoolCommandOutput } from "./commands/UpdateDevicePoolCommand"; import type { UpdateInstanceProfileCommandInput, UpdateInstanceProfileCommandOutput } from "./commands/UpdateInstanceProfileCommand"; import type { UpdateNetworkProfileCommandInput, UpdateNetworkProfileCommandOutput } from "./commands/UpdateNetworkProfileCommand"; import type { UpdateProjectCommandInput, UpdateProjectCommandOutput } from "./commands/UpdateProjectCommand"; import type { UpdateTestGridProjectCommandInput, UpdateTestGridProjectCommandOutput } from "./commands/UpdateTestGridProjectCommand"; import type { UpdateUploadCommandInput, UpdateUploadCommandOutput } from "./commands/UpdateUploadCommand"; import type { UpdateVPCEConfigurationCommandInput, UpdateVPCEConfigurationCommandOutput } from "./commands/UpdateVPCEConfigurationCommand"; import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters"; import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions"; export { __Client }; /** * @public */ export type ServiceInputTypes = CreateDevicePoolCommandInput | CreateInstanceProfileCommandInput | CreateNetworkProfileCommandInput | CreateProjectCommandInput | CreateRemoteAccessSessionCommandInput | CreateTestGridProjectCommandInput | CreateTestGridUrlCommandInput | CreateUploadCommandInput | CreateVPCEConfigurationCommandInput | DeleteDevicePoolCommandInput | DeleteInstanceProfileCommandInput | DeleteNetworkProfileCommandInput | DeleteProjectCommandInput | DeleteRemoteAccessSessionCommandInput | DeleteRunCommandInput | DeleteTestGridProjectCommandInput | DeleteUploadCommandInput | DeleteVPCEConfigurationCommandInput | GetAccountSettingsCommandInput | GetDeviceCommandInput | GetDeviceInstanceCommandInput | GetDevicePoolCommandInput | GetDevicePoolCompatibilityCommandInput | GetInstanceProfileCommandInput | GetJobCommandInput | GetNetworkProfileCommandInput | GetOfferingStatusCommandInput | GetProjectCommandInput | GetRemoteAccessSessionCommandInput | GetRunCommandInput | GetSuiteCommandInput | GetTestCommandInput | GetTestGridProjectCommandInput | GetTestGridSessionCommandInput | GetUploadCommandInput | GetVPCEConfigurationCommandInput | InstallToRemoteAccessSessionCommandInput | ListArtifactsCommandInput | ListDeviceInstancesCommandInput | ListDevicePoolsCommandInput | ListDevicesCommandInput | ListInstanceProfilesCommandInput | ListJobsCommandInput | ListNetworkProfilesCommandInput | ListOfferingPromotionsCommandInput | ListOfferingTransactionsCommandInput | ListOfferingsCommandInput | ListProjectsCommandInput | ListRemoteAccessSessionsCommandInput | ListRunsCommandInput | ListSamplesCommandInput | ListSuitesCommandInput | ListTagsForResourceCommandInput | ListTestGridProjectsCommandInput | ListTestGridSessionActionsCommandInput | ListTestGridSessionArtifactsCommandInput | ListTestGridSessionsCommandInput | ListTestsCommandInput | ListUniqueProblemsCommandInput | ListUploadsCommandInput | ListVPCEConfigurationsCommandInput | PurchaseOfferingCommandInput | RenewOfferingCommandInput | ScheduleRunCommandInput | StopJobCommandInput | StopRemoteAccessSessionCommandInput | StopRunCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDeviceInstanceCommandInput | UpdateDevicePoolCommandInput | UpdateInstanceProfileCommandInput | UpdateNetworkProfileCommandInput | UpdateProjectCommandInput | UpdateTestGridProjectCommandInput | UpdateUploadCommandInput | UpdateVPCEConfigurationCommandInput; /** * @public */ export type ServiceOutputTypes = CreateDevicePoolCommandOutput | CreateInstanceProfileCommandOutput | CreateNetworkProfileCommandOutput | CreateProjectCommandOutput | CreateRemoteAccessSessionCommandOutput | CreateTestGridProjectCommandOutput | CreateTestGridUrlCommandOutput | CreateUploadCommandOutput | CreateVPCEConfigurationCommandOutput | DeleteDevicePoolCommandOutput | DeleteInstanceProfileCommandOutput | DeleteNetworkProfileCommandOutput | DeleteProjectCommandOutput | DeleteRemoteAccessSessionCommandOutput | DeleteRunCommandOutput | DeleteTestGridProjectCommandOutput | DeleteUploadCommandOutput | DeleteVPCEConfigurationCommandOutput | GetAccountSettingsCommandOutput | GetDeviceCommandOutput | GetDeviceInstanceCommandOutput | GetDevicePoolCommandOutput | GetDevicePoolCompatibilityCommandOutput | GetInstanceProfileCommandOutput | GetJobCommandOutput | GetNetworkProfileCommandOutput | GetOfferingStatusCommandOutput | GetProjectCommandOutput | GetRemoteAccessSessionCommandOutput | GetRunCommandOutput | GetSuiteCommandOutput | GetTestCommandOutput | GetTestGridProjectCommandOutput | GetTestGridSessionCommandOutput | GetUploadCommandOutput | GetVPCEConfigurationCommandOutput | InstallToRemoteAccessSessionCommandOutput | ListArtifactsCommandOutput | ListDeviceInstancesCommandOutput | ListDevicePoolsCommandOutput | ListDevicesCommandOutput | ListInstanceProfilesCommandOutput | ListJobsCommandOutput | ListNetworkProfilesCommandOutput | ListOfferingPromotionsCommandOutput | ListOfferingTransactionsCommandOutput | ListOfferingsCommandOutput | ListProjectsCommandOutput | ListRemoteAccessSessionsCommandOutput | ListRunsCommandOutput | ListSamplesCommandOutput | ListSuitesCommandOutput | ListTagsForResourceCommandOutput | ListTestGridProjectsCommandOutput | ListTestGridSessionActionsCommandOutput | ListTestGridSessionArtifactsCommandOutput | ListTestGridSessionsCommandOutput | ListTestsCommandOutput | ListUniqueProblemsCommandOutput | ListUploadsCommandOutput | ListVPCEConfigurationsCommandOutput | PurchaseOfferingCommandOutput | RenewOfferingCommandOutput | ScheduleRunCommandOutput | StopJobCommandOutput | StopRemoteAccessSessionCommandOutput | StopRunCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDeviceInstanceCommandOutput | UpdateDevicePoolCommandOutput | UpdateInstanceProfileCommandOutput | UpdateNetworkProfileCommandOutput | UpdateProjectCommandOutput | UpdateTestGridProjectCommandOutput | UpdateUploadCommandOutput | UpdateVPCEConfigurationCommandOutput; /** * @public */ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> { /** * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs. */ requestHandler?: __HttpHandlerUserInput; /** * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface * that computes the SHA-256 HMAC or checksum of a string or binary buffer. * @internal */ sha256?: __ChecksumConstructor | __HashConstructor; /** * The function that will be used to convert strings into HTTP endpoints. * @internal */ urlParser?: __UrlParser; /** * A function that can calculate the length of a request body. * @internal */ bodyLengthChecker?: __BodyLengthCalculator; /** * A function that converts a stream into an array of bytes. * @internal */ streamCollector?: __StreamCollector; /** * The function that will be used to convert a base64-encoded string to a byte array. * @internal */ base64Decoder?: __Decoder; /** * The function that will be used to convert binary data to a base64-encoded string. * @internal */ base64Encoder?: __Encoder; /** * The function that will be used to convert a UTF8-encoded string to a byte array. * @internal */ utf8Decoder?: __Decoder; /** * The function that will be used to convert binary data to a UTF-8 encoded string. * @internal */ utf8Encoder?: __Encoder; /** * The runtime environment. * @internal */ runtime?: string; /** * Disable dynamically changing the endpoint of the client based on the hostPrefix * trait of an operation. */ disableHostPrefix?: boolean; /** * Unique service identifier. * @internal */ serviceId?: string; /** * Enables IPv6/IPv4 dualstack endpoint. */ useDualstackEndpoint?: boolean | __Provider; /** * Enables FIPS compatible endpoints. */ useFipsEndpoint?: boolean | __Provider; /** * The AWS region to which this client will send requests */ region?: string | __Provider; /** * Setting a client profile is similar to setting a value for the * AWS_PROFILE environment variable. Setting a profile on a client * in code only affects the single client instance, unlike AWS_PROFILE. * * When set, and only for environments where an AWS configuration * file exists, fields configurable by this file will be retrieved * from the specified profile within that file. * Conflicting code configuration and environment variables will * still have higher priority. * * For client credential resolution that involves checking the AWS * configuration file, the client's profile (this value) will be * used unless a different profile is set in the credential * provider options. * */ profile?: string; /** * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header * @internal */ defaultUserAgentProvider?: __Provider<__UserAgent>; /** * Default credentials provider; Not available in browser runtime. * @deprecated * @internal */ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider; /** * Value for how many times a request will be made at most in case of retry. */ maxAttempts?: number | __Provider; /** * Specifies which retry algorithm to use. * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ * */ retryMode?: string | __Provider; /** * Optional logger for logging debug/info/warn/error. */ logger?: __Logger; /** * Optional extensions */ extensions?: RuntimeExtension[]; /** * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. */ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; } /** * @public */ export type DeviceFarmClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters; /** * @public * * The configuration interface of DeviceFarmClient class constructor that set the region, credentials and other options. */ export interface DeviceFarmClientConfig extends DeviceFarmClientConfigType { } /** * @public */ export type DeviceFarmClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters; /** * @public * * The resolved configuration interface of DeviceFarmClient class. This is resolved and normalized from the {@link DeviceFarmClientConfig | constructor configuration interface}. */ export interface DeviceFarmClientResolvedConfig extends DeviceFarmClientResolvedConfigType { } /** *

Welcome to the AWS Device Farm API documentation, which contains APIs for:

*
    *
  • *

    Testing on desktop browsers

    *

    Device Farm makes it possible for you to test your web applications on desktop browsers using * Selenium. The APIs for desktop browser testing contain TestGrid in their names. For * more information, see Testing Web * Applications on Selenium with Device Farm.

    *
  • *
  • *

    Testing on real mobile devices

    *

    Device Farm makes it possible for you to test apps on physical phones, tablets, and other * devices in the cloud. For more information, see the Device Farm Developer Guide.

    *
  • *
* @public */ export declare class DeviceFarmClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DeviceFarmClientResolvedConfig> { /** * The resolved configuration of DeviceFarmClient class. This is resolved and normalized from the {@link DeviceFarmClientConfig | constructor configuration interface}. */ readonly config: DeviceFarmClientResolvedConfig; constructor(...[configuration]: __CheckOptionalClientConfig); /** * Destroy underlying resources, like sockets. It's usually not necessary to do this. * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. * Otherwise, sockets might stay open for quite a long time before the server terminates them. */ destroy(): void; }