UpdateKeyRequest

Amazon Web ServicesGeocodingGeofencingLocationMapsRouting

Properties

Name Type Description
KeyName string The name of the API key resource to update.
Description string Updates the description for the API key resource.
ExpireTime string Updates the timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.
NoExpiry boolean Whether the API key should expire. Set to true to set the API key to have no expiration time.
ForceUpdate boolean The boolean flag to be included for updating ExpireTime or Restrictions details. Must be set to true to update an API key resource that has been used in the past 7 days. False if force update is not p
Restrictions object
View JSON Schema on GitHub

JSON Schema

amazon-location-service-update-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-update-key-request-schema.json",
  "title": "UpdateKeyRequest",
  "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/UpdateKeyRequest",
  "type": "object",
  "properties": {
    "KeyName": {
      "type": "string",
      "description": "The name of the API key resource to update."
    },
    "Description": {
      "type": "string",
      "description": "Updates the description for the API key resource."
    },
    "ExpireTime": {
      "type": "string",
      "format": "date-time",
      "description": "Updates the timestamp for when the API key resource will expire in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ."
    },
    "NoExpiry": {
      "type": "boolean",
      "description": "Whether the API key should expire. Set to true to set the API key to have no expiration time."
    },
    "ForceUpdate": {
      "type": "boolean",
      "description": "The boolean flag to be included for updating ExpireTime or Restrictions details. Must be set to true to update an API key resource that has been used in the past 7 days. False if force update is not preferred Default value: False"
    },
    "Restrictions": {
      "$ref": "#/$defs/ApiKeyRestrictions"
    }
  },
  "required": [
    "KeyName"
  ],
  "$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-update-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.