Class: Aws::Chatbot::Types::CustomAction

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-chatbot/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

Instance Attribute Details

#action_nameString

The name of the custom action that is included in the ARN.

Returns:

  • (String)


608
609
610
611
612
613
614
615
616
# File 'gems/aws-sdk-chatbot/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_nameString

The name used to invoke this action in the chat channel. For example, @aws run my-alias.

Returns:

  • (String)


608
609
610
611
612
613
614
615
616
# File 'gems/aws-sdk-chatbot/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

#attachmentsArray<Types::CustomActionAttachment>

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

Returns:



608
609
610
611
612
613
614
615
616
# File 'gems/aws-sdk-chatbot/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_arnString

The fully defined Amazon Resource Name (ARN) of the custom action.

Returns:

  • (String)


608
609
610
611
612
613
614
615
616
# File 'gems/aws-sdk-chatbot/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

#definitionTypes::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 'gems/aws-sdk-chatbot/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