Module Values.CreateResourceSnapshotRequestSource

This action allows you to create an immutable snapshot of a specific resource, such as an opportunity, within the context of an engagement. The snapshot captures a subset of the resource's data based on the schema defined by the provided template.

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

    Specifies the catalog where the snapshot is created. Valid values are AWS and Sandbox.

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

    The unique identifier of the engagement associated with this snapshot. This field links the snapshot to a specific engagement context.

    *)
  3. resourceType : ResourceType.t;
    (*

    Specifies the type of resource for which the snapshot is being created. This field determines the structure and content of the snapshot. Must be one of the supported resource types, such as: Opportunity.

    *)
  4. resourceIdentifier : ResourceIdentifier.t;
    (*

    The unique identifier of the specific resource to be snapshotted. The format and constraints of this identifier depend on the ResourceType specified. For example: For Opportunity type, it will be an opportunity ID.

    *)
  5. resourceSnapshotTemplateIdentifier : ResourceTemplateName.t;
    (*

    The name of the template that defines the schema for the snapshot. This template determines which subset of the resource data will be included in the snapshot. Must correspond to an existing and valid template for the specified ResourceType.

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

    Specifies a unique, client-generated UUID to ensure that the request is handled exactly once. This token helps prevent duplicate snapshot creations.

    *)
}
Sourceval context_ : string
Sourceval make : catalog:CatalogIdentifier.t -> engagementIdentifier:EngagementIdentifier.t -> resourceType:ResourceType.t -> resourceIdentifier:ResourceIdentifier.t -> resourceSnapshotTemplateIdentifier:ResourceTemplateName.t -> clientToken:ClientToken.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of CatalogIdentifier.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