tiki-deprecated / core-account-subscription-estimate

MIT License
0 stars 0 forks source link

Define Step Function #4

Closed mike-audi closed 9 months ago

mike-audi commented 11 months ago

Reason

Create a step function to execute the requests required for subscription estimation

Description

The step function requires the following request parameters

The step function should then execute the following tasks

1) Wrap the query in a count statement: SELECT COUNT(*) as "total" FROM ( query ); 2) Execute the count query using the Athena StartQueryExecution Step 3) Wrap the query in a sample statement: SELECT * FROM ( query ) LIMIT 3; 4) Execute the sample statement using the Athena StartQueryExecution Step 5) Using the Call third-party API step, with a body containing the requestId and the locations of the results (look for field OutputLocation)

Success Criteria

Additional Information

No response

ricardobrg commented 10 months ago

@MiroBenicio is waiting on AWS permissions