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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-locationservice/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.



3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 3111

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

#device_idString

The device whose position you retrieved.

Returns:

  • (String)


3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 3111

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

#positionArray<Float>

The last known device position.

Returns:

  • (Array<Float>)


3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 3111

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

#position_propertiesHash<String,String>

The properties associated with the position.

Returns:

  • (Hash<String,String>)


3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 3111

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

#received_timeTime

The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

Returns:

  • (Time)


3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 3111

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

#sample_timeTime

The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

Returns:

  • (Time)


3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 3111

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