def METHOD_NAME(
    self,
    body: Any,
    content_type: ContentType,
) -> Dict[str, Any]:
    response = self.sagemaker_runtime_client.invoke_endpoint(
        EndpointName=self.endpoint_name, ContentType=content_type.value, Body=body
    )
    return json.loads(response["Body"].read())