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,
相关内容
- AWS 官方已更新 6 个月前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前