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 |
Synopsis
- data GCMChannelResponse = GCMChannelResponse' {
- applicationId :: Maybe Text
- creationDate :: Maybe Text
- enabled :: Maybe Bool
- hasCredential :: Maybe Bool
- id :: Maybe Text
- isArchived :: Maybe Bool
- lastModifiedBy :: Maybe Text
- lastModifiedDate :: Maybe Text
- version :: Maybe Int
- credential :: Text
- platform :: Text
- newGCMChannelResponse :: Text -> Text -> GCMChannelResponse
- gCMChannelResponse_applicationId :: Lens' GCMChannelResponse (Maybe Text)
- gCMChannelResponse_creationDate :: Lens' GCMChannelResponse (Maybe Text)
- gCMChannelResponse_enabled :: Lens' GCMChannelResponse (Maybe Bool)
- gCMChannelResponse_hasCredential :: Lens' GCMChannelResponse (Maybe Bool)
- gCMChannelResponse_id :: Lens' GCMChannelResponse (Maybe Text)
- gCMChannelResponse_isArchived :: Lens' GCMChannelResponse (Maybe Bool)
- gCMChannelResponse_lastModifiedBy :: Lens' GCMChannelResponse (Maybe Text)
- gCMChannelResponse_lastModifiedDate :: Lens' GCMChannelResponse (Maybe Text)
- gCMChannelResponse_version :: Lens' GCMChannelResponse (Maybe Int)
- gCMChannelResponse_credential :: Lens' GCMChannelResponse Text
- gCMChannelResponse_platform :: Lens' GCMChannelResponse Text
Documentation
data GCMChannelResponse Source #
Provides information about the status and settings of the GCM channel for an application. The GCM channel enables Amazon Pinpoint to send push notifications through the Firebase Cloud Messaging (FCM), formerly Google Cloud Messaging (GCM), service.
See: newGCMChannelResponse
smart constructor.
GCMChannelResponse' | |
|
Instances
newGCMChannelResponse Source #
:: Text | |
-> Text | |
-> GCMChannelResponse |
Create a value of GCMChannelResponse
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:GCMChannelResponse'
, gCMChannelResponse_applicationId
- The unique identifier for the application that the GCM channel applies
to.
$sel:creationDate:GCMChannelResponse'
, gCMChannelResponse_creationDate
- The date and time when the GCM channel was enabled.
$sel:enabled:GCMChannelResponse'
, gCMChannelResponse_enabled
- Specifies whether the GCM channel is enabled for the application.
$sel:hasCredential:GCMChannelResponse'
, gCMChannelResponse_hasCredential
- (Not used) This property is retained only for backward compatibility.
$sel:id:GCMChannelResponse'
, gCMChannelResponse_id
- (Deprecated) An identifier for the GCM channel. This property is
retained only for backward compatibility.
$sel:isArchived:GCMChannelResponse'
, gCMChannelResponse_isArchived
- Specifies whether the GCM channel is archived.
$sel:lastModifiedBy:GCMChannelResponse'
, gCMChannelResponse_lastModifiedBy
- The user who last modified the GCM channel.
$sel:lastModifiedDate:GCMChannelResponse'
, gCMChannelResponse_lastModifiedDate
- The date and time when the GCM channel was last modified.
$sel:version:GCMChannelResponse'
, gCMChannelResponse_version
- The current version of the GCM channel.
$sel:credential:GCMChannelResponse'
, gCMChannelResponse_credential
- The Web API Key, also referred to as an API_KEY or server key, that
you received from Google to communicate with Google services.
$sel:platform:GCMChannelResponse'
, gCMChannelResponse_platform
- The type of messaging or notification platform for the channel. For the
GCM channel, this value is GCM.
gCMChannelResponse_applicationId :: Lens' GCMChannelResponse (Maybe Text) Source #
The unique identifier for the application that the GCM channel applies to.
gCMChannelResponse_creationDate :: Lens' GCMChannelResponse (Maybe Text) Source #
The date and time when the GCM channel was enabled.
gCMChannelResponse_enabled :: Lens' GCMChannelResponse (Maybe Bool) Source #
Specifies whether the GCM channel is enabled for the application.
gCMChannelResponse_hasCredential :: Lens' GCMChannelResponse (Maybe Bool) Source #
(Not used) This property is retained only for backward compatibility.
gCMChannelResponse_id :: Lens' GCMChannelResponse (Maybe Text) Source #
(Deprecated) An identifier for the GCM channel. This property is retained only for backward compatibility.
gCMChannelResponse_isArchived :: Lens' GCMChannelResponse (Maybe Bool) Source #
Specifies whether the GCM channel is archived.
gCMChannelResponse_lastModifiedBy :: Lens' GCMChannelResponse (Maybe Text) Source #
The user who last modified the GCM channel.
gCMChannelResponse_lastModifiedDate :: Lens' GCMChannelResponse (Maybe Text) Source #
The date and time when the GCM channel was last modified.
gCMChannelResponse_version :: Lens' GCMChannelResponse (Maybe Int) Source #
The current version of the GCM channel.
gCMChannelResponse_credential :: Lens' GCMChannelResponse 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.
gCMChannelResponse_platform :: Lens' GCMChannelResponse Text Source #
The type of messaging or notification platform for the channel. For the GCM channel, this value is GCM.