start_agent_recommendation_generation
async
¶
start_agent_recommendation_generation(
profile_arn: AgentProfileArn,
types: RecommendationTypes,
scope: Scope,
*,
config_overrides: Optional[AsyncWellArchitectedClientConfig] = None,
name: Optional[str] = None,
additional_context: Optional[object] = None,
) -> StartAgentRecommendationGenerationResponse
Initiates a new recommendation generation process for the specified optimization profile. This asynchronous operation analyzes your Amazon Web Services resources and generates optimization recommendations based on the configured pillars and scope. Use GetAgentRecommendationGeneration to check status.
Parameters:
-
profile_arn(AgentProfileArn) –The Amazon Resource Name (ARN) of the optimization profile to use for generating recommendations.
-
types(RecommendationTypes) –The types of recommendations to generate.
-
name(Optional[str], default:None) –An optional name for this generation process to help identify it in lists and logs.
-
additional_context(Optional[object], default:None) –Optional additional context to guide the recommendation generation, such as specific business requirements or constraints.
-
scope(Scope) –Scope configuration to focus the generation on specific pillars or goals.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
ConflictException–The resource has already been processed, was deleted, or is too large.
-
InternalServerException–There is a problem with the Well-Architected Tool API service.
-
ServiceQuotaExceededException–The user has reached their resource quota.
-
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/async_well_architected.py
5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 | |