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

Description

Deletes the position history of one or more devices from a tracker resource.

Synopsis

Creating a Request

data BatchDeleteDevicePositionHistory Source #

See: newBatchDeleteDevicePositionHistory smart constructor.

Constructors

BatchDeleteDevicePositionHistory' 

Fields

  • deviceIds :: NonEmpty Text

    Devices whose position history you want to delete.

    • For example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]
  • trackerName :: Text

    The name of the tracker resource to delete the device position history from.

Instances

Instances details
Eq BatchDeleteDevicePositionHistory Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

Read BatchDeleteDevicePositionHistory Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

Show BatchDeleteDevicePositionHistory Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

Generic BatchDeleteDevicePositionHistory Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

Associated Types

type Rep BatchDeleteDevicePositionHistory :: Type -> Type #

NFData BatchDeleteDevicePositionHistory Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

Hashable BatchDeleteDevicePositionHistory Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

ToJSON BatchDeleteDevicePositionHistory Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

AWSRequest BatchDeleteDevicePositionHistory Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

ToHeaders BatchDeleteDevicePositionHistory Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

ToPath BatchDeleteDevicePositionHistory Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

ToQuery BatchDeleteDevicePositionHistory Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

type Rep BatchDeleteDevicePositionHistory Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

type Rep BatchDeleteDevicePositionHistory = D1 ('MetaData "BatchDeleteDevicePositionHistory" "Amazonka.Location.BatchDeleteDevicePositionHistory" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "BatchDeleteDevicePositionHistory'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)) :*: S1 ('MetaSel ('Just "trackerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse BatchDeleteDevicePositionHistory Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

newBatchDeleteDevicePositionHistory Source #

Create a value of BatchDeleteDevicePositionHistory 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:deviceIds:BatchDeleteDevicePositionHistory', batchDeleteDevicePositionHistory_deviceIds - Devices whose position history you want to delete.

  • For example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

$sel:trackerName:BatchDeleteDevicePositionHistory', batchDeleteDevicePositionHistory_trackerName - The name of the tracker resource to delete the device position history from.

Request Lenses

batchDeleteDevicePositionHistory_deviceIds :: Lens' BatchDeleteDevicePositionHistory (NonEmpty Text) Source #

Devices whose position history you want to delete.

  • For example, for two devices: “DeviceIds” : [DeviceId1,DeviceId2]

batchDeleteDevicePositionHistory_trackerName :: Lens' BatchDeleteDevicePositionHistory Text Source #

The name of the tracker resource to delete the device position history from.

Destructuring the Response

data BatchDeleteDevicePositionHistoryResponse Source #

Constructors

BatchDeleteDevicePositionHistoryResponse' 

Fields

Instances

Instances details
Eq BatchDeleteDevicePositionHistoryResponse Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

Read BatchDeleteDevicePositionHistoryResponse Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

Show BatchDeleteDevicePositionHistoryResponse Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

Generic BatchDeleteDevicePositionHistoryResponse Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

NFData BatchDeleteDevicePositionHistoryResponse Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

type Rep BatchDeleteDevicePositionHistoryResponse Source # 
Instance details

Defined in Amazonka.Location.BatchDeleteDevicePositionHistory

type Rep BatchDeleteDevicePositionHistoryResponse = D1 ('MetaData "BatchDeleteDevicePositionHistoryResponse" "Amazonka.Location.BatchDeleteDevicePositionHistory" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "BatchDeleteDevicePositionHistoryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchDeleteDevicePositionHistoryError])))

newBatchDeleteDevicePositionHistoryResponse Source #

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

$sel:errors:BatchDeleteDevicePositionHistoryResponse', batchDeleteDevicePositionHistoryResponse_errors - Contains error details for each device history that failed to delete.

Response Lenses