Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Used to get information about your segments.
- getSegments :: Text -> GetSegments
- data GetSegments
- gssToken :: Lens' GetSegments (Maybe Text)
- gssPageSize :: Lens' GetSegments (Maybe Text)
- gssApplicationId :: Lens' GetSegments Text
- getSegmentsResponse :: Int -> SegmentsResponse -> GetSegmentsResponse
- data GetSegmentsResponse
- gsrsResponseStatus :: Lens' GetSegmentsResponse Int
- gsrsSegmentsResponse :: Lens' GetSegmentsResponse SegmentsResponse
Creating a Request
Creates a value of GetSegments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gssToken
- Undocumented member.gssPageSize
- Undocumented member.gssApplicationId
- Undocumented member.
data GetSegments Source #
See: getSegments
smart constructor.
Request Lenses
gssPageSize :: Lens' GetSegments (Maybe Text) Source #
Undocumented member.
gssApplicationId :: Lens' GetSegments Text Source #
Undocumented member.
Destructuring the Response
Creates a value of GetSegmentsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gsrsResponseStatus
- -- | The response status code.gsrsSegmentsResponse
- Undocumented member.
data GetSegmentsResponse Source #
See: getSegmentsResponse
smart constructor.
Response Lenses
gsrsResponseStatus :: Lens' GetSegmentsResponse Int Source #
- - | The response status code.
gsrsSegmentsResponse :: Lens' GetSegmentsResponse SegmentsResponse Source #
Undocumented member.