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

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

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 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 'gems/aws-sdk-pinpoint/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 'gems/aws-sdk-pinpoint/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 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 36

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