create_assessment
¶
create_assessment(
cluster_arn: __string,
*,
config_overrides: Optional[KafkaClientConfig] = None,
assessment_parameters: Optional[AssessmentParameters] = None,
assessment_type: Optional[AssessmentType] = None,
tags: Optional[__mapOf__string] = None,
) -> CreateAssessmentResponse
Creates a new assessment for the specified cluster. Kicks off an asynchronous scan.
Parameters:
-
assessment_parameters(Optional[AssessmentParameters], default:None) –Optional type-specific parameters for the assessment.
-
assessment_type(Optional[AssessmentType], default:None) –The type of assessment to perform.
-
cluster_arn(__string) –The Amazon Resource Name (ARN) of the cluster to assess.
-
tags(Optional[__mapOf__string], default:None) –The tags to attach to the assessment.
Raises:
-
BadRequestException–Returns information about an error.
-
ConflictException–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.