import { ComponentPropertyProps } from './ComponentPropertyProps';
import { MutationActionSetStateParameterProps } from './MutationActionSetStateParameterProps';
import { Value } from '../../../cloudformation/Value';
/**
  Represents the event action configuration for an element of a <code>Component</code> or <code>ComponentChild</code>. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components. <code>ActionParameters</code> defines the action that is performed when an event occurs on the component.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-amplifyuibuilder-component-actionparameters.html">the AWS Docs</a>
*/
export interface ActionParametersProps {
    /** <code>Type</code>  <a name="cfn-amplifyuibuilder-component-actionparameters-type"></a>
  The type of navigation action. Valid values are <code>url</code> and <code>anchor</code>. This value is required for a navigation action.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    type?: ComponentPropertyProps;
    /** <code>Anchor</code>  <a name="cfn-amplifyuibuilder-component-actionparameters-anchor"></a>
  The HTML anchor link to the location to open. Specify this value for a navigation action.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    anchor?: ComponentPropertyProps;
    /** <code>Target</code>  <a name="cfn-amplifyuibuilder-component-actionparameters-target"></a>
  The element within the same component to modify when the action occurs.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    target?: ComponentPropertyProps;
    /** <code>Fields</code>  <a name="cfn-amplifyuibuilder-component-actionparameters-fields"></a>
  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.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    fields?: {
        [key: string]: ComponentPropertyProps;
    };
    /** <code>State</code>  <a name="cfn-amplifyuibuilder-component-actionparameters-state"></a>
  A key-value pair that specifies the state property name and its initial value.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    state?: MutationActionSetStateParameterProps;
    /** <code>Model</code>  <a name="cfn-amplifyuibuilder-component-actionparameters-model"></a>
  The name of the data model. Use when the action performs an operation on an Amplify DataStore model.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    model?: Value<string>;
    /** <code>Id</code>  <a name="cfn-amplifyuibuilder-component-actionparameters-id"></a>
  The unique ID of the component that the <code>ActionParameters</code> apply to.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    id?: ComponentPropertyProps;
    /** <code>Url</code>  <a name="cfn-amplifyuibuilder-component-actionparameters-url"></a>
  The URL to the location to open. Specify this value for a navigation action.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    url?: ComponentPropertyProps;
    /** <code>Global</code>  <a name="cfn-amplifyuibuilder-component-actionparameters-global"></a>
  Specifies whether the user should be signed out globally. Specify this value for an auth sign out action.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    global?: ComponentPropertyProps;
}
