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 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.
GetApnsChannel' | |
|
Instances
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:
$sel:applicationId: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.
GetApnsChannelResponse' | |
|
Instances
newGetApnsChannelResponse Source #
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.