| 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.GetApnsChannel
Description
Retrieves information about the status and settings of the APNs channel for an application.
Synopsis
- data GetApnsChannel = GetApnsChannel' {}
- newGetApnsChannel :: Text -> GetApnsChannel
- getApnsChannel_applicationId :: Lens' GetApnsChannel Text
- data GetApnsChannelResponse = GetApnsChannelResponse' {}
- newGetApnsChannelResponse :: Int -> APNSChannelResponse -> GetApnsChannelResponse
- getApnsChannelResponse_httpStatus :: Lens' GetApnsChannelResponse Int
- getApnsChannelResponse_aPNSChannelResponse :: Lens' GetApnsChannelResponse APNSChannelResponse
Creating a Request
data GetApnsChannel Source #
See: newGetApnsChannel smart constructor.
Constructors
| GetApnsChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetApnsChannel |
Create a value of GetApnsChannel 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:
GetApnsChannel, getApnsChannel_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
Request Lenses
getApnsChannel_applicationId :: Lens' GetApnsChannel 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 GetApnsChannelResponse Source #
See: newGetApnsChannelResponse smart constructor.
Constructors
| GetApnsChannelResponse' | |
Fields
| |
Instances
newGetApnsChannelResponse Source #
Arguments
| :: Int | |
| -> APNSChannelResponse | |
| -> GetApnsChannelResponse |
Create a value of GetApnsChannelResponse 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:GetApnsChannelResponse', getApnsChannelResponse_httpStatus - The response's http status code.
$sel:aPNSChannelResponse:GetApnsChannelResponse', getApnsChannelResponse_aPNSChannelResponse - Undocumented member.
Response Lenses
getApnsChannelResponse_httpStatus :: Lens' GetApnsChannelResponse Int Source #
The response's http status code.
getApnsChannelResponse_aPNSChannelResponse :: Lens' GetApnsChannelResponse APNSChannelResponse Source #
Undocumented member.