1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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,