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
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
3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 | |