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

Description

 
Synopsis

Documentation

data ADMChannelRequest Source #

Specifies the status and settings of the ADM (Amazon Device Messaging) channel for an application.

See: newADMChannelRequest smart constructor.

Constructors

ADMChannelRequest' 

Fields

  • enabled :: Maybe Bool

    Specifies whether to enable the ADM channel for the application.

  • clientSecret :: Text

    The Client Secret that you received from Amazon to send messages by using ADM.

  • clientId :: Text

    The Client ID that you received from Amazon to send messages by using ADM.

Instances

Instances details
Eq ADMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ADMChannelRequest

Read ADMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ADMChannelRequest

Show ADMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ADMChannelRequest

Generic ADMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ADMChannelRequest

Associated Types

type Rep ADMChannelRequest :: Type -> Type #

NFData ADMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ADMChannelRequest

Methods

rnf :: ADMChannelRequest -> () #

Hashable ADMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ADMChannelRequest

ToJSON ADMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ADMChannelRequest

type Rep ADMChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.ADMChannelRequest

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

newADMChannelRequest Source #

Create a value of ADMChannelRequest 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:ADMChannelRequest', aDMChannelRequest_enabled - Specifies whether to enable the ADM channel for the application.

$sel:clientSecret:ADMChannelRequest', aDMChannelRequest_clientSecret - The Client Secret that you received from Amazon to send messages by using ADM.

$sel:clientId:ADMChannelRequest', aDMChannelRequest_clientId - The Client ID that you received from Amazon to send messages by using ADM.

aDMChannelRequest_enabled :: Lens' ADMChannelRequest (Maybe Bool) Source #

Specifies whether to enable the ADM channel for the application.

aDMChannelRequest_clientSecret :: Lens' ADMChannelRequest Text Source #

The Client Secret that you received from Amazon to send messages by using ADM.

aDMChannelRequest_clientId :: Lens' ADMChannelRequest Text Source #

The Client ID that you received from Amazon to send messages by using ADM.