code: def test_constraints_object_creation_from_string_without_customizations(
      sagemaker_session,
  ):
      with open(
          os.path.join(
              tests.integ.DATA_DIR, "monitor/constraints.json"
          ),
          "r",
      ) as f:
          file_body = f.read()
  
      constraints = Constraints.from_string(
          constraints_file_string=file_body,
          sagemaker_session=sagemaker_session,
      )
  
      assert constraints.file_s3_uri.startswith("s3://")
      assert constraints.file_s3_uri.endswith("constraints.json")
  
      assert (
          constraints.body_dict["monitoring_config"][
              "evaluate_constraints"
          ]
          == "Enabled"
      )
  
imports: from __future__ import absolute_import
  import os
  import uuid
  import pytest
  import tests.integ
  import tests.integ.timeout
  from sagemaker.model_monitor import Statistics, Constraints, ConstraintViolations
  from sagemaker.s3 import S3Uploader
  from tests.integ.kms_utils import get_or_create_kms_key
label_desc: Use image node_id 11 for calling a global function with example usage: test_constraints_object_creation_from_string_without_customizations(sagemaker_session) without return types