Module Values.GetHostOutputSource

Returns the host ARN and details such as status, provider type, endpoint, and, if applicable, the VPC configuration.

Sourcetype nonrec t = {
  1. name : HostName.t option;
    (*

    The name of the requested host.

    *)
  2. status : HostStatus.t option;
    (*

    The status of the requested host.

    *)
  3. providerType : ProviderType.t option;
    (*

    The provider type of the requested host, such as GitHub Enterprise Server.

    *)
  4. providerEndpoint : Url.t option;
    (*

    The endpoint of the infrastructure represented by the requested host.

    *)
  5. vpcConfiguration : VpcConfiguration.t option;
    (*

    The VPC configuration of the requested host.

    *)
}
Sourcetype nonrec error = [
  1. | `ResourceNotFoundException of ResourceNotFoundException.t
  2. | `ResourceUnavailableException of ResourceUnavailableException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?name:??? -> ?status:??? -> ?providerType:??? -> ?providerEndpoint:??? -> ?vpcConfiguration:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ResourceNotFoundException of ResourceNotFoundException.t | `ResourceUnavailableException of ResourceUnavailableException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ResourceNotFoundException of ResourceNotFoundException.t | `ResourceUnavailableException of ResourceUnavailableException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of HostName.t | `Structure of (string * [> `List of [> `String of SubnetId.t ] list | `String of VpcId.t ]) 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