Values.CreateCaseRequestSourceIf 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
type nonrec t = {domainId : DomainId.t;The unique identifier of the Cases domain.
*)templateId : TemplateId.t;A unique identifier of a template.
*)fields : CreateCaseRequestFieldsList.t;An array of objects with field ID (matching ListFields/DescribeField) and value union data.
*)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.
*)performedBy : UserUnion.t option;}val make :
?clientToken:??? ->
?performedBy:??? ->
?tags:??? ->
domainId:DomainId.t ->
templateId:TemplateId.t ->
fields:CreateCaseRequestFieldsList.t ->
unit ->
tval 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 ]