create_agent_goal
¶
create_agent_goal(
profile_arn: AgentProfileArn,
pillars: Pillars,
title: SensitiveString,
*,
config_overrides: Optional[WellArchitectedClientConfig] = None,
client_token: Optional[str] = None,
description: Optional[SensitiveString] = None,
) -> CreateAgentGoalResponse
Creates an optimization goal associated with a profile. Goals define specific targets and objectives for the optimization process.
Parameters:
-
client_token(Optional[str], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
profile_arn(AgentProfileArn) –The Amazon Resource Name (ARN) of the profile to associate the goal with.
-
pillars(Pillars) –The Amazon Web Services Well-Architected Framework pillars to associate with this goal.
-
title(SensitiveString) –The title of the goal.
-
description(Optional[SensitiveString], default:None) –A description of the goal.
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.
-
ResourceNotFoundException–The requested resource was not found.
-
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
720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 | |