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

Description

 
Synopsis

Documentation

data BaiduChannelRequest Source #

Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application.

See: newBaiduChannelRequest smart constructor.

Constructors

BaiduChannelRequest' 

Fields

  • enabled :: Maybe Bool

    Specifies whether to enable the Baidu channel for the application.

  • secretKey :: Text

    The secret key that you received from the Baidu Cloud Push service to communicate with the service.

  • apiKey :: Text

    The API key that you received from the Baidu Cloud Push service to communicate with the service.

Instances

Instances details
Eq BaiduChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelRequest

Read BaiduChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelRequest

Show BaiduChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelRequest

Generic BaiduChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelRequest

Associated Types

type Rep BaiduChannelRequest :: Type -> Type #

NFData BaiduChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelRequest

Methods

rnf :: BaiduChannelRequest -> () #

Hashable BaiduChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelRequest

ToJSON BaiduChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelRequest

type Rep BaiduChannelRequest Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelRequest

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

newBaiduChannelRequest Source #

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

$sel:secretKey:BaiduChannelRequest', baiduChannelRequest_secretKey - The secret key that you received from the Baidu Cloud Push service to communicate with the service.

$sel:apiKey:BaiduChannelRequest', baiduChannelRequest_apiKey - The API key that you received from the Baidu Cloud Push service to communicate with the service.

baiduChannelRequest_enabled :: Lens' BaiduChannelRequest (Maybe Bool) Source #

Specifies whether to enable the Baidu channel for the application.

baiduChannelRequest_secretKey :: Lens' BaiduChannelRequest Text Source #

The secret key that you received from the Baidu Cloud Push service to communicate with the service.

baiduChannelRequest_apiKey :: Lens' BaiduChannelRequest Text Source #

The API key that you received from the Baidu Cloud Push service to communicate with the service.