<?php

use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;

// This file has been auto-generated by the Symfony Dependency Injection Component for internal use.
// Returns the public 'mautic.transport.amazon_api' shared service.

$this->services['mautic.transport.amazon_api'] = $instance = new \Mautic\EmailBundle\Swiftmailer\Transport\AmazonApiTransport(($this->services['translator.default'] ?? $this->getTranslator_DefaultService()), ($this->services['mautic.transport.amazon.callback'] ?? $this->load('getMautic_Transport_Amazon_CallbackService.php')), ($this->services['monolog.logger.mautic'] ?? $this->getMonolog_Logger_MauticService()));

$instance->setRegion($this->getEnv('nullable:resolve:MAUTIC_MAILER_AMAZON_REGION'), $this->getEnv('nullable:resolve:MAUTIC_MAILER_AMAZON_OTHER_REGION'));
$instance->setUsername($this->getEnv('nullable:resolve:MAUTIC_MAILER_USER'));
$instance->setPassword($this->getEnv('nullable:resolve:MAUTIC_MAILER_PASSWORD'));

return $instance;
