| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Pinpoint.UpdateEmailChannel
Description
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.
Constructors
| UpdateEmailChannel' | |
Fields
| |
Instances
newUpdateEmailChannel Source #
Arguments
| :: Text | |
| -> EmailChannelRequest | |
| -> UpdateEmailChannel |
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:
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.
Constructors
| UpdateEmailChannelResponse' | |
Fields
| |
Instances
newUpdateEmailChannelResponse Source #
Arguments
| :: Int | |
| -> EmailChannelResponse | |
| -> UpdateEmailChannelResponse |
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.