amazonka-iotwireless-2.0: Amazon IoT Wireless 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.IoTWireless.UpdateResourcePosition

Description

Update the position information of a given wireless device or a wireless gateway resource. The postion coordinates are based on the World Geodetic System (WGS84).

Synopsis

Creating a Request

data UpdateResourcePosition Source #

See: newUpdateResourcePosition smart constructor.

Constructors

UpdateResourcePosition' 

Fields

  • geoJsonPayload :: Maybe ByteString

    The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.

  • resourceIdentifier :: Text

    The identifier of the resource for which position information is updated. It can be the wireless device ID or the wireless gateway ID depending on the resource type.

  • resourceType :: PositionResourceType

    The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.

Instances

Instances details
ToBody UpdateResourcePosition Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

ToHeaders UpdateResourcePosition Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

ToPath UpdateResourcePosition Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

ToQuery UpdateResourcePosition Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

AWSRequest UpdateResourcePosition Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

Associated Types

type AWSResponse UpdateResourcePosition #

Generic UpdateResourcePosition Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

Associated Types

type Rep UpdateResourcePosition :: Type -> Type #

Read UpdateResourcePosition Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

Show UpdateResourcePosition Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

NFData UpdateResourcePosition Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

Methods

rnf :: UpdateResourcePosition -> () #

Eq UpdateResourcePosition Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

Hashable UpdateResourcePosition Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

type AWSResponse UpdateResourcePosition Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

type Rep UpdateResourcePosition Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

type Rep UpdateResourcePosition = D1 ('MetaData "UpdateResourcePosition" "Amazonka.IoTWireless.UpdateResourcePosition" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "UpdateResourcePosition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "geoJsonPayload") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteString)) :*: (S1 ('MetaSel ('Just "resourceIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PositionResourceType))))

newUpdateResourcePosition Source #

Create a value of UpdateResourcePosition 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:geoJsonPayload:UpdateResourcePosition', updateResourcePosition_geoJsonPayload - The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.

$sel:resourceIdentifier:UpdateResourcePosition', updateResourcePosition_resourceIdentifier - The identifier of the resource for which position information is updated. It can be the wireless device ID or the wireless gateway ID depending on the resource type.

$sel:resourceType:UpdateResourcePosition', updateResourcePosition_resourceType - The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.

Request Lenses

updateResourcePosition_geoJsonPayload :: Lens' UpdateResourcePosition (Maybe ByteString) Source #

The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.

updateResourcePosition_resourceIdentifier :: Lens' UpdateResourcePosition Text Source #

The identifier of the resource for which position information is updated. It can be the wireless device ID or the wireless gateway ID depending on the resource type.

updateResourcePosition_resourceType :: Lens' UpdateResourcePosition PositionResourceType Source #

The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.

Destructuring the Response

data UpdateResourcePositionResponse Source #

See: newUpdateResourcePositionResponse smart constructor.

Constructors

UpdateResourcePositionResponse' 

Fields

Instances

Instances details
Generic UpdateResourcePositionResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

Associated Types

type Rep UpdateResourcePositionResponse :: Type -> Type #

Read UpdateResourcePositionResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

Show UpdateResourcePositionResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

NFData UpdateResourcePositionResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

Eq UpdateResourcePositionResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

type Rep UpdateResourcePositionResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.UpdateResourcePosition

type Rep UpdateResourcePositionResponse = D1 ('MetaData "UpdateResourcePositionResponse" "Amazonka.IoTWireless.UpdateResourcePosition" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "UpdateResourcePositionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateResourcePositionResponse Source #

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

Response Lenses