amazonka-pinpoint-2.0: Amazon Pinpoint SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Pinpoint.Types.BaiduChannelResponse

Description

 
Synopsis

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

  • applicationId :: Maybe Text

    The unique identifier for the application that the Baidu channel applies to.

  • creationDate :: Maybe Text

    The date and time when the Baidu channel was enabled.

  • enabled :: Maybe Bool

    Specifies whether the Baidu channel is enabled for the application.

  • hasCredential :: Maybe Bool

    (Not used) This property is retained only for backward compatibility.

  • id :: Maybe Text

    (Deprecated) An identifier for the Baidu channel. This property is retained only for backward compatibility.

  • isArchived :: Maybe Bool

    Specifies whether the Baidu channel is archived.

  • lastModifiedBy :: Maybe Text

    The user who last modified the Baidu channel.

  • lastModifiedDate :: Maybe Text

    The date and time when the Baidu channel was last modified.

  • version :: Maybe Int

    The current version of the Baidu channel.

  • credential :: Text

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

  • platform :: Text

    The type of messaging or notification platform for the channel. For the Baidu channel, this value is BAIDU.

Instances

Instances details
FromJSON BaiduChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelResponse

Generic BaiduChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelResponse

Associated Types

type Rep BaiduChannelResponse :: Type -> Type #

Read BaiduChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelResponse

Show BaiduChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelResponse

NFData BaiduChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelResponse

Methods

rnf :: BaiduChannelResponse -> () #

Eq BaiduChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelResponse

Hashable BaiduChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelResponse

type Rep BaiduChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelResponse

type Rep BaiduChannelResponse = D1 ('MetaData "BaiduChannelResponse" "Amazonka.Pinpoint.Types.BaiduChannelResponse" "amazonka-pinpoint-2.0-GBFs9S7wa7bFiDe66NqAzt" 'False) (C1 ('MetaCons "BaiduChannelResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "hasCredential") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "isArchived") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "lastModifiedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "credential") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "platform") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newBaiduChannelResponse Source #

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.