Class: Aws::ChimeSDKMessaging::Types::PushNotificationConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/types.rb

Overview

Note:

When making an API call, you may pass PushNotificationConfiguration data as a hash:

{
  title: "PushNotificationTitle", # required
  body: "PushNotificationBody", # required
  type: "DEFAULT", # required, accepts DEFAULT, VOIP
}

The push notification configuration of the message.

Constant Summary collapse

SENSITIVE =
[:title, :body]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The body of the push notification.

Returns:

  • (String)


2612
2613
2614
2615
2616
2617
2618
# File 'gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/types.rb', line 2612

class PushNotificationConfiguration < Struct.new(
  :title,
  :body,
  :type)
  SENSITIVE = [:title, :body]
  include Aws::Structure
end

#titleString

The title of the push notification.

Returns:

  • (String)


2612
2613
2614
2615
2616
2617
2618
# File 'gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/types.rb', line 2612

class PushNotificationConfiguration < Struct.new(
  :title,
  :body,
  :type)
  SENSITIVE = [:title, :body]
  include Aws::Structure
end

#typeString

Enum value that indicates the type of the push notification for a message. DEFAULT: Normal mobile push notification. VOIP: VOIP mobile push notification.

Returns:

  • (String)


2612
2613
2614
2615
2616
2617
2618
# File 'gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/types.rb', line 2612

class PushNotificationConfiguration < Struct.new(
  :title,
  :body,
  :type)
  SENSITIVE = [:title, :body]
  include Aws::Structure
end