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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


491
492
493
494
495
496
497
# File 'lib/aws-sdk-locationservice/types.rb', line 491

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>)


491
492
493
494
495
496
497
# File 'lib/aws-sdk-locationservice/types.rb', line 491

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 polygon, a circle or a polygon encoded in Geobuf format. Including multiple selections will return a validation error.

<note markdown=“1”> The [ geofence polygon] format supports a maximum of 1,000 vertices. The [Geofence geobuf] format supports a maximum of 100,000 vertices.

</note>

[1]: docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html



491
492
493
494
495
496
497
# File 'lib/aws-sdk-locationservice/types.rb', line 491

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