aws-sdk-redshiftdataapiservice 1.52.0 → 1.54.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: 6203521e7ee943fde1647ca1c3052c3ae4e9137d9e9b0dd76f2d1299dc066991
4
- data.tar.gz: 8f2f14f19feb07ccf6213fe086ca2125ca5b05644f5990f858f5684b83cc53e7
3
+ metadata.gz: d610981ce364c23438c3325fe7ba2077cd2c5551a37b5bf3766fa99c5e11952f
4
+ data.tar.gz: 973c50935bea266e921e7578453f10a5322a4ea53c86e626d9eb165d831988e3
5
5
  SHA512:
6
- metadata.gz: 5ad3a0265491911eee310f52a9fde7bedf1ee97ecdb874d8ae615b2b1b1165d6188af242d6fbda15015c9bc62b030078e1d885cf1f5f43fa8fba958f0b1eab7d
7
- data.tar.gz: d506f8bd3ae3068d69d0d2631ed1f45b5112c2b7f12ed63007fc8c12fbcd9ac7d1cd7313aaeae8276cfc0387d9a701977956c7fef3f3fa8121c096e24c3b55e3
6
+ metadata.gz: f02e40bfde21af7d6bc639fc015e9b5eeac783ae9ac2dcb39c812e89dc0c5e7554dfe68b982d21661d01d569e7df738ad3f4f6756dce594501f3662f5f9e055c
7
+ data.tar.gz: db924ec474e54931d2df436794b671ba4fb8994a44469d0e8c82a35f93db8e23cd41c9d2e639368293bf59e2b151522d38760f752d584048517e8e75c54bccca
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.54.0 (2025-03-06)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for ListStatements API to filter statements by ClusterIdentifier, WorkgroupName, and Database.
8
+
9
+ 1.53.0 (2025-02-18)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.52.0 (2025-02-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.52.0
1
+ 1.54.0
@@ -7,34 +7,34 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
- require 'seahorse/client/plugins/content_length.rb'
11
- require 'aws-sdk-core/plugins/credentials_configuration.rb'
12
- require 'aws-sdk-core/plugins/logging.rb'
13
- require 'aws-sdk-core/plugins/param_converter.rb'
14
- require 'aws-sdk-core/plugins/param_validator.rb'
15
- require 'aws-sdk-core/plugins/user_agent.rb'
16
- require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
17
- require 'aws-sdk-core/plugins/retry_errors.rb'
18
- require 'aws-sdk-core/plugins/global_configuration.rb'
19
- require 'aws-sdk-core/plugins/regional_endpoint.rb'
20
- require 'aws-sdk-core/plugins/endpoint_discovery.rb'
21
- require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
- require 'aws-sdk-core/plugins/response_paging.rb'
23
- require 'aws-sdk-core/plugins/stub_responses.rb'
24
- require 'aws-sdk-core/plugins/idempotency_token.rb'
25
- require 'aws-sdk-core/plugins/invocation_id.rb'
26
- require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
27
- require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
28
- require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
29
- require 'aws-sdk-core/plugins/transfer_encoding.rb'
30
- require 'aws-sdk-core/plugins/http_checksum.rb'
31
- require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
- require 'aws-sdk-core/plugins/request_compression.rb'
33
- require 'aws-sdk-core/plugins/defaults_mode.rb'
34
- require 'aws-sdk-core/plugins/recursion_detection.rb'
35
- require 'aws-sdk-core/plugins/telemetry.rb'
36
- require 'aws-sdk-core/plugins/sign.rb'
37
- require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
10
+ require 'seahorse/client/plugins/content_length'
11
+ require 'aws-sdk-core/plugins/credentials_configuration'
12
+ require 'aws-sdk-core/plugins/logging'
13
+ require 'aws-sdk-core/plugins/param_converter'
14
+ require 'aws-sdk-core/plugins/param_validator'
15
+ require 'aws-sdk-core/plugins/user_agent'
16
+ require 'aws-sdk-core/plugins/helpful_socket_errors'
17
+ require 'aws-sdk-core/plugins/retry_errors'
18
+ require 'aws-sdk-core/plugins/global_configuration'
19
+ require 'aws-sdk-core/plugins/regional_endpoint'
20
+ require 'aws-sdk-core/plugins/endpoint_discovery'
21
+ require 'aws-sdk-core/plugins/endpoint_pattern'
22
+ require 'aws-sdk-core/plugins/response_paging'
23
+ require 'aws-sdk-core/plugins/stub_responses'
24
+ require 'aws-sdk-core/plugins/idempotency_token'
25
+ require 'aws-sdk-core/plugins/invocation_id'
26
+ require 'aws-sdk-core/plugins/jsonvalue_converter'
27
+ require 'aws-sdk-core/plugins/client_metrics_plugin'
28
+ require 'aws-sdk-core/plugins/client_metrics_send_plugin'
29
+ require 'aws-sdk-core/plugins/transfer_encoding'
30
+ require 'aws-sdk-core/plugins/http_checksum'
31
+ require 'aws-sdk-core/plugins/checksum_algorithm'
32
+ require 'aws-sdk-core/plugins/request_compression'
33
+ require 'aws-sdk-core/plugins/defaults_mode'
34
+ require 'aws-sdk-core/plugins/recursion_detection'
35
+ require 'aws-sdk-core/plugins/telemetry'
36
+ require 'aws-sdk-core/plugins/sign'
37
+ require 'aws-sdk-core/plugins/protocols/json_rpc'
38
38
 
39
39
  module Aws::RedshiftDataAPIService
40
40
  # An API client for RedshiftDataAPIService. To construct a client, you need to configure a `:region` and `:credentials`.
@@ -1466,13 +1466,29 @@ module Aws::RedshiftDataAPIService
1466
1466
  # List of SQL statements. By default, only finished statements are
1467
1467
  # shown. A token is returned to page through the statement list.
1468
1468
  #
1469
+ # When you use identity-enhanced role sessions to list statements, you
1470
+ # must provide either the `cluster-identifier` or `workgroup-name`
1471
+ # parameter. This ensures that the IdC user can only access the Amazon
1472
+ # Redshift IdC applications they are assigned. For more information, see
1473
+ # [ Trusted identity propagation overview][1].
1474
+ #
1469
1475
  # For more information about the Amazon Redshift Data API and CLI usage
1470
- # examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
1476
+ # examples, see [Using the Amazon Redshift Data API][2] in the *Amazon
1471
1477
  # Redshift Management Guide*.
1472
1478
  #
1473
1479
  #
1474
1480
  #
1475
- # [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html
1481
+ # [1]: https://docs.aws.amazon.com/singlesignon/latest/userguide/trustedidentitypropagation-overview.html
1482
+ # [2]: https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html
1483
+ #
1484
+ # @option params [String] :cluster_identifier
1485
+ # The cluster identifier. Only statements that ran on this cluster are
1486
+ # returned. When providing `ClusterIdentifier`, then `WorkgroupName`
1487
+ # can't be specified.
1488
+ #
1489
+ # @option params [String] :database
1490
+ # The name of the database when listing statements run against a
1491
+ # `ClusterIdentifier` or `WorkgroupName`.
1476
1492
  #
1477
1493
  # @option params [Integer] :max_results
1478
1494
  # The maximum number of SQL statements to return in the response. If
@@ -1521,6 +1537,11 @@ module Aws::RedshiftDataAPIService
1521
1537
  #
1522
1538
  # * SUBMITTED - The query was submitted, but not yet processed.
1523
1539
  #
1540
+ # @option params [String] :workgroup_name
1541
+ # The serverless workgroup name or Amazon Resource Name (ARN). Only
1542
+ # statements that ran on this workgroup are returned. When providing
1543
+ # `WorkgroupName`, then `ClusterIdentifier` can't be specified.
1544
+ #
1524
1545
  # @return [Types::ListStatementsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1525
1546
  #
1526
1547
  # * {Types::ListStatementsResponse#next_token #next_token} => String
@@ -1531,11 +1552,14 @@ module Aws::RedshiftDataAPIService
1531
1552
  # @example Request syntax with placeholder values
1532
1553
  #
1533
1554
  # resp = client.list_statements({
1555
+ # cluster_identifier: "ClusterIdentifierString",
1556
+ # database: "String",
1534
1557
  # max_results: 1,
1535
1558
  # next_token: "String",
1536
1559
  # role_level: false,
1537
1560
  # statement_name: "StatementNameString",
1538
1561
  # status: "SUBMITTED", # accepts SUBMITTED, PICKED, STARTED, FINISHED, ABORTED, FAILED, ALL
1562
+ # workgroup_name: "WorkgroupNameString",
1539
1563
  # })
1540
1564
  #
1541
1565
  # @example Response structure
@@ -1727,7 +1751,7 @@ module Aws::RedshiftDataAPIService
1727
1751
  tracer: tracer
1728
1752
  )
