Class: Aws::Chatbot::Types::CustomAction
- Inherits:
-
Struct
- Object
- Struct
- Aws::Chatbot::Types::CustomAction
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-chatbot/types.rb
Overview
Represents a parameterized command that can be invoked as an alias or as a notification button in the chat client.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action_name ⇒ String
The name of the custom action that is included in the ARN.
-
#alias_name ⇒ String
The name used to invoke this action in the chat channel.
-
#attachments ⇒ Array<Types::CustomActionAttachment>
Defines when this custom action button should be attached to a notification.
-
#custom_action_arn ⇒ String
The fully defined Amazon Resource Name (ARN) of the custom action.
-
#definition ⇒ Types::CustomActionDefinition
The definition of the command to run when invoked an alias or as an action button.
Instance Attribute Details
#action_name ⇒ String
The name of the custom action that is included in the ARN.
608 609 610 611 612 613 614 615 616 |
# File 'lib/aws-sdk-chatbot/types.rb', line 608 class CustomAction < Struct.new( :custom_action_arn, :definition, :alias_name, :attachments, :action_name) SENSITIVE = [] include Aws::Structure end |
#alias_name ⇒ String
The name used to invoke this action in the chat channel. For example, ‘@aws run my-alias`.
608 609 610 611 612 613 614 615 616 |
# File 'lib/aws-sdk-chatbot/types.rb', line 608 class CustomAction < Struct.new( :custom_action_arn, :definition, :alias_name, :attachments, :action_name) SENSITIVE = [] include Aws::Structure end |
#attachments ⇒ Array<Types::CustomActionAttachment>
Defines when this custom action button should be attached to a notification.
608 609 610 611 612 613 614 615 616 |
# File 'lib/aws-sdk-chatbot/types.rb', line 608 class CustomAction < Struct.new( :custom_action_arn, :definition, :alias_name, :attachments, :action_name) SENSITIVE = [] include Aws::Structure end |
#custom_action_arn ⇒ String
The fully defined Amazon Resource Name (ARN) of the custom action.
608 609 610 611 612 613 614 615 616 |
# File 'lib/aws-sdk-chatbot/types.rb', line 608 class CustomAction < Struct.new( :custom_action_arn, :definition, :alias_name, :attachments, :action_name) SENSITIVE = [] include Aws::Structure end |
#definition ⇒ Types::CustomActionDefinition
The definition of the command to run when invoked an alias or as an action button.
608 609 610 611 612 613 614 615 616 |
# File 'lib/aws-sdk-chatbot/types.rb', line 608 class CustomAction < Struct.new( :custom_action_arn, :definition, :alias_name, :attachments, :action_name) SENSITIVE = [] include Aws::Structure end |