Support / Client / add_communication_to_case
add_communication_to_case#
- Support.Client.add_communication_to_case(**kwargs)#
Adds 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 theccEmailAddresses
parameter. ThecommunicationBody
value contains the text of the communication.Note
You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support API.
If you call the Amazon Web Services Support API from an account that doesn’t have a Business, Enterprise On-Ramp, or Enterprise Support plan, the
SubscriptionRequiredException
error message appears. For information about changing your support plan, see Amazon Web Services Support.
See also: AWS API Documentation
Request Syntax
response = client.add_communication_to_case( caseId='string', communicationBody='string', ccEmailAddresses=[ 'string', ], attachmentSetId='string' )
- Parameters:
caseId (string) – The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-12345678910-2013-c4c1d2bf33c5cf47
communicationBody (string) –
[REQUIRED]
The body of an email communication to add to the support case.
ccEmailAddresses (list) –
The email addresses in the CC line of an email to be added to the support case.
(string) –
attachmentSetId (string) – The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling AddAttachmentsToSet
- Return type:
dict
- Returns:
Response Syntax
{ 'result': True|False }
Response Structure
(dict) –
The result of the AddCommunicationToCase operation.
result (boolean) –
True if AddCommunicationToCase succeeds. Otherwise, returns an error.
Exceptions
Support.Client.exceptions.InternalServerError
Support.Client.exceptions.CaseIdNotFound
Support.Client.exceptions.AttachmentSetIdNotFound
Support.Client.exceptions.AttachmentSetExpired