list_agent_profiles
async
¶
list_agent_profiles(
*,
config_overrides: Optional[AsyncWellArchitectedClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListAgentProfilesResponse
Lists optimization profiles in your account. Profiles define the scope and configuration for generating optimization recommendations.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of profiles to return in a single call. Default is 100.
-
next_token(Optional[NextToken], default:None) –A pagination token returned from a previous call to continue retrieving results.
Raises:
-
AccessDeniedException–User does not have sufficient access to perform this action.
-
InternalServerException–There is a problem with the Well-Architected Tool API service.
-
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
3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 | |