1729
1753
  context[:gem_name] = 'aws-sdk-redshiftdataapiservice'
1730
- context[:gem_version] = '1.52.0'
1754
+ context[:gem_version] = '1.54.0'
1731
1755
  Seahorse::Client::Request.new(handlers, context)
1732
1756
  end
1733
1757
 
@@ -304,11 +304,14 @@ module Aws::RedshiftDataAPIService
304
304
  ListSchemasResponse.add_member(:schemas, Shapes::ShapeRef.new(shape: SchemaList, location_name: "Schemas"))
305
305
  ListSchemasResponse.struct_class = Types::ListSchemasResponse
306
306
 
307
+ ListStatementsRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifierString, location_name: "ClusterIdentifier"))
308
+ ListStatementsRequest.add_member(:database, Shapes::ShapeRef.new(shape: String, location_name: "Database"))
307
309
  ListStatementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListStatementsLimit, location_name: "MaxResults"))
308
310
  ListStatementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
309
311
  ListStatementsRequest.add_member(:role_level, Shapes::ShapeRef.new(shape: Boolean, location_name: "RoleLevel"))
310
312
  ListStatementsRequest.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementNameString, location_name: "StatementName"))
311
313
  ListStatementsRequest.add_member(:status, Shapes::ShapeRef.new(shape: StatusString, location_name: "Status"))
