Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a segment.
Synopsis
- deleteSegment :: Text -> Text -> DeleteSegment
- data DeleteSegment
- dsSegmentId :: Lens' DeleteSegment Text
- dsApplicationId :: Lens' DeleteSegment Text
- deleteSegmentResponse :: Int -> SegmentResponse -> DeleteSegmentResponse
- data DeleteSegmentResponse
- dsrsResponseStatus :: Lens' DeleteSegmentResponse Int
- dsrsSegmentResponse :: Lens' DeleteSegmentResponse SegmentResponse
Creating a Request
Creates a value of DeleteSegment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsSegmentId
- Undocumented member.dsApplicationId
- Undocumented member.
data DeleteSegment Source #
See: deleteSegment
smart constructor.
Instances
Request Lenses
dsSegmentId :: Lens' DeleteSegment Text Source #
Undocumented member.
dsApplicationId :: Lens' DeleteSegment Text Source #
Undocumented member.
Destructuring the Response
deleteSegmentResponse Source #
Creates a value of DeleteSegmentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dsrsResponseStatus
- -- | The response status code.dsrsSegmentResponse
- Undocumented member.
data DeleteSegmentResponse Source #
See: deleteSegmentResponse
smart constructor.
Instances
Response Lenses
dsrsResponseStatus :: Lens' DeleteSegmentResponse Int Source #
- - | The response status code.
dsrsSegmentResponse :: Lens' DeleteSegmentResponse SegmentResponse Source #
Undocumented member.