Skip to content

Get Custom Action

chatbot_get_custom_action R Documentation

Returns a custom action

Description

Returns a custom action.

Usage

chatbot_get_custom_action(CustomActionArn)

Arguments

CustomActionArn

[required] Returns the fully defined Amazon Resource Name (ARN) of the custom action.

Value

A list with the following syntax:

list(
  CustomAction = list(
    CustomActionArn = "string",
    Definition = list(
      CommandText = "string"
    ),
    AliasName = "string",
    Attachments = list(
      list(
        NotificationType = "string",
        ButtonText = "string",
        Criteria = list(
          list(
            Operator = "HAS_VALUE"|"EQUALS",
            VariableName = "string",
            Value = "string"
          )
        ),
        Variables = list(
          "string"
        )
      )
    ),
    ActionName = "string"
  )
)

Request syntax

svc$get_custom_action(
  CustomActionArn = "string"
)