Smaws_Client_MailManager.CreateRelayCreates a relay resource which can be used in rules to relay incoming emails to defined relay destinations.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_relay_request ->
(Types.create_relay_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_relay_request ->
(Types.create_relay_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConflictException of Types.conflict_exception
| `ServiceQuotaExceededException of Types.service_quota_exceeded_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result