Inspector.Client.delete_assessment_run(**kwargs)¶Deletes the assessment run that is specified by the ARN of the assessment run.
See also: AWS API Documentation
Request Syntax
response = client.delete_assessment_run(
assessmentRunArn='string'
)
[REQUIRED]
The ARN that specifies the assessment run that you want to delete.
Exceptions
Inspector.Client.exceptions.InternalExceptionInspector.Client.exceptions.InvalidInputExceptionInspector.Client.exceptions.AssessmentRunInProgressExceptionInspector.Client.exceptions.AccessDeniedExceptionInspector.Client.exceptions.NoSuchEntityExceptionInspector.Client.exceptions.ServiceTemporarilyUnavailableExceptionExamples
Deletes the assessment run that is specified by the ARN of the assessment run.
response = client.delete_assessment_run(
assessmentRunArn='arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T/run/0-11LMTAVe',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}