Connect / Client / update_contact_evaluation
update_contact_evaluation#
- Connect.Client.update_contact_evaluation(**kwargs)#
Updates details about a contact evaluation in the specified Amazon Connect instance. A contact evaluation must be in draft state. Answers included in the request are merged with existing answers for the given evaluation. An answer or note can be deleted by passing an empty object (
{}
) to the question identifier.See also: AWS API Documentation
Request Syntax
response = client.update_contact_evaluation( InstanceId='string', EvaluationId='string', Answers={ 'string': { 'Value': { 'StringValue': 'string', 'NumericValue': 123.0, 'NotApplicable': True|False } } }, Notes={ 'string': { 'Value': 'string' } } )
- Parameters:
InstanceId (string) –
[REQUIRED]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
EvaluationId (string) –
[REQUIRED]
A unique identifier for the contact evaluation.
Answers (dict) –
A map of question identifiers to answer value.
(string) –
(dict) –
Information about input answers for a contact evaluation.
Value (dict) –
The value for an answer in a contact evaluation.
Note
This is a Tagged Union structure. Only one of the following top level keys can be set:
StringValue
,NumericValue
,NotApplicable
.StringValue (string) –
The string value for an answer in a contact evaluation.
NumericValue (float) –
The numeric value for an answer in a contact evaluation.
NotApplicable (boolean) –
The flag to mark the question as not applicable.
Notes (dict) –
A map of question identifiers to note value.
(string) –
(dict) –
Information about notes for a contact evaluation.
Value (string) –
The note for an item (section or question) in a contact evaluation.
- Return type:
dict
- Returns:
Response Syntax
{ 'EvaluationId': 'string', 'EvaluationArn': 'string' }
Response Structure
(dict) –
EvaluationId (string) –
A unique identifier for the contact evaluation.
EvaluationArn (string) –
The Amazon Resource Name (ARN) for the contact evaluation resource.
Exceptions
Connect.Client.exceptions.InvalidParameterException
Connect.Client.exceptions.ResourceNotFoundException
Connect.Client.exceptions.ThrottlingException
Connect.Client.exceptions.InternalServiceException
Connect.Client.exceptions.ResourceConflictException