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.Types.PlaceGeometry

Description

 
Synopsis

Documentation

data PlaceGeometry Source #

Places uses a point geometry to specify a location or a Place.

See: newPlaceGeometry smart constructor.

Constructors

PlaceGeometry' 

Fields

  • point :: Maybe (Sensitive (NonEmpty Double))

    A single point geometry specifies a location for a Place using WGS 84 coordinates:

    • x — Specifies the x coordinate or longitude.
    • y — Specifies the y coordinate or latitude.

Instances

Instances details
FromJSON PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

Generic PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

Associated Types

type Rep PlaceGeometry :: Type -> Type #

Show PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

NFData PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

Methods

rnf :: PlaceGeometry -> () #

Eq PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

Hashable PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

type Rep PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

type Rep PlaceGeometry = D1 ('MetaData "PlaceGeometry" "Amazonka.Location.Types.PlaceGeometry" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" 'False) (C1 ('MetaCons "PlaceGeometry'" 'PrefixI 'True) (S1 ('MetaSel ('Just "point") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (NonEmpty Double))))))

newPlaceGeometry :: PlaceGeometry Source #

Create a value of PlaceGeometry 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:point:PlaceGeometry', placeGeometry_point - A single point geometry specifies a location for a Place using WGS 84 coordinates:

  • x — Specifies the x coordinate or longitude.
  • y — Specifies the y coordinate or latitude.

placeGeometry_point :: Lens' PlaceGeometry (Maybe (NonEmpty Double)) Source #

A single point geometry specifies a location for a Place using WGS 84 coordinates:

  • x — Specifies the x coordinate or longitude.
  • y — Specifies the y coordinate or latitude.