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 |
Retrieves the in-app messages targeted for the provided endpoint ID.
Synopsis
- data GetInAppMessages = GetInAppMessages' {
- applicationId :: Text
- endpointId :: Text
- newGetInAppMessages :: Text -> Text -> GetInAppMessages
- getInAppMessages_applicationId :: Lens' GetInAppMessages Text
- getInAppMessages_endpointId :: Lens' GetInAppMessages Text
- data GetInAppMessagesResponse = GetInAppMessagesResponse' {}
- newGetInAppMessagesResponse :: Int -> InAppMessagesResponse -> GetInAppMessagesResponse
- getInAppMessagesResponse_httpStatus :: Lens' GetInAppMessagesResponse Int
- getInAppMessagesResponse_inAppMessagesResponse :: Lens' GetInAppMessagesResponse InAppMessagesResponse
Creating a Request
data GetInAppMessages Source #
See: newGetInAppMessages
smart constructor.
GetInAppMessages' | |
|
Instances
:: Text | |
-> Text | |
-> GetInAppMessages |
Create a value of GetInAppMessages
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:GetInAppMessages'
, getInAppMessages_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:endpointId:GetInAppMessages'
, getInAppMessages_endpointId
- The unique identifier for the endpoint.
Request Lenses
getInAppMessages_applicationId :: Lens' GetInAppMessages Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
getInAppMessages_endpointId :: Lens' GetInAppMessages Text Source #
The unique identifier for the endpoint.
Destructuring the Response
data GetInAppMessagesResponse Source #
See: newGetInAppMessagesResponse
smart constructor.
GetInAppMessagesResponse' | |
|
Instances
newGetInAppMessagesResponse Source #
Create a value of GetInAppMessagesResponse
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:GetInAppMessagesResponse'
, getInAppMessagesResponse_httpStatus
- The response's http status code.
$sel:inAppMessagesResponse:GetInAppMessagesResponse'
, getInAppMessagesResponse_inAppMessagesResponse
- Undocumented member.
Response Lenses
getInAppMessagesResponse_httpStatus :: Lens' GetInAppMessagesResponse Int Source #
The response's http status code.
getInAppMessagesResponse_inAppMessagesResponse :: Lens' GetInAppMessagesResponse InAppMessagesResponse Source #
Undocumented member.