Amazon Connect Cases

2025/07/02 - Amazon Connect Cases - 2 new api methods

Changes  This release adds DeleteCase and DeleteRelatedItem APIs, which enable deleting cases and comments, undoing contact association, and removing service level agreements (SLAs) from cases. Contact center admins can use these APIs to delete cases when requested by customers and correct agent errors.

DeleteRelatedItem (new) Link ¶

Deletes the related item resource under a case.

See also: AWS API Documentation

Request Syntax

client.delete_related_item(
    caseId='string',
    domainId='string',
    relatedItemId='string'
)
type caseId:

string

param caseId:

[REQUIRED]

A unique identifier of the case.

type domainId:

string

param domainId:

[REQUIRED]

A unique identifier of the Cases domain.

type relatedItemId:

string

param relatedItemId:

[REQUIRED]

A unique identifier of a related item.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --

DeleteCase (new) Link ¶

The DeleteCase API permanently deletes a case and all its associated resources from the cases data store. After a successful deletion, you cannot:

  • Retrieve related items

  • Access audit history

  • Perform any operations that require the CaseID

See also: AWS API Documentation

Request Syntax

client.delete_case(
    caseId='string',
    domainId='string'
)
type caseId:

string

param caseId:

[REQUIRED]

A unique identifier of the case.

type domainId:

string

param domainId:

[REQUIRED]

A unique identifier of the Cases domain.

rtype:

dict

returns:

Response Syntax

{}

Response Structure

  • (dict) --