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

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


11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11996

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)


11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11996

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)


11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11996

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)


11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11996

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.



11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11996

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)


11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 11996

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