The result of a command is a `Model `_ (``Guzzle\Service\Resource\Model``) object. This object contains the data from a response body and can be used like an array (e.g., ``$result['TableName']``). It also has convenience methods like ``get()``, ``getPath()``, and ``toArray()``. The contents of the response model depend on the command that was executed and are documented in the API docs for each operation (e.g., see the *Returns* section in the API docs for the `S3 GetObject operation `_). .. code-block:: php // Use an instance of S3Client to get an object $result = $client->getObject(array( 'Bucket' => 'my-bucket', 'Key' => 'test.txt' )); // Introspect the keys var_export($result->getKeys()); //> array( 'Body', 'ContentLength', 'DeleteMarker', 'Expiration', ... ) // Get a value echo $result['ContentLength']; // OR echo $result->get('ContentLength'); //> 6 // Get a nested value echo $result->getPath('Metadata/CustomValue'); //> Testing123 // Get an array of the data var_export($result->toArray()); //> array ( 'Body' => 'Hello!' , 'ContentLength' => 6, ... )