[ aws . cloudwatchomni ]

put-experiment-run-results

Description

Reports a batch of scored cases for a run.

Applies to runs reported from the caller’s code (REPORTED runs). Each call reports up to 25 cases. The first call with a new runId creates the run and must include the run block. Repeat the call to report more cases, then call CompleteExperimentRun to end the run. Fails with a ConflictException (RUN_TERMINAL) for a run that has ended, and (RUN_ID_DELETED) for the runId of a deleted run.

The batch is atomic: an invalid item fails the whole request with a ValidationException that names the item and field (for example, results[3].caseId), and nothing is written. A request is at most 1 MB, and each results item at most 256 KB as canonical JSON. A larger item fails with a ValidationException, and a larger request is rejected before it reaches the API.

See also: AWS API Documentation

Synopsis

  put-experiment-run-results
--experiment-id <value>
--run-id <value>
[--client-token <value>]
[--run <value>]
--results <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]
[--cli-error-format <value>]
[--help]

Options

--experiment-id (string) [required]

The ID of the experiment the run belongs to.

Constraints:

  • min: 30
  • max: 30
  • pattern: exp-[0-9A-Z]{26}

--run-id (string) [required]

The ID of the run, chosen by the caller. A runId that is new to the experiment creates a run. A call that fails validation does not create the run.

Constraints:

  • min: 1
  • max: 128
  • pattern: [a-zA-Z0-9_.-]+

--client-token (string)

Idempotency token for safe retries. Repeated requests with the same token and identical input return the recorded response. A call that fails validation frees the token, so the corrected batch can be resent with the same token.

Constraints:

  • min: 1
  • max: 64
  • pattern: [!-~]+

--run (structure)

The details of the run. Required on the call that creates the run; optional afterwards, and must match the run when present.

producer -> (structure) [required]

The tool or system that runs the cases and reports their results.

kind -> (string) [required]

The kind of producer.

Possible values:

  • SDK
  • CUSTOM

name -> (string) [required]

The name of the producer, from 1 to 128 characters.

Constraints:

  • min: 1
  • max: 128
  • pattern: [^\p{C}]+

version -> (string)

The version of the producer, from 1 to 64 characters.

Constraints:

  • min: 1
  • max: 64
  • pattern: [^\p{C}]+

externalId -> (string)

The ID of the job in the producing system, such as a CI run ID.

Constraints:

  • min: 1
  • max: 256
  • pattern: [^\p{C}]+

rule -> (structure)

The rule to check the run against. Optional; with a rule, the run gets a verdict when it completes.

source -> (string) [required]

The origin of the rule. Informational only; it does not change how the rule is applied.

Possible values:

  • FILE
  • INLINE

name -> (string)

The name of the rule, from 1 to 256 characters.

Constraints:

  • min: 1
  • max: 256
  • pattern: [^\p{C}]+

caseCriteria -> (list)

The conditions each case must meet to pass, up to 20. May be empty when the rule gates only on run-level metrics.

Constraints:

  • min: 0
  • max: 20

(tagged union structure)

A condition a case must meet to pass.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: evaluator.

evaluator -> (structure)

A condition on the case’s result for one of the run’s evaluators.

evaluatorId -> (string) [required]

The ID of the evaluator to check. Must be one of the run’s evaluators.

Constraints:

  • min: 1
  • max: 256
  • pattern: [A-Za-z0-9._:/-]+

threshold -> (tagged union structure) [required]

The minimum score, the maximum score or the passing labels for the evaluator.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: minScore, maxScore, passLabels.

minScore -> (double)

The minimum passing score, for a numeric evaluator. A finite number from -1e9 to 1e9.

maxScore -> (double)

The maximum passing score, for a numeric evaluator whose scoreDirection is LOWER_IS_BETTER. A finite number from -1e9 to 1e9.

passLabels -> (list)

The labels that pass, for a categorical evaluator. From 1 to 16 labels, each up to 256 characters.

Constraints:

  • min: 1
  • max: 16

(string)

An evaluator’s categorical label, derived from model output over customer prompts.

Constraints:

  • min: 1
  • max: 256
  • pattern: [^\p{C}]+

gates -> (list) [required]

The run-level checks the run must meet to pass, from 1 to 20.

Constraints:

  • min: 1
  • max: 20

