content: package lambda.utils;
  
  import com.google.common.collect.ImmutableMap;
  
  import java.util.Map;
  
  public class Constants {
  
      //Region configuration
      public static final String NA_REGION_CODE = "NA";
      public static final String SP_API_NA_AWS_REGION = "us-east-1";
      public static final String SP_API_NA_ENDPOINT = "https://sellingpartnerapi-na.amazon.com";
      public static final String EU_REGION_CODE = "EU";
      public static final String SP_API_EU_AWS_REGION = "eu-west-1";
      public static final String SP_API_EU_ENDPOINT = "https://sellingpartnerapi-eu.amazon.com";
      public static final String FE_REGION_CODE = "FE";
      public static final String SP_API_FE_AWS_REGION = "us-west-2";
      public static final String SP_API_FE_ENDPOINT = "https://sellingpartnerapi-fe.amazon.com";
  
      public static final Map<String, RegionConfig> VALID_SP_API_REGION_CONFIG = ImmutableMap.of(
              NA_REGION_CODE, new RegionConfig(SP_API_NA_AWS_REGION, SP_API_NA_ENDPOINT),
              EU_REGION_CODE, new RegionConfig(SP_API_EU_AWS_REGION, SP_API_EU_ENDPOINT),
              FE_REGION_CODE, new RegionConfig(SP_API_FE_AWS_REGION, SP_API_FE_ENDPOINT));
  
      //Login With Amazon Configuration
      public static final String LWA_ENDPOINT = "https://api.amazon.com/auth/o2/token";
  
      //Notifications Configuration
      public static final String NOTIFICATION_FULFILLMENT_ORDER_STATUS_EVENT_TYPE_ORDER = "Order";
      public static final String NOTIFICATION_FULFILLMENT_ORDER_STATUS_EVENT_TYPE_SHIPMENT = "Shipment";
  
      public static final String NOTIFICATION_FULFILLMENT_ORDER_STATUS_COMPLETE = "Complete";
  
      //Lambda Environment Variables
      public static final String SP_API_APP_CREDENTIALS_SECRET_ARN_ENV_VARIABLE = "SP_API_APP_CREDENTIALS_SECRET_ARN";
  
      public static final String STATE_MACHINE_ARN_ENV_VARIABLE = "STATE_MACHINE_ARN";
  
      public static final String REFRESH_TOKEN_ARN_ENV_VARIABLE = "REFRESH_TOKEN";
  
      public static final String REGION_CODE_ARN_ENV_VARIABLE = "REGION_CODE";
  
      public static final String SQS_QUEUE_ARN_ENV_VARIABLE = "SQS_QUEUE_ARN";
  
      //Generic Lambda Input Parameters
      public static final String REGION_CODE_KEY_NAME = "RegionCode";
  
      public static final String REFRESH_TOKEN_KEY_NAME = "RefreshToken";
  
      public static final String NOTIFICATION_TYPE_KEY_NAME = "NotificationType";
  
      //Lambda Utils
      public static final String LWA_NOTIFICATIONS_SCOPE = "sellingpartnerapi::notifications";
  }
  