Module Values.GetWorkerResponseSource

Mixin that adds an optional ARN field to response structures. Apply to SummaryMixins (flows into Get, Summary, and BatchGet) and Create outputs.

Sourcetype nonrec t = {
  1. farmId : FarmId.t option;
    (*

    The farm ID.

    *)
  2. fleetId : FleetId.t option;
    (*

    The fleet ID.

    *)
  3. workerId : WorkerId.t option;
    (*

    The worker ID.

    *)
  4. hostProperties : HostPropertiesResponse.t option;
    (*

    The host properties for the worker.

    *)
  5. status : WorkerStatus.t option;
    (*

    The status of the worker.

    *)
  6. log : LogConfiguration.t option;
    (*

    The logs for the associated worker.

    *)
  7. createdAt : CreatedAt.t option;
    (*

    The date and time the resource was created.

    *)
  8. createdBy : CreatedBy.t option;
    (*

    The user or system that created this resource.

    *)
  9. updatedAt : UpdatedAt.t option;
    (*

    The date and time the resource was updated.

    *)
  10. updatedBy : UpdatedBy.t option;
    (*

    The user or system that updated this resource.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerErrorException of InternalServerErrorException.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 : ?farmId:??? -> ?fleetId:??? -> ?workerId:??? -> ?hostProperties:??? -> ?status:??? -> ?log:??? -> ?createdAt:??? -> ?createdBy:??? -> ?updatedAt:??? -> ?updatedBy:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.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 | `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 | `String of FarmId.t | `Structure of (string * [> `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of HostName.t | `Structure of (string * [> `List of [> `String of IpV4Address.t ] list ]) list ]) list | `Timestamp of CreatedAt.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