import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient"; import { GetMapTileRequest, GetMapTileResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetMapTileCommand}. */ export interface GetMapTileCommandInput extends GetMapTileRequest { } /** * @public */ export type GetMapTileCommandOutputType = Omit & { Blob?: Uint8ArrayBlobAdapter; }; /** * @public * * The output of {@link GetMapTileCommand}. */ export interface GetMapTileCommandOutput extends GetMapTileCommandOutputType, __MetadataBearer { } declare const GetMapTileCommand_base: { new (input: GetMapTileCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetMapTileCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Retrieves a vector data tile from the map resource. Map tiles are used by clients to * render a map. they're addressed using a grid arrangement with an X coordinate, Y * coordinate, and Z (zoom) level.

*

The origin (0, 0) is the top left of the map. Increasing the zoom level by 1 doubles * both the X and Y dimensions, so a tile containing data for the entire world at (0/0/0) * will be split into 4 tiles at zoom 1 (1/0/0, 1/0/1, 1/1/0, 1/1/1).

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { LocationClient, GetMapTileCommand } from "@aws-sdk/client-location"; // ES Modules import * // const { LocationClient, GetMapTileCommand } = require("@aws-sdk/client-location"); // CommonJS import * const client = new LocationClient(config); * const input = { // GetMapTileRequest * MapName: "STRING_VALUE", // required * Z: "STRING_VALUE", // required * X: "STRING_VALUE", // required * Y: "STRING_VALUE", // required * Key: "STRING_VALUE", * }; * const command = new GetMapTileCommand(input); * const response = await client.send(command); * // { // GetMapTileResponse * // Blob: new Uint8Array(), * // ContentType: "STRING_VALUE", * // CacheControl: "STRING_VALUE", * // }; * * ``` * * @param GetMapTileCommandInput - {@link GetMapTileCommandInput} * @returns {@link GetMapTileCommandOutput} * @see {@link GetMapTileCommandInput} for command's `input` shape. * @see {@link GetMapTileCommandOutput} for command's `response` shape. * @see {@link LocationClientResolvedConfig | config} for LocationClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

The request was denied because of insufficient access or permissions. Check with an * administrator to verify your permissions.

* * @throws {@link InternalServerException} (server fault) *

The request has failed to process because of an unknown server error, exception, or failure.

* * @throws {@link ResourceNotFoundException} (client fault) *

The resource that you've entered was not found in your AWS account.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied because of request throttling.

* * @throws {@link ValidationException} (client fault) *

The input failed to meet the constraints specified by the AWS service.

* * @throws {@link LocationServiceException} *

Base exception class for all service exceptions from Location service.

* * * @public */ export declare class GetMapTileCommand extends GetMapTileCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetMapTileRequest; output: GetMapTileResponse; }; sdk: { input: GetMapTileCommandInput; output: GetMapTileCommandOutput; }; }; }