list_checks
¶
list_checks(
*,
config_overrides: Optional[TrustedAdvisorClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
pillar: Optional[RecommendationPillar] = None,
aws_service: Optional[RecommendationAwsService] = None,
source: Optional[RecommendationSource] = None,
language: Optional[RecommendationLanguage] = None,
) -> ListChecksResponse
List a filterable set of Checks. This API provides global recommendations, eliminating the need to call the API in each AWS Region.
Parameters:
-
next_token(Optional[str], default:None) –The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
-
max_results(Optional[int], default:None) –The maximum number of results to return per page.
-
pillar(Optional[RecommendationPillar], default:None) –The pillar of the check
-
aws_service(Optional[RecommendationAwsService], default:None) –The aws service associated with the check
-
source(Optional[RecommendationSource], default:None) –The source of the check
-
language(Optional[RecommendationLanguage], default:None) –The ISO 639-1 code for the language that you want your checks to appear in.
Raises:
-
AccessDeniedException–Exception that access has been denied due to insufficient access
-
InternalServerException–Exception to notify that an unexpected internal error occurred during processing of the request
-
ThrottlingException–Exception to notify that requests are being throttled
-
ValidationException–Exception that the request failed to satisfy service constraints
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List all AWS Trusted Advisor Checks
Source code in docs_src/capo_trustedadvisor/_services/trusted_advisor.py
386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 | |