amazonka-location-2.0: Amazon Location Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Location.BatchPutGeofence

Description

A batch request for storing geofence geometries into a given geofence collection, or updates the geometry of an existing geofence if a geofence ID is included in the request.

Synopsis

Creating a Request

data BatchPutGeofence Source #

See: newBatchPutGeofence smart constructor.

Constructors

BatchPutGeofence' 

Fields

Instances

Instances details
ToJSON BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

ToHeaders BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

ToPath BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

ToQuery BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

AWSRequest BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Associated Types

type AWSResponse BatchPutGeofence #

Generic BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Associated Types

type Rep BatchPutGeofence :: Type -> Type #

Show BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

NFData BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Methods

rnf :: BatchPutGeofence -> () #

Eq BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Hashable BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

type AWSResponse BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

type Rep BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

type Rep BatchPutGeofence = D1 ('MetaData "BatchPutGeofence" "Amazonka.Location.BatchPutGeofence" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "BatchPutGeofence'" 'PrefixI 'True) (S1 ('MetaSel ('Just "collectionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "entries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty BatchPutGeofenceRequestEntry))))

newBatchPutGeofence Source #

Create a value of BatchPutGeofence with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

BatchPutGeofence, batchPutGeofence_collectionName - The geofence collection storing the geofences.

$sel:entries:BatchPutGeofence', batchPutGeofence_entries - The batch of geofences to be stored in a geofence collection.

Request Lenses

batchPutGeofence_collectionName :: Lens' BatchPutGeofence Text Source #

The geofence collection storing the geofences.

batchPutGeofence_entries :: Lens' BatchPutGeofence (NonEmpty BatchPutGeofenceRequestEntry) Source #

The batch of geofences to be stored in a geofence collection.

Destructuring the Response

data BatchPutGeofenceResponse Source #

See: newBatchPutGeofenceResponse smart constructor.

Constructors

BatchPutGeofenceResponse' 

Fields

Instances

Instances details
Generic BatchPutGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Associated Types

type Rep BatchPutGeofenceResponse :: Type -> Type #

Read BatchPutGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Show BatchPutGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

NFData BatchPutGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Eq BatchPutGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

type Rep BatchPutGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

type Rep BatchPutGeofenceResponse = D1 ('MetaData "BatchPutGeofenceResponse" "Amazonka.Location.BatchPutGeofence" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "BatchPutGeofenceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchPutGeofenceError]) :*: S1 ('MetaSel ('Just "successes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchPutGeofenceSuccess]))))

newBatchPutGeofenceResponse Source #

Create a value of BatchPutGeofenceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:BatchPutGeofenceResponse', batchPutGeofenceResponse_httpStatus - The response's http status code.

$sel:errors:BatchPutGeofenceResponse', batchPutGeofenceResponse_errors - Contains additional error details for each geofence that failed to be stored in a geofence collection.

$sel:successes:BatchPutGeofenceResponse', batchPutGeofenceResponse_successes - Contains each geofence that was successfully stored in a geofence collection.

Response Lenses

batchPutGeofenceResponse_errors :: Lens' BatchPutGeofenceResponse [BatchPutGeofenceError] Source #

Contains additional error details for each geofence that failed to be stored in a geofence collection.

batchPutGeofenceResponse_successes :: Lens' BatchPutGeofenceResponse [BatchPutGeofenceSuccess] Source #

Contains each geofence that was successfully stored in a geofence collection.