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 |
Documentation
data GCMChannelRequest Source #
Specifies the status and settings of the GCM channel for an application. This channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
See: newGCMChannelRequest
smart constructor.
Instances
Create a value of GCMChannelRequest
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:enabled:GCMChannelRequest'
, gCMChannelRequest_enabled
- Specifies whether to enable the GCM channel for the application.
$sel:apiKey:GCMChannelRequest'
, gCMChannelRequest_apiKey
- The Web API Key, also referred to as an API_KEY or server key, that
you received from Google to communicate with Google services.
gCMChannelRequest_enabled :: Lens' GCMChannelRequest (Maybe Bool) Source #
Specifies whether to enable the GCM channel for the application.
gCMChannelRequest_apiKey :: Lens' GCMChannelRequest Text Source #
The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.