(structure)

A run-level check, made of a metric and the bound it must meet.

metric -> (tagged union structure) [required]

The metric the gate measures over the run’s cases.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: passRate, notScoredRate, evaluatorAverage, regressedCases, fixedCases, regressedScores, unpairedCaseRate.

passRate -> (structure)

The share of cases that pass. Higher is better.

notScoredRate -> (structure)

The share of cases with no score. Lower is better. When no min or max gate names this metric, a max of 0.05 applies; a vsControl gate on it does not replace that default.

evaluatorAverage -> (structure)

The average score of a numeric evaluator. Higher is better, so the gate takes min, unless the evaluator’s scoreDirection is LOWER_IS_BETTER, when it takes max.

evaluatorId -> (string) [required]

The ID of the evaluator. Must be one of the run’s evaluators.

Constraints:

  • min: 1
  • max: 256
  • pattern: [A-Za-z0-9._:/-]+

regressedCases -> (structure)

The cases that pass on the control and fail on the target, of the cases both runs have, each judged on both sides by the rule’s criteria on the evaluators both runs have. Lower is better. Requires a control (RULE_CONTROL_REQUIRED).

fixedCases -> (structure)

The cases that fail on the control and pass on the target, of the cases both runs have, each judged on both sides by the rule’s criteria on the evaluators both runs have. Higher is better. Requires a control (RULE_CONTROL_REQUIRED).

regressedScores -> (structure)

Fails the run when, for any case that both runs scored, on any evaluator that both runs have, the target scored worse than the control: lower, or higher for an evaluator whose scoreDirection is LOWER_IS_BETTER on the target run. Requires a control (RULE_CONTROL_REQUIRED). Takes no bound.

unpairedCaseRate -> (structure)

The share of cases that are not judged on both the target and the control. Lower is better. Requires a control (RULE_CONTROL_REQUIRED). Checked only when the rule has a gate on it: comparing with a control adds no gate.

bound -> (tagged union structure)

The bound the metric must meet for the gate to hold. Required for every metric except regressedScores, which takes no bound (RULE_BOUND_INVALID if it has one, FIELD_REQUIRED if another metric has none).

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: min, max, vsControl.

min -> (double)

The minimum value of the metric. A finite number from 0 to 1 for a rate, or from -1e9 to 1e9 for an evaluator average.

max -> (double)

The maximum value of the metric. A finite number from 0 to 1.

vsControl -> (structure)

A bound relative to the control’s value of the same metric, both over the cases both runs have: passRate and notScoredRate judged by the rule’s criteria on the evaluators both runs have, evaluatorAverage over the cases both runs scored on it. A check with nothing to compare (an evaluator the control doesn’t have, or no such cases) is skipped and left out of the checks. Not valid on regressedCases, fixedCases, regressedScores or unpairedCaseRate, which already compare with the control (RULE_BOUND_INVALID). Requires a control (RULE_CONTROL_REQUIRED).

minDelta -> (double) [required]

The least acceptable change, where positive is always better. For example, -0.02 allows at most 0.02 worse, 0 requires no worse, and 0.01 requires at least 0.01 better.

mode -> (string) [required]

Whether minDelta is an absolute change or a change relative to the control’s value.

Possible values:

  • ABSOLUTE
  • RATIO

contentHash -> (string)

A SHA-256 hash of the rule’s caseCriteria and gates, in the form sha256:<64 hex digits>. Output only; ignored on input. Member order and explicit default values do not affect the hash; list order does.

Constraints:

  • pattern: sha256:[0-9a-f]{64}

control -> (tagged union structure)

An earlier run to compare this run with. Only runId or latestPassed is supported (CONTROL_TARGET_UNSUPPORTED for target). Required by rules that use vsControl bounds or paired metrics.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: target, runId, latestPassed.

target -> (tagged union structure)

A version of the experiment’s target to run alongside the run as a live control. Hosted runs only. Must be the same kind as the experiment’s target (TARGET_MISMATCH); not supported on reported runs (CONTROL_TARGET_UNSUPPORTED).

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: agentCoreRuntime, httpsEndpoint, custom.

agentCoreRuntime -> (structure)

An endpoint of the experiment’s AgentCore Runtime.

endpointArn -> (string) [required]

