CleanRoomsML / Client / cancel_trained_model

cancel_trained_model#

CleanRoomsML.Client.cancel_trained_model(**kwargs)#

Submits a request to cancel the trained model job.

See also: AWS API Documentation

Request Syntax

response = client.cancel_trained_model(
    membershipIdentifier='string',
    trainedModelArn='string'
)
Parameters:
  • membershipIdentifier (string) –

    [REQUIRED]

    The membership ID of the trained model job that you want to cancel.

  • trainedModelArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the trained model job that you want to cancel.

Returns:

None

Exceptions

  • CleanRoomsML.Client.exceptions.ConflictException

  • CleanRoomsML.Client.exceptions.ValidationException

  • CleanRoomsML.Client.exceptions.AccessDeniedException

  • CleanRoomsML.Client.exceptions.ResourceNotFoundException