def METHOD_NAME():
    boto_session = MagicMock("boto_session")
    resource_mock = Mock("resource")
    client_mock = MagicMock("client")
    boto_attrs = {"region_name": "us-east-1"}
    boto_session.configure_mock(**boto_attrs)
    boto_session.resource = Mock(name="resource", return_value=resource_mock)
    boto_session.client = Mock(name="client", return_value=client_mock)
    local_session = sagemaker.local.local_session.LocalSession(
        boto_session=boto_session, s3_endpoint_url=ENDPOINT_URL
    )
    local_session.default_bucket = Mock(name="default_bucket", return_value=BUCKET_NAME)
    return local_session