You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DeviceFarm::Types::Location

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb

Overview

Note:

When making an API call, you may pass Location data as a hash:

{
  latitude: 1.0, # required
  longitude: 1.0, # required
}

Represents a latitude and longitude pair, expressed in geographic coordinate system degrees (for example 47.6204, -122.3491).

Elevation is currently not supported.

Instance Attribute Summary collapse

Instance Attribute Details

#latitudeFloat

The latitude.

Returns:

  • (Float)


2543
2544
2545
2546
2547
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 2543

class Location < Struct.new(
  :latitude,
  :longitude)
  include Aws::Structure
end

#longitudeFloat

The longitude.

Returns:

  • (Float)


2543
2544
2545
2546
2547
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 2543

class Location < Struct.new(
  :latitude,
  :longitude)
  include Aws::Structure
end