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.BatchDeleteGeofence

Description

Deletes a batch of geofences from a geofence collection.

This operation deletes the resource permanently.

Synopsis

Creating a Request

data BatchDeleteGeofence Source #

See: newBatchDeleteGeofence smart constructor.

Constructors

BatchDeleteGeofence' 

Fields

Instances

Instances details
ToJSON BatchDeleteGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

ToHeaders BatchDeleteGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

ToPath BatchDeleteGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

ToQuery BatchDeleteGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

AWSRequest BatchDeleteGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

Associated Types

type AWSResponse BatchDeleteGeofence #

Generic BatchDeleteGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

Associated Types

type Rep BatchDeleteGeofence :: Type -> Type #

Read BatchDeleteGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

Show BatchDeleteGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

NFData BatchDeleteGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

Methods

rnf :: BatchDeleteGeofence -> () #

Eq BatchDeleteGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

Hashable BatchDeleteGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

type AWSResponse BatchDeleteGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

type Rep BatchDeleteGeofence Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

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

newBatchDeleteGeofence Source #

Create a value of BatchDeleteGeofence 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:

BatchDeleteGeofence, batchDeleteGeofence_collectionName - The geofence collection storing the geofences to be deleted.

$sel:geofenceIds:BatchDeleteGeofence', batchDeleteGeofence_geofenceIds - The batch of geofences to be deleted.

Request Lenses

batchDeleteGeofence_collectionName :: Lens' BatchDeleteGeofence Text Source #

The geofence collection storing the geofences to be deleted.

Destructuring the Response

data BatchDeleteGeofenceResponse Source #

See: newBatchDeleteGeofenceResponse smart constructor.

Constructors

BatchDeleteGeofenceResponse' 

Fields

Instances

Instances details
Generic BatchDeleteGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

Associated Types

type Rep BatchDeleteGeofenceResponse :: Type -> Type #

Read BatchDeleteGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

Show BatchDeleteGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

NFData BatchDeleteGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

Eq BatchDeleteGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

type Rep BatchDeleteGeofenceResponse Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteGeofence

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

newBatchDeleteGeofenceResponse Source #

Create a value of BatchDeleteGeofenceResponse 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:BatchDeleteGeofenceResponse', batchDeleteGeofenceResponse_httpStatus - The response's http status code.

$sel:errors:BatchDeleteGeofenceResponse', batchDeleteGeofenceResponse_errors - Contains error details for each geofence that failed to delete.

Response Lenses

batchDeleteGeofenceResponse_errors :: Lens' BatchDeleteGeofenceResponse [BatchDeleteGeofenceError] Source #

Contains error details for each geofence that failed to delete.