You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let aws_config = aws_config::load_from_env().await;let rds_client = aws_sdk_rdsdata::Client::new(&aws_config);let result = rds_client.execute_sql().db_cluster_or_instance_arn(some_arn_str).aws_secret_store_arn(some_secret_arn_str).sql_statements(some_sql_str).database(some_db_str).send().await?;
Results in:
ServiceError(ServiceError{
source:ExecuteSqlError{kind:BadRequestException(BadRequestException{message:Some("This API is deprecated and not available. Use ExecuteStatement API instead")})
At runtime.
I am assuming that this is directly referring to aws_sdk_rdsdata::client::Client::execute_sql as calling aws_sdk_rdsdata::client::Client::execute_statement does not produce the same result.
If this is the case, making the function as deprecated in the documentation would be helpful.
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the issue
Calling:
Results in:
At runtime.
I am assuming that this is directly referring to
aws_sdk_rdsdata::client::Client::execute_sql
as callingaws_sdk_rdsdata::client::Client::execute_statement
does not produce the same result.If this is the case, making the function as deprecated in the documentation would be helpful.
Links
https://docs.rs/aws-sdk-rdsdata/latest/aws_sdk_rdsdata/client/struct.Client.html#method.execute_sql
The text was updated successfully, but these errors were encountered: