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)


11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
# File 'lib/aws-sdk-iot/types.rb', line 11641

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)


11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
# File 'lib/aws-sdk-iot/types.rb', line 11641

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)


11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
# File 'lib/aws-sdk-iot/types.rb', line 11641

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)


11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
# File 'lib/aws-sdk-iot/types.rb', line 11641

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.



11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
# File 'lib/aws-sdk-iot/types.rb', line 11641

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)


11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
# File 'lib/aws-sdk-iot/types.rb', line 11641

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