Module Values.CreateResourceSnapshotJobRequestSource

Use this action to create a job to generate a snapshot of the specified resource within an engagement. It initiates an asynchronous process to create a resource snapshot. The job creates a new snapshot only if the resource state has changed, adhering to the same access control and immutability rules as direct snapshot creation.

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

    Specifies the catalog in which to create the snapshot job. Valid values are AWS and Sandbox.

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

    A client-generated UUID used for idempotency check. The token helps prevent duplicate job creations.

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

    Specifies the identifier of the engagement associated with the resource to be snapshotted.

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

    The type of resource for which the snapshot job is being created. Must be one of the supported resource types i.e. Opportunity

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

    Specifies the identifier of the specific resource to be snapshotted. The format depends on the ResourceType.

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

    Specifies the name of the template that defines the schema for the snapshot.

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

    A map of the key-value pairs of the tag or tags to assign.

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