The ARN of the runtime endpoint. Must belong to the experiment’s runtimeArn.

Constraints:

  • min: 1
  • max: 2048

requestTemplate -> (string)

The request sent to the agent for each turn, in the AgentCore datasetExecutionConfig format: a JSON object containing exactly one {{turn.input}} as a complete string value. The AgentCore default is {“prompt”:”{{turn.input}}”}. An invalid template fails with a ValidationException.

Constraints:

  • min: 0
  • max: 10240

version -> (string)

The runtime version the endpoint pointed to. For hosted runs, output only and resolved when the run starts. Optional for reported runs.

Constraints:

  • min: 1
  • max: 128
  • pattern: [^\p{C}]+

httpsEndpoint -> (structure)

A URL of the experiment’s HTTPS service.

url -> (string)

The URL of the service that the run tests. Userinfo and the query string are removed when it is stored.

Constraints:

  • min: 1
  • max: 2048

version -> (string)

The build or release deployed at url.

Constraints:

  • min: 1
  • max: 128
  • pattern: [^\p{C}]+

custom -> (structure)

A label for what was tried, for a custom target.

version -> (string)

A label for the version that was tried, for example “sonnet-5.5 + prompt-v3”.

Constraints:

  • min: 1
  • max: 128
  • pattern: [^\p{C}]+

endpoint -> (string)

A free-form description of where or how the custom target was invoked, for example a URL or a prompt name.

Constraints:

  • min: 1
  • max: 2048
  • pattern: [^\p{C}]+

runId -> (string)

The ID of an earlier run of this experiment. The run must be COMPLETED, must not be a CONTROL run, and must match this run: the same dataset at the same dataset version (a run with no version matches only a run with no version), and the same set of evaluator IDs, in any order. Fails with CONTROL_RUN_INVALID otherwise, naming what differs: the dataset version expected and found, or the evaluators the control is missing or has in extra.

Constraints:

  • min: 1
  • max: 128
  • pattern: [a-zA-Z0-9_.-]+

latestPassed -> (structure)

Uses the newest earlier run of this experiment with verdict PASSED that matches this run: the same dataset at the same dataset version (a run with no version matches only a run with no version), and the same set of evaluator IDs, in any order. Resolved when the run starts, with the endpointArn filter when given. Fails with CONTROL_RUN_NOT_FOUND if there is none.

endpointArn -> (string)

The ARN of an endpoint of the experiment’s AgentCore runtime. Selects only runs whose target is this endpoint (TARGET_MISMATCH otherwise).

Constraints:

  • min: 1
  • max: 2048

evaluators -> (list)

The evaluators the run is scored with, from 1 to 20. Required on the creating call. The rule and every reported case can name only these evaluators. Later calls must repeat it exactly or omit the run block (RUN_DEFINITION_MISMATCH).

Constraints:

  • min: 1
  • max: 20

(structure)

An evaluator that a run is scored with.

evaluatorId -> (string) [required]

The ID of the evaluator, unique among the run’s evaluators. The run’s rule and case results refer to the evaluator by this ID.

Constraints:

  • min: 1
  • max: 256
  • pattern: [A-Za-z0-9._:/-]+

ratingScale -> (string)

The kind of result the evaluator produces. Must be NUMERIC when the run’s rule has an evaluatorAverage gate on this evaluator. When set, a case criterion’s threshold must match it: minScore or maxScore for NUMERIC, passLabels for CATEGORICAL.

Possible values:

  • NUMERIC
  • CATEGORICAL

scoreDirection -> (string)

Whether a higher or a lower score is better for the evaluator. The default is HIGHER_IS_BETTER. A case criterion and an evaluatorAverage gate on this evaluator must follow it: minScore and min for HIGHER_IS_BETTER, maxScore and max for LOWER_IS_BETTER. When the run is compared with a control, a score that moves the other way counts as a regression. Not valid when ratingScale is CATEGORICAL.

Possible values:

  • HIGHER_IS_BETTER
  • LOWER_IS_BETTER

target -> (tagged union structure)

The version of the experiment’s target that the run tested. Must be the same kind as the experiment’s target.

Note

This is a Tagged Union structure. Only one of the following top level keys can be set: agentCoreRuntime, httpsEndpoint, custom.

agentCoreRuntime -> (structure)

