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

Description

 
Synopsis

Documentation

data Circle Source #

A circle on the earth, as defined by a center point and a radius.

See: newCircle smart constructor.

Constructors

Circle' 

Fields

  • center :: Sensitive (NonEmpty Double)

    A single point geometry, specifying the center of the circle, using WGS 84 coordinates, in the form [longitude, latitude].

  • radius :: Double

    The radius of the circle in meters. Must be greater than zero and no larger than 100,000 (100 kilometers).

Instances

Instances details
FromJSON Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

ToJSON Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

Generic Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

Associated Types

type Rep Circle :: Type -> Type #

Methods

from :: Circle -> Rep Circle x #

to :: Rep Circle x -> Circle #

Show Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

NFData Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

Methods

rnf :: Circle -> () #

Eq Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

Methods

(==) :: Circle -> Circle -> Bool #

(/=) :: Circle -> Circle -> Bool #

Hashable Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

Methods

hashWithSalt :: Int -> Circle -> Int #

hash :: Circle -> Int #

type Rep Circle Source # 
Instance details

Defined in Amazonka.Location.Types.Circle

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

newCircle Source #

Create a value of Circle 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:center:Circle', circle_center - A single point geometry, specifying the center of the circle, using WGS 84 coordinates, in the form [longitude, latitude].

$sel:radius:Circle', circle_radius - The radius of the circle in meters. Must be greater than zero and no larger than 100,000 (100 kilometers).

circle_center :: Lens' Circle (NonEmpty Double) Source #

A single point geometry, specifying the center of the circle, using WGS 84 coordinates, in the form [longitude, latitude].

circle_radius :: Lens' Circle Double Source #

The radius of the circle in meters. Must be greater than zero and no larger than 100,000 (100 kilometers).