Slow function for simple SNS message (AWS integration)

Hello, i’m trying to run a simple function that sends an SNS message to AWS.

I have integrated with AWS service and i can successfully send a message. But the execution time seems to be slow for what is it.

This is my function

exports = function(changeEvent) {
const sns = context.services.get(‘SNS’).sns(“eu-central-1”);

const docId = changeEvent.documentKey._id;

const message = {
‘Message’: {'profileId': ${docId}},
‘TopicArn’: ‘******’
}
sns.Publish(message)
};

Execution time is about 400ms. That a lot, isn’t it?