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 VoIP channel for an application or updates the status and settings of the APNs VoIP channel for an application.
Synopsis
- data UpdateApnsVoipChannel = UpdateApnsVoipChannel' {}
- newUpdateApnsVoipChannel :: Text -> APNSVoipChannelRequest -> UpdateApnsVoipChannel
- updateApnsVoipChannel_applicationId :: Lens' UpdateApnsVoipChannel Text
- updateApnsVoipChannel_aPNSVoipChannelRequest :: Lens' UpdateApnsVoipChannel APNSVoipChannelRequest
- data UpdateApnsVoipChannelResponse = UpdateApnsVoipChannelResponse' {}
- newUpdateApnsVoipChannelResponse :: Int -> APNSVoipChannelResponse -> UpdateApnsVoipChannelResponse
- updateApnsVoipChannelResponse_httpStatus :: Lens' UpdateApnsVoipChannelResponse Int
- updateApnsVoipChannelResponse_aPNSVoipChannelResponse :: Lens' UpdateApnsVoipChannelResponse APNSVoipChannelResponse
Creating a Request
data UpdateApnsVoipChannel Source #
See: newUpdateApnsVoipChannel
smart constructor.
UpdateApnsVoipChannel' | |
|
Instances
newUpdateApnsVoipChannel Source #
Create a value of UpdateApnsVoipChannel
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:UpdateApnsVoipChannel'
, updateApnsVoipChannel_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:aPNSVoipChannelRequest:UpdateApnsVoipChannel'
, updateApnsVoipChannel_aPNSVoipChannelRequest
- Undocumented member.
Request Lenses
updateApnsVoipChannel_applicationId :: Lens' UpdateApnsVoipChannel Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
updateApnsVoipChannel_aPNSVoipChannelRequest :: Lens' UpdateApnsVoipChannel APNSVoipChannelRequest Source #
Undocumented member.
Destructuring the Response
data UpdateApnsVoipChannelResponse Source #
See: newUpdateApnsVoipChannelResponse
smart constructor.
UpdateApnsVoipChannelResponse' | |
|
Instances
newUpdateApnsVoipChannelResponse Source #
Create a value of UpdateApnsVoipChannelResponse
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:UpdateApnsVoipChannelResponse'
, updateApnsVoipChannelResponse_httpStatus
- The response's http status code.
$sel:aPNSVoipChannelResponse:UpdateApnsVoipChannelResponse'
, updateApnsVoipChannelResponse_aPNSVoipChannelResponse
- Undocumented member.
Response Lenses
updateApnsVoipChannelResponse_httpStatus :: Lens' UpdateApnsVoipChannelResponse Int Source #
The response's http status code.