question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add support for "blobValues" in "ArrayValue" as part of RDSDataService

See original GitHub issue

Feature request:

I would like the Boto3 RDSDataService client to support “blobValues” within “arrayValue”, so that I can pass arrays of blob values to the execute_statement parameters argument:

This is documented in the AWS API reference: https://docs.aws.amazon.com/rdsdataservice/latest/APIReference/API_ArrayValue.html

Example:

rds_data_client = boto3.client("rds-data")

rds_data_client.execute_statement(
  secretArn={{secret_arn}},
  database={{db_name}},
  resourceArn={{resource_arn}},
  sql={{sql_query}},
  parameters={
    "name": "test"
    "value": {
      "arrayValue": {
        "blobValues": [
          b'test1',
          b'test2'
        ]
      }
    }
  }
})

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
swetashrecommented, Oct 23, 2019

@rrhodes - Yes, you are right this is not yet supported. In the api documentation it is saying that its supported that’s why it is a little confusing. But now it is confirmed that documentation is wrong about this and it is not supported yet.

This will be a feature request for the service team as this has to be implemented on the service side. I have already let the service team know about this issue.

0reactions
swetashrecommented, Oct 24, 2019

@rrhodes - I am closing the issue as this would be a feature request for the service team and we can’t do much on the SDK side to fix this. Thanks again for reporting the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Class: AWS.RDSDataService — AWS SDK for JavaScript
Constructs a service interface object. Each API operation is exposed as a function on service. Service Description. Amazon RDS provides an ...
Read more >
RDSDataService — Boto3 Docs 1.26.32 documentation - AWS
Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these statements, you...
Read more >
rdsdataservice - Go Packages
Amazon RDS provides an HTTP endpoint to run SQL statements on an Amazon Aurora Serverless v1 DB cluster. To run these statements, you...
Read more >
@smontero/data-api-client - npm
RDSDataService client to make working with async/await or Promise ... they will add an arrayValues or something similar to support this in ...
Read more >
Aurora-data-api NPM
Aurora Data API Client is an abstraction of the RDSDataService that implements the ... This library is part of the Data API for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found