Class: Aws::Chatbot::Types::CreateCustomActionRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_nameString

The name of the custom action. This name is included in the Amazon Resource Name (ARN).

Returns:

  • (String)


342
343
344
345
346
347
348
349
350
351
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/types.rb', line 342

class CreateCustomActionRequest < Struct.new(
  :definition,
  :alias_name,
  :attachments,
  :tags,
  :client_token,
  :action_name)
  SENSITIVE = []
  include Aws::Structure
end

#alias_nameString

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

Returns:

  • (String)


342
343
344
345
346
347
348
349
350
351
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/types.rb', line 342

class CreateCustomActionRequest < Struct.new(
  :definition,
  :alias_name,
  :attachments,
  :tags,
  :client_token,
  :action_name)
  SENSITIVE = []
  include Aws::Structure
end

#attachmentsArray<Types::CustomActionAttachment>

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

Returns:



342
343
344
345
346
347
348
349
350
351
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/types.rb', line 342

class CreateCustomActionRequest < Struct.new(
  :definition,
  :alias_name,
  :attachments,
  :tags,
  :client_token,
  :action_name)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.

If you do not specify a client token, one is automatically generated by the SDK.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


342
343
344
345
346
347
348
349
350
351
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/types.rb', line 342

class CreateCustomActionRequest < Struct.new(
  :definition,
  :alias_name,
  :attachments,
  :tags,
  :client_token,
  :action_name)
  SENSITIVE = []
  include Aws::Structure
end

#definitionTypes::CustomActionDefinition

The definition of the command to run when invoked as an alias or as an action button.



342
343
344
345
346
347
348
349
350
351
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/types.rb', line 342

class CreateCustomActionRequest < Struct.new(
  :definition,
  :alias_name,
  :attachments,
  :tags,
  :client_token,
  :action_name)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A map of tags assigned to a resource. A tag is a string-to-string map of key-value pairs.

Returns:



342
343
344
345
346
347
348
349
350
351
# File 'gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/types.rb', line 342

class CreateCustomActionRequest < Struct.new(
  :definition,
  :alias_name,
  :attachments,
  :tags,
  :client_token,
  :action_name)
  SENSITIVE = []
  include Aws::Structure
end