Module Values.BatchGetStepResponseSource

Retrieves multiple steps in a single request. This is a batch version of the GetStep API. The result of getting each step 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. steps : BatchGetStepItems.t option;
    (*

    A list of steps that were successfully retrieved.

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

    A list of errors for steps 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 : ?steps:??? -> ?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 | `Integer of TaskFailureRetryCount.t | `Map of ([> `Enum of string ] * [> `Integer of Integer.t ]) list | `String of FarmId.t | `Structure of (string * [> `Integer of Integer.t | `List of [> `Structure of (string * [> `Double of Double.t | `Enum of string | `List of [> `String of AttributeCapabilityValue.t ] list | `String of AttributeCapabilityName.t | `Structure of (string * [> `Enum of string | `Integer of DefaultTaskCount.t ]) list ]) list ] list | `String of CombinationExpression.t ]) list | `Timestamp of CreatedAt.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