libZSservicesZSamazonka-pinpointZSamazonka-pinpoint
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • lastModifiedDate :: Maybe Text

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

  • enabled :: Maybe Bool

    Specifies whether the GCM channel is enabled for the application.

  • isArchived :: Maybe Bool

    Specifies whether the GCM channel is archived.

  • applicationId :: Maybe Text

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

  • version :: Maybe Int

    The current version of the GCM channel.

  • id :: Maybe Text

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

  • creationDate :: Maybe Text

    The date and time when the GCM channel was enabled.

  • lastModifiedBy :: Maybe Text

    The user who last modified the GCM channel.

  • hasCredential :: Maybe Bool

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

  • 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
Eq GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

Read GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

Show 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 #

NFData GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

Methods

rnf :: GCMChannelResponse -> () #

Hashable GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

FromJSON GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

type Rep GCMChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelResponse

type Rep GCMChannelResponse = D1 ('MetaData "GCMChannelResponse" "Amazonka.Pinpoint.Types.GCMChannelResponse" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "GCMChannelResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "isArchived") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModifiedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "hasCredential") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "credential") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

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: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.