Class: Aws::Pinpoint::Types::ADMChannelRequest

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 ADMChannelRequest data as a hash:

{
  client_id: "__string",
  client_secret: "__string",
  enabled: false,
}

Amazon Device Messaging channel definition.

Instance Attribute Summary collapse

Instance Attribute Details

#client_idString

Client ID as gotten from Amazon

Returns:

  • (String)


36
37
38
39
40
41
# File 'lib/aws-sdk-pinpoint/types.rb', line 36

class ADMChannelRequest < Struct.new(
  :client_id,
  :client_secret,
  :enabled)
  include Aws::Structure
end

#client_secretString

Client secret as gotten from Amazon

Returns:

  • (String)


36
37
38
39
40
41
# File 'lib/aws-sdk-pinpoint/types.rb', line 36

class ADMChannelRequest < Struct.new(
  :client_id,
  :client_secret,
  :enabled)
  include Aws::Structure
end

#enabledBoolean

If the channel is enabled for sending messages.

Returns:

  • (Boolean)


36
37
38
39
40
41
# File 'lib/aws-sdk-pinpoint/types.rb', line 36

class ADMChannelRequest < Struct.new(
  :client_id,
  :client_secret,
  :enabled)
  include Aws::Structure
end