An endpoint of the experiment’s AgentCore Runtime.

endpointArn -> (string) [required]

The ARN of the runtime endpoint. Must belong to the experiment’s runtimeArn.

Constraints:

  • min: 1
  • max: 2048

requestTemplate -> (string)

The request sent to the agent for each turn, in the AgentCore datasetExecutionConfig format: a JSON object containing exactly one {{turn.input}} as a complete string value. The AgentCore default is {“prompt”:”{{turn.input}}”}. An invalid template fails with a ValidationException.

Constraints:

  • min: 0
  • max: 10240

version -> (string)

The runtime version the endpoint pointed to. For hosted runs, output only and resolved when the run starts. Optional for reported runs.

Constraints:

  • min: 1
  • max: 128
  • pattern: [^\p{C}]+

httpsEndpoint -> (structure)

A URL of the experiment’s HTTPS service.

url -> (string)

The URL of the service that the run tests. Userinfo and the query string are removed when it is stored.

Constraints:

  • min: 1
  • max: 2048

version -> (string)

The build or release deployed at url.

Constraints:

  • min: 1
  • max: 128
  • pattern: [^\p{C}]+

custom -> (structure)

A label for what was tried, for a custom target.

version -> (string)

A label for the version that was tried, for example “sonnet-5.5 + prompt-v3”.

Constraints:

  • min: 1
  • max: 128
  • pattern: [^\p{C}]+

endpoint -> (string)

A free-form description of where or how the custom target was invoked, for example a URL or a prompt name.

Constraints:

  • min: 1
  • max: 2048
  • pattern: [^\p{C}]+

dataset -> (structure) [required]

The dataset the run tested. Required on the creating call, with its identity and caseCount. Later calls must repeat it exactly or omit the run block (RUN_DEFINITION_MISMATCH).

source -> (string) [required]

Where the dataset comes from.

Possible values:

  • AGENTCORE
  • FILE
  • OTHER

id -> (string)

The ID of the dataset, from 1 to 256 characters. Required for AGENTCORE datasets. FILE and OTHER datasets require an id or a name (DATASET_ID_REQUIRED).

Constraints:

  • min: 1
  • max: 256
  • pattern: [A-Za-z0-9._:/-]+

name -> (string)

The name of the dataset, from 1 to 256 characters. FILE and OTHER datasets require an id or a name.

Constraints:

  • min: 1
  • max: 256
  • pattern: [^\p{C}]+

version -> (string)

The version of the dataset. For AGENTCORE datasets, a published version number. Required for hosted runs (FIELD_REQUIRED without it), and DRAFT is rejected. Optional and informational for reported runs.

Constraints:

  • min: 1
  • max: 128
  • pattern: [^\p{C}]+

caseCount -> (integer)

The number of cases the run will report. Cases that are never reported count as not run. Output only for hosted runs.

Constraints:

  • min: 1
  • max: 100000

contentHash -> (string)

A SHA-256 hash of the dataset’s content, in the form sha256:<64 hex digits>. Output only for hosted runs.

Constraints:

  • pattern: sha256:[0-9a-f]{64}

metadata -> (map)

Key-value facts about what the run tested, beyond the target and dataset versions.

Constraints:

  • min: 0
  • max: 50

key -> (string)

Constraints:

  • min: 1
  • max: 128
  • pattern: [a-zA-Z0-9_.:/-]+

value -> (string)

A run metadata value. Customer content; never logged.

Constraints:

  • min: 0
  • max: 256
  • pattern: [^\p{C}]*

description -> (string)

A description of what the run is for, up to 1024 characters with no control characters. Later calls must repeat it exactly or omit the run block (RUN_DEFINITION_MISMATCH).

Constraints:

  • min: 0
  • max: 1024
  • pattern: [^\p{C}]*

startedAt -> (timestamp)

The time when the producer started the run, if it began before the first PutExperimentRunResults call.

JSON Syntax:

