You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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",
  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)


1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1234

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

#enabledBoolean

If the channel is enabled for sending messages.

Returns:

  • (Boolean)


1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1234

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

#secret_keyString

Platform credential Secret key from Baidu.

Returns:

  • (String)


1234
1235
1236
1237
1238
1239
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 1234

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