Module Values.CreateEngagementContextRequestSource

Creates a new context within an existing engagement. This action allows you to add contextual information such as customer projects or documents to an engagement, providing additional details that help facilitate collaboration between engagement members.

Sourcetype nonrec t = {
  1. catalog : CatalogIdentifier.t;
    (*

    Specifies the catalog associated with the engagement context request. This field takes a string value from a predefined list: AWS or Sandbox. The catalog determines which environment the engagement context is created in. Use AWS to create contexts in the production environment, and Sandbox for testing in secure, isolated environments.

    *)
  2. engagementIdentifier : EngagementArnOrIdentifier.t;
    (*

    The unique identifier of the Engagement for which the context is being created. This parameter ensures the context is associated with the correct engagement and provides the necessary linkage between the engagement and its contextual information.

    *)
  3. clientToken : ClientToken.t;
    (*

    A unique, case-sensitive identifier provided by the client to ensure that the request is handled exactly once. This token helps prevent duplicate context creations and must not exceed sixty-four alphanumeric characters. Use a UUID or other unique string to ensure idempotency.

    *)
  4. type_ : EngagementContextType.t;
    (*

    Specifies the type of context being created for the engagement. This field determines the structure and content of the context payload. Valid values include CustomerProject for customer project-related contexts. The type field ensures that the context is properly categorized and processed according to its intended purpose.

    *)
  5. payload : EngagementContextPayload.t;
}
Sourceval context_ : string
Sourceval make : catalog:CatalogIdentifier.t -> engagementIdentifier:EngagementArnOrIdentifier.t -> clientToken:ClientToken.t -> type_:EngagementContextType.t -> payload:EngagementContextPayload.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of CatalogIdentifier.t | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of LeadSourceType.t | `Structure of (string * [> `String of JobTitle.t ]) list | `Timestamp of DateTime.t ]) list ] list | `String of LeadQualificationStatus.t | `Structure of (string * [> `Enum of string | `String of CompanyName.t | `Structure of (string * [> `Enum of string | `String of AddressSummaryCityString.t ]) list ]) list ]) list ]) 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