Smaws_Client_Shield.ListProtectionsRetrieves Protection objects for the account. You can retrieve all protections or you can provide filtering criteria and retrieve just the subset of protections that match the criteria.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalErrorException of Types.internal_error_exception
| `InvalidPaginationTokenException of
Types.invalid_pagination_token_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_protections_request ->
(Types.list_protections_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalErrorException of Types.internal_error_exception
| `InvalidPaginationTokenException of
Types.invalid_pagination_token_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.result