Class: Aws::LocationService::Types::BatchEvaluateGeofencesRequest

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 BatchEvaluateGeofencesRequest data as a hash:

{
  collection_name: "ResourceName", # required
  device_position_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

#collection_nameString

The geofence collection used in evaluating the position of devices against its geofences.

Returns:

  • (String)


241
242
243
244
245
246
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 241

class BatchEvaluateGeofencesRequest < Struct.new(
  :collection_name,
  :device_position_updates)
  SENSITIVE = []
  include Aws::Structure
end

#device_position_updatesArray<Types::DevicePositionUpdate>

Contains device details for each device to be evaluated against the given geofence collection.

Returns:



241
242
243
244
245
246
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 241

class BatchEvaluateGeofencesRequest < Struct.new(
  :collection_name,
  :device_position_updates)
  SENSITIVE = []
  include Aws::Structure
end