1 Answer
- Newest
- Most votes
- Most comments
0
Hi, as mentioned in the documentation the parameter should be typed in the sql statement in the format :parameter.
following the doc your code should look like:
response = rs_client.execute_statement(
ClusterIdentifier='my_cluster_name',
Database='my_db_name',
DbUser='my_user'',
Sql='call my_schema.this_is_my_proc(:in_param)',
Parameters=[{'name': 'in_param', 'value': 'this is the parameter'}],
StatementName='Test of SP call'
)
hope this helps,
Relevant content
- asked 5 years ago
- asked 5 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 years ago