Class: Aws::LocationService::Types::GetDevicePositionResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-locationservice/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:position, :position_properties]

Instance Attribute Summary collapse

Instance Attribute Details

#accuracyTypes::PositionalAccuracy

The accuracy of the device position.



3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
# File 'lib/aws-sdk-locationservice/types.rb', line 3355

class GetDevicePositionResponse < Struct.new(
  :device_id,
  :sample_time,
  :received_time,
  :position,
  :accuracy,
  :position_properties)
  SENSITIVE = [:position, :position_properties]
  include Aws::Structure
end

#device_idString

The device whose position you retrieved.

Returns:

  • (String)


3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
# File 'lib/aws-sdk-locationservice/types.rb', line 3355

class GetDevicePositionResponse < Struct.new(
  :device_id,
  :sample_time,
  :received_time,
  :position,
  :accuracy,
  :position_properties)
  SENSITIVE = [:position, :position_properties]
  include Aws::Structure
end

#positionArray<Float>

The last known device position.

Returns:

  • (Array<Float>)


3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
# File 'lib/aws-sdk-locationservice/types.rb', line 3355

class GetDevicePositionResponse < Struct.new(
  :device_id,
  :sample_time,
  :received_time,
  :position,
  :accuracy,
  :position_properties)
  SENSITIVE = [:position, :position_properties]
  include Aws::Structure
end

#position_propertiesHash<String,String>

The properties associated with the position.

Returns:

  • (Hash<String,String>)


3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
# File 'lib/aws-sdk-locationservice/types.rb', line 3355

class GetDevicePositionResponse < Struct.new(
  :device_id,
  :sample_time,
  :received_time,
  :position,
  :accuracy,
  :position_properties)
  SENSITIVE = [:position, :position_properties]
  include Aws::Structure
end

#received_timeTime

The timestamp for when the tracker resource received the device position. Uses [ ISO 8601 ][1] format: ‘YYYY-MM-DDThh:mm:ss.sssZ`.

[1]: www.iso.org/iso-8601-date-and-time-format.html

Returns:

  • (Time)


3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
# File 'lib/aws-sdk-locationservice/types.rb', line 3355

class GetDevicePositionResponse < Struct.new(
  :device_id,
  :sample_time,
  :received_time,
  :position,
  :accuracy,
  :position_properties)
  SENSITIVE = [:position, :position_properties]
  include Aws::Structure
end

#sample_timeTime

The timestamp at which the device’s position was determined. Uses [ ISO 8601 ][1] format: ‘YYYY-MM-DDThh:mm:ss.sssZ`.

[1]: www.iso.org/iso-8601-date-and-time-format.html

Returns:

  • (Time)


3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
# File 'lib/aws-sdk-locationservice/types.rb', line 3355

class GetDevicePositionResponse < Struct.new(
  :device_id,
  :sample_time,
  :received_time,
  :position,
  :accuracy,
  :position_properties)
  SENSITIVE = [:position, :position_properties]
  include Aws::Structure
end