Module Smaws_Client_Shield.ListProtections

Retrieves 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 request : 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