Skip to content

Commit

Permalink
Redshift Data API Service Update: Redshift Data API service now suppo…
Browse files Browse the repository at this point in the history
…rts SQL parameterization.
  • Loading branch information
AWS committed Jun 15, 2021
1 parent 3cb1514 commit 90ce8a3
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "feature",
"category": "Redshift Data API Service",
"contributor": "",
"description": "Redshift Data API service now supports SQL parameterization."
}
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@
"shape":"UUID",
"documentation":"<p>The identifier of the SQL statement described. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. </p>"
},
"QueryParameters":{
"shape":"SqlParametersList",
"documentation":"<p>The parameters for the SQL statement.</p>"
},
"QueryString":{
"shape":"StatementString",
"documentation":"<p>The SQL statement text. </p>"
Expand Down Expand Up @@ -439,6 +443,10 @@
"shape":"String",
"documentation":"<p>The database user name. This parameter is required when authenticating using temporary credentials. </p>"
},
"Parameters":{
"shape":"SqlParametersList",
"documentation":"<p>The parameters for the SQL statement.</p>"
},
"SecretArn":{
"shape":"SecretArn",
"documentation":"<p>The name or ARN of the secret that enables access to the database. This parameter is required when authenticating using AWS Secrets Manager. </p>"
Expand Down Expand Up @@ -777,6 +785,14 @@
"max":1000,
"min":0
},
"ParameterName":{
"type":"string",
"pattern":"^[0-9a-zA-Z_]+$"
},
"ParameterValue":{
"type":"string",
"min":1
},
"ResourceNotFoundException":{
"type":"structure",
"required":[
Expand All @@ -801,6 +817,29 @@
"member":{"shape":"String"}
},
"SecretArn":{"type":"string"},
"SqlParameter":{
"type":"structure",
"required":[
"name",
"value"
],
"members":{
"name":{
"shape":"ParameterName",
"documentation":"<p>The name of the parameter.</p>"
},
"value":{
"shape":"ParameterValue",
"documentation":"<p>The value of the parameter. Amazon Redshift implicitly converts to the proper data type. For more inforation, see <a href=\"https://docs.aws.amazon.com/redshift/latest/dg/c_Supported_data_types.html\">Data types</a> in the <i>Amazon Redshift Database Developer Guide</i>. </p>"
}
},
"documentation":"<p>A parameter used in a SQL statement.</p>"
},
"SqlParametersList":{
"type":"list",
"member":{"shape":"SqlParameter"},
"min":1
},
"SqlRecords":{
"type":"list",
"member":{"shape":"FieldList"}
Expand All @@ -817,6 +856,10 @@
"shape":"UUID",
"documentation":"<p>The SQL statement identifier. This value is a universally unique identifier (UUID) generated by Amazon Redshift Data API. </p>"
},
"QueryParameters":{
"shape":"SqlParametersList",
"documentation":"<p>The parameters used in a SQL statement.</p>"
},
"QueryString":{
"shape":"StatementString",
"documentation":"<p>The SQL statement.</p>"
Expand Down

0 comments on commit 90ce8a3

Please sign in to comment.