Class: Aws::IoT::Types::LocationAction

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

Overview

The Amazon Location rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#device_idString

The unique ID of the device providing the location data.

Returns:

  • (String)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
# File 'lib/aws-sdk-iot/types.rb', line 12830

class LocationAction < Struct.new(
  :role_arn,
  :tracker_name,
  :device_id,
  :timestamp,
  :latitude,
  :longitude)
  SENSITIVE = []
  include Aws::Structure
end

#latitudeString

A string that evaluates to a double value that represents the latitude of the device’s location.

Returns:

  • (String)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
# File 'lib/aws-sdk-iot/types.rb', line 12830

class LocationAction < Struct.new(
  :role_arn,
  :tracker_name,
  :device_id,
  :timestamp,
  :latitude,
  :longitude)
  SENSITIVE = []
  include Aws::Structure
end

#longitudeString

A string that evaluates to a double value that represents the longitude of the device’s location.

Returns:

  • (String)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
# File 'lib/aws-sdk-iot/types.rb', line 12830

class LocationAction < Struct.new(
  :role_arn,
  :tracker_name,
  :device_id,
  :timestamp,
  :latitude,
  :longitude)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The IAM role that grants permission to write to the Amazon Location resource.

Returns:

  • (String)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
# File 'lib/aws-sdk-iot/types.rb', line 12830

class LocationAction < Struct.new(
  :role_arn,
  :tracker_name,
  :device_id,
  :timestamp,
  :latitude,
  :longitude)
  SENSITIVE = []
  include Aws::Structure
end

#timestampTypes::LocationTimestamp

The time that the location data was sampled. The default value is the time the MQTT message was processed.



12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
# File 'lib/aws-sdk-iot/types.rb', line 12830

class LocationAction < Struct.new(
  :role_arn,
  :tracker_name,
  :device_id,
  :timestamp,
  :latitude,
  :longitude)
  SENSITIVE = []
  include Aws::Structure
end

#tracker_nameString

The name of the tracker resource in Amazon Location in which the location is updated.

Returns:

  • (String)


12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
# File 'lib/aws-sdk-iot/types.rb', line 12830

class LocationAction < Struct.new(
  :role_arn,
  :tracker_name,
  :device_id,
  :timestamp,
  :latitude,
  :longitude)
  SENSITIVE = []
  include Aws::Structure
end