Class: Aws::LocationService::Types::BatchUpdateDevicePositionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb

Overview

Note:

When making an API call, you may pass BatchUpdateDevicePositionRequest data as a hash:

{
  tracker_name: "ResourceName", # required
  updates: [ # required
    {
      device_id: "Id", # required
      position: [1.0], # required
      sample_time: Time.now, # required
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#tracker_nameString

The name of the tracker resource to update.

Returns:

  • (String)


556
557
558
559
560
561
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 556

class BatchUpdateDevicePositionRequest < Struct.new(
  :tracker_name,
  :updates)
  SENSITIVE = []
  include Aws::Structure
end

#updatesArray<Types::DevicePositionUpdate>

Contains the position update details for each device.

Returns:



556
557
558
559
560
561
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 556

class BatchUpdateDevicePositionRequest < Struct.new(
  :tracker_name,
  :updates)
  SENSITIVE = []
  include Aws::Structure
end