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 |
Send a batch of messages
Synopsis
- sendMessages :: Text -> MessageRequest -> SendMessages
- data SendMessages
- smApplicationId :: Lens' SendMessages Text
- smMessageRequest :: Lens' SendMessages MessageRequest
- sendMessagesResponse :: Int -> MessageResponse -> SendMessagesResponse
- data SendMessagesResponse
- smrsResponseStatus :: Lens' SendMessagesResponse Int
- smrsMessageResponse :: Lens' SendMessagesResponse MessageResponse
Creating a Request
Creates a value of SendMessages
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smApplicationId
- Undocumented member.smMessageRequest
- Undocumented member.
data SendMessages Source #
See: sendMessages
smart constructor.
Instances
Request Lenses
smApplicationId :: Lens' SendMessages Text Source #
Undocumented member.
smMessageRequest :: Lens' SendMessages MessageRequest Source #
Undocumented member.
Destructuring the Response
Creates a value of SendMessagesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
smrsResponseStatus
- -- | The response status code.smrsMessageResponse
- Undocumented member.
data SendMessagesResponse Source #
See: sendMessagesResponse
smart constructor.
Instances
Response Lenses
smrsResponseStatus :: Lens' SendMessagesResponse Int Source #
- - | The response status code.
smrsMessageResponse :: Lens' SendMessagesResponse MessageResponse Source #
Undocumented member.