aws-sdk-redshiftdataapiservice 1.69.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b1c5261d73068b6cdf69211997e67e5306f46bf73e6b3fe97096af97877effcf
4
- data.tar.gz: 2c905f896d32a6f0729b984974b2b3e27ad9d8b4ffd64e06e219295497201940
3
+ metadata.gz: 6f0c51198eac0b761bfbca6b1e518763457938b641b36df51a15b656ad782d49
4
+ data.tar.gz: 58334d53cfb1b8402ab04718acbb1a3929d6e63d009c94e41cebd3abcfe937cd
5
5
  SHA512:
6
- metadata.gz: 1746be8251ceb61df8f54247b0876d79e0a6440c599e85f25139704cbf87d6405592fc24dc45ddcd6db5c0931afd1a30255648285937746e75bf01e4acad99ac
7
- data.tar.gz: 56ec3e40cde0993d8cb801700d8d7ce0807a7d9d0b4b3e81293a76b5709ef3471dd017345537adcecb251c8ef6b9e56a854f624ab5cd102bad4a3a62b777ed3c
6
+ metadata.gz: 20bcb8a3c63fa283a3f2c794771c05bcfc25f7f85d5db71c13556cd0ad7481e1d44ea65d22887a8c5a4624ff8a103fb8ba5b7e6f8bba14aad80a2fb6c9189fb5
7
+ data.tar.gz: 92af7cb238e4d428b8809df7e2ed8331660913962caaec6fa0da2e5c7969dc5a58cfadc8203e67ee8f14c20917943663ee4d13b40d0d304c75ab69cdf67745de
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.70.0 (2026-03-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.69.0 (2026-01-16)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.69.0
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.69.0'
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
@@ -54,7 +54,7 @@ module Aws::RedshiftDataAPIService
54
54
  autoload :EndpointProvider, 'aws-sdk-redshiftdataapiservice/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-redshiftdataapiservice/endpoints'
56
56
 
57
- GEM_VERSION = '1.69.0'
57
+ GEM_VERSION = '1.71.0'
58
58
 
59
59
  end
60
60
 
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")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-redshiftdataapiservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.69.0
4
+ version: 1.71.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.241.4
21
+ version: 3.244.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.241.4
31
+ version: 3.244.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement