src/Components/S3FileSystem.php
public function getBlobProperties($container, $name)
    {
        try {
            $this->checkConnection();

            /** @var \Aws\Result $result */
            $result = $this->blobConn->headObject(
                [
                    'Bucket' => $container,
                    'Key'    => $name
                ]
            );

            $out = [
                'name'           => $name,
                'content_type'   => $result->get('ContentType'),
                'content_length' => intval($result->get('ContentLength')),
                'last_modified'  => $result->get('LastModified')
            ];

            return $out;
        } catch (\Exception $ex) {
            throw new DfException('Failed to list blob metadata: ' . $ex->getMessage());
        }
    }
public function getBlobProperties($container, $name)
    {
        try {
            $this->checkConnection();

            /** @var \Aws\Result $result */
            $result = $this->blobConn->headObject(
                [
                    'Bucket' => $container,
                    'Key'    => $name
                ]
            );

            $out = [
                'name'           => $name,
                'content_type'   => $result->get('ContentType'),
                'content_length' => intval($result->get('ContentLength')),
                'last_modified'  => $result->get('LastModified')
            ];

            return $out;
        } catch (\Exception $ex) {
            throw new DfException('Failed to list blob metadata: ' . $ex->getMessage());
        }
    }
List blob

@param  string $container Container name
@param  string $name      Blob name

@return array instance
@throws DfException