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 |
Enables the APNs channel for an application or updates the status and settings of the APNs channel for an application.
Synopsis
- data UpdateApnsChannel = UpdateApnsChannel' {}
- newUpdateApnsChannel :: Text -> APNSChannelRequest -> UpdateApnsChannel
- updateApnsChannel_applicationId :: Lens' UpdateApnsChannel Text
- updateApnsChannel_aPNSChannelRequest :: Lens' UpdateApnsChannel APNSChannelRequest
- data UpdateApnsChannelResponse = UpdateApnsChannelResponse' {}
- newUpdateApnsChannelResponse :: Int -> APNSChannelResponse -> UpdateApnsChannelResponse
- updateApnsChannelResponse_httpStatus :: Lens' UpdateApnsChannelResponse Int
- updateApnsChannelResponse_aPNSChannelResponse :: Lens' UpdateApnsChannelResponse APNSChannelResponse
Creating a Request
data UpdateApnsChannel Source #
See: newUpdateApnsChannel
smart constructor.
UpdateApnsChannel' | |
|
Instances
Create a value of UpdateApnsChannel
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:UpdateApnsChannel'
, updateApnsChannel_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:aPNSChannelRequest:UpdateApnsChannel'
, updateApnsChannel_aPNSChannelRequest
- Undocumented member.
Request Lenses
updateApnsChannel_applicationId :: Lens' UpdateApnsChannel Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
updateApnsChannel_aPNSChannelRequest :: Lens' UpdateApnsChannel APNSChannelRequest Source #
Undocumented member.
Destructuring the Response
data UpdateApnsChannelResponse Source #
See: newUpdateApnsChannelResponse
smart constructor.
UpdateApnsChannelResponse' | |
|
Instances
newUpdateApnsChannelResponse Source #
Create a value of UpdateApnsChannelResponse
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:UpdateApnsChannelResponse'
, updateApnsChannelResponse_httpStatus
- The response's http status code.
$sel:aPNSChannelResponse:UpdateApnsChannelResponse'
, updateApnsChannelResponse_aPNSChannelResponse
- Undocumented member.
Response Lenses
updateApnsChannelResponse_httpStatus :: Lens' UpdateApnsChannelResponse Int Source #
The response's http status code.
updateApnsChannelResponse_aPNSChannelResponse :: Lens' UpdateApnsChannelResponse APNSChannelResponse Source #
Undocumented member.