fn start_person_tracking(
        &self,
        input: StartPersonTrackingRequest,
    ) -> RusotoFuture<StartPersonTrackingResponse, StartPersonTrackingError> {
        let mut request = SignedRequest::new("POST", "rekognition", &self.region, "/");

        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "RekognitionService.StartPersonTracking");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded.into_bytes()));

        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().map(|response| {
                    let mut body = response.body;

                    if body.is_empty() || body == b"null" {
                        body = b"{}".to_vec();
                    }

                    serde_json::from_str::<StartPersonTrackingResponse>(
                        String::from_utf8_lossy(body.as_ref()).as_ref(),
                    )
                    .unwrap()
                }))
            } else {
                Box::new(
                    response.buffer().from_err().and_then(|response| {
                        Err(StartPersonTrackingError::from_response(response))
                    }),
                )
            }
        })
    }
/// <p>Starts the asynchronous tracking of persons in a stored video.</p> <p>Amazon Rekognition Video can track persons in a video stored in an Amazon S3 bucket. Use <a>Video</a> to specify the bucket name and the filename of the video. <code>StartPersonTracking</code> returns a job identifier (<code>JobId</code>) which you use to get the results of the operation. When label detection is finished, Amazon Rekognition publishes a completion status to the Amazon Simple Notification Service topic that you specify in <code>NotificationChannel</code>. </p> <p>To get the results of the person detection operation, first check that the status value published to the Amazon SNS topic is <code>SUCCEEDED</code>. If so, call and pass the job identifier (<code>JobId</code>) from the initial call to <code>StartPersonTracking</code>.</p>
Starts the asynchronous tracking of persons in a stored video. Amazon Rekognition Video can track persons in a video stored in an Amazon S3 bucket. Use Video to specify the bucket name and the filename of the video. StartPersonTracking returns a job identifier (JobId) which you use to get the results of the operation. When label detection is finished, Amazon Rekognition publishes a completion status to the Amazon Simple Notification Service topic that you specify in NotificationChannel.  To get the results of the person detection operation, first check that the status value published to the Amazon SNS topic is SUCCEEDED. If so, call and pass the job identifier (JobId) from the initial call to StartPersonTracking.
Starts the asynchronous tracking of persons in a stored video . Amazon Rekognition Video can track persons in a video stored in an Amazon S3 bucket . Use Video to specify the bucket name and the filename of the video . StartPersonTracking returns a job identifier ( JobId ) which you use to get the results of the operation . When label detection is finished Amazon Rekognition publishes a completion status to the Amazon Simple Notification Service topic that you specify in NotificationChannel . To get the results of the person detection operation first check that the status value published to the Amazon SNS topic is SUCCEEDED . If so call and pass the job identifier ( JobId ) from the initial call to StartPersonTracking .
fn start_person_tracking(
        &self,
        input: StartPersonTrackingRequest,
    ) -> RusotoFuture<StartPersonTrackingResponse, StartPersonTrackingError> {
        let mut request = SignedRequest::new("POST", "rekognition", &self.region, "/");
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        request.add_header("x-amz-target", "RekognitionService.StartPersonTracking");
        let encoded = serde_json::to_string(&input).unwrap();
        request.set_payload(Some(encoded.into_bytes()));
        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().map(|response| {
                    let mut body = response.body;
                    if body.is_empty() || body == b"null" {
                        body = b"{}".to_vec();
                    }
                    serde_json::from_str::<StartPersonTrackingResponse>(
                        String::from_utf8_lossy(body.as_ref()).as_ref(),
                    )
                    .unwrap()
                }))
            } else {
                Box::new(
                    response.buffer().from_err().and_then(|response| {
                        Err(StartPersonTrackingError::from_response(response))
                    }),
                )
            }
        })
    }
fn start_person_tracking ( & self , input : StartPersonTrackingRequest , ) -> RusotoFuture < StartPersonTrackingResponse , StartPersonTrackingError > { 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 . into_bytes ( ) ) ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . is_success ( ) { Box :: new ( response . buffer ( ) . from_err ( ) . map ( | response | { let mut body = response . body ; if body . is_empty ( ) || body == b" " { body = b" " . to_vec ( ) ; } serde_json :: from_str :: < StartPersonTrackingResponse > ( String :: from_utf8_lossy ( body . as_ref ( ) ) . as_ref ( ) , ) . unwrap ( ) } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( StartPersonTrackingError :: from_response ( response ) ) } ) , ) } } ) }
<p>Starts the asynchronous tracking of persons in a stored video.</p> <p>Amazon Rekognition Video can track persons in a video stored in an Amazon S3 bucket.
<p > Starts the asynchronous tracking of persons in a stored video . < / p > <p > Amazon Rekognition Video can track persons in a video stored in an Amazon S3 bucket .
&self
input
StartPersonTrackingRequest
&self
input
StartPersonTrackingRequest