diff --git a/src/internal/sqs.ts b/src/internal/sqs.ts index 34c2f03..332eaea 100644 --- a/src/internal/sqs.ts +++ b/src/internal/sqs.ts @@ -67,7 +67,7 @@ export class SQSClient extends AWSClient { const signedRequest: SignedHTTPRequest = this.signature.sign( { method: 'POST', - protocol: 'https', + protocol: this.scheme, hostname: this.host, path: '/', headers: { @@ -130,7 +130,7 @@ export class SQSClient extends AWSClient { const signedRequest: SignedHTTPRequest = this.signature.sign( { method: 'POST', - protocol: 'https', + protocol: this.scheme, hostname: this.host, path: '/', headers: { @@ -254,4 +254,4 @@ export interface ListQueuesResponse { * Pagination token to include in the next request. */ nextToken?: string -} \ No newline at end of file +}