Skip to content

Bedrock Agentcore  >  Operations  >  delete_recommendation

delete_recommendation

Operation

delete_recommendation async

delete_recommendation(input: DeleteRecommendationInput, plugins: list[Plugin] | None = None) -> DeleteRecommendationOutput

Deletes a recommendation and its associated results.

Parameters:

Name Type Description Default
input DeleteRecommendationInput

An instance of DeleteRecommendationInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DeleteRecommendationOutput

An instance of DeleteRecommendationOutput.

Input

DeleteRecommendationInput dataclass

Dataclass for DeleteRecommendationInput structure.

Attributes

recommendation_id class-attribute instance-attribute
recommendation_id: str | None = None

The unique identifier of the recommendation to delete.

Output

DeleteRecommendationOutput dataclass

Dataclass for DeleteRecommendationOutput structure.

Attributes

recommendation_id instance-attribute
recommendation_id: str

The unique identifier of the deleted recommendation.

status instance-attribute

The status of the recommendation deletion operation.