deregisterMarketplaceModelEndpoint method

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

Deregisters an endpoint for a model from Amazon Bedrock Marketplace. This operation removes the endpoint's association with Amazon Bedrock but does not delete the underlying Amazon SageMaker endpoint.

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

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

Implementation

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