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 |
Synopsis
- data GCMChannelResponse = GCMChannelResponse' {
- lastModifiedDate :: Maybe Text
- enabled :: Maybe Bool
- isArchived :: Maybe Bool
- applicationId :: Maybe Text
- version :: Maybe Int
- id :: Maybe Text
- creationDate :: Maybe Text
- lastModifiedBy :: Maybe Text
- hasCredential :: Maybe Bool
- credential :: Text
- platform :: Text
- newGCMChannelResponse :: Text -> Text -> GCMChannelResponse
- gCMChannelResponse_lastModifiedDate :: Lens' GCMChannelResponse (Maybe Text)
- gCMChannelResponse_enabled :: Lens' GCMChannelResponse (Maybe Bool)
- gCMChannelResponse_isArchived :: Lens' GCMChannelResponse (Maybe Bool)
- gCMChannelResponse_applicationId :: Lens' GCMChannelResponse (Maybe Text)
- gCMChannelResponse_version :: Lens' GCMChannelResponse (Maybe Int)
- gCMChannelResponse_id :: Lens' GCMChannelResponse (Maybe Text)
- gCMChannelResponse_creationDate :: Lens' GCMChannelResponse (Maybe Text)
- gCMChannelResponse_lastModifiedBy :: Lens' GCMChannelResponse (Maybe Text)
- gCMChannelResponse_hasCredential :: Lens' GCMChannelResponse (Maybe Bool)
- 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:lastModifiedDate:GCMChannelResponse'
, gCMChannelResponse_lastModifiedDate
- The date and time when the GCM channel was last modified.
$sel:enabled:GCMChannelResponse'
, gCMChannelResponse_enabled
- Specifies whether the GCM channel is enabled for the application.
$sel:isArchived:GCMChannelResponse'
, gCMChannelResponse_isArchived
- Specifies whether the GCM channel is archived.
$sel:applicationId:GCMChannelResponse'
, gCMChannelResponse_applicationId
- The unique identifier for the application that the GCM channel applies
to.
$sel:version:GCMChannelResponse'
, gCMChannelResponse_version
- The current version of the GCM channel.
$sel:id:GCMChannelResponse'
, gCMChannelResponse_id
- (Deprecated) An identifier for the GCM channel. This property is
retained only for backward compatibility.
$sel:creationDate:GCMChannelResponse'
, gCMChannelResponse_creationDate
- The date and time when the GCM channel was enabled.
$sel:lastModifiedBy:GCMChannelResponse'
, gCMChannelResponse_lastModifiedBy
- The user who last modified the GCM channel.
$sel:hasCredential:GCMChannelResponse'
, gCMChannelResponse_hasCredential
- (Not used) This property is retained only for backward compatibility.
$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_lastModifiedDate :: Lens' GCMChannelResponse (Maybe Text) Source #
The date and time when the GCM channel was last modified.
gCMChannelResponse_enabled :: Lens' GCMChannelResponse (Maybe Bool) Source #
Specifies whether the GCM channel is enabled for the application.
gCMChannelResponse_isArchived :: Lens' GCMChannelResponse (Maybe Bool) Source #
Specifies whether the GCM channel is archived.
gCMChannelResponse_applicationId :: Lens' GCMChannelResponse (Maybe Text) Source #
The unique identifier for the application that the GCM channel applies to.
gCMChannelResponse_version :: Lens' GCMChannelResponse (Maybe Int) Source #
The current version of the GCM channel.
gCMChannelResponse_id :: Lens' GCMChannelResponse (Maybe Text) Source #
(Deprecated) An identifier for the GCM channel. This property is retained only for backward compatibility.
gCMChannelResponse_creationDate :: Lens' GCMChannelResponse (Maybe Text) Source #
The date and time when the GCM channel was enabled.
gCMChannelResponse_lastModifiedBy :: Lens' GCMChannelResponse (Maybe Text) Source #
The user who last modified the GCM channel.
gCMChannelResponse_hasCredential :: Lens' GCMChannelResponse (Maybe Bool) Source #
(Not used) This property is retained only for backward compatibility.
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.