delete_assessment_target(**kwargs)¶Deletes the assessment target that is specified by the ARN of the assessment target.
See also: AWS API Documentation
Request Syntax
response = client.delete_assessment_target(
    assessmentTargetArn='string'
)
[REQUIRED]
The ARN that specifies the assessment target 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 target that is specified by the ARN of the assessment target.
response = client.delete_assessment_target(
    assessmentTargetArn='arn:aws:inspector:us-west-2:123456789012:target/0-0kFIPusq',
)
print(response)
Expected Output:
{
    'ResponseMetadata': {
        '...': '...',
    },
}