getABTest method
Retrieves detailed information about an A/B test, including its configuration, status, and statistical results.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw UnauthorizedException.
May throw ValidationException.
Parameter abTestId :
The unique identifier of the A/B test to retrieve.
Implementation
Future<GetABTestResponse> getABTest({
required String abTestId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/ab-tests/${Uri.encodeComponent(abTestId)}',
exceptionFnMap: _exceptionFns,
);
return GetABTestResponse.fromJson(response);
}