How to use the @cumulus/aws-client/sns.publishSnsMessage function in @cumulus/aws-client

To help you get started, we’ve selected a few @cumulus/aws-client examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github nasa / cumulus / packages / api / lambdas / publish-executions.js View on Github external
(record) => {
      const execution = attr.unwrap(record.dynamodb.NewImage);
      return publishSnsMessage(topicArn, execution);
    }
  );