create_agent_profile
¶
create_agent_profile(
name: str,
pillars: Pillars,
execution_role_arn: RoleArn,
aggregation_configuration: AggregationConfigurations,
*,
config_overrides: Optional[WellArchitectedClientConfig] = None,
display_name: Optional[SensitiveString] = None,
description: Optional[SensitiveString] = None,
business_overview: Optional[SensitiveString] = None,
deletion_protection: Optional[bool] = None,
client_token: Optional[str] = None,
tags: Optional[Tags] = None,
) -> CreateAgentProfileResponse
Creates an optimization profile that defines the scope and configuration for generating recommendations. A profile specifies the execution role, target pillars, and aggregation settings for analyzing your Amazon Web Services resources.
Parameters:
-
name(str) –The system name of the profile.
-
display_name(Optional[SensitiveString], default:None) –The display name of the profile shown to users.
-
description(Optional[SensitiveString], default:None) –A description of the profile.
-
business_overview(Optional[SensitiveString], default:None) –The business overview for this profile.
-
pillars(Pillars) –The Well-Architected Tool Framework pillars to associate with this profile.
-
deletion_protection(Optional[bool], default:None) –Indicates whether deletion protection is enabled for the profile.
-
execution_role_arn(RoleArn) –The ARN of the IAM execution role used for recommendation actions.
-
aggregation_configuration(AggregationConfigurations) –The aggregation configuration that defines which Amazon Web Services accounts and Regions to analyze.
-
client_token(Optional[str], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
tags(Optional[Tags], default:None) –The tags to associate with the profile.
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
711 712 713 714 715 716 717 718 719 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 816 817 818 819 820 821 822 | |