Update Custom Action
chatbot_update_custom_action | R Documentation |
Updates a custom action¶
Description¶
Updates a custom action.
Usage¶
chatbot_update_custom_action(CustomActionArn, Definition, AliasName,
Attachments)
Arguments¶
CustomActionArn |
[required] The fully defined Amazon Resource Name (ARN) of the custom action. |
Definition |
[required] The definition of the command to run when invoked as an alias or as an action button. |
AliasName |
The name used to invoke this action in the chat channel. For
example, |
Attachments |
Defines when this custom action button should be attached to a notification. |
Value¶
A list with the following syntax:
list(
CustomActionArn = "string"
)
Request syntax¶
svc$update_custom_action(
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"
)
)
)
)