@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSDeviceFarm
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSDeviceFarm
instead.
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.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateDevicePoolResult |
createDevicePool(CreateDevicePoolRequest createDevicePoolRequest)
Creates a device pool.
|
CreateInstanceProfileResult |
createInstanceProfile(CreateInstanceProfileRequest createInstanceProfileRequest)
Creates a profile that can be applied to one or more private fleet device instances.
|
CreateNetworkProfileResult |
createNetworkProfile(CreateNetworkProfileRequest createNetworkProfileRequest)
Creates a network profile.
|
CreateProjectResult |
createProject(CreateProjectRequest createProjectRequest)
Creates a project.
|
CreateRemoteAccessSessionResult |
createRemoteAccessSession(CreateRemoteAccessSessionRequest createRemoteAccessSessionRequest)
Specifies and starts a remote access session.
|
CreateTestGridProjectResult |
createTestGridProject(CreateTestGridProjectRequest createTestGridProjectRequest)
Creates a Selenium testing project.
|
CreateTestGridUrlResult |
createTestGridUrl(CreateTestGridUrlRequest createTestGridUrlRequest)
Creates a signed, short-term URL that can be passed to a Selenium
RemoteWebDriver constructor. |
CreateUploadResult |
createUpload(CreateUploadRequest createUploadRequest)
Uploads an app or test scripts.
|
CreateVPCEConfigurationResult |
createVPCEConfiguration(CreateVPCEConfigurationRequest createVPCEConfigurationRequest)
Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.
|
DeleteDevicePoolResult |
deleteDevicePool(DeleteDevicePoolRequest deleteDevicePoolRequest)
Deletes a device pool given the pool ARN.
|
DeleteInstanceProfileResult |
deleteInstanceProfile(DeleteInstanceProfileRequest deleteInstanceProfileRequest)
Deletes a profile that can be applied to one or more private device instances.
|
DeleteNetworkProfileResult |
deleteNetworkProfile(DeleteNetworkProfileRequest deleteNetworkProfileRequest)
Deletes a network profile.
|
DeleteProjectResult |
deleteProject(DeleteProjectRequest deleteProjectRequest)
Deletes an AWS Device Farm project, given the project ARN.
|
DeleteRemoteAccessSessionResult |
deleteRemoteAccessSession(DeleteRemoteAccessSessionRequest deleteRemoteAccessSessionRequest)
Deletes a completed remote access session and its results.
|
DeleteRunResult |
deleteRun(DeleteRunRequest deleteRunRequest)
Deletes the run, given the run ARN.
|
DeleteTestGridProjectResult |
deleteTestGridProject(DeleteTestGridProjectRequest deleteTestGridProjectRequest)
Deletes a Selenium testing project and all content generated under it.
|
DeleteUploadResult |
deleteUpload(DeleteUploadRequest deleteUploadRequest)
Deletes an upload given the upload ARN.
|
DeleteVPCEConfigurationResult |
deleteVPCEConfiguration(DeleteVPCEConfigurationRequest deleteVPCEConfigurationRequest)
Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.
|
GetAccountSettingsResult |
getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest)
Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetDeviceResult |
getDevice(GetDeviceRequest getDeviceRequest)
Gets information about a unique device type.
|
GetDeviceInstanceResult |
getDeviceInstance(GetDeviceInstanceRequest getDeviceInstanceRequest)
Returns information about a device instance that belongs to a private device fleet.
|
GetDevicePoolResult |
getDevicePool(GetDevicePoolRequest getDevicePoolRequest)
Gets information about a device pool.
|
GetDevicePoolCompatibilityResult |
getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest)
Gets information about compatibility with a device pool.
|
GetInstanceProfileResult |
getInstanceProfile(GetInstanceProfileRequest getInstanceProfileRequest)
Returns information about the specified instance profile.
|
GetJobResult |
getJob(GetJobRequest getJobRequest)
Gets information about a job.
|
GetNetworkProfileResult |
getNetworkProfile(GetNetworkProfileRequest getNetworkProfileRequest)
Returns information about a network profile.
|
GetOfferingStatusResult |
getOfferingStatus(GetOfferingStatusRequest getOfferingStatusRequest)
Gets the current status and future status of all offerings purchased by an AWS account.
|
GetProjectResult |
getProject(GetProjectRequest getProjectRequest)
Gets information about a project.
|
GetRemoteAccessSessionResult |
getRemoteAccessSession(GetRemoteAccessSessionRequest getRemoteAccessSessionRequest)
Returns a link to a currently running remote access session.
|
GetRunResult |
getRun(GetRunRequest getRunRequest)
Gets information about a run.
|
GetSuiteResult |
getSuite(GetSuiteRequest getSuiteRequest)
Gets information about a suite.
|
GetTestResult |
getTest(GetTestRequest getTestRequest)
Gets information about a test.
|
GetTestGridProjectResult |
getTestGridProject(GetTestGridProjectRequest getTestGridProjectRequest)
Retrieves information about a Selenium testing project.
|
GetTestGridSessionResult |
getTestGridSession(GetTestGridSessionRequest getTestGridSessionRequest)
A session is an instance of a browser created through a
RemoteWebDriver with the URL from
CreateTestGridUrlResult$url. |
GetUploadResult |
getUpload(GetUploadRequest getUploadRequest)
Gets information about an upload.
|
GetVPCEConfigurationResult |
getVPCEConfiguration(GetVPCEConfigurationRequest getVPCEConfigurationRequest)
Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.
|
InstallToRemoteAccessSessionResult |
installToRemoteAccessSession(InstallToRemoteAccessSessionRequest installToRemoteAccessSessionRequest)
Installs an application to the device in a remote access session.
|
ListArtifactsResult |
listArtifacts(ListArtifactsRequest listArtifactsRequest)
Gets information about artifacts.
|
ListDeviceInstancesResult |
listDeviceInstances(ListDeviceInstancesRequest listDeviceInstancesRequest)
Returns information about the private device instances associated with one or more AWS accounts.
|
ListDevicePoolsResult |
listDevicePools(ListDevicePoolsRequest listDevicePoolsRequest)
Gets information about device pools.
|
ListDevicesResult |
listDevices(ListDevicesRequest listDevicesRequest)
Gets information about unique device types.
|
ListInstanceProfilesResult |
listInstanceProfiles(ListInstanceProfilesRequest listInstanceProfilesRequest)
Returns information about all the instance profiles in an AWS account.
|
ListJobsResult |
listJobs(ListJobsRequest listJobsRequest)
Gets information about jobs for a given test run.
|
ListNetworkProfilesResult |
listNetworkProfiles(ListNetworkProfilesRequest listNetworkProfilesRequest)
Returns the list of available network profiles.
|
ListOfferingPromotionsResult |
listOfferingPromotions(ListOfferingPromotionsRequest listOfferingPromotionsRequest)
Returns a list of offering promotions.
|
ListOfferingsResult |
listOfferings(ListOfferingsRequest listOfferingsRequest)
Returns a list of products or offerings that the user can manage through the API.
|
ListOfferingTransactionsResult |
listOfferingTransactions(ListOfferingTransactionsRequest listOfferingTransactionsRequest)
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
ListProjectsResult |
listProjects(ListProjectsRequest listProjectsRequest)
Gets information about projects.
|
ListRemoteAccessSessionsResult |
listRemoteAccessSessions(ListRemoteAccessSessionsRequest listRemoteAccessSessionsRequest)
Returns a list of all currently running remote access sessions.
|
ListRunsResult |
listRuns(ListRunsRequest listRunsRequest)
Gets information about runs, given an AWS Device Farm project ARN.
|
ListSamplesResult |
listSamples(ListSamplesRequest listSamplesRequest)
Gets information about samples, given an AWS Device Farm job ARN.
|
ListSuitesResult |
listSuites(ListSuitesRequest listSuitesRequest)
Gets information about test suites for a given job.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List the tags for an AWS Device Farm resource.
|
ListTestGridProjectsResult |
listTestGridProjects(ListTestGridProjectsRequest listTestGridProjectsRequest)
Gets a list of all Selenium testing projects in your account.
|
ListTestGridSessionActionsResult |
listTestGridSessionActions(ListTestGridSessionActionsRequest listTestGridSessionActionsRequest)
Returns a list of the actions taken in a TestGridSession.
|
ListTestGridSessionArtifactsResult |
listTestGridSessionArtifacts(ListTestGridSessionArtifactsRequest listTestGridSessionArtifactsRequest)
Retrieves a list of artifacts created during the session.
|
ListTestGridSessionsResult |
listTestGridSessions(ListTestGridSessionsRequest listTestGridSessionsRequest)
Retrieves a list of sessions for a TestGridProject.
|
ListTestsResult |
listTests(ListTestsRequest listTestsRequest)
Gets information about tests in a given test suite.
|
ListUniqueProblemsResult |
listUniqueProblems(ListUniqueProblemsRequest listUniqueProblemsRequest)
Gets information about unique problems, such as exceptions or crashes.
|
ListUploadsResult |
listUploads(ListUploadsRequest listUploadsRequest)
Gets information about uploads, given an AWS Device Farm project ARN.
|
ListVPCEConfigurationsResult |
listVPCEConfigurations(ListVPCEConfigurationsRequest listVPCEConfigurationsRequest)
Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.
|
PurchaseOfferingResult |
purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest)
Immediately purchases offerings for an AWS account.
|
RenewOfferingResult |
renewOffering(RenewOfferingRequest renewOfferingRequest)
Explicitly sets the quantity of devices to renew for an offering, starting from the
effectiveDate of
the next period. |
ScheduleRunResult |
scheduleRun(ScheduleRunRequest scheduleRunRequest)
Schedules a run.
|
void |
setEndpoint(String endpoint)
Deprecated.
use
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration) for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion)); |
void |
setRegion(Region region)
Deprecated.
use
AwsClientBuilder#setRegion(String) |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StopJobResult |
stopJob(StopJobRequest stopJobRequest)
Initiates a stop request for the current job.
|
StopRemoteAccessSessionResult |
stopRemoteAccessSession(StopRemoteAccessSessionRequest stopRemoteAccessSessionRequest)
Ends a specified remote access session.
|
StopRunResult |
stopRun(StopRunRequest stopRunRequest)
Initiates a stop request for the current test run.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Associates the specified tags to a resource with the specified
resourceArn . |
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Deletes the specified tags from a resource.
|
UpdateDeviceInstanceResult |
updateDeviceInstance(UpdateDeviceInstanceRequest updateDeviceInstanceRequest)
Updates information about a private device instance.
|
UpdateDevicePoolResult |
updateDevicePool(UpdateDevicePoolRequest updateDevicePoolRequest)
Modifies the name, description, and rules in a device pool given the attributes and the pool ARN.
|
UpdateInstanceProfileResult |
updateInstanceProfile(UpdateInstanceProfileRequest updateInstanceProfileRequest)
Updates information about an existing private device instance profile.
|
UpdateNetworkProfileResult |
updateNetworkProfile(UpdateNetworkProfileRequest updateNetworkProfileRequest)
Updates the network profile.
|
UpdateProjectResult |
updateProject(UpdateProjectRequest updateProjectRequest)
Modifies the specified project name, given the project ARN and a new name.
|
UpdateTestGridProjectResult |
updateTestGridProject(UpdateTestGridProjectRequest updateTestGridProjectRequest)
Change details of a project.
|
UpdateUploadResult |
updateUpload(UpdateUploadRequest updateUploadRequest)
Updates an uploaded test spec.
|
UpdateVPCEConfigurationResult |
updateVPCEConfiguration(UpdateVPCEConfigurationRequest updateVPCEConfigurationRequest)
Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.
|
static final String ENDPOINT_PREFIX
@Deprecated void setEndpoint(String endpoint)
AwsClientBuilder#setEndpointConfiguration(AwsClientBuilder.EndpointConfiguration)
for
example:
builder.setEndpointConfiguration(new EndpointConfiguration(endpoint, signingRegion));
Callers can pass in just the endpoint (ex: "devicefarm.us-west-2.amazonaws.com") or a full URL, including the
protocol (ex: "https://devicefarm.us-west-2.amazonaws.com"). If the protocol is not specified here, the default
protocol from this client's ClientConfiguration
will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/java-dg-region-selection.html#region-selection- choose-endpoint
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
endpoint
- The endpoint (ex: "devicefarm.us-west-2.amazonaws.com") or a full URL, including the protocol (ex:
"https://devicefarm.us-west-2.amazonaws.com") of the region specific AWS endpoint this client will
communicate with.@Deprecated void setRegion(Region region)
AwsClientBuilder#setRegion(String)
setEndpoint(String)
, sets the regional endpoint for this client's service
calls. Callers can use this method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol. To use http instead, specify it in the
ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
region
- The region this client will communicate with. See Region.getRegion(com.amazonaws.regions.Regions)
for accessing a given region. Must not be null and must be a region where the service is available.Region.getRegion(com.amazonaws.regions.Regions)
,
Region.createClient(Class, com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration)
,
Region.isServiceSupported(String)
CreateDevicePoolResult createDevicePool(CreateDevicePoolRequest createDevicePoolRequest)
Creates a device pool.
createDevicePoolRequest
- Represents a request to the create device pool operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.CreateInstanceProfileResult createInstanceProfile(CreateInstanceProfileRequest createInstanceProfileRequest)
Creates a profile that can be applied to one or more private fleet device instances.
createInstanceProfileRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.CreateNetworkProfileResult createNetworkProfile(CreateNetworkProfileRequest createNetworkProfileRequest)
Creates a network profile.
createNetworkProfileRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.CreateProjectResult createProject(CreateProjectRequest createProjectRequest)
Creates a project.
createProjectRequest
- Represents a request to the create project operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.TagOperationException
- The operation was not successful. Try again.CreateRemoteAccessSessionResult createRemoteAccessSession(CreateRemoteAccessSessionRequest createRemoteAccessSessionRequest)
Specifies and starts a remote access session.
createRemoteAccessSessionRequest
- Creates and submits a request to start a remote access session.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.CreateTestGridProjectResult createTestGridProject(CreateTestGridProjectRequest createTestGridProjectRequest)
Creates a Selenium testing project. Projects are used to track TestGridSession instances.
createTestGridProjectRequest
- InternalServiceException
- An internal exception was raised in the service. Contact [email protected] if you see this
error.CreateTestGridUrlResult createTestGridUrl(CreateTestGridUrlRequest createTestGridUrlRequest)
Creates a signed, short-term URL that can be passed to a Selenium RemoteWebDriver
constructor.
createTestGridUrlRequest
- NotFoundException
- The specified entity was not found.ArgumentException
- An invalid argument was specified.InternalServiceException
- An internal exception was raised in the service. Contact [email protected] if you see this
error.CreateUploadResult createUpload(CreateUploadRequest createUploadRequest)
Uploads an app or test scripts.
createUploadRequest
- Represents a request to the create upload operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.CreateVPCEConfigurationResult createVPCEConfiguration(CreateVPCEConfigurationRequest createVPCEConfigurationRequest)
Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.
createVPCEConfigurationRequest
- ArgumentException
- An invalid argument was specified.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.DeleteDevicePoolResult deleteDevicePool(DeleteDevicePoolRequest deleteDevicePoolRequest)
Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
deleteDevicePoolRequest
- Represents a request to the delete device pool operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.DeleteInstanceProfileResult deleteInstanceProfile(DeleteInstanceProfileRequest deleteInstanceProfileRequest)
Deletes a profile that can be applied to one or more private device instances.
deleteInstanceProfileRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.DeleteNetworkProfileResult deleteNetworkProfile(DeleteNetworkProfileRequest deleteNetworkProfileRequest)
Deletes a network profile.
deleteNetworkProfileRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.DeleteProjectResult deleteProject(DeleteProjectRequest deleteProjectRequest)
Deletes an AWS Device Farm project, given the project ARN.
Deleting this resource does not stop an in-progress run.
deleteProjectRequest
- Represents a request to the delete project operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.DeleteRemoteAccessSessionResult deleteRemoteAccessSession(DeleteRemoteAccessSessionRequest deleteRemoteAccessSessionRequest)
Deletes a completed remote access session and its results.
deleteRemoteAccessSessionRequest
- Represents the request to delete the specified remote access session.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.DeleteRunResult deleteRun(DeleteRunRequest deleteRunRequest)
Deletes the run, given the run ARN.
Deleting this resource does not stop an in-progress run.
deleteRunRequest
- Represents a request to the delete run operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.DeleteTestGridProjectResult deleteTestGridProject(DeleteTestGridProjectRequest deleteTestGridProjectRequest)
Deletes a Selenium testing project and all content generated under it.
You cannot undo this operation.
You cannot delete a project if it has active sessions.
deleteTestGridProjectRequest
- NotFoundException
- The specified entity was not found.ArgumentException
- An invalid argument was specified.CannotDeleteException
- The requested object could not be deleted.InternalServiceException
- An internal exception was raised in the service. Contact [email protected] if you see this
error.DeleteUploadResult deleteUpload(DeleteUploadRequest deleteUploadRequest)
Deletes an upload given the upload ARN.
deleteUploadRequest
- Represents a request to the delete upload operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.DeleteVPCEConfigurationResult deleteVPCEConfiguration(DeleteVPCEConfigurationRequest deleteVPCEConfigurationRequest)
Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.
deleteVPCEConfigurationRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.ServiceAccountException
- There was a problem with the service account.InvalidOperationException
- There was an error with the update request, or you do not have sufficient permissions to update this VPC
endpoint configuration.GetAccountSettingsResult getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest)
Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.
getAccountSettingsRequest
- Represents the request sent to retrieve the account settings.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetDeviceResult getDevice(GetDeviceRequest getDeviceRequest)
Gets information about a unique device type.
getDeviceRequest
- Represents a request to the get device request.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetDeviceInstanceResult getDeviceInstance(GetDeviceInstanceRequest getDeviceInstanceRequest)
Returns information about a device instance that belongs to a private device fleet.
getDeviceInstanceRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetDevicePoolResult getDevicePool(GetDevicePoolRequest getDevicePoolRequest)
Gets information about a device pool.
getDevicePoolRequest
- Represents a request to the get device pool operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetDevicePoolCompatibilityResult getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest)
Gets information about compatibility with a device pool.
getDevicePoolCompatibilityRequest
- Represents a request to the get device pool compatibility operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetInstanceProfileResult getInstanceProfile(GetInstanceProfileRequest getInstanceProfileRequest)
Returns information about the specified instance profile.
getInstanceProfileRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetJobResult getJob(GetJobRequest getJobRequest)
Gets information about a job.
getJobRequest
- Represents a request to the get job operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetNetworkProfileResult getNetworkProfile(GetNetworkProfileRequest getNetworkProfileRequest)
Returns information about a network profile.
getNetworkProfileRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetOfferingStatusResult getOfferingStatus(GetOfferingStatusRequest getOfferingStatusRequest)
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 [email protected].
getOfferingStatusRequest
- Represents the request to retrieve the offering status for the specified customer or account.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.NotEligibleException
- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetProjectResult getProject(GetProjectRequest getProjectRequest)
Gets information about a project.
getProjectRequest
- Represents a request to the get project operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetRemoteAccessSessionResult getRemoteAccessSession(GetRemoteAccessSessionRequest getRemoteAccessSessionRequest)
Returns a link to a currently running remote access session.
getRemoteAccessSessionRequest
- Represents the request to get information about the specified remote access session.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetRunResult getRun(GetRunRequest getRunRequest)
Gets information about a run.
getRunRequest
- Represents a request to the get run operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetSuiteResult getSuite(GetSuiteRequest getSuiteRequest)
Gets information about a suite.
getSuiteRequest
- Represents a request to the get suite operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetTestResult getTest(GetTestRequest getTestRequest)
Gets information about a test.
getTestRequest
- Represents a request to the get test operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetTestGridProjectResult getTestGridProject(GetTestGridProjectRequest getTestGridProjectRequest)
Retrieves information about a Selenium testing project.
getTestGridProjectRequest
- NotFoundException
- The specified entity was not found.ArgumentException
- An invalid argument was specified.InternalServiceException
- An internal exception was raised in the service. Contact [email protected] if you see this
error.GetTestGridSessionResult getTestGridSession(GetTestGridSessionRequest getTestGridSessionRequest)
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).
getTestGridSessionRequest
- NotFoundException
- The specified entity was not found.ArgumentException
- An invalid argument was specified.InternalServiceException
- An internal exception was raised in the service. Contact [email protected] if you see this
error.GetUploadResult getUpload(GetUploadRequest getUploadRequest)
Gets information about an upload.
getUploadRequest
- Represents a request to the get upload operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.GetVPCEConfigurationResult getVPCEConfiguration(GetVPCEConfigurationRequest getVPCEConfigurationRequest)
Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.
getVPCEConfigurationRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.ServiceAccountException
- There was a problem with the service account.InstallToRemoteAccessSessionResult installToRemoteAccessSession(InstallToRemoteAccessSessionRequest installToRemoteAccessSessionRequest)
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.
installToRemoteAccessSessionRequest
- Represents the request to install an Android application (in .apk format) or an iOS application (in .ipa
format) as part of a remote access session.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListArtifactsResult listArtifacts(ListArtifactsRequest listArtifactsRequest)
Gets information about artifacts.
listArtifactsRequest
- Represents a request to the list artifacts operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListDeviceInstancesResult listDeviceInstances(ListDeviceInstancesRequest listDeviceInstancesRequest)
Returns information about the private device instances associated with one or more AWS accounts.
listDeviceInstancesRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListDevicePoolsResult listDevicePools(ListDevicePoolsRequest listDevicePoolsRequest)
Gets information about device pools.
listDevicePoolsRequest
- Represents the result of a list device pools request.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListDevicesResult listDevices(ListDevicesRequest listDevicesRequest)
Gets information about unique device types.
listDevicesRequest
- Represents the result of a list devices request.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListInstanceProfilesResult listInstanceProfiles(ListInstanceProfilesRequest listInstanceProfilesRequest)
Returns information about all the instance profiles in an AWS account.
listInstanceProfilesRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListJobsResult listJobs(ListJobsRequest listJobsRequest)
Gets information about jobs for a given test run.
listJobsRequest
- Represents a request to the list jobs operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListNetworkProfilesResult listNetworkProfiles(ListNetworkProfilesRequest listNetworkProfilesRequest)
Returns the list of available network profiles.
listNetworkProfilesRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListOfferingPromotionsResult listOfferingPromotions(ListOfferingPromotionsRequest listOfferingPromotionsRequest)
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 [email protected] if
you must be able to invoke this operation.
listOfferingPromotionsRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.NotEligibleException
- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListOfferingTransactionsResult listOfferingTransactions(ListOfferingTransactionsRequest listOfferingTransactionsRequest)
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 [email protected].
listOfferingTransactionsRequest
- Represents the request to list the offering transaction history.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.NotEligibleException
- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListOfferingsResult listOfferings(ListOfferingsRequest listOfferingsRequest)
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
[email protected].
listOfferingsRequest
- Represents the request to list all offerings.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.NotEligibleException
- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListProjectsResult listProjects(ListProjectsRequest listProjectsRequest)
Gets information about projects.
listProjectsRequest
- Represents a request to the list projects operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListRemoteAccessSessionsResult listRemoteAccessSessions(ListRemoteAccessSessionsRequest listRemoteAccessSessionsRequest)
Returns a list of all currently running remote access sessions.
listRemoteAccessSessionsRequest
- Represents the request to return information about the remote access session.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListRunsResult listRuns(ListRunsRequest listRunsRequest)
Gets information about runs, given an AWS Device Farm project ARN.
listRunsRequest
- Represents a request to the list runs operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListSamplesResult listSamples(ListSamplesRequest listSamplesRequest)
Gets information about samples, given an AWS Device Farm job ARN.
listSamplesRequest
- Represents a request to the list samples operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListSuitesResult listSuites(ListSuitesRequest listSuitesRequest)
Gets information about test suites for a given job.
listSuitesRequest
- Represents a request to the list suites operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List the tags for an AWS Device Farm resource.
listTagsForResourceRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.TagOperationException
- The operation was not successful. Try again.ListTestGridProjectsResult listTestGridProjects(ListTestGridProjectsRequest listTestGridProjectsRequest)
Gets a list of all Selenium testing projects in your account.
listTestGridProjectsRequest
- ArgumentException
- An invalid argument was specified.InternalServiceException
- An internal exception was raised in the service. Contact [email protected] if you see this
error.ListTestGridSessionActionsResult listTestGridSessionActions(ListTestGridSessionActionsRequest listTestGridSessionActionsRequest)
Returns a list of the actions taken in a TestGridSession.
listTestGridSessionActionsRequest
- NotFoundException
- The specified entity was not found.ArgumentException
- An invalid argument was specified.InternalServiceException
- An internal exception was raised in the service. Contact [email protected] if you see this
error.ListTestGridSessionArtifactsResult listTestGridSessionArtifacts(ListTestGridSessionArtifactsRequest listTestGridSessionArtifactsRequest)
Retrieves a list of artifacts created during the session.
listTestGridSessionArtifactsRequest
- NotFoundException
- The specified entity was not found.ArgumentException
- An invalid argument was specified.InternalServiceException
- An internal exception was raised in the service. Contact [email protected] if you see this
error.ListTestGridSessionsResult listTestGridSessions(ListTestGridSessionsRequest listTestGridSessionsRequest)
Retrieves a list of sessions for a TestGridProject.
listTestGridSessionsRequest
- NotFoundException
- The specified entity was not found.ArgumentException
- An invalid argument was specified.InternalServiceException
- An internal exception was raised in the service. Contact [email protected] if you see this
error.ListTestsResult listTests(ListTestsRequest listTestsRequest)
Gets information about tests in a given test suite.
listTestsRequest
- Represents a request to the list tests operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListUniqueProblemsResult listUniqueProblems(ListUniqueProblemsRequest listUniqueProblemsRequest)
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.
listUniqueProblemsRequest
- Represents a request to the list unique problems operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListUploadsResult listUploads(ListUploadsRequest listUploadsRequest)
Gets information about uploads, given an AWS Device Farm project ARN.
listUploadsRequest
- Represents a request to the list uploads operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ListVPCEConfigurationsResult listVPCEConfigurations(ListVPCEConfigurationsRequest listVPCEConfigurationsRequest)
Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.
listVPCEConfigurationsRequest
- ArgumentException
- An invalid argument was specified.ServiceAccountException
- There was a problem with the service account.PurchaseOfferingResult purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest)
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 [email protected].
purchaseOfferingRequest
- Represents a request for a purchase offering.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.NotEligibleException
- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.RenewOfferingResult renewOffering(RenewOfferingRequest renewOfferingRequest)
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 [email protected].
renewOfferingRequest
- A request that represents an offering renewal.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.NotEligibleException
- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.ScheduleRunResult scheduleRun(ScheduleRunRequest scheduleRunRequest)
Schedules a run.
scheduleRunRequest
- Represents a request to the schedule run operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.IdempotencyException
- An entity with the same name already exists.ServiceAccountException
- There was a problem with the service account.StopJobResult stopJob(StopJobRequest stopJobRequest)
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.
stopJobRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.StopRemoteAccessSessionResult stopRemoteAccessSession(StopRemoteAccessSessionRequest stopRemoteAccessSessionRequest)
Ends a specified remote access session.
stopRemoteAccessSessionRequest
- Represents the request to stop the remote access session.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.StopRunResult stopRun(StopRunRequest stopRunRequest)
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.
stopRunRequest
- Represents the request to stop a specific run.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
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.
tagResourceRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.TagOperationException
- The operation was not successful. Try again.TooManyTagsException
- The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a
repository is 50.TagPolicyException
- The request doesn't comply with the AWS Identity and Access Management (IAM) tag policy. Correct your
request and then retry it.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Deletes the specified tags from a resource.
untagResourceRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.TagOperationException
- The operation was not successful. Try again.UpdateDeviceInstanceResult updateDeviceInstance(UpdateDeviceInstanceRequest updateDeviceInstanceRequest)
Updates information about a private device instance.
updateDeviceInstanceRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.UpdateDevicePoolResult updateDevicePool(UpdateDevicePoolRequest updateDevicePoolRequest)
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).
updateDevicePoolRequest
- Represents a request to the update device pool operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.UpdateInstanceProfileResult updateInstanceProfile(UpdateInstanceProfileRequest updateInstanceProfileRequest)
Updates information about an existing private device instance profile.
updateInstanceProfileRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.UpdateNetworkProfileResult updateNetworkProfile(UpdateNetworkProfileRequest updateNetworkProfileRequest)
Updates the network profile.
updateNetworkProfileRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.UpdateProjectResult updateProject(UpdateProjectRequest updateProjectRequest)
Modifies the specified project name, given the project ARN and a new name.
updateProjectRequest
- Represents a request to the update project operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.UpdateTestGridProjectResult updateTestGridProject(UpdateTestGridProjectRequest updateTestGridProjectRequest)
Change details of a project.
updateTestGridProjectRequest
- NotFoundException
- The specified entity was not found.ArgumentException
- An invalid argument was specified.InternalServiceException
- An internal exception was raised in the service. Contact [email protected] if you see this
error.UpdateUploadResult updateUpload(UpdateUploadRequest updateUploadRequest)
Updates an uploaded test spec.
updateUploadRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.UpdateVPCEConfigurationResult updateVPCEConfiguration(UpdateVPCEConfigurationRequest updateVPCEConfigurationRequest)
Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.
updateVPCEConfigurationRequest
- ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.ServiceAccountException
- There was a problem with the service account.InvalidOperationException
- There was an error with the update request, or you do not have sufficient permissions to update this VPC
endpoint configuration.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.Copyright © 2021. All rights reserved.