AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { isNil } from '@activepieces/pieces-framework';
import { SNSClient } from '@aws-sdk/client-sns';
export function createSNS(auth: {
accessKeyId: string;
secretAccessKey: string;
region: string | undefined;
endpoint: string | undefined;
}) {
const sns = new SNSClient({
credentials: {
accessKeyId: auth.accessKeyId,
secretAccessKey: auth.secretAccessKey,
},
region: auth.region,
endpoint:
auth.endpoint === '' || isNil(auth.endpoint) ? undefined : auth.endpoint,
});
return sns;
}