![]() |
![]()
| ![]() |
![]()
NAMEPaws::LocationService::PutGeofence - Arguments for method PutGeofence on Paws::LocationService DESCRIPTIONThis class represents the parameters used for calling the method PutGeofence on the Amazon Location Service service. Use the attributes of this class as arguments to method PutGeofence. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutGeofence. SYNOPSISmy $geo = Paws->service('LocationService'); my $PutGeofenceResponse = $geo->PutGeofence( CollectionName => 'MyResourceName', GeofenceId => 'MyId', Geometry => { Polygon => [ [ [ 1, ... ], ... # min: 2, max: 2 ], ... # min: 4 ], # min: 1; OPTIONAL }, ); # Results: my $CreateTime = $PutGeofenceResponse->CreateTime; my $GeofenceId = $PutGeofenceResponse->GeofenceId; my $UpdateTime = $PutGeofenceResponse->UpdateTime; # Returns a L<Paws::LocationService::PutGeofenceResponse> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/geo/PutGeofence> ATTRIBUTESREQUIRED CollectionName => StrThe geofence collection to store the geofence in. REQUIRED GeofenceId => StrAn identifier for the geofence. For example, "ExampleGeofence-1". REQUIRED Geometry => Paws::LocationService::GeofenceGeometryContains the polygon details to specify the position of the geofence. Each geofence polygon (https://docs.aws.amazon.com/location-geofences/latest/APIReference/API_GeofenceGeometry.html) can have a maximum of 1,000 vertices. SEE ALSOThis class forms part of Paws, documenting arguments for method PutGeofence in Paws::LocationService BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|