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
4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 | |