list_agent_recommendations
¶
list_agent_recommendations(
profile_arn: AgentProfileArn,
*,
config_overrides: Optional[WellArchitectedClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
state: Optional[RecommendationState] = None,
pillar: Optional[Pillar] = None,
) -> ListAgentRecommendationsResponse
Application-level recommendations are a new recommendation format currently in beta. We are actively seeking customer feedback to improve their quality and relevance. As with any AI-generated content, please thoroughly review each recommendation before taking any action based on it.
Lists active optimization recommendations for a specified profile with optional filtering by state.
Parameters:
-
profile_arn(AgentProfileArn) –The Amazon Resource Name (ARN) of the optimization profile to list recommendations for.
-
max_results(Optional[MaxResults], default:None) –The maximum number of recommendations to return in a single response.
-
next_token(Optional[NextToken], default:None) –A pagination token returned from a previous call to continue retrieving results.
-
state(Optional[RecommendationState], default:None) –Optional filter to return only recommendations with the specified state (OPEN or CLOSED).
-
pillar(Optional[Pillar], default:None) –Optional filter to return only recommendations for the specified pillar.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
InternalServerException–There is a problem with the Well-Architected Tool API service.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–Request was denied due to request throttling.
-
ValidationException–The user input is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_wellarchitected/_services/well_architected.py
4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 | |