fn create_dataset_content(
        &self,
        input: CreateDatasetContentRequest,
    ) -> RusotoFuture<(), CreateDatasetContentError> {
        let request_uri = format!(
            "/datasets/{dataset_name}/content",
            dataset_name = input.dataset_name
        );

        let mut request = SignedRequest::new("POST", "iotanalytics", &self.region, &request_uri);
        request.set_content_type("application/x-amz-json-1.1".to_owned());

        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().map(|response| {
                    let result = ::std::mem::drop(response);

                    result
                }))
            } else {
                Box::new(
                    response.buffer().from_err().and_then(|response| {
                        Err(CreateDatasetContentError::from_response(response))
                    }),
                )
            }
        })
    }
/// <p>Creates the content of a data set by applying an SQL action.</p>
Creates the content of a data set by applying an SQL action.
Creates the content of a data set by applying an SQL action .
fn create_dataset_content(
        &self,
        input: CreateDatasetContentRequest,
    ) -> RusotoFuture<(), CreateDatasetContentError> {
        let request_uri = format!(
            "/datasets/{dataset_name}/content",
            dataset_name = input.dataset_name
        );
        let mut request = SignedRequest::new("POST", "iotanalytics", &self.region, &request_uri);
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        self.client.sign_and_dispatch(request, |response| {
            if response.status.is_success() {
                Box::new(response.buffer().from_err().map(|response| {
                    let result = ::std::mem::drop(response);
                    result
                }))
            } else {
                Box::new(
                    response.buffer().from_err().and_then(|response| {
                        Err(CreateDatasetContentError::from_response(response))
                    }),
                )
            }
        })
    }
fn create_dataset_content ( & self , input : CreateDatasetContentRequest , ) -> RusotoFuture < ( ) , CreateDatasetContentError > { let request_uri = format ! ( " " dataset_name input dataset_name ) ; let mut request = SignedRequest :: new ( " " , " " , & self . region , & request_uri ) ; request . set_content_type ( " " . to_owned ( ) ) ; self . client . sign_and_dispatch ( request , | response | { if response . status . is_success ( ) { Box :: new ( response . buffer ( ) . from_err ( ) . map ( | response | { let result = :: std :: mem :: drop ( response ) ; result } ) ) } else { Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( CreateDatasetContentError :: from_response ( response ) ) } ) , ) } } ) }
<p>Creates the content of a data set by applying an SQL action.</p>
<p > Creates the content of a data set by applying an SQL action . < / p >
&self
input
CreateDatasetContentRequest
&self
input
CreateDatasetContentRequest