Skip to content

ImageCustomAction

Source code in docs_src/capo_quicksight/types/image_custom_action.py
class ImageCustomAction(TypedDict, closed=True):
    custom_action_id: (
        "capo_quicksight.types.short_restrictive_resource_id.ShortRestrictiveResourceId"
    )
    """<p>The ID of the custom action.</p>"""
    name: "capo_quicksight.types.image_custom_action_name.ImageCustomActionName"
    """<p>The name of the custom action.</p>"""
    status: NotRequired["capo_quicksight.types.widget_status.WidgetStatus"]
    """<p>The status of the custom action.</p>"""
    trigger: (
        "capo_quicksight.types.image_custom_action_trigger.ImageCustomActionTrigger"
    )
    """<p>The trigger of the <code>VisualCustomAction</code>.</p> <p>Valid values are defined as follows:</p> <ul> <li> <p> <code>CLICK</code>: Initiates a custom action by a left pointer click on a data point.</p> </li> <li> <p> <code>MENU</code>: Initiates a custom action by right pointer click from the menu.</p> </li> </ul>"""
    action_operations: "capo_quicksight.types.image_custom_action_operation_list.ImageCustomActionOperationList"
    """<p>A list of <code>ImageCustomActionOperations</code>.</p> <p>This is a union type structure. For this structure to be valid, only one of the attributes can be defined.</p>"""

action_operations instance-attribute

action_operations: ImageCustomActionOperationList

A list of ImageCustomActionOperations.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

custom_action_id instance-attribute

custom_action_id: ShortRestrictiveResourceId

The ID of the custom action.

name instance-attribute

The name of the custom action.

status instance-attribute

status: NotRequired[WidgetStatus]

The status of the custom action.

trigger instance-attribute

The trigger of the VisualCustomAction.

Valid values are defined as follows:

  • CLICK: Initiates a custom action by a left pointer click on a data point.

  • MENU: Initiates a custom action by right pointer click from the menu.