Smaws_Client_CodeDeploy.GetOnPremisesInstanceGets information about an on-premises instance.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InstanceNameRequiredException of Types.instance_name_required_exception
| `InstanceNotRegisteredException of Types.instance_not_registered_exception
| `InvalidInstanceNameException of Types.invalid_instance_name_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.get_on_premises_instance_input ->
(Types.get_on_premises_instance_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InstanceNameRequiredException of Types.instance_name_required_exception
| `InstanceNotRegisteredException of
Types.instance_not_registered_exception
| `InvalidInstanceNameException of Types.invalid_instance_name_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.get_on_premises_instance_input ->
(Types.get_on_premises_instance_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InstanceNameRequiredException of Types.instance_name_required_exception
| `InstanceNotRegisteredException of
Types.instance_not_registered_exception
| `InvalidInstanceNameException of Types.invalid_instance_name_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result