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 |
Used to get information about your segments.
Synopsis
- 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
- The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.gssPageSize
- The number of entries you want on each page in the response.gssApplicationId
- Undocumented member.
data GetSegments Source #
See: getSegments
smart constructor.
Instances
Request Lenses
gssToken :: Lens' GetSegments (Maybe Text) Source #
The NextToken string returned on a previous page that you use to get the next page of results in a paginated response.
gssPageSize :: Lens' GetSegments (Maybe Text) Source #
The number of entries you want on each page in the response.
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.
Instances
Response Lenses
gsrsResponseStatus :: Lens' GetSegmentsResponse Int Source #
- - | The response status code.
gsrsSegmentsResponse :: Lens' GetSegmentsResponse SegmentsResponse Source #
Undocumented member.