fn update_user_security_profiles(
        &self,
        input: UpdateUserSecurityProfilesRequest,
    ) -> RusotoFuture<(), UpdateUserSecurityProfilesError> {
        let request_uri = format!(
            "/users/{instance_id}/{user_id}/security-profiles",
            instance_id = input.instance_id,
            user_id = input.user_id
        );

        let mut request = SignedRequest::new("POST", "connect", &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(UpdateUserSecurityProfilesError::from_response(response))
                }))
            }
        })
    }
/// <p>Update the security profiles assigned to the user.</p>
Update the security profiles assigned to the user.
Update the security profiles assigned to the user .
fn update_user_security_profiles(
        &self,
        input: UpdateUserSecurityProfilesRequest,
    ) -> RusotoFuture<(), UpdateUserSecurityProfilesError> {
        let request_uri = format!(
            "/users/{instance_id}/{user_id}/security-profiles",
            instance_id = input.instance_id,
            user_id = input.user_id
        );
        let mut request = SignedRequest::new("POST", "connect", &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(UpdateUserSecurityProfilesError::from_response(response))
                }))
            }
        })
    }
fn update_user_security_profiles ( & self , input : UpdateUserSecurityProfilesRequest , ) -> RusotoFuture < ( ) , UpdateUserSecurityProfilesError > { let request_uri = format ! ( " " instance_id input instance_id user_id input user_id ) ; 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 ( UpdateUserSecurityProfilesError :: from_response ( response ) ) } ) ) } } ) }
<p>Update the security profiles assigned to the user.</p>
<p > Update the security profiles assigned to the user . < / p >
&self
input
UpdateUserSecurityProfilesRequest
&self
input
UpdateUserSecurityProfilesRequest