Copyright | (c) 2013-2021 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 |
Creates and sends a message to a list of users.
Synopsis
- data SendUsersMessages = SendUsersMessages' {}
- newSendUsersMessages :: Text -> SendUsersMessageRequest -> SendUsersMessages
- sendUsersMessages_applicationId :: Lens' SendUsersMessages Text
- sendUsersMessages_sendUsersMessageRequest :: Lens' SendUsersMessages SendUsersMessageRequest
- data SendUsersMessagesResponse = SendUsersMessagesResponse' {}
- newSendUsersMessagesResponse :: Int -> SendUsersMessageResponse -> SendUsersMessagesResponse
- sendUsersMessagesResponse_httpStatus :: Lens' SendUsersMessagesResponse Int
- sendUsersMessagesResponse_sendUsersMessageResponse :: Lens' SendUsersMessagesResponse SendUsersMessageResponse
Creating a Request
data SendUsersMessages Source #
See: newSendUsersMessages
smart constructor.
SendUsersMessages' | |
|
Instances
Create a value of SendUsersMessages
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:applicationId:SendUsersMessages'
, sendUsersMessages_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:sendUsersMessageRequest:SendUsersMessages'
, sendUsersMessages_sendUsersMessageRequest
- Undocumented member.
Request Lenses
sendUsersMessages_applicationId :: Lens' SendUsersMessages Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
sendUsersMessages_sendUsersMessageRequest :: Lens' SendUsersMessages SendUsersMessageRequest Source #
Undocumented member.
Destructuring the Response
data SendUsersMessagesResponse Source #
See: newSendUsersMessagesResponse
smart constructor.
SendUsersMessagesResponse' | |
|
Instances
newSendUsersMessagesResponse Source #
Create a value of SendUsersMessagesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:SendUsersMessagesResponse'
, sendUsersMessagesResponse_httpStatus
- The response's http status code.
$sel:sendUsersMessageResponse:SendUsersMessagesResponse'
, sendUsersMessagesResponse_sendUsersMessageResponse
- Undocumented member.
Response Lenses
sendUsersMessagesResponse_httpStatus :: Lens' SendUsersMessagesResponse Int Source #
The response's http status code.
sendUsersMessagesResponse_sendUsersMessageResponse :: Lens' SendUsersMessagesResponse SendUsersMessageResponse Source #
Undocumented member.