CreateCustomActionRequest
¶
Source code in docs_src/capo_chatbot/types/create_custom_action_request.py
action_name
instance-attribute
¶
action_name: CustomActionName
The name of the custom action. This name is included in the Amazon Resource Name (ARN).
alias_name
instance-attribute
¶
alias_name: NotRequired[CustomActionAliasName]
The name used to invoke this action in a chat channel. For example, @aws run my-alias.
attachments
instance-attribute
¶
attachments: NotRequired[CustomActionAttachmentList]
Defines when this custom action button should be attached to a notification.
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
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.
definition
instance-attribute
¶
definition: CustomActionDefinition
The definition of the command to run when invoked as an alias or as an action button.