Module Values.BatchGetSessionActionResponseSource

Retrieves multiple session actions in a single request. This is a batch version of the GetSessionAction API. The result of getting each session action is reported individually in the response. Because the batch request can result in a combination of successful and unsuccessful actions, you should check for batch errors even when the call returns an HTTP status code of 200.

Sourcetype nonrec t = {
  1. sessionActions : BatchGetSessionActionItems.t option;
    (*

    A list of session actions that were successfully retrieved.

    *)
  2. errors : BatchGetSessionActionErrors.t option;
    (*

    A list of errors for session actions that could not be retrieved.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerErrorException of InternalServerErrorException.t
  3. | `ThrottlingException of ThrottlingException.t
  4. | `ValidationException of ValidationException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?sessionActions:??? -> ?errors:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerErrorException of InternalServerErrorException.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 | `InternalServerErrorException of InternalServerErrorException.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 * [> `List of [> `Structure of (string * [> `Enum of string | `Float of SessionActionProgressPercent.t | `Integer of ProcessExitCode.t | `List of [> `Structure of (string * [> `Integer of MinOneMaxInteger.t | `String of String_.t ]) list ] list | `String of FarmId.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 | `Timestamp of StartedAt.t ]) 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