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 |
Enables the email channel for an application or updates the status and settings of the email channel for an application.
Synopsis
- data UpdateEmailChannel = UpdateEmailChannel' {}
- newUpdateEmailChannel :: Text -> EmailChannelRequest -> UpdateEmailChannel
- updateEmailChannel_applicationId :: Lens' UpdateEmailChannel Text
- updateEmailChannel_emailChannelRequest :: Lens' UpdateEmailChannel EmailChannelRequest
- data UpdateEmailChannelResponse = UpdateEmailChannelResponse' {}
- newUpdateEmailChannelResponse :: Int -> EmailChannelResponse -> UpdateEmailChannelResponse
- updateEmailChannelResponse_httpStatus :: Lens' UpdateEmailChannelResponse Int
- updateEmailChannelResponse_emailChannelResponse :: Lens' UpdateEmailChannelResponse EmailChannelResponse
Creating a Request
data UpdateEmailChannel Source #
See: newUpdateEmailChannel
smart constructor.
UpdateEmailChannel' | |
|
Instances
newUpdateEmailChannel Source #
Create a value of UpdateEmailChannel
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:UpdateEmailChannel'
, updateEmailChannel_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:emailChannelRequest:UpdateEmailChannel'
, updateEmailChannel_emailChannelRequest
- Undocumented member.
Request Lenses
updateEmailChannel_applicationId :: Lens' UpdateEmailChannel Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
updateEmailChannel_emailChannelRequest :: Lens' UpdateEmailChannel EmailChannelRequest Source #
Undocumented member.
Destructuring the Response
data UpdateEmailChannelResponse Source #
See: newUpdateEmailChannelResponse
smart constructor.
UpdateEmailChannelResponse' | |
|
Instances
newUpdateEmailChannelResponse Source #
Create a value of UpdateEmailChannelResponse
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:UpdateEmailChannelResponse'
, updateEmailChannelResponse_httpStatus
- The response's http status code.
$sel:emailChannelResponse:UpdateEmailChannelResponse'
, updateEmailChannelResponse_emailChannelResponse
- Undocumented member.
Response Lenses
updateEmailChannelResponse_httpStatus :: Lens' UpdateEmailChannelResponse Int Source #
The response's http status code.
updateEmailChannelResponse_emailChannelResponse :: Lens' UpdateEmailChannelResponse EmailChannelResponse Source #
Undocumented member.