Class: Aws::ChimeSDKMessaging::Types::PushNotificationPreferences

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

{
  allow_notifications: "ALL", # required, accepts ALL, NONE, FILTERED
  filter_rule: "FilterRule",
}

The channel membership preferences for push notification.

Constant Summary collapse

SENSITIVE =
[:filter_rule]

Instance Attribute Summary collapse

Instance Attribute Details

#allow_notificationsString

Enum value that indicates which push notifications to send to the requested member of a channel. ALL sends all push notifications, NONE sends no push notifications, FILTERED sends only filtered push notifications.

Returns:

  • (String)


2674
2675
2676
2677
2678
2679
# File 'gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/types.rb', line 2674

class PushNotificationPreferences < Struct.new(
  :allow_notifications,
  :filter_rule)
  SENSITIVE = [:filter_rule]
  include Aws::Structure
end

#filter_ruleString

The simple JSON object used to send a subset of a push notification to the requsted member.

Returns:

  • (String)


2674
2675
2676
2677
2678
2679
# File 'gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/types.rb', line 2674

class PushNotificationPreferences < Struct.new(
  :allow_notifications,
  :filter_rule)
  SENSITIVE = [:filter_rule]
  include Aws::Structure
end