The list command is utilized to fetch a roster of available Data Spark-house clusters.
JSON Input Data Format

    {}

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.
Successful Response

    {
        "result": "OK",
        "payload": [
            {
                "name": "MyLake",
                "lake": "Delta",
                "bucket": "V7e70a0414-5004-4b72-ba89-f9345aa59076",
                "policy": "{\"Version\": \"2012-10-17\",\n\"Statement\": [{\n    \"Action\": [\n      \"s3:ListBucket\",\n      \"s3:PutObject\",\n      \"s3:GetObject\",\n      \"s3:DeleteObject\"\n    ],\n    \"Effect\": \"Allow\",\n      \"Resource\": [\n        \"arn:aws:s3:::datalake/*\",\n        \"arn:aws:s3:::datalake\"\n    ]\n}]}\n",
                "operator": "V746422bf7-c2bc-4513-a6ad-24e3a27dfb1c",
                "id": "V7f2d7da2e-54ee-4079-9ebd-b3774629137c"
            },
            ...
        ]
     }

Failed Response

    {
        "result": "ERR",
        "message": "Error message ..."
    }