create_evaluation_form
async
¶
create_evaluation_form(
instance_id: InstanceId,
title: EvaluationFormTitle,
items: EvaluationFormItemsList,
*,
config_overrides: Optional[AsyncConnectClientConfig] = 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/async_connect.py
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 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 | |