| 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.GetChannels
Description
Retrieves information about the history and status of each channel for an application.
Synopsis
- data GetChannels = GetChannels' {}
- newGetChannels :: Text -> GetChannels
- getChannels_applicationId :: Lens' GetChannels Text
- data GetChannelsResponse = GetChannelsResponse' {}
- newGetChannelsResponse :: Int -> ChannelsResponse -> GetChannelsResponse
- getChannelsResponse_httpStatus :: Lens' GetChannelsResponse Int
- getChannelsResponse_channelsResponse :: Lens' GetChannelsResponse ChannelsResponse
Creating a Request
data GetChannels Source #
See: newGetChannels smart constructor.
Constructors
| GetChannels' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetChannels |
Create a value of GetChannels 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:
GetChannels, getChannels_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getChannels_applicationId :: Lens' GetChannels 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 GetChannelsResponse Source #
See: newGetChannelsResponse smart constructor.
Constructors
| GetChannelsResponse' | |
Fields
| |
Instances
newGetChannelsResponse Source #
Arguments
| :: Int | |
| -> ChannelsResponse | |
| -> GetChannelsResponse |
Create a value of GetChannelsResponse 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:GetChannelsResponse', getChannelsResponse_httpStatus - The response's http status code.
$sel:channelsResponse:GetChannelsResponse', getChannelsResponse_channelsResponse - Undocumented member.
Response Lenses
getChannelsResponse_httpStatus :: Lens' GetChannelsResponse Int Source #
The response's http status code.
getChannelsResponse_channelsResponse :: Lens' GetChannelsResponse ChannelsResponse Source #
Undocumented member.