BedrockAgentCore / Client / delete_ab_test
delete_ab_test¶
- BedrockAgentCore.Client.delete_ab_test(**kwargs)¶
Deletes an A/B test and its associated gateway rules.
See also: AWS API Documentation
Request Syntax
response = client.delete_ab_test( abTestId='string' )
- Parameters:
abTestId (string) –
[REQUIRED]
The unique identifier of the A/B test to delete.
- Return type:
dict
- Returns:
Response Syntax
{ 'abTestId': 'string', 'abTestArn': 'string', 'status': 'CREATING'|'ACTIVE'|'CREATE_FAILED'|'UPDATING'|'UPDATE_FAILED'|'DELETING'|'DELETE_FAILED'|'FAILED' }
Response Structure
(dict) –
abTestId (string) –
The unique identifier of the deleted A/B test.
abTestArn (string) –
The Amazon Resource Name (ARN) of the deleted A/B test.
status (string) –
The status of the A/B test deletion operation.
Exceptions
BedrockAgentCore.Client.exceptions.UnauthorizedExceptionBedrockAgentCore.Client.exceptions.ValidationExceptionBedrockAgentCore.Client.exceptions.AccessDeniedExceptionBedrockAgentCore.Client.exceptions.ConflictExceptionBedrockAgentCore.Client.exceptions.ThrottlingExceptionBedrockAgentCore.Client.exceptions.ResourceNotFoundExceptionBedrockAgentCore.Client.exceptions.InternalServerException