deleteInferenceProfile method

Future<void> deleteInferenceProfile({
  1. required String inferenceProfileIdentifier,
})

Deletes an application inference profile. For more information, see Increase throughput and resilience with cross-region inference in Amazon Bedrock. 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 inferenceProfileIdentifier : The Amazon Resource Name (ARN) or ID of the application inference profile to delete.

Implementation

Future<void> deleteInferenceProfile({
  required String inferenceProfileIdentifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/inference-profiles/${Uri.encodeComponent(inferenceProfileIdentifier)}',
    exceptionFnMap: _exceptionFns,
  );
}