()
| 327 | |
| 328 | # snippet-start:[python.example_code.redshift.redshift_scenario.RedshiftScenario.main] |
| 329 | def main(): |
| 330 | redshift_client = boto3.client("redshift") |
| 331 | redshift_data_client = boto3.client("redshift-data") |
| 332 | redshift_wrapper = RedshiftWrapper(redshift_client) |
| 333 | redshift_data_wrapper = RedshiftDataWrapper(redshift_data_client) |
| 334 | redshift_scenario = RedshiftScenario(redshift_wrapper, redshift_data_wrapper) |
| 335 | redshift_scenario.redhift_scenario( |
| 336 | f"{os.path.dirname(__file__)}/../../../resources/sample_files/movies.json" |
| 337 | ) |
| 338 | |
| 339 | |
| 340 | # snippet-end:[python.example_code.redshift.redshift_scenario.RedshiftScenario.main] |
no test coverage detected