Did I find the right examples for you? yes no

All Samples(20)  |  Call(19)  |  Derive(0)  |  Import(1)
:type aws_access_key_id: string
:param aws_access_key_id: Your AWS Access Key ID

:type aws_secret_access_key: string
:param aws_secret_access_key: Your AWS Secret Access Key

:rtype: :class:`boto.ses.SESConnection`
:return: A connection to Amazon's SES

        def connect_ses(aws_access_key_id=None, aws_secret_access_key=None, **kwargs):
    """
    :type aws_access_key_id: string
    :param aws_access_key_id: Your AWS Access Key ID

    :type aws_secret_access_key: string
    :param aws_secret_access_key: Your AWS Secret Access Key

    :rtype: :class:`boto.ses.SESConnection`
    :return: A connection to Amazon's SES
    """
    from boto.ses import SESConnection
    return SESConnection(aws_access_key_id, aws_secret_access_key, **kwargs)
        


src/s/p/spray-HEAD/src/spray/output.py   spray(Download)
    def __init__(self, overrides=None):
        self.overrides = overrides
        conf = aws_credentials.get_credentials()
        region = ses.regions()[0]  # Getting first region
        self.conn = boto.connect_ses(aws_access_key_id=conf[0],

src/c/h/Change-By-Us-HEAD/scripts/digest_emailer.py   Change-By-Us(Download)
 
        self.SESHandle = boto.connect_ses(
          aws_access_key_id     = settings.get('aws_ses').get('access_key_id'),
          aws_secret_access_key = settings.get('aws_ses').get('secret_access_key'))
 

src/c/h/Change-By-Us-HEAD/main.py   Change-By-Us(Download)
        try:
            c = boto.connect_ses(
              aws_access_key_id     = Config.get('email').get('aws_ses').get('access_key_id'),
              aws_secret_access_key = Config.get('email').get('aws_ses').get('secret_access_key'))
 

src/s/e/seacucumber-1.5.1/seacucumber/util.py   seacucumber(Download)
 
    return boto.connect_ses(
        aws_access_key_id=access_key_id,
        aws_secret_access_key=access_key,
    )

src/s/e/sea-cucumber-HEAD/seacucumber/util.py   sea-cucumber(Download)
 
    return boto.connect_ses(
        aws_access_key_id=access_key_id,
        aws_secret_access_key=access_key,
    )

src/d/o/dott-HEAD/src/utils/email.py   dott(Download)
        """
        conn = boto.connect_ses(
            settings.AWS_ACCESS_KEY_ID,
            settings.AWS_SECRET_ACCESS_KEY
        )

src/p/o/postman-0.6.0/postman/__main__.py   postman(Download)
def cmd_send(args):
    ses = boto.connect_ses()
    out("Sending mail to: %s" % ", ".join(args.destinations), args)
    msg = sys.stdin.read()
    if args.sanitize:
def cmd_verify(args):
    ses = boto.connect_ses()
    for email in args.email:
        ses.verify_email_address(email)
        out("Verification for %s sent." % email, args)
 
 
def cmd_list_verified(args):
    ses = boto.connect_ses()
def cmd_show_quota(args):
    ses = boto.connect_ses()
    args.verbose= True
 
    data = ses.get_send_quota()["GetSendQuotaResponse"]["GetSendQuotaResult"]
def cmd_show_stats(args):
    ses = boto.connect_ses()
    args.verbose = True
 
    data = ses.get_send_statistics()

src/s/p/spray-HEAD/src/spray/tests/test_access.py   spray(Download)
from boto import connect_ses
from boto.sqs import regions
from boto.sqs.connection import SQSConnection
from spray.utils import aws_credentials
import unittest
    def test_credentialled_SES_access(self):
        "check that the credentials can access the SES service"
        creds = aws_credentials.get_credentials()
        conn = connect_ses(aws_access_key_id=creds[0], aws_secret_access_key=creds[1])
        verified = conn.list_verified_email_addresses()

src/m/o/moto-HEAD/tests/test_ses/test_ses.py   moto(Download)
def test_verify_email_identity():
    conn = boto.connect_ses('the_key', 'the_secret')
    conn.verify_email_identity("test@example.com")
 
    identities = conn.list_identities()
def test_domain_verify():
    conn = boto.connect_ses('the_key', 'the_secret')
 
    conn.verify_domain_dkim("domain1.com")
    conn.verify_domain_identity("domain2.com")
def test_delete_identity():
    conn = boto.connect_ses('the_key', 'the_secret')
    conn.verify_email_identity("test@example.com")
 
    conn.list_identities()['ListIdentitiesResponse']['ListIdentitiesResult']['Identities'].should.have.length_of(1)
def test_send_email():
    conn = boto.connect_ses('the_key', 'the_secret')
 
    conn.send_email.when.called_with(
        "test@example.com", "test subject",
def test_send_html_email():
    conn = boto.connect_ses('the_key', 'the_secret')
 
    conn.send_email.when.called_with(
        "test@example.com", "test subject",