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

Description

 
Synopsis

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.

Constructors

GCMChannelRequest' 

Fields

  • enabled :: Maybe Bool

    Specifies whether to enable the GCM channel for the application.

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

Instances

Instances details
Eq GCMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelRequest

Read GCMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelRequest

Show GCMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelRequest

Generic GCMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelRequest

Associated Types

type Rep GCMChannelRequest :: Type -> Type #

NFData GCMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelRequest

Methods

rnf :: GCMChannelRequest -> () #

Hashable GCMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelRequest

ToJSON GCMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelRequest

type Rep GCMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.GCMChannelRequest

type Rep GCMChannelRequest = D1 ('MetaData "GCMChannelRequest" "Amazonka.Pinpoint.Types.GCMChannelRequest" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "GCMChannelRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "apiKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGCMChannelRequest Source #

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.