libZSservicesZSamazonka-locationZSamazonka-location
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Show BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Generic BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Associated Types

type Rep BatchPutGeofence :: Type -> Type #

NFData BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Methods

rnf :: BatchPutGeofence -> () #

Hashable BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

ToJSON BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

AWSRequest BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Associated Types

type AWSResponse 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

type Rep BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

type Rep BatchPutGeofence = D1 ('MetaData "BatchPutGeofence" "Amazonka.Location.BatchPutGeofence" "libZSservicesZSamazonka-locationZSamazonka-location" '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))))
type AWSResponse BatchPutGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

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:

$sel:collectionName: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
Eq BatchPutGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Read BatchPutGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Show BatchPutGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Generic BatchPutGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchPutGeofence

Associated Types

type Rep BatchPutGeofenceResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-locationZSamazonka-location" '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.