Searches contact evaluations in an Amazon Connect instance, with optional filtering.
Use cases
Following are common uses cases for this API:
Important things to know
Endpoints : See Amazon Connect endpoints and quotas .
See also: AWS API Documentation
search-contact-evaluations
--instance-id <value>
[--next-token <value>]
[--max-results <value>]
[--search-criteria <value>]
[--search-filter <value>]
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
--instance-id (string) [required]
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
- min:
1- max:
100
--next-token (string)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
--max-results (integer)
The maximum number of results to return per page.
Constraints:
- min:
1- max:
100
--search-criteria (structure)
The search criteria to be used to return contact evaluations.
OrConditions -> (list)
A list of conditions which would be applied together with an OR condition.
(structure)
The search criteria to be used to return evaluations.
OrConditions -> (list)
A list of conditions which would be applied together with an OR condition.
( … recursive … )
AndConditions -> (list)
A list of conditions which would be applied together with an AND condition.
( … recursive … )
StringCondition -> (structure)
A leaf node condition which can be used to specify a string condition.
FieldName -> (string)
The name of the field in the string condition.Value -> (string)
The value of the string.ComparisonType -> (string)
The type of comparison to be made when evaluating the string condition.
Possible values:
STARTS_WITHCONTAINSEXACTNumberCondition -> (structure)
A leaf node condition which can be used to specify a numeric condition.
Note
The currently supported value forFieldNameislimit.FieldName -> (string)
The name of the field in the number condition.MinValue -> (integer)
The minValue to be used while evaluating the number condition.MaxValue -> (integer)
The maxValue to be used while evaluating the number condition.ComparisonType -> (string)
The type of comparison to be made when evaluating the number condition.
Possible values:
GREATER_OR_EQUALGREATERLESSER_OR_EQUALLESSEREQUALNOT_EQUALRANGEBooleanCondition -> (structure)
The boolean condition search criteria for searching evaluations.
FieldName -> (string)
A name of the property to be searched.ComparisonType -> (string)
Boolean property comparison type.
Possible values:
IS_TRUEIS_FALSEDateTimeCondition -> (structure)
The datetime condition search criteria for searching evaluations.
FieldName -> (string)
A name of the datetime property to be searchedMinValue -> (string)
A minimum value of the property.
Constraints:
- pattern:
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z?$MaxValue -> (string)
A maximum value of the property.
Constraints:
- pattern:
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z?$ComparisonType -> (string)
Datetime property comparison type.
Possible values:
GREATER_THANLESS_THANGREATER_THAN_OR_EQUAL_TOLESS_THAN_OR_EQUAL_TOEQUAL_TORANGEDecimalCondition -> (structure)
The decimal condition search criteria for searching evaluations.
FieldName -> (string)
A name of the decimal property to be searched.MinValue -> (double)
A minimum value of the decimal property.MaxValue -> (double)
A maximum value of the decimal property.ComparisonType -> (string)
The type of comparison to be made when evaluating the decimal condition.
Possible values:
GREATER_OR_EQUALGREATERLESSER_OR_EQUALLESSEREQUALNOT_EQUALRANGEAndConditions -> (list)
A list of conditions which would be applied together with an AND condition.
(structure)
The search criteria to be used to return evaluations.
OrConditions -> (list)
A list of conditions which would be applied together with an OR condition.
( … recursive … )
AndConditions -> (list)
A list of conditions which would be applied together with an AND condition.
( … recursive … )
StringCondition -> (structure)
A leaf node condition which can be used to specify a string condition.
FieldName -> (string)
The name of the field in the string condition.Value -> (string)
The value of the string.ComparisonType -> (string)
The type of comparison to be made when evaluating the string condition.
Possible values:
STARTS_WITHCONTAINSEXACTNumberCondition -> (structure)
A leaf node condition which can be used to specify a numeric condition.
Note
The currently supported value forFieldNameislimit.FieldName -> (string)
The name of the field in the number condition.MinValue -> (integer)
The minValue to be used while evaluating the number condition.MaxValue -> (integer)
The maxValue to be used while evaluating the number condition.ComparisonType -> (string)
The type of comparison to be made when evaluating the number condition.
Possible values:
GREATER_OR_EQUALGREATERLESSER_OR_EQUALLESSEREQUALNOT_EQUALRANGEBooleanCondition -> (structure)
The boolean condition search criteria for searching evaluations.
FieldName -> (string)
A name of the property to be searched.ComparisonType -> (string)
Boolean property comparison type.
Possible values:
IS_TRUEIS_FALSEDateTimeCondition -> (structure)
The datetime condition search criteria for searching evaluations.
FieldName -> (string)
A name of the datetime property to be searchedMinValue -> (string)
A minimum value of the property.
Constraints:
- pattern:
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z?$MaxValue -> (string)
A maximum value of the property.
Constraints:
- pattern:
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z?$ComparisonType -> (string)
Datetime property comparison type.
Possible values:
GREATER_THANLESS_THANGREATER_THAN_OR_EQUAL_TOLESS_THAN_OR_EQUAL_TOEQUAL_TORANGEDecimalCondition -> (structure)
The decimal condition search criteria for searching evaluations.
FieldName -> (string)
A name of the decimal property to be searched.MinValue -> (double)
A minimum value of the decimal property.MaxValue -> (double)
A maximum value of the decimal property.ComparisonType -> (string)
The type of comparison to be made when evaluating the decimal condition.
Possible values:
GREATER_OR_EQUALGREATERLESSER_OR_EQUALLESSEREQUALNOT_EQUALRANGEStringCondition -> (structure)
A leaf node condition which can be used to specify a string condition.
FieldName -> (string)
The name of the field in the string condition.Value -> (string)
The value of the string.ComparisonType -> (string)
The type of comparison to be made when evaluating the string condition.
Possible values:
STARTS_WITHCONTAINSEXACTNumberCondition -> (structure)
A leaf node condition which can be used to specify a numeric condition.
Note
The currently supported value forFieldNameislimit.FieldName -> (string)
The name of the field in the number condition.MinValue -> (integer)
The minValue to be used while evaluating the number condition.MaxValue -> (integer)
The maxValue to be used while evaluating the number condition.ComparisonType -> (string)
The type of comparison to be made when evaluating the number condition.
Possible values:
GREATER_OR_EQUALGREATERLESSER_OR_EQUALLESSEREQUALNOT_EQUALRANGEBooleanCondition -> (structure)
The boolean condition search criteria for searching evaluations.
FieldName -> (string)
A name of the property to be searched.ComparisonType -> (string)
Boolean property comparison type.
Possible values:
IS_TRUEIS_FALSEDateTimeCondition -> (structure)
The datetime condition search criteria for searching evaluations.
FieldName -> (string)
A name of the datetime property to be searchedMinValue -> (string)
A minimum value of the property.
Constraints:
- pattern:
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z?$MaxValue -> (string)
A maximum value of the property.
Constraints:
- pattern:
^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z?$ComparisonType -> (string)
Datetime property comparison type.
Possible values:
GREATER_THANLESS_THANGREATER_THAN_OR_EQUAL_TOLESS_THAN_OR_EQUAL_TOEQUAL_TORANGEDecimalCondition -> (structure)
The decimal condition search criteria for searching evaluations.
FieldName -> (string)
A name of the decimal property to be searched.MinValue -> (double)
A minimum value of the decimal property.MaxValue -> (double)
A maximum value of the decimal property.ComparisonType -> (string)
The type of comparison to be made when evaluating the decimal condition.
Possible values:
GREATER_OR_EQUALGREATERLESSER_OR_EQUALLESSEREQUALNOT_EQUALRANGE
JSON Syntax:
{
"OrConditions": [
{
"OrConditions": [
{ ... recursive ... }
...
],
"AndConditions": [
{ ... recursive ... }
...
],
"StringCondition": {
"FieldName": "string",
"Value": "string",
"ComparisonType": "STARTS_WITH"|"CONTAINS"|"EXACT"
},
"NumberCondition": {
"FieldName": "string",
"MinValue": integer,
"MaxValue": integer,
"ComparisonType": "GREATER_OR_EQUAL"|"GREATER"|"LESSER_OR_EQUAL"|"LESSER"|"EQUAL"|"NOT_EQUAL"|"RANGE"
},
"BooleanCondition": {
"FieldName": "string",
"ComparisonType": "IS_TRUE"|"IS_FALSE"
},
"DateTimeCondition": {
"FieldName": "string",
"MinValue": "string",
"MaxValue": "string",
"ComparisonType": "GREATER_THAN"|"LESS_THAN"|"GREATER_THAN_OR_EQUAL_TO"|"LESS_THAN_OR_EQUAL_TO"|"EQUAL_TO"|"RANGE"
},
"DecimalCondition": {
"FieldName": "string",
"MinValue": double,
"MaxValue": double,
"ComparisonType": "GREATER_OR_EQUAL"|"GREATER"|"LESSER_OR_EQUAL"|"LESSER"|"EQUAL"|"NOT_EQUAL"|"RANGE"
}
}
...
],
"AndConditions": [
{
"OrConditions": [
{ ... recursive ... }
...
],
"AndConditions": [
{ ... recursive ... }
...
],
"StringCondition": {
"FieldName": "string",
"Value": "string",
"ComparisonType": "STARTS_WITH"|"CONTAINS"|"EXACT"
},
"NumberCondition": {
"FieldName": "string",
"MinValue": integer,
"MaxValue": integer,
"ComparisonType": "GREATER_OR_EQUAL"|"GREATER"|"LESSER_OR_EQUAL"|"LESSER"|"EQUAL"|"NOT_EQUAL"|"RANGE"
},
"BooleanCondition": {
"FieldName": "string",
"ComparisonType": "IS_TRUE"|"IS_FALSE"
},
"DateTimeCondition": {
"FieldName": "string",
"MinValue": "string",
"MaxValue": "string",
"ComparisonType": "GREATER_THAN"|"LESS_THAN"|"GREATER_THAN_OR_EQUAL_TO"|"LESS_THAN_OR_EQUAL_TO"|"EQUAL_TO"|"RANGE"
},
"DecimalCondition": {
"FieldName": "string",
"MinValue": double,
"MaxValue": double,
"ComparisonType": "GREATER_OR_EQUAL"|"GREATER"|"LESSER_OR_EQUAL"|"LESSER"|"EQUAL"|"NOT_EQUAL"|"RANGE"
}
}
...
],
"StringCondition": {
"FieldName": "string",
"Value": "string",
"ComparisonType": "STARTS_WITH"|"CONTAINS"|"EXACT"
},
"NumberCondition": {
"FieldName": "string",
"MinValue": integer,
"MaxValue": integer,
"ComparisonType": "GREATER_OR_EQUAL"|"GREATER"|"LESSER_OR_EQUAL"|"LESSER"|"EQUAL"|"NOT_EQUAL"|"RANGE"
},
"BooleanCondition": {
"FieldName": "string",
"ComparisonType": "IS_TRUE"|"IS_FALSE"
},
"DateTimeCondition": {
"FieldName": "string",
"MinValue": "string",
"MaxValue": "string",
"ComparisonType": "GREATER_THAN"|"LESS_THAN"|"GREATER_THAN_OR_EQUAL_TO"|"LESS_THAN_OR_EQUAL_TO"|"EQUAL_TO"|"RANGE"
},
"DecimalCondition": {
"FieldName": "string",
"MinValue": double,
"MaxValue": double,
"ComparisonType": "GREATER_OR_EQUAL"|"GREATER"|"LESSER_OR_EQUAL"|"LESSER"|"EQUAL"|"NOT_EQUAL"|"RANGE"
}
}
--search-filter (structure)
Filters to be applied to search results.
AttributeFilter -> (structure)
An object that can be used to specify Tag conditions inside the
SearchFilter. This accepts anORorAND(List of List) input where:
- The top level list specifies conditions that need to be applied with
ORoperator.- The inner list specifies conditions that need to be applied with
ANDoperator.OrConditions -> (list)
A list of conditions which would be applied together with an
ORcondition.(structure)
A list of conditions which would be applied together with an
ANDcondition.TagConditions -> (list)
A leaf node condition which can be used to specify a tag condition.
(structure)
A leaf node condition which can be used to specify a tag condition, for example,
HAVE BPO = 123.TagKey -> (string)
The tag key in the tag condition.TagValue -> (string)
The tag value in the tag condition.AndCondition -> (structure)
A list of conditions which would be applied together with an
ANDcondition.TagConditions -> (list)
A leaf node condition which can be used to specify a tag condition.
(structure)
A leaf node condition which can be used to specify a tag condition, for example,
HAVE BPO = 123.TagKey -> (string)
The tag key in the tag condition.TagValue -> (string)
The tag value in the tag condition.TagCondition -> (structure)
A leaf node condition which can be used to specify a tag condition, for example,
HAVE BPO = 123.TagKey -> (string)
The tag key in the tag condition.TagValue -> (string)
The tag value in the tag condition.
JSON Syntax:
{
"AttributeFilter": {
"OrConditions": [
{
"TagConditions": [
{
"TagKey": "string",
"TagValue": "string"
}
...
]
}
...
],
"AndCondition": {
"TagConditions": [
{
"TagKey": "string",
"TagValue": "string"
}
...
]
},
"TagCondition": {
"TagKey": "string",
"TagValue": "string"
}
}
}
--cli-input-json | --cli-input-yaml (string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
EvaluationSearchSummaryList -> (list)
Contains information about contact evaluations.
(structure)
Summary of evaluation obtained from the search operation.
EvaluationId -> (string) [required]
A unique identifier for the contact evaluation.
Constraints:
- min:
1- max:
500EvaluationArn -> (string) [required]
The Amazon Resource Name (ARN) for the contact evaluation resource.EvaluationFormId -> (string)
The unique identifier for the evaluation form.
Constraints:
- min:
1- max:
500EvaluationFormVersion -> (integer) [required]
A version of the evaluation form.
Constraints:
- min:
1Metadata -> (structure) [required]
Summary information about the evaluation search.
ContactId -> (string) [required]
The identifier of the contact in this instance of Amazon Connect.
Constraints:
- min:
1- max:
256EvaluatorArn -> (string) [required]
The Amazon Resource Name (ARN) of the person who evaluated the contact.ContactAgentId -> (string)
The unique ID of the agent who handled the contact.
Constraints:
- min:
1- max:
500CalibrationSessionId -> (string)
The calibration session ID that this evaluation belongs to.
Constraints:
- min:
1- max:
500ScorePercentage -> (double)
The total evaluation score expressed as a percentage.
Constraints:
- min:
0- max:
100ScoreAutomaticFail -> (boolean)
The flag that marks the item as automatic fail. If the item or a child item gets an automatic fail answer, this flag is true.ScoreNotApplicable -> (boolean)
The flag to mark the item as not applicable for scoring.AutoEvaluationEnabled -> (boolean)
Whether auto-evaluation is enabled.AutoEvaluationStatus -> (string)
The status of the contact auto evaluation.
Possible values:
IN_PROGRESSFAILEDSUCCEEDEDAcknowledgedTime -> (timestamp)
When the evaluation was acknowledged by the agent.AcknowledgedBy -> (string)
The agent who acknowledged the evaluation.AcknowledgerComment -> (string)
The comment from the agent when they acknowledged the evaluation.
Constraints:
- min:
0- max:
3072Status -> (string) [required]
The status of the evaluation.
Possible values:
DRAFTSUBMITTEDEvaluationType -> (string)
Type of the evaluation.
Possible values:
STANDARDCALIBRATIONCreatedTime -> (timestamp) [required]
The date and time when the evaluation was created, in UTC time.LastModifiedTime -> (timestamp) [required]
The date and time when the evaluation was modified last time, in UTC time.Tags -> (map)
The tags used to organize, track, or control access for this resource. For example, { “Tags”: {“key1”:”value1”, “key2”:”value2”} }.
Constraints:
- min:
1- max:
50key -> (string)
Constraints:
- min:
1- max:
128- pattern:
^(?!aws:)[\p{L}\p{Z}\p{N}_.:/=+\-@]*$value -> (string)
Constraints:
- max:
256
NextToken -> (string)
If there are additional results, this is the token for the next set of results.
ApproximateTotalCount -> (long)
The total number of contact evaluations that matched your search query.