Module Values.GetResourceSnapshotJobResponseSource

Use this action to retrieves information about a specific resource snapshot job.

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

    The catalog in which the snapshot job was created. This will match the Catalog specified in the request.

    *)
  2. id : ResourceSnapshotJobIdentifier.t option;
    (*

    The unique identifier of the snapshot job. This matches the ResourceSnapshotJobIdentifier provided in the request.

    *)
  3. arn : ResourceSnapshotJobArn.t option;
    (*

    The Amazon Resource Name (ARN) of the snapshot job. This globally unique identifier can be used for resource-specific operations across AWS services.

    *)
  4. engagementId : EngagementIdentifier.t option;
    (*

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

    *)
  5. resourceType : ResourceType.t option;
    (*

    The type of resource being snapshotted. This would have "Opportunity" as a value as it is dependent on the supported resource type.

    *)
  6. resourceId : ResourceIdentifier.t option;
    (*

    The identifier of the specific resource being snapshotted. The format might vary depending on the ResourceType.

    *)
  7. resourceArn : ResourceArn.t option;
    (*

    The Amazon Resource Name (ARN) of the resource being snapshotted. This provides a globally unique identifier for the resource across AWS.

    *)
  8. resourceSnapshotTemplateName : ResourceTemplateName.t option;
    (*

    The name of the template used for creating the snapshot. This is the same as the template name. It defines the structure and content of the snapshot.

    *)
  9. createdAt : DateTime.t option;
    (*

    The date and time when the snapshot job was created in ISO 8601 format (UTC). Example: "2023-05-01T20:37:46Z"

    *)
  10. status : ResourceSnapshotJobStatus.t option;
    (*

    The current status of the snapshot job. Valid values: STOPPED: The job is not currently running. RUNNING: The job is actively executing.

    *)
  11. lastSuccessfulExecutionDate : DateTime.t option;
    (*

    The date and time of the last successful execution of the job, in ISO 8601 format (UTC). Example: "2023-05-01T20:37:46Z"

    *)
  12. lastFailure : String_.t option;
    (*

    If the job has encountered any failures, this field contains the error message from the most recent failure. This can be useful for troubleshooting issues with the job.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?catalog:??? -> ?id:??? -> ?arn:??? -> ?engagementId:??? -> ?resourceType:??? -> ?resourceId:??? -> ?resourceArn:??? -> ?resourceSnapshotTemplateName:??? -> ?createdAt:??? -> ?status:??? -> ?lastSuccessfulExecutionDate:??? -> ?lastFailure:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of CatalogIdentifier.t | `Timestamp of DateTime.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