def __init__(self, fail_silently=False, aws_access_key=None, aws_secret_key=None, aws_region_name=None, aws_region_endpoint=None, aws_auto_throttle=None, aws_config=None, dkim_domain=None, dkim_key=None, dkim_selector=None, dkim_headers=None, ses_source_arn=None, ses_from_arn=None, ses_return_path_arn=None, **kwargs):
    super(SESBackend, self).__init__(fail_silently=fail_silently, **kwargs)
    self._access_key_id = (aws_access_key or settings.ACCESS_KEY)
    self._access_key = (aws_secret_key or settings.SECRET_KEY)
    self._region_name = (aws_region_name if aws_region_name else settings.AWS_SES_REGION_NAME)
    self._endpoint_url = (aws_region_endpoint if aws_region_endpoint else settings.AWS_SES_REGION_ENDPOINT_URL)
    self._throttle = cast_nonzero_to_float((aws_auto_throttle or settings.AWS_SES_AUTO_THROTTLE))
    self._config = (aws_config or settings.AWS_SES_CONFIG)
    self.dkim_domain = (dkim_domain or settings.DKIM_DOMAIN)
    self.dkim_key = (dkim_key or settings.DKIM_PRIVATE_KEY)
    self.dkim_selector = (dkim_selector or settings.DKIM_SELECTOR)
    self.dkim_headers = (dkim_headers or settings.DKIM_HEADERS)
    self.ses_source_arn = (ses_source_arn or settings.AWS_SES_SOURCE_ARN)
    self.ses_from_arn = (ses_from_arn or settings.AWS_SES_FROM_ARN)
    self.ses_return_path_arn = (ses_return_path_arn or settings.AWS_SES_RETURN_PATH_ARN)
    self.connection = None
def __init__(self, fail_silently=False, aws_access_key=None, aws_secret_key=None, aws_region_name=None, aws_region_endpoint=None, aws_auto_throttle=None, aws_config=None, dkim_domain=None, dkim_key=None, dkim_selector=None, dkim_headers=None, ses_source_arn=None, ses_from_arn=None, ses_return_path_arn=None, **kwargs):
    super(SESBackend, self).__init__(fail_silently=fail_silently, **kwargs)
    self._access_key_id = (aws_access_key or settings.ACCESS_KEY)
    self._access_key = (aws_secret_key or settings.SECRET_KEY)
    self._region_name = (aws_region_name if aws_region_name else settings.AWS_SES_REGION_NAME)
    self._endpoint_url = (aws_region_endpoint if aws_region_endpoint else settings.AWS_SES_REGION_ENDPOINT_URL)
    self._throttle = cast_nonzero_to_float((aws_auto_throttle or settings.AWS_SES_AUTO_THROTTLE))
    self._config = (aws_config or settings.AWS_SES_CONFIG)
    self.dkim_domain = (dkim_domain or settings.DKIM_DOMAIN)
    self.dkim_key = (dkim_key or settings.DKIM_PRIVATE_KEY)
    self.dkim_selector = (dkim_selector or settings.DKIM_SELECTOR)
    self.dkim_headers = (dkim_headers or settings.DKIM_HEADERS)
    self.ses_source_arn = (ses_source_arn or settings.AWS_SES_SOURCE_ARN)
    self.ses_from_arn = (ses_from_arn or settings.AWS_SES_FROM_ARN)
    self.ses_return_path_arn = (ses_return_path_arn or settings.AWS_SES_RETURN_PATH_ARN)
    self.connection = None