Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data BaiduChannelRequest = BaiduChannelRequest' {}
- newBaiduChannelRequest :: Text -> Text -> BaiduChannelRequest
- baiduChannelRequest_enabled :: Lens' BaiduChannelRequest (Maybe Bool)
- baiduChannelRequest_secretKey :: Lens' BaiduChannelRequest Text
- baiduChannelRequest_apiKey :: Lens' BaiduChannelRequest Text
Documentation
data BaiduChannelRequest Source #
Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application.
See: newBaiduChannelRequest
smart constructor.
BaiduChannelRequest' | |
|
Instances
newBaiduChannelRequest Source #
:: Text | |
-> Text | |
-> BaiduChannelRequest |
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.