AptlyStar

AWS SES

Send emails and manage templates with AWS Simple Email Service

Instrucciones de uso

Integrate AWS SES v2 into the workflow. Send simple, templated, and bulk emails. Manage email templates and retrieve account sending quota and verified identity information.

Herramientas

ses_send_email

Send an email via AWS SES using simple or HTML content

Entrada

ParámetroTipoObligatorioDescripción
regionstringSíAWS region (e.g., us-east-1)
accessKeyIdstringSíAWS access key ID
secretAccessKeystringSíAWS secret access key
fromAddressstringSíVerified sender email address
toAddressesstringSíComma-separated list of recipient email addresses
subjectstringSíEmail subject line
bodyTextstringNoPlain text email body
bodyHtmlstringNoHTML email body
ccAddressesstringNoComma-separated list of CC email addresses
bccAddressesstringNoComma-separated list of BCC email addresses
replyToAddressesstringNoComma-separated list of reply-to email addresses
configurationSetNamestringNoSES configuration set name for tracking

Salida

ParámetroTipoDescripción
messageIdstringSES message ID for the sent email

ses_send_templated_email

Send an email using an SES email template with dynamic template data

Entrada

ParámetroTipoObligatorioDescripción
regionstringSíAWS region (e.g., us-east-1)
accessKeyIdstringSíAWS access key ID
secretAccessKeystringSíAWS secret access key
fromAddressstringSíVerified sender email address
toAddressesstringSíComma-separated list of recipient email addresses
templateNamestringSíName of the SES email template to use
templateDatastringSíJSON string of key-value pairs for template variable substitution
ccAddressesstringNoComma-separated list of CC email addresses
bccAddressesstringNoComma-separated list of BCC email addresses
configurationSetNamestringNoSES configuration set name for tracking

Salida

ParámetroTipoDescripción
messageIdstringSES message ID for the sent email

ses_send_bulk_email

Send emails to multiple recipients using an SES template with per-recipient data

Entrada

ParámetroTipoObligatorioDescripción
regionstringSíAWS region (e.g., us-east-1)
accessKeyIdstringSíAWS access key ID
secretAccessKeystringSíAWS secret access key
fromAddressstringSíVerified sender email address
templateNamestringSíName of the SES email template to use
destinationsstringSíJSON array of destination objects with toAddresses (string[]) and optional templateData (JSON string); falls back to defaultTemplateData when omitted
defaultTemplateDatastringNoDefault JSON template data used when a destination does not specify its own
configurationSetNamestringNoSES configuration set name for tracking

Salida

ParámetroTipoDescripción
resultsarrayPer-destination send results with status and messageId
successCountnumberNumber of successfully sent emails
failureCountnumberNumber of failed email sends

ses_list_identities

List all verified email identities (email addresses and domains) in your SES account

Entrada

ParámetroTipoObligatorioDescripción
regionstringSíAWS region (e.g., us-east-1)
accessKeyIdstringSíAWS access key ID
secretAccessKeystringSíAWS secret access key
pageSizenumberNoMaximum number of identities to return (1-1000)
nextTokenstringNoPagination token from a previous list response

Salida

ParámetroTipoDescripción
identitiesarrayList of email identities with name, type, sending status, and verification status
nextTokenstringPagination token for the next page of results
countnumberNumber of identities returned

ses_get_account

Get SES account sending quota and status information

Entrada

ParámetroTipoObligatorioDescripción
regionstringSíAWS region (e.g., us-east-1)
accessKeyIdstringSíAWS access key ID
secretAccessKeystringSíAWS secret access key

Salida

ParámetroTipoDescripción
sendingEnabledbooleanWhether email sending is enabled for the account
max24HourSendnumberMaximum emails allowed per 24-hour period
maxSendRatenumberMaximum emails allowed per second
sentLast24HoursnumberNumber of emails sent in the last 24 hours

ses_create_template

Create a new SES email template for use with templated email sending

Entrada

ParámetroTipoObligatorioDescripción
regionstringSíAWS region (e.g., us-east-1)
accessKeyIdstringSíAWS access key ID
secretAccessKeystringSíAWS secret access key
templateNamestringSíUnique name for the email template
subjectPartstringSíSubject line template (supports {{variable}} substitution)
textPartstringNoPlain text version of the template body
htmlPartstringNoHTML version of the template body

Salida

ParámetroTipoDescripción
messagestringConfirmation message for the created template

ses_get_template

Retrieve the content and details of an SES email template

Entrada

ParámetroTipoObligatorioDescripción
regionstringSíAWS region (e.g., us-east-1)
accessKeyIdstringSíAWS access key ID
secretAccessKeystringSíAWS secret access key
templateNamestringSíName of the template to retrieve

Salida

ParámetroTipoDescripción
templateNamestringName of the template
subjectPartstringSubject line of the template
textPartstringPlain text body of the template
htmlPartstringHTML body of the template

ses_list_templates

List all SES email templates in your account

Entrada

ParámetroTipoObligatorioDescripción
regionstringSíAWS region (e.g., us-east-1)
accessKeyIdstringSíAWS access key ID
secretAccessKeystringSíAWS secret access key
pageSizenumberNoMaximum number of templates to return
nextTokenstringNoPagination token from a previous list response

Salida

ParámetroTipoDescripción
templatesarrayList of email templates with name and creation timestamp
nextTokenstringPagination token for the next page of results
countnumberNumber of templates returned

ses_delete_template

Delete an existing SES email template

Entrada

ParámetroTipoObligatorioDescripción
regionstringSíAWS region (e.g., us-east-1)
accessKeyIdstringSíAWS access key ID
secretAccessKeystringSíAWS secret access key
templateNamestringSíName of the template to delete

Salida

ParámetroTipoDescripción
messagestringConfirmation message for the deleted template

On this page