delete_segment

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'
)
Parameters
segment (string) --

[REQUIRED]

Specifies the segment to delete.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • CloudWatchEvidently.Client.exceptions.ThrottlingException
  • CloudWatchEvidently.Client.exceptions.ValidationException
  • CloudWatchEvidently.Client.exceptions.ConflictException
  • CloudWatchEvidently.Client.exceptions.ResourceNotFoundException
  • CloudWatchEvidently.Client.exceptions.AccessDeniedException