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 information about the status and settings of the email channel for an application.
Synopsis
- data GetEmailChannel = GetEmailChannel' {}
- newGetEmailChannel :: Text -> GetEmailChannel
- getEmailChannel_applicationId :: Lens' GetEmailChannel Text
- data GetEmailChannelResponse = GetEmailChannelResponse' {}
- newGetEmailChannelResponse :: Int -> EmailChannelResponse -> GetEmailChannelResponse
- getEmailChannelResponse_httpStatus :: Lens' GetEmailChannelResponse Int
- getEmailChannelResponse_emailChannelResponse :: Lens' GetEmailChannelResponse EmailChannelResponse
Creating a Request
data GetEmailChannel Source #
See: newGetEmailChannel
smart constructor.
GetEmailChannel' | |
|
Instances
Create a value of GetEmailChannel
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:GetEmailChannel'
, getEmailChannel_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getEmailChannel_applicationId :: Lens' GetEmailChannel 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 GetEmailChannelResponse Source #
See: newGetEmailChannelResponse
smart constructor.
GetEmailChannelResponse' | |
|
Instances
newGetEmailChannelResponse Source #
Create a value of GetEmailChannelResponse
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:GetEmailChannelResponse'
, getEmailChannelResponse_httpStatus
- The response's http status code.
$sel:emailChannelResponse:GetEmailChannelResponse'
, getEmailChannelResponse_emailChannelResponse
- Undocumented member.
Response Lenses
getEmailChannelResponse_httpStatus :: Lens' GetEmailChannelResponse Int Source #
The response's http status code.
getEmailChannelResponse_emailChannelResponse :: Lens' GetEmailChannelResponse EmailChannelResponse Source #
Undocumented member.