Module Values.NotifyMigrationTaskStateRequestSource

Notifies Migration Hub of the current status, progress, or other detail regarding a migration task. This API has the following traits: Migration tools will call the NotifyMigrationTaskState API to share the latest progress and status. MigrationTaskName is used for addressing updates to the correct target. ProgressUpdateStream is used for access control and to provide a namespace for each migration tool.

Sourcetype nonrec t = {
  1. progressUpdateStream : ProgressUpdateStream.t;
    (*

    The name of the ProgressUpdateStream.

    *)
  2. migrationTaskName : MigrationTaskName.t;
    (*

    Unique identifier that references the migration task. Do not store personal data in this field.

    *)
  3. task : Task.t;
    (*

    Information about the task's progress and status.

    *)
  4. updateDateTime : UpdateDateTime.t;
    (*

    The timestamp when the task was gathered.

    *)
  5. nextUpdateSeconds : NextUpdateSeconds.t;
    (*

    Number of seconds after the UpdateDateTime within which the Migration Hub can expect an update. If Migration Hub does not receive an update within the specified interval, then the migration task will be considered stale.

    *)
  6. dryRun : DryRun.t option;
    (*

    Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.

    *)
}
Sourceval context_ : string
Sourceval make : ?dryRun:??? -> progressUpdateStream:ProgressUpdateStream.t -> migrationTaskName:MigrationTaskName.t -> task:Task.t -> updateDateTime:UpdateDateTime.t -> nextUpdateSeconds:NextUpdateSeconds.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of DryRun.t | `Integer of NextUpdateSeconds.t | `String of ProgressUpdateStream.t | `Structure of (string * [> `Enum of string | `Integer of ProgressPercent.t | `String of StatusDetail.t ]) list | `Timestamp of UpdateDateTime.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