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

  • lastModifiedDate :: Maybe Text

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

  • enabled :: Maybe Bool

    Specifies whether the Baidu channel is enabled for the application.

  • isArchived :: Maybe Bool

    Specifies whether the Baidu channel is archived.

  • applicationId :: Maybe Text

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

  • version :: Maybe Int

    The current version of the Baidu channel.

  • id :: Maybe Text

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

  • creationDate :: Maybe Text

    The date and time when the Baidu channel was enabled.

  • lastModifiedBy :: Maybe Text

    The user who last modified the Baidu channel.

  • hasCredential :: Maybe Bool

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

  • 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
Eq BaiduChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelResponse

Read BaiduChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelResponse

Show 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 #

NFData BaiduChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelResponse

Methods

rnf :: BaiduChannelResponse -> () #

Hashable BaiduChannelResponse Source # 
Instance details

Defined in Amazonka.Pinpoint.Types.BaiduChannelResponse

FromJSON 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" "libZSservicesZSamazonka-pinpointZSamazonka-pinpoint" 'False) (C1 ('MetaCons "BaiduChannelResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "lastModifiedDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "isArchived") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModifiedBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "hasCredential") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (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: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.