Signs a request with AWS Signature Version 4 and returns the headers to send: the input headers plus X-Amz-Date and Authorization.
X-Amz-Date
Authorization
Signs a request with AWS Signature Version 4 and returns the headers to send: the input headers plus
X-Amz-DateandAuthorization.