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.

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)


2054
2055
2056
2057
2058
2059
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 2054

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

#enabledBoolean

Specifies whether to enable the Baidu channel for the application.

Returns:

  • (Boolean)


2054
2055
2056
2057
2058
2059
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 2054

class BaiduChannelRequest < Struct.new(
  :api_key,
  :enabled,
  :secret_key)
  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)


2054
2055
2056
2057
2058
2059
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 2054

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