| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Pinpoint.Types.BaiduChannelResponse
Description
Synopsis
- data BaiduChannelResponse = BaiduChannelResponse' {
- applicationId :: Maybe Text
- creationDate :: Maybe Text
- enabled :: Maybe Bool
- hasCredential :: Maybe Bool
- id :: Maybe Text
- isArchived :: Maybe Bool
- lastModifiedBy :: Maybe Text
- lastModifiedDate :: Maybe Text
- version :: Maybe Int
- credential :: Text
- platform :: Text
- newBaiduChannelResponse :: Text -> Text -> BaiduChannelResponse
- baiduChannelResponse_applicationId :: Lens' BaiduChannelResponse (Maybe Text)
- baiduChannelResponse_creationDate :: Lens' BaiduChannelResponse (Maybe Text)
- baiduChannelResponse_enabled :: Lens' BaiduChannelResponse (Maybe Bool)
- baiduChannelResponse_hasCredential :: Lens' BaiduChannelResponse (Maybe Bool)
- baiduChannelResponse_id :: Lens' BaiduChannelResponse (Maybe Text)
- baiduChannelResponse_isArchived :: Lens' BaiduChannelResponse (Maybe Bool)
- baiduChannelResponse_lastModifiedBy :: Lens' BaiduChannelResponse (Maybe Text)
- baiduChannelResponse_lastModifiedDate :: Lens' BaiduChannelResponse (Maybe Text)
- baiduChannelResponse_version :: Lens' BaiduChannelResponse (Maybe Int)
- 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.
Constructors
| BaiduChannelResponse' | |
Fields
| |
Instances
newBaiduChannelResponse Source #
Arguments
| :: 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:applicationId:BaiduChannelResponse', baiduChannelResponse_applicationId - The unique identifier for the application that the Baidu channel applies
to.
$sel:creationDate:BaiduChannelResponse', baiduChannelResponse_creationDate - The date and time when the Baidu channel was enabled.
$sel:enabled:BaiduChannelResponse', baiduChannelResponse_enabled - Specifies whether the Baidu channel is enabled for the application.
$sel:hasCredential:BaiduChannelResponse', baiduChannelResponse_hasCredential - (Not used) This property is retained only for backward compatibility.
$sel:id:BaiduChannelResponse', baiduChannelResponse_id - (Deprecated) An identifier for the Baidu channel. This property is
retained only for backward compatibility.
$sel:isArchived:BaiduChannelResponse', baiduChannelResponse_isArchived - Specifies whether the Baidu channel is archived.
$sel:lastModifiedBy:BaiduChannelResponse', baiduChannelResponse_lastModifiedBy - The user who last modified the Baidu channel.
$sel:lastModifiedDate:BaiduChannelResponse', baiduChannelResponse_lastModifiedDate - The date and time when the Baidu channel was last modified.
$sel:version:BaiduChannelResponse', baiduChannelResponse_version - The current version of the Baidu channel.
$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_applicationId :: Lens' BaiduChannelResponse (Maybe Text) Source #
The unique identifier for the application that the Baidu channel applies to.
baiduChannelResponse_creationDate :: Lens' BaiduChannelResponse (Maybe Text) Source #
The date and time when the Baidu channel was enabled.
baiduChannelResponse_enabled :: Lens' BaiduChannelResponse (Maybe Bool) Source #
Specifies whether the Baidu channel is enabled for the application.
baiduChannelResponse_hasCredential :: Lens' BaiduChannelResponse (Maybe Bool) Source #
(Not used) This property is retained only for backward compatibility.
baiduChannelResponse_id :: Lens' BaiduChannelResponse (Maybe Text) Source #
(Deprecated) An identifier for the Baidu channel. This property is retained only for backward compatibility.
baiduChannelResponse_isArchived :: Lens' BaiduChannelResponse (Maybe Bool) Source #
Specifies whether the Baidu channel is archived.
baiduChannelResponse_lastModifiedBy :: Lens' BaiduChannelResponse (Maybe Text) Source #
The user who last modified the Baidu channel.
baiduChannelResponse_lastModifiedDate :: Lens' BaiduChannelResponse (Maybe Text) Source #
The date and time when the Baidu channel was last modified.
baiduChannelResponse_version :: Lens' BaiduChannelResponse (Maybe Int) Source #
The current version of the Baidu channel.
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.