| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Evidently.DeleteSegment
Description
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.
Synopsis
- data DeleteSegment = DeleteSegment' {}
- newDeleteSegment :: Text -> DeleteSegment
- deleteSegment_segment :: Lens' DeleteSegment Text
- data DeleteSegmentResponse = DeleteSegmentResponse' {
- httpStatus :: Int
- newDeleteSegmentResponse :: Int -> DeleteSegmentResponse
- deleteSegmentResponse_httpStatus :: Lens' DeleteSegmentResponse Int
Creating a Request
data DeleteSegment Source #
See: newDeleteSegment smart constructor.
Constructors
| DeleteSegment' | |
Instances
Arguments
| :: Text | |
| -> DeleteSegment |
Create a value of DeleteSegment with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteSegment, deleteSegment_segment - Specifies the segment to delete.
Request Lenses
deleteSegment_segment :: Lens' DeleteSegment Text Source #
Specifies the segment to delete.
Destructuring the Response
data DeleteSegmentResponse Source #
See: newDeleteSegmentResponse smart constructor.
Constructors
| DeleteSegmentResponse' | |
Fields
| |
Instances
newDeleteSegmentResponse Source #
Create a value of DeleteSegmentResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteSegmentResponse', deleteSegmentResponse_httpStatus - The response's http status code.
Response Lenses
deleteSegmentResponse_httpStatus :: Lens' DeleteSegmentResponse Int Source #
The response's http status code.