@Generated(value="software.amazon.awssdk:codegen") public interface DeviceFarmClient extends SdkClient
builder()
method.
AWS Device Farm is a service that enables mobile app developers to test Android, iOS, and Fire OS apps on physical phones, tablets, and other devices in the cloud.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static DeviceFarmClientBuilder |
builder()
Create a builder that can be used to configure and create a
DeviceFarmClient . |
static DeviceFarmClient |
create()
Create a
DeviceFarmClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreateDevicePoolResponse |
createDevicePool(Consumer<CreateDevicePoolRequest.Builder> createDevicePoolRequest)
Creates a device pool.
|
default CreateDevicePoolResponse |
createDevicePool(CreateDevicePoolRequest createDevicePoolRequest)
Creates a device pool.
|
default CreateNetworkProfileResponse |
createNetworkProfile(Consumer<CreateNetworkProfileRequest.Builder> createNetworkProfileRequest)
Creates a network profile.
|
default CreateNetworkProfileResponse |
createNetworkProfile(CreateNetworkProfileRequest createNetworkProfileRequest)
Creates a network profile.
|
default CreateProjectResponse |
createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)
Creates a new project.
|
default CreateProjectResponse |
createProject(CreateProjectRequest createProjectRequest)
Creates a new project.
|
default CreateRemoteAccessSessionResponse |
createRemoteAccessSession(Consumer<CreateRemoteAccessSessionRequest.Builder> createRemoteAccessSessionRequest)
Specifies and starts a remote access session.
|
default CreateRemoteAccessSessionResponse |
createRemoteAccessSession(CreateRemoteAccessSessionRequest createRemoteAccessSessionRequest)
Specifies and starts a remote access session.
|
default CreateUploadResponse |
createUpload(Consumer<CreateUploadRequest.Builder> createUploadRequest)
Uploads an app or test scripts.
|
default CreateUploadResponse |
createUpload(CreateUploadRequest createUploadRequest)
Uploads an app or test scripts.
|
default DeleteDevicePoolResponse |
deleteDevicePool(Consumer<DeleteDevicePoolRequest.Builder> deleteDevicePoolRequest)
Deletes a device pool given the pool ARN.
|
default DeleteDevicePoolResponse |
deleteDevicePool(DeleteDevicePoolRequest deleteDevicePoolRequest)
Deletes a device pool given the pool ARN.
|
default DeleteNetworkProfileResponse |
deleteNetworkProfile(Consumer<DeleteNetworkProfileRequest.Builder> deleteNetworkProfileRequest)
Deletes a network profile.
|
default DeleteNetworkProfileResponse |
deleteNetworkProfile(DeleteNetworkProfileRequest deleteNetworkProfileRequest)
Deletes a network profile.
|
default DeleteProjectResponse |
deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)
Deletes an AWS Device Farm project, given the project ARN.
|
default DeleteProjectResponse |
deleteProject(DeleteProjectRequest deleteProjectRequest)
Deletes an AWS Device Farm project, given the project ARN.
|
default DeleteRemoteAccessSessionResponse |
deleteRemoteAccessSession(Consumer<DeleteRemoteAccessSessionRequest.Builder> deleteRemoteAccessSessionRequest)
Deletes a completed remote access session and its results.
|
default DeleteRemoteAccessSessionResponse |
deleteRemoteAccessSession(DeleteRemoteAccessSessionRequest deleteRemoteAccessSessionRequest)
Deletes a completed remote access session and its results.
|
default DeleteRunResponse |
deleteRun(Consumer<DeleteRunRequest.Builder> deleteRunRequest)
Deletes the run, given the run ARN.
|
default DeleteRunResponse |
deleteRun(DeleteRunRequest deleteRunRequest)
Deletes the run, given the run ARN.
|
default DeleteUploadResponse |
deleteUpload(Consumer<DeleteUploadRequest.Builder> deleteUploadRequest)
Deletes an upload given the upload ARN.
|
default DeleteUploadResponse |
deleteUpload(DeleteUploadRequest deleteUploadRequest)
Deletes an upload given the upload ARN.
|
default GetAccountSettingsResponse |
getAccountSettings()
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
|
default GetAccountSettingsResponse |
getAccountSettings(Consumer<GetAccountSettingsRequest.Builder> getAccountSettingsRequest)
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
|
default GetAccountSettingsResponse |
getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest)
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
|
default GetDeviceResponse |
getDevice(Consumer<GetDeviceRequest.Builder> getDeviceRequest)
Gets information about a unique device type.
|
default GetDeviceResponse |
getDevice(GetDeviceRequest getDeviceRequest)
Gets information about a unique device type.
|
default GetDevicePoolResponse |
getDevicePool(Consumer<GetDevicePoolRequest.Builder> getDevicePoolRequest)
Gets information about a device pool.
|
default GetDevicePoolResponse |
getDevicePool(GetDevicePoolRequest getDevicePoolRequest)
Gets information about a device pool.
|
default GetDevicePoolCompatibilityResponse |
getDevicePoolCompatibility(Consumer<GetDevicePoolCompatibilityRequest.Builder> getDevicePoolCompatibilityRequest)
Gets information about compatibility with a device pool.
|
default GetDevicePoolCompatibilityResponse |
getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest)
Gets information about compatibility with a device pool.
|
default GetJobResponse |
getJob(Consumer<GetJobRequest.Builder> getJobRequest)
Gets information about a job.
|
default GetJobResponse |
getJob(GetJobRequest getJobRequest)
Gets information about a job.
|
default GetNetworkProfileResponse |
getNetworkProfile(Consumer<GetNetworkProfileRequest.Builder> getNetworkProfileRequest)
Returns information about a network profile.
|
default GetNetworkProfileResponse |
getNetworkProfile(GetNetworkProfileRequest getNetworkProfileRequest)
Returns information about a network profile.
|
default GetOfferingStatusResponse |
getOfferingStatus()
Gets the current status and future status of all offerings purchased by an AWS account.
|
default GetOfferingStatusResponse |
getOfferingStatus(Consumer<GetOfferingStatusRequest.Builder> getOfferingStatusRequest)
Gets the current status and future status of all offerings purchased by an AWS account.
|
default GetOfferingStatusResponse |
getOfferingStatus(GetOfferingStatusRequest getOfferingStatusRequest)
Gets the current status and future status of all offerings purchased by an AWS account.
|
default GetOfferingStatusIterable |
getOfferingStatusPaginator()
Gets the current status and future status of all offerings purchased by an AWS account.
|
default GetOfferingStatusIterable |
getOfferingStatusPaginator(Consumer<GetOfferingStatusRequest.Builder> getOfferingStatusRequest)
Gets the current status and future status of all offerings purchased by an AWS account.
|
default GetOfferingStatusIterable |
getOfferingStatusPaginator(GetOfferingStatusRequest getOfferingStatusRequest)
Gets the current status and future status of all offerings purchased by an AWS account.
|
default GetProjectResponse |
getProject(Consumer<GetProjectRequest.Builder> getProjectRequest)
Gets information about a project.
|
default GetProjectResponse |
getProject(GetProjectRequest getProjectRequest)
Gets information about a project.
|
default GetRemoteAccessSessionResponse |
getRemoteAccessSession(Consumer<GetRemoteAccessSessionRequest.Builder> getRemoteAccessSessionRequest)
Returns a link to a currently running remote access session.
|
default GetRemoteAccessSessionResponse |
getRemoteAccessSession(GetRemoteAccessSessionRequest getRemoteAccessSessionRequest)
Returns a link to a currently running remote access session.
|
default GetRunResponse |
getRun(Consumer<GetRunRequest.Builder> getRunRequest)
Gets information about a run.
|
default GetRunResponse |
getRun(GetRunRequest getRunRequest)
Gets information about a run.
|
default GetSuiteResponse |
getSuite(Consumer<GetSuiteRequest.Builder> getSuiteRequest)
Gets information about a suite.
|
default GetSuiteResponse |
getSuite(GetSuiteRequest getSuiteRequest)
Gets information about a suite.
|
default GetTestResponse |
getTest(Consumer<GetTestRequest.Builder> getTestRequest)
Gets information about a test.
|
default GetTestResponse |
getTest(GetTestRequest getTestRequest)
Gets information about a test.
|
default GetUploadResponse |
getUpload(Consumer<GetUploadRequest.Builder> getUploadRequest)
Gets information about an upload.
|
default GetUploadResponse |
getUpload(GetUploadRequest getUploadRequest)
Gets information about an upload.
|
default InstallToRemoteAccessSessionResponse |
installToRemoteAccessSession(Consumer<InstallToRemoteAccessSessionRequest.Builder> installToRemoteAccessSessionRequest)
Installs an application to the device in a remote access session.
|
default InstallToRemoteAccessSessionResponse |
installToRemoteAccessSession(InstallToRemoteAccessSessionRequest installToRemoteAccessSessionRequest)
Installs an application to the device in a remote access session.
|
default ListArtifactsResponse |
listArtifacts(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest)
Gets information about artifacts.
|
default ListArtifactsResponse |
listArtifacts(ListArtifactsRequest listArtifactsRequest)
Gets information about artifacts.
|
default ListArtifactsIterable |
listArtifactsPaginator(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest)
Gets information about artifacts.
|
default ListArtifactsIterable |
listArtifactsPaginator(ListArtifactsRequest listArtifactsRequest)
Gets information about artifacts.
|
default ListDevicePoolsResponse |
listDevicePools(Consumer<ListDevicePoolsRequest.Builder> listDevicePoolsRequest)
Gets information about device pools.
|
default ListDevicePoolsResponse |
listDevicePools(ListDevicePoolsRequest listDevicePoolsRequest)
Gets information about device pools.
|
default ListDevicePoolsIterable |
listDevicePoolsPaginator(Consumer<ListDevicePoolsRequest.Builder> listDevicePoolsRequest)
Gets information about device pools.
|
default ListDevicePoolsIterable |
listDevicePoolsPaginator(ListDevicePoolsRequest listDevicePoolsRequest)
Gets information about device pools.
|
default ListDevicesResponse |
listDevices()
Gets information about unique device types.
|
default ListDevicesResponse |
listDevices(Consumer<ListDevicesRequest.Builder> listDevicesRequest)
Gets information about unique device types.
|
default ListDevicesResponse |
listDevices(ListDevicesRequest listDevicesRequest)
Gets information about unique device types.
|
default ListDevicesIterable |
listDevicesPaginator()
Gets information about unique device types.
|
default ListDevicesIterable |
listDevicesPaginator(Consumer<ListDevicesRequest.Builder> listDevicesRequest)
Gets information about unique device types.
|
default ListDevicesIterable |
listDevicesPaginator(ListDevicesRequest listDevicesRequest)
Gets information about unique device types.
|
default ListJobsResponse |
listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest)
Gets information about jobs.
|
default ListJobsResponse |
listJobs(ListJobsRequest listJobsRequest)
Gets information about jobs.
|
default ListJobsIterable |
listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest)
Gets information about jobs.
|
default ListJobsIterable |
listJobsPaginator(ListJobsRequest listJobsRequest)
Gets information about jobs.
|
default ListNetworkProfilesResponse |
listNetworkProfiles(Consumer<ListNetworkProfilesRequest.Builder> listNetworkProfilesRequest)
Returns the list of available network profiles.
|
default ListNetworkProfilesResponse |
listNetworkProfiles(ListNetworkProfilesRequest listNetworkProfilesRequest)
Returns the list of available network profiles.
|
default ListOfferingPromotionsResponse |
listOfferingPromotions()
Returns a list of offering promotions.
|
default ListOfferingPromotionsResponse |
listOfferingPromotions(Consumer<ListOfferingPromotionsRequest.Builder> listOfferingPromotionsRequest)
Returns a list of offering promotions.
|
default ListOfferingPromotionsResponse |
listOfferingPromotions(ListOfferingPromotionsRequest listOfferingPromotionsRequest)
Returns a list of offering promotions.
|
default ListOfferingsResponse |
listOfferings()
Returns a list of products or offerings that the user can manage through the API.
|
default ListOfferingsResponse |
listOfferings(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest)
Returns a list of products or offerings that the user can manage through the API.
|
default ListOfferingsResponse |
listOfferings(ListOfferingsRequest listOfferingsRequest)
Returns a list of products or offerings that the user can manage through the API.
|
default ListOfferingsIterable |
listOfferingsPaginator()
Returns a list of products or offerings that the user can manage through the API.
|
default ListOfferingsIterable |
listOfferingsPaginator(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest)
Returns a list of products or offerings that the user can manage through the API.
|
default ListOfferingsIterable |
listOfferingsPaginator(ListOfferingsRequest listOfferingsRequest)
Returns a list of products or offerings that the user can manage through the API.
|
default ListOfferingTransactionsResponse |
listOfferingTransactions()
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
default ListOfferingTransactionsResponse |
listOfferingTransactions(Consumer<ListOfferingTransactionsRequest.Builder> listOfferingTransactionsRequest)
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
default ListOfferingTransactionsResponse |
listOfferingTransactions(ListOfferingTransactionsRequest listOfferingTransactionsRequest)
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
default ListOfferingTransactionsIterable |
listOfferingTransactionsPaginator()
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
default ListOfferingTransactionsIterable |
listOfferingTransactionsPaginator(Consumer<ListOfferingTransactionsRequest.Builder> listOfferingTransactionsRequest)
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
default ListOfferingTransactionsIterable |
listOfferingTransactionsPaginator(ListOfferingTransactionsRequest listOfferingTransactionsRequest)
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
default ListProjectsResponse |
listProjects()
Gets information about projects.
|
default ListProjectsResponse |
listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Gets information about projects.
|
default ListProjectsResponse |
listProjects(ListProjectsRequest listProjectsRequest)
Gets information about projects.
|
default ListProjectsIterable |
listProjectsPaginator()
Gets information about projects.
|
default ListProjectsIterable |
listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Gets information about projects.
|
default ListProjectsIterable |
listProjectsPaginator(ListProjectsRequest listProjectsRequest)
Gets information about projects.
|
default ListRemoteAccessSessionsResponse |
listRemoteAccessSessions(Consumer<ListRemoteAccessSessionsRequest.Builder> listRemoteAccessSessionsRequest)
Returns a list of all currently running remote access sessions.
|
default ListRemoteAccessSessionsResponse |
listRemoteAccessSessions(ListRemoteAccessSessionsRequest listRemoteAccessSessionsRequest)
Returns a list of all currently running remote access sessions.
|
default ListRunsResponse |
listRuns(Consumer<ListRunsRequest.Builder> listRunsRequest)
Gets information about runs, given an AWS Device Farm project ARN.
|
default ListRunsResponse |
listRuns(ListRunsRequest listRunsRequest)
Gets information about runs, given an AWS Device Farm project ARN.
|
default ListRunsIterable |
listRunsPaginator(Consumer<ListRunsRequest.Builder> listRunsRequest)
Gets information about runs, given an AWS Device Farm project ARN.
|
default ListRunsIterable |
listRunsPaginator(ListRunsRequest listRunsRequest)
Gets information about runs, given an AWS Device Farm project ARN.
|
default ListSamplesResponse |
listSamples(Consumer<ListSamplesRequest.Builder> listSamplesRequest)
Gets information about samples, given an AWS Device Farm project ARN
|
default ListSamplesResponse |
listSamples(ListSamplesRequest listSamplesRequest)
Gets information about samples, given an AWS Device Farm project ARN
|
default ListSamplesIterable |
listSamplesPaginator(Consumer<ListSamplesRequest.Builder> listSamplesRequest)
Gets information about samples, given an AWS Device Farm project ARN
|
default ListSamplesIterable |
listSamplesPaginator(ListSamplesRequest listSamplesRequest)
Gets information about samples, given an AWS Device Farm project ARN
|
default ListSuitesResponse |
listSuites(Consumer<ListSuitesRequest.Builder> listSuitesRequest)
Gets information about suites.
|
default ListSuitesResponse |
listSuites(ListSuitesRequest listSuitesRequest)
Gets information about suites.
|
default ListSuitesIterable |
listSuitesPaginator(Consumer<ListSuitesRequest.Builder> listSuitesRequest)
Gets information about suites.
|
default ListSuitesIterable |
listSuitesPaginator(ListSuitesRequest listSuitesRequest)
Gets information about suites.
|
default ListTestsResponse |
listTests(Consumer<ListTestsRequest.Builder> listTestsRequest)
Gets information about tests.
|
default ListTestsResponse |
listTests(ListTestsRequest listTestsRequest)
Gets information about tests.
|
default ListTestsIterable |
listTestsPaginator(Consumer<ListTestsRequest.Builder> listTestsRequest)
Gets information about tests.
|
default ListTestsIterable |
listTestsPaginator(ListTestsRequest listTestsRequest)
Gets information about tests.
|
default ListUniqueProblemsResponse |
listUniqueProblems(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest)
Gets information about unique problems.
|
default ListUniqueProblemsResponse |
listUniqueProblems(ListUniqueProblemsRequest listUniqueProblemsRequest)
Gets information about unique problems.
|
default ListUniqueProblemsIterable |
listUniqueProblemsPaginator(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest)
Gets information about unique problems.
|
default ListUniqueProblemsIterable |
listUniqueProblemsPaginator(ListUniqueProblemsRequest listUniqueProblemsRequest)
Gets information about unique problems.
|
default ListUploadsResponse |
listUploads(Consumer<ListUploadsRequest.Builder> listUploadsRequest)
Gets information about uploads, given an AWS Device Farm project ARN.
|
default ListUploadsResponse |
listUploads(ListUploadsRequest listUploadsRequest)
Gets information about uploads, given an AWS Device Farm project ARN.
|
default ListUploadsIterable |
listUploadsPaginator(Consumer<ListUploadsRequest.Builder> listUploadsRequest)
Gets information about uploads, given an AWS Device Farm project ARN.
|
default ListUploadsIterable |
listUploadsPaginator(ListUploadsRequest listUploadsRequest)
Gets information about uploads, given an AWS Device Farm project ARN.
|
default PurchaseOfferingResponse |
purchaseOffering(Consumer<PurchaseOfferingRequest.Builder> purchaseOfferingRequest)
Immediately purchases offerings for an AWS account.
|
default PurchaseOfferingResponse |
purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest)
Immediately purchases offerings for an AWS account.
|
default RenewOfferingResponse |
renewOffering(Consumer<RenewOfferingRequest.Builder> renewOfferingRequest)
Explicitly sets the quantity of devices to renew for an offering, starting from the
effectiveDate of
the next period. |
default RenewOfferingResponse |
renewOffering(RenewOfferingRequest renewOfferingRequest)
Explicitly sets the quantity of devices to renew for an offering, starting from the
effectiveDate of
the next period. |
default ScheduleRunResponse |
scheduleRun(Consumer<ScheduleRunRequest.Builder> scheduleRunRequest)
Schedules a run.
|
default ScheduleRunResponse |
scheduleRun(ScheduleRunRequest scheduleRunRequest)
Schedules a run.
|
static ServiceMetadata |
serviceMetadata() |
default StopRemoteAccessSessionResponse |
stopRemoteAccessSession(Consumer<StopRemoteAccessSessionRequest.Builder> stopRemoteAccessSessionRequest)
Ends a specified remote access session.
|
default StopRemoteAccessSessionResponse |
stopRemoteAccessSession(StopRemoteAccessSessionRequest stopRemoteAccessSessionRequest)
Ends a specified remote access session.
|
default StopRunResponse |
stopRun(Consumer<StopRunRequest.Builder> stopRunRequest)
Initiates a stop request for the current test run.
|
default StopRunResponse |
stopRun(StopRunRequest stopRunRequest)
Initiates a stop request for the current test run.
|
default UpdateDevicePoolResponse |
updateDevicePool(Consumer<UpdateDevicePoolRequest.Builder> updateDevicePoolRequest)
Modifies the name, description, and rules in a device pool given the attributes and the pool ARN.
|
default UpdateDevicePoolResponse |
updateDevicePool(UpdateDevicePoolRequest updateDevicePoolRequest)
Modifies the name, description, and rules in a device pool given the attributes and the pool ARN.
|
default UpdateNetworkProfileResponse |
updateNetworkProfile(Consumer<UpdateNetworkProfileRequest.Builder> updateNetworkProfileRequest)
Updates the network profile with specific settings.
|
default UpdateNetworkProfileResponse |
updateNetworkProfile(UpdateNetworkProfileRequest updateNetworkProfileRequest)
Updates the network profile with specific settings.
|
default UpdateProjectResponse |
updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)
Modifies the specified project name, given the project ARN and a new name.
|
default UpdateProjectResponse |
updateProject(UpdateProjectRequest updateProjectRequest)
Modifies the specified project name, given the project ARN and a new name.
|
serviceName
close
static final String SERVICE_NAME
static DeviceFarmClient create()
DeviceFarmClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static DeviceFarmClientBuilder builder()
DeviceFarmClient
.default CreateDevicePoolResponse createDevicePool(CreateDevicePoolRequest createDevicePoolRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateDevicePoolResponse createDevicePool(Consumer<CreateDevicePoolRequest.Builder> createDevicePoolRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Creates a device pool.
This is a convenience which creates an instance of the CreateDevicePoolRequest.Builder
avoiding the need
to create one manually via CreateDevicePoolRequest.builder()
createDevicePoolRequest
- A Consumer
that will call methods on CreateDevicePoolRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateNetworkProfileResponse createNetworkProfile(CreateNetworkProfileRequest createNetworkProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateNetworkProfileResponse createNetworkProfile(Consumer<CreateNetworkProfileRequest.Builder> createNetworkProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Creates a network profile.
This is a convenience which creates an instance of the CreateNetworkProfileRequest.Builder
avoiding the
need to create one manually via CreateNetworkProfileRequest.builder()
createNetworkProfileRequest
- A Consumer
that will call methods on CreateNetworkProfileRequest.Builder
to create a
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateProjectResponse createProject(CreateProjectRequest createProjectRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Creates a new 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateProjectResponse createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Creates a new project.
This is a convenience which creates an instance of the CreateProjectRequest.Builder
avoiding the need to
create one manually via CreateProjectRequest.builder()
createProjectRequest
- A Consumer
that will call methods on CreateProjectRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateRemoteAccessSessionResponse createRemoteAccessSession(CreateRemoteAccessSessionRequest createRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateRemoteAccessSessionResponse createRemoteAccessSession(Consumer<CreateRemoteAccessSessionRequest.Builder> createRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Specifies and starts a remote access session.
This is a convenience which creates an instance of the CreateRemoteAccessSessionRequest.Builder
avoiding
the need to create one manually via CreateRemoteAccessSessionRequest.builder()
createRemoteAccessSessionRequest
- A Consumer
that will call methods on CreateRemoteAccessSessionRequest.Builder
to create a
request. 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateUploadResponse createUpload(CreateUploadRequest createUploadRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateUploadResponse createUpload(Consumer<CreateUploadRequest.Builder> createUploadRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Uploads an app or test scripts.
This is a convenience which creates an instance of the CreateUploadRequest.Builder
avoiding the need to
create one manually via CreateUploadRequest.builder()
createUploadRequest
- A Consumer
that will call methods on CreateUploadRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteDevicePoolResponse deleteDevicePool(DeleteDevicePoolRequest deleteDevicePoolRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteDevicePoolResponse deleteDevicePool(Consumer<DeleteDevicePoolRequest.Builder> deleteDevicePoolRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
This is a convenience which creates an instance of the DeleteDevicePoolRequest.Builder
avoiding the need
to create one manually via DeleteDevicePoolRequest.builder()
deleteDevicePoolRequest
- A Consumer
that will call methods on DeleteDevicePoolRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteNetworkProfileResponse deleteNetworkProfile(DeleteNetworkProfileRequest deleteNetworkProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteNetworkProfileResponse deleteNetworkProfile(Consumer<DeleteNetworkProfileRequest.Builder> deleteNetworkProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Deletes a network profile.
This is a convenience which creates an instance of the DeleteNetworkProfileRequest.Builder
avoiding the
need to create one manually via DeleteNetworkProfileRequest.builder()
deleteNetworkProfileRequest
- A Consumer
that will call methods on DeleteNetworkProfileRequest.Builder
to create a
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteProjectResponse deleteProject(DeleteProjectRequest deleteProjectRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Deletes an AWS Device Farm project, given the project ARN.
Note 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteProjectResponse deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Deletes an AWS Device Farm project, given the project ARN.
Note Deleting this resource does not stop an in-progress run.
This is a convenience which creates an instance of the DeleteProjectRequest.Builder
avoiding the need to
create one manually via DeleteProjectRequest.builder()
deleteProjectRequest
- A Consumer
that will call methods on DeleteProjectRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteRemoteAccessSessionResponse deleteRemoteAccessSession(DeleteRemoteAccessSessionRequest deleteRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteRemoteAccessSessionResponse deleteRemoteAccessSession(Consumer<DeleteRemoteAccessSessionRequest.Builder> deleteRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Deletes a completed remote access session and its results.
This is a convenience which creates an instance of the DeleteRemoteAccessSessionRequest.Builder
avoiding
the need to create one manually via DeleteRemoteAccessSessionRequest.builder()
deleteRemoteAccessSessionRequest
- A Consumer
that will call methods on DeleteRemoteAccessSessionRequest.Builder
to create a
request. 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteRunResponse deleteRun(DeleteRunRequest deleteRunRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Deletes the run, given the run ARN.
Note 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteRunResponse deleteRun(Consumer<DeleteRunRequest.Builder> deleteRunRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Deletes the run, given the run ARN.
Note Deleting this resource does not stop an in-progress run.
This is a convenience which creates an instance of the DeleteRunRequest.Builder
avoiding the need to
create one manually via DeleteRunRequest.builder()
deleteRunRequest
- A Consumer
that will call methods on DeleteRunRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteUploadResponse deleteUpload(DeleteUploadRequest deleteUploadRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteUploadResponse deleteUpload(Consumer<DeleteUploadRequest.Builder> deleteUploadRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Deletes an upload given the upload ARN.
This is a convenience which creates an instance of the DeleteUploadRequest.Builder
avoiding the need to
create one manually via DeleteUploadRequest.builder()
deleteUploadRequest
- A Consumer
that will call methods on DeleteUploadRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetAccountSettingsResponse getAccountSettings() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
getAccountSettings(GetAccountSettingsRequest)
,
AWS
API Documentationdefault GetAccountSettingsResponse getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns the number of unmetered iOS and/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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetAccountSettingsResponse getAccountSettings(Consumer<GetAccountSettingsRequest.Builder> getAccountSettingsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
This is a convenience which creates an instance of the GetAccountSettingsRequest.Builder
avoiding the
need to create one manually via GetAccountSettingsRequest.builder()
getAccountSettingsRequest
- A Consumer
that will call methods on GetAccountSettingsRequest.Builder
to create a
request. 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDeviceResponse getDevice(GetDeviceRequest getDeviceRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDeviceResponse getDevice(Consumer<GetDeviceRequest.Builder> getDeviceRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about a unique device type.
This is a convenience which creates an instance of the GetDeviceRequest.Builder
avoiding the need to
create one manually via GetDeviceRequest.builder()
getDeviceRequest
- A Consumer
that will call methods on GetDeviceRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDevicePoolResponse getDevicePool(GetDevicePoolRequest getDevicePoolRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDevicePoolResponse getDevicePool(Consumer<GetDevicePoolRequest.Builder> getDevicePoolRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about a device pool.
This is a convenience which creates an instance of the GetDevicePoolRequest.Builder
avoiding the need to
create one manually via GetDevicePoolRequest.builder()
getDevicePoolRequest
- A Consumer
that will call methods on GetDevicePoolRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDevicePoolCompatibilityResponse getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetDevicePoolCompatibilityResponse getDevicePoolCompatibility(Consumer<GetDevicePoolCompatibilityRequest.Builder> getDevicePoolCompatibilityRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about compatibility with a device pool.
This is a convenience which creates an instance of the GetDevicePoolCompatibilityRequest.Builder
avoiding
the need to create one manually via GetDevicePoolCompatibilityRequest.builder()
getDevicePoolCompatibilityRequest
- A Consumer
that will call methods on GetDevicePoolCompatibilityRequest.Builder
to create a
request. 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetJobResponse getJob(GetJobRequest getJobRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetJobResponse getJob(Consumer<GetJobRequest.Builder> getJobRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about a job.
This is a convenience which creates an instance of the GetJobRequest.Builder
avoiding the need to create
one manually via GetJobRequest.builder()
getJobRequest
- A Consumer
that will call methods on GetJobRequest.Builder
to create a request. 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetNetworkProfileResponse getNetworkProfile(GetNetworkProfileRequest getNetworkProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetNetworkProfileResponse getNetworkProfile(Consumer<GetNetworkProfileRequest.Builder> getNetworkProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns information about a network profile.
This is a convenience which creates an instance of the GetNetworkProfileRequest.Builder
avoiding the need
to create one manually via GetNetworkProfileRequest.builder()
getNetworkProfileRequest
- A Consumer
that will call methods on GetNetworkProfileRequest.Builder
to create a 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetOfferingStatusResponse getOfferingStatus() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
getOfferingStatus(GetOfferingStatusRequest)
,
AWS
API Documentationdefault GetOfferingStatusResponse getOfferingStatus(GetOfferingStatusRequest getOfferingStatusRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetOfferingStatusResponse getOfferingStatus(Consumer<GetOfferingStatusRequest.Builder> getOfferingStatusRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a convenience which creates an instance of the GetOfferingStatusRequest.Builder
avoiding the need
to create one manually via GetOfferingStatusRequest.builder()
getOfferingStatusRequest
- A Consumer
that will call methods on GetOfferingStatusRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetOfferingStatusIterable getOfferingStatusPaginator() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a variant of
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client.getOfferingStatusPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client .getOfferingStatusPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client.getOfferingStatusPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
getOfferingStatusPaginator(GetOfferingStatusRequest)
,
AWS
API Documentationdefault GetOfferingStatusIterable getOfferingStatusPaginator(GetOfferingStatusRequest getOfferingStatusRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a variant of
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client.getOfferingStatusPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client .getOfferingStatusPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client.getOfferingStatusPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetOfferingStatusIterable getOfferingStatusPaginator(Consumer<GetOfferingStatusRequest.Builder> getOfferingStatusRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a variant of
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client.getOfferingStatusPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client .getOfferingStatusPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client.getOfferingStatusPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.
This is a convenience which creates an instance of the GetOfferingStatusRequest.Builder
avoiding the need
to create one manually via GetOfferingStatusRequest.builder()
getOfferingStatusRequest
- A Consumer
that will call methods on GetOfferingStatusRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetProjectResponse getProject(GetProjectRequest getProjectRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetProjectResponse getProject(Consumer<GetProjectRequest.Builder> getProjectRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about a project.
This is a convenience which creates an instance of the GetProjectRequest.Builder
avoiding the need to
create one manually via GetProjectRequest.builder()
getProjectRequest
- A Consumer
that will call methods on GetProjectRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetRemoteAccessSessionResponse getRemoteAccessSession(GetRemoteAccessSessionRequest getRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetRemoteAccessSessionResponse getRemoteAccessSession(Consumer<GetRemoteAccessSessionRequest.Builder> getRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns a link to a currently running remote access session.
This is a convenience which creates an instance of the GetRemoteAccessSessionRequest.Builder
avoiding the
need to create one manually via GetRemoteAccessSessionRequest.builder()
getRemoteAccessSessionRequest
- A Consumer
that will call methods on GetRemoteAccessSessionRequest.Builder
to create a
request. 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetRunResponse getRun(GetRunRequest getRunRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetRunResponse getRun(Consumer<GetRunRequest.Builder> getRunRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about a run.
This is a convenience which creates an instance of the GetRunRequest.Builder
avoiding the need to create
one manually via GetRunRequest.builder()
getRunRequest
- A Consumer
that will call methods on GetRunRequest.Builder
to create a request. 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetSuiteResponse getSuite(GetSuiteRequest getSuiteRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetSuiteResponse getSuite(Consumer<GetSuiteRequest.Builder> getSuiteRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about a suite.
This is a convenience which creates an instance of the GetSuiteRequest.Builder
avoiding the need to
create one manually via GetSuiteRequest.builder()
getSuiteRequest
- A Consumer
that will call methods on GetSuiteRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetTestResponse getTest(GetTestRequest getTestRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetTestResponse getTest(Consumer<GetTestRequest.Builder> getTestRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about a test.
This is a convenience which creates an instance of the GetTestRequest.Builder
avoiding the need to create
one manually via GetTestRequest.builder()
getTestRequest
- A Consumer
that will call methods on GetTestRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetUploadResponse getUpload(GetUploadRequest getUploadRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetUploadResponse getUpload(Consumer<GetUploadRequest.Builder> getUploadRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about an upload.
This is a convenience which creates an instance of the GetUploadRequest.Builder
avoiding the need to
create one manually via GetUploadRequest.builder()
getUploadRequest
- A Consumer
that will call methods on GetUploadRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default InstallToRemoteAccessSessionResponse installToRemoteAccessSession(InstallToRemoteAccessSessionRequest installToRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default InstallToRemoteAccessSessionResponse installToRemoteAccessSession(Consumer<InstallToRemoteAccessSessionRequest.Builder> installToRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a convenience which creates an instance of the InstallToRemoteAccessSessionRequest.Builder
avoiding the need to create one manually via InstallToRemoteAccessSessionRequest.builder()
installToRemoteAccessSessionRequest
- A Consumer
that will call methods on InstallToRemoteAccessSessionRequest.Builder
to create
a 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.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListArtifactsResponse listArtifacts(ListArtifactsRequest listArtifactsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListArtifactsResponse listArtifacts(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about artifacts.
This is a convenience which creates an instance of the ListArtifactsRequest.Builder
avoiding the need to
create one manually via ListArtifactsRequest.builder()
listArtifactsRequest
- A Consumer
that will call methods on ListArtifactsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListArtifactsIterable listArtifactsPaginator(ListArtifactsRequest listArtifactsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about artifacts.
This is a variant of
listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsIterable responses = client.listArtifactsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsIterable responses = client .listArtifactsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListArtifactsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsIterable responses = client.listArtifactsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListArtifactsIterable listArtifactsPaginator(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about artifacts.
This is a variant of
listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsIterable responses = client.listArtifactsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsIterable responses = client .listArtifactsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListArtifactsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsIterable responses = client.listArtifactsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest)
operation.
This is a convenience which creates an instance of the ListArtifactsRequest.Builder
avoiding the need to
create one manually via ListArtifactsRequest.builder()
listArtifactsRequest
- A Consumer
that will call methods on ListArtifactsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDevicePoolsResponse listDevicePools(ListDevicePoolsRequest listDevicePoolsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDevicePoolsResponse listDevicePools(Consumer<ListDevicePoolsRequest.Builder> listDevicePoolsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about device pools.
This is a convenience which creates an instance of the ListDevicePoolsRequest.Builder
avoiding the need
to create one manually via ListDevicePoolsRequest.builder()
listDevicePoolsRequest
- A Consumer
that will call methods on ListDevicePoolsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDevicePoolsIterable listDevicePoolsPaginator(ListDevicePoolsRequest listDevicePoolsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about device pools.
This is a variant of
listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsIterable responses = client.listDevicePoolsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsIterable responses = client .listDevicePoolsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsIterable responses = client.listDevicePoolsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDevicePoolsIterable listDevicePoolsPaginator(Consumer<ListDevicePoolsRequest.Builder> listDevicePoolsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about device pools.
This is a variant of
listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsIterable responses = client.listDevicePoolsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsIterable responses = client .listDevicePoolsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsIterable responses = client.listDevicePoolsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest)
operation.
This is a convenience which creates an instance of the ListDevicePoolsRequest.Builder
avoiding the need
to create one manually via ListDevicePoolsRequest.builder()
listDevicePoolsRequest
- A Consumer
that will call methods on ListDevicePoolsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDevicesResponse listDevices() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about unique device types.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listDevices(ListDevicesRequest)
,
AWS API
Documentationdefault ListDevicesResponse listDevices(ListDevicesRequest listDevicesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDevicesResponse listDevices(Consumer<ListDevicesRequest.Builder> listDevicesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about unique device types.
This is a convenience which creates an instance of the ListDevicesRequest.Builder
avoiding the need to
create one manually via ListDevicesRequest.builder()
listDevicesRequest
- A Consumer
that will call methods on ListDevicesRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDevicesIterable listDevicesPaginator() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about unique device types.
This is a variant of listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listDevicesPaginator(ListDevicesRequest)
,
AWS API
Documentationdefault ListDevicesIterable listDevicesPaginator(ListDevicesRequest listDevicesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about unique device types.
This is a variant of listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListDevicesIterable listDevicesPaginator(Consumer<ListDevicesRequest.Builder> listDevicesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about unique device types.
This is a variant of listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation.
This is a convenience which creates an instance of the ListDevicesRequest.Builder
avoiding the need to
create one manually via ListDevicesRequest.builder()
listDevicesRequest
- A Consumer
that will call methods on ListDevicesRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListJobsResponse listJobs(ListJobsRequest listJobsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about jobs.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListJobsResponse listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about jobs.
This is a convenience which creates an instance of the ListJobsRequest.Builder
avoiding the need to
create one manually via ListJobsRequest.builder()
listJobsRequest
- A Consumer
that will call methods on ListJobsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListJobsIterable listJobsPaginator(ListJobsRequest listJobsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about jobs.
This is a variant of listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListJobsIterable responses = client.listJobsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListJobsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListJobsIterable listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about jobs.
This is a variant of listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListJobsIterable responses = client.listJobsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListJobsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListJobsIterable responses = client.listJobsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest)
operation.
This is a convenience which creates an instance of the ListJobsRequest.Builder
avoiding the need to
create one manually via ListJobsRequest.builder()
listJobsRequest
- A Consumer
that will call methods on ListJobsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListNetworkProfilesResponse listNetworkProfiles(ListNetworkProfilesRequest listNetworkProfilesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListNetworkProfilesResponse listNetworkProfiles(Consumer<ListNetworkProfilesRequest.Builder> listNetworkProfilesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns the list of available network profiles.
This is a convenience which creates an instance of the ListNetworkProfilesRequest.Builder
avoiding the
need to create one manually via ListNetworkProfilesRequest.builder()
listNetworkProfilesRequest
- A Consumer
that will call methods on ListNetworkProfilesRequest.Builder
to create a
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOfferingPromotionsResponse listOfferingPromotions() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listOfferingPromotions(ListOfferingPromotionsRequest)
,
AWS API Documentationdefault ListOfferingPromotionsResponse listOfferingPromotions(ListOfferingPromotionsRequest listOfferingPromotionsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOfferingPromotionsResponse listOfferingPromotions(Consumer<ListOfferingPromotionsRequest.Builder> listOfferingPromotionsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a convenience which creates an instance of the ListOfferingPromotionsRequest.Builder
avoiding the
need to create one manually via ListOfferingPromotionsRequest.builder()
listOfferingPromotionsRequest
- A Consumer
that will call methods on ListOfferingPromotionsRequest.Builder
to create a
request.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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOfferingTransactionsResponse listOfferingTransactions() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listOfferingTransactions(ListOfferingTransactionsRequest)
,
AWS API Documentationdefault ListOfferingTransactionsResponse listOfferingTransactions(ListOfferingTransactionsRequest listOfferingTransactionsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOfferingTransactionsResponse listOfferingTransactions(Consumer<ListOfferingTransactionsRequest.Builder> listOfferingTransactionsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a convenience which creates an instance of the ListOfferingTransactionsRequest.Builder
avoiding
the need to create one manually via ListOfferingTransactionsRequest.builder()
listOfferingTransactionsRequest
- A Consumer
that will call methods on ListOfferingTransactionsRequest.Builder
to create a
request. 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOfferingTransactionsIterable listOfferingTransactionsPaginator() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a variant of
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client.listOfferingTransactionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client .listOfferingTransactionsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client.listOfferingTransactionsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listOfferingTransactionsPaginator(ListOfferingTransactionsRequest)
,
AWS API Documentationdefault ListOfferingTransactionsIterable listOfferingTransactionsPaginator(ListOfferingTransactionsRequest listOfferingTransactionsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a variant of
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client.listOfferingTransactionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client .listOfferingTransactionsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client.listOfferingTransactionsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOfferingTransactionsIterable listOfferingTransactionsPaginator(Consumer<ListOfferingTransactionsRequest.Builder> listOfferingTransactionsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a variant of
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client.listOfferingTransactionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client .listOfferingTransactionsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client.listOfferingTransactionsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation.
This is a convenience which creates an instance of the ListOfferingTransactionsRequest.Builder
avoiding
the need to create one manually via ListOfferingTransactionsRequest.builder()
listOfferingTransactionsRequest
- A Consumer
that will call methods on ListOfferingTransactionsRequest.Builder
to create a
request. 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOfferingsResponse listOfferings() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listOfferings(ListOfferingsRequest)
,
AWS API
Documentationdefault ListOfferingsResponse listOfferings(ListOfferingsRequest listOfferingsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOfferingsResponse listOfferings(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a convenience which creates an instance of the ListOfferingsRequest.Builder
avoiding the need to
create one manually via ListOfferingsRequest.builder()
listOfferingsRequest
- A Consumer
that will call methods on ListOfferingsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOfferingsIterable listOfferingsPaginator() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a variant of
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client .listOfferingsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listOfferingsPaginator(ListOfferingsRequest)
,
AWS API
Documentationdefault ListOfferingsIterable listOfferingsPaginator(ListOfferingsRequest listOfferingsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a variant of
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client .listOfferingsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListOfferingsIterable listOfferingsPaginator(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a variant of
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client .listOfferingsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation.
This is a convenience which creates an instance of the ListOfferingsRequest.Builder
avoiding the need to
create one manually via ListOfferingsRequest.builder()
listOfferingsRequest
- A Consumer
that will call methods on ListOfferingsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListProjectsResponse listProjects() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about projects.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listProjects(ListProjectsRequest)
,
AWS API
Documentationdefault ListProjectsResponse listProjects(ListProjectsRequest listProjectsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListProjectsResponse listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about projects.
This is a convenience which creates an instance of the ListProjectsRequest.Builder
avoiding the need to
create one manually via ListProjectsRequest.builder()
listProjectsRequest
- A Consumer
that will call methods on ListProjectsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListProjectsIterable listProjectsPaginator() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about projects.
This is a variant of listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
listProjectsPaginator(ListProjectsRequest)
,
AWS API
Documentationdefault ListProjectsIterable listProjectsPaginator(ListProjectsRequest listProjectsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about projects.
This is a variant of listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListProjectsIterable listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about projects.
This is a variant of listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
operation.
This is a convenience which creates an instance of the ListProjectsRequest.Builder
avoiding the need to
create one manually via ListProjectsRequest.builder()
listProjectsRequest
- A Consumer
that will call methods on ListProjectsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListRemoteAccessSessionsResponse listRemoteAccessSessions(ListRemoteAccessSessionsRequest listRemoteAccessSessionsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListRemoteAccessSessionsResponse listRemoteAccessSessions(Consumer<ListRemoteAccessSessionsRequest.Builder> listRemoteAccessSessionsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns a list of all currently running remote access sessions.
This is a convenience which creates an instance of the ListRemoteAccessSessionsRequest.Builder
avoiding
the need to create one manually via ListRemoteAccessSessionsRequest.builder()
listRemoteAccessSessionsRequest
- A Consumer
that will call methods on ListRemoteAccessSessionsRequest.Builder
to create a
request. 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListRunsResponse listRuns(ListRunsRequest listRunsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListRunsResponse listRuns(Consumer<ListRunsRequest.Builder> listRunsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about runs, given an AWS Device Farm project ARN.
This is a convenience which creates an instance of the ListRunsRequest.Builder
avoiding the need to
create one manually via ListRunsRequest.builder()
listRunsRequest
- A Consumer
that will call methods on ListRunsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListRunsIterable listRunsPaginator(ListRunsRequest listRunsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about runs, given an AWS Device Farm project ARN.
This is a variant of listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListRunsIterable responses = client.listRunsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListRunsIterable responses = client.listRunsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListRunsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListRunsIterable responses = client.listRunsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListRunsIterable listRunsPaginator(Consumer<ListRunsRequest.Builder> listRunsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about runs, given an AWS Device Farm project ARN.
This is a variant of listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListRunsIterable responses = client.listRunsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListRunsIterable responses = client.listRunsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListRunsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListRunsIterable responses = client.listRunsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest)
operation.
This is a convenience which creates an instance of the ListRunsRequest.Builder
avoiding the need to
create one manually via ListRunsRequest.builder()
listRunsRequest
- A Consumer
that will call methods on ListRunsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListSamplesResponse listSamples(ListSamplesRequest listSamplesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about samples, given an AWS Device Farm project 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListSamplesResponse listSamples(Consumer<ListSamplesRequest.Builder> listSamplesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about samples, given an AWS Device Farm project ARN
This is a convenience which creates an instance of the ListSamplesRequest.Builder
avoiding the need to
create one manually via ListSamplesRequest.builder()
listSamplesRequest
- A Consumer
that will call methods on ListSamplesRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListSamplesIterable listSamplesPaginator(ListSamplesRequest listSamplesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about samples, given an AWS Device Farm project ARN
This is a variant of listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListSamplesIterable responses = client.listSamplesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListSamplesIterable responses = client.listSamplesPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListSamplesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListSamplesIterable responses = client.listSamplesPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListSamplesIterable listSamplesPaginator(Consumer<ListSamplesRequest.Builder> listSamplesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about samples, given an AWS Device Farm project ARN
This is a variant of listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListSamplesIterable responses = client.listSamplesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListSamplesIterable responses = client.listSamplesPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListSamplesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListSamplesIterable responses = client.listSamplesPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest)
operation.
This is a convenience which creates an instance of the ListSamplesRequest.Builder
avoiding the need to
create one manually via ListSamplesRequest.builder()
listSamplesRequest
- A Consumer
that will call methods on ListSamplesRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListSuitesResponse listSuites(ListSuitesRequest listSuitesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about suites.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListSuitesResponse listSuites(Consumer<ListSuitesRequest.Builder> listSuitesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about suites.
This is a convenience which creates an instance of the ListSuitesRequest.Builder
avoiding the need to
create one manually via ListSuitesRequest.builder()
listSuitesRequest
- A Consumer
that will call methods on ListSuitesRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListSuitesIterable listSuitesPaginator(ListSuitesRequest listSuitesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about suites.
This is a variant of listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListSuitesIterable responses = client.listSuitesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListSuitesIterable responses = client.listSuitesPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListSuitesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListSuitesIterable responses = client.listSuitesPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListSuitesIterable listSuitesPaginator(Consumer<ListSuitesRequest.Builder> listSuitesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about suites.
This is a variant of listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListSuitesIterable responses = client.listSuitesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListSuitesIterable responses = client.listSuitesPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListSuitesResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListSuitesIterable responses = client.listSuitesPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest)
operation.
This is a convenience which creates an instance of the ListSuitesRequest.Builder
avoiding the need to
create one manually via ListSuitesRequest.builder()
listSuitesRequest
- A Consumer
that will call methods on ListSuitesRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTestsResponse listTests(ListTestsRequest listTestsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about tests.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTestsResponse listTests(Consumer<ListTestsRequest.Builder> listTestsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about tests.
This is a convenience which creates an instance of the ListTestsRequest.Builder
avoiding the need to
create one manually via ListTestsRequest.builder()
listTestsRequest
- A Consumer
that will call methods on ListTestsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTestsIterable listTestsPaginator(ListTestsRequest listTestsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about tests.
This is a variant of listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListTestsIterable responses = client.listTestsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListTestsIterable responses = client.listTestsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListTestsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListTestsIterable responses = client.listTestsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTestsIterable listTestsPaginator(Consumer<ListTestsRequest.Builder> listTestsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about tests.
This is a variant of listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListTestsIterable responses = client.listTestsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListTestsIterable responses = client.listTestsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListTestsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListTestsIterable responses = client.listTestsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest)
operation.
This is a convenience which creates an instance of the ListTestsRequest.Builder
avoiding the need to
create one manually via ListTestsRequest.builder()
listTestsRequest
- A Consumer
that will call methods on ListTestsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListUniqueProblemsResponse listUniqueProblems(ListUniqueProblemsRequest listUniqueProblemsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about unique problems.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListUniqueProblemsResponse listUniqueProblems(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about unique problems.
This is a convenience which creates an instance of the ListUniqueProblemsRequest.Builder
avoiding the
need to create one manually via ListUniqueProblemsRequest.builder()
listUniqueProblemsRequest
- A Consumer
that will call methods on ListUniqueProblemsRequest.Builder
to create a
request. 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListUniqueProblemsIterable listUniqueProblemsPaginator(ListUniqueProblemsRequest listUniqueProblemsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about unique problems.
This is a variant of
listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsIterable responses = client.listUniqueProblemsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsIterable responses = client .listUniqueProblemsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsIterable responses = client.listUniqueProblemsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListUniqueProblemsIterable listUniqueProblemsPaginator(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about unique problems.
This is a variant of
listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsIterable responses = client.listUniqueProblemsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsIterable responses = client .listUniqueProblemsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsIterable responses = client.listUniqueProblemsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest)
operation.
This is a convenience which creates an instance of the ListUniqueProblemsRequest.Builder
avoiding the
need to create one manually via ListUniqueProblemsRequest.builder()
listUniqueProblemsRequest
- A Consumer
that will call methods on ListUniqueProblemsRequest.Builder
to create a
request. 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListUploadsResponse listUploads(ListUploadsRequest listUploadsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListUploadsResponse listUploads(Consumer<ListUploadsRequest.Builder> listUploadsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about uploads, given an AWS Device Farm project ARN.
This is a convenience which creates an instance of the ListUploadsRequest.Builder
avoiding the need to
create one manually via ListUploadsRequest.builder()
listUploadsRequest
- A Consumer
that will call methods on ListUploadsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListUploadsIterable listUploadsPaginator(ListUploadsRequest listUploadsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about uploads, given an AWS Device Farm project ARN.
This is a variant of listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListUploadsIterable responses = client.listUploadsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListUploadsIterable responses = client.listUploadsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListUploadsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListUploadsIterable responses = client.listUploadsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest)
operation.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListUploadsIterable listUploadsPaginator(Consumer<ListUploadsRequest.Builder> listUploadsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about uploads, given an AWS Device Farm project ARN.
This is a variant of listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.devicefarm.paginators.ListUploadsIterable responses = client.listUploadsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListUploadsIterable responses = client.listUploadsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListUploadsResponse response : responses) { // do something; } }3) Use iterator directly
software.amazon.awssdk.services.devicefarm.paginators.ListUploadsIterable responses = client.listUploadsPaginator(request);
responses.iterator().forEachRemaining(....);
Note: If you prefer to have control on service calls, use the
listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest)
operation.
This is a convenience which creates an instance of the ListUploadsRequest.Builder
avoiding the need to
create one manually via ListUploadsRequest.builder()
listUploadsRequest
- A Consumer
that will call methods on ListUploadsRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default PurchaseOfferingResponse purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default PurchaseOfferingResponse purchaseOffering(Consumer<PurchaseOfferingRequest.Builder> purchaseOfferingRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a convenience which creates an instance of the PurchaseOfferingRequest.Builder
avoiding the need
to create one manually via PurchaseOfferingRequest.builder()
purchaseOfferingRequest
- A Consumer
that will call methods on PurchaseOfferingRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RenewOfferingResponse renewOffering(RenewOfferingRequest renewOfferingRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
renewOfferingRequest
- A request representing 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default RenewOfferingResponse renewOffering(Consumer<RenewOfferingRequest.Builder> renewOfferingRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a convenience which creates an instance of the RenewOfferingRequest.Builder
avoiding the need to
create one manually via RenewOfferingRequest.builder()
renewOfferingRequest
- A Consumer
that will call methods on RenewOfferingRequest.Builder
to create a request. A
request representing 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ScheduleRunResponse scheduleRun(ScheduleRunRequest scheduleRunRequest) throws ArgumentException, NotFoundException, LimitExceededException, IdempotencyException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ScheduleRunResponse scheduleRun(Consumer<ScheduleRunRequest.Builder> scheduleRunRequest) throws ArgumentException, NotFoundException, LimitExceededException, IdempotencyException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Schedules a run.
This is a convenience which creates an instance of the ScheduleRunRequest.Builder
avoiding the need to
create one manually via ScheduleRunRequest.builder()
scheduleRunRequest
- A Consumer
that will call methods on ScheduleRunRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopRemoteAccessSessionResponse stopRemoteAccessSession(StopRemoteAccessSessionRequest stopRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopRemoteAccessSessionResponse stopRemoteAccessSession(Consumer<StopRemoteAccessSessionRequest.Builder> stopRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Ends a specified remote access session.
This is a convenience which creates an instance of the StopRemoteAccessSessionRequest.Builder
avoiding
the need to create one manually via StopRemoteAccessSessionRequest.builder()
stopRemoteAccessSessionRequest
- A Consumer
that will call methods on StopRemoteAccessSessionRequest.Builder
to create a
request. 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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopRunResponse stopRun(StopRunRequest stopRunRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default StopRunResponse stopRun(Consumer<StopRunRequest.Builder> stopRunRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.
This is a convenience which creates an instance of the StopRunRequest.Builder
avoiding the need to create
one manually via StopRunRequest.builder()
stopRunRequest
- A Consumer
that will call methods on StopRunRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateDevicePoolResponse updateDevicePool(UpdateDevicePoolRequest updateDevicePoolRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateDevicePoolResponse updateDevicePool(Consumer<UpdateDevicePoolRequest.Builder> updateDevicePoolRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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).
This is a convenience which creates an instance of the UpdateDevicePoolRequest.Builder
avoiding the need
to create one manually via UpdateDevicePoolRequest.builder()
updateDevicePoolRequest
- A Consumer
that will call methods on UpdateDevicePoolRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateNetworkProfileResponse updateNetworkProfile(UpdateNetworkProfileRequest updateNetworkProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Updates the network profile with specific settings.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateNetworkProfileResponse updateNetworkProfile(Consumer<UpdateNetworkProfileRequest.Builder> updateNetworkProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Updates the network profile with specific settings.
This is a convenience which creates an instance of the UpdateNetworkProfileRequest.Builder
avoiding the
need to create one manually via UpdateNetworkProfileRequest.builder()
updateNetworkProfileRequest
- A Consumer
that will call methods on UpdateNetworkProfileRequest.Builder
to create a
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateProjectResponse updateProject(UpdateProjectRequest updateProjectRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateProjectResponse updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Modifies the specified project name, given the project ARN and a new name.
This is a convenience which creates an instance of the UpdateProjectRequest.Builder
avoiding the need to
create one manually via UpdateProjectRequest.builder()
updateProjectRequest
- A Consumer
that will call methods on UpdateProjectRequest.Builder
to create a request.
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.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.