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 |
Use to update a segment.
Synopsis
- updateSegment :: Text -> Text -> WriteSegmentRequest -> UpdateSegment
- data UpdateSegment
- usSegmentId :: Lens' UpdateSegment Text
- usApplicationId :: Lens' UpdateSegment Text
- usWriteSegmentRequest :: Lens' UpdateSegment WriteSegmentRequest
- updateSegmentResponse :: Int -> SegmentResponse -> UpdateSegmentResponse
- data UpdateSegmentResponse
- usrsResponseStatus :: Lens' UpdateSegmentResponse Int
- usrsSegmentResponse :: Lens' UpdateSegmentResponse SegmentResponse
Creating a Request
Creates a value of UpdateSegment
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usSegmentId
- Undocumented member.usApplicationId
- Undocumented member.usWriteSegmentRequest
- Undocumented member.
data UpdateSegment Source #
See: updateSegment
smart constructor.
Instances
Request Lenses
usSegmentId :: Lens' UpdateSegment Text Source #
Undocumented member.
usApplicationId :: Lens' UpdateSegment Text Source #
Undocumented member.
usWriteSegmentRequest :: Lens' UpdateSegment WriteSegmentRequest Source #
Undocumented member.
Destructuring the Response
updateSegmentResponse Source #
Creates a value of UpdateSegmentResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
usrsResponseStatus
- -- | The response status code.usrsSegmentResponse
- Undocumented member.
data UpdateSegmentResponse Source #
See: updateSegmentResponse
smart constructor.
Instances
Response Lenses
usrsResponseStatus :: Lens' UpdateSegmentResponse Int Source #
- - | The response status code.
usrsSegmentResponse :: Lens' UpdateSegmentResponse SegmentResponse Source #
Undocumented member.