Interface DeviceFarmClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
builder()
method.
Welcome to the AWS Device Farm API documentation, which contains APIs for:
-
Testing on desktop browsers
Device Farm makes it possible for you to test your web applications on desktop browsers using Selenium. The APIs for desktop browser testing contain
TestGrid
in their names. For more information, see Testing Web Applications on Selenium with Device Farm. -
Testing on real mobile devices
Device Farm makes it possible for you to test apps on physical phones, tablets, and other devices in the cloud. For more information, see the Device Farm Developer Guide.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptionstatic DeviceFarmClientBuilder
builder()
Create a builder that can be used to configure and create aDeviceFarmClient
.static DeviceFarmClient
create()
Create aDeviceFarmClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CreateDevicePoolResponse
createDevicePool
(Consumer<CreateDevicePoolRequest.Builder> createDevicePoolRequest) Creates a device pool.default CreateDevicePoolResponse
createDevicePool
(CreateDevicePoolRequest createDevicePoolRequest) Creates a device pool.default CreateInstanceProfileResponse
createInstanceProfile
(Consumer<CreateInstanceProfileRequest.Builder> createInstanceProfileRequest) Creates a profile that can be applied to one or more private fleet device instances.default CreateInstanceProfileResponse
createInstanceProfile
(CreateInstanceProfileRequest createInstanceProfileRequest) Creates a profile that can be applied to one or more private fleet device instances.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 project.default CreateProjectResponse
createProject
(CreateProjectRequest createProjectRequest) Creates a project.createRemoteAccessSession
(Consumer<CreateRemoteAccessSessionRequest.Builder> createRemoteAccessSessionRequest) Specifies and starts a remote access session.createRemoteAccessSession
(CreateRemoteAccessSessionRequest createRemoteAccessSessionRequest) Specifies and starts a remote access session.default CreateTestGridProjectResponse
createTestGridProject
(Consumer<CreateTestGridProjectRequest.Builder> createTestGridProjectRequest) Creates a Selenium testing project.default CreateTestGridProjectResponse
createTestGridProject
(CreateTestGridProjectRequest createTestGridProjectRequest) Creates a Selenium testing project.default CreateTestGridUrlResponse
createTestGridUrl
(Consumer<CreateTestGridUrlRequest.Builder> createTestGridUrlRequest) Creates a signed, short-term URL that can be passed to a SeleniumRemoteWebDriver
constructor.default CreateTestGridUrlResponse
createTestGridUrl
(CreateTestGridUrlRequest createTestGridUrlRequest) Creates a signed, short-term URL that can be passed to a SeleniumRemoteWebDriver
constructor.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 CreateVpceConfigurationResponse
createVPCEConfiguration
(Consumer<CreateVpceConfigurationRequest.Builder> createVpceConfigurationRequest) Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.default CreateVpceConfigurationResponse
createVPCEConfiguration
(CreateVpceConfigurationRequest createVpceConfigurationRequest) Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.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 DeleteInstanceProfileResponse
deleteInstanceProfile
(Consumer<DeleteInstanceProfileRequest.Builder> deleteInstanceProfileRequest) Deletes a profile that can be applied to one or more private device instances.default DeleteInstanceProfileResponse
deleteInstanceProfile
(DeleteInstanceProfileRequest deleteInstanceProfileRequest) Deletes a profile that can be applied to one or more private device instances.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.deleteRemoteAccessSession
(Consumer<DeleteRemoteAccessSessionRequest.Builder> deleteRemoteAccessSessionRequest) Deletes a completed remote access session and its results.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 DeleteTestGridProjectResponse
deleteTestGridProject
(Consumer<DeleteTestGridProjectRequest.Builder> deleteTestGridProjectRequest) Deletes a Selenium testing project and all content generated under it.default DeleteTestGridProjectResponse
deleteTestGridProject
(DeleteTestGridProjectRequest deleteTestGridProjectRequest) Deletes a Selenium testing project and all content generated under it.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 DeleteVpceConfigurationResponse
deleteVPCEConfiguration
(Consumer<DeleteVpceConfigurationRequest.Builder> deleteVpceConfigurationRequest) Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.default DeleteVpceConfigurationResponse
deleteVPCEConfiguration
(DeleteVpceConfigurationRequest deleteVpceConfigurationRequest) Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.default GetAccountSettingsResponse
Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.default GetAccountSettingsResponse
getAccountSettings
(Consumer<GetAccountSettingsRequest.Builder> getAccountSettingsRequest) Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.default GetAccountSettingsResponse
getAccountSettings
(GetAccountSettingsRequest getAccountSettingsRequest) Returns the number of unmetered iOS 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 GetDeviceInstanceResponse
getDeviceInstance
(Consumer<GetDeviceInstanceRequest.Builder> getDeviceInstanceRequest) Returns information about a device instance that belongs to a private device fleet.default GetDeviceInstanceResponse
getDeviceInstance
(GetDeviceInstanceRequest getDeviceInstanceRequest) Returns information about a device instance that belongs to a private device fleet.default GetDevicePoolResponse
getDevicePool
(Consumer<GetDevicePoolRequest.Builder> getDevicePoolRequest) Gets information about a device pool.default GetDevicePoolResponse
getDevicePool
(GetDevicePoolRequest getDevicePoolRequest) Gets information about a device pool.getDevicePoolCompatibility
(Consumer<GetDevicePoolCompatibilityRequest.Builder> getDevicePoolCompatibilityRequest) Gets information about compatibility with a device pool.getDevicePoolCompatibility
(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest) Gets information about compatibility with a device pool.default GetInstanceProfileResponse
getInstanceProfile
(Consumer<GetInstanceProfileRequest.Builder> getInstanceProfileRequest) Returns information about the specified instance profile.default GetInstanceProfileResponse
getInstanceProfile
(GetInstanceProfileRequest getInstanceProfileRequest) Returns information about the specified instance profile.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
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
This is a variant ofgetOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.default GetOfferingStatusIterable
getOfferingStatusPaginator
(Consumer<GetOfferingStatusRequest.Builder> getOfferingStatusRequest) This is a variant ofgetOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.default GetOfferingStatusIterable
getOfferingStatusPaginator
(GetOfferingStatusRequest getOfferingStatusRequest) This is a variant ofgetOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.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 GetTestGridProjectResponse
getTestGridProject
(Consumer<GetTestGridProjectRequest.Builder> getTestGridProjectRequest) Retrieves information about a Selenium testing project.default GetTestGridProjectResponse
getTestGridProject
(GetTestGridProjectRequest getTestGridProjectRequest) Retrieves information about a Selenium testing project.default GetTestGridSessionResponse
getTestGridSession
(Consumer<GetTestGridSessionRequest.Builder> getTestGridSessionRequest) A session is an instance of a browser created through aRemoteWebDriver
with the URL from CreateTestGridUrlResultinvalid input: '$'url.default GetTestGridSessionResponse
getTestGridSession
(GetTestGridSessionRequest getTestGridSessionRequest) A session is an instance of a browser created through aRemoteWebDriver
with the URL from CreateTestGridUrlResultinvalid input: '$'url.default GetUploadResponse
getUpload
(Consumer<GetUploadRequest.Builder> getUploadRequest) Gets information about an upload.default GetUploadResponse
getUpload
(GetUploadRequest getUploadRequest) Gets information about an upload.default GetVpceConfigurationResponse
getVPCEConfiguration
(Consumer<GetVpceConfigurationRequest.Builder> getVpceConfigurationRequest) Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.default GetVpceConfigurationResponse
getVPCEConfiguration
(GetVpceConfigurationRequest getVpceConfigurationRequest) Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.installToRemoteAccessSession
(Consumer<InstallToRemoteAccessSessionRequest.Builder> installToRemoteAccessSessionRequest) Installs an application to the device in a remote access session.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) This is a variant oflistArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest)
operation.default ListArtifactsIterable
listArtifactsPaginator
(ListArtifactsRequest listArtifactsRequest) This is a variant oflistArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest)
operation.default ListDeviceInstancesResponse
Returns information about the private device instances associated with one or more AWS accounts.default ListDeviceInstancesResponse
listDeviceInstances
(Consumer<ListDeviceInstancesRequest.Builder> listDeviceInstancesRequest) Returns information about the private device instances associated with one or more AWS accounts.default ListDeviceInstancesResponse
listDeviceInstances
(ListDeviceInstancesRequest listDeviceInstancesRequest) Returns information about the private device instances associated with one or more AWS accounts.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) This is a variant oflistDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest)
operation.default ListDevicePoolsIterable
listDevicePoolsPaginator
(ListDevicePoolsRequest listDevicePoolsRequest) This is a variant oflistDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest)
operation.default ListDevicesResponse
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
This is a variant oflistDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation.default ListDevicesIterable
listDevicesPaginator
(Consumer<ListDevicesRequest.Builder> listDevicesRequest) This is a variant oflistDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation.default ListDevicesIterable
listDevicesPaginator
(ListDevicesRequest listDevicesRequest) This is a variant oflistDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation.default ListInstanceProfilesResponse
Returns information about all the instance profiles in an AWS account.default ListInstanceProfilesResponse
listInstanceProfiles
(Consumer<ListInstanceProfilesRequest.Builder> listInstanceProfilesRequest) Returns information about all the instance profiles in an AWS account.default ListInstanceProfilesResponse
listInstanceProfiles
(ListInstanceProfilesRequest listInstanceProfilesRequest) Returns information about all the instance profiles in an AWS account.default ListJobsResponse
listJobs
(Consumer<ListJobsRequest.Builder> listJobsRequest) Gets information about jobs for a given test run.default ListJobsResponse
listJobs
(ListJobsRequest listJobsRequest) Gets information about jobs for a given test run.default ListJobsIterable
listJobsPaginator
(Consumer<ListJobsRequest.Builder> listJobsRequest) This is a variant oflistJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest)
operation.default ListJobsIterable
listJobsPaginator
(ListJobsRequest listJobsRequest) This is a variant oflistJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest)
operation.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
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
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
This is a variant oflistOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation.default ListOfferingsIterable
listOfferingsPaginator
(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) This is a variant oflistOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation.default ListOfferingsIterable
listOfferingsPaginator
(ListOfferingsRequest listOfferingsRequest) This is a variant oflistOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation.default ListOfferingTransactionsResponse
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
This is a variant oflistOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation.default ListOfferingTransactionsIterable
listOfferingTransactionsPaginator
(Consumer<ListOfferingTransactionsRequest.Builder> listOfferingTransactionsRequest) This is a variant oflistOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation.default ListOfferingTransactionsIterable
listOfferingTransactionsPaginator
(ListOfferingTransactionsRequest listOfferingTransactionsRequest) This is a variant oflistOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation.default ListProjectsResponse
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
This is a variant oflistProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
operation.default ListProjectsIterable
listProjectsPaginator
(Consumer<ListProjectsRequest.Builder> listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
operation.default ListProjectsIterable
listProjectsPaginator
(ListProjectsRequest listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
operation.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) This is a variant oflistRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest)
operation.default ListRunsIterable
listRunsPaginator
(ListRunsRequest listRunsRequest) This is a variant oflistRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest)
operation.default ListSamplesResponse
listSamples
(Consumer<ListSamplesRequest.Builder> listSamplesRequest) Gets information about samples, given an AWS Device Farm job ARN.default ListSamplesResponse
listSamples
(ListSamplesRequest listSamplesRequest) Gets information about samples, given an AWS Device Farm job ARN.default ListSamplesIterable
listSamplesPaginator
(Consumer<ListSamplesRequest.Builder> listSamplesRequest) This is a variant oflistSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest)
operation.default ListSamplesIterable
listSamplesPaginator
(ListSamplesRequest listSamplesRequest) This is a variant oflistSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest)
operation.default ListSuitesResponse
listSuites
(Consumer<ListSuitesRequest.Builder> listSuitesRequest) Gets information about test suites for a given job.default ListSuitesResponse
listSuites
(ListSuitesRequest listSuitesRequest) Gets information about test suites for a given job.default ListSuitesIterable
listSuitesPaginator
(Consumer<ListSuitesRequest.Builder> listSuitesRequest) This is a variant oflistSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest)
operation.default ListSuitesIterable
listSuitesPaginator
(ListSuitesRequest listSuitesRequest) This is a variant oflistSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest)
operation.default ListTagsForResourceResponse
listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) List the tags for an AWS Device Farm resource.default ListTagsForResourceResponse
listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) List the tags for an AWS Device Farm resource.default ListTestGridProjectsResponse
listTestGridProjects
(Consumer<ListTestGridProjectsRequest.Builder> listTestGridProjectsRequest) Gets a list of all Selenium testing projects in your account.default ListTestGridProjectsResponse
listTestGridProjects
(ListTestGridProjectsRequest listTestGridProjectsRequest) Gets a list of all Selenium testing projects in your account.default ListTestGridProjectsIterable
listTestGridProjectsPaginator
(Consumer<ListTestGridProjectsRequest.Builder> listTestGridProjectsRequest) This is a variant oflistTestGridProjects(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsRequest)
operation.default ListTestGridProjectsIterable
listTestGridProjectsPaginator
(ListTestGridProjectsRequest listTestGridProjectsRequest) This is a variant oflistTestGridProjects(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsRequest)
operation.listTestGridSessionActions
(Consumer<ListTestGridSessionActionsRequest.Builder> listTestGridSessionActionsRequest) Returns a list of the actions taken in a TestGridSession.listTestGridSessionActions
(ListTestGridSessionActionsRequest listTestGridSessionActionsRequest) Returns a list of the actions taken in a TestGridSession.listTestGridSessionActionsPaginator
(Consumer<ListTestGridSessionActionsRequest.Builder> listTestGridSessionActionsRequest) This is a variant oflistTestGridSessionActions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsRequest)
operation.listTestGridSessionActionsPaginator
(ListTestGridSessionActionsRequest listTestGridSessionActionsRequest) This is a variant oflistTestGridSessionActions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsRequest)
operation.listTestGridSessionArtifacts
(Consumer<ListTestGridSessionArtifactsRequest.Builder> listTestGridSessionArtifactsRequest) Retrieves a list of artifacts created during the session.listTestGridSessionArtifacts
(ListTestGridSessionArtifactsRequest listTestGridSessionArtifactsRequest) Retrieves a list of artifacts created during the session.listTestGridSessionArtifactsPaginator
(Consumer<ListTestGridSessionArtifactsRequest.Builder> listTestGridSessionArtifactsRequest) This is a variant oflistTestGridSessionArtifacts(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsRequest)
operation.listTestGridSessionArtifactsPaginator
(ListTestGridSessionArtifactsRequest listTestGridSessionArtifactsRequest) This is a variant oflistTestGridSessionArtifacts(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsRequest)
operation.default ListTestGridSessionsResponse
listTestGridSessions
(Consumer<ListTestGridSessionsRequest.Builder> listTestGridSessionsRequest) Retrieves a list of sessions for a TestGridProject.default ListTestGridSessionsResponse
listTestGridSessions
(ListTestGridSessionsRequest listTestGridSessionsRequest) Retrieves a list of sessions for a TestGridProject.default ListTestGridSessionsIterable
listTestGridSessionsPaginator
(Consumer<ListTestGridSessionsRequest.Builder> listTestGridSessionsRequest) This is a variant oflistTestGridSessions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsRequest)
operation.default ListTestGridSessionsIterable
listTestGridSessionsPaginator
(ListTestGridSessionsRequest listTestGridSessionsRequest) This is a variant oflistTestGridSessions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsRequest)
operation.default ListTestsResponse
listTests
(Consumer<ListTestsRequest.Builder> listTestsRequest) Gets information about tests in a given test suite.default ListTestsResponse
listTests
(ListTestsRequest listTestsRequest) Gets information about tests in a given test suite.default ListTestsIterable
listTestsPaginator
(Consumer<ListTestsRequest.Builder> listTestsRequest) This is a variant oflistTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest)
operation.default ListTestsIterable
listTestsPaginator
(ListTestsRequest listTestsRequest) This is a variant oflistTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest)
operation.default ListUniqueProblemsResponse
listUniqueProblems
(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest) Gets information about unique problems, such as exceptions or crashes.default ListUniqueProblemsResponse
listUniqueProblems
(ListUniqueProblemsRequest listUniqueProblemsRequest) Gets information about unique problems, such as exceptions or crashes.default ListUniqueProblemsIterable
listUniqueProblemsPaginator
(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest) This is a variant oflistUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest)
operation.default ListUniqueProblemsIterable
listUniqueProblemsPaginator
(ListUniqueProblemsRequest listUniqueProblemsRequest) This is a variant oflistUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest)
operation.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) This is a variant oflistUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest)
operation.default ListUploadsIterable
listUploadsPaginator
(ListUploadsRequest listUploadsRequest) This is a variant oflistUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest)
operation.default ListVpceConfigurationsResponse
listVPCEConfigurations
(Consumer<ListVpceConfigurationsRequest.Builder> listVpceConfigurationsRequest) Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.default ListVpceConfigurationsResponse
listVPCEConfigurations
(ListVpceConfigurationsRequest listVpceConfigurationsRequest) Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.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 theeffectiveDate
of the next period.default RenewOfferingResponse
renewOffering
(RenewOfferingRequest renewOfferingRequest) Explicitly sets the quantity of devices to renew for an offering, starting from theeffectiveDate
of the next period.default ScheduleRunResponse
scheduleRun
(Consumer<ScheduleRunRequest.Builder> scheduleRunRequest) Schedules a run.default ScheduleRunResponse
scheduleRun
(ScheduleRunRequest scheduleRunRequest) Schedules a run.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadata
default StopJobResponse
stopJob
(Consumer<StopJobRequest.Builder> stopJobRequest) Initiates a stop request for the current job.default StopJobResponse
stopJob
(StopJobRequest stopJobRequest) Initiates a stop request for the current job.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 TagResourceResponse
tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Associates the specified tags to a resource with the specifiedresourceArn
.default TagResourceResponse
tagResource
(TagResourceRequest tagResourceRequest) Associates the specified tags to a resource with the specifiedresourceArn
.default UntagResourceResponse
untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Deletes the specified tags from a resource.default UntagResourceResponse
untagResource
(UntagResourceRequest untagResourceRequest) Deletes the specified tags from a resource.default UpdateDeviceInstanceResponse
updateDeviceInstance
(Consumer<UpdateDeviceInstanceRequest.Builder> updateDeviceInstanceRequest) Updates information about a private device instance.default UpdateDeviceInstanceResponse
updateDeviceInstance
(UpdateDeviceInstanceRequest updateDeviceInstanceRequest) Updates information about a private device instance.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 UpdateInstanceProfileResponse
updateInstanceProfile
(Consumer<UpdateInstanceProfileRequest.Builder> updateInstanceProfileRequest) Updates information about an existing private device instance profile.default UpdateInstanceProfileResponse
updateInstanceProfile
(UpdateInstanceProfileRequest updateInstanceProfileRequest) Updates information about an existing private device instance profile.default UpdateNetworkProfileResponse
updateNetworkProfile
(Consumer<UpdateNetworkProfileRequest.Builder> updateNetworkProfileRequest) Updates the network profile.default UpdateNetworkProfileResponse
updateNetworkProfile
(UpdateNetworkProfileRequest updateNetworkProfileRequest) Updates the network profile.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.default UpdateTestGridProjectResponse
updateTestGridProject
(Consumer<UpdateTestGridProjectRequest.Builder> updateTestGridProjectRequest) Change details of a project.default UpdateTestGridProjectResponse
updateTestGridProject
(UpdateTestGridProjectRequest updateTestGridProjectRequest) Change details of a project.default UpdateUploadResponse
updateUpload
(Consumer<UpdateUploadRequest.Builder> updateUploadRequest) Updates an uploaded test spec.default UpdateUploadResponse
updateUpload
(UpdateUploadRequest updateUploadRequest) Updates an uploaded test spec.default UpdateVpceConfigurationResponse
updateVPCEConfiguration
(Consumer<UpdateVpceConfigurationRequest.Builder> updateVpceConfigurationRequest) Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.default UpdateVpceConfigurationResponse
updateVPCEConfiguration
(UpdateVpceConfigurationRequest updateVpceConfigurationRequest) Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
createDevicePool
default CreateDevicePoolResponse createDevicePool(CreateDevicePoolRequest createDevicePoolRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Creates a device pool.
- Parameters:
createDevicePoolRequest
- Represents a request to the create device pool operation.- Returns:
- Result of the CreateDevicePool operation returned by the service.
- See Also:
-
createDevicePool
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 viaCreateDevicePoolRequest.builder()
- Parameters:
createDevicePoolRequest
- AConsumer
that will call methods onCreateDevicePoolRequest.Builder
to create a request. Represents a request to the create device pool operation.- Returns:
- Result of the CreateDevicePool operation returned by the service.
- See Also:
-
createInstanceProfile
default CreateInstanceProfileResponse createInstanceProfile(CreateInstanceProfileRequest createInstanceProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Creates a profile that can be applied to one or more private fleet device instances.
- Parameters:
createInstanceProfileRequest
-- Returns:
- Result of the CreateInstanceProfile operation returned by the service.
- See Also:
-
createInstanceProfile
default CreateInstanceProfileResponse createInstanceProfile(Consumer<CreateInstanceProfileRequest.Builder> createInstanceProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Creates a profile that can be applied to one or more private fleet device instances.
This is a convenience which creates an instance of the
CreateInstanceProfileRequest.Builder
avoiding the need to create one manually viaCreateInstanceProfileRequest.builder()
- Parameters:
createInstanceProfileRequest
- AConsumer
that will call methods onCreateInstanceProfileRequest.Builder
to create a request.- Returns:
- Result of the CreateInstanceProfile operation returned by the service.
- See Also:
-
createNetworkProfile
default CreateNetworkProfileResponse createNetworkProfile(CreateNetworkProfileRequest createNetworkProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Creates a network profile.
- Parameters:
createNetworkProfileRequest
-- Returns:
- Result of the CreateNetworkProfile operation returned by the service.
- See Also:
-
createNetworkProfile
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 viaCreateNetworkProfileRequest.builder()
- Parameters:
createNetworkProfileRequest
- AConsumer
that will call methods onCreateNetworkProfileRequest.Builder
to create a request.- Returns:
- Result of the CreateNetworkProfile operation returned by the service.
- See Also:
-
createProject
default CreateProjectResponse createProject(CreateProjectRequest createProjectRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, TagOperationException, AwsServiceException, SdkClientException, DeviceFarmException Creates a project.
- Parameters:
createProjectRequest
- Represents a request to the create project operation.- Returns:
- Result of the CreateProject operation returned by the service.
- See Also:
-
createProject
default CreateProjectResponse createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, TagOperationException, AwsServiceException, SdkClientException, DeviceFarmException Creates a project.
This is a convenience which creates an instance of the
CreateProjectRequest.Builder
avoiding the need to create one manually viaCreateProjectRequest.builder()
- Parameters:
createProjectRequest
- AConsumer
that will call methods onCreateProjectRequest.Builder
to create a request. Represents a request to the create project operation.- Returns:
- Result of the CreateProject operation returned by the service.
- See Also:
-
createRemoteAccessSession
default CreateRemoteAccessSessionResponse createRemoteAccessSession(CreateRemoteAccessSessionRequest createRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Specifies and starts a remote access session.
- Parameters:
createRemoteAccessSessionRequest
- Creates and submits a request to start a remote access session.- Returns:
- Result of the CreateRemoteAccessSession operation returned by the service.
- See Also:
-
createRemoteAccessSession
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 viaCreateRemoteAccessSessionRequest.builder()
- Parameters:
createRemoteAccessSessionRequest
- AConsumer
that will call methods onCreateRemoteAccessSessionRequest.Builder
to create a request. Creates and submits a request to start a remote access session.- Returns:
- Result of the CreateRemoteAccessSession operation returned by the service.
- See Also:
-
createTestGridProject
default CreateTestGridProjectResponse createTestGridProject(CreateTestGridProjectRequest createTestGridProjectRequest) throws ArgumentException, LimitExceededException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Creates a Selenium testing project. Projects are used to track TestGridSession instances.
- Parameters:
createTestGridProjectRequest
-- Returns:
- Result of the CreateTestGridProject operation returned by the service.
- See Also:
-
createTestGridProject
default CreateTestGridProjectResponse createTestGridProject(Consumer<CreateTestGridProjectRequest.Builder> createTestGridProjectRequest) throws ArgumentException, LimitExceededException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Creates a Selenium testing project. Projects are used to track TestGridSession instances.
This is a convenience which creates an instance of the
CreateTestGridProjectRequest.Builder
avoiding the need to create one manually viaCreateTestGridProjectRequest.builder()
- Parameters:
createTestGridProjectRequest
- AConsumer
that will call methods onCreateTestGridProjectRequest.Builder
to create a request.- Returns:
- Result of the CreateTestGridProject operation returned by the service.
- See Also:
-
createTestGridUrl
default CreateTestGridUrlResponse createTestGridUrl(CreateTestGridUrlRequest createTestGridUrlRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Creates a signed, short-term URL that can be passed to a Selenium
RemoteWebDriver
constructor.- Parameters:
createTestGridUrlRequest
-- Returns:
- Result of the CreateTestGridUrl operation returned by the service.
- See Also:
-
createTestGridUrl
default CreateTestGridUrlResponse createTestGridUrl(Consumer<CreateTestGridUrlRequest.Builder> createTestGridUrlRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Creates a signed, short-term URL that can be passed to a Selenium
RemoteWebDriver
constructor.
This is a convenience which creates an instance of the
CreateTestGridUrlRequest.Builder
avoiding the need to create one manually viaCreateTestGridUrlRequest.builder()
- Parameters:
createTestGridUrlRequest
- AConsumer
that will call methods onCreateTestGridUrlRequest.Builder
to create a request.- Returns:
- Result of the CreateTestGridUrl operation returned by the service.
- See Also:
-
createUpload
default CreateUploadResponse createUpload(CreateUploadRequest createUploadRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Uploads an app or test scripts.
- Parameters:
createUploadRequest
- Represents a request to the create upload operation.- Returns:
- Result of the CreateUpload operation returned by the service.
- See Also:
-
createUpload
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 viaCreateUploadRequest.builder()
- Parameters:
createUploadRequest
- AConsumer
that will call methods onCreateUploadRequest.Builder
to create a request. Represents a request to the create upload operation.- Returns:
- Result of the CreateUpload operation returned by the service.
- See Also:
-
createVPCEConfiguration
default CreateVpceConfigurationResponse createVPCEConfiguration(CreateVpceConfigurationRequest createVpceConfigurationRequest) throws ArgumentException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.
- Parameters:
createVpceConfigurationRequest
-- Returns:
- Result of the CreateVPCEConfiguration operation returned by the service.
- See Also:
-
createVPCEConfiguration
default CreateVpceConfigurationResponse createVPCEConfiguration(Consumer<CreateVpceConfigurationRequest.Builder> createVpceConfigurationRequest) throws ArgumentException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.
This is a convenience which creates an instance of the
CreateVpceConfigurationRequest.Builder
avoiding the need to create one manually viaCreateVpceConfigurationRequest.builder()
- Parameters:
createVpceConfigurationRequest
- AConsumer
that will call methods onCreateVpceConfigurationRequest.Builder
to create a request.- Returns:
- Result of the CreateVPCEConfiguration operation returned by the service.
- See Also:
-
deleteDevicePool
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.
- Parameters:
deleteDevicePoolRequest
- Represents a request to the delete device pool operation.- Returns:
- Result of the DeleteDevicePool operation returned by the service.
- See Also:
-
deleteDevicePool
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 viaDeleteDevicePoolRequest.builder()
- Parameters:
deleteDevicePoolRequest
- AConsumer
that will call methods onDeleteDevicePoolRequest.Builder
to create a request. Represents a request to the delete device pool operation.- Returns:
- Result of the DeleteDevicePool operation returned by the service.
- See Also:
-
deleteInstanceProfile
default DeleteInstanceProfileResponse deleteInstanceProfile(DeleteInstanceProfileRequest deleteInstanceProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Deletes a profile that can be applied to one or more private device instances.
- Parameters:
deleteInstanceProfileRequest
-- Returns:
- Result of the DeleteInstanceProfile operation returned by the service.
- See Also:
-
deleteInstanceProfile
default DeleteInstanceProfileResponse deleteInstanceProfile(Consumer<DeleteInstanceProfileRequest.Builder> deleteInstanceProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Deletes a profile that can be applied to one or more private device instances.
This is a convenience which creates an instance of the
DeleteInstanceProfileRequest.Builder
avoiding the need to create one manually viaDeleteInstanceProfileRequest.builder()
- Parameters:
deleteInstanceProfileRequest
- AConsumer
that will call methods onDeleteInstanceProfileRequest.Builder
to create a request.- Returns:
- Result of the DeleteInstanceProfile operation returned by the service.
- See Also:
-
deleteNetworkProfile
default DeleteNetworkProfileResponse deleteNetworkProfile(DeleteNetworkProfileRequest deleteNetworkProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Deletes a network profile.
- Parameters:
deleteNetworkProfileRequest
-- Returns:
- Result of the DeleteNetworkProfile operation returned by the service.
- See Also:
-
deleteNetworkProfile
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 viaDeleteNetworkProfileRequest.builder()
- Parameters:
deleteNetworkProfileRequest
- AConsumer
that will call methods onDeleteNetworkProfileRequest.Builder
to create a request.- Returns:
- Result of the DeleteNetworkProfile operation returned by the service.
- See Also:
-
deleteProject
default DeleteProjectResponse deleteProject(DeleteProjectRequest deleteProjectRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Deletes an AWS Device Farm project, given the project ARN.
Deleting this resource does not stop an in-progress run.
- Parameters:
deleteProjectRequest
- Represents a request to the delete project operation.- Returns:
- Result of the DeleteProject operation returned by the service.
- See Also:
-
deleteProject
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.
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 viaDeleteProjectRequest.builder()
- Parameters:
deleteProjectRequest
- AConsumer
that will call methods onDeleteProjectRequest.Builder
to create a request. Represents a request to the delete project operation.- Returns:
- Result of the DeleteProject operation returned by the service.
- See Also:
-
deleteRemoteAccessSession
default DeleteRemoteAccessSessionResponse deleteRemoteAccessSession(DeleteRemoteAccessSessionRequest deleteRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Deletes a completed remote access session and its results.
- Parameters:
deleteRemoteAccessSessionRequest
- Represents the request to delete the specified remote access session.- Returns:
- Result of the DeleteRemoteAccessSession operation returned by the service.
- See Also:
-
deleteRemoteAccessSession
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 viaDeleteRemoteAccessSessionRequest.builder()
- Parameters:
deleteRemoteAccessSessionRequest
- AConsumer
that will call methods onDeleteRemoteAccessSessionRequest.Builder
to create a request. Represents the request to delete the specified remote access session.- Returns:
- Result of the DeleteRemoteAccessSession operation returned by the service.
- See Also:
-
deleteRun
default DeleteRunResponse deleteRun(DeleteRunRequest deleteRunRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Deletes the run, given the run ARN.
Deleting this resource does not stop an in-progress run.
- Parameters:
deleteRunRequest
- Represents a request to the delete run operation.- Returns:
- Result of the DeleteRun operation returned by the service.
- See Also:
-
deleteRun
default DeleteRunResponse deleteRun(Consumer<DeleteRunRequest.Builder> deleteRunRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Deletes the run, given the run ARN.
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 viaDeleteRunRequest.builder()
- Parameters:
deleteRunRequest
- AConsumer
that will call methods onDeleteRunRequest.Builder
to create a request. Represents a request to the delete run operation.- Returns:
- Result of the DeleteRun operation returned by the service.
- See Also:
-
deleteTestGridProject
default DeleteTestGridProjectResponse deleteTestGridProject(DeleteTestGridProjectRequest deleteTestGridProjectRequest) throws NotFoundException, ArgumentException, CannotDeleteException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Deletes a Selenium testing project and all content generated under it.
You cannot undo this operation.
You cannot delete a project if it has active sessions.
- Parameters:
deleteTestGridProjectRequest
-- Returns:
- Result of the DeleteTestGridProject operation returned by the service.
- See Also:
-
deleteTestGridProject
default DeleteTestGridProjectResponse deleteTestGridProject(Consumer<DeleteTestGridProjectRequest.Builder> deleteTestGridProjectRequest) throws NotFoundException, ArgumentException, CannotDeleteException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Deletes a Selenium testing project and all content generated under it.
You cannot undo this operation.
You cannot delete a project if it has active sessions.
This is a convenience which creates an instance of the
DeleteTestGridProjectRequest.Builder
avoiding the need to create one manually viaDeleteTestGridProjectRequest.builder()
- Parameters:
deleteTestGridProjectRequest
- AConsumer
that will call methods onDeleteTestGridProjectRequest.Builder
to create a request.- Returns:
- Result of the DeleteTestGridProject operation returned by the service.
- See Also:
-
deleteUpload
default DeleteUploadResponse deleteUpload(DeleteUploadRequest deleteUploadRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Deletes an upload given the upload ARN.
- Parameters:
deleteUploadRequest
- Represents a request to the delete upload operation.- Returns:
- Result of the DeleteUpload operation returned by the service.
- See Also:
-
deleteUpload
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 viaDeleteUploadRequest.builder()
- Parameters:
deleteUploadRequest
- AConsumer
that will call methods onDeleteUploadRequest.Builder
to create a request. Represents a request to the delete upload operation.- Returns:
- Result of the DeleteUpload operation returned by the service.
- See Also:
-
deleteVPCEConfiguration
default DeleteVpceConfigurationResponse deleteVPCEConfiguration(DeleteVpceConfigurationRequest deleteVpceConfigurationRequest) throws ArgumentException, NotFoundException, ServiceAccountException, InvalidOperationException, AwsServiceException, SdkClientException, DeviceFarmException Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.
- Parameters:
deleteVpceConfigurationRequest
-- Returns:
- Result of the DeleteVPCEConfiguration operation returned by the service.
- See Also:
-
deleteVPCEConfiguration
default DeleteVpceConfigurationResponse deleteVPCEConfiguration(Consumer<DeleteVpceConfigurationRequest.Builder> deleteVpceConfigurationRequest) throws ArgumentException, NotFoundException, ServiceAccountException, InvalidOperationException, AwsServiceException, SdkClientException, DeviceFarmException Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.
This is a convenience which creates an instance of the
DeleteVpceConfigurationRequest.Builder
avoiding the need to create one manually viaDeleteVpceConfigurationRequest.builder()
- Parameters:
deleteVpceConfigurationRequest
- AConsumer
that will call methods onDeleteVpceConfigurationRequest.Builder
to create a request.- Returns:
- Result of the DeleteVPCEConfiguration operation returned by the service.
- See Also:
-
getAccountSettings
default GetAccountSettingsResponse getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.
- Parameters:
getAccountSettingsRequest
- Represents the request sent to retrieve the account settings.- Returns:
- Result of the GetAccountSettings operation returned by the service.
- See Also:
-
getAccountSettings
default GetAccountSettingsResponse getAccountSettings(Consumer<GetAccountSettingsRequest.Builder> getAccountSettingsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns the number of unmetered iOS 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 viaGetAccountSettingsRequest.builder()
- Parameters:
getAccountSettingsRequest
- AConsumer
that will call methods onGetAccountSettingsRequest.Builder
to create a request. Represents the request sent to retrieve the account settings.- Returns:
- Result of the GetAccountSettings operation returned by the service.
- See Also:
-
getAccountSettings
default GetAccountSettingsResponse getAccountSettings() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionReturns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.
- Returns:
- Result of the GetAccountSettings operation returned by the service.
- See Also:
-
getDevice
default GetDeviceResponse getDevice(GetDeviceRequest getDeviceRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about a unique device type.
- Parameters:
getDeviceRequest
- Represents a request to the get device request.- Returns:
- Result of the GetDevice operation returned by the service.
- See Also:
-
getDevice
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 viaGetDeviceRequest.builder()
- Parameters:
getDeviceRequest
- AConsumer
that will call methods onGetDeviceRequest.Builder
to create a request. Represents a request to the get device request.- Returns:
- Result of the GetDevice operation returned by the service.
- See Also:
-
getDeviceInstance
default GetDeviceInstanceResponse getDeviceInstance(GetDeviceInstanceRequest getDeviceInstanceRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns information about a device instance that belongs to a private device fleet.
- Parameters:
getDeviceInstanceRequest
-- Returns:
- Result of the GetDeviceInstance operation returned by the service.
- See Also:
-
getDeviceInstance
default GetDeviceInstanceResponse getDeviceInstance(Consumer<GetDeviceInstanceRequest.Builder> getDeviceInstanceRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns information about a device instance that belongs to a private device fleet.
This is a convenience which creates an instance of the
GetDeviceInstanceRequest.Builder
avoiding the need to create one manually viaGetDeviceInstanceRequest.builder()
- Parameters:
getDeviceInstanceRequest
- AConsumer
that will call methods onGetDeviceInstanceRequest.Builder
to create a request.- Returns:
- Result of the GetDeviceInstance operation returned by the service.
- See Also:
-
getDevicePool
default GetDevicePoolResponse getDevicePool(GetDevicePoolRequest getDevicePoolRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about a device pool.
- Parameters:
getDevicePoolRequest
- Represents a request to the get device pool operation.- Returns:
- Result of the GetDevicePool operation returned by the service.
- See Also:
-
getDevicePool
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 viaGetDevicePoolRequest.builder()
- Parameters:
getDevicePoolRequest
- AConsumer
that will call methods onGetDevicePoolRequest.Builder
to create a request. Represents a request to the get device pool operation.- Returns:
- Result of the GetDevicePool operation returned by the service.
- See Also:
-
getDevicePoolCompatibility
default GetDevicePoolCompatibilityResponse getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about compatibility with a device pool.
- Parameters:
getDevicePoolCompatibilityRequest
- Represents a request to the get device pool compatibility operation.- Returns:
- Result of the GetDevicePoolCompatibility operation returned by the service.
- See Also:
-
getDevicePoolCompatibility
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 viaGetDevicePoolCompatibilityRequest.builder()
- Parameters:
getDevicePoolCompatibilityRequest
- AConsumer
that will call methods onGetDevicePoolCompatibilityRequest.Builder
to create a request. Represents a request to the get device pool compatibility operation.- Returns:
- Result of the GetDevicePoolCompatibility operation returned by the service.
- See Also:
-
getInstanceProfile
default GetInstanceProfileResponse getInstanceProfile(GetInstanceProfileRequest getInstanceProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns information about the specified instance profile.
- Parameters:
getInstanceProfileRequest
-- Returns:
- Result of the GetInstanceProfile operation returned by the service.
- See Also:
-
getInstanceProfile
default GetInstanceProfileResponse getInstanceProfile(Consumer<GetInstanceProfileRequest.Builder> getInstanceProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns information about the specified instance profile.
This is a convenience which creates an instance of the
GetInstanceProfileRequest.Builder
avoiding the need to create one manually viaGetInstanceProfileRequest.builder()
- Parameters:
getInstanceProfileRequest
- AConsumer
that will call methods onGetInstanceProfileRequest.Builder
to create a request.- Returns:
- Result of the GetInstanceProfile operation returned by the service.
- See Also:
-
getJob
default GetJobResponse getJob(GetJobRequest getJobRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about a job.
- Parameters:
getJobRequest
- Represents a request to the get job operation.- Returns:
- Result of the GetJob operation returned by the service.
- See Also:
-
getJob
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 viaGetJobRequest.builder()
- Parameters:
getJobRequest
- AConsumer
that will call methods onGetJobRequest.Builder
to create a request. Represents a request to the get job operation.- Returns:
- Result of the GetJob operation returned by the service.
- See Also:
-
getNetworkProfile
default GetNetworkProfileResponse getNetworkProfile(GetNetworkProfileRequest getNetworkProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns information about a network profile.
- Parameters:
getNetworkProfileRequest
-- Returns:
- Result of the GetNetworkProfile operation returned by the service.
- See Also:
-
getNetworkProfile
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 viaGetNetworkProfileRequest.builder()
- Parameters:
getNetworkProfileRequest
- AConsumer
that will call methods onGetNetworkProfileRequest.Builder
to create a request.- Returns:
- Result of the GetNetworkProfile operation returned by the service.
- See Also:
-
getOfferingStatus
default 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. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.- Parameters:
getOfferingStatusRequest
- Represents the request to retrieve the offering status for the specified customer or account.- Returns:
- Result of the GetOfferingStatus operation returned by the service.
- See Also:
-
getOfferingStatus
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. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.
This is a convenience which creates an instance of the
GetOfferingStatusRequest.Builder
avoiding the need to create one manually viaGetOfferingStatusRequest.builder()
- Parameters:
getOfferingStatusRequest
- AConsumer
that will call methods onGetOfferingStatusRequest.Builder
to create a request. Represents the request to retrieve the offering status for the specified customer or account.- Returns:
- Result of the GetOfferingStatus operation returned by the service.
- See Also:
-
getOfferingStatus
default GetOfferingStatusResponse getOfferingStatus() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionGets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. The API returns a
NotEligible
error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.- Returns:
- Result of the GetOfferingStatus operation returned by the service.
- See Also:
-
getOfferingStatusPaginator
default GetOfferingStatusIterable getOfferingStatusPaginator() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionThis 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client.getOfferingStatusPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client.getOfferingStatusPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getOfferingStatusPaginator
default GetOfferingStatusIterable getOfferingStatusPaginator(GetOfferingStatusRequest getOfferingStatusRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client.getOfferingStatusPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client.getOfferingStatusPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.- Parameters:
getOfferingStatusRequest
- Represents the request to retrieve the offering status for the specified customer or account.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getOfferingStatusPaginator
default GetOfferingStatusIterable getOfferingStatusPaginator(Consumer<GetOfferingStatusRequest.Builder> getOfferingStatusRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client.getOfferingStatusPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusIterable responses = client.getOfferingStatusPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaGetOfferingStatusRequest.builder()
- Parameters:
getOfferingStatusRequest
- AConsumer
that will call methods onGetOfferingStatusRequest.Builder
to create a request. Represents the request to retrieve the offering status for the specified customer or account.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
getProject
default GetProjectResponse getProject(GetProjectRequest getProjectRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about a project.
- Parameters:
getProjectRequest
- Represents a request to the get project operation.- Returns:
- Result of the GetProject operation returned by the service.
- See Also:
-
getProject
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 viaGetProjectRequest.builder()
- Parameters:
getProjectRequest
- AConsumer
that will call methods onGetProjectRequest.Builder
to create a request. Represents a request to the get project operation.- Returns:
- Result of the GetProject operation returned by the service.
- See Also:
-
getRemoteAccessSession
default GetRemoteAccessSessionResponse getRemoteAccessSession(GetRemoteAccessSessionRequest getRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns a link to a currently running remote access session.
- Parameters:
getRemoteAccessSessionRequest
- Represents the request to get information about the specified remote access session.- Returns:
- Result of the GetRemoteAccessSession operation returned by the service.
- See Also:
-
getRemoteAccessSession
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 viaGetRemoteAccessSessionRequest.builder()
- Parameters:
getRemoteAccessSessionRequest
- AConsumer
that will call methods onGetRemoteAccessSessionRequest.Builder
to create a request. Represents the request to get information about the specified remote access session.- Returns:
- Result of the GetRemoteAccessSession operation returned by the service.
- See Also:
-
getRun
default GetRunResponse getRun(GetRunRequest getRunRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about a run.
- Parameters:
getRunRequest
- Represents a request to the get run operation.- Returns:
- Result of the GetRun operation returned by the service.
- See Also:
-
getRun
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 viaGetRunRequest.builder()
- Parameters:
getRunRequest
- AConsumer
that will call methods onGetRunRequest.Builder
to create a request. Represents a request to the get run operation.- Returns:
- Result of the GetRun operation returned by the service.
- See Also:
-
getSuite
default GetSuiteResponse getSuite(GetSuiteRequest getSuiteRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about a suite.
- Parameters:
getSuiteRequest
- Represents a request to the get suite operation.- Returns:
- Result of the GetSuite operation returned by the service.
- See Also:
-
getSuite
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 viaGetSuiteRequest.builder()
- Parameters:
getSuiteRequest
- AConsumer
that will call methods onGetSuiteRequest.Builder
to create a request. Represents a request to the get suite operation.- Returns:
- Result of the GetSuite operation returned by the service.
- See Also:
-
getTest
default GetTestResponse getTest(GetTestRequest getTestRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about a test.
- Parameters:
getTestRequest
- Represents a request to the get test operation.- Returns:
- Result of the GetTest operation returned by the service.
- See Also:
-
getTest
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 viaGetTestRequest.builder()
- Parameters:
getTestRequest
- AConsumer
that will call methods onGetTestRequest.Builder
to create a request. Represents a request to the get test operation.- Returns:
- Result of the GetTest operation returned by the service.
- See Also:
-
getTestGridProject
default GetTestGridProjectResponse getTestGridProject(GetTestGridProjectRequest getTestGridProjectRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Retrieves information about a Selenium testing project.
- Parameters:
getTestGridProjectRequest
-- Returns:
- Result of the GetTestGridProject operation returned by the service.
- See Also:
-
getTestGridProject
default GetTestGridProjectResponse getTestGridProject(Consumer<GetTestGridProjectRequest.Builder> getTestGridProjectRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Retrieves information about a Selenium testing project.
This is a convenience which creates an instance of the
GetTestGridProjectRequest.Builder
avoiding the need to create one manually viaGetTestGridProjectRequest.builder()
- Parameters:
getTestGridProjectRequest
- AConsumer
that will call methods onGetTestGridProjectRequest.Builder
to create a request.- Returns:
- Result of the GetTestGridProject operation returned by the service.
- See Also:
-
getTestGridSession
default GetTestGridSessionResponse getTestGridSession(GetTestGridSessionRequest getTestGridSessionRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException A session is an instance of a browser created through a
RemoteWebDriver
with the URL from CreateTestGridUrlResultinvalid input: '$'url. You can use the following to look up sessions:-
The session ARN (GetTestGridSessionRequestinvalid input: '$'sessionArn).
-
The project ARN and a session ID (GetTestGridSessionRequestinvalid input: '$'projectArn and GetTestGridSessionRequestinvalid input: '$'sessionId).
- Parameters:
getTestGridSessionRequest
-- Returns:
- Result of the GetTestGridSession operation returned by the service.
- See Also:
-
-
getTestGridSession
default GetTestGridSessionResponse getTestGridSession(Consumer<GetTestGridSessionRequest.Builder> getTestGridSessionRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException A session is an instance of a browser created through a
RemoteWebDriver
with the URL from CreateTestGridUrlResultinvalid input: '$'url. You can use the following to look up sessions:-
The session ARN (GetTestGridSessionRequestinvalid input: '$'sessionArn).
-
The project ARN and a session ID (GetTestGridSessionRequestinvalid input: '$'projectArn and GetTestGridSessionRequestinvalid input: '$'sessionId).
This is a convenience which creates an instance of the
GetTestGridSessionRequest.Builder
avoiding the need to create one manually viaGetTestGridSessionRequest.builder()
- Parameters:
getTestGridSessionRequest
- AConsumer
that will call methods onGetTestGridSessionRequest.Builder
to create a request.- Returns:
- Result of the GetTestGridSession operation returned by the service.
- See Also:
-
-
getUpload
default GetUploadResponse getUpload(GetUploadRequest getUploadRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about an upload.
- Parameters:
getUploadRequest
- Represents a request to the get upload operation.- Returns:
- Result of the GetUpload operation returned by the service.
- See Also:
-
getUpload
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 viaGetUploadRequest.builder()
- Parameters:
getUploadRequest
- AConsumer
that will call methods onGetUploadRequest.Builder
to create a request. Represents a request to the get upload operation.- Returns:
- Result of the GetUpload operation returned by the service.
- See Also:
-
getVPCEConfiguration
default GetVpceConfigurationResponse getVPCEConfiguration(GetVpceConfigurationRequest getVpceConfigurationRequest) throws ArgumentException, NotFoundException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.
- Parameters:
getVpceConfigurationRequest
-- Returns:
- Result of the GetVPCEConfiguration operation returned by the service.
- See Also:
-
getVPCEConfiguration
default GetVpceConfigurationResponse getVPCEConfiguration(Consumer<GetVpceConfigurationRequest.Builder> getVpceConfigurationRequest) throws ArgumentException, NotFoundException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.
This is a convenience which creates an instance of the
GetVpceConfigurationRequest.Builder
avoiding the need to create one manually viaGetVpceConfigurationRequest.builder()
- Parameters:
getVpceConfigurationRequest
- AConsumer
that will call methods onGetVpceConfigurationRequest.Builder
to create a request.- Returns:
- Result of the GetVPCEConfiguration operation returned by the service.
- See Also:
-
installToRemoteAccessSession
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.
- Parameters:
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.- Returns:
- Result of the InstallToRemoteAccessSession operation returned by the service.
- See Also:
-
installToRemoteAccessSession
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 viaInstallToRemoteAccessSessionRequest.builder()
- Parameters:
installToRemoteAccessSessionRequest
- AConsumer
that will call methods onInstallToRemoteAccessSessionRequest.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.- Returns:
- Result of the InstallToRemoteAccessSession operation returned by the service.
- See Also:
-
listArtifacts
default ListArtifactsResponse listArtifacts(ListArtifactsRequest listArtifactsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about artifacts.
- Parameters:
listArtifactsRequest
- Represents a request to the list artifacts operation.- Returns:
- Result of the ListArtifacts operation returned by the service.
- See Also:
-
listArtifacts
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 viaListArtifactsRequest.builder()
- Parameters:
listArtifactsRequest
- AConsumer
that will call methods onListArtifactsRequest.Builder
to create a request. Represents a request to the list artifacts operation.- Returns:
- Result of the ListArtifacts operation returned by the service.
- See Also:
-
listArtifactsPaginator
default ListArtifactsIterable listArtifactsPaginator(ListArtifactsRequest listArtifactsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListArtifactsIterable responses = client.listArtifactsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListArtifactsIterable responses = client.listArtifactsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest)
operation.- Parameters:
listArtifactsRequest
- Represents a request to the list artifacts operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listArtifactsPaginator
default ListArtifactsIterable listArtifactsPaginator(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListArtifactsIterable responses = client.listArtifactsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListArtifactsIterable responses = client.listArtifactsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaListArtifactsRequest.builder()
- Parameters:
listArtifactsRequest
- AConsumer
that will call methods onListArtifactsRequest.Builder
to create a request. Represents a request to the list artifacts operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDeviceInstances
default ListDeviceInstancesResponse listDeviceInstances(ListDeviceInstancesRequest listDeviceInstancesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns information about the private device instances associated with one or more AWS accounts.
- Parameters:
listDeviceInstancesRequest
-- Returns:
- Result of the ListDeviceInstances operation returned by the service.
- See Also:
-
listDeviceInstances
default ListDeviceInstancesResponse listDeviceInstances(Consumer<ListDeviceInstancesRequest.Builder> listDeviceInstancesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns information about the private device instances associated with one or more AWS accounts.
This is a convenience which creates an instance of the
ListDeviceInstancesRequest.Builder
avoiding the need to create one manually viaListDeviceInstancesRequest.builder()
- Parameters:
listDeviceInstancesRequest
- AConsumer
that will call methods onListDeviceInstancesRequest.Builder
to create a request.- Returns:
- Result of the ListDeviceInstances operation returned by the service.
- See Also:
-
listDeviceInstances
default ListDeviceInstancesResponse listDeviceInstances() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionReturns information about the private device instances associated with one or more AWS accounts.
- Returns:
- Result of the ListDeviceInstances operation returned by the service.
- See Also:
-
listDevicePools
default ListDevicePoolsResponse listDevicePools(ListDevicePoolsRequest listDevicePoolsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about device pools.
- Parameters:
listDevicePoolsRequest
- Represents the result of a list device pools request.- Returns:
- Result of the ListDevicePools operation returned by the service.
- See Also:
-
listDevicePools
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 viaListDevicePoolsRequest.builder()
- Parameters:
listDevicePoolsRequest
- AConsumer
that will call methods onListDevicePoolsRequest.Builder
to create a request. Represents the result of a list device pools request.- Returns:
- Result of the ListDevicePools operation returned by the service.
- See Also:
-
listDevicePoolsPaginator
default ListDevicePoolsIterable listDevicePoolsPaginator(ListDevicePoolsRequest listDevicePoolsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsIterable responses = client.listDevicePoolsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsIterable responses = client.listDevicePoolsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest)
operation.- Parameters:
listDevicePoolsRequest
- Represents the result of a list device pools request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDevicePoolsPaginator
default ListDevicePoolsIterable listDevicePoolsPaginator(Consumer<ListDevicePoolsRequest.Builder> listDevicePoolsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsIterable responses = client.listDevicePoolsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsIterable responses = client.listDevicePoolsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaListDevicePoolsRequest.builder()
- Parameters:
listDevicePoolsRequest
- AConsumer
that will call methods onListDevicePoolsRequest.Builder
to create a request. Represents the result of a list device pools request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDevices
default ListDevicesResponse listDevices(ListDevicesRequest listDevicesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about unique device types.
- Parameters:
listDevicesRequest
- Represents the result of a list devices request.- Returns:
- Result of the ListDevices operation returned by the service.
- See Also:
-
listDevices
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 viaListDevicesRequest.builder()
- Parameters:
listDevicesRequest
- AConsumer
that will call methods onListDevicesRequest.Builder
to create a request. Represents the result of a list devices request.- Returns:
- Result of the ListDevices operation returned by the service.
- See Also:
-
listDevices
default ListDevicesResponse listDevices() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionGets information about unique device types.
- Returns:
- Result of the ListDevices operation returned by the service.
- See Also:
-
listDevicesPaginator
default ListDevicesIterable listDevicesPaginator() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionThis 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDevicesPaginator
default ListDevicesIterable listDevicesPaginator(ListDevicesRequest listDevicesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation.- Parameters:
listDevicesRequest
- Represents the result of a list devices request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listDevicesPaginator
default ListDevicesIterable listDevicesPaginator(Consumer<ListDevicesRequest.Builder> listDevicesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListDevicesIterable responses = client.listDevicesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaListDevicesRequest.builder()
- Parameters:
listDevicesRequest
- AConsumer
that will call methods onListDevicesRequest.Builder
to create a request. Represents the result of a list devices request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listInstanceProfiles
default ListInstanceProfilesResponse listInstanceProfiles(ListInstanceProfilesRequest listInstanceProfilesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns information about all the instance profiles in an AWS account.
- Parameters:
listInstanceProfilesRequest
-- Returns:
- Result of the ListInstanceProfiles operation returned by the service.
- See Also:
-
listInstanceProfiles
default ListInstanceProfilesResponse listInstanceProfiles(Consumer<ListInstanceProfilesRequest.Builder> listInstanceProfilesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns information about all the instance profiles in an AWS account.
This is a convenience which creates an instance of the
ListInstanceProfilesRequest.Builder
avoiding the need to create one manually viaListInstanceProfilesRequest.builder()
- Parameters:
listInstanceProfilesRequest
- AConsumer
that will call methods onListInstanceProfilesRequest.Builder
to create a request.- Returns:
- Result of the ListInstanceProfiles operation returned by the service.
- See Also:
-
listInstanceProfiles
default ListInstanceProfilesResponse listInstanceProfiles() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionReturns information about all the instance profiles in an AWS account.
- Returns:
- Result of the ListInstanceProfiles operation returned by the service.
- See Also:
-
listJobs
default ListJobsResponse listJobs(ListJobsRequest listJobsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about jobs for a given test run.
- Parameters:
listJobsRequest
- Represents a request to the list jobs operation.- Returns:
- Result of the ListJobs operation returned by the service.
- See Also:
-
listJobs
default ListJobsResponse listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about jobs for a given test run.
This is a convenience which creates an instance of the
ListJobsRequest.Builder
avoiding the need to create one manually viaListJobsRequest.builder()
- Parameters:
listJobsRequest
- AConsumer
that will call methods onListJobsRequest.Builder
to create a request. Represents a request to the list jobs operation.- Returns:
- Result of the ListJobs operation returned by the service.
- See Also:
-
listJobsPaginator
default ListJobsIterable listJobsPaginator(ListJobsRequest listJobsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest)
operation.- Parameters:
listJobsRequest
- Represents a request to the list jobs operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listJobsPaginator
default ListJobsIterable listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListJobsIterable responses = client.listJobsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaListJobsRequest.builder()
- Parameters:
listJobsRequest
- AConsumer
that will call methods onListJobsRequest.Builder
to create a request. Represents a request to the list jobs operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listNetworkProfiles
default ListNetworkProfilesResponse listNetworkProfiles(ListNetworkProfilesRequest listNetworkProfilesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns the list of available network profiles.
- Parameters:
listNetworkProfilesRequest
-- Returns:
- Result of the ListNetworkProfiles operation returned by the service.
- See Also:
-
listNetworkProfiles
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 viaListNetworkProfilesRequest.builder()
- Parameters:
listNetworkProfilesRequest
- AConsumer
that will call methods onListNetworkProfilesRequest.Builder
to create a request.- Returns:
- Result of the ListNetworkProfiles operation returned by the service.
- See Also:
-
listOfferingPromotions
default 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 must be able to invoke this operation.- Parameters:
listOfferingPromotionsRequest
-- Returns:
- Result of the ListOfferingPromotions operation returned by the service.
- See Also:
-
listOfferingPromotions
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 must 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 viaListOfferingPromotionsRequest.builder()
- Parameters:
listOfferingPromotionsRequest
- AConsumer
that will call methods onListOfferingPromotionsRequest.Builder
to create a request.- Returns:
- Result of the ListOfferingPromotions operation returned by the service.
- See Also:
-
listOfferingPromotions
default ListOfferingPromotionsResponse listOfferingPromotions() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionReturns 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 must be able to invoke this operation.- Returns:
- Result of the ListOfferingPromotions operation returned by the service.
- See Also:
-
listOfferingTransactions
default 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. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.- Parameters:
listOfferingTransactionsRequest
- Represents the request to list the offering transaction history.- Returns:
- Result of the ListOfferingTransactions operation returned by the service.
- See Also:
-
listOfferingTransactions
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. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.
This is a convenience which creates an instance of the
ListOfferingTransactionsRequest.Builder
avoiding the need to create one manually viaListOfferingTransactionsRequest.builder()
- Parameters:
listOfferingTransactionsRequest
- AConsumer
that will call methods onListOfferingTransactionsRequest.Builder
to create a request. Represents the request to list the offering transaction history.- Returns:
- Result of the ListOfferingTransactions operation returned by the service.
- See Also:
-
listOfferingTransactions
default ListOfferingTransactionsResponse listOfferingTransactions() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionReturns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a
NotEligible
error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.- Returns:
- Result of the ListOfferingTransactions operation returned by the service.
- See Also:
-
listOfferingTransactionsPaginator
default ListOfferingTransactionsIterable listOfferingTransactionsPaginator() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionThis 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client.listOfferingTransactionsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client.listOfferingTransactionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOfferingTransactionsPaginator
default ListOfferingTransactionsIterable listOfferingTransactionsPaginator(ListOfferingTransactionsRequest listOfferingTransactionsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client.listOfferingTransactionsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client.listOfferingTransactionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation.- Parameters:
listOfferingTransactionsRequest
- Represents the request to list the offering transaction history.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOfferingTransactionsPaginator
default ListOfferingTransactionsIterable listOfferingTransactionsPaginator(Consumer<ListOfferingTransactionsRequest.Builder> listOfferingTransactionsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client.listOfferingTransactionsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsIterable responses = client.listOfferingTransactionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaListOfferingTransactionsRequest.builder()
- Parameters:
listOfferingTransactionsRequest
- AConsumer
that will call methods onListOfferingTransactionsRequest.Builder
to create a request. Represents the request to list the offering transaction history.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOfferings
default 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. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.- Parameters:
listOfferingsRequest
- Represents the request to list all offerings.- Returns:
- Result of the ListOfferings operation returned by the service.
- See Also:
-
listOfferings
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. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.
This is a convenience which creates an instance of the
ListOfferingsRequest.Builder
avoiding the need to create one manually viaListOfferingsRequest.builder()
- Parameters:
listOfferingsRequest
- AConsumer
that will call methods onListOfferingsRequest.Builder
to create a request. Represents the request to list all offerings.- Returns:
- Result of the ListOfferings operation returned by the service.
- See Also:
-
listOfferings
default ListOfferingsResponse listOfferings() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionReturns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a
NotEligible
error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.- Returns:
- Result of the ListOfferings operation returned by the service.
- See Also:
-
listOfferingsPaginator
default ListOfferingsIterable listOfferingsPaginator() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionThis 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOfferingsPaginator
default ListOfferingsIterable listOfferingsPaginator(ListOfferingsRequest listOfferingsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation.- Parameters:
listOfferingsRequest
- Represents the request to list all offerings.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listOfferingsPaginator
default ListOfferingsIterable listOfferingsPaginator(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListOfferingsIterable responses = client.listOfferingsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaListOfferingsRequest.builder()
- Parameters:
listOfferingsRequest
- AConsumer
that will call methods onListOfferingsRequest.Builder
to create a request. Represents the request to list all offerings.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProjects
default ListProjectsResponse listProjects(ListProjectsRequest listProjectsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about projects.
- Parameters:
listProjectsRequest
- Represents a request to the list projects operation.- Returns:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjects
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 viaListProjectsRequest.builder()
- Parameters:
listProjectsRequest
- AConsumer
that will call methods onListProjectsRequest.Builder
to create a request. Represents a request to the list projects operation.- Returns:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjects
default ListProjectsResponse listProjects() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionGets information about projects.
- Returns:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmExceptionThis 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator(ListProjectsRequest listProjectsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
operation.- Parameters:
listProjectsRequest
- Represents a request to the list projects operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaListProjectsRequest.builder()
- Parameters:
listProjectsRequest
- AConsumer
that will call methods onListProjectsRequest.Builder
to create a request. Represents a request to the list projects operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRemoteAccessSessions
default ListRemoteAccessSessionsResponse listRemoteAccessSessions(ListRemoteAccessSessionsRequest listRemoteAccessSessionsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns a list of all currently running remote access sessions.
- Parameters:
listRemoteAccessSessionsRequest
- Represents the request to return information about the remote access session.- Returns:
- Result of the ListRemoteAccessSessions operation returned by the service.
- See Also:
-
listRemoteAccessSessions
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 viaListRemoteAccessSessionsRequest.builder()
- Parameters:
listRemoteAccessSessionsRequest
- AConsumer
that will call methods onListRemoteAccessSessionsRequest.Builder
to create a request. Represents the request to return information about the remote access session.- Returns:
- Result of the ListRemoteAccessSessions operation returned by the service.
- See Also:
-
listRuns
default ListRunsResponse listRuns(ListRunsRequest listRunsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about runs, given an AWS Device Farm project ARN.
- Parameters:
listRunsRequest
- Represents a request to the list runs operation.- Returns:
- Result of the ListRuns operation returned by the service.
- See Also:
-
listRuns
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 viaListRunsRequest.builder()
- Parameters:
listRunsRequest
- AConsumer
that will call methods onListRunsRequest.Builder
to create a request. Represents a request to the list runs operation.- Returns:
- Result of the ListRuns operation returned by the service.
- See Also:
-
listRunsPaginator
default ListRunsIterable listRunsPaginator(ListRunsRequest listRunsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListRunsIterable responses = client.listRunsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListRunsIterable responses = client.listRunsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest)
operation.- Parameters:
listRunsRequest
- Represents a request to the list runs operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listRunsPaginator
default ListRunsIterable listRunsPaginator(Consumer<ListRunsRequest.Builder> listRunsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListRunsIterable responses = client.listRunsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListRunsIterable responses = client.listRunsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaListRunsRequest.builder()
- Parameters:
listRunsRequest
- AConsumer
that will call methods onListRunsRequest.Builder
to create a request. Represents a request to the list runs operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSamples
default ListSamplesResponse listSamples(ListSamplesRequest listSamplesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about samples, given an AWS Device Farm job ARN.
- Parameters:
listSamplesRequest
- Represents a request to the list samples operation.- Returns:
- Result of the ListSamples operation returned by the service.
- See Also:
-
listSamples
default ListSamplesResponse listSamples(Consumer<ListSamplesRequest.Builder> listSamplesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about samples, given an AWS Device Farm job ARN.
This is a convenience which creates an instance of the
ListSamplesRequest.Builder
avoiding the need to create one manually viaListSamplesRequest.builder()
- Parameters:
listSamplesRequest
- AConsumer
that will call methods onListSamplesRequest.Builder
to create a request. Represents a request to the list samples operation.- Returns:
- Result of the ListSamples operation returned by the service.
- See Also:
-
listSamplesPaginator
default ListSamplesIterable listSamplesPaginator(ListSamplesRequest listSamplesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListSamplesIterable responses = client.listSamplesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListSamplesIterable responses = client.listSamplesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest)
operation.- Parameters:
listSamplesRequest
- Represents a request to the list samples operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSamplesPaginator
default ListSamplesIterable listSamplesPaginator(Consumer<ListSamplesRequest.Builder> listSamplesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListSamplesIterable responses = client.listSamplesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListSamplesIterable responses = client.listSamplesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaListSamplesRequest.builder()
- Parameters:
listSamplesRequest
- AConsumer
that will call methods onListSamplesRequest.Builder
to create a request. Represents a request to the list samples operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSuites
default ListSuitesResponse listSuites(ListSuitesRequest listSuitesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about test suites for a given job.
- Parameters:
listSuitesRequest
- Represents a request to the list suites operation.- Returns:
- Result of the ListSuites operation returned by the service.
- See Also:
-
listSuites
default ListSuitesResponse listSuites(Consumer<ListSuitesRequest.Builder> listSuitesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about test suites for a given job.
This is a convenience which creates an instance of the
ListSuitesRequest.Builder
avoiding the need to create one manually viaListSuitesRequest.builder()
- Parameters:
listSuitesRequest
- AConsumer
that will call methods onListSuitesRequest.Builder
to create a request. Represents a request to the list suites operation.- Returns:
- Result of the ListSuites operation returned by the service.
- See Also:
-
listSuitesPaginator
default ListSuitesIterable listSuitesPaginator(ListSuitesRequest listSuitesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListSuitesIterable responses = client.listSuitesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListSuitesIterable responses = client.listSuitesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest)
operation.- Parameters:
listSuitesRequest
- Represents a request to the list suites operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSuitesPaginator
default ListSuitesIterable listSuitesPaginator(Consumer<ListSuitesRequest.Builder> listSuitesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListSuitesIterable responses = client.listSuitesPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListSuitesIterable responses = client.listSuitesPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaListSuitesRequest.builder()
- Parameters:
listSuitesRequest
- AConsumer
that will call methods onListSuitesRequest.Builder
to create a request. Represents a request to the list suites operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ArgumentException, NotFoundException, TagOperationException, AwsServiceException, SdkClientException, DeviceFarmException List the tags for an AWS Device Farm resource.
- Parameters:
listTagsForResourceRequest
-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ArgumentException, NotFoundException, TagOperationException, AwsServiceException, SdkClientException, DeviceFarmException List the tags for an AWS Device Farm resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTestGridProjects
default ListTestGridProjectsResponse listTestGridProjects(ListTestGridProjectsRequest listTestGridProjectsRequest) throws ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Gets a list of all Selenium testing projects in your account.
- Parameters:
listTestGridProjectsRequest
-- Returns:
- Result of the ListTestGridProjects operation returned by the service.
- See Also:
-
listTestGridProjects
default ListTestGridProjectsResponse listTestGridProjects(Consumer<ListTestGridProjectsRequest.Builder> listTestGridProjectsRequest) throws ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Gets a list of all Selenium testing projects in your account.
This is a convenience which creates an instance of the
ListTestGridProjectsRequest.Builder
avoiding the need to create one manually viaListTestGridProjectsRequest.builder()
- Parameters:
listTestGridProjectsRequest
- AConsumer
that will call methods onListTestGridProjectsRequest.Builder
to create a request.- Returns:
- Result of the ListTestGridProjects operation returned by the service.
- See Also:
-
listTestGridProjectsPaginator
default ListTestGridProjectsIterable listTestGridProjectsPaginator(ListTestGridProjectsRequest listTestGridProjectsRequest) throws ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException This is a variant of
listTestGridProjects(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsRequest)
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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsIterable responses = client.listTestGridProjectsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsIterable responses = client .listTestGridProjectsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsIterable responses = client.listTestGridProjectsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResult won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestGridProjects(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsRequest)
operation.- Parameters:
listTestGridProjectsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestGridProjectsPaginator
default ListTestGridProjectsIterable listTestGridProjectsPaginator(Consumer<ListTestGridProjectsRequest.Builder> listTestGridProjectsRequest) throws ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException This is a variant of
listTestGridProjects(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsRequest)
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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsIterable responses = client.listTestGridProjectsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsIterable responses = client .listTestGridProjectsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsIterable responses = client.listTestGridProjectsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResult won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestGridProjects(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsRequest)
operation.
This is a convenience which creates an instance of the
ListTestGridProjectsRequest.Builder
avoiding the need to create one manually viaListTestGridProjectsRequest.builder()
- Parameters:
listTestGridProjectsRequest
- AConsumer
that will call methods onListTestGridProjectsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestGridSessionActions
default ListTestGridSessionActionsResponse listTestGridSessionActions(ListTestGridSessionActionsRequest listTestGridSessionActionsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Returns a list of the actions taken in a TestGridSession.
- Parameters:
listTestGridSessionActionsRequest
-- Returns:
- Result of the ListTestGridSessionActions operation returned by the service.
- See Also:
-
listTestGridSessionActions
default ListTestGridSessionActionsResponse listTestGridSessionActions(Consumer<ListTestGridSessionActionsRequest.Builder> listTestGridSessionActionsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Returns a list of the actions taken in a TestGridSession.
This is a convenience which creates an instance of the
ListTestGridSessionActionsRequest.Builder
avoiding the need to create one manually viaListTestGridSessionActionsRequest.builder()
- Parameters:
listTestGridSessionActionsRequest
- AConsumer
that will call methods onListTestGridSessionActionsRequest.Builder
to create a request.- Returns:
- Result of the ListTestGridSessionActions operation returned by the service.
- See Also:
-
listTestGridSessionActionsPaginator
default ListTestGridSessionActionsIterable listTestGridSessionActionsPaginator(ListTestGridSessionActionsRequest listTestGridSessionActionsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException This is a variant of
listTestGridSessionActions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsRequest)
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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsIterable responses = client.listTestGridSessionActionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsIterable responses = client .listTestGridSessionActionsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsIterable responses = client.listTestGridSessionActionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResult won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestGridSessionActions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsRequest)
operation.- Parameters:
listTestGridSessionActionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestGridSessionActionsPaginator
default ListTestGridSessionActionsIterable listTestGridSessionActionsPaginator(Consumer<ListTestGridSessionActionsRequest.Builder> listTestGridSessionActionsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException This is a variant of
listTestGridSessionActions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsRequest)
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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsIterable responses = client.listTestGridSessionActionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsIterable responses = client .listTestGridSessionActionsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsIterable responses = client.listTestGridSessionActionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResult won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestGridSessionActions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsRequest)
operation.
This is a convenience which creates an instance of the
ListTestGridSessionActionsRequest.Builder
avoiding the need to create one manually viaListTestGridSessionActionsRequest.builder()
- Parameters:
listTestGridSessionActionsRequest
- AConsumer
that will call methods onListTestGridSessionActionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestGridSessionArtifacts
default ListTestGridSessionArtifactsResponse listTestGridSessionArtifacts(ListTestGridSessionArtifactsRequest listTestGridSessionArtifactsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Retrieves a list of artifacts created during the session.
- Parameters:
listTestGridSessionArtifactsRequest
-- Returns:
- Result of the ListTestGridSessionArtifacts operation returned by the service.
- See Also:
-
listTestGridSessionArtifacts
default ListTestGridSessionArtifactsResponse listTestGridSessionArtifacts(Consumer<ListTestGridSessionArtifactsRequest.Builder> listTestGridSessionArtifactsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Retrieves a list of artifacts created during the session.
This is a convenience which creates an instance of the
ListTestGridSessionArtifactsRequest.Builder
avoiding the need to create one manually viaListTestGridSessionArtifactsRequest.builder()
- Parameters:
listTestGridSessionArtifactsRequest
- AConsumer
that will call methods onListTestGridSessionArtifactsRequest.Builder
to create a request.- Returns:
- Result of the ListTestGridSessionArtifacts operation returned by the service.
- See Also:
-
listTestGridSessionArtifactsPaginator
default ListTestGridSessionArtifactsIterable listTestGridSessionArtifactsPaginator(ListTestGridSessionArtifactsRequest listTestGridSessionArtifactsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException This is a variant of
listTestGridSessionArtifacts(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsRequest)
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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsIterable responses = client.listTestGridSessionArtifactsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsIterable responses = client .listTestGridSessionArtifactsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsIterable responses = client.listTestGridSessionArtifactsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResult won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestGridSessionArtifacts(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsRequest)
operation.- Parameters:
listTestGridSessionArtifactsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestGridSessionArtifactsPaginator
default ListTestGridSessionArtifactsIterable listTestGridSessionArtifactsPaginator(Consumer<ListTestGridSessionArtifactsRequest.Builder> listTestGridSessionArtifactsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException This is a variant of
listTestGridSessionArtifacts(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsRequest)
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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsIterable responses = client.listTestGridSessionArtifactsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsIterable responses = client .listTestGridSessionArtifactsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsIterable responses = client.listTestGridSessionArtifactsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResult won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestGridSessionArtifacts(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsRequest)
operation.
This is a convenience which creates an instance of the
ListTestGridSessionArtifactsRequest.Builder
avoiding the need to create one manually viaListTestGridSessionArtifactsRequest.builder()
- Parameters:
listTestGridSessionArtifactsRequest
- AConsumer
that will call methods onListTestGridSessionArtifactsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestGridSessions
default ListTestGridSessionsResponse listTestGridSessions(ListTestGridSessionsRequest listTestGridSessionsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Retrieves a list of sessions for a TestGridProject.
- Parameters:
listTestGridSessionsRequest
-- Returns:
- Result of the ListTestGridSessions operation returned by the service.
- See Also:
-
listTestGridSessions
default ListTestGridSessionsResponse listTestGridSessions(Consumer<ListTestGridSessionsRequest.Builder> listTestGridSessionsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Retrieves a list of sessions for a TestGridProject.
This is a convenience which creates an instance of the
ListTestGridSessionsRequest.Builder
avoiding the need to create one manually viaListTestGridSessionsRequest.builder()
- Parameters:
listTestGridSessionsRequest
- AConsumer
that will call methods onListTestGridSessionsRequest.Builder
to create a request.- Returns:
- Result of the ListTestGridSessions operation returned by the service.
- See Also:
-
listTestGridSessionsPaginator
default ListTestGridSessionsIterable listTestGridSessionsPaginator(ListTestGridSessionsRequest listTestGridSessionsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException This is a variant of
listTestGridSessions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsRequest)
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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsIterable responses = client.listTestGridSessionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsIterable responses = client .listTestGridSessionsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsIterable responses = client.listTestGridSessionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResult won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestGridSessions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsRequest)
operation.- Parameters:
listTestGridSessionsRequest
-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestGridSessionsPaginator
default ListTestGridSessionsIterable listTestGridSessionsPaginator(Consumer<ListTestGridSessionsRequest.Builder> listTestGridSessionsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException This is a variant of
listTestGridSessions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsRequest)
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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsIterable responses = client.listTestGridSessionsPaginator(request); responses.stream().forEach(....);
{ @code software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsIterable responses = client .listTestGridSessionsPaginator(request); for (software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsResponse response : responses) { // do something; } }
3) Use iterator directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsIterable responses = client.listTestGridSessionsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of maxResult won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTestGridSessions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsRequest)
operation.
This is a convenience which creates an instance of the
ListTestGridSessionsRequest.Builder
avoiding the need to create one manually viaListTestGridSessionsRequest.builder()
- Parameters:
listTestGridSessionsRequest
- AConsumer
that will call methods onListTestGridSessionsRequest.Builder
to create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTests
default ListTestsResponse listTests(ListTestsRequest listTestsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about tests in a given test suite.
- Parameters:
listTestsRequest
- Represents a request to the list tests operation.- Returns:
- Result of the ListTests operation returned by the service.
- See Also:
-
listTests
default ListTestsResponse listTests(Consumer<ListTestsRequest.Builder> listTestsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about tests in a given test suite.
This is a convenience which creates an instance of the
ListTestsRequest.Builder
avoiding the need to create one manually viaListTestsRequest.builder()
- Parameters:
listTestsRequest
- AConsumer
that will call methods onListTestsRequest.Builder
to create a request. Represents a request to the list tests operation.- Returns:
- Result of the ListTests operation returned by the service.
- See Also:
-
listTestsPaginator
default ListTestsIterable listTestsPaginator(ListTestsRequest listTestsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListTestsIterable responses = client.listTestsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListTestsIterable responses = client.listTestsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest)
operation.- Parameters:
listTestsRequest
- Represents a request to the list tests operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listTestsPaginator
default ListTestsIterable listTestsPaginator(Consumer<ListTestsRequest.Builder> listTestsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListTestsIterable responses = client.listTestsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListTestsIterable responses = client.listTestsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaListTestsRequest.builder()
- Parameters:
listTestsRequest
- AConsumer
that will call methods onListTestsRequest.Builder
to create a request. Represents a request to the list tests operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listUniqueProblems
default ListUniqueProblemsResponse listUniqueProblems(ListUniqueProblemsRequest listUniqueProblemsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about unique problems, such as exceptions or crashes.
Unique problems are defined as a single instance of an error across a run, job, or suite. For example, if a call in your application consistently raises an exception (
OutOfBoundsException in MyActivity.java:386
),ListUniqueProblems
returns a single entry instead of many individual entries for that exception.- Parameters:
listUniqueProblemsRequest
- Represents a request to the list unique problems operation.- Returns:
- Result of the ListUniqueProblems operation returned by the service.
- See Also:
-
listUniqueProblems
default ListUniqueProblemsResponse listUniqueProblems(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about unique problems, such as exceptions or crashes.
Unique problems are defined as a single instance of an error across a run, job, or suite. For example, if a call in your application consistently raises an exception (
OutOfBoundsException in MyActivity.java:386
),ListUniqueProblems
returns a single entry instead of many individual entries for that exception.
This is a convenience which creates an instance of the
ListUniqueProblemsRequest.Builder
avoiding the need to create one manually viaListUniqueProblemsRequest.builder()
- Parameters:
listUniqueProblemsRequest
- AConsumer
that will call methods onListUniqueProblemsRequest.Builder
to create a request. Represents a request to the list unique problems operation.- Returns:
- Result of the ListUniqueProblems operation returned by the service.
- See Also:
-
listUniqueProblemsPaginator
default ListUniqueProblemsIterable listUniqueProblemsPaginator(ListUniqueProblemsRequest listUniqueProblemsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsIterable responses = client.listUniqueProblemsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsIterable responses = client.listUniqueProblemsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest)
operation.- Parameters:
listUniqueProblemsRequest
- Represents a request to the list unique problems operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listUniqueProblemsPaginator
default ListUniqueProblemsIterable listUniqueProblemsPaginator(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsIterable responses = client.listUniqueProblemsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsIterable responses = client.listUniqueProblemsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaListUniqueProblemsRequest.builder()
- Parameters:
listUniqueProblemsRequest
- AConsumer
that will call methods onListUniqueProblemsRequest.Builder
to create a request. Represents a request to the list unique problems operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listUploads
default ListUploadsResponse listUploads(ListUploadsRequest listUploadsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Gets information about uploads, given an AWS Device Farm project ARN.
- Parameters:
listUploadsRequest
- Represents a request to the list uploads operation.- Returns:
- Result of the ListUploads operation returned by the service.
- See Also:
-
listUploads
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 viaListUploadsRequest.builder()
- Parameters:
listUploadsRequest
- AConsumer
that will call methods onListUploadsRequest.Builder
to create a request. Represents a request to the list uploads operation.- Returns:
- Result of the ListUploads operation returned by the service.
- See Also:
-
listUploadsPaginator
default ListUploadsIterable listUploadsPaginator(ListUploadsRequest listUploadsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListUploadsIterable responses = client.listUploadsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListUploadsIterable responses = client.listUploadsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest)
operation.- Parameters:
listUploadsRequest
- Represents a request to the list uploads operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listUploadsPaginator
default ListUploadsIterable listUploadsPaginator(Consumer<ListUploadsRequest.Builder> listUploadsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException 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 Streamsoftware.amazon.awssdk.services.devicefarm.paginators.ListUploadsIterable responses = client.listUploadsPaginator(request); responses.stream().forEach(....);
{ @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 directlysoftware.amazon.awssdk.services.devicefarm.paginators.ListUploadsIterable responses = client.listUploadsPaginator(request); responses.iterator().forEachRemaining(....);
Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
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 viaListUploadsRequest.builder()
- Parameters:
listUploadsRequest
- AConsumer
that will call methods onListUploadsRequest.Builder
to create a request. Represents a request to the list uploads operation.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listVPCEConfigurations
default ListVpceConfigurationsResponse listVPCEConfigurations(ListVpceConfigurationsRequest listVpceConfigurationsRequest) throws ArgumentException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.
- Parameters:
listVpceConfigurationsRequest
-- Returns:
- Result of the ListVPCEConfigurations operation returned by the service.
- See Also:
-
listVPCEConfigurations
default ListVpceConfigurationsResponse listVPCEConfigurations(Consumer<ListVpceConfigurationsRequest.Builder> listVpceConfigurationsRequest) throws ArgumentException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.
This is a convenience which creates an instance of the
ListVpceConfigurationsRequest.Builder
avoiding the need to create one manually viaListVpceConfigurationsRequest.builder()
- Parameters:
listVpceConfigurationsRequest
- AConsumer
that will call methods onListVpceConfigurationsRequest.Builder
to create a request.- Returns:
- Result of the ListVPCEConfigurations operation returned by the service.
- See Also:
-
purchaseOffering
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. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.- Parameters:
purchaseOfferingRequest
- Represents a request for a purchase offering.- Returns:
- Result of the PurchaseOffering operation returned by the service.
- See Also:
-
purchaseOffering
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. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.
This is a convenience which creates an instance of the
PurchaseOfferingRequest.Builder
avoiding the need to create one manually viaPurchaseOfferingRequest.builder()
- Parameters:
purchaseOfferingRequest
- AConsumer
that will call methods onPurchaseOfferingRequest.Builder
to create a request. Represents a request for a purchase offering.- Returns:
- Result of the PurchaseOffering operation returned by the service.
- See Also:
-
renewOffering
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 aNotEligible
error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.- Parameters:
renewOfferingRequest
- A request that represents an offering renewal.- Returns:
- Result of the RenewOffering operation returned by the service.
- See Also:
-
renewOffering
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 aNotEligible
error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.
This is a convenience which creates an instance of the
RenewOfferingRequest.Builder
avoiding the need to create one manually viaRenewOfferingRequest.builder()
- Parameters:
renewOfferingRequest
- AConsumer
that will call methods onRenewOfferingRequest.Builder
to create a request. A request that represents an offering renewal.- Returns:
- Result of the RenewOffering operation returned by the service.
- See Also:
-
scheduleRun
default ScheduleRunResponse scheduleRun(ScheduleRunRequest scheduleRunRequest) throws ArgumentException, NotFoundException, LimitExceededException, IdempotencyException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Schedules a run.
- Parameters:
scheduleRunRequest
- Represents a request to the schedule run operation.- Returns:
- Result of the ScheduleRun operation returned by the service.
- See Also:
-
scheduleRun
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 viaScheduleRunRequest.builder()
- Parameters:
scheduleRunRequest
- AConsumer
that will call methods onScheduleRunRequest.Builder
to create a request. Represents a request to the schedule run operation.- Returns:
- Result of the ScheduleRun operation returned by the service.
- See Also:
-
stopJob
default StopJobResponse stopJob(StopJobRequest stopJobRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Initiates a stop request for the current job. AWS Device Farm immediately stops the job on the device where tests have not started. You are not billed for this device. On the device where tests have started, setup suite and teardown suite tests run to completion on the device. You are billed for setup, teardown, and any tests that were in progress or already completed.
- Parameters:
stopJobRequest
-- Returns:
- Result of the StopJob operation returned by the service.
- See Also:
-
stopJob
default StopJobResponse stopJob(Consumer<StopJobRequest.Builder> stopJobRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Initiates a stop request for the current job. AWS Device Farm immediately stops the job on the device where tests have not started. You are not billed for this device. On the device where tests have started, setup suite and teardown suite tests run to completion on the device. You are billed for setup, teardown, and any tests that were in progress or already completed.
This is a convenience which creates an instance of the
StopJobRequest.Builder
avoiding the need to create one manually viaStopJobRequest.builder()
- Parameters:
stopJobRequest
- AConsumer
that will call methods onStopJobRequest.Builder
to create a request.- Returns:
- Result of the StopJob operation returned by the service.
- See Also:
-
stopRemoteAccessSession
default StopRemoteAccessSessionResponse stopRemoteAccessSession(StopRemoteAccessSessionRequest stopRemoteAccessSessionRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Ends a specified remote access session.
- Parameters:
stopRemoteAccessSessionRequest
- Represents the request to stop the remote access session.- Returns:
- Result of the StopRemoteAccessSession operation returned by the service.
- See Also:
-
stopRemoteAccessSession
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 viaStopRemoteAccessSessionRequest.builder()
- Parameters:
stopRemoteAccessSessionRequest
- AConsumer
that will call methods onStopRemoteAccessSessionRequest.Builder
to create a request. Represents the request to stop the remote access session.- Returns:
- Result of the StopRemoteAccessSession operation returned by the service.
- See Also:
-
stopRun
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 immediately stops the run on devices where tests have not started. You are not billed for these devices. On devices where tests have started executing, setup suite and teardown suite tests run to completion on those devices. You are billed for setup, teardown, and any tests that were in progress or already completed.
- Parameters:
stopRunRequest
- Represents the request to stop a specific run.- Returns:
- Result of the StopRun operation returned by the service.
- See Also:
-
stopRun
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 immediately stops the run on devices where tests have not started. You are not billed for these devices. On devices where tests have started executing, setup suite and teardown suite tests run to completion on those devices. You are billed for setup, teardown, and any tests that were in progress or already completed.
This is a convenience which creates an instance of the
StopRunRequest.Builder
avoiding the need to create one manually viaStopRunRequest.builder()
- Parameters:
stopRunRequest
- AConsumer
that will call methods onStopRunRequest.Builder
to create a request. Represents the request to stop a specific run.- Returns:
- Result of the StopRun operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ArgumentException, NotFoundException, TagOperationException, TooManyTagsException, TagPolicyException, AwsServiceException, SdkClientException, DeviceFarmException Associates the specified tags to a resource with the specified
resourceArn
. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.- Parameters:
tagResourceRequest
-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ArgumentException, NotFoundException, TagOperationException, TooManyTagsException, TagPolicyException, AwsServiceException, SdkClientException, DeviceFarmException Associates the specified tags to a resource with the specified
resourceArn
. If existing tags on a resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags associated with that resource are also deleted.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ArgumentException, NotFoundException, TagOperationException, AwsServiceException, SdkClientException, DeviceFarmException Deletes the specified tags from a resource.
- Parameters:
untagResourceRequest
-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ArgumentException, NotFoundException, TagOperationException, AwsServiceException, SdkClientException, DeviceFarmException Deletes the specified tags from a resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateDeviceInstance
default UpdateDeviceInstanceResponse updateDeviceInstance(UpdateDeviceInstanceRequest updateDeviceInstanceRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Updates information about a private device instance.
- Parameters:
updateDeviceInstanceRequest
-- Returns:
- Result of the UpdateDeviceInstance operation returned by the service.
- See Also:
-
updateDeviceInstance
default UpdateDeviceInstanceResponse updateDeviceInstance(Consumer<UpdateDeviceInstanceRequest.Builder> updateDeviceInstanceRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Updates information about a private device instance.
This is a convenience which creates an instance of the
UpdateDeviceInstanceRequest.Builder
avoiding the need to create one manually viaUpdateDeviceInstanceRequest.builder()
- Parameters:
updateDeviceInstanceRequest
- AConsumer
that will call methods onUpdateDeviceInstanceRequest.Builder
to create a request.- Returns:
- Result of the UpdateDeviceInstance operation returned by the service.
- See Also:
-
updateDevicePool
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).
- Parameters:
updateDevicePoolRequest
- Represents a request to the update device pool operation.- Returns:
- Result of the UpdateDevicePool operation returned by the service.
- See Also:
-
updateDevicePool
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 viaUpdateDevicePoolRequest.builder()
- Parameters:
updateDevicePoolRequest
- AConsumer
that will call methods onUpdateDevicePoolRequest.Builder
to create a request. Represents a request to the update device pool operation.- Returns:
- Result of the UpdateDevicePool operation returned by the service.
- See Also:
-
updateInstanceProfile
default UpdateInstanceProfileResponse updateInstanceProfile(UpdateInstanceProfileRequest updateInstanceProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Updates information about an existing private device instance profile.
- Parameters:
updateInstanceProfileRequest
-- Returns:
- Result of the UpdateInstanceProfile operation returned by the service.
- See Also:
-
updateInstanceProfile
default UpdateInstanceProfileResponse updateInstanceProfile(Consumer<UpdateInstanceProfileRequest.Builder> updateInstanceProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Updates information about an existing private device instance profile.
This is a convenience which creates an instance of the
UpdateInstanceProfileRequest.Builder
avoiding the need to create one manually viaUpdateInstanceProfileRequest.builder()
- Parameters:
updateInstanceProfileRequest
- AConsumer
that will call methods onUpdateInstanceProfileRequest.Builder
to create a request.- Returns:
- Result of the UpdateInstanceProfile operation returned by the service.
- See Also:
-
updateNetworkProfile
default UpdateNetworkProfileResponse updateNetworkProfile(UpdateNetworkProfileRequest updateNetworkProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Updates the network profile.
- Parameters:
updateNetworkProfileRequest
-- Returns:
- Result of the UpdateNetworkProfile operation returned by the service.
- See Also:
-
updateNetworkProfile
default UpdateNetworkProfileResponse updateNetworkProfile(Consumer<UpdateNetworkProfileRequest.Builder> updateNetworkProfileRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Updates the network profile.
This is a convenience which creates an instance of the
UpdateNetworkProfileRequest.Builder
avoiding the need to create one manually viaUpdateNetworkProfileRequest.builder()
- Parameters:
updateNetworkProfileRequest
- AConsumer
that will call methods onUpdateNetworkProfileRequest.Builder
to create a request.- Returns:
- Result of the UpdateNetworkProfile operation returned by the service.
- See Also:
-
updateProject
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.
- Parameters:
updateProjectRequest
- Represents a request to the update project operation.- Returns:
- Result of the UpdateProject operation returned by the service.
- See Also:
-
updateProject
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 viaUpdateProjectRequest.builder()
- Parameters:
updateProjectRequest
- AConsumer
that will call methods onUpdateProjectRequest.Builder
to create a request. Represents a request to the update project operation.- Returns:
- Result of the UpdateProject operation returned by the service.
- See Also:
-
updateTestGridProject
default UpdateTestGridProjectResponse updateTestGridProject(UpdateTestGridProjectRequest updateTestGridProjectRequest) throws NotFoundException, ArgumentException, LimitExceededException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Change details of a project.
- Parameters:
updateTestGridProjectRequest
-- Returns:
- Result of the UpdateTestGridProject operation returned by the service.
- See Also:
-
updateTestGridProject
default UpdateTestGridProjectResponse updateTestGridProject(Consumer<UpdateTestGridProjectRequest.Builder> updateTestGridProjectRequest) throws NotFoundException, ArgumentException, LimitExceededException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException Change details of a project.
This is a convenience which creates an instance of the
UpdateTestGridProjectRequest.Builder
avoiding the need to create one manually viaUpdateTestGridProjectRequest.builder()
- Parameters:
updateTestGridProjectRequest
- AConsumer
that will call methods onUpdateTestGridProjectRequest.Builder
to create a request.- Returns:
- Result of the UpdateTestGridProject operation returned by the service.
- See Also:
-
updateUpload
default UpdateUploadResponse updateUpload(UpdateUploadRequest updateUploadRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Updates an uploaded test spec.
- Parameters:
updateUploadRequest
-- Returns:
- Result of the UpdateUpload operation returned by the service.
- See Also:
-
updateUpload
default UpdateUploadResponse updateUpload(Consumer<UpdateUploadRequest.Builder> updateUploadRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException Updates an uploaded test spec.
This is a convenience which creates an instance of the
UpdateUploadRequest.Builder
avoiding the need to create one manually viaUpdateUploadRequest.builder()
- Parameters:
updateUploadRequest
- AConsumer
that will call methods onUpdateUploadRequest.Builder
to create a request.- Returns:
- Result of the UpdateUpload operation returned by the service.
- See Also:
-
updateVPCEConfiguration
default UpdateVpceConfigurationResponse updateVPCEConfiguration(UpdateVpceConfigurationRequest updateVpceConfigurationRequest) throws ArgumentException, NotFoundException, ServiceAccountException, InvalidOperationException, AwsServiceException, SdkClientException, DeviceFarmException Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.
- Parameters:
updateVpceConfigurationRequest
-- Returns:
- Result of the UpdateVPCEConfiguration operation returned by the service.
- See Also:
-
updateVPCEConfiguration
default UpdateVpceConfigurationResponse updateVPCEConfiguration(Consumer<UpdateVpceConfigurationRequest.Builder> updateVpceConfigurationRequest) throws ArgumentException, NotFoundException, ServiceAccountException, InvalidOperationException, AwsServiceException, SdkClientException, DeviceFarmException Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.
This is a convenience which creates an instance of the
UpdateVpceConfigurationRequest.Builder
avoiding the need to create one manually viaUpdateVpceConfigurationRequest.builder()
- Parameters:
updateVpceConfigurationRequest
- AConsumer
that will call methods onUpdateVpceConfigurationRequest.Builder
to create a request.- Returns:
- Result of the UpdateVPCEConfiguration operation returned by the service.
- See Also:
-
create
Create aDeviceFarmClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aDeviceFarmClient
. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-