getCanonicalUri method
Returns canonical URI parameter
https://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
Implementation
String getCanonicalUri() {
var normalizedPath = normalizePath(path);
return quote(normalizedPath).replaceAll('%2F', '/');
}