Skip to content

Update Contact Evaluation

connect_update_contact_evaluation R Documentation

Updates details about a contact evaluation in the specified Connect Customer instance

Description

Updates details about a contact evaluation in the specified Connect Customer 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.

Usage

connect_update_contact_evaluation(InstanceId, EvaluationId, Answers,
  Notes, UpdatedBy)

Arguments

InstanceId

[required] The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

EvaluationId

[required] A unique identifier for the contact evaluation.

Answers

A map of question identifiers to answer value.

Notes

A map of question identifiers to note value.

UpdatedBy

The ID of the user who updated the contact evaluation.

Value

A list with the following syntax:

list(
  EvaluationId = "string",
  EvaluationArn = "string"
)

Request syntax

svc$update_contact_evaluation(
  InstanceId = "string",
  EvaluationId = "string",
  Answers = list(
    list(
      Value = list(
        StringValue = "string",
        NumericValue = 123.0,
        StringValues = list(
          "string"
        ),
        DateTimeValue = "string",
        NotApplicable = TRUE|FALSE
      )
    )
  ),
  Notes = list(
    list(
      Value = "string"
    )
  ),
  UpdatedBy = list(
    ConnectUserArn = "string"
  )
)