Query For Configuration

Simple query to list configurations.

Use case

Takes configId as a parameter then queries AWS S3 and populates the configuration object.

Example Input:

{
  "awsProfile": "bronze",
  "awsStage": "beta",
  "configId": "config123"
}

Example Output:

{
  "promotionId": "promo456",
  "configurationParameters": {
    "language": "bg-BG",
    "country": "BG",
    ...
  },
  "configurationId": "config123",
  ...  
}