code: private static CloudErrorType toCloudErrorType(String code) {
          if ("Throttling".equals(code)) {
              return CloudErrorType.THROTTLING;
          } else if ("TooManyBuckets".equals(code)) {
              return CloudErrorType.QUOTA;
          } else if ("SignatureDoesNotMatch".equals(code)) {
              return CloudErrorType.AUTHENTICATION;
          } else {
              return CloudErrorType.GENERAL;
          }
      }
docs: Converts AWS error code to dasein cloud error type
  
  @param code AWS error code
  @return dasein cloud error type