create_evaluation_form
¶
create_evaluation_form(
instance_id: InstanceId,
title: EvaluationFormTitle,
items: EvaluationFormItemsList,
*,
config_overrides: Optional[ConnectClientConfig] = None,
description: Optional[EvaluationFormDescription] = None,
scoring_strategy: Optional[EvaluationFormScoringStrategy] = None,
auto_evaluation_configuration: Optional[
EvaluationFormAutoEvaluationConfiguration
] = None,
client_token: Optional[ClientToken] = None,
as_draft: Optional[BoxedBoolean] = None,
tags: Optional[TagMap] = None,
review_configuration: Optional[EvaluationReviewConfiguration] = None,
target_configuration: Optional[EvaluationFormTargetConfiguration] = None,
language_configuration: Optional[EvaluationFormLanguageConfiguration] = None,
ai_version: Optional[EvaluationFormAIVersion] = None,
) -> CreateEvaluationFormResponse
Creates an evaluation form in the specified Connect Customer instance. The form can be used to define questions related to agent performance, and create sections to organize such questions. Question and section identifiers cannot be duplicated within the same evaluation form.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
title(EvaluationFormTitle) –A title of the evaluation form.
-
description(Optional[EvaluationFormDescription], default:None) –The description of the evaluation form.
-
items(EvaluationFormItemsList) –Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
-
scoring_strategy(Optional[EvaluationFormScoringStrategy], default:None) –A scoring strategy of the evaluation form.
-
auto_evaluation_configuration(Optional[EvaluationFormAutoEvaluationConfiguration], default:None) –Configuration information about automated evaluations.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
-
as_draft(Optional[BoxedBoolean], default:None) –A boolean flag indicating whether to create evaluation form in draft state.
-
tags(Optional[TagMap], default:None) –The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
-
review_configuration(Optional[EvaluationReviewConfiguration], default:None) –Configuration information about evaluation reviews.
-
target_configuration(Optional[EvaluationFormTargetConfiguration], default:None) –Configuration that specifies the target for the evaluation form.
-
language_configuration(Optional[EvaluationFormLanguageConfiguration], default:None) –Configuration for language settings of the evaluation form.
-
ai_version(Optional[EvaluationFormAIVersion], default:None) –The AI version to use for the evaluation form. This specifies which AI model version is used for automated evaluations.
Raises:
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
ResourceConflictException–A resource already has that name.
-
ResourceNotFoundException–The specified resource was not found.
-
ServiceQuotaExceededException–The service quota has been exceeded.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_connect/_services/connect.py
4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 | |