{
  "producer": {
    "kind": "SDK"|"CUSTOM",
    "name": "string",
    "version": "string",
    "externalId": "string"
  },
  "rule": {
    "source": "FILE"|"INLINE",
    "name": "string",
    "caseCriteria": [
      {
        "evaluator": {
          "evaluatorId": "string",
          "threshold": {
            "minScore": double,
            "maxScore": double,
            "passLabels": ["string", ...]
          }
        }
      }
      ...
    ],
    "gates": [
      {
        "metric": {
          "passRate": {

          },
          "notScoredRate": {

          },
          "evaluatorAverage": {
            "evaluatorId": "string"
          },
          "regressedCases": {

          },
          "fixedCases": {

          },
          "regressedScores": {

          },
          "unpairedCaseRate": {

          }
        },
        "bound": {
          "min": double,
          "max": double,
          "vsControl": {
            "minDelta": double,
            "mode": "ABSOLUTE"|"RATIO"
          }
        }
      }
      ...
    ],
    "contentHash": "string"
  },
  "control": {
    "target": {
      "agentCoreRuntime": {
        "endpointArn": "string",
        "requestTemplate": "string",
        "version": "string"
      },
      "httpsEndpoint": {
        "url": "string",
        "version": "string"
      },
      "custom": {
        "version": "string",
        "endpoint": "string"
      }
    },
    "runId": "string",
    "latestPassed": {
      "endpointArn": "string"
    }
  },
  "evaluators": [
    {
      "evaluatorId": "string",
      "ratingScale": "NUMERIC"|"CATEGORICAL",
      "scoreDirection": "HIGHER_IS_BETTER"|"LOWER_IS_BETTER"
    }
    ...
  ],
  "target": {
    "agentCoreRuntime": {
      "endpointArn": "string",
      "requestTemplate": "string",
      "version": "string"
    },
    "httpsEndpoint": {
      "url": "string",
      "version": "string"
    },
    "custom": {
      "version": "string",
      "endpoint": "string"
    }
  },
  "dataset": {
    "source": "AGENTCORE"|"FILE"|"OTHER",
    "id": "string",
    "name": "string",
    "version": "string",
    "caseCount": integer,
    "contentHash": "string"
  },
  "metadata": {"string": "string"
    ...},
  "description": "string",
  "startedAt": timestamp
}

--results (list) [required]

The cases to report: up to 25 distinct cases, written atomically so that all are accepted or none are. Each item is at most 256 KB as canonical JSON.

Constraints:

  • min: 1
  • max: 25

(structure)

The result of running and scoring one dataset case in a run, as reported with PutExperimentRunResults.

caseId -> (string) [required]

The ID of the dataset case. Each case can appear at most once in a request.

Constraints:

  • min: 1
  • max: 256
  • pattern: [a-zA-Z0-9_.:/-]+

sessionId -> (string)

The ID of the session in which the target ran the case.

Constraints:

  • min: 1
  • max: 256
  • pattern: [^\p{C}]+

executionStatus -> (string) [required]

The outcome of running the case against the target, before scoring.

Possible values:

  • COMPLETED
  • TARGET_ERROR
  • TIMED_OUT
  • NOT_RUN

statusReason -> (string)

The reason for the execution status. Required when executionStatus is TARGET_ERROR or TIMED_OUT, optional for NOT_RUN, and absent for COMPLETED.

Possible values:

  • TARGET_INVOKE_ERROR
  • TARGET_RESPONSE_INVALID
  • TURN_TIME_LIMIT
  • RUN_STOPPED
  • SCORING_THROTTLED
  • SCORING_ERROR
  • EVALUATOR_ERROR
  • SPANS_MISSING

turns -> (list)

The turns of the case, up to 50, in the order they ran.

Constraints:

  • min: 0
  • max: 50

(structure)

One turn of a case: an input sent to the target and the target’s response. Turns are ordered by their position in the list.

traceId -> (string)

The trace ID of the turn. Required on every turn of a COMPLETED case. A case that didn’t complete may end in turns without a trace ID, such as turns that weren’t run; every turn before them must have one.

Constraints:

  • pattern: [0-9a-fA-F]{32}

input -> (string)

The input sent to the target for the turn. Truncated above 16 KB (UTF-8) in the case record, and then listed in truncated.

Constraints:

  • min: 0
  • max: 262144

output -> (string)

The target’s response to the turn. Truncated above 16 KB (UTF-8) in the case record.

Constraints:

  • min: 0
  • max: 262144

truncated -> (list)

The fields that were truncated. List the fields shortened before sending; the service adds the fields it truncates.

Constraints:

  • min: 0
  • max: 2

(string)

A turn field that was truncated.

