def METHOD_NAME():
    client = boto3.client("appsync", region_name="us-east-2")
    api_id = client.create_graphql_api(name="api1", authenticationType="API_KEY")[
        "graphqlApi"
    ]["apiId"]
    client.start_schema_creation(
        apiId=api_id, definition=schema_with_directives.encode("utf-8")
    )
    resp = client.get_introspection_schema(
        apiId=api_id, format="SDL", includeDirectives=False
    )
    schema_sdl = resp["schema"].read().decode("utf-8")
    assert "@aws_subscribe" not in schema_sdl