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

Description

Retrieves the sprite sheet corresponding to a map resource. The sprite sheet is a PNG image paired with a JSON document describing the offsets of individual icons that will be displayed on a rendered map.

Synopsis

Creating a Request

data GetMapSprites Source #

See: newGetMapSprites smart constructor.

Constructors

GetMapSprites' 

Fields

  • fileName :: Text

    The name of the sprite file. Use the following file names for the sprite sheet:

    • sprites.png
    • sprites@2x.png for high pixel density displays

    For the JSON document contain image offsets. Use the following file names:

    • sprites.json
    • sprites@2x.json for high pixel density displays
  • mapName :: Text

    The map resource associated with the sprite file.

Instances

Instances details
Eq GetMapSprites Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

Read GetMapSprites Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

Show GetMapSprites Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

Generic GetMapSprites Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

Associated Types

type Rep GetMapSprites :: Type -> Type #

NFData GetMapSprites Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

Methods

rnf :: GetMapSprites -> () #

Hashable GetMapSprites Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

AWSRequest GetMapSprites Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

Associated Types

type AWSResponse GetMapSprites #

ToHeaders GetMapSprites Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

ToPath GetMapSprites Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

ToQuery GetMapSprites Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

type Rep GetMapSprites Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

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

Defined in Amazonka.Location.GetMapSprites

newGetMapSprites Source #

Create a value of GetMapSprites 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:fileName:GetMapSprites', getMapSprites_fileName - The name of the sprite file. Use the following file names for the sprite sheet:

  • sprites.png
  • sprites@2x.png for high pixel density displays

For the JSON document contain image offsets. Use the following file names:

  • sprites.json
  • sprites@2x.json for high pixel density displays

$sel:mapName:GetMapSprites', getMapSprites_mapName - The map resource associated with the sprite file.

Request Lenses

getMapSprites_fileName :: Lens' GetMapSprites Text Source #

The name of the sprite file. Use the following file names for the sprite sheet:

  • sprites.png
  • sprites@2x.png for high pixel density displays

For the JSON document contain image offsets. Use the following file names:

  • sprites.json
  • sprites@2x.json for high pixel density displays

getMapSprites_mapName :: Lens' GetMapSprites Text Source #

The map resource associated with the sprite file.

Destructuring the Response

data GetMapSpritesResponse Source #

See: newGetMapSpritesResponse smart constructor.

Constructors

GetMapSpritesResponse' 

Fields

  • blob :: Maybe ByteString

    Contains the body of the sprite sheet or JSON offset file.

  • contentType :: Maybe Text

    The content type of the sprite sheet and offsets. For example, the sprite sheet content type is image/png, and the sprite offset JSON document is application/json.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetMapSpritesResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

Read GetMapSpritesResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

Show GetMapSpritesResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

Generic GetMapSpritesResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

Associated Types

type Rep GetMapSpritesResponse :: Type -> Type #

NFData GetMapSpritesResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

Methods

rnf :: GetMapSpritesResponse -> () #

type Rep GetMapSpritesResponse Source # 
Instance details

Defined in Amazonka.Location.GetMapSprites

type Rep GetMapSpritesResponse = D1 ('MetaData "GetMapSpritesResponse" "Amazonka.Location.GetMapSprites" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "GetMapSpritesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blob") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ByteString)) :*: (S1 ('MetaSel ('Just "contentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetMapSpritesResponse Source #

Create a value of GetMapSpritesResponse 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:blob:GetMapSpritesResponse', getMapSpritesResponse_blob - Contains the body of the sprite sheet or JSON offset file.

$sel:contentType:GetMapSpritesResponse', getMapSpritesResponse_contentType - The content type of the sprite sheet and offsets. For example, the sprite sheet content type is image/png, and the sprite offset JSON document is application/json.

$sel:httpStatus:GetMapSpritesResponse', getMapSpritesResponse_httpStatus - The response's http status code.

Response Lenses

getMapSpritesResponse_blob :: Lens' GetMapSpritesResponse (Maybe ByteString) Source #

Contains the body of the sprite sheet or JSON offset file.

getMapSpritesResponse_contentType :: Lens' GetMapSpritesResponse (Maybe Text) Source #

The content type of the sprite sheet and offsets. For example, the sprite sheet content type is image/png, and the sprite offset JSON document is application/json.