BedrockAgentCore / Client / delete_recommendation
delete_recommendation¶
- BedrockAgentCore.Client.delete_recommendation(**kwargs)¶
Deletes a recommendation and its associated results.
See also: AWS API Documentation
Request Syntax
response = client.delete_recommendation( recommendationId='string' )
- Parameters:
recommendationId (string) –
[REQUIRED]
The unique identifier of the recommendation to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'recommendationId': 'string', 'status': 'PENDING'|'IN_PROGRESS'|'COMPLETED'|'FAILED'|'DELETING' }
Response Structure
(dict) –
recommendationId (string) –
The unique identifier of the deleted recommendation.
status (string) –
The status of the recommendation deletion operation.
Exceptions
BedrockAgentCore.Client.exceptions.AccessDeniedExceptionBedrockAgentCore.Client.exceptions.ConflictExceptionBedrockAgentCore.Client.exceptions.ValidationExceptionBedrockAgentCore.Client.exceptions.ResourceNotFoundExceptionBedrockAgentCore.Client.exceptions.ThrottlingExceptionBedrockAgentCore.Client.exceptions.InternalServerException