amazonses

package module
v0.0.0-...-dceaa68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 6 Imported by: 0

README

Amazon Simple Email Service

Sends emails using Amazon Simple Email Service (SES)

Installation

flogo install github.com/retgits/flogo-components/activity/amazonses

Link for flogo web:

https://github.com/retgits/flogo-components/activity/amazonses

Schema

Inputs and Outputs:

{
    "inputs": [
        {
            "name": "to",
            "type": "string",
            "required": true
        },
        {
            "name": "from",
            "type": "string",
            "required": true
        },
        {
            "name": "content",
            "type": "string",
            "required": true
        },
        {
            "name": "subject",
            "type": "string",
            "required": true
        },
        {
            "name": "awsAccessKeyID",
            "type": "string",
            "required": false
        },
        {
            "name": "awsSecretAccessKey",
            "type": "string",
            "required": false
        },
        {
            "name": "awsRegion",
            "type": "string",
            "required": true
        }
    ],
    "outputs": [
        {
            "name": "result",
            "type": "any"
        }
    ]
}

Inputs

Input Description
to The email address from which to send the address (must be a validated email address)
from The email address to which to send the email
content The content to send
subject The subject of the email
awsAccessKeyID Your AWS Access Key (only needed if you don't give your Lambda function rights to interact with Amazon SES)
awsSecretAccessKey Your AWS Secret Key (only needed if you don't give your Lambda function rights to interact with Amazon SES)
awsRegion The AWS region from where you want to use SES (only needed if you don't give your Lambda function rights to interact with Amazon SES)

Ouputs

Output Description
result The result from Amazon SES

Documentation

Overview

Package amazonses allows the user to send emails using Amazon Simple Email Service (SES)

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActivity

func NewActivity(metadata *activity.Metadata) activity.Activity

NewActivity creates a new activity

Types

type MyActivity

type MyActivity struct {
	// contains filtered or unexported fields
}

MyActivity is a stub for your Activity implementation

func (*MyActivity) Eval

func (a *MyActivity) Eval(context activity.Context) (done bool, err error)

Eval implements activity.Activity.Eval

func (*MyActivity) Metadata

func (a *MyActivity) Metadata() *activity.Metadata

Metadata implements activity.Activity.Metadata

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL