Swift Xcode Index Freezing or Slow

I tried many of the suggestions above including splitting files, installing Xcode 6.2 beta, and breaking string concatenation statements. What finally did it for me was splitting an array of dictionaries literal declaration I was using for test data into multiple .append statements. // This causes indexing/building to hang… var test = [ [ “a”: … Read more

Nodejs – Invoke an AWS.Lambda function from within another lambda function

Invoking a Lambda Function from within another Lambda function is quite simple using the aws-sdk which is available in every Lambda. I suggest starting with something simple first. This is the “Hello World” of intra-lambda invocation: Lambda_A invokes Lambda_B with a Payload containing a single parameter name:’Alex’. Lambda_B responds with Payload: “Hello Alex”. First create … Read more

How to get response from S3 getObject in Node.js?

@aws-sdk/client-s3 (2022 Update) Since I wrote this answer in 2016, Amazon has released a new JavaScript SDK, @aws-sdk/client-s3. This new version improves on the original getObject() by returning a promise always instead of opting in via .promise() being chained to getObject(). In addition to that, response.Body is no longer a Buffer but, one of Readable|ReadableStream|Blob. … Read more

The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256

AWS4-HMAC-SHA256, also known as Signature Version 4, (“V4”) is one of two authentication schemes supported by S3. All regions support V4, but US-Standard¹, and many — but not all — other regions, also support the other, older scheme, Signature Version 2 (“V2”). According to http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html … new S3 regions deployed after January, 2014 will only … Read more

Technically what is the difference between s3n, s3a and s3?

The letter change on the URI scheme makes a big difference because it causes different software to be used to interface to S3. Somewhat like the difference between http and https – it’s only a one-letter change, but it triggers a big difference in behavior. The difference between s3 and s3n/s3a is that s3 is … Read more