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]

Instance Attribute Summary collapse

Instance Attribute Details

#device_idString

The device whose position you retrieved.

Returns:

  • (String)


2679
2680
2681
2682
2683
2684
2685
2686
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2679

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

#positionArray<Float>

The last known device position.

Returns:

  • (Array<Float>)


2679
2680
2681
2682
2683
2684
2685
2686
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2679

class GetDevicePositionResponse < Struct.new(
  :device_id,
  :position,
  :received_time,
  :sample_time)
  SENSITIVE = [:position]
  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)


2679
2680
2681
2682
2683
2684
2685
2686
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2679

class GetDevicePositionResponse < Struct.new(
  :device_id,
  :position,
  :received_time,
  :sample_time)
  SENSITIVE = [:position]
  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)


2679
2680
2681
2682
2683
2684
2685
2686
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 2679

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