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 |
Amazonka.Pinpoint.DeleteEmailChannel
Description
Disables the email channel for an application and deletes any existing settings for the channel.
Synopsis
- data DeleteEmailChannel = DeleteEmailChannel' {}
- newDeleteEmailChannel :: Text -> DeleteEmailChannel
- deleteEmailChannel_applicationId :: Lens' DeleteEmailChannel Text
- data DeleteEmailChannelResponse = DeleteEmailChannelResponse' {}
- newDeleteEmailChannelResponse :: Int -> EmailChannelResponse -> DeleteEmailChannelResponse
- deleteEmailChannelResponse_httpStatus :: Lens' DeleteEmailChannelResponse Int
- deleteEmailChannelResponse_emailChannelResponse :: Lens' DeleteEmailChannelResponse EmailChannelResponse
Creating a Request
data DeleteEmailChannel Source #
See: newDeleteEmailChannel
smart constructor.
Constructors
DeleteEmailChannel' | |
Fields
|
Instances
newDeleteEmailChannel Source #
Arguments
:: Text | |
-> DeleteEmailChannel |
Create a value of DeleteEmailChannel
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:DeleteEmailChannel'
, deleteEmailChannel_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
deleteEmailChannel_applicationId :: Lens' DeleteEmailChannel Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
Destructuring the Response
data DeleteEmailChannelResponse Source #
See: newDeleteEmailChannelResponse
smart constructor.
Constructors
DeleteEmailChannelResponse' | |
Fields
|
Instances
newDeleteEmailChannelResponse Source #
Arguments
:: Int | |
-> EmailChannelResponse | |
-> DeleteEmailChannelResponse |
Create a value of DeleteEmailChannelResponse
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:DeleteEmailChannelResponse'
, deleteEmailChannelResponse_httpStatus
- The response's http status code.
$sel:emailChannelResponse:DeleteEmailChannelResponse'
, deleteEmailChannelResponse_emailChannelResponse
- Undocumented member.
Response Lenses
deleteEmailChannelResponse_httpStatus :: Lens' DeleteEmailChannelResponse Int Source #
The response's http status code.
deleteEmailChannelResponse_emailChannelResponse :: Lens' DeleteEmailChannelResponse EmailChannelResponse Source #
Undocumented member.