Skip to content

Describe Contact Evaluation

connect_describe_contact_evaluation R Documentation

Describes a contact evaluation in the specified Connect Customer instance

Description

Describes a contact evaluation in the specified Connect Customer instance.

Usage

connect_describe_contact_evaluation(InstanceId, EvaluationId)

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.

Value

A list with the following syntax:

list(
  Evaluation = list(
    EvaluationId = "string",
    EvaluationArn = "string",
    Metadata = list(
      ContactId = "string",
      EvaluatorArn = "string",
      ContactAgentId = "string",
      CalibrationSessionId = "string",
      Score = list(
        Percentage = 123.0,
        NotApplicable = TRUE|FALSE,
        AutomaticFail = TRUE|FALSE,
        AppliedWeight = 123.0
      ),
      AutoEvaluation = list(
        AutoEvaluationEnabled = TRUE|FALSE,
        AutoEvaluationStatus = "IN_PROGRESS"|"FAILED"|"SUCCEEDED"
      ),
      Acknowledgement = list(
        AcknowledgedTime = as.POSIXct(
          "2015-01-01"
        ),
        AcknowledgedBy = "string",
        AcknowledgerComment = "string"
      ),
      Review = list(
        ReviewId = "string",
        RequestedTime = as.POSIXct(
          "2015-01-01"
        ),
        RequestedBy = "string",
        CreatedTime = as.POSIXct(
          "2015-01-01"
        ),
        CreatedBy = "string",
        ReviewRequestComments = list(
          list(
            Comment = "string",
            CreatedTime = as.POSIXct(
              "2015-01-01"
            ),
            CreatedBy = "string"
          )
        )
      ),
      ContactParticipant = list(
        ContactParticipantRole = "AGENT"|"SYSTEM"|"CUSTOM_BOT"|"CUSTOMER",
        ContactParticipantId = "string"
      ),
      SamplingJobId = "string"
    ),
    Answers = list(
      list(
        Value = list(
          StringValue = "string",
          NumericValue = 123.0,
          StringValues = list(
            "string"
          ),
          DateTimeValue = "string",
          NotApplicable = TRUE|FALSE
        ),
        SystemSuggestedValue = list(
          StringValue = "string",
          NumericValue = 123.0,
          StringValues = list(
            "string"
          ),
          DateTimeValue = "string",
          NotApplicable = TRUE|FALSE
        ),
        SuggestedAnswers = list(
          list(
            Value = list(
              StringValue = "string",
              NumericValue = 123.0,
              StringValues = list(
                "string"
              ),
              DateTimeValue = "string",
              NotApplicable = TRUE|FALSE
            ),
            Status = "IN_PROGRESS"|"FAILED"|"SUCCEEDED",
            Input = list(
              TranscriptType = "RAW"|"REDACTED"
            ),
            AnalysisType = "CONTACT_LENS_DATA"|"GEN_AI",
            AnalysisDetails = list(
              GenAI = list(
                Justification = "string",
                PointsOfInterest = list(
                  list(
                    MillisecondOffsets = list(
                      BeginOffsetMillis = 123
                    ),
                    TranscriptSegment = "string"
                  )
                )
              ),
              ContactLens = list(
                MatchedRuleCategories = list(
                  list(
                    Category = "string",
                    Condition = "PRESENT"|"NOT_PRESENT",
                    PointsOfInterest = list(
                      list(
                        MillisecondOffsets = list(
                          BeginOffsetMillis = 123
                        ),
                        TranscriptSegment = "string"
                      )
                    )
                  )
                )
              )
            )
          )
        )
      )
    ),
    Notes = list(
      list(
        Value = "string"
      )
    ),
    Status = "DRAFT"|"SUBMITTED"|"REVIEW_REQUESTED"|"UNDER_REVIEW",
    Scores = list(
      list(
        Percentage = 123.0,
        NotApplicable = TRUE|FALSE,
        AutomaticFail = TRUE|FALSE,
        AppliedWeight = 123.0
      )
    ),
    CreatedTime = as.POSIXct(
      "2015-01-01"
    ),
    LastModifiedTime = as.POSIXct(
      "2015-01-01"
    ),
    EvaluationType = "STANDARD"|"CALIBRATION",
    Tags = list(
      "string"
    )
  ),
  EvaluationForm = list(
    EvaluationFormVersion = 123,
    EvaluationFormId = "string",
    EvaluationFormArn = "string",
    Title = "string",
    Description = "string",
    Items = list(
      list(
        Section = list(
          Title = "string",
          RefId = "string",
          Instructions = "string",
          Items = list(),
          Weight = 123.0
        ),
        Question = list(
          Title = "string",
          Instructions = "string",
          RefId = "string",
          NotApplicableEnabled = TRUE|FALSE,
          QuestionType = "TEXT"|"SINGLESELECT"|"NUMERIC"|"MULTISELECT"|"DATETIME",
          QuestionTypeProperties = list(
            Numeric = list(
              MinValue = 123,
              MaxValue = 123,
              Options = list(
                list(
                  MinValue = 123,
                  MaxValue = 123,
                  Score = 123,
                  AutomaticFail = TRUE|FALSE,
                  AutomaticFailConfiguration = list(
                    TargetSection = "string"
                  )
                )
              ),
              Automation = list(
                PropertyValue = list(
                  Label = "OVERALL_CUSTOMER_SENTIMENT_SCORE"|"OVERALL_AGENT_SENTIMENT_SCORE"|"CUSTOMER_SENTIMENT_SCORE_WITHOUT_AGENT"|"CUSTOMER_SENTIMENT_SCORE_WITH_AGENT"|"NON_TALK_TIME"|"NON_TALK_TIME_PERCENTAGE"|"NUMBER_OF_INTERRUPTIONS"|"CONTACT_DURATION"|"AGENT_INTERACTION_DURATION"|"CUSTOMER_HOLD_TIME"|"LONGEST_HOLD_DURATION"|"NUMBER_OF_HOLDS"|"AGENT_INTERACTION_AND_HOLD_DURATION"
                ),
                AnswerSource = list(
                  SourceType = "CONTACT_LENS_DATA"|"GEN_AI"
                )
              )
            ),
            SingleSelect = list(
              Options = list(
                list(
                  RefId = "string",
                  Text = "string",
                  Score = 123,
                  AutomaticFail = TRUE|FALSE,
                  AutomaticFailConfiguration = list(
                    TargetSection = "string"
                  )
                )
              ),
              DisplayAs = "DROPDOWN"|"RADIO",
              Automation = list(
                Options = list(
                  list(
                    RuleCategory = list(
                      Category = "string",
                      Condition = "PRESENT"|"NOT_PRESENT",
                      OptionRefId = "string"
                    )
                  )
                ),
                DefaultOptionRefId = "string",
                AnswerSource = list(
                  SourceType = "CONTACT_LENS_DATA"|"GEN_AI"
                )
              )
            ),
            Text = list(
              Automation = list(
                AnswerSource = list(
                  SourceType = "CONTACT_LENS_DATA"|"GEN_AI"
                )
              )
            ),
            MultiSelect = list(
              Options = list(
                list(
                  RefId = "string",
                  Text = "string"
                )
              ),
              DisplayAs = "DROPDOWN"|"CHECKBOX",
              Automation = list(
                Options = list(
                  list(
                    RuleCategory = list(
                      Category = "string",
                      Condition = "PRESENT"|"NOT_PRESENT",
                      OptionRefIds = list(
                        "string"
                      )
                    )
                  )
                ),
                DefaultOptionRefIds = list(
                  "string"
                ),
                AnswerSource = list(
                  SourceType = "CONTACT_LENS_DATA"|"GEN_AI"
                )
              )
            )
          ),
          Enablement = list(
            Condition = list(
              Operands = list(
                list(
                  Expression = list(
                    Source = list(
                      Type = "QUESTION_REF_ID",
                      RefId = "string"
                    ),
                    Values = list(
                      list(
                        Type = "OPTION_REF_ID",
                        RefId = "string"
                      )
                    ),
                    Comparator = "IN"|"NOT_IN"|"ALL_IN"|"EXACT"
                  ),
                  Condition = list()
                )
              ),
              Operator = "OR"|"AND"
            ),
            Action = "DISABLE"|"ENABLE",
            DefaultAction = "DISABLE"|"ENABLE"
          ),
          Weight = 123.0
        )
      )
    ),
    ScoringStrategy = list(
      Mode = "QUESTION_ONLY"|"SECTION_ONLY",
      Status = "ENABLED"|"DISABLED"
    ),
    AutoEvaluationConfiguration = list(
      Enabled = TRUE|FALSE
    ),
    TargetConfiguration = list(
      ContactInteractionType = "AGENT"|"AUTOMATED"|"CUSTOMER"
    ),
    LanguageConfiguration = list(
      FormLanguage = "de-DE"|"en-US"|"es-ES"|"fr-FR"|"it-IT"|"pt-BR"|"ja-JP"|"ko-KR"|"zh-CN"
    ),
    ReviewConfiguration = list(
      ReviewNotificationRecipients = list(
        list(
          Type = "USER_ID",
          Value = list(
            UserId = "string"
          )
        )
      ),
      EligibilityDays = 123
    )
  )
)

Request syntax

svc$describe_contact_evaluation(
  InstanceId = "string",
  EvaluationId = "string"
)