lib/cf-resources/api-gateway-resource/s3-utility.js
function(bucket, key, version) {
        return S3.headObject({
            Bucket: bucket,
            Key: key,
            VersionId: version
        }).promise();
    }
function(bucket, key, version) {
        return S3.headObject({
            Bucket: bucket,
            Key: key,
            VersionId: version
        }).promise();
    }
function ( bucket , key , version ) { return S3 . headObject ( { Bucket : bucket , Key : key , VersionId : version } ) . promise ( ) ; }
Execute a HEAD operation on a specific key in a bucket. The request
can also contain an optional version for the file

@returns {Promise} which resolves to the response data for the request
Execute a HEAD operation on a specific key in a bucket . The request can also contain an optional version for the file