Class: Aws::LocationService::Types::BatchPutGeofenceRequestEntry

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

Overview

Contains geofence geometry details.

Constant Summary collapse

SENSITIVE =
[:geofence_properties]

Instance Attribute Summary collapse

Instance Attribute Details

#geofence_idString

The identifier for the geofence to be stored in a given geofence collection.

Returns:

  • (String)


532
533
534
535
536
537
538
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 532

class BatchPutGeofenceRequestEntry < Struct.new(
  :geofence_id,
  :geometry,
  :geofence_properties)
  SENSITIVE = [:geofence_properties]
  include Aws::Structure
end

#geofence_propertiesHash<String,String>

Associates one of more properties with the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.

Format: "key" : "value"

Returns:

  • (Hash<String,String>)


532
533
534
535
536
537
538
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 532

class BatchPutGeofenceRequestEntry < Struct.new(
  :geofence_id,
  :geometry,
  :geofence_properties)
  SENSITIVE = [:geofence_properties]
  include Aws::Structure
end

#geometryTypes::GeofenceGeometry

Contains the details to specify the position of the geofence. Can be a circle, a polygon, or a multipolygon. Polygon and MultiPolygon geometries can be defined using their respective parameters, or encoded in Geobuf format using the Geobuf parameter. Including multiple geometry types in the same request will return a validation error.

The geofence Polygon and MultiPolygon formats support a maximum of 1,000 total vertices. The Geobuf format supports a maximum of 100,000 vertices.



532
533
534
535
536
537
538
# File 'gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/types.rb', line 532

class BatchPutGeofenceRequestEntry < Struct.new(
  :geofence_id,
  :geometry,
  :geofence_properties)
  SENSITIVE = [:geofence_properties]
  include Aws::Structure
end