Smaws_Client_CodeStarconnections.DeleteHostThe host to be deleted. Before you delete a host, all connections associated to the host must be deleted.
A host cannot be deleted if it is in the VPC_CONFIG_INITIALIZING or VPC_CONFIG_DELETING state.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ResourceUnavailableException of Types.resource_unavailable_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_host_input ->
(Types.delete_host_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ResourceUnavailableException of Types.resource_unavailable_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_host_input ->
(Types.delete_host_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ResourceUnavailableException of Types.resource_unavailable_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result