CreateKeyRequest

Amazon Web ServicesGeocodingGeofencingLocationMapsRouting

Properties

Name Type Description
KeyName string A custom name for the API key resource. Requirements: Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_). Must be a unique API key name. No spaces allo
Restrictions object
Description string An optional description for the API key resource.
ExpireTime string The optional timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. One of NoExpiry or ExpireTime must be set.
NoExpiry boolean Optionally set to true to set no expiration time for the API key. One of NoExpiry or ExpireTime must be set.
Tags object Applies one or more tags to the map resource. A tag is a key-value pair that helps manage, identify, search, and filter your resources by labelling them. Format: "key" : "value" Restrictions: Maximum
View JSON Schema on GitHub

JSON Schema

amazon-location-service-create-key-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-location-service/json-schema/amazon-location-service-create-key-request-schema.json",
  "title": "CreateKeyRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-location-service-metadata-api-openapi.yml#/components/schemas/CreateKeyRequest",
  "type": "object",
  "properties": {
    "KeyName": {
      "type": "string",
      "description": "A custom name for the API key resource. Requirements: Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_). Must be a unique API key name. No spaces allowed. For example, ExampleAPIKey."
    },
    "Restrictions": {
      "$ref": "#/$defs/ApiKeyRestrictions"
    },
    "Description": {
      "type": "string",
      "description": "An optional description for the API key resource."
    },
    "ExpireTime": {
      "type": "string",
      "format": "date-time",
      "description": "The optional timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ. One of NoExpiry or ExpireTime must be set."
    },
    "NoExpiry": {
      "type": "boolean",
      "description": "Optionally set to true to set no expiration time for the API key. One of NoExpiry or ExpireTime must be set."
    },
    "Tags": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Applies one or more tags to the map resource. A tag is a key-value pair that helps manage, identify, search, and filter your resources by labelling them. Format: \"key\" : \"value\" Restrictions: Maximum 50 tags per resource Each resource tag must be unique with a maximum of one value. Maximum key length: 128 Unicode characters in UTF-8 Maximum value length: 256 Unicode characters in UTF-8 Can use alphanumeric characters (A–Z, a–z, 0–9), and the following characters: + - = . _ : / @. Cannot use \"aws:\" as a prefix for a key."
    }
  },
  "required": [
    "KeyName",
    "Restrictions"
  ],
  "$defs": {
    "AndroidApp": {
      "type": "object",
      "properties": {
        "Package": {
          "type": "string",
          "description": "Unique package name identifier for an Android app. Example: com.mydomain.appname"
        },
        "CertificateFingerprint": {
          "type": "string",
          "description": "20 byte SHA-1 certificate fingerprint associated with the Android app signing certificate. Example: BB:0D:AC:74:D3:21:E1:43:67:71:9B:62:91:AF:A1:66:6E:44:5D:75"
        }
      },
      "required": [
        "Package",
        "CertificateFingerprint"
      ]
    },
    "ApiKeyRestrictions": {
      "type": "object",
      "properties": {
        "AllowActions": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of allowed actions that an API key resource grants permissions to perform. You must have at least one action for each type of resource. For example, if you have a place resource, you must include at least one place action. The following are valid values for the actions. Map actions geo:GetMap* - Allows all actions needed for map rendering. geo-maps:GetTile - Allows retrieving map tiles. geo-maps:GetStaticMap - Allows retrieving static map images. geo-maps:* - Allows all actions related to map functionalities. Place actions geo:SearchPlaceIndexForText - Allows geocoding. geo:SearchPlaceI"
        },
        "AllowResources": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "A list of allowed resource ARNs that a API key bearer can perform actions on. The ARN must be the correct ARN for a map, place, or route ARN. You may include wildcards in the resource-id to match multiple resources of the same type. The resources must be in the same partition, region, and account-id as the key that is being created. Other than wildcards, you must include the full ARN, including the arn, partition, service, region, account-id and resource-id delimited by colons (:). No spaces allowed, even with wildcards. For example, arn:aws:geo:region:account-id:map/ExampleMap*. For more info"
        },
        "AllowReferers": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "An optional list of allowed HTTP referers for which requests must originate from. Requests using this API key from other domains will not be allowed. Requirements: Contain only alphanumeric characters (A–Z, a–z, 0–9) or any symbols in this list $\\-._+!*`(),;/?:@=& May contain a percent (%) if followed by 2 hexadecimal digits (A-F, a-f, 0-9); this is used for URL encoding purposes. May contain wildcard characters question mark (?) and asterisk (*). Question mark (?) will replace any single character (including hexadecimal digits). Asterisk (*) will replace any multiple characters (including"
        },
        "AllowAndroidApps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AndroidApp"
          },
          "description": "An optional list of allowed Android applications for which requests must originate from. Requests using this API key from other sources will not be allowed."
        },
        "AllowAppleApps": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AppleApp"
          },
          "description": "An optional list of allowed Apple applications for which requests must originate from. Requests using this API key from other sources will not be allowed."
        }
      },
      "required": [
        "AllowActions",
        "AllowResources"
      ]
    },
    "AppleApp": {
      "type": "object",
      "properties": {
        "BundleId": {
          "type": "string",
          "description": "The unique identifier of the app across all Apple platforms (iOS, macOS, tvOS and watchOS). Example: com.mydomain.appname"
        }
      },
      "required": [
        "BundleId"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-location-service-create-key-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.