Values.PostWhatsAppMessageMediaOutputSourceUpload a media file to the WhatsApp service. Only the specified originationPhoneNumberId has the permissions to send the media file when using SendWhatsAppMessage. You must use either sourceS3File or sourceS3PresignedUrl for the source. If both or neither are specified then an InvalidParameterException is returned.
type nonrec t = {mediaId : WhatsAppMediaId.t option;The unique identifier of the posted WhatsApp message.
*)}type nonrec error = [ | `AccessDeniedByMetaException of AccessDeniedByMetaException.t| `AccessDeniedException of AccessDeniedException.t| `DependencyException of DependencyException.t| `InternalServiceException of InternalServiceException.t| `InvalidParametersException of InvalidParametersException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottledRequestException of ThrottledRequestException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedByMetaException of AccessDeniedByMetaException.t
| `AccessDeniedException of AccessDeniedException.t
| `DependencyException of DependencyException.t
| `InternalServiceException of InternalServiceException.t
| `InvalidParametersException of InvalidParametersException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottledRequestException of ThrottledRequestException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedByMetaException of AccessDeniedByMetaException.t
| `AccessDeniedException of AccessDeniedException.t
| `DependencyException of DependencyException.t
| `InternalServiceException of InternalServiceException.t
| `InvalidParametersException of InvalidParametersException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottledRequestException of ThrottledRequestException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]