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

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

Overview

Note:

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

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

Specifies the status and settings of the Baidu (Baidu Cloud Push) channel for an application.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#api_keyString

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

Returns:

  • (String)


2126
2127
2128
2129
2130
2131
2132
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 2126

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

#enabledBoolean

Specifies whether to enable the Baidu channel for the application.

Returns:

  • (Boolean)


2126
2127
2128
2129
2130
2131
2132
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 2126

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

#secret_keyString

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

Returns:

  • (String)


2126
2127
2128
2129
2130
2131
2132
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 2126

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