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 BaiduChannelResponse = BaiduChannelResponse' {
- lastModifiedDate :: Maybe Text
- enabled :: Maybe Bool
- isArchived :: Maybe Bool
- applicationId :: Maybe Text
- version :: Maybe Int
- id :: Maybe Text
- creationDate :: Maybe Text
- lastModifiedBy :: Maybe Text
- hasCredential :: Maybe Bool
- credential :: Text
- platform :: Text
- newBaiduChannelResponse :: Text -> Text -> BaiduChannelResponse
- baiduChannelResponse_lastModifiedDate :: Lens' BaiduChannelResponse (Maybe Text)
- baiduChannelResponse_enabled :: Lens' BaiduChannelResponse (Maybe Bool)
- baiduChannelResponse_isArchived :: Lens' BaiduChannelResponse (Maybe Bool)
- baiduChannelResponse_applicationId :: Lens' BaiduChannelResponse (Maybe Text)
- baiduChannelResponse_version :: Lens' BaiduChannelResponse (Maybe Int)
- baiduChannelResponse_id :: Lens' BaiduChannelResponse (Maybe Text)
- baiduChannelResponse_creationDate :: Lens' BaiduChannelResponse (Maybe Text)
- baiduChannelResponse_lastModifiedBy :: Lens' BaiduChannelResponse (Maybe Text)
- baiduChannelResponse_hasCredential :: Lens' BaiduChannelResponse (Maybe Bool)
- baiduChannelResponse_credential :: Lens' BaiduChannelResponse Text
- baiduChannelResponse_platform :: Lens' BaiduChannelResponse Text
Documentation
data BaiduChannelResponse Source #
Provides information about the status and settings of the Baidu (Baidu Cloud Push) channel for an application.
See: newBaiduChannelResponse
smart constructor.
BaiduChannelResponse' | |
|
Instances
newBaiduChannelResponse Source #
:: Text | |
-> Text | |
-> BaiduChannelResponse |
Create a value of BaiduChannelResponse
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:BaiduChannelResponse'
, baiduChannelResponse_lastModifiedDate
- The date and time when the Baidu channel was last modified.
$sel:enabled:BaiduChannelResponse'
, baiduChannelResponse_enabled
- Specifies whether the Baidu channel is enabled for the application.
$sel:isArchived:BaiduChannelResponse'
, baiduChannelResponse_isArchived
- Specifies whether the Baidu channel is archived.
$sel:applicationId:BaiduChannelResponse'
, baiduChannelResponse_applicationId
- The unique identifier for the application that the Baidu channel applies
to.
$sel:version:BaiduChannelResponse'
, baiduChannelResponse_version
- The current version of the Baidu channel.
$sel:id:BaiduChannelResponse'
, baiduChannelResponse_id
- (Deprecated) An identifier for the Baidu channel. This property is
retained only for backward compatibility.
$sel:creationDate:BaiduChannelResponse'
, baiduChannelResponse_creationDate
- The date and time when the Baidu channel was enabled.
$sel:lastModifiedBy:BaiduChannelResponse'
, baiduChannelResponse_lastModifiedBy
- The user who last modified the Baidu channel.
$sel:hasCredential:BaiduChannelResponse'
, baiduChannelResponse_hasCredential
- (Not used) This property is retained only for backward compatibility.
$sel:credential:BaiduChannelResponse'
, baiduChannelResponse_credential
- The API key that you received from the Baidu Cloud Push service to
communicate with the service.
$sel:platform:BaiduChannelResponse'
, baiduChannelResponse_platform
- The type of messaging or notification platform for the channel. For the
Baidu channel, this value is BAIDU.
baiduChannelResponse_lastModifiedDate :: Lens' BaiduChannelResponse (Maybe Text) Source #
The date and time when the Baidu channel was last modified.
baiduChannelResponse_enabled :: Lens' BaiduChannelResponse (Maybe Bool) Source #
Specifies whether the Baidu channel is enabled for the application.
baiduChannelResponse_isArchived :: Lens' BaiduChannelResponse (Maybe Bool) Source #
Specifies whether the Baidu channel is archived.
baiduChannelResponse_applicationId :: Lens' BaiduChannelResponse (Maybe Text) Source #
The unique identifier for the application that the Baidu channel applies to.
baiduChannelResponse_version :: Lens' BaiduChannelResponse (Maybe Int) Source #
The current version of the Baidu channel.
baiduChannelResponse_id :: Lens' BaiduChannelResponse (Maybe Text) Source #
(Deprecated) An identifier for the Baidu channel. This property is retained only for backward compatibility.
baiduChannelResponse_creationDate :: Lens' BaiduChannelResponse (Maybe Text) Source #
The date and time when the Baidu channel was enabled.
baiduChannelResponse_lastModifiedBy :: Lens' BaiduChannelResponse (Maybe Text) Source #
The user who last modified the Baidu channel.
baiduChannelResponse_hasCredential :: Lens' BaiduChannelResponse (Maybe Bool) Source #
(Not used) This property is retained only for backward compatibility.
baiduChannelResponse_credential :: Lens' BaiduChannelResponse Text Source #
The API key that you received from the Baidu Cloud Push service to communicate with the service.
baiduChannelResponse_platform :: Lens' BaiduChannelResponse Text Source #
The type of messaging or notification platform for the channel. For the Baidu channel, this value is BAIDU.