314
+ ListStatementsRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupNameString, location_name: "WorkgroupName"))
312
315
  ListStatementsRequest.struct_class = Types::ListStatementsRequest
313
316
 
314
317
  ListStatementsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
@@ -1128,6 +1128,17 @@ module Aws::RedshiftDataAPIService
1128
1128
  include Aws::Structure
1129
1129
  end
1130
1130
 
1131
+ # @!attribute [rw] cluster_identifier
1132
+ # The cluster identifier. Only statements that ran on this cluster are
1133
+ # returned. When providing `ClusterIdentifier`, then `WorkgroupName`
1134
+ # can't be specified.
1135
+ # @return [String]
1136
+ #
1137
+ # @!attribute [rw] database
1138
+ # The name of the database when listing statements run against a
1139
+ # `ClusterIdentifier` or `WorkgroupName`.
1140
+ # @return [String]
1141
+ #
1131
1142
  # @!attribute [rw] max_results
1132
1143
  # The maximum number of SQL statements to return in the response. If
1133
1144
  # more SQL statements exist than fit in one response, then `NextToken`
@@ -1180,14 +1191,23 @@ module Aws::RedshiftDataAPIService
1180
1191
  # * SUBMITTED - The query was submitted, but not yet processed.
1181
1192
  # @return [String]
1182
1193
  #
1194
+ # @!attribute [rw] workgroup_name
1195
+ # The serverless workgroup name or Amazon Resource Name (ARN). Only
1196
+ # statements that ran on this workgroup are returned. When providing
1197
+ # `WorkgroupName`, then `ClusterIdentifier` can't be specified.
1198
+ # @return [String]
1199
+ #
1183
1200
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListStatementsRequest AWS API Documentation
1184
1201
  #
1185
1202
  class ListStatementsRequest < Struct.new(
1203
+ :cluster_identifier,
1204
+ :database,
1186
1205
  :max_results,
1187
1206
  :next_token,
1188
1207
  :role_level,
1189
1208
  :statement_name,
1190
- :status)
1209
+ :status,
1210
+ :workgroup_name)
1191
1211
  SENSITIVE = []
1192
1212
  include Aws::Structure
1193
1213
  end
@@ -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.52.0'
57
+ GEM_VERSION = '1.54.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -274,11 +274,14 @@ module Aws
274
274
  end
275
275
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RedshiftDataAPIService/Client.html#list_statements-instance_method
276
276
  def list_statements: (
277
+ ?cluster_identifier: ::String,
278
+ ?database: ::String,
277
279
  ?max_results: ::Integer,
278
280
  ?next_token: ::String,
279
281
  ?role_level: bool,
280
282
  ?statement_name: ::String,
281
- ?status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL")
283
+ ?status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL"),
284
+ ?workgroup_name: ::String
282
285
  ) -> _ListStatementsResponseSuccess
283
286
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListStatementsResponseSuccess
284
287
 
data/sig/types.rbs CHANGED
@@ -269,11 +269,14 @@ module Aws::RedshiftDataAPIService
269
269
  end
270
270
 
271
271
  class ListStatementsRequest
272
+ attr_accessor cluster_identifier: ::String
273
+ attr_accessor database: ::String
272
274
  attr_accessor max_results: ::Integer
273
275
  attr_accessor next_token: ::String
274
276
  attr_accessor role_level: bool
275
277
  attr_accessor statement_name: ::String
276
278
  attr_accessor status: ("SUBMITTED" | "PICKED" | "STARTED" | "FINISHED" | "ABORTED" | "FAILED" | "ALL")
279
+ attr_accessor workgroup_name: ::String
277
280
  SENSITIVE: []
278
281
  end
279
282
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-redshiftdataapiservice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.52.0
4
+ version: 1.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-06 00:00:00.000000000 Z
11
+ date: 2025-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core