stopModelCustomizationJob method
Stops an active model customization job. For more information, see Custom models in the Amazon Bedrock User Guide.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter jobIdentifier :
Job identifier of the job to stop.
Implementation
Future<void> stopModelCustomizationJob({
required String jobIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri:
'/model-customization-jobs/${Uri.encodeComponent(jobIdentifier)}/stop',
exceptionFnMap: _exceptionFns,
);
}