Module Values.GetStaticMapResponseSource

This operation is not supported in ap-southeast-1 and ap-southeast-5 regions for GrabMaps customers. GetStaticMap provides high-quality static map images with customizable options. You can modify the map's appearance and overlay additional information. It's an ideal solution for applications requiring tailored static map snapshots. For more information, see the following topics in the Amazon Location Service Developer Guide: Static maps Customize static maps Overlay on the static map

Sourcetype nonrec t = {
  1. blob : Blob.t option;
    (*

    The blob represents a map image as a jpeg for the GetStaticMap API.

    *)
  2. contentType : String_.t option;
    (*

    Header that represents the format of the response. The response returns the following as the HTTP body.

    *)
  3. cacheControl : String_.t option;
    (*

    Header that instructs caching configuration for the client.

    *)
  4. eTag : String_.t option;
    (*

    The static map's Etag.

    *)
  5. pricingBucket : String_.t option;
    (*

    The pricing bucket for which the request is charged at.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ThrottlingException of ThrottlingException.t
  4. | `ValidationException of ValidationException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?blob:??? -> ?contentType:??? -> ?cacheControl:??? -> ?eTag:??? -> ?pricingBucket:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ((string, String_.t) Awso.Import.List.Assoc.t * Blob.t) -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Blob of Blob.t | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t