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

Defined in Amazonka.Location.Types.PlaceGeometry

Show 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 #

NFData PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

Methods

rnf :: PlaceGeometry -> () #

Hashable PlaceGeometry Source # 
Instance details

Defined in Amazonka.Location.Types.PlaceGeometry

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