/// <summary>
 ///     Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     if (_sesClient != null)
     {
         _sesClient.Dispose();
     }
     if (_awsCredentials != null)
     {
         _awsCredentials.Dispose();
     }
 }