Smaws_Client_SES.CreateReceiptRuleCreates a receipt rule.
For information about setting up receipt rules, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AlreadyExistsException of Types.already_exists_exception
| `InvalidLambdaFunctionException of Types.invalid_lambda_function_exception
| `InvalidS3ConfigurationException of
Types.invalid_s3_configuration_exception
| `InvalidSnsTopicException of Types.invalid_sns_topic_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `RuleDoesNotExistException of Types.rule_does_not_exist_exception
| `RuleSetDoesNotExistException of Types.rule_set_does_not_exist_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_receipt_rule_request ->
(Types.create_receipt_rule_response,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AlreadyExistsException of Types.already_exists_exception
| `InvalidLambdaFunctionException of
Types.invalid_lambda_function_exception
| `InvalidS3ConfigurationException of
Types.invalid_s3_configuration_exception
| `InvalidSnsTopicException of Types.invalid_sns_topic_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `RuleDoesNotExistException of Types.rule_does_not_exist_exception
| `RuleSetDoesNotExistException of Types.rule_set_does_not_exist_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_receipt_rule_request ->
(Types.create_receipt_rule_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AlreadyExistsException of Types.already_exists_exception
| `InvalidLambdaFunctionException of
Types.invalid_lambda_function_exception
| `InvalidS3ConfigurationException of
Types.invalid_s3_configuration_exception
| `InvalidSnsTopicException of Types.invalid_sns_topic_exception
| `LimitExceededException of Types.limit_exceeded_exception
| `RuleDoesNotExistException of Types.rule_does_not_exist_exception
| `RuleSetDoesNotExistException of Types.rule_set_does_not_exist_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result