import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient"; import { CreateMapRequest, CreateMapResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link CreateMapCommand}. */ export interface CreateMapCommandInput extends CreateMapRequest { } /** * @public * * The output of {@link CreateMapCommand}. */ export interface CreateMapCommandOutput extends CreateMapResponse, __MetadataBearer { } declare const CreateMapCommand_base: { new (input: CreateMapCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: CreateMapCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Creates a map resource in your Amazon Web Services account, which provides map tiles of different * styles sourced from global location data providers.

* *

If your application is tracking or routing assets you use in your business, such * as delivery vehicles or employees, you must not use Esri as your geolocation * provider. See section 82 of the Amazon Web Services * service terms for more details.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { LocationClient, CreateMapCommand } from "@aws-sdk/client-location"; // ES Modules import * // const { LocationClient, CreateMapCommand } = require("@aws-sdk/client-location"); // CommonJS import * const client = new LocationClient(config); * const input = { // CreateMapRequest * MapName: "STRING_VALUE", // required * Configuration: { // MapConfiguration * Style: "STRING_VALUE", // required * PoliticalView: "STRING_VALUE", * CustomLayers: [ // CustomLayerList * "STRING_VALUE", * ], * }, * PricingPlan: "STRING_VALUE", * Description: "STRING_VALUE", * Tags: { // TagMap * "": "STRING_VALUE", * }, * }; * const command = new CreateMapCommand(input); * const response = await client.send(command); * // { // CreateMapResponse * // MapName: "STRING_VALUE", // required * // MapArn: "STRING_VALUE", // required * // CreateTime: new Date("TIMESTAMP"), // required * // }; * * ``` * * @param CreateMapCommandInput - {@link CreateMapCommandInput} * @returns {@link CreateMapCommandOutput} * @see {@link CreateMapCommandInput} for command's `input` shape. * @see {@link CreateMapCommandOutput} 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 ConflictException} (client fault) *

The request was unsuccessful because of a conflict.

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

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

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

The operation was denied because the request would exceed the maximum quota * set for Amazon Location Service.

* * @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 CreateMapCommand extends CreateMapCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateMapRequest; output: CreateMapResponse; }; sdk: { input: CreateMapCommandInput; output: CreateMapCommandOutput; }; }; }