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 GCM channel for an application or updates the status and settings of the GCM channel for an application.
Synopsis
- data UpdateGcmChannel = UpdateGcmChannel' {}
- newUpdateGcmChannel :: Text -> GCMChannelRequest -> UpdateGcmChannel
- updateGcmChannel_applicationId :: Lens' UpdateGcmChannel Text
- updateGcmChannel_gCMChannelRequest :: Lens' UpdateGcmChannel GCMChannelRequest
- data UpdateGcmChannelResponse = UpdateGcmChannelResponse' {}
- newUpdateGcmChannelResponse :: Int -> GCMChannelResponse -> UpdateGcmChannelResponse
- updateGcmChannelResponse_httpStatus :: Lens' UpdateGcmChannelResponse Int
- updateGcmChannelResponse_gCMChannelResponse :: Lens' UpdateGcmChannelResponse GCMChannelResponse
Creating a Request
data UpdateGcmChannel Source #
See: newUpdateGcmChannel
smart constructor.
UpdateGcmChannel' | |
|
Instances
Create a value of UpdateGcmChannel
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:UpdateGcmChannel'
, updateGcmChannel_applicationId
- The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:gCMChannelRequest:UpdateGcmChannel'
, updateGcmChannel_gCMChannelRequest
- Undocumented member.
Request Lenses
updateGcmChannel_applicationId :: Lens' UpdateGcmChannel Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
updateGcmChannel_gCMChannelRequest :: Lens' UpdateGcmChannel GCMChannelRequest Source #
Undocumented member.
Destructuring the Response
data UpdateGcmChannelResponse Source #
See: newUpdateGcmChannelResponse
smart constructor.
UpdateGcmChannelResponse' | |
|
Instances
newUpdateGcmChannelResponse Source #
Create a value of UpdateGcmChannelResponse
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:UpdateGcmChannelResponse'
, updateGcmChannelResponse_httpStatus
- The response's http status code.
$sel:gCMChannelResponse:UpdateGcmChannelResponse'
, updateGcmChannelResponse_gCMChannelResponse
- Undocumented member.
Response Lenses
updateGcmChannelResponse_httpStatus :: Lens' UpdateGcmChannelResponse Int Source #
The response's http status code.
updateGcmChannelResponse_gCMChannelResponse :: Lens' UpdateGcmChannelResponse GCMChannelResponse Source #
Undocumented member.