create_agent_goal
async
¶
create_agent_goal(
profile_arn: AgentProfileArn,
pillars: Pillars,
title: SensitiveString,
*,
config_overrides: Optional[AsyncWellArchitectedClientConfig] = 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 Well-Architected Tool 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/async_well_architected.py
617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 | |