Sample success responses

After an API operation succeeds, the response parameters and request ID are returned. In this case, the HTTP status code is 2xx. Sample response in JSON format:
{
    "RequestId": "4C467B38-3910-447D-87BC-AC049166F216" /* Return result */,
    "Other optional parameters": "Return values" /* Return values specific to each API */
}

Sample error responses

If an error occurs when you call an API operation, an error code, error message, and request ID are returned. In this case, the HTTP status code is 4xx or 5xx.
{
    "RequestId": "540CFF28-407A-40B5-B6A5-74Bxxxxxxxxx", /* Request ID */
    "Code": "MissingParameter.CommandId", /* Error code */
    "Message": "Missing Param" /* Error message */
}