aws-sdk-redshiftdataapiservice 1.70.0 → 1.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshiftdataapiservice/client.rb +11 -1
- data/lib/aws-sdk-redshiftdataapiservice/client_api.rb +1 -0
- data/lib/aws-sdk-redshiftdataapiservice/types.rb +8 -1
- data/lib/aws-sdk-redshiftdataapiservice.rb +1 -1
- data/sig/client.rbs +6 -0
- data/sig/types.rbs +1 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6f0c51198eac0b761bfbca6b1e518763457938b641b36df51a15b656ad782d49
|
|
4
|
+
data.tar.gz: 58334d53cfb1b8402ab04718acbb1a3929d6e63d009c94e41cebd3abcfe937cd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 20bcb8a3c63fa283a3f2c794771c05bcfc25f7f85d5db71c13556cd0ad7481e1d44ea65d22887a8c5a4624ff8a103fb8ba5b7e6f8bba14aad80a2fb6c9189fb5
|
|
7
|
+
data.tar.gz: 92af7cb238e4d428b8809df7e2ed8331660913962caaec6fa0da2e5c7969dc5a58cfadc8203e67ee8f14c20917943663ee4d13b40d0d304c75ab69cdf67745de
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.71.0 (2026-04-09)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - The BatchExecuteStatement API now supports named SQL parameters, enabling secure batch queries with parameterized values. This enhancement helps prevent SQL injection vulnerabilities and improves query reusability.
|
|
8
|
+
|
|
4
9
|
1.70.0 (2026-03-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.71.0
|
|
@@ -559,6 +559,10 @@ module Aws::RedshiftDataAPIService
|
|
|
559
559
|
# The name of the SQL statements. You can name the SQL statements when
|
|
560
560
|
# you create them to identify the query.
|
|
561
561
|
#
|
|
562
|
+
# @option params [Array<Types::SqlParameter>] :parameters
|
|
563
|
+
# The parameters for the SQL statements. The parameters are shared
|
|
564
|
+
# across all SQL statements in the batch.
|
|
565
|
+
#
|
|
562
566
|
# @option params [String] :workgroup_name
|
|
563
567
|
# The serverless workgroup name or Amazon Resource Name (ARN). This
|
|
564
568
|
# parameter is required when connecting to a serverless workgroup and
|
|
@@ -605,6 +609,12 @@ module Aws::RedshiftDataAPIService
|
|
|
605
609
|
# database: "String",
|
|
606
610
|
# with_event: false,
|
|
607
611
|
# statement_name: "StatementNameString",
|
|
612
|
+
# parameters: [
|
|
613
|
+
# {
|
|
614
|
+
# name: "ParameterName", # required
|
|
615
|
+
# value: "ParameterValue", # required
|
|
616
|
+
# },
|
|
617
|
+
# ],
|
|
608
618
|
# workgroup_name: "WorkgroupNameString",
|
|
609
619
|
# client_token: "ClientToken",
|
|
610
620
|
# result_format: "JSON", # accepts JSON, CSV
|
|
@@ -1757,7 +1767,7 @@ module Aws::RedshiftDataAPIService
|
|
|
1757
1767
|
tracer: tracer
|
|
1758
1768
|
)
|
|
1759
1769
|
context[:gem_name] = 'aws-sdk-redshiftdataapiservice'
|
|
1760
|
-
context[:gem_version] = '1.
|
|
1770
|
+
context[:gem_version] = '1.71.0'
|
|
1761
1771
|
Seahorse::Client::Request.new(handlers, context)
|
|
1762
1772
|
end
|
|
1763
1773
|
|
|
@@ -109,6 +109,7 @@ module Aws::RedshiftDataAPIService
|
|
|
109
109
|
BatchExecuteStatementInput.add_member(:database, Shapes::ShapeRef.new(shape: String, location_name: "Database"))
|
|
110
110
|
BatchExecuteStatementInput.add_member(:with_event, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithEvent"))
|
|
111
111
|
BatchExecuteStatementInput.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementNameString, location_name: "StatementName"))
|
|
112
|
+
BatchExecuteStatementInput.add_member(:parameters, Shapes::ShapeRef.new(shape: SqlParametersList, location_name: "Parameters"))
|
|
112
113
|
BatchExecuteStatementInput.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupNameString, location_name: "WorkgroupName"))
|
|
113
114
|
BatchExecuteStatementInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken" => true}))
|
|
114
115
|
BatchExecuteStatementInput.add_member(:result_format, Shapes::ShapeRef.new(shape: ResultFormatString, location_name: "ResultFormat"))
|
|
@@ -97,6 +97,11 @@ module Aws::RedshiftDataAPIService
|
|
|
97
97
|
# you create them to identify the query.
|
|
98
98
|
# @return [String]
|
|
99
99
|
#
|
|
100
|
+
# @!attribute [rw] parameters
|
|
101
|
+
# The parameters for the SQL statements. The parameters are shared
|
|
102
|
+
# across all SQL statements in the batch.
|
|
103
|
+
# @return [Array<Types::SqlParameter>]
|
|
104
|
+
#
|
|
100
105
|
# @!attribute [rw] workgroup_name
|
|
101
106
|
# The serverless workgroup name or Amazon Resource Name (ARN). This
|
|
102
107
|
# parameter is required when connecting to a serverless workgroup and
|
|
@@ -138,6 +143,7 @@ module Aws::RedshiftDataAPIService
|
|
|
138
143
|
:database,
|
|
139
144
|
:with_event,
|
|
140
145
|
:statement_name,
|
|
146
|
+
:parameters,
|
|
141
147
|
:workgroup_name,
|
|
142
148
|
:client_token,
|
|
143
149
|
:result_format,
|
|
@@ -259,7 +265,8 @@ module Aws::RedshiftDataAPIService
|
|
|
259
265
|
# @return [Integer]
|
|
260
266
|
#
|
|
261
267
|
# @!attribute [rw] precision
|
|
262
|
-
# The precision value of a decimal number column
|
|
268
|
+
# The precision value of a decimal number column, or the column length
|
|
269
|
+
# for a non-numeric column.
|
|
263
270
|
# @return [Integer]
|
|
264
271
|
#
|
|
265
272
|
# @!attribute [rw] scale
|
data/sig/client.rbs
CHANGED
|
@@ -100,6 +100,12 @@ module Aws
|
|
|
100
100
|
?database: ::String,
|
|
101
101
|
?with_event: bool,
|
|
102
102
|
?statement_name: ::String,
|
|
103
|
+
?parameters: Array[
|
|
104
|
+
{
|
|
105
|
+
name: ::String,
|
|
106
|
+
value: ::String
|
|
107
|
+
},
|
|
108
|
+
],
|
|
103
109
|
?workgroup_name: ::String,
|
|
104
110
|
?client_token: ::String,
|
|
105
111
|
?result_format: ("JSON" | "CSV"),
|
data/sig/types.rbs
CHANGED
|
@@ -32,6 +32,7 @@ module Aws::RedshiftDataAPIService
|
|
|
32
32
|
attr_accessor database: ::String
|
|
33
33
|
attr_accessor with_event: bool
|
|
34
34
|
attr_accessor statement_name: ::String
|
|
35
|
+
attr_accessor parameters: ::Array[Types::SqlParameter]
|
|
35
36
|
attr_accessor workgroup_name: ::String
|
|
36
37
|
attr_accessor client_token: ::String
|
|
37
38
|
attr_accessor result_format: ("JSON" | "CSV")
|