amazonka-pinpoint-2.0: Amazon Pinpoint SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Pinpoint.Types.GCMChannelResponse

Description

 
Synopsis

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.

Constructors

GCMChannelResponse' 

Fields

  • applicationId :: Maybe Text

    The unique identifier for the application that the GCM channel applies to.

  • creationDate :: Maybe Text

    The date and time when the GCM channel was enabled.

  • enabled :: Maybe Bool

    Specifies whether the GCM channel is enabled for the application.

  • hasCredential :: Maybe Bool

    (Not used) This property is retained only for backward compatibility.

  • id :: Maybe Text

    (Deprecated) An identifier for the GCM channel. This property is retained only for backward compatibility.

  • isArchived :: Maybe Bool

    Specifies whether the GCM channel is archived.

  • lastModifiedBy :: Maybe Text

    The user who last modified the GCM channel.

  • lastModifiedDate :: Maybe Text

    The date and time when the GCM channel was last modified.

  • version :: Maybe Int

    The current version of the GCM channel.

  • credential :: Text

    The Web API Key, also referred to as an API_KEY or server key, that you received from Google to communicate with Google services.

  • platform :: Text

    The type of messaging or notification platform for the channel. For the GCM channel, this value is GCM.

Instances

Instances details
FromJSON GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

Generic GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

Associated Types

type Rep GCMChannelResponse :: Type -> Type #

Read GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

Show GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

NFData GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

Methods

rnf :: GCMChannelResponse -> () #

Eq GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

Hashable GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

type Rep GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

newGCMChannelResponse Source #

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.