fn put_logging_options(
        &self,
        input: PutLoggingOptionsRequest,
    ) -> RusotoFuture<(), PutLoggingOptionsError> {
        let request_uri = "/logging";

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

        let encoded = Some(serde_json::to_vec(&input).unwrap());
        request.set_payload(encoded);

        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(PutLoggingOptionsError::from_response(response))),
                )
            }
        })
    }
/// <p>Sets or updates the AWS IoT Analytics logging options.</p> <p>Note that if you update the value of any <code>loggingOptions</code> field, it takes up to one minute for the change to take effect. Also, if you change the policy attached to the role you specified in the roleArn field (for example, to correct an invalid policy) it takes up to 5 minutes for that change to take effect. </p>
Sets or updates the AWS IoT Analytics logging options. Note that if you update the value of any loggingOptions field, it takes up to one minute for the change to take effect. Also, if you change the policy attached to the role you specified in the roleArn field (for example, to correct an invalid policy) it takes up to 5 minutes for that change to take effect.
Sets or updates the AWS IoT Analytics logging options . Note that if you update the value of any loggingOptions field it takes up to one minute for the change to take effect . Also if you change the policy attached to the role you specified in the roleArn field ( for example to correct an invalid policy ) it takes up to 5 minutes for that change to take effect .
fn put_logging_options(
        &self,
        input: PutLoggingOptionsRequest,
    ) -> RusotoFuture<(), PutLoggingOptionsError> {
        let request_uri = "/logging";
        let mut request = SignedRequest::new("PUT", "iotanalytics", &self.region, &request_uri);
        request.set_content_type("application/x-amz-json-1.1".to_owned());
        let encoded = Some(serde_json::to_vec(&input).unwrap());
        request.set_payload(encoded);
        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(PutLoggingOptionsError::from_response(response))),
                )
            }
        })
    }
fn put_logging_options ( & self , input : PutLoggingOptionsRequest , ) -> RusotoFuture < ( ) , PutLoggingOptionsError > { let request_uri = " " ; let mut request = SignedRequest :: new ( " " , " " , & self . region , & request_uri ) ; request . set_content_type ( " " . to_owned ( ) ) ; let encoded = Some ( serde_json :: to_vec ( & input ) . unwrap ( ) ) ; request . set_payload ( encoded ) ; 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 ( PutLoggingOptionsError :: from_response ( response ) ) ) , ) } } ) }
<p>Sets or updates the AWS IoT Analytics logging options.</p> <p>Note that if you update the value of any <code>loggingOptions</code> field, it takes up to one minute for the change to take effect.
<p > Sets or updates the AWS IoT Analytics logging options . < / p > <p > Note that if you update the value of any <code > loggingOptions< / code > field it takes up to one minute for the change to take effect .
&self
input
PutLoggingOptionsRequest
&self
input
PutLoggingOptionsRequest