Class: Aws::DeviceFarm::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::DeviceFarm::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb
Overview
An API client for DeviceFarm. To construct a client, you need to configure a :region and :credentials.
client = Aws::DeviceFarm::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#create_device_pool(params = {}) ⇒ Types::CreateDevicePoolResult
Creates a device pool.
-
#create_instance_profile(params = {}) ⇒ Types::CreateInstanceProfileResult
Creates a profile that can be applied to one or more private fleet device instances.
-
#create_network_profile(params = {}) ⇒ Types::CreateNetworkProfileResult
Creates a network profile.
-
#create_project(params = {}) ⇒ Types::CreateProjectResult
Creates a project.
-
#create_remote_access_session(params = {}) ⇒ Types::CreateRemoteAccessSessionResult
Specifies and starts a remote access session.
-
#create_test_grid_project(params = {}) ⇒ Types::CreateTestGridProjectResult
Creates a Selenium testing project.
-
#create_test_grid_url(params = {}) ⇒ Types::CreateTestGridUrlResult
Creates a signed, short-term URL that can be passed to a Selenium
RemoteWebDriverconstructor. -
#create_upload(params = {}) ⇒ Types::CreateUploadResult
Uploads an app or test scripts.
-
#create_vpce_configuration(params = {}) ⇒ Types::CreateVPCEConfigurationResult
Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.
-
#delete_device_pool(params = {}) ⇒ Struct
Deletes a device pool given the pool ARN.
-
#delete_instance_profile(params = {}) ⇒ Struct
Deletes a profile that can be applied to one or more private device instances.
-
#delete_network_profile(params = {}) ⇒ Struct
Deletes a network profile.
-
#delete_project(params = {}) ⇒ Struct
Deletes an AWS Device Farm project, given the project ARN.
-
#delete_remote_access_session(params = {}) ⇒ Struct
Deletes a completed remote access session and its results.
-
#delete_run(params = {}) ⇒ Struct
Deletes the run, given the run ARN.
-
#delete_test_grid_project(params = {}) ⇒ Struct
Deletes a Selenium testing project and all content generated under it.
-
#delete_upload(params = {}) ⇒ Struct
Deletes an upload given the upload ARN.
-
#delete_vpce_configuration(params = {}) ⇒ Struct
Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.
-
#get_account_settings(params = {}) ⇒ Types::GetAccountSettingsResult
Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.
-
#get_device(params = {}) ⇒ Types::GetDeviceResult
Gets information about a unique device type.
-
#get_device_instance(params = {}) ⇒ Types::GetDeviceInstanceResult
Returns information about a device instance that belongs to a private device fleet.
-
#get_device_pool(params = {}) ⇒ Types::GetDevicePoolResult
Gets information about a device pool.
-
#get_device_pool_compatibility(params = {}) ⇒ Types::GetDevicePoolCompatibilityResult
Gets information about compatibility with a device pool.
-
#get_instance_profile(params = {}) ⇒ Types::GetInstanceProfileResult
Returns information about the specified instance profile.
-
#get_job(params = {}) ⇒ Types::GetJobResult
Gets information about a job.
-
#get_network_profile(params = {}) ⇒ Types::GetNetworkProfileResult
Returns information about a network profile.
-
#get_offering_status(params = {}) ⇒ Types::GetOfferingStatusResult
Gets the current status and future status of all offerings purchased by an AWS account.
-
#get_project(params = {}) ⇒ Types::GetProjectResult
Gets information about a project.
-
#get_remote_access_session(params = {}) ⇒ Types::GetRemoteAccessSessionResult
Returns a link to a currently running remote access session.
-
#get_run(params = {}) ⇒ Types::GetRunResult
Gets information about a run.
-
#get_suite(params = {}) ⇒ Types::GetSuiteResult
Gets information about a suite.
-
#get_test(params = {}) ⇒ Types::GetTestResult
Gets information about a test.
-
#get_test_grid_project(params = {}) ⇒ Types::GetTestGridProjectResult
Retrieves information about a Selenium testing project.
-
#get_test_grid_session(params = {}) ⇒ Types::GetTestGridSessionResult
A session is an instance of a browser created through a
RemoteWebDriverwith the URL from CreateTestGridUrlResult$url. -
#get_upload(params = {}) ⇒ Types::GetUploadResult
Gets information about an upload.
-
#get_vpce_configuration(params = {}) ⇒ Types::GetVPCEConfigurationResult
Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.
-
#install_to_remote_access_session(params = {}) ⇒ Types::InstallToRemoteAccessSessionResult
Installs an application to the device in a remote access session.
-
#list_artifacts(params = {}) ⇒ Types::ListArtifactsResult
Gets information about artifacts.
-
#list_device_instances(params = {}) ⇒ Types::ListDeviceInstancesResult
Returns information about the private device instances associated with one or more AWS accounts.
-
#list_device_pools(params = {}) ⇒ Types::ListDevicePoolsResult
Gets information about device pools.
-
#list_devices(params = {}) ⇒ Types::ListDevicesResult
Gets information about unique device types.
-
#list_instance_profiles(params = {}) ⇒ Types::ListInstanceProfilesResult
Returns information about all the instance profiles in an AWS account.
-
#list_jobs(params = {}) ⇒ Types::ListJobsResult
Gets information about jobs for a given test run.
-
#list_network_profiles(params = {}) ⇒ Types::ListNetworkProfilesResult
Returns the list of available network profiles.
-
#list_offering_promotions(params = {}) ⇒ Types::ListOfferingPromotionsResult
Returns a list of offering promotions.
-
#list_offering_transactions(params = {}) ⇒ Types::ListOfferingTransactionsResult
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
-
#list_offerings(params = {}) ⇒ Types::ListOfferingsResult
Returns a list of products or offerings that the user can manage through the API.
-
#list_projects(params = {}) ⇒ Types::ListProjectsResult
Gets information about projects.
-
#list_remote_access_sessions(params = {}) ⇒ Types::ListRemoteAccessSessionsResult
Returns a list of all currently running remote access sessions.
-
#list_runs(params = {}) ⇒ Types::ListRunsResult
Gets information about runs, given an AWS Device Farm project ARN.
-
#list_samples(params = {}) ⇒ Types::ListSamplesResult
Gets information about samples, given an AWS Device Farm job ARN.
-
#list_suites(params = {}) ⇒ Types::ListSuitesResult
Gets information about test suites for a given job.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List the tags for an AWS Device Farm resource.
-
#list_test_grid_projects(params = {}) ⇒ Types::ListTestGridProjectsResult
Gets a list of all Selenium testing projects in your account.
-
#list_test_grid_session_actions(params = {}) ⇒ Types::ListTestGridSessionActionsResult
Returns a list of the actions taken in a TestGridSession.
-
#list_test_grid_session_artifacts(params = {}) ⇒ Types::ListTestGridSessionArtifactsResult
Retrieves a list of artifacts created during the session.
-
#list_test_grid_sessions(params = {}) ⇒ Types::ListTestGridSessionsResult
Retrieves a list of sessions for a TestGridProject.
-
#list_tests(params = {}) ⇒ Types::ListTestsResult
Gets information about tests in a given test suite.
-
#list_unique_problems(params = {}) ⇒ Types::ListUniqueProblemsResult
Gets information about unique problems, such as exceptions or crashes.
-
#list_uploads(params = {}) ⇒ Types::ListUploadsResult
Gets information about uploads, given an AWS Device Farm project ARN.
-
#list_vpce_configurations(params = {}) ⇒ Types::ListVPCEConfigurationsResult
Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.
-
#purchase_offering(params = {}) ⇒ Types::PurchaseOfferingResult
Immediately purchases offerings for an AWS account.
-
#renew_offering(params = {}) ⇒ Types::RenewOfferingResult
Explicitly sets the quantity of devices to renew for an offering, starting from the
effectiveDateof the next period. -
#schedule_run(params = {}) ⇒ Types::ScheduleRunResult
Schedules a run.
-
#stop_job(params = {}) ⇒ Types::StopJobResult
Initiates a stop request for the current job.
-
#stop_remote_access_session(params = {}) ⇒ Types::StopRemoteAccessSessionResult
Ends a specified remote access session.
-
#stop_run(params = {}) ⇒ Types::StopRunResult
Initiates a stop request for the current test run.
-
#tag_resource(params = {}) ⇒ Struct
Associates the specified tags to a resource with the specified
resourceArn. -
#untag_resource(params = {}) ⇒ Struct
Deletes the specified tags from a resource.
-
#update_device_instance(params = {}) ⇒ Types::UpdateDeviceInstanceResult
Updates information about a private device instance.
-
#update_device_pool(params = {}) ⇒ Types::UpdateDevicePoolResult
Modifies the name, description, and rules in a device pool given the attributes and the pool ARN.
-
#update_instance_profile(params = {}) ⇒ Types::UpdateInstanceProfileResult
Updates information about an existing private device instance profile.
-
#update_network_profile(params = {}) ⇒ Types::UpdateNetworkProfileResult
Updates the network profile.
-
#update_project(params = {}) ⇒ Types::UpdateProjectResult
Modifies the specified project name, given the project ARN and a new name.
-
#update_test_grid_project(params = {}) ⇒ Types::UpdateTestGridProjectResult
Change details of a project.
-
#update_upload(params = {}) ⇒ Types::UpdateUploadResult
Updates an uploaded test spec.
-
#update_vpce_configuration(params = {}) ⇒ Types::UpdateVPCEConfigurationResult
Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
478 479 480 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 478 def initialize(*args) super end |
Instance Method Details
#create_device_pool(params = {}) ⇒ Types::CreateDevicePoolResult
Creates a device pool.
563 564 565 566 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 563 def create_device_pool(params = {}, = {}) req = build_request(:create_device_pool, params) req.send_request() end |
#create_instance_profile(params = {}) ⇒ Types::CreateInstanceProfileResult
Creates a profile that can be applied to one or more private fleet device instances.
620 621 622 623 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 620 def create_instance_profile(params = {}, = {}) req = build_request(:create_instance_profile, params) req.send_request() end |
#create_network_profile(params = {}) ⇒ Types::CreateNetworkProfileResult
Creates a network profile.
712 713 714 715 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 712 def create_network_profile(params = {}, = {}) req = build_request(:create_network_profile, params) req.send_request() end |
#create_project(params = {}) ⇒ Types::CreateProjectResult
Creates a project.
807 808 809 810 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 807 def create_project(params = {}, = {}) req = build_request(:create_project, params) req.send_request() end |
#create_remote_access_session(params = {}) ⇒ Types::CreateRemoteAccessSessionResult
Specifies and starts a remote access session.
968 969 970 971 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 968 def create_remote_access_session(params = {}, = {}) req = build_request(:create_remote_access_session, params) req.send_request() end |
#create_test_grid_project(params = {}) ⇒ Types::CreateTestGridProjectResult
Creates a Selenium testing project. Projects are used to track TestGridSession instances.
1017 1018 1019 1020 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1017 def create_test_grid_project(params = {}, = {}) req = build_request(:create_test_grid_project, params) req.send_request() end |
#create_test_grid_url(params = {}) ⇒ Types::CreateTestGridUrlResult
Creates a signed, short-term URL that can be passed to a Selenium
RemoteWebDriver constructor.
1053 1054 1055 1056 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1053 def create_test_grid_url(params = {}, = {}) req = build_request(:create_test_grid_url, params) req.send_request() end |
#create_upload(params = {}) ⇒ Types::CreateUploadResult
Uploads an app or test scripts.
1192 1193 1194 1195 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1192 def create_upload(params = {}, = {}) req = build_request(:create_upload, params) req.send_request() end |
#create_vpce_configuration(params = {}) ⇒ Types::CreateVPCEConfigurationResult
Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint.
1241 1242 1243 1244 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1241 def create_vpce_configuration(params = {}, = {}) req = build_request(:create_vpce_configuration, params) req.send_request() end |
#delete_device_pool(params = {}) ⇒ Struct
Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
1278 1279 1280 1281 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1278 def delete_device_pool(params = {}, = {}) req = build_request(:delete_device_pool, params) req.send_request() end |
#delete_instance_profile(params = {}) ⇒ Struct
Deletes a profile that can be applied to one or more private device instances.
1302 1303 1304 1305 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1302 def delete_instance_profile(params = {}, = {}) req = build_request(:delete_instance_profile, params) req.send_request() end |
#delete_network_profile(params = {}) ⇒ Struct
Deletes a network profile.
1324 1325 1326 1327 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1324 def delete_network_profile(params = {}, = {}) req = build_request(:delete_network_profile, params) req.send_request() end |
#delete_project(params = {}) ⇒ Struct
Deletes an AWS Device Farm project, given the project ARN. You cannot delete a project if it has an active run or session.
You cannot undo this operation.
1363 1364 1365 1366 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1363 def delete_project(params = {}, = {}) req = build_request(:delete_project, params) req.send_request() end |
#delete_remote_access_session(params = {}) ⇒ Struct
Deletes a completed remote access session and its results. You cannot delete a remote access session if it is still active.
You cannot undo this operation.
1402 1403 1404 1405 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1402 def delete_remote_access_session(params = {}, = {}) req = build_request(:delete_remote_access_session, params) req.send_request() end |
#delete_run(params = {}) ⇒ Struct
Deletes the run, given the run ARN. You cannot delete a run if it is still active.
You cannot undo this operation.
1440 1441 1442 1443 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1440 def delete_run(params = {}, = {}) req = build_request(:delete_run, params) req.send_request() end |
#delete_test_grid_project(params = {}) ⇒ Struct
Deletes a Selenium testing project and all content generated under it. You cannot delete a project if it has active sessions.
You cannot undo this operation.
1466 1467 1468 1469 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1466 def delete_test_grid_project(params = {}, = {}) req = build_request(:delete_test_grid_project, params) req.send_request() end |
#delete_upload(params = {}) ⇒ Struct
Deletes an upload given the upload ARN.
1502 1503 1504 1505 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1502 def delete_upload(params = {}, = {}) req = build_request(:delete_upload, params) req.send_request() end |
#delete_vpce_configuration(params = {}) ⇒ Struct
Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint.
1526 1527 1528 1529 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1526 def delete_vpce_configuration(params = {}, = {}) req = build_request(:delete_vpce_configuration, params) req.send_request() end |
#get_account_settings(params = {}) ⇒ Types::GetAccountSettingsResult
Returns the number of unmetered iOS or unmetered Android devices that have been purchased by the account.
1576 1577 1578 1579 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1576 def get_account_settings(params = {}, = {}) req = build_request(:get_account_settings, params) req.send_request() end |
#get_device(params = {}) ⇒ Types::GetDeviceResult
Gets information about a unique device type.
1674 1675 1676 1677 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1674 def get_device(params = {}, = {}) req = build_request(:get_device, params) req.send_request() end |
#get_device_instance(params = {}) ⇒ Types::GetDeviceInstanceResult
Returns information about a device instance that belongs to a private device fleet.
1716 1717 1718 1719 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1716 def get_device_instance(params = {}, = {}) req = build_request(:get_device_instance, params) req.send_request() end |
#get_device_pool(params = {}) ⇒ Types::GetDevicePoolResult
Gets information about a device pool.
1767 1768 1769 1770 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1767 def get_device_pool(params = {}, = {}) req = build_request(:get_device_pool, params) req.send_request() end |
#get_device_pool_compatibility(params = {}) ⇒ Types::GetDevicePoolCompatibilityResult
Gets information about compatibility with a device pool.
1991 1992 1993 1994 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 1991 def get_device_pool_compatibility(params = {}, = {}) req = build_request(:get_device_pool_compatibility, params) req.send_request() end |
#get_instance_profile(params = {}) ⇒ Types::GetInstanceProfileResult
Returns information about the specified instance profile.
2025 2026 2027 2028 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2025 def get_instance_profile(params = {}, = {}) req = build_request(:get_instance_profile, params) req.send_request() end |
#get_job(params = {}) ⇒ Types::GetJobResult
Gets information about a job.
2138 2139 2140 2141 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2138 def get_job(params = {}, = {}) req = build_request(:get_job, params) req.send_request() end |
#get_network_profile(params = {}) ⇒ Types::GetNetworkProfileResult
Returns information about a network profile.
2177 2178 2179 2180 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2177 def get_network_profile(params = {}, = {}) req = build_request(:get_network_profile, params) req.send_request() end |
#get_offering_status(params = {}) ⇒ Types::GetOfferingStatusResult
Gets the current status and future status of all offerings purchased
by an AWS account. The response indicates how many offerings are
currently available and the offerings that will be available in the
next period. The API returns a NotEligible error if the user is not
permitted to invoke the operation. If you must be able to invoke this
operation, contact
aws-devicefarm-support@amazon.com.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
2277 2278 2279 2280 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2277 def get_offering_status(params = {}, = {}) req = build_request(:get_offering_status, params) req.send_request() end |
#get_project(params = {}) ⇒ Types::GetProjectResult
Gets information about a project.
2335 2336 2337 2338 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2335 def get_project(params = {}, = {}) req = build_request(:get_project, params) req.send_request() end |
#get_remote_access_session(params = {}) ⇒ Types::GetRemoteAccessSessionResult
Returns a link to a currently running remote access session.
2442 2443 2444 2445 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2442 def get_remote_access_session(params = {}, = {}) req = build_request(:get_remote_access_session, params) req.send_request() end |
#get_run(params = {}) ⇒ Types::GetRunResult
Gets information about a run.
2598 2599 2600 2601 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2598 def get_run(params = {}, = {}) req = build_request(:get_run, params) req.send_request() end |
#get_suite(params = {}) ⇒ Types::GetSuiteResult
Gets information about a suite.
2659 2660 2661 2662 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2659 def get_suite(params = {}, = {}) req = build_request(:get_suite, params) req.send_request() end |
#get_test(params = {}) ⇒ Types::GetTestResult
Gets information about a test.
2720 2721 2722 2723 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2720 def get_test(params = {}, = {}) req = build_request(:get_test, params) req.send_request() end |
#get_test_grid_project(params = {}) ⇒ Types::GetTestGridProjectResult
Retrieves information about a Selenium testing project.
2757 2758 2759 2760 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2757 def get_test_grid_project(params = {}, = {}) req = build_request(:get_test_grid_project, params) req.send_request() end |
#get_test_grid_session(params = {}) ⇒ Types::GetTestGridSessionResult
A session is an instance of a browser created through a
RemoteWebDriver with 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).
2807 2808 2809 2810 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2807 def get_test_grid_session(params = {}, = {}) req = build_request(:get_test_grid_session, params) req.send_request() end |
#get_upload(params = {}) ⇒ Types::GetUploadResult
Gets information about an upload.
2859 2860 2861 2862 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2859 def get_upload(params = {}, = {}) req = build_request(:get_upload, params) req.send_request() end |
#get_vpce_configuration(params = {}) ⇒ Types::GetVPCEConfigurationResult
Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint.
2893 2894 2895 2896 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2893 def get_vpce_configuration(params = {}, = {}) req = build_request(:get_vpce_configuration, params) req.send_request() end |
#install_to_remote_access_session(params = {}) ⇒ Types::InstallToRemoteAccessSessionResult
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.
2953 2954 2955 2956 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 2953 def install_to_remote_access_session(params = {}, = {}) req = build_request(:install_to_remote_access_session, params) req.send_request() end |
#list_artifacts(params = {}) ⇒ Types::ListArtifactsResult
Gets information about artifacts.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3018 3019 3020 3021 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 3018 def list_artifacts(params = {}, = {}) req = build_request(:list_artifacts, params) req.send_request() end |
#list_device_instances(params = {}) ⇒ Types::ListDeviceInstancesResult
Returns information about the private device instances associated with one or more AWS accounts.
3069 3070 3071 3072 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 3069 def list_device_instances(params = {}, = {}) req = build_request(:list_device_instances, params) req.send_request() end |
#list_device_pools(params = {}) ⇒ Types::ListDevicePoolsResult
Gets information about device pools.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3168 3169 3170 3171 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 3168 def list_device_pools(params = {}, = {}) req = build_request(:list_device_pools, params) req.send_request() end |
#list_devices(params = {}) ⇒ Types::ListDevicesResult
Gets information about unique device types.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3332 3333 3334 3335 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 3332 def list_devices(params = {}, = {}) req = build_request(:list_devices, params) req.send_request() end |
#list_instance_profiles(params = {}) ⇒ Types::ListInstanceProfilesResult
Returns information about all the instance profiles in an AWS account.
3376 3377 3378 3379 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 3376 def list_instance_profiles(params = {}, = {}) req = build_request(:list_instance_profiles, params) req.send_request() end |
#list_jobs(params = {}) ⇒ Types::ListJobsResult
Gets information about jobs for a given test run.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3494 3495 3496 3497 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 3494 def list_jobs(params = {}, = {}) req = build_request(:list_jobs, params) req.send_request() end |
#list_network_profiles(params = {}) ⇒ Types::ListNetworkProfilesResult
Returns the list of available network profiles.
3548 3549 3550 3551 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 3548 def list_network_profiles(params = {}, = {}) req = build_request(:list_network_profiles, params) req.send_request() end |
#list_offering_promotions(params = {}) ⇒ Types::ListOfferingPromotionsResult
Returns a list of offering promotions. Each offering promotion record
contains the ID and description of the promotion. The API returns a
NotEligible error if the caller is not permitted to invoke the
operation. Contact
aws-devicefarm-support@amazon.com
if you must be able to invoke this operation.
3587 3588 3589 3590 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 3587 def list_offering_promotions(params = {}, = {}) req = build_request(:list_offering_promotions, params) req.send_request() end |
#list_offering_transactions(params = {}) ⇒ Types::ListOfferingTransactionsResult
Returns a list of all historical purchases, renewals, and system
renewal transactions for an AWS account. The list is paginated and
ordered by a descending timestamp (most recent transactions are
first). The API returns a NotEligible error if the user is not
permitted to invoke the operation. If you must be able to invoke this
operation, contact
aws-devicefarm-support@amazon.com.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3734 3735 3736 3737 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 3734 def list_offering_transactions(params = {}, = {}) req = build_request(:list_offering_transactions, params) req.send_request() end |
#list_offerings(params = {}) ⇒ Types::ListOfferingsResult
Returns a list of products or offerings that the user can manage
through the API. Each offering record indicates the recurring price
per unit and the frequency for that offering. The API returns a
NotEligible error if the user is not permitted to invoke the
operation. If you must be able to invoke this operation, contact
aws-devicefarm-support@amazon.com.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3856 3857 3858 3859 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 3856 def list_offerings(params = {}, = {}) req = build_request(:list_offerings, params) req.send_request() end |
#list_projects(params = {}) ⇒ Types::ListProjectsResult
Gets information about projects.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3935 3936 3937 3938 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 3935 def list_projects(params = {}, = {}) req = build_request(:list_projects, params) req.send_request() end |
#list_remote_access_sessions(params = {}) ⇒ Types::ListRemoteAccessSessionsResult
Returns a list of all currently running remote access sessions.
4052 4053 4054 4055 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 4052 def list_remote_access_sessions(params = {}, = {}) req = build_request(:list_remote_access_sessions, params) req.send_request() end |
#list_runs(params = {}) ⇒ Types::ListRunsResult
Gets information about runs, given an AWS Device Farm project ARN.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4223 4224 4225 4226 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 4223 def list_runs(params = {}, = {}) req = build_request(:list_runs, params) req.send_request() end |
#list_samples(params = {}) ⇒ Types::ListSamplesResult
Gets information about samples, given an AWS Device Farm job ARN.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4280 4281 4282 4283 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 4280 def list_samples(params = {}, = {}) req = build_request(:list_samples, params) req.send_request() end |
#list_suites(params = {}) ⇒ Types::ListSuitesResult
Gets information about test suites for a given job.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4353 4354 4355 4356 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 4353 def list_suites(params = {}, = {}) req = build_request(:list_suites, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
List the tags for an AWS Device Farm resource.
4387 4388 4389 4390 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 4387 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_test_grid_projects(params = {}) ⇒ Types::ListTestGridProjectsResult
Gets a list of all Selenium testing projects in your account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4432 4433 4434 4435 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 4432 def list_test_grid_projects(params = {}, = {}) req = build_request(:list_test_grid_projects, params) req.send_request() end |
#list_test_grid_session_actions(params = {}) ⇒ Types::ListTestGridSessionActionsResult
Returns a list of the actions taken in a TestGridSession.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4477 4478 4479 4480 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 4477 def list_test_grid_session_actions(params = {}, = {}) req = build_request(:list_test_grid_session_actions, params) req.send_request() end |
#list_test_grid_session_artifacts(params = {}) ⇒ Types::ListTestGridSessionArtifactsResult
Retrieves a list of artifacts created during the session.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4524 4525 4526 4527 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 4524 def list_test_grid_session_artifacts(params = {}, = {}) req = build_request(:list_test_grid_session_artifacts, params) req.send_request() end |
#list_test_grid_sessions(params = {}) ⇒ Types::ListTestGridSessionsResult
Retrieves a list of sessions for a TestGridProject.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4590 4591 4592 4593 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 4590 def list_test_grid_sessions(params = {}, = {}) req = build_request(:list_test_grid_sessions, params) req.send_request() end |
#list_tests(params = {}) ⇒ Types::ListTestsResult
Gets information about tests in a given test suite.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4663 4664 4665 4666 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 4663 def list_tests(params = {}, = {}) req = build_request(:list_tests, params) req.send_request() end |
#list_unique_problems(params = {}) ⇒ Types::ListUniqueProblemsResult
Gets information about unique problems, such as exceptions or crashes.
Unique problems are defined as a single instance of an error across a
run, job, or suite. For example, if a call in your application
consistently raises an exception (OutOfBoundsException in
MyActivity.java:386), ListUniqueProblems returns a single entry
instead of many individual entries for that exception.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4773 4774 4775 4776 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 4773 def list_unique_problems(params = {}, = {}) req = build_request(:list_unique_problems, params) req.send_request() end |
#list_uploads(params = {}) ⇒ Types::ListUploadsResult
Gets information about uploads, given an AWS Device Farm project ARN.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4902 4903 4904 4905 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 4902 def list_uploads(params = {}, = {}) req = build_request(:list_uploads, params) req.send_request() end |
#list_vpce_configurations(params = {}) ⇒ Types::ListVPCEConfigurationsResult
Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account.
4945 4946 4947 4948 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 4945 def list_vpce_configurations(params = {}, = {}) req = build_request(:list_vpce_configurations, params) req.send_request() end |
#purchase_offering(params = {}) ⇒ Types::PurchaseOfferingResult
Immediately purchases offerings for an AWS account. Offerings renew
with the latest total purchased quantity for an offering, unless the
renewal was overridden. The API returns a NotEligible error if the
user is not permitted to invoke the operation. If you must be able to
invoke this operation, contact
aws-devicefarm-support@amazon.com.
5034 5035 5036 5037 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 5034 def purchase_offering(params = {}, = {}) req = build_request(:purchase_offering, params) req.send_request() end |
#renew_offering(params = {}) ⇒ Types::RenewOfferingResult
Explicitly sets the quantity of devices to renew for an offering,
starting from the effectiveDate of the next period. The API returns
a NotEligible error if the user is not permitted to invoke the
operation. If you must be able to invoke this operation, contact
aws-devicefarm-support@amazon.com.
5118 5119 5120 5121 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 5118 def renew_offering(params = {}, = {}) req = build_request(:renew_offering, params) req.send_request() end |
#schedule_run(params = {}) ⇒ Types::ScheduleRunResult
Schedules a run.
5349 5350 5351 5352 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 5349 def schedule_run(params = {}, = {}) req = build_request(:schedule_run, params) req.send_request() end |
#stop_job(params = {}) ⇒ Types::StopJobResult
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.
5453 5454 5455 5456 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 5453 def stop_job(params = {}, = {}) req = build_request(:stop_job, params) req.send_request() end |
#stop_remote_access_session(params = {}) ⇒ Types::StopRemoteAccessSessionResult
Ends a specified remote access session.
5544 5545 5546 5547 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 5544 def stop_remote_access_session(params = {}, = {}) req = build_request(:stop_remote_access_session, params) req.send_request() end |
#stop_run(params = {}) ⇒ Types::StopRunResult
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.
5683 5684 5685 5686 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 5683 def stop_run(params = {}, = {}) req = build_request(:stop_run, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
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.
5723 5724 5725 5726 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 5723 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Deletes the specified tags from a resource.
5753 5754 5755 5756 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 5753 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_device_instance(params = {}) ⇒ Types::UpdateDeviceInstanceResult
Updates information about a private device instance.
5803 5804 5805 5806 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 5803 def update_device_instance(params = {}, = {}) req = build_request(:update_device_instance, params) req.send_request() end |
#update_device_pool(params = {}) ⇒ Types::UpdateDevicePoolResult
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).
5913 5914 5915 5916 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 5913 def update_device_pool(params = {}, = {}) req = build_request(:update_device_pool, params) req.send_request() end |
#update_instance_profile(params = {}) ⇒ Types::UpdateInstanceProfileResult
Updates information about an existing private device instance profile.
5973 5974 5975 5976 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 5973 def update_instance_profile(params = {}, = {}) req = build_request(:update_instance_profile, params) req.send_request() end |
#update_network_profile(params = {}) ⇒ Types::UpdateNetworkProfileResult
Updates the network profile.
6068 6069 6070 6071 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 6068 def update_network_profile(params = {}, = {}) req = build_request(:update_network_profile, params) req.send_request() end |
#update_project(params = {}) ⇒ Types::UpdateProjectResult
Modifies the specified project name, given the project ARN and a new name.
6169 6170 6171 6172 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 6169 def update_project(params = {}, = {}) req = build_request(:update_project, params) req.send_request() end |
#update_test_grid_project(params = {}) ⇒ Types::UpdateTestGridProjectResult
Change details of a project.
6221 6222 6223 6224 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 6221 def update_test_grid_project(params = {}, = {}) req = build_request(:update_test_grid_project, params) req.send_request() end |
#update_upload(params = {}) ⇒ Types::UpdateUploadResult
Updates an uploaded test spec.
6273 6274 6275 6276 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 6273 def update_upload(params = {}, = {}) req = build_request(:update_upload, params) req.send_request() end |
#update_vpce_configuration(params = {}) ⇒ Types::UpdateVPCEConfigurationResult
Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration.
6327 6328 6329 6330 |
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb', line 6327 def update_vpce_configuration(params = {}, = {}) req = build_request(:update_vpce_configuration, params) req.send_request() end |