AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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.
For .NET Core this operation is only available in asynchronous form. Please refer to DeleteSegmentAsync.
Namespace: Amazon.CloudWatchEvidently
Assembly: AWSSDK.CloudWatchEvidently.dll
Version: 3.x.y.z
public virtual DeleteSegmentResponse DeleteSegment( DeleteSegmentRequest request )
Container for the necessary parameters to execute the DeleteSegment service method.
Exception | Condition |
---|---|
AccessDeniedException | You do not have sufficient permissions to perform this action. |
ConflictException | A resource was in an inconsistent state during an update or a deletion. |
ResourceNotFoundException | The request references a resource that does not exist. |
ThrottlingException | The request was denied because of request throttling. Retry the request. |
ValidationException | The value of a parameter in the request caused an error. |
.NET Framework:
Supported in: 4.5 and newer, 3.5