Values.ActionParametersSourceRepresents the event action configuration for an element of a Component or ComponentChild. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components. ActionParameters defines the action that is performed when an event occurs on the component.
type nonrec t = {type_ : ComponentProperty.t option;The type of navigation action. Valid values are url and anchor. This value is required for a navigation action.
*)url : ComponentProperty.t option;The URL to the location to open. Specify this value for a navigation action.
*)anchor : ComponentProperty.t option;The HTML anchor link to the location to open. Specify this value for a navigation action.
*)target : ComponentProperty.t option;The element within the same component to modify when the action occurs.
*)global : ComponentProperty.t option;Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.
*)model : String_.t option;The name of the data model. Use when the action performs an operation on an Amplify DataStore model.
*)id : ComponentProperty.t option;The unique ID of the component that the ActionParameters apply to.
*)fields : ComponentProperties.t option;A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data model. Use when the action performs an operation on an Amplify DataStore model.
*)state : MutationActionSetStateParameter.t option;A key-value pair that specifies the state property name and its initial value.
*)}