Amazon Location Service

2023/12/29 - Amazon Location Service - 1 updated api methods

Changes  This release introduces a new parameter to bypasses an API key's expiry conditions and delete the key.

DeleteKey (updated) Link ΒΆ
Changes (request)
{'ForceDelete': 'boolean'}

Deletes the specified API key. The API key must have been deactivated more than 90 days previously.

See also: AWS API Documentation

Request Syntax

client.delete_key(
    ForceDelete=True|False,
    KeyName='string'
)
type ForceDelete:

boolean

param ForceDelete:

ForceDelete bypasses an API key's expiry conditions and deletes the key. Set the parameter true to delete the key or to false to not preemptively delete the API key.

Valid values: true, or false.

Required: No

type KeyName:

string

param KeyName:

[REQUIRED]

The name of the API key to delete.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --