Skip to content

Commit

Permalink
Support for additional regions (#75)
Browse files Browse the repository at this point in the history
Support for additional regions
  • Loading branch information
VincentNikkelen authored Oct 13, 2020
1 parent 1090017 commit fa1a642
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/SimpleEmailService.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,26 @@
class SimpleEmailService
{
/**
* @link(AWS SES regions, http://docs.aws.amazon.com/ses/latest/DeveloperGuide/regions.html)
* @link(AWS SES regions, https://docs.aws.amazon.com/general/latest/gr/ses.html)
*/
const AWS_CA_CENTRAL_1 = 'email.ca-central-1.amazonaws.com';
const AWS_AP_NORTHEAST_1 = 'email.ap-northeast-1.amazonaws.com';
const AWS_AP_NORTHEAST_2 = 'email.ap-northeast-2.amazonaws.com';
const AWS_AP_SOUTH_1 = 'email.ap-south-1.amazonaws.com';
const AWS_AP_SOUTHEAST_1 = 'email.ap-southeast-1.amazonaws.com';
const AWS_AP_SOUTHEAST_2 = 'email.ap-southeast-2.amazonaws.com';
const AWS_EU_CENTRAL_1 = 'email.eu-central-1.amazonaws.com';
const AWS_EU_WEST_1 = 'email.eu-west-1.amazonaws.com';
const AWS_EU_WEST_2 = 'email.eu-west-2.amazonaws.com';
const AWS_SA_EAST_1 = 'email.sa-east-1.amazonaws.com';
const AWS_US_EAST_1 = 'email.us-east-1.amazonaws.com';
const AWS_US_EAST_2 = 'email.us-east-2.amazonaws.com';
const AWS_US_GOV_WEST_1 = 'email.us-gov-west-1.amazonaws.com';
const AWS_US_WEST_2 = 'email.us-west-2.amazonaws.com';

/**
* Deprecated, available for backward compatibility
*/
const AWS_EU_WEST1 = 'email.eu-west-1.amazonaws.com';

const REQUEST_SIGNATURE_V3 = 'v4'; // For BW compatibility reasons.
Expand Down

0 comments on commit fa1a642

Please sign in to comment.