fn describe_cases(
        &self,
        input: DescribeCasesRequest,
    ) -> RusotoFuture<DescribeCasesResponse, DescribeCasesError> {
        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.DescribeCases");
        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::<DescribeCasesResponse, _>()
                }))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(DescribeCasesError::from_response(response))),
                )
            }
        })
    }
/// <p><p>Returns a list of cases that you specify by passing one or more case IDs. In addition, you can filter the cases by date by setting values for the <code>afterTime</code> and <code>beforeTime</code> request parameters. You can set values for the <code>includeResolvedCases</code> and <code>includeCommunications</code> request parameters to control how much information is returned. </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>The response returns the following in JSON format:</p> <ul> <li> <p>One or more <a>CaseDetails</a> data types. </p> </li> <li> <p>One or more <code>nextToken</code> values, which specify where to paginate the returned records represented by the <code>CaseDetails</code> objects.</p> </li> </ul></p>
Returns a list of cases that you specify by passing one or more case IDs. In addition, you can filter the cases by date by setting values for the afterTime and beforeTime request parameters. You can set values for the includeResolvedCases and includeCommunications request parameters to control how much information is returned.  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. The response returns the following in JSON format:   One or more CaseDetails data types.    One or more nextToken values, which specify where to paginate the returned records represented by the CaseDetails objects.  
Returns a list of cases that you specify by passing one or more case IDs . In addition you can filter the cases by date by setting values for the afterTime and beforeTime request parameters . You can set values for the includeResolvedCases and includeCommunications request parameters to control how much information is returned . 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 . The response returns the following in JSON format : One or more CaseDetails data types . One or more nextToken values which specify where to paginate the returned records represented by the CaseDetails objects .
fn describe_cases(
        &self,
        input: DescribeCasesRequest,
    ) -> RusotoFuture<DescribeCasesResponse, DescribeCasesError> {
        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.DescribeCases");
        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::<DescribeCasesResponse, _>()
                }))
            } else {
                Box::new(
                    response
                        .buffer()
                        .from_err()
                        .and_then(|response| Err(DescribeCasesError::from_response(response))),
                )
            }
        })
    }
fn describe_cases ( & self , input : DescribeCasesRequest , ) -> RusotoFuture < DescribeCasesResponse , DescribeCasesError > { 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 :: < DescribeCasesResponse , _ > ( ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | Err ( DescribeCasesError :: from_response ( response ) ) ) , ) } } ) }
<p><p>Returns a list of cases that you specify by passing one or more case IDs.
<p > <p > Returns a list of cases that you specify by passing one or more case IDs .
&self
input
DescribeCasesRequest
&self
input
DescribeCasesRequest