@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 AWSDeviceFarm
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.public void setRegion(Region region)
AWSDeviceFarm
AWSDeviceFarm.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 AWSDeviceFarm
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)
public CreateDevicePoolResult createDevicePool(CreateDevicePoolRequest request)
AWSDeviceFarm
Creates a device pool.
createDevicePool
in interface AWSDeviceFarm
request
- Represents a request to the create device pool operation.public CreateNetworkProfileResult createNetworkProfile(CreateNetworkProfileRequest request)
AWSDeviceFarm
Creates a network profile.
createNetworkProfile
in interface AWSDeviceFarm
public CreateProjectResult createProject(CreateProjectRequest request)
AWSDeviceFarm
Creates a new project.
createProject
in interface AWSDeviceFarm
request
- Represents a request to the create project operation.public CreateRemoteAccessSessionResult createRemoteAccessSession(CreateRemoteAccessSessionRequest request)
AWSDeviceFarm
Specifies and starts a remote access session.
createRemoteAccessSession
in interface AWSDeviceFarm
request
- Creates and submits a request to start a remote access session.public CreateUploadResult createUpload(CreateUploadRequest request)
AWSDeviceFarm
Uploads an app or test scripts.
createUpload
in interface AWSDeviceFarm
request
- Represents a request to the create upload operation.public DeleteDevicePoolResult deleteDevicePool(DeleteDevicePoolRequest request)
AWSDeviceFarm
Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
deleteDevicePool
in interface AWSDeviceFarm
request
- Represents a request to the delete device pool operation.public DeleteNetworkProfileResult deleteNetworkProfile(DeleteNetworkProfileRequest request)
AWSDeviceFarm
Deletes a network profile.
deleteNetworkProfile
in interface AWSDeviceFarm
public DeleteProjectResult deleteProject(DeleteProjectRequest request)
AWSDeviceFarm
Deletes an AWS Device Farm project, given the project ARN.
Note Deleting this resource does not stop an in-progress run.
deleteProject
in interface AWSDeviceFarm
request
- Represents a request to the delete project operation.public DeleteRemoteAccessSessionResult deleteRemoteAccessSession(DeleteRemoteAccessSessionRequest request)
AWSDeviceFarm
Deletes a completed remote access session and its results.
deleteRemoteAccessSession
in interface AWSDeviceFarm
request
- Represents the request to delete the specified remote access session.public DeleteRunResult deleteRun(DeleteRunRequest request)
AWSDeviceFarm
Deletes the run, given the run ARN.
Note Deleting this resource does not stop an in-progress run.
deleteRun
in interface AWSDeviceFarm
request
- Represents a request to the delete run operation.public DeleteUploadResult deleteUpload(DeleteUploadRequest request)
AWSDeviceFarm
Deletes an upload given the upload ARN.
deleteUpload
in interface AWSDeviceFarm
request
- Represents a request to the delete upload operation.public GetAccountSettingsResult getAccountSettings(GetAccountSettingsRequest request)
AWSDeviceFarm
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
getAccountSettings
in interface AWSDeviceFarm
request
- Represents the request sent to retrieve the account settings.public GetDeviceResult getDevice(GetDeviceRequest request)
AWSDeviceFarm
Gets information about a unique device type.
getDevice
in interface AWSDeviceFarm
request
- Represents a request to the get device request.public GetDevicePoolResult getDevicePool(GetDevicePoolRequest request)
AWSDeviceFarm
Gets information about a device pool.
getDevicePool
in interface AWSDeviceFarm
request
- Represents a request to the get device pool operation.public GetDevicePoolCompatibilityResult getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest request)
AWSDeviceFarm
Gets information about compatibility with a device pool.
getDevicePoolCompatibility
in interface AWSDeviceFarm
request
- Represents a request to the get device pool compatibility operation.public GetJobResult getJob(GetJobRequest request)
AWSDeviceFarm
Gets information about a job.
getJob
in interface AWSDeviceFarm
request
- Represents a request to the get job operation.public GetNetworkProfileResult getNetworkProfile(GetNetworkProfileRequest request)
AWSDeviceFarm
Returns information about a network profile.
getNetworkProfile
in interface AWSDeviceFarm
public 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 AWSDeviceFarm
request
- Represents the request to retrieve the offering status for the specified customer or account.public GetProjectResult getProject(GetProjectRequest request)
AWSDeviceFarm
Gets information about a project.
getProject
in interface AWSDeviceFarm
request
- Represents a request to the get project operation.public GetRemoteAccessSessionResult getRemoteAccessSession(GetRemoteAccessSessionRequest request)
AWSDeviceFarm
Returns a link to a currently running remote access session.
getRemoteAccessSession
in interface AWSDeviceFarm
request
- Represents the request to get information about the specified remote access session.public GetRunResult getRun(GetRunRequest request)
AWSDeviceFarm
Gets information about a run.
getRun
in interface AWSDeviceFarm
request
- Represents a request to the get run operation.public GetSuiteResult getSuite(GetSuiteRequest request)
AWSDeviceFarm
Gets information about a suite.
getSuite
in interface AWSDeviceFarm
request
- Represents a request to the get suite operation.public GetTestResult getTest(GetTestRequest request)
AWSDeviceFarm
Gets information about a test.
getTest
in interface AWSDeviceFarm
request
- Represents a request to the get test operation.public GetUploadResult getUpload(GetUploadRequest request)
AWSDeviceFarm
Gets information about an upload.
getUpload
in interface AWSDeviceFarm
request
- Represents a request to the get upload operation.public InstallToRemoteAccessSessionResult installToRemoteAccessSession(InstallToRemoteAccessSessionRequest request)
AWSDeviceFarm
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.
installToRemoteAccessSession
in interface AWSDeviceFarm
request
- 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)
AWSDeviceFarm
Gets information about artifacts.
listArtifacts
in interface AWSDeviceFarm
request
- Represents a request to the list artifacts operation.public ListDevicePoolsResult listDevicePools(ListDevicePoolsRequest request)
AWSDeviceFarm
Gets information about device pools.
listDevicePools
in interface AWSDeviceFarm
request
- Represents the result of a list device pools request.public ListDevicesResult listDevices(ListDevicesRequest request)
AWSDeviceFarm
Gets information about unique device types.
listDevices
in interface AWSDeviceFarm
request
- Represents the result of a list devices request.public ListJobsResult listJobs(ListJobsRequest request)
AWSDeviceFarm
Gets information about jobs.
listJobs
in interface AWSDeviceFarm
request
- Represents a request to the list jobs operation.public ListNetworkProfilesResult listNetworkProfiles(ListNetworkProfilesRequest request)
AWSDeviceFarm
Returns the list of available network profiles.
listNetworkProfiles
in interface AWSDeviceFarm
public 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 AWSDeviceFarm
public 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 AWSDeviceFarm
request
- 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 AWSDeviceFarm
request
- Represents the request to list all offerings.public ListProjectsResult listProjects(ListProjectsRequest request)
AWSDeviceFarm
Gets information about projects.
listProjects
in interface AWSDeviceFarm
request
- Represents a request to the list projects operation.public ListRemoteAccessSessionsResult listRemoteAccessSessions(ListRemoteAccessSessionsRequest request)
AWSDeviceFarm
Returns a list of all currently running remote access sessions.
listRemoteAccessSessions
in interface AWSDeviceFarm
request
- Represents the request to return information about the remote access session.public ListRunsResult listRuns(ListRunsRequest request)
AWSDeviceFarm
Gets information about runs, given an AWS Device Farm project ARN.
listRuns
in interface AWSDeviceFarm
request
- Represents a request to the list runs operation.public ListSamplesResult listSamples(ListSamplesRequest request)
AWSDeviceFarm
Gets information about samples, given an AWS Device Farm project ARN
listSamples
in interface AWSDeviceFarm
request
- Represents a request to the list samples operation.public ListSuitesResult listSuites(ListSuitesRequest request)
AWSDeviceFarm
Gets information about suites.
listSuites
in interface AWSDeviceFarm
request
- Represents a request to the list suites operation.public ListTestsResult listTests(ListTestsRequest request)
AWSDeviceFarm
Gets information about tests.
listTests
in interface AWSDeviceFarm
request
- Represents a request to the list tests operation.public ListUniqueProblemsResult listUniqueProblems(ListUniqueProblemsRequest request)
AWSDeviceFarm
Gets information about unique problems.
listUniqueProblems
in interface AWSDeviceFarm
request
- Represents a request to the list unique problems operation.public ListUploadsResult listUploads(ListUploadsRequest request)
AWSDeviceFarm
Gets information about uploads, given an AWS Device Farm project ARN.
listUploads
in interface AWSDeviceFarm
request
- 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 AWSDeviceFarm
request
- 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 AWSDeviceFarm
request
- A request representing an offering renewal.public ScheduleRunResult scheduleRun(ScheduleRunRequest request)
AWSDeviceFarm
Schedules a run.
scheduleRun
in interface AWSDeviceFarm
request
- Represents a request to the schedule run operation.public StopRemoteAccessSessionResult stopRemoteAccessSession(StopRemoteAccessSessionRequest request)
AWSDeviceFarm
Ends a specified remote access session.
stopRemoteAccessSession
in interface AWSDeviceFarm
request
- Represents the request to stop the remote access session.public StopRunResult stopRun(StopRunRequest request)
AWSDeviceFarm
Initiates 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 AWSDeviceFarm
request
- Represents the request to stop a specific run.public UpdateDevicePoolResult updateDevicePool(UpdateDevicePoolRequest request)
AWSDeviceFarm
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).
updateDevicePool
in interface AWSDeviceFarm
request
- Represents a request to the update device pool operation.public UpdateNetworkProfileResult updateNetworkProfile(UpdateNetworkProfileRequest request)
AWSDeviceFarm
Updates the network profile with specific settings.
updateNetworkProfile
in interface AWSDeviceFarm
public UpdateProjectResult updateProject(UpdateProjectRequest request)
AWSDeviceFarm
Modifies the specified project name, given the project ARN and a new name.
updateProject
in interface AWSDeviceFarm
request
- Represents a request to the update project operation.public void shutdown()
AWSDeviceFarm
shutdown
in interface AWSDeviceFarm
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSDeviceFarm
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.
getCachedResponseMetadata
in interface AWSDeviceFarm
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.