Module Values_0.CreateContactFlowRequestSource

Creates a flow for the specified Amazon Connect instance. You can also create and update flows using the Amazon Connect Flow language.

Sourcetype nonrec t = {
  1. instanceId : InstanceId.t;
    (*

    The identifier of the Amazon Connect instance.

    *)
  2. name : ContactFlowName.t;
    (*

    The name of the flow.

    *)
  3. type_ : ContactFlowType.t;
    (*

    The type of the flow. For descriptions of the available types, see Choose a flow type in the Amazon Connect Administrator Guide.

    *)
  4. description : ContactFlowDescription.t option;
    (*

    The description of the flow.

    *)
  5. content : ContactFlowContent.t;
    (*

    The JSON string that represents the content of the flow. For an example, see Example flow in Amazon Connect Flow language. Length Constraints: Minimum length of 1. Maximum length of 256000.

    *)
  6. status : ContactFlowStatus.t option;
    (*

    Indicates the flow status as either SAVED or PUBLISHED. The PUBLISHED status will initiate validation on the content. the SAVED status does not initiate validation of the content. SAVED | PUBLISHED.

    *)
  7. tags : TagMap.t option;
    (*

    The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?status:??? -> ?tags:??? -> instanceId:InstanceId.t -> name:ContactFlowName.t -> type_:ContactFlowType.t -> content:ContactFlowContent.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of InstanceId.t ]) 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