v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1465766489.0 KB

Updates an A/B test's configuration, including variants, traffic allocation, evaluation settings, or execution status.

put/ab-tests/{abTestId}

Path parameters

abTestIdstring required

The unique identifier of the A/B test to update.

Request body

clientTokenstring

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.

namestring

The updated name of the A/B test.

descriptionstring

The updated description of the A/B test.

roleArnstring

The updated IAM role ARN.

executionStatus'PAUSED' | 'RUNNING' | 'STOPPED' | 'NOT_STARTED'

The updated execution status to enable or disable the A/B test.

Response

Success

abTestIdstring required

The unique identifier of the updated A/B test.

abTestArnstring required

The Amazon Resource Name (ARN) of the updated A/B test.

status'CREATING' | 'ACTIVE' | 'CREATE_FAILED' | 'UPDATING' | 'UPDATE_FAILED' | 'DELETING' | 'DELETE_FAILED' | 'FAILED' required

The status of the A/B test.

executionStatus'PAUSED' | 'RUNNING' | 'STOPPED' | 'NOT_STARTED' required

The execution status of the A/B test.

updatedAtstring date-time required

The timestamp when the A/B test was updated.