How can I unload data from the Redshift to S3? I was reading the following document but where can I use this command?
https://docs.aws.amazon.com/redshift/latest/dg/t_Unloading_tables.html
unload ('select * from venue')
to 's3://mybucket/tickit/unload/venue_'
iam_role 'arn:aws:iam::0123456789012:role/MyRedshiftRole';
is it a bash command or py?