createKey

inline suspend fun LocationClient.createKey(crossinline block: CreateKeyRequest.Builder.() -> Unit): CreateKeyResponse

Creates an API key resource in your Amazon Web Services account, which lets you grant actions for Amazon Location resources to the API key bearer.

For more information, see Use API keys to authenticate in the Amazon Location Service Developer Guide.