Class: Aws::Chatbot::Types::CustomActionAttachment
- Inherits:
-
Struct
- Object
- Struct
- Aws::Chatbot::Types::CustomActionAttachment
- 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
-
#button_text ⇒ String
The text of the button that appears on the notification.
-
#criteria ⇒ Array<Types::CustomActionAttachmentCriteria>
The criteria for when a button should be shown based on values in the notification.
-
#notification_type ⇒ String
The type of notification that the custom action should be attached to.
-
#variables ⇒ Hash<String,String>
The variables to extract from the notification.
Instance Attribute Details
#button_text ⇒ String
The text of the button that appears on 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 |
#criteria ⇒ Array<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_type ⇒ String
The type of notification that the custom action should be attached to.
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 |
#variables ⇒ Hash<String,String>
The variables to extract from 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 |