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 |
Synopsis
- data MessageResponse = MessageResponse' {}
- newMessageResponse :: Text -> MessageResponse
- messageResponse_requestId :: Lens' MessageResponse (Maybe Text)
- messageResponse_result :: Lens' MessageResponse (Maybe (HashMap Text MessageResult))
- messageResponse_endpointResult :: Lens' MessageResponse (Maybe (HashMap Text EndpointMessageResult))
- messageResponse_applicationId :: Lens' MessageResponse Text
Documentation
data MessageResponse Source #
Provides information about the results of a request to send a message to an endpoint address.
See: newMessageResponse
smart constructor.
MessageResponse' | |
|
Instances
Create a value of MessageResponse
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:requestId:MessageResponse'
, messageResponse_requestId
- The identifier for the original request that the message was delivered
for.
$sel:result:MessageResponse'
, messageResponse_result
- A map that contains a multipart response for each address (email
address, phone number, or push notification token) that the message was
sent to. In the map, the address is the key and the result is the value.
$sel:endpointResult:MessageResponse'
, messageResponse_endpointResult
- A map that contains a multipart response for each address that the
message was sent to. In the map, the endpoint ID is the key and the
result is the value.
$sel:applicationId:MessageResponse'
, messageResponse_applicationId
- The unique identifier for the application that was used to send the
message.
messageResponse_requestId :: Lens' MessageResponse (Maybe Text) Source #
The identifier for the original request that the message was delivered for.
messageResponse_result :: Lens' MessageResponse (Maybe (HashMap Text MessageResult)) Source #
A map that contains a multipart response for each address (email address, phone number, or push notification token) that the message was sent to. In the map, the address is the key and the result is the value.
messageResponse_endpointResult :: Lens' MessageResponse (Maybe (HashMap Text EndpointMessageResult)) Source #
A map that contains a multipart response for each address that the message was sent to. In the map, the endpoint ID is the key and the result is the value.
messageResponse_applicationId :: Lens' MessageResponse Text Source #
The unique identifier for the application that was used to send the message.