Updates a custom action¶
Description¶
Updates a custom action.
Usage¶
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.
-
AliasNameThe name used to invoke this action in the chat channel. For example,
@aws run my-alias. -
AttachmentsDefines when this custom action button should be attached to a notification.
Value¶
A list with the following syntax:
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"
)
)
)
)