Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DeviceFarm

import { DeviceFarm } from "https://aws-api.deno.dev/v0.4/services/devicefarm.ts?docs=full";
class DeviceFarm {
constructor(apiFactory: client.ApiFactory);
async createDevicePool(params: CreateDevicePoolRequest, opts?: client.RequestOptions): Promise<CreateDevicePoolResult>;
async createInstanceProfile(params: CreateInstanceProfileRequest, opts?: client.RequestOptions): Promise<CreateInstanceProfileResult>;
async createNetworkProfile(params: CreateNetworkProfileRequest, opts?: client.RequestOptions): Promise<CreateNetworkProfileResult>;
async createProject(params: CreateProjectRequest, opts?: client.RequestOptions): Promise<CreateProjectResult>;
async createRemoteAccessSession(params: CreateRemoteAccessSessionRequest, opts?: client.RequestOptions): Promise<CreateRemoteAccessSessionResult>;
async createTestGridProject(params: CreateTestGridProjectRequest, opts?: client.RequestOptions): Promise<CreateTestGridProjectResult>;
async createTestGridUrl(params: CreateTestGridUrlRequest, opts?: client.RequestOptions): Promise<CreateTestGridUrlResult>;
async createUpload(params: CreateUploadRequest, opts?: client.RequestOptions): Promise<CreateUploadResult>;
async createVPCEConfiguration(params: CreateVPCEConfigurationRequest, opts?: client.RequestOptions): Promise<CreateVPCEConfigurationResult>;
async deleteDevicePool(params: DeleteDevicePoolRequest, opts?: client.RequestOptions): Promise<void>;
async deleteInstanceProfile(params: DeleteInstanceProfileRequest, opts?: client.RequestOptions): Promise<void>;
async deleteNetworkProfile(params: DeleteNetworkProfileRequest, opts?: client.RequestOptions): Promise<void>;
async deleteProject(params: DeleteProjectRequest, opts?: client.RequestOptions): Promise<void>;
async deleteRemoteAccessSession(params: DeleteRemoteAccessSessionRequest, opts?: client.RequestOptions): Promise<void>;
async deleteRun(params: DeleteRunRequest, opts?: client.RequestOptions): Promise<void>;
async deleteTestGridProject(params: DeleteTestGridProjectRequest, opts?: client.RequestOptions): Promise<void>;
async deleteUpload(params: DeleteUploadRequest, opts?: client.RequestOptions): Promise<void>;
async deleteVPCEConfiguration(params: DeleteVPCEConfigurationRequest, opts?: client.RequestOptions): Promise<void>;
async getAccountSettings(opts?: client.RequestOptions): Promise<GetAccountSettingsResult>;
async getDevice(params: GetDeviceRequest, opts?: client.RequestOptions): Promise<GetDeviceResult>;
async getDeviceInstance(params: GetDeviceInstanceRequest, opts?: client.RequestOptions): Promise<GetDeviceInstanceResult>;
async getDevicePool(params: GetDevicePoolRequest, opts?: client.RequestOptions): Promise<GetDevicePoolResult>;
async getDevicePoolCompatibility(params: GetDevicePoolCompatibilityRequest, opts?: client.RequestOptions): Promise<GetDevicePoolCompatibilityResult>;
async getInstanceProfile(params: GetInstanceProfileRequest, opts?: client.RequestOptions): Promise<GetInstanceProfileResult>;
async getJob(params: GetJobRequest, opts?: client.RequestOptions): Promise<GetJobResult>;
async getNetworkProfile(params: GetNetworkProfileRequest, opts?: client.RequestOptions): Promise<GetNetworkProfileResult>;
async getOfferingStatus(params?: GetOfferingStatusRequest, opts?: client.RequestOptions): Promise<GetOfferingStatusResult>;
async getProject(params: GetProjectRequest, opts?: client.RequestOptions): Promise<GetProjectResult>;
async getRemoteAccessSession(params: GetRemoteAccessSessionRequest, opts?: client.RequestOptions): Promise<GetRemoteAccessSessionResult>;
async getRun(params: GetRunRequest, opts?: client.RequestOptions): Promise<GetRunResult>;
async getSuite(params: GetSuiteRequest, opts?: client.RequestOptions): Promise<GetSuiteResult>;
async getTest(params: GetTestRequest, opts?: client.RequestOptions): Promise<GetTestResult>;
async getTestGridProject(params: GetTestGridProjectRequest, opts?: client.RequestOptions): Promise<GetTestGridProjectResult>;
async getTestGridSession(params?: GetTestGridSessionRequest, opts?: client.RequestOptions): Promise<GetTestGridSessionResult>;
async getUpload(params: GetUploadRequest, opts?: client.RequestOptions): Promise<GetUploadResult>;
async getVPCEConfiguration(params: GetVPCEConfigurationRequest, opts?: client.RequestOptions): Promise<GetVPCEConfigurationResult>;
async installToRemoteAccessSession(params: InstallToRemoteAccessSessionRequest, opts?: client.RequestOptions): Promise<InstallToRemoteAccessSessionResult>;
async listArtifacts(params: ListArtifactsRequest, opts?: client.RequestOptions): Promise<ListArtifactsResult>;
async listDeviceInstances(params?: ListDeviceInstancesRequest, opts?: client.RequestOptions): Promise<ListDeviceInstancesResult>;
async listDevicePools(params: ListDevicePoolsRequest, opts?: client.RequestOptions): Promise<ListDevicePoolsResult>;
async listDevices(params?: ListDevicesRequest, opts?: client.RequestOptions): Promise<ListDevicesResult>;
async listInstanceProfiles(params?: ListInstanceProfilesRequest, opts?: client.RequestOptions): Promise<ListInstanceProfilesResult>;
async listJobs(params: ListJobsRequest, opts?: client.RequestOptions): Promise<ListJobsResult>;
async listNetworkProfiles(params: ListNetworkProfilesRequest, opts?: client.RequestOptions): Promise<ListNetworkProfilesResult>;
async listOfferingPromotions(params?: ListOfferingPromotionsRequest, opts?: client.RequestOptions): Promise<ListOfferingPromotionsResult>;
async listOfferings(params?: ListOfferingsRequest, opts?: client.RequestOptions): Promise<ListOfferingsResult>;
async listOfferingTransactions(params?: ListOfferingTransactionsRequest, opts?: client.RequestOptions): Promise<ListOfferingTransactionsResult>;
async listProjects(params?: ListProjectsRequest, opts?: client.RequestOptions): Promise<ListProjectsResult>;
async listRemoteAccessSessions(params: ListRemoteAccessSessionsRequest, opts?: client.RequestOptions): Promise<ListRemoteAccessSessionsResult>;
async listRuns(params: ListRunsRequest, opts?: client.RequestOptions): Promise<ListRunsResult>;
async listSamples(params: ListSamplesRequest, opts?: client.RequestOptions): Promise<ListSamplesResult>;
async listSuites(params: ListSuitesRequest, opts?: client.RequestOptions): Promise<ListSuitesResult>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async listTestGridProjects(params?: ListTestGridProjectsRequest, opts?: client.RequestOptions): Promise<ListTestGridProjectsResult>;
async listTestGridSessionActions(params: ListTestGridSessionActionsRequest, opts?: client.RequestOptions): Promise<ListTestGridSessionActionsResult>;
async listTestGridSessionArtifacts(params: ListTestGridSessionArtifactsRequest, opts?: client.RequestOptions): Promise<ListTestGridSessionArtifactsResult>;
async listTestGridSessions(params: ListTestGridSessionsRequest, opts?: client.RequestOptions): Promise<ListTestGridSessionsResult>;
async listTests(params: ListTestsRequest, opts?: client.RequestOptions): Promise<ListTestsResult>;
async listUniqueProblems(params: ListUniqueProblemsRequest, opts?: client.RequestOptions): Promise<ListUniqueProblemsResult>;
async listUploads(params: ListUploadsRequest, opts?: client.RequestOptions): Promise<ListUploadsResult>;
async listVPCEConfigurations(params?: ListVPCEConfigurationsRequest, opts?: client.RequestOptions): Promise<ListVPCEConfigurationsResult>;
async purchaseOffering(params: PurchaseOfferingRequest, opts?: client.RequestOptions): Promise<PurchaseOfferingResult>;
async renewOffering(params: RenewOfferingRequest, opts?: client.RequestOptions): Promise<RenewOfferingResult>;
async scheduleRun(params: ScheduleRunRequest, opts?: client.RequestOptions): Promise<ScheduleRunResult>;
async stopJob(params: StopJobRequest, opts?: client.RequestOptions): Promise<StopJobResult>;
async stopRemoteAccessSession(params: StopRemoteAccessSessionRequest, opts?: client.RequestOptions): Promise<StopRemoteAccessSessionResult>;
async stopRun(params: StopRunRequest, opts?: client.RequestOptions): Promise<StopRunResult>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateDeviceInstance(params: UpdateDeviceInstanceRequest, opts?: client.RequestOptions): Promise<UpdateDeviceInstanceResult>;
async updateDevicePool(params: UpdateDevicePoolRequest, opts?: client.RequestOptions): Promise<UpdateDevicePoolResult>;
async updateInstanceProfile(params: UpdateInstanceProfileRequest, opts?: client.RequestOptions): Promise<UpdateInstanceProfileResult>;
async updateNetworkProfile(params: UpdateNetworkProfileRequest, opts?: client.RequestOptions): Promise<UpdateNetworkProfileResult>;
async updateProject(params: UpdateProjectRequest, opts?: client.RequestOptions): Promise<UpdateProjectResult>;
async updateTestGridProject(params: UpdateTestGridProjectRequest, opts?: client.RequestOptions): Promise<UpdateTestGridProjectResult>;
async updateUpload(params: UpdateUploadRequest, opts?: client.RequestOptions): Promise<UpdateUploadResult>;
async updateVPCEConfiguration(params: UpdateVPCEConfigurationRequest, opts?: client.RequestOptions): Promise<UpdateVPCEConfigurationResult>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new DeviceFarm(apiFactory: client.ApiFactory)
[src]

§Methods

§

Creates a device pool.

§

Creates a profile that can be applied to one or more private fleet device instances.

§

Creates a network profile.

§

Creates a project.

§

Specifies and starts a remote access session.

§

Creates a Selenium testing project. Projects are used to track "TestGridSession" instances.

§

Creates a signed, short-term URL that can be passed to a Selenium RemoteWebDriver constructor.

§
createUpload(params: CreateUploadRequest, opts?: client.RequestOptions): Promise<CreateUploadResult>
[src]

Uploads an app or test scripts.

§

Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.

§
deleteDevicePool(params: DeleteDevicePoolRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.

§
deleteInstanceProfile(params: DeleteInstanceProfileRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a profile that can be applied to one or more private device instances.

§
deleteNetworkProfile(params: DeleteNetworkProfileRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a network profile.

§
deleteProject(params: DeleteProjectRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes an AWS Device Farm project, given the project ARN.

Deleting this resource does not stop an in-progress run.

§
deleteRemoteAccessSession(params: DeleteRemoteAccessSessionRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a completed remote access session and its results.

§
deleteRun(params: DeleteRunRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the run, given the run ARN.

Deleting this resource does not stop an in-progress run.

§
deleteTestGridProject(params: DeleteTestGridProjectRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a Selenium testing project and all content generated under it.

! IMPORTANT: ! You cannot undo this operation.

Note: You cannot delete a project if it has active sessions.

§
deleteUpload(params: DeleteUploadRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes an upload given the upload ARN.

§
deleteVPCEConfiguration(params: DeleteVPCEConfigurationRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.

§
getAccountSettings(opts?: client.RequestOptions): Promise<GetAccountSettingsResult>
[src]

Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.

§
getDevice(params: GetDeviceRequest, opts?: client.RequestOptions): Promise<GetDeviceResult>
[src]

Gets information about a unique device type.

§

Returns information about a device instance that belongs to a private device fleet.

§

Gets information about a device pool.

§

Gets information about compatibility with a device pool.

§

Returns information about the specified instance profile.

§
getJob(params: GetJobRequest, opts?: client.RequestOptions): Promise<GetJobResult>
[src]

Gets information about a job.

§

Returns information about a network profile.

§

Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

§
getProject(params: GetProjectRequest, opts?: client.RequestOptions): Promise<GetProjectResult>
[src]

Gets information about a project.

§

Returns a link to a currently running remote access session.

§
getRun(params: GetRunRequest, opts?: client.RequestOptions): Promise<GetRunResult>
[src]

Gets information about a run.

§
getSuite(params: GetSuiteRequest, opts?: client.RequestOptions): Promise<GetSuiteResult>
[src]

Gets information about a suite.

§
getTest(params: GetTestRequest, opts?: client.RequestOptions): Promise<GetTestResult>
[src]

Gets information about a test.

§

Retrieves information about a Selenium testing project.

§

A session is an instance of a browser created through a RemoteWebDriver with the URL from "CreateTestGridUrlResult$url". You can use the following to look up sessions:

  • The session ARN ("GetTestGridSessionRequest$sessionArn").
  • The project ARN and a session ID ("GetTestGridSessionRequest$projectArn" and "GetTestGridSessionRequest$sessionId").
§
getUpload(params: GetUploadRequest, opts?: client.RequestOptions): Promise<GetUploadResult>
[src]

Gets information about an upload.

§

Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.

§

Installs an application to the device in a remote access session. For Android applications, the file must be in .apk format. For iOS applications, the file must be in .ipa format.

§

Gets information about artifacts.

§

Returns information about the private device instances associated with one or more AWS accounts.

§

Gets information about device pools.

§
listDevices(params?: ListDevicesRequest, opts?: client.RequestOptions): Promise<ListDevicesResult>
[src]

Gets information about unique device types.

§

Returns information about all the instance profiles in an AWS account.

§
listJobs(params: ListJobsRequest, opts?: client.RequestOptions): Promise<ListJobsResult>
[src]

Gets information about jobs for a given test run.

§

Returns the list of available network profiles.

§

Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a NotEligible error if the caller is not permitted to invoke the operation. Contact aws-devicefarm-support@amazon.com if you must be able to invoke this operation.

§
listOfferings(params?: ListOfferingsRequest, opts?: client.RequestOptions): Promise<ListOfferingsResult>
[src]

Returns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

§

Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

§
listProjects(params?: ListProjectsRequest, opts?: client.RequestOptions): Promise<ListProjectsResult>
[src]

Gets information about projects.

§

Returns a list of all currently running remote access sessions.

§
listRuns(params: ListRunsRequest, opts?: client.RequestOptions): Promise<ListRunsResult>
[src]

Gets information about runs, given an AWS Device Farm project ARN.

§
listSamples(params: ListSamplesRequest, opts?: client.RequestOptions): Promise<ListSamplesResult>
[src]

Gets information about samples, given an AWS Device Farm job ARN.

§
listSuites(params: ListSuitesRequest, opts?: client.RequestOptions): Promise<ListSuitesResult>
[src]

Gets information about test suites for a given job.

§

List the tags for an AWS Device Farm resource.

§

Gets a list of all Selenium testing projects in your account.

§

Returns a list of the actions taken in a "TestGridSession".

§

Retrieves a list of artifacts created during the session.

§

Retrieves a list of sessions for a "TestGridProject".

§
listTests(params: ListTestsRequest, opts?: client.RequestOptions): Promise<ListTestsResult>
[src]

Gets information about tests in a given test suite.

§

Gets information about unique problems, such as exceptions or crashes.

Unique problems are defined as a single instance of an error across a run, job, or suite. For example, if a call in your application consistently raises an exception (OutOfBoundsException in MyActivity.java:386), ListUniqueProblems returns a single entry instead of many individual entries for that exception.

§
listUploads(params: ListUploadsRequest, opts?: client.RequestOptions): Promise<ListUploadsResult>
[src]

Gets information about uploads, given an AWS Device Farm project ARN.

§

Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.

§

Immediately purchases offerings for an AWS account. Offerings renew with the latest total purchased quantity for an offering, unless the renewal was overridden. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

§

Explicitly sets the quantity of devices to renew for an offering, starting from the effectiveDate of the next period. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

§
scheduleRun(params: ScheduleRunRequest, opts?: client.RequestOptions): Promise<ScheduleRunResult>
[src]

Schedules a run.

§
stopJob(params: StopJobRequest, opts?: client.RequestOptions): Promise<StopJobResult>
[src]

Initiates a stop request for the current job. AWS Device Farm immediately stops the job on the device where tests have not started. You are not billed for this device. On the device where tests have started, setup suite and teardown suite tests run to completion on the device. You are billed for setup, teardown, and any tests that were in progress or already completed.

§

Ends a specified remote access session.

§
stopRun(params: StopRunRequest, opts?: client.RequestOptions): Promise<StopRunResult>
[src]

Initiates a stop request for the current test run. AWS Device Farm immediately stops the run on devices where tests have not started. You are not billed for these devices. On devices where tests have started executing, setup suite and teardown suite tests run to completion on those devices. You are billed for setup, teardown, and any tests that were in progress or already completed.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes the specified tags from a resource.

§

Updates information about a private device instance.

§

Modifies the name, description, and rules in a device pool given the attributes and the pool ARN. Rule updates are all-or-nothing, meaning they can only be updated as a whole (or not at all).

§

Updates information about an existing private device instance profile.

§

Updates the network profile.

§

Modifies the specified project name, given the project ARN and a new name.

§

Change details of a project.

§
updateUpload(params: UpdateUploadRequest, opts?: client.RequestOptions): Promise<UpdateUploadResult>
[src]

Updates an uploaded test spec.

§

Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.

§Static Properties