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

Class: Aws::Pinpoint::Types::APNSChannelRequest

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

{
  certificate: "__string",
  enabled: false,
  private_key: "__string",
}

Apple Push Notification Service channel definition.

Instance Attribute Summary collapse

Instance Attribute Details

#certificateString

The distribution certificate from Apple.

Returns:

  • (String)


34
35
36
37
38
39
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 34

class APNSChannelRequest < Struct.new(
  :certificate,
  :enabled,
  :private_key)
  include Aws::Structure
end

#enabledBoolean

If the channel is enabled for sending messages.

Returns:

  • (Boolean)


34
35
36
37
38
39
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 34

class APNSChannelRequest < Struct.new(
  :certificate,
  :enabled,
  :private_key)
  include Aws::Structure
end

#private_keyString

The certificate private key.

Returns:

  • (String)


34
35
36
37
38
39
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 34

class APNSChannelRequest < Struct.new(
  :certificate,
  :enabled,
  :private_key)
  include Aws::Structure
end