Possible values:

  • input
  • output

evaluators -> (list)

The evaluator results for the case, up to 20. Each entry refers to one of the run’s evaluators.

Constraints:

  • min: 0
  • max: 20

(structure)

One evaluator’s result for a case: a score or label, or an error.

evaluatorId -> (string) [required]

The ID of the evaluator that produced this result. Must be one of the run’s evaluators.

Constraints:

  • min: 1
  • max: 256
  • pattern: [A-Za-z0-9._:/-]+

score -> (double)

The numeric score, a finite number from -1e9 to 1e9. The service keeps up to 12 decimal places.

label -> (string)

The categorical label the evaluator assigned to the case.

Constraints:

  • min: 1
  • max: 256
  • pattern: [^\p{C}]+

explanation -> (string)

The evaluator’s explanation of the result. Truncated above 4 KB, in which case explanationTruncated is true.

Constraints:

  • min: 0
  • max: 262144

explanationTruncated -> (boolean)

Whether explanation was truncated.

error -> (structure)

The error, when the evaluator produced no result for the case. Cannot be set together with score or label.

code -> (string) [required]

The reason the evaluator produced no result.

Possible values:

  • SCORING_THROTTLED
  • SCORING_ERROR
  • EVALUATOR_ERROR
  • SPANS_MISSING

JSON Syntax:

[
  {
    "caseId": "string",
    "sessionId": "string",
    "executionStatus": "COMPLETED"|"TARGET_ERROR"|"TIMED_OUT"|"NOT_RUN",
    "statusReason": "TARGET_INVOKE_ERROR"|"TARGET_RESPONSE_INVALID"|"TURN_TIME_LIMIT"|"RUN_STOPPED"|"SCORING_THROTTLED"|"SCORING_ERROR"|"EVALUATOR_ERROR"|"SPANS_MISSING",
    "turns": [
      {
        "traceId": "string",
        "input": "string",
        "output": "string",
        "truncated": ["input"|"output", ...]
      }
      ...
    ],
    "evaluators": [
      {
        "evaluatorId": "string",
        "score": double,
        "label": "string",
        "explanation": "string",
        "explanationTruncated": true|false,
        "error": {
          "code": "SCORING_THROTTLED"|"SCORING_ERROR"|"EVALUATOR_ERROR"|"SPANS_MISSING"
        }
      }
      ...
    ]
  }
  ...
]

--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.

Global Options

--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.

  • json
  • text
  • table
  • yaml
  • yaml-stream
  • off

--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.

  • on
  • off
  • auto

--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.

  • base64
  • raw-in-base64-out

--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.

--cli-error-format (string)

The formatting style for error output. By default, errors are displayed in enhanced format.

  • legacy
  • json
  • yaml
  • text
  • table
  • enhanced

--help (boolean)

Display help for the command/subcommand.

Output

experimentId -> (string)

The ID of the experiment the run belongs to.

Constraints:

  • min: 30
  • max: 30
  • pattern: exp-[0-9A-Z]{26}

runId -> (string)

The ID of the run the cases were reported for.

Constraints:

  • min: 1
  • max: 128
  • pattern: [a-zA-Z0-9_.-]+

caseWrites -> (list)

One entry for each reported case, with the status the service derived from its scores and the run’s rule.

Constraints:

  • min: 0
  • max: 25

(structure)

The result of writing one case with PutExperimentRunResults.

caseId -> (string) [required]

The ID of the case that was written.

Constraints:

  • min: 1
  • max: 256
  • pattern: [a-zA-Z0-9_.:/-]+

status -> (string) [required]

The status of the case, derived from its scores and the run’s rule, if the run has one.

Possible values:

  • PASSED
  • FAILED
  • COMPLETED
  • TARGET_ERROR
  • TIMED_OUT
  • NOT_SCORED
  • NOT_RUN

statusReason -> (string)

The reason for the status. Present only for statuses that have a reason.

Possible values:

  • TARGET_INVOKE_ERROR
  • TARGET_RESPONSE_INVALID
  • TURN_TIME_LIMIT
  • RUN_STOPPED
  • SCORING_THROTTLED
  • SCORING_ERROR
  • EVALUATOR_ERROR
  • SPANS_MISSING

runCreated -> (boolean)

Whether this call created the run.