Smaws_Client_StorageGateway.DeleteTapePoolDelete a custom tape pool. A custom tape pool can only be deleted if there are no tapes in the pool and if there are no automatic tape creation policies that reference the custom tape pool.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidGatewayRequestException of Types.invalid_gateway_request_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_tape_pool_input ->
(Types.delete_tape_pool_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidGatewayRequestException of
Types.invalid_gateway_request_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_tape_pool_input ->
(Types.delete_tape_pool_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServerError of Types.internal_server_error
| `InvalidGatewayRequestException of
Types.invalid_gateway_request_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result