Smaws_Client_Transfer.ListSecurityPoliciesLists the security policies that are attached to your servers and SFTP connectors. For more information about security policies, see Working with security policies for servers or Working with security policies for SFTP connectors.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceError of Types.internal_service_error
| `InvalidNextTokenException of Types.invalid_next_token_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ServiceUnavailableException of Types.service_unavailable_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_security_policies_request ->
(Types.list_security_policies_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceError of Types.internal_service_error
| `InvalidNextTokenException of Types.invalid_next_token_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ServiceUnavailableException of Types.service_unavailable_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_security_policies_request ->
(Types.list_security_policies_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InternalServiceError of Types.internal_service_error
| `InvalidNextTokenException of Types.invalid_next_token_exception
| `InvalidRequestException of Types.invalid_request_exception
| `ServiceUnavailableException of Types.service_unavailable_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result