start_agent_recommendation_generation
¶
start_agent_recommendation_generation(
profile_arn: AgentProfileArn,
types: RecommendationTypes,
scope: Scope,
*,
config_overrides: Optional[WellArchitectedClientConfig] = 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/well_architected.py
5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 | |