Smaws_Client_StorageGateway.ListAutomaticTapeCreationPoliciesLists the automatic tape creation policies for a gateway. If there are no automatic tape creation policies for the gateway, it returns an empty list.
This operation is only supported for tape gateways.
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.list_automatic_tape_creation_policies_input ->
(Types.list_automatic_tape_creation_policies_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.list_automatic_tape_creation_policies_input ->
(Types.list_automatic_tape_creation_policies_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