| 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 |
Network.AWS.Pinpoint.GetSegment
Description
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
- gssrsResponseStatus :: Lens' GetSegmentResponse Int
- gssrsSegmentResponse :: Lens' GetSegmentResponse SegmentResponse
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> GetSegment |
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.
Instances
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:
gssrsResponseStatus- -- | The response status code.gssrsSegmentResponse- Undocumented member.
data GetSegmentResponse Source #
See: getSegmentResponse smart constructor.
Response Lenses
gssrsResponseStatus :: Lens' GetSegmentResponse Int Source #
- - | The response status code.
gssrsSegmentResponse :: Lens' GetSegmentResponse SegmentResponse Source #
Undocumented member.