How to delete Pipeline, Trial and Experiment in Sagemaker

0

I already deleted Domain, Users, Models, Endpoints, Endpoint configurations, Notebook instances, S3 Bucket instance and log groups but left with Pipeline, Trial and Experiment. Can anyone please help me with steps to followed to delete Pipeline, Trial and Experiment.

1 Answer
0

Delete Pipeline (https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.delete_pipeline):

client = boto3.client('sagemaker')

response = client.delete_pipeline(
    PipelineName='string',
    ClientRequestToken='string'
)

Delete Trial (https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sagemaker.html#SageMaker.Client.delete_trial_component):

response = client.delete_trial_component(
    TrialComponentName='string'
)

profile pictureAWS
answered a year ago
  • Could you please provide any details related to where do I need to run these scripts?

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions