Module Values.UpdateComponentDataSource

Updates and saves all of the information about a component, based on component ID.

Sourcetype nonrec t = {
  1. id : Uuid.t option;
    (*

    The unique ID of the component to update.

    *)
  2. name : ComponentName.t option;
    (*

    The name of the component to update.

    *)
  3. sourceId : String_.t option;
    (*

    The unique ID of the component in its original source system, such as Figma.

    *)
  4. componentType : ComponentType.t option;
    (*

    The type of the component. This can be an Amplify custom UI component or another custom component.

    *)
  5. properties : ComponentProperties.t option;
    (*

    Describes the component's properties.

    *)
  6. children : ComponentChildList.t option;
    (*

    The components that are instances of the main component.

    *)
  7. variants : ComponentVariants.t option;
    (*

    A list of the unique variants of the main component being updated.

    *)
  8. overrides : ComponentOverrides.t option;
    (*

    Describes the properties that can be overriden to customize the component.

    *)
  9. bindingProperties : ComponentBindingProperties.t option;
    (*

    The data binding information for the component's properties.

    *)
  10. collectionProperties : ComponentCollectionProperties.t option;
    (*

    The configuration for binding a component's properties to a data model. Use this for a collection component.

    *)
  11. events : ComponentEvents.t option;
    (*

    The event configuration for the component. Use for the workflow feature in Amplify Studio that allows you to bind events and actions to components.

    *)
  12. schemaVersion : String_.t option;
    (*

    The schema version of the component when it was imported.

    *)
}
Sourceval make : ?id:??? -> ?name:??? -> ?sourceId:??? -> ?componentType:??? -> ?properties:??? -> ?children:??? -> ?variants:??? -> ?overrides:??? -> ?bindingProperties:??? -> ?collectionProperties:??? -> ?events:??? -> ?schemaVersion:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * Awso.Botodata.value) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t