Module Values.CreateCaseRequestSource

If you provide a value for PerformedBy.UserArn you must also have connect:DescribeUser permission on the User ARN resource that you provide Creates a case in the specified Cases domain. Case system and custom fields are taken as an array id/value pairs with a declared data types. When creating a case from a template that has tag propagation configurations, the specified tags are automatically applied to the case. The following fields are required when creating a case: customer_id - You must provide the full customer profile ARN in this format: arn:aws:profile:your_AWS_Region:your_AWS_account ID:domains/your_profiles_domain_name/profiles/profile_ID title

Sourcetype nonrec t = {
  1. domainId : DomainId.t;
    (*

    The unique identifier of the Cases domain.

    *)
  2. templateId : TemplateId.t;
    (*

    A unique identifier of a template.

    *)
  3. fields : CreateCaseRequestFieldsList.t;
    (*

    An array of objects with field ID (matching ListFields/DescribeField) and value union data.

    *)
  4. clientToken : CreateCaseRequestClientTokenString.t option;
    (*

    A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.

    *)
  5. performedBy : UserUnion.t option;
  6. tags : MutableTags.t option;
    (*

    A map of of key-value pairs that represent tags on a resource. Tags are used to organize, track, or control access for this resource.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> ?performedBy:??? -> ?tags:??? -> domainId:DomainId.t -> templateId:TemplateId.t -> fields:CreateCaseRequestFieldsList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of FieldId.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `String of FieldValueUnionStringValueString.t | `Structure of 'a list ]) list ]) list ] list | `Map of ([> `String of MutableTagKey.t ] * [> `String of TagValueString.t ]) list | `String of DomainId.t | `Structure of (string * [> `String of UserArn.t ]) list ]) 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