AWSIoTLocationAction

Objective-C

@interface AWSIoTLocationAction

Swift

class AWSIoTLocationAction

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

Required parameters: [roleArn, trackerName, deviceId, latitude, longitude]

  • The unique ID of the device providing the location data.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable deviceId;

    Swift

    var deviceId: String? { get set }
  • A string that evaluates to a double value that represents the latitude of the device’s location.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable latitude;

    Swift

    var latitude: String? { get set }
  • A string that evaluates to a double value that represents the longitude of the device’s location.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable longitude;

    Swift

    var longitude: String? { get set }
  • The IAM role that grants permission to write to the Amazon Location resource.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable roleArn;

    Swift

    var roleArn: String? { get set }
  • The time that the location data was sampled. The default value is the time the MQTT message was processed.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTLocationTimestamp *_Nullable timestamp;

    Swift

    var timestamp: AWSIoTLocationTimestamp? { get set }
  • The name of the tracker resource in Amazon Location in which the location is updated.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable trackerName;

    Swift

    var trackerName: String? { get set }