@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSDeviceFarm extends Object implements AWSDeviceFarm
AWSDeviceFarm. Convenient method forms pass through to the corresponding overload
that takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
CreateDevicePoolResult |
createDevicePool(CreateDevicePoolRequest request)
Creates a device pool.
|
CreateNetworkProfileResult |
createNetworkProfile(CreateNetworkProfileRequest request)
Creates a network profile.
|
CreateProjectResult |
createProject(CreateProjectRequest request)
Creates a new project.
|
CreateRemoteAccessSessionResult |
createRemoteAccessSession(CreateRemoteAccessSessionRequest request)
Specifies and starts a remote access session.
|
CreateUploadResult |
createUpload(CreateUploadRequest request)
Uploads an app or test scripts.
|
DeleteDevicePoolResult |
deleteDevicePool(DeleteDevicePoolRequest request)
Deletes a device pool given the pool ARN.
|
DeleteNetworkProfileResult |
deleteNetworkProfile(DeleteNetworkProfileRequest request)
Deletes a network profile.
|
DeleteProjectResult |
deleteProject(DeleteProjectRequest request)
Deletes an AWS Device Farm project, given the project ARN.
|
DeleteRemoteAccessSessionResult |
deleteRemoteAccessSession(DeleteRemoteAccessSessionRequest request)
Deletes a completed remote access session and its results.
|
DeleteRunResult |
deleteRun(DeleteRunRequest request)
Deletes the run, given the run ARN.
|
DeleteUploadResult |
deleteUpload(DeleteUploadRequest request)
Deletes an upload given the upload ARN.
|
GetAccountSettingsResult |
getAccountSettings(GetAccountSettingsRequest request)
Returns the number of unmetered iOS and/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 request)
Gets information about a unique device type.
|
GetDevicePoolResult |
getDevicePool(GetDevicePoolRequest request)
Gets information about a device pool.
|
GetDevicePoolCompatibilityResult |
getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest request)
Gets information about compatibility with a device pool.
|
GetJobResult |
getJob(GetJobRequest request)
Gets information about a job.
|
GetNetworkProfileResult |
getNetworkProfile(GetNetworkProfileRequest request)
Returns information about a network profile.
|
GetOfferingStatusResult |
getOfferingStatus(GetOfferingStatusRequest request)
Gets the current status and future status of all offerings purchased by an AWS account.
|
GetProjectResult |
getProject(GetProjectRequest request)
Gets information about a project.
|
GetRemoteAccessSessionResult |
getRemoteAccessSession(GetRemoteAccessSessionRequest request)
Returns a link to a currently running remote access session.
|
GetRunResult |
getRun(GetRunRequest request)
Gets information about a run.
|
GetSuiteResult |
getSuite(GetSuiteRequest request)
Gets information about a suite.
|
GetTestResult |
getTest(GetTestRequest request)
Gets information about a test.
|
GetUploadResult |
getUpload(GetUploadRequest request)
Gets information about an upload.
|
InstallToRemoteAccessSessionResult |
installToRemoteAccessSession(InstallToRemoteAccessSessionRequest request)
Installs an application to the device in a remote access session.
|
ListArtifactsResult |
listArtifacts(ListArtifactsRequest request)
Gets information about artifacts.
|
ListDevicePoolsResult |
listDevicePools(ListDevicePoolsRequest request)
Gets information about device pools.
|
ListDevicesResult |
listDevices(ListDevicesRequest request)
Gets information about unique device types.
|
ListJobsResult |
listJobs(ListJobsRequest request)
Gets information about jobs.
|
ListNetworkProfilesResult |
listNetworkProfiles(ListNetworkProfilesRequest request)
Returns the list of available network profiles.
|
ListOfferingPromotionsResult |
listOfferingPromotions(ListOfferingPromotionsRequest request)
Returns a list of offering promotions.
|
ListOfferingsResult |
listOfferings(ListOfferingsRequest request)
Returns a list of products or offerings that the user can manage through the API.
|
ListOfferingTransactionsResult |
listOfferingTransactions(ListOfferingTransactionsRequest request)
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
ListProjectsResult |
listProjects(ListProjectsRequest request)
Gets information about projects.
|
ListRemoteAccessSessionsResult |
listRemoteAccessSessions(ListRemoteAccessSessionsRequest request)
Returns a list of all currently running remote access sessions.
|
ListRunsResult |
listRuns(ListRunsRequest request)
Gets information about runs, given an AWS Device Farm project ARN.
|
ListSamplesResult |
listSamples(ListSamplesRequest request)
Gets information about samples, given an AWS Device Farm project ARN
|
ListSuitesResult |
listSuites(ListSuitesRequest request)
Gets information about suites.
|
ListTestsResult |
listTests(ListTestsRequest request)
Gets information about tests.
|
ListUniqueProblemsResult |
listUniqueProblems(ListUniqueProblemsRequest request)
Gets information about unique problems.
|
ListUploadsResult |
listUploads(ListUploadsRequest request)
Gets information about uploads, given an AWS Device Farm project ARN.
|
PurchaseOfferingResult |
purchaseOffering(PurchaseOfferingRequest request)
Immediately purchases offerings for an AWS account.
|
RenewOfferingResult |
renewOffering(RenewOfferingRequest request)
Explicitly sets the quantity of devices to renew for an offering, starting from the
effectiveDate of
the next period. |
ScheduleRunResult |
scheduleRun(ScheduleRunRequest request)
Schedules a run.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client ("https://devicefarm.us-west-2.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
AWSDeviceFarm.setEndpoint(String), sets the regional endpoint for this client's service
calls. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StopRemoteAccessSessionResult |
stopRemoteAccessSession(StopRemoteAccessSessionRequest request)
Ends a specified remote access session.
|
StopRunResult |
stopRun(StopRunRequest request)
Initiates a stop request for the current test run.
|
UpdateDevicePoolResult |
updateDevicePool(UpdateDevicePoolRequest request)
Modifies the name, description, and rules in a device pool given the attributes and the pool ARN.
|
UpdateNetworkProfileResult |
updateNetworkProfile(UpdateNetworkProfileRequest request)
Updates the network profile with specific settings.
|
UpdateProjectResult |
updateProject(UpdateProjectRequest request)
Modifies the specified project name, given the project ARN and a new name.
|
public void setEndpoint(String endpoint)
AWSDeviceFarm
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: http://developer.amazonwebservices.com/connect/entry.jspa?externalID=3912
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.
setEndpoint in interface AWSDeviceFarmendpoint - 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.public void setRegion(Region region)
AWSDeviceFarmAWSDeviceFarm.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.
setRegion in interface AWSDeviceFarmregion - 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)public CreateDevicePoolResult createDevicePool(CreateDevicePoolRequest request)
AWSDeviceFarmCreates a device pool.
createDevicePool in interface AWSDeviceFarmrequest - Represents a request to the create device pool operation.public CreateNetworkProfileResult createNetworkProfile(CreateNetworkProfileRequest request)
AWSDeviceFarmCreates a network profile.
createNetworkProfile in interface AWSDeviceFarmpublic CreateProjectResult createProject(CreateProjectRequest request)
AWSDeviceFarmCreates a new project.
createProject in interface AWSDeviceFarmrequest - Represents a request to the create project operation.public CreateRemoteAccessSessionResult createRemoteAccessSession(CreateRemoteAccessSessionRequest request)
AWSDeviceFarmSpecifies and starts a remote access session.
createRemoteAccessSession in interface AWSDeviceFarmrequest - Creates and submits a request to start a remote access session.public CreateUploadResult createUpload(CreateUploadRequest request)
AWSDeviceFarmUploads an app or test scripts.
createUpload in interface AWSDeviceFarmrequest - Represents a request to the create upload operation.public DeleteDevicePoolResult deleteDevicePool(DeleteDevicePoolRequest request)
AWSDeviceFarmDeletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
deleteDevicePool in interface AWSDeviceFarmrequest - Represents a request to the delete device pool operation.public DeleteNetworkProfileResult deleteNetworkProfile(DeleteNetworkProfileRequest request)
AWSDeviceFarmDeletes a network profile.
deleteNetworkProfile in interface AWSDeviceFarmpublic DeleteProjectResult deleteProject(DeleteProjectRequest request)
AWSDeviceFarmDeletes an AWS Device Farm project, given the project ARN.
Note Deleting this resource does not stop an in-progress run.
deleteProject in interface AWSDeviceFarmrequest - Represents a request to the delete project operation.public DeleteRemoteAccessSessionResult deleteRemoteAccessSession(DeleteRemoteAccessSessionRequest request)
AWSDeviceFarmDeletes a completed remote access session and its results.
deleteRemoteAccessSession in interface AWSDeviceFarmrequest - Represents the request to delete the specified remote access session.public DeleteRunResult deleteRun(DeleteRunRequest request)
AWSDeviceFarmDeletes the run, given the run ARN.
Note Deleting this resource does not stop an in-progress run.
deleteRun in interface AWSDeviceFarmrequest - Represents a request to the delete run operation.public DeleteUploadResult deleteUpload(DeleteUploadRequest request)
AWSDeviceFarmDeletes an upload given the upload ARN.
deleteUpload in interface AWSDeviceFarmrequest - Represents a request to the delete upload operation.public GetAccountSettingsResult getAccountSettings(GetAccountSettingsRequest request)
AWSDeviceFarmReturns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
getAccountSettings in interface AWSDeviceFarmrequest - Represents the request sent to retrieve the account settings.public GetDeviceResult getDevice(GetDeviceRequest request)
AWSDeviceFarmGets information about a unique device type.
getDevice in interface AWSDeviceFarmrequest - Represents a request to the get device request.public GetDevicePoolResult getDevicePool(GetDevicePoolRequest request)
AWSDeviceFarmGets information about a device pool.
getDevicePool in interface AWSDeviceFarmrequest - Represents a request to the get device pool operation.public GetDevicePoolCompatibilityResult getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest request)
AWSDeviceFarmGets information about compatibility with a device pool.
getDevicePoolCompatibility in interface AWSDeviceFarmrequest - Represents a request to the get device pool compatibility operation.public GetJobResult getJob(GetJobRequest request)
AWSDeviceFarmGets information about a job.
getJob in interface AWSDeviceFarmrequest - Represents a request to the get job operation.public GetNetworkProfileResult getNetworkProfile(GetNetworkProfileRequest request)
AWSDeviceFarmReturns information about a network profile.
getNetworkProfile in interface AWSDeviceFarmpublic GetOfferingStatusResult getOfferingStatus(GetOfferingStatusRequest request)
AWSDeviceFarm
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. Please contact aws-devicefarm-support@amazon.com if you believe that you
should be able to invoke this operation.
getOfferingStatus in interface AWSDeviceFarmrequest - Represents the request to retrieve the offering status for the specified customer or account.public GetProjectResult getProject(GetProjectRequest request)
AWSDeviceFarmGets information about a project.
getProject in interface AWSDeviceFarmrequest - Represents a request to the get project operation.public GetRemoteAccessSessionResult getRemoteAccessSession(GetRemoteAccessSessionRequest request)
AWSDeviceFarmReturns a link to a currently running remote access session.
getRemoteAccessSession in interface AWSDeviceFarmrequest - Represents the request to get information about the specified remote access session.public GetRunResult getRun(GetRunRequest request)
AWSDeviceFarmGets information about a run.
getRun in interface AWSDeviceFarmrequest - Represents a request to the get run operation.public GetSuiteResult getSuite(GetSuiteRequest request)
AWSDeviceFarmGets information about a suite.
getSuite in interface AWSDeviceFarmrequest - Represents a request to the get suite operation.public GetTestResult getTest(GetTestRequest request)
AWSDeviceFarmGets information about a test.
getTest in interface AWSDeviceFarmrequest - Represents a request to the get test operation.public GetUploadResult getUpload(GetUploadRequest request)
AWSDeviceFarmGets information about an upload.
getUpload in interface AWSDeviceFarmrequest - Represents a request to the get upload operation.public InstallToRemoteAccessSessionResult installToRemoteAccessSession(InstallToRemoteAccessSessionRequest request)
AWSDeviceFarmInstalls 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.
installToRemoteAccessSession in interface AWSDeviceFarmrequest - 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.public ListArtifactsResult listArtifacts(ListArtifactsRequest request)
AWSDeviceFarmGets information about artifacts.
listArtifacts in interface AWSDeviceFarmrequest - Represents a request to the list artifacts operation.public ListDevicePoolsResult listDevicePools(ListDevicePoolsRequest request)
AWSDeviceFarmGets information about device pools.
listDevicePools in interface AWSDeviceFarmrequest - Represents the result of a list device pools request.public ListDevicesResult listDevices(ListDevicesRequest request)
AWSDeviceFarmGets information about unique device types.
listDevices in interface AWSDeviceFarmrequest - Represents the result of a list devices request.public ListJobsResult listJobs(ListJobsRequest request)
AWSDeviceFarmGets information about jobs.
listJobs in interface AWSDeviceFarmrequest - Represents a request to the list jobs operation.public ListNetworkProfilesResult listNetworkProfiles(ListNetworkProfilesRequest request)
AWSDeviceFarmReturns the list of available network profiles.
listNetworkProfiles in interface AWSDeviceFarmpublic ListOfferingPromotionsResult listOfferingPromotions(ListOfferingPromotionsRequest request)
AWSDeviceFarm
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 believe that you should be able to invoke this operation.
listOfferingPromotions in interface AWSDeviceFarmpublic ListOfferingTransactionsResult listOfferingTransactions(ListOfferingTransactionsRequest request)
AWSDeviceFarm
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. Please contact aws-devicefarm-support@amazon.com if you believe that you
should be able to invoke this operation.
listOfferingTransactions in interface AWSDeviceFarmrequest - Represents the request to list the offering transaction history.public ListOfferingsResult listOfferings(ListOfferingsRequest request)
AWSDeviceFarm
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. Please contact aws-devicefarm-support@amazon.com if you believe that you
should be able to invoke this operation.
listOfferings in interface AWSDeviceFarmrequest - Represents the request to list all offerings.public ListProjectsResult listProjects(ListProjectsRequest request)
AWSDeviceFarmGets information about projects.
listProjects in interface AWSDeviceFarmrequest - Represents a request to the list projects operation.public ListRemoteAccessSessionsResult listRemoteAccessSessions(ListRemoteAccessSessionsRequest request)
AWSDeviceFarmReturns a list of all currently running remote access sessions.
listRemoteAccessSessions in interface AWSDeviceFarmrequest - Represents the request to return information about the remote access session.public ListRunsResult listRuns(ListRunsRequest request)
AWSDeviceFarmGets information about runs, given an AWS Device Farm project ARN.
listRuns in interface AWSDeviceFarmrequest - Represents a request to the list runs operation.public ListSamplesResult listSamples(ListSamplesRequest request)
AWSDeviceFarmGets information about samples, given an AWS Device Farm project ARN
listSamples in interface AWSDeviceFarmrequest - Represents a request to the list samples operation.public ListSuitesResult listSuites(ListSuitesRequest request)
AWSDeviceFarmGets information about suites.
listSuites in interface AWSDeviceFarmrequest - Represents a request to the list suites operation.public ListTestsResult listTests(ListTestsRequest request)
AWSDeviceFarmGets information about tests.
listTests in interface AWSDeviceFarmrequest - Represents a request to the list tests operation.public ListUniqueProblemsResult listUniqueProblems(ListUniqueProblemsRequest request)
AWSDeviceFarmGets information about unique problems.
listUniqueProblems in interface AWSDeviceFarmrequest - Represents a request to the list unique problems operation.public ListUploadsResult listUploads(ListUploadsRequest request)
AWSDeviceFarmGets information about uploads, given an AWS Device Farm project ARN.
listUploads in interface AWSDeviceFarmrequest - Represents a request to the list uploads operation.public PurchaseOfferingResult purchaseOffering(PurchaseOfferingRequest request)
AWSDeviceFarm
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. Please contact aws-devicefarm-support@amazon.com if you believe that you
should be able to invoke this operation.
purchaseOffering in interface AWSDeviceFarmrequest - Represents a request for a purchase offering.public RenewOfferingResult renewOffering(RenewOfferingRequest request)
AWSDeviceFarm
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. Please contact aws-devicefarm-support@amazon.com if you believe that you
should be able to invoke this operation.
renewOffering in interface AWSDeviceFarmrequest - A request representing an offering renewal.public ScheduleRunResult scheduleRun(ScheduleRunRequest request)
AWSDeviceFarmSchedules a run.
scheduleRun in interface AWSDeviceFarmrequest - Represents a request to the schedule run operation.public StopRemoteAccessSessionResult stopRemoteAccessSession(StopRemoteAccessSessionRequest request)
AWSDeviceFarmEnds a specified remote access session.
stopRemoteAccessSession in interface AWSDeviceFarmrequest - Represents the request to stop the remote access session.public StopRunResult stopRun(StopRunRequest request)
AWSDeviceFarmInitiates a stop request for the current test run. AWS Device Farm will immediately stop the run on devices where tests have not started executing, and you will not be billed for these devices. On devices where tests have started executing, Setup Suite and Teardown Suite tests will run to completion before stopping execution on those devices. You will be billed for Setup, Teardown, and any tests that were in progress or already completed.
stopRun in interface AWSDeviceFarmrequest - Represents the request to stop a specific run.public UpdateDevicePoolResult updateDevicePool(UpdateDevicePoolRequest request)
AWSDeviceFarmModifies 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).
updateDevicePool in interface AWSDeviceFarmrequest - Represents a request to the update device pool operation.public UpdateNetworkProfileResult updateNetworkProfile(UpdateNetworkProfileRequest request)
AWSDeviceFarmUpdates the network profile with specific settings.
updateNetworkProfile in interface AWSDeviceFarmpublic UpdateProjectResult updateProject(UpdateProjectRequest request)
AWSDeviceFarmModifies the specified project name, given the project ARN and a new name.
updateProject in interface AWSDeviceFarmrequest - Represents a request to the update project operation.public void shutdown()
AWSDeviceFarmshutdown in interface AWSDeviceFarmpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSDeviceFarmResponse 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.
getCachedResponseMetadata in interface AWSDeviceFarmrequest - The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.