/// <p>Adds additional customer communication to an AWS Support case. You use the <code>caseId</code> value to identify the case to add communication to. You can list a set of email addresses to copy on the communication using the <code>ccEmailAddresses</code> value. The <code>communicationBody</code> value contains the text of the communication.</p> <p>The response indicates the success or failure of the request.</p> <p>This operation implements a subset of the features of the AWS Support Center.</p>
Adds additional customer communication to an AWS Support case. You use the caseId value to identify the case to add communication to. You can list a set of email addresses to copy on the communication using the ccEmailAddresses value. The communicationBody value contains the text of the communication. The response indicates the success or failure of the request. This operation implements a subset of the features of the AWS Support Center.
Adds additional customer communication to an AWS Support case . You use the caseId value to identify the case to add communication to . You can list a set of email addresses to copy on the communication using the ccEmailAddresses value . The communicationBody value contains the text of the communication . The response indicates the success or failure of the request . This operation implements a subset of the features of the AWS Support Center .
fn add_communication_to_case(
        &self,
        input: AddCommunicationToCaseRequest,
    ) -> RusotoFuture<AddCommunicationToCaseResponse, AddCommunicationToCaseError> {
        let mut request = SignedRequest::new("POST", "support", &self.region, "/");
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "AWSSupport_20130415.AddCommunicationToCase");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded));
        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().and_then(|response| {
                    proto::json::ResponsePayload::new(&response)
                        .deserialize::<AddCommunicationToCaseResponse, _>()
                }))
            } else {
                Box::new(
                    response.buffer().from_err().and_then(|response| {
                        Err(AddCommunicationToCaseError::from_response(response))
                    }),
                )
            }
        })
    }
fn add_communication_to_case ( & self , input : AddCommunicationToCaseRequest , ) -> RusotoFuture < AddCommunicationToCaseResponse , AddCommunicationToCaseError > { let mut request = SignedRequest :: new ( " " , " " , & self . region , " " ) ; request . set_content_type ( " " . to_owned ( ) ) ; request . add_header ( " " , " " ) ; let encoded = serde_json :: to_string ( & input ) . unwrap ( ) ; request . set_payload ( Some ( encoded ) ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . is_success ( ) { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { proto :: json :: ResponsePayload :: new ( & response ) . deserialize :: < AddCommunicationToCaseResponse , _ > ( ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( AddCommunicationToCaseError :: from_response ( response ) ) } ) , ) } } ) }
<p>Adds additional customer communication to an AWS Support case.
<p > Adds additional customer communication to an AWS Support case .
&self
input
AddCommunicationToCaseRequest