list_assessments
¶
list_assessments(
cluster_arn: __string,
*,
config_overrides: Optional[KafkaClientConfig] = None,
assessment_type: Optional[__string] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[__string] = None,
) -> ListAssessmentsResponse
Returns a list of assessments for the specified cluster. Optionally filterable by assessment type.
Parameters:
-
assessment_type(Optional[__string], default:None) –Optional filter. The type of assessment to filter by.
-
cluster_arn(__string) –The Amazon Resource Name (ARN) of the cluster to list assessments for.
-
max_results(Optional[MaxResults], default:None) –Maximum number of assessments to return. Default 25, maximum 100.
-
next_token(Optional[__string], default:None) –If the response is truncated, it returns a nextToken. Send this in the subsequent request to get the remaining results.
Raises:
-
BadRequestException–Returns information about an error.
-
ForbiddenException–Returns information about an error.
-
InternalServerErrorException–Returns information about an error.
-
NotFoundException–Returns information about an error.
-
ServiceUnavailableException–Returns information about an error.
-
TooManyRequestsException–Returns information about an error.
-
UnauthorizedException–Returns information about an error.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_kafka/_services/kafka.py
2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 | |