CloudWatchEvidently.Client.delete_segment(**kwargs)¶Deletes a segment. You can't delete a segment that is being used in a launch or experiment, even if that launch or experiment is not currently running.
See also: AWS API Documentation
Request Syntax
response = client.delete_segment(
segment='string'
)
[REQUIRED]
Specifies the segment to delete.
{}
Response Structure
Exceptions
CloudWatchEvidently.Client.exceptions.ThrottlingExceptionCloudWatchEvidently.Client.exceptions.ValidationExceptionCloudWatchEvidently.Client.exceptions.ConflictExceptionCloudWatchEvidently.Client.exceptions.ResourceNotFoundExceptionCloudWatchEvidently.Client.exceptions.AccessDeniedException