Class: Aws::Chatbot::Types::CustomActionAttachment

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

Overview

Defines when a custom action button should be attached to a notification.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#button_textString

The text of the button that appears on the notification.

Returns:

  • (String)


641
642
643
644
645
646
647
648
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/types.rb', line 641

class CustomActionAttachment < Struct.new(
  :notification_type,
  :button_text,
  :criteria,
  :variables)
  SENSITIVE = []
  include Aws::Structure
end

#criteriaArray<Types::CustomActionAttachmentCriteria>

The criteria for when a button should be shown based on values in the notification.



641
642
643
644
645
646
647
648
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/types.rb', line 641

class CustomActionAttachment < Struct.new(
  :notification_type,
  :button_text,
  :criteria,
  :variables)
  SENSITIVE = []
  include Aws::Structure
end

#notification_typeString

The type of notification that the custom action should be attached to.

Returns:

  • (String)


641
642
643
644
645
646
647
648
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/types.rb', line 641

class CustomActionAttachment < Struct.new(
  :notification_type,
  :button_text,
  :criteria,
  :variables)
  SENSITIVE = []
  include Aws::Structure
end

#variablesHash<String,String>

The variables to extract from the notification.

Returns:

  • (Hash<String,String>)


641
642
643
644
645
646
647
648
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/types.rb', line 641

class CustomActionAttachment < Struct.new(
  :notification_type,
  :button_text,
  :criteria,
  :variables)
  SENSITIVE = []
  include Aws::Structure
end