Class: AWS.DeviceFarm
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.DeviceFarm
- Identifier:
- devicefarm
- API Version:
- 2015-06-23
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
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
TestGridin 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.
Sending a Request Using DeviceFarm
var devicefarm = new AWS.DeviceFarm();
devicefarm.createDevicePool(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the DeviceFarm object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var devicefarm = new AWS.DeviceFarm({apiVersion: '2015-06-23'});
You can also set the API version globally in AWS.config.apiVersions using
the devicefarm service identifier:
AWS.config.apiVersions = {
devicefarm: '2015-06-23',
// other service API versions
};
var devicefarm = new AWS.DeviceFarm();
Constructor Summary collapse
-
new AWS.DeviceFarm(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
createDevicePool(params = {}, callback) ⇒ AWS.Request
Creates a device pool.
.
-
createInstanceProfile(params = {}, callback) ⇒ AWS.Request
Creates a profile that can be applied to one or more private fleet device instances.
.
-
createNetworkProfile(params = {}, callback) ⇒ AWS.Request
Creates a network profile.
.
-
createProject(params = {}, callback) ⇒ AWS.Request
Creates a project.
.
-
createRemoteAccessSession(params = {}, callback) ⇒ AWS.Request
Specifies and starts a remote access session.
.
-
createTestGridProject(params = {}, callback) ⇒ AWS.Request
Creates a Selenium testing project.
-
createTestGridUrl(params = {}, callback) ⇒ AWS.Request
Creates a signed, short-term URL that can be passed to a Selenium
RemoteWebDriverconstructor..
-
createUpload(params = {}, callback) ⇒ AWS.Request
Uploads an app or test scripts.
.
-
createVPCEConfiguration(params = {}, callback) ⇒ AWS.Request
Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.
.
-
deleteDevicePool(params = {}, callback) ⇒ AWS.Request
Deletes a device pool given the pool ARN.
-
deleteInstanceProfile(params = {}, callback) ⇒ AWS.Request
Deletes a profile that can be applied to one or more private device instances.
.
-
deleteNetworkProfile(params = {}, callback) ⇒ AWS.Request
Deletes a network profile.
.
-
deleteProject(params = {}, callback) ⇒ AWS.Request
Deletes an AWS Device Farm project, given the project ARN.
Deleting this resource does not stop an in-progress run.
. -
deleteRemoteAccessSession(params = {}, callback) ⇒ AWS.Request
Deletes a completed remote access session and its results.
.
-
deleteRun(params = {}, callback) ⇒ AWS.Request
Deletes the run, given the run ARN.
Deleting this resource does not stop an in-progress run.
. -
deleteTestGridProject(params = {}, callback) ⇒ AWS.Request
Deletes a Selenium testing project and all content generated under it.
-
deleteUpload(params = {}, callback) ⇒ AWS.Request
Deletes an upload given the upload ARN.
.
-
deleteVPCEConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.
.
-
getAccountSettings(params = {}, callback) ⇒ AWS.Request
Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.
.
-
getDevice(params = {}, callback) ⇒ AWS.Request
Gets information about a unique device type.
.
-
getDeviceInstance(params = {}, callback) ⇒ AWS.Request
Returns information about a device instance that belongs to a private device fleet.
.
-
getDevicePool(params = {}, callback) ⇒ AWS.Request
Gets information about a device pool.
.
-
getDevicePoolCompatibility(params = {}, callback) ⇒ AWS.Request
Gets information about compatibility with a device pool.
.
-
getInstanceProfile(params = {}, callback) ⇒ AWS.Request
Returns information about the specified instance profile.
.
-
getJob(params = {}, callback) ⇒ AWS.Request
Gets information about a job.
.
-
getNetworkProfile(params = {}, callback) ⇒ AWS.Request
Returns information about a network profile.
.
-
getOfferingStatus(params = {}, callback) ⇒ AWS.Request
Gets the current status and future status of all offerings purchased by an AWS account.
-
getProject(params = {}, callback) ⇒ AWS.Request
Gets information about a project.
.
-
getRemoteAccessSession(params = {}, callback) ⇒ AWS.Request
Returns a link to a currently running remote access session.
.
-
getRun(params = {}, callback) ⇒ AWS.Request
Gets information about a run.
.
-
getSuite(params = {}, callback) ⇒ AWS.Request
Gets information about a suite.
.
-
getTest(params = {}, callback) ⇒ AWS.Request
Gets information about a test.
.
-
getTestGridProject(params = {}, callback) ⇒ AWS.Request
Retrieves information about a Selenium testing project.
.
-
getTestGridSession(params = {}, callback) ⇒ AWS.Request
A session is an instance of a browser created through a
RemoteWebDriverwith the URL from CreateTestGridUrlResult$url. -
getUpload(params = {}, callback) ⇒ AWS.Request
Gets information about an upload.
.
-
getVPCEConfiguration(params = {}, callback) ⇒ AWS.Request
Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.
.
-
installToRemoteAccessSession(params = {}, callback) ⇒ AWS.Request
Installs an application to the device in a remote access session.
-
listArtifacts(params = {}, callback) ⇒ AWS.Request
Gets information about artifacts.
.
-
listDeviceInstances(params = {}, callback) ⇒ AWS.Request
Returns information about the private device instances associated with one or more AWS accounts.
.
-
listDevicePools(params = {}, callback) ⇒ AWS.Request
Gets information about device pools.
.
-
listDevices(params = {}, callback) ⇒ AWS.Request
Gets information about unique device types.
.
-
listInstanceProfiles(params = {}, callback) ⇒ AWS.Request
Returns information about all the instance profiles in an AWS account.
.
-
listJobs(params = {}, callback) ⇒ AWS.Request
Gets information about jobs for a given test run.
.
-
listNetworkProfiles(params = {}, callback) ⇒ AWS.Request
Returns the list of available network profiles.
.
-
listOfferingPromotions(params = {}, callback) ⇒ AWS.Request
Returns a list of offering promotions.
-
listOfferings(params = {}, callback) ⇒ AWS.Request
Returns a list of products or offerings that the user can manage through the API.
-
listOfferingTransactions(params = {}, callback) ⇒ AWS.Request
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
-
listProjects(params = {}, callback) ⇒ AWS.Request
Gets information about projects.
.
-
listRemoteAccessSessions(params = {}, callback) ⇒ AWS.Request
Returns a list of all currently running remote access sessions.
.
-
listRuns(params = {}, callback) ⇒ AWS.Request
Gets information about runs, given an AWS Device Farm project ARN.
.
-
listSamples(params = {}, callback) ⇒ AWS.Request
Gets information about samples, given an AWS Device Farm job ARN.
.
-
listSuites(params = {}, callback) ⇒ AWS.Request
Gets information about test suites for a given job.
.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
List the tags for an AWS Device Farm resource.
.
-
listTestGridProjects(params = {}, callback) ⇒ AWS.Request
Gets a list of all Selenium testing projects in your account.
.
-
listTestGridSessionActions(params = {}, callback) ⇒ AWS.Request
Returns a list of the actions taken in a TestGridSession.
.
-
listTestGridSessionArtifacts(params = {}, callback) ⇒ AWS.Request
Retrieves a list of artifacts created during the session.
.
-
listTestGridSessions(params = {}, callback) ⇒ AWS.Request
Retrieves a list of sessions for a TestGridProject.
.
-
listTests(params = {}, callback) ⇒ AWS.Request
Gets information about tests in a given test suite.
.
-
listUniqueProblems(params = {}, callback) ⇒ AWS.Request
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.
-
listUploads(params = {}, callback) ⇒ AWS.Request
Gets information about uploads, given an AWS Device Farm project ARN.
.
-
listVPCEConfigurations(params = {}, callback) ⇒ AWS.Request
Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.
.
-
purchaseOffering(params = {}, callback) ⇒ AWS.Request
Immediately purchases offerings for an AWS account.
-
renewOffering(params = {}, callback) ⇒ AWS.Request
Explicitly sets the quantity of devices to renew for an offering, starting from the
effectiveDateof the next period. -
scheduleRun(params = {}, callback) ⇒ AWS.Request
Schedules a run.
.
-
stopJob(params = {}, callback) ⇒ AWS.Request
Initiates a stop request for the current job.
-
stopRemoteAccessSession(params = {}, callback) ⇒ AWS.Request
Ends a specified remote access session.
.
-
stopRun(params = {}, callback) ⇒ AWS.Request
Initiates a stop request for the current test run.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Associates the specified tags to a resource with the specified
resourceArn. -
untagResource(params = {}, callback) ⇒ AWS.Request
Deletes the specified tags from a resource.
.
-
updateDeviceInstance(params = {}, callback) ⇒ AWS.Request
Updates information about a private device instance.
.
-
updateDevicePool(params = {}, callback) ⇒ AWS.Request
Modifies the name, description, and rules in a device pool given the attributes and the pool ARN.
-
updateInstanceProfile(params = {}, callback) ⇒ AWS.Request
Updates information about an existing private device instance profile.
.
-
updateNetworkProfile(params = {}, callback) ⇒ AWS.Request
Updates the network profile.
.
-
updateProject(params = {}, callback) ⇒ AWS.Request
Modifies the specified project name, given the project ARN and a new name.
.
-
updateTestGridProject(params = {}, callback) ⇒ AWS.Request
Change details of a project.
.
-
updateUpload(params = {}, callback) ⇒ AWS.Request
Updates an uploaded test spec.
.
-
updateVPCEConfiguration(params = {}, callback) ⇒ AWS.Request
Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.
.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.DeviceFarm(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
createInstanceProfile(params = {}, callback) ⇒ AWS.Request
Creates a profile that can be applied to one or more private fleet device instances.
createRemoteAccessSession(params = {}, callback) ⇒ AWS.Request
Specifies and starts a remote access session.
createTestGridProject(params = {}, callback) ⇒ AWS.Request
Creates a Selenium testing project. Projects are used to track TestGridSession instances.
createTestGridUrl(params = {}, callback) ⇒ AWS.Request
Creates a signed, short-term URL that can be passed to a Selenium RemoteWebDriver constructor.
createVPCEConfiguration(params = {}, callback) ⇒ AWS.Request
Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.
deleteDevicePool(params = {}, callback) ⇒ AWS.Request
Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
deleteInstanceProfile(params = {}, callback) ⇒ AWS.Request
Deletes a profile that can be applied to one or more private device instances.
deleteProject(params = {}, callback) ⇒ AWS.Request
Deletes an AWS Device Farm project, given the project ARN.
Deleting this resource does not stop an in-progress run.
deleteRemoteAccessSession(params = {}, callback) ⇒ AWS.Request
Deletes a completed remote access session and its results.
deleteRun(params = {}, callback) ⇒ AWS.Request
Deletes the run, given the run ARN.
Deleting this resource does not stop an in-progress run.
deleteTestGridProject(params = {}, callback) ⇒ AWS.Request
Deletes a Selenium testing project and all content generated under it.
You cannot undo this operation.
deleteVPCEConfiguration(params = {}, callback) ⇒ AWS.Request
Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.
getAccountSettings(params = {}, callback) ⇒ AWS.Request
Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.