Module Values.UpdateWorkerScheduleResponseSource

Updates the schedule for a worker.

Sourcetype nonrec t = {
  1. assignedSessions : AssignedSessions.t option;
    (*

    The assigned sessions to update.

    *)
  2. cancelSessionActions : CancelSessionActions.t option;
    (*

    The session actions associated with the worker schedule to cancel.

    *)
  3. desiredWorkerStatus : DesiredWorkerStatus.t option;
    (*

    The status to update the worker to.

    *)
  4. updateIntervalSeconds : UpdateWorkerScheduleInterval.t option;
    (*

    Updates the time interval (in seconds) for the schedule.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerErrorException of InternalServerErrorException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?assignedSessions:??? -> ?cancelSessionActions:??? -> ?desiredWorkerStatus:??? -> ?updateIntervalSeconds:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerErrorException of InternalServerErrorException.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 | `ConflictException of ConflictException.t | `InternalServerErrorException of InternalServerErrorException.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 | `Integer of UpdateWorkerScheduleInterval.t | `Map of ([> `String of SessionId.t ] * [> `List of [> `String of SessionActionId.t ] list | `Structure of (string * [> `List of [> `Structure of (string * [> `String of SessionActionId.t | `Structure of (string * [> `Structure of (string * [> `Map of ([> `String of String_.t ] * [> `Structure of (string * [> `String of IntString.t ]) list ]) list | `String of EnvironmentId.t ]) list ]) list ]) list ] list | `String of QueueId.t | `Structure of (string * [> `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of LogDriver.t ]) 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