/// <p>Returns communications (and attachments) for one or more support cases. You can use the <code>afterTime</code> and <code>beforeTime</code> parameters to filter by date. You can use the <code>caseId</code> parameter to restrict the results to a particular case.</p> <p>Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error.</p> <p>You can use the <code>maxResults</code> and <code>nextToken</code> parameters to control the pagination of the result set. Set <code>maxResults</code> to the number of cases you want displayed on each page, and use <code>nextToken</code> to specify the resumption of pagination.</p>
Returns communications (and attachments) for one or more support cases. You can use the afterTime and beforeTime parameters to filter by date. You can use the caseId parameter to restrict the results to a particular case. Case data is available for 12 months after creation. If a case was created more than 12 months ago, a request for data might cause an error. You can use the maxResults and nextToken parameters to control the pagination of the result set. Set maxResults to the number of cases you want displayed on each page, and use nextToken to specify the resumption of pagination.
Returns communications ( and attachments ) for one or more support cases . You can use the afterTime and beforeTime parameters to filter by date . You can use the caseId parameter to restrict the results to a particular case . Case data is available for 12 months after creation . If a case was created more than 12 months ago a request for data might cause an error . You can use the maxResults and nextToken parameters to control the pagination of the result set . Set maxResults to the number of cases you want displayed on each page and use nextToken to specify the resumption of pagination .
fn describe_communications(
        &self,
        input: DescribeCommunicationsRequest,
    ) -> RusotoFuture<DescribeCommunicationsResponse, DescribeCommunicationsError> {
        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.DescribeCommunications");
        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::<DescribeCommunicationsResponse, _>()
                }))
            } else {
                Box::new(
                    response.buffer().from_err().and_then(|response| {
                        Err(DescribeCommunicationsError::from_response(response))
                    }),
                )
            }
        })
    }
fn describe_communications ( & self , input : DescribeCommunicationsRequest , ) -> RusotoFuture < DescribeCommunicationsResponse , DescribeCommunicationsError > { 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 :: < DescribeCommunicationsResponse , _ > ( ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( DescribeCommunicationsError :: from_response ( response ) ) } ) , ) } } ) }
<p>Returns communications (and attachments) for one or more support cases.
<p > Returns communications ( and attachments ) for one or more support cases .
&self
input
DescribeCommunicationsRequest