Interface DeviceFarmClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface DeviceFarmClient extends AwsClient
Service client for accessing AWS Device Farm. This can be created using the staticbuilder()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
TestGridin 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
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static DeviceFarmClientBuilderbuilder()Create a builder that can be used to configure and create aDeviceFarmClient.static DeviceFarmClientcreate()Create aDeviceFarmClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateDevicePoolResponsecreateDevicePool(Consumer<CreateDevicePoolRequest.Builder> createDevicePoolRequest)Creates a device pool.default CreateDevicePoolResponsecreateDevicePool(CreateDevicePoolRequest createDevicePoolRequest)Creates a device pool.default CreateInstanceProfileResponsecreateInstanceProfile(Consumer<CreateInstanceProfileRequest.Builder> createInstanceProfileRequest)Creates a profile that can be applied to one or more private fleet device instances.default CreateInstanceProfileResponsecreateInstanceProfile(CreateInstanceProfileRequest createInstanceProfileRequest)Creates a profile that can be applied to one or more private fleet device instances.default CreateNetworkProfileResponsecreateNetworkProfile(Consumer<CreateNetworkProfileRequest.Builder> createNetworkProfileRequest)Creates a network profile.default CreateNetworkProfileResponsecreateNetworkProfile(CreateNetworkProfileRequest createNetworkProfileRequest)Creates a network profile.default CreateProjectResponsecreateProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)Creates a project.default CreateProjectResponsecreateProject(CreateProjectRequest createProjectRequest)Creates a project.default CreateRemoteAccessSessionResponsecreateRemoteAccessSession(Consumer<CreateRemoteAccessSessionRequest.Builder> createRemoteAccessSessionRequest)Specifies and starts a remote access session.default CreateRemoteAccessSessionResponsecreateRemoteAccessSession(CreateRemoteAccessSessionRequest createRemoteAccessSessionRequest)Specifies and starts a remote access session.default CreateTestGridProjectResponsecreateTestGridProject(Consumer<CreateTestGridProjectRequest.Builder> createTestGridProjectRequest)Creates a Selenium testing project.default CreateTestGridProjectResponsecreateTestGridProject(CreateTestGridProjectRequest createTestGridProjectRequest)Creates a Selenium testing project.default CreateTestGridUrlResponsecreateTestGridUrl(Consumer<CreateTestGridUrlRequest.Builder> createTestGridUrlRequest)Creates a signed, short-term URL that can be passed to a SeleniumRemoteWebDriverconstructor.default CreateTestGridUrlResponsecreateTestGridUrl(CreateTestGridUrlRequest createTestGridUrlRequest)Creates a signed, short-term URL that can be passed to a SeleniumRemoteWebDriverconstructor.default CreateUploadResponsecreateUpload(Consumer<CreateUploadRequest.Builder> createUploadRequest)Uploads an app or test scripts.default CreateUploadResponsecreateUpload(CreateUploadRequest createUploadRequest)Uploads an app or test scripts.default CreateVpceConfigurationResponsecreateVPCEConfiguration(Consumer<CreateVpceConfigurationRequest.Builder> createVpceConfigurationRequest)Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.default CreateVpceConfigurationResponsecreateVPCEConfiguration(CreateVpceConfigurationRequest createVpceConfigurationRequest)Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.default DeleteDevicePoolResponsedeleteDevicePool(Consumer<DeleteDevicePoolRequest.Builder> deleteDevicePoolRequest)Deletes a device pool given the pool ARN.default DeleteDevicePoolResponsedeleteDevicePool(DeleteDevicePoolRequest deleteDevicePoolRequest)Deletes a device pool given the pool ARN.default DeleteInstanceProfileResponsedeleteInstanceProfile(Consumer<DeleteInstanceProfileRequest.Builder> deleteInstanceProfileRequest)Deletes a profile that can be applied to one or more private device instances.default DeleteInstanceProfileResponsedeleteInstanceProfile(DeleteInstanceProfileRequest deleteInstanceProfileRequest)Deletes a profile that can be applied to one or more private device instances.default DeleteNetworkProfileResponsedeleteNetworkProfile(Consumer<DeleteNetworkProfileRequest.Builder> deleteNetworkProfileRequest)Deletes a network profile.default DeleteNetworkProfileResponsedeleteNetworkProfile(DeleteNetworkProfileRequest deleteNetworkProfileRequest)Deletes a network profile.default DeleteProjectResponsedeleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)Deletes an AWS Device Farm project, given the project ARN.default DeleteProjectResponsedeleteProject(DeleteProjectRequest deleteProjectRequest)Deletes an AWS Device Farm project, given the project ARN.default DeleteRemoteAccessSessionResponsedeleteRemoteAccessSession(Consumer<DeleteRemoteAccessSessionRequest.Builder> deleteRemoteAccessSessionRequest)Deletes a completed remote access session and its results.default DeleteRemoteAccessSessionResponsedeleteRemoteAccessSession(DeleteRemoteAccessSessionRequest deleteRemoteAccessSessionRequest)Deletes a completed remote access session and its results.default DeleteRunResponsedeleteRun(Consumer<DeleteRunRequest.Builder> deleteRunRequest)Deletes the run, given the run ARN.default DeleteRunResponsedeleteRun(DeleteRunRequest deleteRunRequest)Deletes the run, given the run ARN.default DeleteTestGridProjectResponsedeleteTestGridProject(Consumer<DeleteTestGridProjectRequest.Builder> deleteTestGridProjectRequest)Deletes a Selenium testing project and all content generated under it.default DeleteTestGridProjectResponsedeleteTestGridProject(DeleteTestGridProjectRequest deleteTestGridProjectRequest)Deletes a Selenium testing project and all content generated under it.default DeleteUploadResponsedeleteUpload(Consumer<DeleteUploadRequest.Builder> deleteUploadRequest)Deletes an upload given the upload ARN.default DeleteUploadResponsedeleteUpload(DeleteUploadRequest deleteUploadRequest)Deletes an upload given the upload ARN.default DeleteVpceConfigurationResponsedeleteVPCEConfiguration(Consumer<DeleteVpceConfigurationRequest.Builder> deleteVpceConfigurationRequest)Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.default DeleteVpceConfigurationResponsedeleteVPCEConfiguration(DeleteVpceConfigurationRequest deleteVpceConfigurationRequest)Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.default GetAccountSettingsResponsegetAccountSettings()Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.default GetAccountSettingsResponsegetAccountSettings(Consumer<GetAccountSettingsRequest.Builder> getAccountSettingsRequest)Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.default GetAccountSettingsResponsegetAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest)Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.default GetDeviceResponsegetDevice(Consumer<GetDeviceRequest.Builder> getDeviceRequest)Gets information about a unique device type.default GetDeviceResponsegetDevice(GetDeviceRequest getDeviceRequest)Gets information about a unique device type.default GetDeviceInstanceResponsegetDeviceInstance(Consumer<GetDeviceInstanceRequest.Builder> getDeviceInstanceRequest)Returns information about a device instance that belongs to a private device fleet.default GetDeviceInstanceResponsegetDeviceInstance(GetDeviceInstanceRequest getDeviceInstanceRequest)Returns information about a device instance that belongs to a private device fleet.default GetDevicePoolResponsegetDevicePool(Consumer<GetDevicePoolRequest.Builder> getDevicePoolRequest)Gets information about a device pool.default GetDevicePoolResponsegetDevicePool(GetDevicePoolRequest getDevicePoolRequest)Gets information about a device pool.default GetDevicePoolCompatibilityResponsegetDevicePoolCompatibility(Consumer<GetDevicePoolCompatibilityRequest.Builder> getDevicePoolCompatibilityRequest)Gets information about compatibility with a device pool.default GetDevicePoolCompatibilityResponsegetDevicePoolCompatibility(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest)Gets information about compatibility with a device pool.default GetInstanceProfileResponsegetInstanceProfile(Consumer<GetInstanceProfileRequest.Builder> getInstanceProfileRequest)Returns information about the specified instance profile.default GetInstanceProfileResponsegetInstanceProfile(GetInstanceProfileRequest getInstanceProfileRequest)Returns information about the specified instance profile.default GetJobResponsegetJob(Consumer<GetJobRequest.Builder> getJobRequest)Gets information about a job.default GetJobResponsegetJob(GetJobRequest getJobRequest)Gets information about a job.default GetNetworkProfileResponsegetNetworkProfile(Consumer<GetNetworkProfileRequest.Builder> getNetworkProfileRequest)Returns information about a network profile.default GetNetworkProfileResponsegetNetworkProfile(GetNetworkProfileRequest getNetworkProfileRequest)Returns information about a network profile.default GetOfferingStatusResponsegetOfferingStatus()Gets the current status and future status of all offerings purchased by an AWS account.default GetOfferingStatusResponsegetOfferingStatus(Consumer<GetOfferingStatusRequest.Builder> getOfferingStatusRequest)Gets the current status and future status of all offerings purchased by an AWS account.default GetOfferingStatusResponsegetOfferingStatus(GetOfferingStatusRequest getOfferingStatusRequest)Gets the current status and future status of all offerings purchased by an AWS account.default GetOfferingStatusIterablegetOfferingStatusPaginator()Gets the current status and future status of all offerings purchased by an AWS account.default GetOfferingStatusIterablegetOfferingStatusPaginator(Consumer<GetOfferingStatusRequest.Builder> getOfferingStatusRequest)Gets the current status and future status of all offerings purchased by an AWS account.default GetOfferingStatusIterablegetOfferingStatusPaginator(GetOfferingStatusRequest getOfferingStatusRequest)Gets the current status and future status of all offerings purchased by an AWS account.default GetProjectResponsegetProject(Consumer<GetProjectRequest.Builder> getProjectRequest)Gets information about a project.default GetProjectResponsegetProject(GetProjectRequest getProjectRequest)Gets information about a project.default GetRemoteAccessSessionResponsegetRemoteAccessSession(Consumer<GetRemoteAccessSessionRequest.Builder> getRemoteAccessSessionRequest)Returns a link to a currently running remote access session.default GetRemoteAccessSessionResponsegetRemoteAccessSession(GetRemoteAccessSessionRequest getRemoteAccessSessionRequest)Returns a link to a currently running remote access session.default GetRunResponsegetRun(Consumer<GetRunRequest.Builder> getRunRequest)Gets information about a run.default GetRunResponsegetRun(GetRunRequest getRunRequest)Gets information about a run.default GetSuiteResponsegetSuite(Consumer<GetSuiteRequest.Builder> getSuiteRequest)Gets information about a suite.default GetSuiteResponsegetSuite(GetSuiteRequest getSuiteRequest)Gets information about a suite.default GetTestResponsegetTest(Consumer<GetTestRequest.Builder> getTestRequest)Gets information about a test.default GetTestResponsegetTest(GetTestRequest getTestRequest)Gets information about a test.default GetTestGridProjectResponsegetTestGridProject(Consumer<GetTestGridProjectRequest.Builder> getTestGridProjectRequest)Retrieves information about a Selenium testing project.default GetTestGridProjectResponsegetTestGridProject(GetTestGridProjectRequest getTestGridProjectRequest)Retrieves information about a Selenium testing project.default GetTestGridSessionResponsegetTestGridSession(Consumer<GetTestGridSessionRequest.Builder> getTestGridSessionRequest)A session is an instance of a browser created through aRemoteWebDriverwith the URL from CreateTestGridUrlResult$url.default GetTestGridSessionResponsegetTestGridSession(GetTestGridSessionRequest getTestGridSessionRequest)A session is an instance of a browser created through aRemoteWebDriverwith the URL from CreateTestGridUrlResult$url.default GetUploadResponsegetUpload(Consumer<GetUploadRequest.Builder> getUploadRequest)Gets information about an upload.default GetUploadResponsegetUpload(GetUploadRequest getUploadRequest)Gets information about an upload.default GetVpceConfigurationResponsegetVPCEConfiguration(Consumer<GetVpceConfigurationRequest.Builder> getVpceConfigurationRequest)Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.default GetVpceConfigurationResponsegetVPCEConfiguration(GetVpceConfigurationRequest getVpceConfigurationRequest)Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.default InstallToRemoteAccessSessionResponseinstallToRemoteAccessSession(Consumer<InstallToRemoteAccessSessionRequest.Builder> installToRemoteAccessSessionRequest)Installs an application to the device in a remote access session.default InstallToRemoteAccessSessionResponseinstallToRemoteAccessSession(InstallToRemoteAccessSessionRequest installToRemoteAccessSessionRequest)Installs an application to the device in a remote access session.default ListArtifactsResponselistArtifacts(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest)Gets information about artifacts.default ListArtifactsResponselistArtifacts(ListArtifactsRequest listArtifactsRequest)Gets information about artifacts.default ListArtifactsIterablelistArtifactsPaginator(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest)Gets information about artifacts.default ListArtifactsIterablelistArtifactsPaginator(ListArtifactsRequest listArtifactsRequest)Gets information about artifacts.default ListDeviceInstancesResponselistDeviceInstances()Returns information about the private device instances associated with one or more AWS accounts.default ListDeviceInstancesResponselistDeviceInstances(Consumer<ListDeviceInstancesRequest.Builder> listDeviceInstancesRequest)Returns information about the private device instances associated with one or more AWS accounts.default ListDeviceInstancesResponselistDeviceInstances(ListDeviceInstancesRequest listDeviceInstancesRequest)Returns information about the private device instances associated with one or more AWS accounts.default ListDevicePoolsResponselistDevicePools(Consumer<ListDevicePoolsRequest.Builder> listDevicePoolsRequest)Gets information about device pools.default ListDevicePoolsResponselistDevicePools(ListDevicePoolsRequest listDevicePoolsRequest)Gets information about device pools.default ListDevicePoolsIterablelistDevicePoolsPaginator(Consumer<ListDevicePoolsRequest.Builder> listDevicePoolsRequest)Gets information about device pools.default ListDevicePoolsIterablelistDevicePoolsPaginator(ListDevicePoolsRequest listDevicePoolsRequest)Gets information about device pools.default ListDevicesResponselistDevices()Gets information about unique device types.default ListDevicesResponselistDevices(Consumer<ListDevicesRequest.Builder> listDevicesRequest)Gets information about unique device types.default ListDevicesResponselistDevices(ListDevicesRequest listDevicesRequest)Gets information about unique device types.default ListDevicesIterablelistDevicesPaginator()Gets information about unique device types.default ListDevicesIterablelistDevicesPaginator(Consumer<ListDevicesRequest.Builder> listDevicesRequest)Gets information about unique device types.default ListDevicesIterablelistDevicesPaginator(ListDevicesRequest listDevicesRequest)Gets information about unique device types.default ListInstanceProfilesResponselistInstanceProfiles()Returns information about all the instance profiles in an AWS account.default ListInstanceProfilesResponselistInstanceProfiles(Consumer<ListInstanceProfilesRequest.Builder> listInstanceProfilesRequest)Returns information about all the instance profiles in an AWS account.default ListInstanceProfilesResponselistInstanceProfiles(ListInstanceProfilesRequest listInstanceProfilesRequest)Returns information about all the instance profiles in an AWS account.default ListJobsResponselistJobs(Consumer<ListJobsRequest.Builder> listJobsRequest)Gets information about jobs for a given test run.default ListJobsResponselistJobs(ListJobsRequest listJobsRequest)Gets information about jobs for a given test run.default ListJobsIterablelistJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest)Gets information about jobs for a given test run.default ListJobsIterablelistJobsPaginator(ListJobsRequest listJobsRequest)Gets information about jobs for a given test run.default ListNetworkProfilesResponselistNetworkProfiles(Consumer<ListNetworkProfilesRequest.Builder> listNetworkProfilesRequest)Returns the list of available network profiles.default ListNetworkProfilesResponselistNetworkProfiles(ListNetworkProfilesRequest listNetworkProfilesRequest)Returns the list of available network profiles.default ListOfferingPromotionsResponselistOfferingPromotions()Returns a list of offering promotions.default ListOfferingPromotionsResponselistOfferingPromotions(Consumer<ListOfferingPromotionsRequest.Builder> listOfferingPromotionsRequest)Returns a list of offering promotions.default ListOfferingPromotionsResponselistOfferingPromotions(ListOfferingPromotionsRequest listOfferingPromotionsRequest)Returns a list of offering promotions.default ListOfferingsResponselistOfferings()Returns a list of products or offerings that the user can manage through the API.default ListOfferingsResponselistOfferings(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest)Returns a list of products or offerings that the user can manage through the API.default ListOfferingsResponselistOfferings(ListOfferingsRequest listOfferingsRequest)Returns a list of products or offerings that the user can manage through the API.default ListOfferingsIterablelistOfferingsPaginator()Returns a list of products or offerings that the user can manage through the API.default ListOfferingsIterablelistOfferingsPaginator(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest)Returns a list of products or offerings that the user can manage through the API.default ListOfferingsIterablelistOfferingsPaginator(ListOfferingsRequest listOfferingsRequest)Returns a list of products or offerings that the user can manage through the API.default ListOfferingTransactionsResponselistOfferingTransactions()Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.default ListOfferingTransactionsResponselistOfferingTransactions(Consumer<ListOfferingTransactionsRequest.Builder> listOfferingTransactionsRequest)Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.default ListOfferingTransactionsResponselistOfferingTransactions(ListOfferingTransactionsRequest listOfferingTransactionsRequest)Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.default ListOfferingTransactionsIterablelistOfferingTransactionsPaginator()Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.default ListOfferingTransactionsIterablelistOfferingTransactionsPaginator(Consumer<ListOfferingTransactionsRequest.Builder> listOfferingTransactionsRequest)Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.default ListOfferingTransactionsIterablelistOfferingTransactionsPaginator(ListOfferingTransactionsRequest listOfferingTransactionsRequest)Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.default ListProjectsResponselistProjects()Gets information about projects.default ListProjectsResponselistProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)Gets information about projects.default ListProjectsResponselistProjects(ListProjectsRequest listProjectsRequest)Gets information about projects.default ListProjectsIterablelistProjectsPaginator()Gets information about projects.default ListProjectsIterablelistProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest)Gets information about projects.default ListProjectsIterablelistProjectsPaginator(ListProjectsRequest listProjectsRequest)Gets information about projects.default ListRemoteAccessSessionsResponselistRemoteAccessSessions(Consumer<ListRemoteAccessSessionsRequest.Builder> listRemoteAccessSessionsRequest)Returns a list of all currently running remote access sessions.default ListRemoteAccessSessionsResponselistRemoteAccessSessions(ListRemoteAccessSessionsRequest listRemoteAccessSessionsRequest)Returns a list of all currently running remote access sessions.default ListRunsResponselistRuns(Consumer<ListRunsRequest.Builder> listRunsRequest)Gets information about runs, given an AWS Device Farm project ARN.default ListRunsResponselistRuns(ListRunsRequest listRunsRequest)Gets information about runs, given an AWS Device Farm project ARN.default ListRunsIterablelistRunsPaginator(Consumer<ListRunsRequest.Builder> listRunsRequest)Gets information about runs, given an AWS Device Farm project ARN.default ListRunsIterablelistRunsPaginator(ListRunsRequest listRunsRequest)Gets information about runs, given an AWS Device Farm project ARN.default ListSamplesResponselistSamples(Consumer<ListSamplesRequest.Builder> listSamplesRequest)Gets information about samples, given an AWS Device Farm job ARN.default ListSamplesResponselistSamples(ListSamplesRequest listSamplesRequest)Gets information about samples, given an AWS Device Farm job ARN.default ListSamplesIterablelistSamplesPaginator(Consumer<ListSamplesRequest.Builder> listSamplesRequest)Gets information about samples, given an AWS Device Farm job ARN.default ListSamplesIterablelistSamplesPaginator(ListSamplesRequest listSamplesRequest)Gets information about samples, given an AWS Device Farm job ARN.default ListSuitesResponselistSuites(Consumer<ListSuitesRequest.Builder> listSuitesRequest)Gets information about test suites for a given job.default ListSuitesResponselistSuites(ListSuitesRequest listSuitesRequest)Gets information about test suites for a given job.default ListSuitesIterablelistSuitesPaginator(Consumer<ListSuitesRequest.Builder> listSuitesRequest)Gets information about test suites for a given job.default ListSuitesIterablelistSuitesPaginator(ListSuitesRequest listSuitesRequest)Gets information about test suites for a given job.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)List the tags for an AWS Device Farm resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)List the tags for an AWS Device Farm resource.default ListTestGridProjectsResponselistTestGridProjects(Consumer<ListTestGridProjectsRequest.Builder> listTestGridProjectsRequest)Gets a list of all Selenium testing projects in your account.default ListTestGridProjectsResponselistTestGridProjects(ListTestGridProjectsRequest listTestGridProjectsRequest)Gets a list of all Selenium testing projects in your account.default ListTestGridProjectsIterablelistTestGridProjectsPaginator(Consumer<ListTestGridProjectsRequest.Builder> listTestGridProjectsRequest)Gets a list of all Selenium testing projects in your account.default ListTestGridProjectsIterablelistTestGridProjectsPaginator(ListTestGridProjectsRequest listTestGridProjectsRequest)Gets a list of all Selenium testing projects in your account.default ListTestGridSessionActionsResponselistTestGridSessionActions(Consumer<ListTestGridSessionActionsRequest.Builder> listTestGridSessionActionsRequest)Returns a list of the actions taken in a TestGridSession.default ListTestGridSessionActionsResponselistTestGridSessionActions(ListTestGridSessionActionsRequest listTestGridSessionActionsRequest)Returns a list of the actions taken in a TestGridSession.default ListTestGridSessionActionsIterablelistTestGridSessionActionsPaginator(Consumer<ListTestGridSessionActionsRequest.Builder> listTestGridSessionActionsRequest)Returns a list of the actions taken in a TestGridSession.default ListTestGridSessionActionsIterablelistTestGridSessionActionsPaginator(ListTestGridSessionActionsRequest listTestGridSessionActionsRequest)Returns a list of the actions taken in a TestGridSession.default ListTestGridSessionArtifactsResponselistTestGridSessionArtifacts(Consumer<ListTestGridSessionArtifactsRequest.Builder> listTestGridSessionArtifactsRequest)Retrieves a list of artifacts created during the session.default ListTestGridSessionArtifactsResponselistTestGridSessionArtifacts(ListTestGridSessionArtifactsRequest listTestGridSessionArtifactsRequest)Retrieves a list of artifacts created during the session.default ListTestGridSessionArtifactsIterablelistTestGridSessionArtifactsPaginator(Consumer<ListTestGridSessionArtifactsRequest.Builder> listTestGridSessionArtifactsRequest)Retrieves a list of artifacts created during the session.default ListTestGridSessionArtifactsIterablelistTestGridSessionArtifactsPaginator(ListTestGridSessionArtifactsRequest listTestGridSessionArtifactsRequest)Retrieves a list of artifacts created during the session.default ListTestGridSessionsResponselistTestGridSessions(Consumer<ListTestGridSessionsRequest.Builder> listTestGridSessionsRequest)Retrieves a list of sessions for a TestGridProject.default ListTestGridSessionsResponselistTestGridSessions(ListTestGridSessionsRequest listTestGridSessionsRequest)Retrieves a list of sessions for a TestGridProject.default ListTestGridSessionsIterablelistTestGridSessionsPaginator(Consumer<ListTestGridSessionsRequest.Builder> listTestGridSessionsRequest)Retrieves a list of sessions for a TestGridProject.default ListTestGridSessionsIterablelistTestGridSessionsPaginator(ListTestGridSessionsRequest listTestGridSessionsRequest)Retrieves a list of sessions for a TestGridProject.default ListTestsResponselistTests(Consumer<ListTestsRequest.Builder> listTestsRequest)Gets information about tests in a given test suite.default ListTestsResponselistTests(ListTestsRequest listTestsRequest)Gets information about tests in a given test suite.default ListTestsIterablelistTestsPaginator(Consumer<ListTestsRequest.Builder> listTestsRequest)Gets information about tests in a given test suite.default ListTestsIterablelistTestsPaginator(ListTestsRequest listTestsRequest)Gets information about tests in a given test suite.default ListUniqueProblemsResponselistUniqueProblems(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest)Gets information about unique problems, such as exceptions or crashes.default ListUniqueProblemsResponselistUniqueProblems(ListUniqueProblemsRequest listUniqueProblemsRequest)Gets information about unique problems, such as exceptions or crashes.default ListUniqueProblemsIterablelistUniqueProblemsPaginator(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest)Gets information about unique problems, such as exceptions or crashes.default ListUniqueProblemsIterablelistUniqueProblemsPaginator(ListUniqueProblemsRequest listUniqueProblemsRequest)Gets information about unique problems, such as exceptions or crashes.default ListUploadsResponselistUploads(Consumer<ListUploadsRequest.Builder> listUploadsRequest)Gets information about uploads, given an AWS Device Farm project ARN.default ListUploadsResponselistUploads(ListUploadsRequest listUploadsRequest)Gets information about uploads, given an AWS Device Farm project ARN.default ListUploadsIterablelistUploadsPaginator(Consumer<ListUploadsRequest.Builder> listUploadsRequest)Gets information about uploads, given an AWS Device Farm project ARN.default ListUploadsIterablelistUploadsPaginator(ListUploadsRequest listUploadsRequest)Gets information about uploads, given an AWS Device Farm project ARN.default ListVpceConfigurationsResponselistVPCEConfigurations(Consumer<ListVpceConfigurationsRequest.Builder> listVpceConfigurationsRequest)Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.default ListVpceConfigurationsResponselistVPCEConfigurations(ListVpceConfigurationsRequest listVpceConfigurationsRequest)Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.default PurchaseOfferingResponsepurchaseOffering(Consumer<PurchaseOfferingRequest.Builder> purchaseOfferingRequest)Immediately purchases offerings for an AWS account.default PurchaseOfferingResponsepurchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest)Immediately purchases offerings for an AWS account.default RenewOfferingResponserenewOffering(Consumer<RenewOfferingRequest.Builder> renewOfferingRequest)Explicitly sets the quantity of devices to renew for an offering, starting from theeffectiveDateof the next period.default RenewOfferingResponserenewOffering(RenewOfferingRequest renewOfferingRequest)Explicitly sets the quantity of devices to renew for an offering, starting from theeffectiveDateof the next period.default ScheduleRunResponsescheduleRun(Consumer<ScheduleRunRequest.Builder> scheduleRunRequest)Schedules a run.default ScheduleRunResponsescheduleRun(ScheduleRunRequest scheduleRunRequest)Schedules a run.default DeviceFarmServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default StopJobResponsestopJob(Consumer<StopJobRequest.Builder> stopJobRequest)Initiates a stop request for the current job.default StopJobResponsestopJob(StopJobRequest stopJobRequest)Initiates a stop request for the current job.default StopRemoteAccessSessionResponsestopRemoteAccessSession(Consumer<StopRemoteAccessSessionRequest.Builder> stopRemoteAccessSessionRequest)Ends a specified remote access session.default StopRemoteAccessSessionResponsestopRemoteAccessSession(StopRemoteAccessSessionRequest stopRemoteAccessSessionRequest)Ends a specified remote access session.default StopRunResponsestopRun(Consumer<StopRunRequest.Builder> stopRunRequest)Initiates a stop request for the current test run.default StopRunResponsestopRun(StopRunRequest stopRunRequest)Initiates a stop request for the current test run.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Associates the specified tags to a resource with the specifiedresourceArn.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest)Associates the specified tags to a resource with the specifiedresourceArn.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Deletes the specified tags from a resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest)Deletes the specified tags from a resource.default UpdateDeviceInstanceResponseupdateDeviceInstance(Consumer<UpdateDeviceInstanceRequest.Builder> updateDeviceInstanceRequest)Updates information about a private device instance.default UpdateDeviceInstanceResponseupdateDeviceInstance(UpdateDeviceInstanceRequest updateDeviceInstanceRequest)Updates information about a private device instance.default UpdateDevicePoolResponseupdateDevicePool(Consumer<UpdateDevicePoolRequest.Builder> updateDevicePoolRequest)Modifies the name, description, and rules in a device pool given the attributes and the pool ARN.default UpdateDevicePoolResponseupdateDevicePool(UpdateDevicePoolRequest updateDevicePoolRequest)Modifies the name, description, and rules in a device pool given the attributes and the pool ARN.default UpdateInstanceProfileResponseupdateInstanceProfile(Consumer<UpdateInstanceProfileRequest.Builder> updateInstanceProfileRequest)Updates information about an existing private device instance profile.default UpdateInstanceProfileResponseupdateInstanceProfile(UpdateInstanceProfileRequest updateInstanceProfileRequest)Updates information about an existing private device instance profile.default UpdateNetworkProfileResponseupdateNetworkProfile(Consumer<UpdateNetworkProfileRequest.Builder> updateNetworkProfileRequest)Updates the network profile.default UpdateNetworkProfileResponseupdateNetworkProfile(UpdateNetworkProfileRequest updateNetworkProfileRequest)Updates the network profile.default UpdateProjectResponseupdateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)Modifies the specified project name, given the project ARN and a new name.default UpdateProjectResponseupdateProject(UpdateProjectRequest updateProjectRequest)Modifies the specified project name, given the project ARN and a new name.default UpdateTestGridProjectResponseupdateTestGridProject(Consumer<UpdateTestGridProjectRequest.Builder> updateTestGridProjectRequest)Change details of a project.default UpdateTestGridProjectResponseupdateTestGridProject(UpdateTestGridProjectRequest updateTestGridProjectRequest)Change details of a project.default UpdateUploadResponseupdateUpload(Consumer<UpdateUploadRequest.Builder> updateUploadRequest)Updates an uploaded test spec.default UpdateUploadResponseupdateUpload(UpdateUploadRequest updateUploadRequest)Updates an uploaded test spec.default UpdateVpceConfigurationResponseupdateVPCEConfiguration(Consumer<UpdateVpceConfigurationRequest.Builder> updateVpceConfigurationRequest)Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.default UpdateVpceConfigurationResponseupdateVPCEConfiguration(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 Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateDevicePoolRequest.builder()- Parameters:
createDevicePoolRequest- AConsumerthat will call methods onCreateDevicePoolRequest.Builderto create a request. Represents a request to the create device pool operation.- Returns:
- Result of the CreateDevicePool operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateInstanceProfileRequest.builder()- Parameters:
createInstanceProfileRequest- AConsumerthat will call methods onCreateInstanceProfileRequest.Builderto create a request.- Returns:
- Result of the CreateInstanceProfile operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateNetworkProfileRequest.builder()- Parameters:
createNetworkProfileRequest- AConsumerthat will call methods onCreateNetworkProfileRequest.Builderto create a request.- Returns:
- Result of the CreateNetworkProfile operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.TagOperationException- The operation was not successful. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateProjectRequest.builder()- Parameters:
createProjectRequest- AConsumerthat will call methods onCreateProjectRequest.Builderto create a request. Represents a request to the create project operation.- Returns:
- Result of the CreateProject operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.TagOperationException- The operation was not successful. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateRemoteAccessSessionRequest.builder()- Parameters:
createRemoteAccessSessionRequest- AConsumerthat will call methods onCreateRemoteAccessSessionRequest.Builderto create a request. Creates and submits a request to start a remote access session.- Returns:
- Result of the CreateRemoteAccessSession operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.LimitExceededException- A limit was exceeded.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateTestGridProjectRequest.builder()- Parameters:
createTestGridProjectRequest- AConsumerthat will call methods onCreateTestGridProjectRequest.Builderto create a request.- Returns:
- Result of the CreateTestGridProject operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.LimitExceededException- A limit was exceeded.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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
RemoteWebDriverconstructor.- Parameters:
createTestGridUrlRequest-- Returns:
- Result of the CreateTestGridUrl operation returned by the service.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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
RemoteWebDriverconstructor.
This is a convenience which creates an instance of the
CreateTestGridUrlRequest.Builderavoiding the need to create one manually viaCreateTestGridUrlRequest.builder()- Parameters:
createTestGridUrlRequest- AConsumerthat will call methods onCreateTestGridUrlRequest.Builderto create a request.- Returns:
- Result of the CreateTestGridUrl operation returned by the service.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateUploadRequest.builder()- Parameters:
createUploadRequest- AConsumerthat will call methods onCreateUploadRequest.Builderto create a request. Represents a request to the create upload operation.- Returns:
- Result of the CreateUpload operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaCreateVpceConfigurationRequest.builder()- Parameters:
createVpceConfigurationRequest- AConsumerthat will call methods onCreateVpceConfigurationRequest.Builderto create a request.- Returns:
- Result of the CreateVPCEConfiguration operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteDevicePoolRequest.builder()- Parameters:
deleteDevicePoolRequest- AConsumerthat will call methods onDeleteDevicePoolRequest.Builderto create a request. Represents a request to the delete device pool operation.- Returns:
- Result of the DeleteDevicePool operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteInstanceProfileRequest.builder()- Parameters:
deleteInstanceProfileRequest- AConsumerthat will call methods onDeleteInstanceProfileRequest.Builderto create a request.- Returns:
- Result of the DeleteInstanceProfile operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteNetworkProfileRequest.builder()- Parameters:
deleteNetworkProfileRequest- AConsumerthat will call methods onDeleteNetworkProfileRequest.Builderto create a request.- Returns:
- Result of the DeleteNetworkProfile operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteProjectRequest.builder()- Parameters:
deleteProjectRequest- AConsumerthat will call methods onDeleteProjectRequest.Builderto create a request. Represents a request to the delete project operation.- Returns:
- Result of the DeleteProject operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteRemoteAccessSessionRequest.builder()- Parameters:
deleteRemoteAccessSessionRequest- AConsumerthat will call methods onDeleteRemoteAccessSessionRequest.Builderto create a request. Represents the request to delete the specified remote access session.- Returns:
- Result of the DeleteRemoteAccessSession operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteRunRequest.builder()- Parameters:
deleteRunRequest- AConsumerthat will call methods onDeleteRunRequest.Builderto create a request. Represents a request to the delete run operation.- Returns:
- Result of the DeleteRun operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.CannotDeleteException- The requested object could not be deleted.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteTestGridProjectRequest.builder()- Parameters:
deleteTestGridProjectRequest- AConsumerthat will call methods onDeleteTestGridProjectRequest.Builderto create a request.- Returns:
- Result of the DeleteTestGridProject operation returned by the service.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.CannotDeleteException- The requested object could not be deleted.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteUploadRequest.builder()- Parameters:
deleteUploadRequest- AConsumerthat will call methods onDeleteUploadRequest.Builderto create a request. Represents a request to the delete upload operation.- Returns:
- Result of the DeleteUpload operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.ServiceAccountException- There was a problem with the service account.InvalidOperationException- There was an error with the update request, or you do not have sufficient permissions to update this VPC endpoint configuration.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaDeleteVpceConfigurationRequest.builder()- Parameters:
deleteVpceConfigurationRequest- AConsumerthat will call methods onDeleteVpceConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteVPCEConfiguration operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.ServiceAccountException- There was a problem with the service account.InvalidOperationException- There was an error with the update request, or you do not have sufficient permissions to update this VPC endpoint configuration.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetAccountSettingsRequest.builder()- Parameters:
getAccountSettingsRequest- AConsumerthat will call methods onGetAccountSettingsRequest.Builderto create a request. Represents the request sent to retrieve the account settings.- Returns:
- Result of the GetAccountSettings operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAccountSettings
default GetAccountSettingsResponse getAccountSettings() 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.
- Returns:
- Result of the GetAccountSettings operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
getAccountSettings(GetAccountSettingsRequest), AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetDeviceRequest.builder()- Parameters:
getDeviceRequest- AConsumerthat will call methods onGetDeviceRequest.Builderto create a request. Represents a request to the get device request.- Returns:
- Result of the GetDevice operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetDeviceInstanceRequest.builder()- Parameters:
getDeviceInstanceRequest- AConsumerthat will call methods onGetDeviceInstanceRequest.Builderto create a request.- Returns:
- Result of the GetDeviceInstance operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetDevicePoolRequest.builder()- Parameters:
getDevicePoolRequest- AConsumerthat will call methods onGetDevicePoolRequest.Builderto create a request. Represents a request to the get device pool operation.- Returns:
- Result of the GetDevicePool operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetDevicePoolCompatibilityRequest.builder()- Parameters:
getDevicePoolCompatibilityRequest- AConsumerthat will call methods onGetDevicePoolCompatibilityRequest.Builderto create a request. Represents a request to the get device pool compatibility operation.- Returns:
- Result of the GetDevicePoolCompatibility operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetInstanceProfileRequest.builder()- Parameters:
getInstanceProfileRequest- AConsumerthat will call methods onGetInstanceProfileRequest.Builderto create a request.- Returns:
- Result of the GetInstanceProfile operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetJobRequest.builder()- Parameters:
getJobRequest- AConsumerthat will call methods onGetJobRequest.Builderto create a request. Represents a request to the get job operation.- Returns:
- Result of the GetJob operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetNetworkProfileRequest.builder()- Parameters:
getNetworkProfileRequest- AConsumerthat will call methods onGetNetworkProfileRequest.Builderto create a request.- Returns:
- Result of the GetNetworkProfile operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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
NotEligibleerror 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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
NotEligibleerror 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.Builderavoiding the need to create one manually viaGetOfferingStatusRequest.builder()- Parameters:
getOfferingStatusRequest- AConsumerthat will call methods onGetOfferingStatusRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getOfferingStatus
default GetOfferingStatusResponse getOfferingStatus() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. The API returns a
NotEligibleerror 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
getOfferingStatus(GetOfferingStatusRequest), AWS API Documentation
-
getOfferingStatusPaginator
default GetOfferingStatusIterable getOfferingStatusPaginator() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. The API returns a
NotEligibleerror 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 variant of
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
getOfferingStatusPaginator(GetOfferingStatusRequest), AWS API Documentation
-
getOfferingStatusPaginator
default GetOfferingStatusIterable getOfferingStatusPaginator(GetOfferingStatusRequest getOfferingStatusRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. The API returns a
NotEligibleerror 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 variant of
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getOfferingStatusPaginator
default GetOfferingStatusIterable getOfferingStatusPaginator(Consumer<GetOfferingStatusRequest.Builder> getOfferingStatusRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. The API returns a
NotEligibleerror 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 variant of
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaGetOfferingStatusRequest.builder()- Parameters:
getOfferingStatusRequest- AConsumerthat will call methods onGetOfferingStatusRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetProjectRequest.builder()- Parameters:
getProjectRequest- AConsumerthat will call methods onGetProjectRequest.Builderto create a request. Represents a request to the get project operation.- Returns:
- Result of the GetProject operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetRemoteAccessSessionRequest.builder()- Parameters:
getRemoteAccessSessionRequest- AConsumerthat will call methods onGetRemoteAccessSessionRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetRunRequest.builder()- Parameters:
getRunRequest- AConsumerthat will call methods onGetRunRequest.Builderto create a request. Represents a request to the get run operation.- Returns:
- Result of the GetRun operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetSuiteRequest.builder()- Parameters:
getSuiteRequest- AConsumerthat will call methods onGetSuiteRequest.Builderto create a request. Represents a request to the get suite operation.- Returns:
- Result of the GetSuite operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetTestRequest.builder()- Parameters:
getTestRequest- AConsumerthat will call methods onGetTestRequest.Builderto create a request. Represents a request to the get test operation.- Returns:
- Result of the GetTest operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetTestGridProjectRequest.builder()- Parameters:
getTestGridProjectRequest- AConsumerthat will call methods onGetTestGridProjectRequest.Builderto create a request.- Returns:
- Result of the GetTestGridProject operation returned by the service.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getTestGridSession
default GetTestGridSessionResponse getTestGridSession(GetTestGridSessionRequest getTestGridSessionRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException
A session is an instance of a browser created through a
RemoteWebDriverwith the URL from CreateTestGridUrlResult$url. You can use the following to look up sessions:-
The session ARN (GetTestGridSessionRequest$sessionArn).
-
The project ARN and a session ID (GetTestGridSessionRequest$projectArn and GetTestGridSessionRequest$sessionId).
- Parameters:
getTestGridSessionRequest-- Returns:
- Result of the GetTestGridSession operation returned by the service.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
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
RemoteWebDriverwith the URL from CreateTestGridUrlResult$url. You can use the following to look up sessions:-
The session ARN (GetTestGridSessionRequest$sessionArn).
-
The project ARN and a session ID (GetTestGridSessionRequest$projectArn and GetTestGridSessionRequest$sessionId).
This is a convenience which creates an instance of the
GetTestGridSessionRequest.Builderavoiding the need to create one manually viaGetTestGridSessionRequest.builder()- Parameters:
getTestGridSessionRequest- AConsumerthat will call methods onGetTestGridSessionRequest.Builderto create a request.- Returns:
- Result of the GetTestGridSession operation returned by the service.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetUploadRequest.builder()- Parameters:
getUploadRequest- AConsumerthat will call methods onGetUploadRequest.Builderto create a request. Represents a request to the get upload operation.- Returns:
- Result of the GetUpload operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaGetVpceConfigurationRequest.builder()- Parameters:
getVpceConfigurationRequest- AConsumerthat will call methods onGetVpceConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetVPCEConfiguration operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaInstallToRemoteAccessSessionRequest.builder()- Parameters:
installToRemoteAccessSessionRequest- AConsumerthat will call methods onInstallToRemoteAccessSessionRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListArtifactsRequest.builder()- Parameters:
listArtifactsRequest- AConsumerthat will call methods onListArtifactsRequest.Builderto create a request. Represents a request to the list artifacts operation.- Returns:
- Result of the ListArtifacts operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArtifactsPaginator
default ListArtifactsIterable listArtifactsPaginator(ListArtifactsRequest listArtifactsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about artifacts.
This is a variant of
listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listArtifactsPaginator
default ListArtifactsIterable listArtifactsPaginator(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about artifacts.
This is a variant of
listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListArtifactsRequest.builder()- Parameters:
listArtifactsRequest- AConsumerthat will call methods onListArtifactsRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListDeviceInstancesRequest.builder()- Parameters:
listDeviceInstancesRequest- AConsumerthat will call methods onListDeviceInstancesRequest.Builderto create a request.- Returns:
- Result of the ListDeviceInstances operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDeviceInstances
default ListDeviceInstancesResponse listDeviceInstances() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns information about the private device instances associated with one or more AWS accounts.
- Returns:
- Result of the ListDeviceInstances operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listDeviceInstances(ListDeviceInstancesRequest), AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListDevicePoolsRequest.builder()- Parameters:
listDevicePoolsRequest- AConsumerthat will call methods onListDevicePoolsRequest.Builderto create a request. Represents the result of a list device pools request.- Returns:
- Result of the ListDevicePools operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDevicePoolsPaginator
default ListDevicePoolsIterable listDevicePoolsPaginator(ListDevicePoolsRequest listDevicePoolsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about device pools.
This is a variant of
listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDevicePoolsPaginator
default ListDevicePoolsIterable listDevicePoolsPaginator(Consumer<ListDevicePoolsRequest.Builder> listDevicePoolsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about device pools.
This is a variant of
listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListDevicePoolsRequest.builder()- Parameters:
listDevicePoolsRequest- AConsumerthat will call methods onListDevicePoolsRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListDevicesRequest.builder()- Parameters:
listDevicesRequest- AConsumerthat will call methods onListDevicesRequest.Builderto create a request. Represents the result of a list devices request.- Returns:
- Result of the ListDevices operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDevices
default ListDevicesResponse listDevices() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about unique device types.
- Returns:
- Result of the ListDevices operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listDevices(ListDevicesRequest), AWS API Documentation
-
listDevicesPaginator
default ListDevicesIterable listDevicesPaginator() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about unique device types.
This is a variant of
listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listDevicesPaginator(ListDevicesRequest), AWS API Documentation
-
listDevicesPaginator
default ListDevicesIterable listDevicesPaginator(ListDevicesRequest listDevicesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about unique device types.
This is a variant of
listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDevicesPaginator
default ListDevicesIterable listDevicesPaginator(Consumer<ListDevicesRequest.Builder> listDevicesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about unique device types.
This is a variant of
listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListDevicesRequest.builder()- Parameters:
listDevicesRequest- AConsumerthat will call methods onListDevicesRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListInstanceProfilesRequest.builder()- Parameters:
listInstanceProfilesRequest- AConsumerthat will call methods onListInstanceProfilesRequest.Builderto create a request.- Returns:
- Result of the ListInstanceProfiles operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listInstanceProfiles
default ListInstanceProfilesResponse listInstanceProfiles() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns information about all the instance profiles in an AWS account.
- Returns:
- Result of the ListInstanceProfiles operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listInstanceProfiles(ListInstanceProfilesRequest), AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto create a request. Represents a request to the list jobs operation.- Returns:
- Result of the ListJobs operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listJobsPaginator
default ListJobsIterable listJobsPaginator(ListJobsRequest listJobsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about jobs for a given test run.
This is a variant of
listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listJobsPaginator
default ListJobsIterable listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about jobs for a given test run.
This is a variant of
listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListJobsRequest.builder()- Parameters:
listJobsRequest- AConsumerthat will call methods onListJobsRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListNetworkProfilesRequest.builder()- Parameters:
listNetworkProfilesRequest- AConsumerthat will call methods onListNetworkProfilesRequest.Builderto create a request.- Returns:
- Result of the ListNetworkProfiles operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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
NotEligibleerror 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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
NotEligibleerror 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.Builderavoiding the need to create one manually viaListOfferingPromotionsRequest.builder()- Parameters:
listOfferingPromotionsRequest- AConsumerthat will call methods onListOfferingPromotionsRequest.Builderto create a request.- Returns:
- Result of the ListOfferingPromotions operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listOfferingPromotions
default ListOfferingPromotionsResponse listOfferingPromotions() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a
NotEligibleerror 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listOfferingPromotions(ListOfferingPromotionsRequest), AWS API Documentation
-
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
NotEligibleerror 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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
NotEligibleerror 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.Builderavoiding the need to create one manually viaListOfferingTransactionsRequest.builder()- Parameters:
listOfferingTransactionsRequest- AConsumerthat will call methods onListOfferingTransactionsRequest.Builderto create a request. Represents the request to list the offering transaction history.- Returns:
- Result of the ListOfferingTransactions operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listOfferingTransactions
default ListOfferingTransactionsResponse listOfferingTransactions() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a
NotEligibleerror 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listOfferingTransactions(ListOfferingTransactionsRequest), AWS API Documentation
-
listOfferingTransactionsPaginator
default ListOfferingTransactionsIterable listOfferingTransactionsPaginator() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a
NotEligibleerror 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 variant of
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listOfferingTransactionsPaginator(ListOfferingTransactionsRequest), AWS API Documentation
-
listOfferingTransactionsPaginator
default ListOfferingTransactionsIterable listOfferingTransactionsPaginator(ListOfferingTransactionsRequest listOfferingTransactionsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a
NotEligibleerror 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 variant of
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listOfferingTransactionsPaginator
default ListOfferingTransactionsIterable listOfferingTransactionsPaginator(Consumer<ListOfferingTransactionsRequest.Builder> listOfferingTransactionsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a
NotEligibleerror 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 variant of
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListOfferingTransactionsRequest.builder()- Parameters:
listOfferingTransactionsRequest- AConsumerthat will call methods onListOfferingTransactionsRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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
NotEligibleerror 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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
NotEligibleerror 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.Builderavoiding the need to create one manually viaListOfferingsRequest.builder()- Parameters:
listOfferingsRequest- AConsumerthat will call methods onListOfferingsRequest.Builderto create a request. Represents the request to list all offerings.- Returns:
- Result of the ListOfferings operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listOfferings
default ListOfferingsResponse listOfferings() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a
NotEligibleerror 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listOfferings(ListOfferingsRequest), AWS API Documentation
-
listOfferingsPaginator
default ListOfferingsIterable listOfferingsPaginator() throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a
NotEligibleerror 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 variant of
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listOfferingsPaginator(ListOfferingsRequest), AWS API Documentation
-
listOfferingsPaginator
default ListOfferingsIterable listOfferingsPaginator(ListOfferingsRequest listOfferingsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a
NotEligibleerror 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 variant of
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listOfferingsPaginator
default ListOfferingsIterable listOfferingsPaginator(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest) throws ArgumentException, NotFoundException, NotEligibleException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Returns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a
NotEligibleerror 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 variant of
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListOfferingsRequest.builder()- Parameters:
listOfferingsRequest- AConsumerthat will call methods onListOfferingsRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListProjectsRequest.builder()- Parameters:
listProjectsRequest- AConsumerthat will call methods onListProjectsRequest.Builderto create a request. Represents a request to the list projects operation.- Returns:
- Result of the ListProjects operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProjects
default ListProjectsResponse listProjects() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about projects.
- Returns:
- Result of the ListProjects operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listProjects(ListProjectsRequest), AWS API Documentation
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator() throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about projects.
This is a variant of
listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listProjectsPaginator(ListProjectsRequest), AWS API Documentation
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator(ListProjectsRequest listProjectsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about projects.
This is a variant of
listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about projects.
This is a variant of
listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListProjectsRequest.builder()- Parameters:
listProjectsRequest- AConsumerthat will call methods onListProjectsRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListRemoteAccessSessionsRequest.builder()- Parameters:
listRemoteAccessSessionsRequest- AConsumerthat will call methods onListRemoteAccessSessionsRequest.Builderto create a request. Represents the request to return information about the remote access session.- Returns:
- Result of the ListRemoteAccessSessions operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListRunsRequest.builder()- Parameters:
listRunsRequest- AConsumerthat will call methods onListRunsRequest.Builderto create a request. Represents a request to the list runs operation.- Returns:
- Result of the ListRuns operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRunsPaginator
default ListRunsIterable listRunsPaginator(ListRunsRequest listRunsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about runs, given an AWS Device Farm project ARN.
This is a variant of
listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listRunsPaginator
default ListRunsIterable listRunsPaginator(Consumer<ListRunsRequest.Builder> listRunsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about runs, given an AWS Device Farm project ARN.
This is a variant of
listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListRunsRequest.builder()- Parameters:
listRunsRequest- AConsumerthat will call methods onListRunsRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListSamplesRequest.builder()- Parameters:
listSamplesRequest- AConsumerthat will call methods onListSamplesRequest.Builderto create a request. Represents a request to the list samples operation.- Returns:
- Result of the ListSamples operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSamplesPaginator
default ListSamplesIterable listSamplesPaginator(ListSamplesRequest listSamplesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about samples, given an AWS Device Farm job ARN.
This is a variant of
listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSamplesPaginator
default ListSamplesIterable listSamplesPaginator(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 variant of
listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSamplesRequest.builder()- Parameters:
listSamplesRequest- AConsumerthat will call methods onListSamplesRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListSuitesRequest.builder()- Parameters:
listSuitesRequest- AConsumerthat will call methods onListSuitesRequest.Builderto create a request. Represents a request to the list suites operation.- Returns:
- Result of the ListSuites operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSuitesPaginator
default ListSuitesIterable listSuitesPaginator(ListSuitesRequest listSuitesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about test suites for a given job.
This is a variant of
listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listSuitesPaginator
default ListSuitesIterable listSuitesPaginator(Consumer<ListSuitesRequest.Builder> listSuitesRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about test suites for a given job.
This is a variant of
listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListSuitesRequest.builder()- Parameters:
listSuitesRequest- AConsumerthat will call methods onListSuitesRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.TagOperationException- The operation was not successful. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.TagOperationException- The operation was not successful. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListTestGridProjectsRequest.builder()- Parameters:
listTestGridProjectsRequest- AConsumerthat will call methods onListTestGridProjectsRequest.Builderto create a request.- Returns:
- Result of the ListTestGridProjects operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestGridProjectsPaginator
default ListTestGridProjectsIterable listTestGridProjectsPaginator(ListTestGridProjectsRequest listTestGridProjectsRequest) throws ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException
Gets a list of all Selenium testing projects in your account.
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 Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestGridProjectsPaginator
default ListTestGridProjectsIterable listTestGridProjectsPaginator(Consumer<ListTestGridProjectsRequest.Builder> listTestGridProjectsRequest) throws ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException
Gets a list of all Selenium testing projects in your account.
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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListTestGridProjectsRequest.builder()- Parameters:
listTestGridProjectsRequest- AConsumerthat will call methods onListTestGridProjectsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListTestGridSessionActionsRequest.builder()- Parameters:
listTestGridSessionActionsRequest- AConsumerthat will call methods onListTestGridSessionActionsRequest.Builderto create a request.- Returns:
- Result of the ListTestGridSessionActions operation returned by the service.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestGridSessionActionsPaginator
default ListTestGridSessionActionsIterable listTestGridSessionActionsPaginator(ListTestGridSessionActionsRequest listTestGridSessionActionsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException
Returns a list of the actions taken in a TestGridSession.
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 Stream
2) Using For loopsoftware.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.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestGridSessionActionsPaginator
default ListTestGridSessionActionsIterable listTestGridSessionActionsPaginator(Consumer<ListTestGridSessionActionsRequest.Builder> listTestGridSessionActionsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException
Returns a list of the actions taken in a TestGridSession.
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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListTestGridSessionActionsRequest.builder()- Parameters:
listTestGridSessionActionsRequest- AConsumerthat will call methods onListTestGridSessionActionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListTestGridSessionArtifactsRequest.builder()- Parameters:
listTestGridSessionArtifactsRequest- AConsumerthat will call methods onListTestGridSessionArtifactsRequest.Builderto create a request.- Returns:
- Result of the ListTestGridSessionArtifacts operation returned by the service.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestGridSessionArtifactsPaginator
default ListTestGridSessionArtifactsIterable listTestGridSessionArtifactsPaginator(ListTestGridSessionArtifactsRequest listTestGridSessionArtifactsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException
Retrieves a list of artifacts created during the session.
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 Stream
2) Using For loopsoftware.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.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestGridSessionArtifactsPaginator
default ListTestGridSessionArtifactsIterable listTestGridSessionArtifactsPaginator(Consumer<ListTestGridSessionArtifactsRequest.Builder> listTestGridSessionArtifactsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException
Retrieves a list of artifacts created during the session.
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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListTestGridSessionArtifactsRequest.builder()- Parameters:
listTestGridSessionArtifactsRequest- AConsumerthat will call methods onListTestGridSessionArtifactsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListTestGridSessionsRequest.builder()- Parameters:
listTestGridSessionsRequest- AConsumerthat will call methods onListTestGridSessionsRequest.Builderto create a request.- Returns:
- Result of the ListTestGridSessions operation returned by the service.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestGridSessionsPaginator
default ListTestGridSessionsIterable listTestGridSessionsPaginator(ListTestGridSessionsRequest listTestGridSessionsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException
Retrieves a list of sessions for a TestGridProject.
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 Stream
2) Using For loopsoftware.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.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestGridSessionsPaginator
default ListTestGridSessionsIterable listTestGridSessionsPaginator(Consumer<ListTestGridSessionsRequest.Builder> listTestGridSessionsRequest) throws NotFoundException, ArgumentException, InternalServiceException, AwsServiceException, SdkClientException, DeviceFarmException
Retrieves a list of sessions for a TestGridProject.
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 Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListTestGridSessionsRequest.builder()- Parameters:
listTestGridSessionsRequest- AConsumerthat will call methods onListTestGridSessionsRequest.Builderto create a request.- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListTestsRequest.builder()- Parameters:
listTestsRequest- AConsumerthat will call methods onListTestsRequest.Builderto create a request. Represents a request to the list tests operation.- Returns:
- Result of the ListTests operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestsPaginator
default ListTestsIterable listTestsPaginator(ListTestsRequest listTestsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about tests in a given test suite.
This is a variant of
listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTestsPaginator
default ListTestsIterable listTestsPaginator(Consumer<ListTestsRequest.Builder> listTestsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about tests in a given test suite.
This is a variant of
listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListTestsRequest.builder()- Parameters:
listTestsRequest- AConsumerthat will call methods onListTestsRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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),ListUniqueProblemsreturns 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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),ListUniqueProblemsreturns a single entry instead of many individual entries for that exception.
This is a convenience which creates an instance of the
ListUniqueProblemsRequest.Builderavoiding the need to create one manually viaListUniqueProblemsRequest.builder()- Parameters:
listUniqueProblemsRequest- AConsumerthat will call methods onListUniqueProblemsRequest.Builderto create a request. Represents a request to the list unique problems operation.- Returns:
- Result of the ListUniqueProblems operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUniqueProblemsPaginator
default ListUniqueProblemsIterable listUniqueProblemsPaginator(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),ListUniqueProblemsreturns a single entry instead of many individual entries for that exception.
This is a variant of
listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUniqueProblemsPaginator
default ListUniqueProblemsIterable listUniqueProblemsPaginator(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),ListUniqueProblemsreturns a single entry instead of many individual entries for that exception.
This is a variant of
listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListUniqueProblemsRequest.builder()- Parameters:
listUniqueProblemsRequest- AConsumerthat will call methods onListUniqueProblemsRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListUploadsRequest.builder()- Parameters:
listUploadsRequest- AConsumerthat will call methods onListUploadsRequest.Builderto create a request. Represents a request to the list uploads operation.- Returns:
- Result of the ListUploads operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUploadsPaginator
default ListUploadsIterable listUploadsPaginator(ListUploadsRequest listUploadsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about uploads, given an AWS Device Farm project ARN.
This is a variant of
listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUploadsPaginator
default ListUploadsIterable listUploadsPaginator(Consumer<ListUploadsRequest.Builder> listUploadsRequest) throws ArgumentException, NotFoundException, LimitExceededException, ServiceAccountException, AwsServiceException, SdkClientException, DeviceFarmException
Gets information about uploads, given an AWS Device Farm project ARN.
This is a variant of
listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.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.Builderavoiding the need to create one manually viaListUploadsRequest.builder()- Parameters:
listUploadsRequest- AConsumerthat will call methods onListUploadsRequest.Builderto 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaListVpceConfigurationsRequest.builder()- Parameters:
listVpceConfigurationsRequest- AConsumerthat will call methods onListVpceConfigurationsRequest.Builderto create a request.- Returns:
- Result of the ListVPCEConfigurations operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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
NotEligibleerror 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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
NotEligibleerror 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.Builderavoiding the need to create one manually viaPurchaseOfferingRequest.builder()- Parameters:
purchaseOfferingRequest- AConsumerthat will call methods onPurchaseOfferingRequest.Builderto create a request. Represents a request for a purchase offering.- Returns:
- Result of the PurchaseOffering operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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
effectiveDateof the next period. The API returns aNotEligibleerror 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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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
effectiveDateof the next period. The API returns aNotEligibleerror 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.Builderavoiding the need to create one manually viaRenewOfferingRequest.builder()- Parameters:
renewOfferingRequest- AConsumerthat will call methods onRenewOfferingRequest.Builderto create a request. A request that represents an offering renewal.- Returns:
- Result of the RenewOffering operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.NotEligibleException- Exception gets thrown when a user is not eligible to perform the specified transaction.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.IdempotencyException- An entity with the same name already exists.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaScheduleRunRequest.builder()- Parameters:
scheduleRunRequest- AConsumerthat will call methods onScheduleRunRequest.Builderto create a request. Represents a request to the schedule run operation.- Returns:
- Result of the ScheduleRun operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.IdempotencyException- An entity with the same name already exists.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaStopJobRequest.builder()- Parameters:
stopJobRequest- AConsumerthat will call methods onStopJobRequest.Builderto create a request.- Returns:
- Result of the StopJob operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaStopRemoteAccessSessionRequest.builder()- Parameters:
stopRemoteAccessSessionRequest- AConsumerthat will call methods onStopRemoteAccessSessionRequest.Builderto create a request. Represents the request to stop the remote access session.- Returns:
- Result of the StopRemoteAccessSession operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaStopRunRequest.builder()- Parameters:
stopRunRequest- AConsumerthat will call methods onStopRunRequest.Builderto create a request. Represents the request to stop a specific run.- Returns:
- Result of the StopRun operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.TagOperationException- The operation was not successful. Try again.TooManyTagsException- The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50.TagPolicyException- The request doesn't comply with the AWS Identity and Access Management (IAM) tag policy. Correct your request and then retry it.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.TagOperationException- The operation was not successful. Try again.TooManyTagsException- The list of tags on the repository is over the limit. The maximum number of tags that can be applied to a repository is 50.TagPolicyException- The request doesn't comply with the AWS Identity and Access Management (IAM) tag policy. Correct your request and then retry it.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.TagOperationException- The operation was not successful. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.TagOperationException- The operation was not successful. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateDeviceInstanceRequest.builder()- Parameters:
updateDeviceInstanceRequest- AConsumerthat will call methods onUpdateDeviceInstanceRequest.Builderto create a request.- Returns:
- Result of the UpdateDeviceInstance operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateDevicePoolRequest.builder()- Parameters:
updateDevicePoolRequest- AConsumerthat will call methods onUpdateDevicePoolRequest.Builderto create a request. Represents a request to the update device pool operation.- Returns:
- Result of the UpdateDevicePool operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateInstanceProfileRequest.builder()- Parameters:
updateInstanceProfileRequest- AConsumerthat will call methods onUpdateInstanceProfileRequest.Builderto create a request.- Returns:
- Result of the UpdateInstanceProfile operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateNetworkProfileRequest.builder()- Parameters:
updateNetworkProfileRequest- AConsumerthat will call methods onUpdateNetworkProfileRequest.Builderto create a request.- Returns:
- Result of the UpdateNetworkProfile operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateProjectRequest.builder()- Parameters:
updateProjectRequest- AConsumerthat will call methods onUpdateProjectRequest.Builderto create a request. Represents a request to the update project operation.- Returns:
- Result of the UpdateProject operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.LimitExceededException- A limit was exceeded.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateTestGridProjectRequest.builder()- Parameters:
updateTestGridProjectRequest- AConsumerthat will call methods onUpdateTestGridProjectRequest.Builderto create a request.- Returns:
- Result of the UpdateTestGridProject operation returned by the service.
- Throws:
NotFoundException- The specified entity was not found.ArgumentException- An invalid argument was specified.LimitExceededException- A limit was exceeded.InternalServiceException- An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com if you see this error.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateUploadRequest.builder()- Parameters:
updateUploadRequest- AConsumerthat will call methods onUpdateUploadRequest.Builderto create a request.- Returns:
- Result of the UpdateUpload operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.LimitExceededException- A limit was exceeded.ServiceAccountException- There was a problem with the service account.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.ServiceAccountException- There was a problem with the service account.InvalidOperationException- There was an error with the update request, or you do not have sufficient permissions to update this VPC endpoint configuration.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
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.Builderavoiding the need to create one manually viaUpdateVpceConfigurationRequest.builder()- Parameters:
updateVpceConfigurationRequest- AConsumerthat will call methods onUpdateVpceConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateVPCEConfiguration operation returned by the service.
- Throws:
ArgumentException- An invalid argument was specified.NotFoundException- The specified entity was not found.ServiceAccountException- There was a problem with the service account.InvalidOperationException- There was an error with the update request, or you do not have sufficient permissions to update this VPC endpoint configuration.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.DeviceFarmException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static DeviceFarmClient create()
Create aDeviceFarmClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static DeviceFarmClientBuilder builder()
Create a builder that can be used to configure and create aDeviceFarmClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default DeviceFarmServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-