Class: Aws::Pinpoint::Types::BaiduChannelRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpoint/types.rb

Overview

Note:

When making an API call, you may pass BaiduChannelRequest data as a hash:

{
  api_key: "__string",
  enabled: false,
  secret_key: "__string",
}

Baidu Cloud Push credentials

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyString

Platform credential API key from Baidu.

Returns:

  • (String)


1258
1259
1260
1261
1262
1263
# File 'lib/aws-sdk-pinpoint/types.rb', line 1258

class BaiduChannelRequest < Struct.new(
  :api_key,
  :enabled,
  :secret_key)
  include Aws::Structure
end

#enabledBoolean

If the channel is enabled for sending messages.

Returns:

  • (Boolean)


1258
1259
1260
1261
1262
1263
# File 'lib/aws-sdk-pinpoint/types.rb', line 1258

class BaiduChannelRequest < Struct.new(
  :api_key,
  :enabled,
  :secret_key)
  include Aws::Structure
end

#secret_keyString

Platform credential Secret key from Baidu.

Returns:

  • (String)


1258
1259
1260
1261
1262
1263
# File 'lib/aws-sdk-pinpoint/types.rb', line 1258

class BaiduChannelRequest < Struct.new(
  :api_key,
  :enabled,
  :secret_key)
  include Aws::Structure
end