You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Module: Aws::DeviceFarm
- Defined in:
- (unknown)
Overview
This module provides a client for making API requests to AWS Device Farm.
Aws::DeviceFarm::Client
The Client class provides one-to-one mapping for each API operation.
devicefarm = Aws::DeviceFarm::Client.new(region: 'us-east-1')
devicefarm.operation_names
#=> [:create_device_pool, :create_instance_profile, :create_network_profile, :create_project, ...]
Each API operation method accepts a hash of request parameters and returns a response object.
resp = devicefarm.create_device_pool(params)
See Client for more information.
Aws::DeviceFarm::Errors
Errors returned from AWS Device Farm are defined in the Errors module and extend Errors::ServiceError.
begin
# do stuff
rescue Aws::DeviceFarm::Errors::ServiceError
# rescues all errors returned by AWS Device Farm
end
See Errors for more information.