Class: Aws::IoT::Types::LocationAction
- Inherits:
 - 
      Struct
      
        
- Object
 - Struct
 - Aws::IoT::Types::LocationAction
 
 
- 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
- 
  
    
      #device_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The unique ID of the device providing the location data.
 - 
  
    
      #latitude  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A string that evaluates to a double value that represents the latitude of the device’s location.
 - 
  
    
      #longitude  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A string that evaluates to a double value that represents the longitude of the device’s location.
 - 
  
    
      #role_arn  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The IAM role that grants permission to write to the Amazon Location resource.
 - 
  
    
      #timestamp  ⇒ Types::LocationTimestamp 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The time that the location data was sampled.
 - 
  
    
      #tracker_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The name of the tracker resource in Amazon Location in which the location is updated.
 
Instance Attribute Details
#device_id ⇒ String
The unique ID of the device providing the location data.
      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  | 
  
#latitude ⇒ String
A string that evaluates to a double value that represents the latitude of the device’s location.
      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  | 
  
#longitude ⇒ String
A string that evaluates to a double value that represents the longitude of the device’s location.
      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_arn ⇒ String
The IAM role that grants permission to write to the Amazon Location resource.
      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  | 
  
#timestamp ⇒ Types::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_name ⇒ String
The name of the tracker resource in Amazon Location in which the location is updated.
      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  |