deleteMarketplaceModelEndpoint method

Future<void> deleteMarketplaceModelEndpoint({
  1. required String endpointArn,
})

Deletes an endpoint for a model from Amazon Bedrock Marketplace.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter endpointArn : The Amazon Resource Name (ARN) of the endpoint you want to delete.

Implementation

Future<void> deleteMarketplaceModelEndpoint({
  required String endpointArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/marketplace-model/endpoints/${Uri.encodeComponent(endpointArn)}',
    exceptionFnMap: _exceptionFns,
  );
}