Smaws_Client_Support.AddCommunicationToCaseAdds additional customer communication to an Amazon Web Services Support case. Use the caseId parameter to identify the case to which to add communication. You can list a set of email addresses to copy on the communication by using the ccEmailAddresses parameter. The communicationBody value contains the text of the communication.
SubscriptionRequiredException error message appears. For information about changing your support plan, see Amazon Web Services Support.val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AttachmentSetExpired of Types.attachment_set_expired
| `AttachmentSetIdNotFound of Types.attachment_set_id_not_found
| `CaseIdNotFound of Types.case_id_not_found
| `InternalServerError of Types.internal_server_error ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.add_communication_to_case_request ->
(Types.add_communication_to_case_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AttachmentSetExpired of Types.attachment_set_expired
| `AttachmentSetIdNotFound of Types.attachment_set_id_not_found
| `CaseIdNotFound of Types.case_id_not_found
| `InternalServerError of Types.internal_server_error ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.add_communication_to_case_request ->
(Types.add_communication_to_case_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AttachmentSetExpired of Types.attachment_set_expired
| `AttachmentSetIdNotFound of Types.attachment_set_id_not_found
| `CaseIdNotFound of Types.case_id_not_found
| `InternalServerError of Types.internal_server_error ]
* Smaws_Lib.Response.metadata)
Stdlib.result