| 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.UpdateGcmChannel
Description
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.
Constructors
| UpdateGcmChannel' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GCMChannelRequest | |
| -> UpdateGcmChannel |
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:
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.
Constructors
| UpdateGcmChannelResponse' | |
Fields
| |
Instances
newUpdateGcmChannelResponse Source #
Arguments
| :: Int | |
| -> GCMChannelResponse | |
| -> UpdateGcmChannelResponse |
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.