Copyright | (c) 2013-2017 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 |
Returns information about a segment.
- getSegment :: Text -> Text -> GetSegment
- data GetSegment
- gsSegmentId :: Lens' GetSegment Text
- gsApplicationId :: Lens' GetSegment Text
- getSegmentResponse :: Int -> SegmentResponse -> GetSegmentResponse
- data GetSegmentResponse
- getrsResponseStatus :: Lens' GetSegmentResponse Int
- getrsSegmentResponse :: Lens' GetSegmentResponse SegmentResponse
Creating a Request
Creates a value of GetSegment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsSegmentId
- Undocumented member.gsApplicationId
- Undocumented member.
data GetSegment Source #
See: getSegment
smart constructor.
Request Lenses
gsSegmentId :: Lens' GetSegment Text Source #
Undocumented member.
gsApplicationId :: Lens' GetSegment Text Source #
Undocumented member.
Destructuring the Response
Creates a value of GetSegmentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
getrsResponseStatus
- -- | The response status code.getrsSegmentResponse
- Undocumented member.
data GetSegmentResponse Source #
See: getSegmentResponse
smart constructor.
Response Lenses
getrsResponseStatus :: Lens' GetSegmentResponse Int Source #
- - | The response status code.
getrsSegmentResponse :: Lens' GetSegmentResponse SegmentResponse Source #
Undocumented member.