aws-sdk 2.993.0 → 2.994.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/config.js CHANGED
@@ -54,7 +54,7 @@ var PromisesDependency;
54
54
  *
55
55
  * @!attribute computeChecksums
56
56
  * @return [Boolean] whether to compute checksums for payload bodies when
57
- * the service accepts it (currently supported in S3 only).
57
+ * the service accepts it (currently supported in S3 and SQS only).
58
58
  *
59
59
  * @!attribute convertResponseTypes
60
60
  * @return [Boolean] whether types are converted when parsing response data.
package/lib/core.js CHANGED
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
20
20
  /**
21
21
  * @constant
22
22
  */
23
- VERSION: '2.993.0',
23
+ VERSION: '2.994.0',
24
24
 
25
25
  /**
26
26
  * @api private
@@ -524,7 +524,7 @@ AWS.EventListeners = {
524
524
  ['EAI_NONAME', 'EAI_NODATA'].indexOf(AWS.util.getSystemErrorName(err.errno) >= 0);
525
525
  }
526
526
  if (err.code === 'NetworkingError' && isDNSError(err)) {
527
- var message = 'Inaccessible host: `' + err.hostname +
527
+ var message = 'Inaccessible host: `' + err.hostname + '\' at port `' + err.port +
528
528
  '\'. This service may not be available in the `' + err.region +
529
529
  '\' region.';
530
530
  this.response.error = AWS.util.error(new Error(message), {
@@ -18,7 +18,7 @@ export class HttpRequest {
18
18
  /**
19
19
  * The request body payload.
20
20
  */
21
- body: string;
21
+ body: string | Buffer;
22
22
  /**
23
23
  * The endpoint for the request.
24
24
  */
package/lib/signers/v4.js CHANGED
@@ -179,7 +179,7 @@ AWS.Signers.V4 = inherit(AWS.Signers.RequestSigner, {
179
179
 
180
180
  hexEncodedBodyHash: function hexEncodedBodyHash() {
181
181
  var request = this.request;
182
- if (this.isPresigned() && this.serviceName === 's3' && !request.body) {
182
+ if (this.isPresigned() && (['s3', 's3-object-lambda'].indexOf(this.serviceName) > -1) && !request.body) {
183
183
  return 'UNSIGNED-PAYLOAD';
184
184
  } else if (request.headers['X-Amz-Content-Sha256']) {
185
185
  return request.headers['X-Amz-Content-Sha256'];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "aws-sdk",
3
3
  "description": "AWS SDK for JavaScript",
4
- "version": "2.993.0",
4
+ "version": "2.994.0",
5
5
  "author": {
6
6
  "name": "Amazon Web Services",
7
7
  "email": "",