aws-sdk-redshiftdataapiservice 1.17.0 → 1.20.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: 51dcada087f227c7faf145a0c96cd4e10b83c3945245802a5a64c4d3f19ced1e
4
- data.tar.gz: 2a038f72488f15108e0aab142bef2bf2bf100b42f1f6790c3a23687ce9ceb3be
3
+ metadata.gz: a1fb836c576b0a3d33b8e8f35ce36ec174fde8a540af7b9248cc5c9d4cb52177
4
+ data.tar.gz: 4cd992ce5fdb0e60c8c031014e98cc7b2d7ad1c3955154f88fadb04d97aaa7a3
5
5
  SHA512:
6
- metadata.gz: 7c5f1715c3d18a54492301e2aaa2fa20e31199ed577d1c53485418fa305f1f435e44ceeb0bdf91245c53225468cbc42bf5229ff57323c4d04b196948e9d7ef0d
7
- data.tar.gz: 2f34ffe2377689c19f00fc5239ce1e1978e924d022122309cef8ef6cdfb5b0d957f93e2dce79c611ed10d8de6b7e824af9f724f2f258e853f22bd5bc6303eb0a
6
+ metadata.gz: dba0d47893fde42245c17aea4d29c8bfa16f7f96b6ce3d1d06763b8538b5b66f975a0572155440a6ab21dbefd805f4ab1236ad9d9a593b1169c69024af2fd687
7
+ data.tar.gz: 05a8397a9454f588303c4e59e2772d471b5a9a36a3524d1d1f6d1eca08725ab4b0b49c21f27833dc42fe6ceefe05936b6dc358542f7ad97005b2601345fc6062
data/CHANGELOG.md CHANGED
@@ -1,6 +1,21 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.0 (2022-06-16)
5
+ ------------------
6
+
7
+ * Feature - This release adds a new --workgroup-name field to operations that connect to an endpoint. Customers can now execute queries against their serverless workgroups.
8
+
9
+ 1.19.0 (2022-02-24)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.18.0 (2022-02-03)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
4
19
  1.17.0 (2021-12-21)
5
20
  ------------------
6
21
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.17.0
1
+ 1.20.0
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
30
31
  require 'aws-sdk-core/plugins/defaults_mode.rb'
32
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
31
33
  require 'aws-sdk-core/plugins/signature_v4.rb'
32
34
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
33
35
 
@@ -74,7 +76,9 @@ module Aws::RedshiftDataAPIService
74
76
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
75
77
  add_plugin(Aws::Plugins::TransferEncoding)
76
78
  add_plugin(Aws::Plugins::HttpChecksum)
79
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
77
80
  add_plugin(Aws::Plugins::DefaultsMode)
81
+ add_plugin(Aws::Plugins::RecursionDetection)
78
82
  add_plugin(Aws::Plugins::SignatureV4)
79
83
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
80
84
 
@@ -365,14 +369,15 @@ module Aws::RedshiftDataAPIService
365
369
  # * Secrets Manager - when connecting to a cluster, specify the Amazon
366
370
  # Resource Name (ARN) of the secret, the database name, and the
367
371
  # cluster identifier that matches the cluster in the secret. When
368
- # connecting to a serverless endpoint, specify the Amazon Resource
372
+ # connecting to a serverless workgroup, specify the Amazon Resource
369
373
  # Name (ARN) of the secret and the database name.
370
374
  #
371
375
  # * Temporary credentials - when connecting to a cluster, specify the
372
376
  # cluster identifier, the database name, and the database user name.
373
377
  # Also, permission to call the `redshift:GetClusterCredentials`
374
- # operation is required. When connecting to a serverless endpoint,
375
- # specify the database name.
378
+ # operation is required. When connecting to a serverless workgroup,
379
+ # specify the workgroup name and database name. Also, permission to
380
+ # call the `redshift-serverless:GetCredentials` operation is required.
376
381
  #
377
382
  # @option params [String] :cluster_identifier
378
383
  # The cluster identifier. This parameter is required when connecting to
@@ -402,6 +407,11 @@ module Aws::RedshiftDataAPIService
402
407
  # A value that indicates whether to send an event to the Amazon
403
408
  # EventBridge event bus after the SQL statements run.
404
409
  #
410
+ # @option params [String] :workgroup_name
411
+ # The serverless workgroup name. This parameter is required when
412
+ # connecting to a serverless workgroup and authenticating using either
413
+ # Secrets Manager or temporary credentials.
414
+ #
405
415
  # @return [Types::BatchExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
406
416
  #
407
417
  # * {Types::BatchExecuteStatementOutput#cluster_identifier #cluster_identifier} => String
@@ -410,6 +420,7 @@ module Aws::RedshiftDataAPIService
410
420
  # * {Types::BatchExecuteStatementOutput#db_user #db_user} => String
411
421
  # * {Types::BatchExecuteStatementOutput#id #id} => String
412
422
  # * {Types::BatchExecuteStatementOutput#secret_arn #secret_arn} => String
423
+ # * {Types::BatchExecuteStatementOutput#workgroup_name #workgroup_name} => String
413
424
  #
414
425
  # @example Request syntax with placeholder values
415
426
  #
@@ -421,6 +432,7 @@ module Aws::RedshiftDataAPIService
421
432
  # sqls: ["StatementString"], # required
422
433
  # statement_name: "StatementNameString",
423
434
  # with_event: false,
435
+ # workgroup_name: "WorkgroupNameString",
424
436
  # })
425
437
  #
426
438
  # @example Response structure
@@ -431,6 +443,7 @@ module Aws::RedshiftDataAPIService
431
443
  # resp.db_user #=> String
432
444
  # resp.id #=> String
433
445
  # resp.secret_arn #=> String
446
+ # resp.workgroup_name #=> String
434
447
  #
435
448
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/BatchExecuteStatement AWS API Documentation
436
449
  #
@@ -506,6 +519,7 @@ module Aws::RedshiftDataAPIService
506
519
  # * {Types::DescribeStatementResponse#status #status} => String
507
520
  # * {Types::DescribeStatementResponse#sub_statements #sub_statements} => Array<Types::SubStatementData>
508
521
  # * {Types::DescribeStatementResponse#updated_at #updated_at} => Time
522
+ # * {Types::DescribeStatementResponse#workgroup_name #workgroup_name} => String
509
523
  #
510
524
  # @example Request syntax with placeholder values
511
525
  #
@@ -546,6 +560,7 @@ module Aws::RedshiftDataAPIService
546
560
  # resp.sub_statements[0].status #=> String, one of "SUBMITTED", "PICKED", "STARTED", "FINISHED", "ABORTED", "FAILED"
547
561
  # resp.sub_statements[0].updated_at #=> Time
548
562
  # resp.updated_at #=> Time
563
+ # resp.workgroup_name #=> String
549
564
  #
550
565
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DescribeStatement AWS API Documentation
551
566
  #
@@ -564,14 +579,15 @@ module Aws::RedshiftDataAPIService
564
579
  # * Secrets Manager - when connecting to a cluster, specify the Amazon
565
580
  # Resource Name (ARN) of the secret, the database name, and the
566
581
  # cluster identifier that matches the cluster in the secret. When
567
- # connecting to a serverless endpoint, specify the Amazon Resource
582
+ # connecting to a serverless workgroup, specify the Amazon Resource
568
583
  # Name (ARN) of the secret and the database name.
569
584
  #
570
585
  # * Temporary credentials - when connecting to a cluster, specify the
571
586
  # cluster identifier, the database name, and the database user name.
572
587
  # Also, permission to call the `redshift:GetClusterCredentials`
573
- # operation is required. When connecting to a serverless endpoint,
574
- # specify the database name.
588
+ # operation is required. When connecting to a serverless workgroup,
589
+ # specify the workgroup name and database name. Also, permission to
590
+ # call the `redshift-serverless:GetCredentials` operation is required.
575
591
  #
576
592
  # @option params [String] :cluster_identifier
577
593
  # The cluster identifier. This parameter is required when connecting to
@@ -617,6 +633,11 @@ module Aws::RedshiftDataAPIService
617
633
  # matching schemas are returned. If no table and no schema is specified,
618
634
  # then all tables for all schemas in the database are returned
619
635
  #
636
+ # @option params [String] :workgroup_name
637
+ # The serverless workgroup name. This parameter is required when
638
+ # connecting to a serverless workgroup and authenticating using either
639
+ # Secrets Manager or temporary credentials.
640
+ #
620
641
  # @return [Types::DescribeTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
621
642
  #
622
643
  # * {Types::DescribeTableResponse#column_list #column_list} => Array<Types::ColumnMetadata>
@@ -637,6 +658,7 @@ module Aws::RedshiftDataAPIService
637
658
  # schema: "String",
638
659
  # secret_arn: "SecretArn",
639
660
  # table: "String",
661
+ # workgroup_name: "WorkgroupNameString",
640
662
  # })
641
663
  #
642
664
  # @example Response structure
@@ -675,14 +697,15 @@ module Aws::RedshiftDataAPIService
675
697
  # * Secrets Manager - when connecting to a cluster, specify the Amazon
676
698
  # Resource Name (ARN) of the secret, the database name, and the
677
699
  # cluster identifier that matches the cluster in the secret. When
678
- # connecting to a serverless endpoint, specify the Amazon Resource
700
+ # connecting to a serverless workgroup, specify the Amazon Resource
679
701
  # Name (ARN) of the secret and the database name.
680
702
  #
681
703
  # * Temporary credentials - when connecting to a cluster, specify the
682
704
  # cluster identifier, the database name, and the database user name.
683
705
  # Also, permission to call the `redshift:GetClusterCredentials`
684
- # operation is required. When connecting to a serverless endpoint,
685
- # specify the database name.
706
+ # operation is required. When connecting to a serverless workgroup,
707
+ # specify the workgroup name and database name. Also, permission to
708
+ # call the `redshift-serverless:GetCredentials` operation is required.
686
709
  #
687
710
  # @option params [String] :cluster_identifier
688
711
  # The cluster identifier. This parameter is required when connecting to
@@ -715,6 +738,11 @@ module Aws::RedshiftDataAPIService
715
738
  # A value that indicates whether to send an event to the Amazon
716
739
  # EventBridge event bus after the SQL statement runs.
717
740
  #
741
+ # @option params [String] :workgroup_name
742
+ # The serverless workgroup name. This parameter is required when
743
+ # connecting to a serverless workgroup and authenticating using either
744
+ # Secrets Manager or temporary credentials.
745
+ #
718
746
  # @return [Types::ExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
719
747
  #
720
748
  # * {Types::ExecuteStatementOutput#cluster_identifier #cluster_identifier} => String
@@ -723,6 +751,7 @@ module Aws::RedshiftDataAPIService
723
751
  # * {Types::ExecuteStatementOutput#db_user #db_user} => String
724
752
  # * {Types::ExecuteStatementOutput#id #id} => String
725
753
  # * {Types::ExecuteStatementOutput#secret_arn #secret_arn} => String
754
+ # * {Types::ExecuteStatementOutput#workgroup_name #workgroup_name} => String
726
755
  #
727
756
  # @example Request syntax with placeholder values
728
757
  #
@@ -740,6 +769,7 @@ module Aws::RedshiftDataAPIService
740
769
  # sql: "StatementString", # required
741
770
  # statement_name: "StatementNameString",
742
771
  # with_event: false,
772
+ # workgroup_name: "WorkgroupNameString",
743
773
  # })
744
774
  #
745
775
  # @example Response structure
@@ -750,6 +780,7 @@ module Aws::RedshiftDataAPIService
750
780
  # resp.db_user #=> String
751
781
  # resp.id #=> String
752
782
  # resp.secret_arn #=> String
783
+ # resp.workgroup_name #=> String
753
784
  #
754
785
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ExecuteStatement AWS API Documentation
755
786
  #
@@ -839,14 +870,15 @@ module Aws::RedshiftDataAPIService
839
870
  # * Secrets Manager - when connecting to a cluster, specify the Amazon
840
871
  # Resource Name (ARN) of the secret, the database name, and the
841
872
  # cluster identifier that matches the cluster in the secret. When
842
- # connecting to a serverless endpoint, specify the Amazon Resource
873
+ # connecting to a serverless workgroup, specify the Amazon Resource
843
874
  # Name (ARN) of the secret and the database name.
844
875
  #
845
876
  # * Temporary credentials - when connecting to a cluster, specify the
846
877
  # cluster identifier, the database name, and the database user name.
847
878
  # Also, permission to call the `redshift:GetClusterCredentials`
848
- # operation is required. When connecting to a serverless endpoint,
849
- # specify the database name.
879
+ # operation is required. When connecting to a serverless workgroup,
880
+ # specify the workgroup name and database name. Also, permission to
881
+ # call the `redshift-serverless:GetCredentials` operation is required.
850
882
  #
851
883
  # @option params [String] :cluster_identifier
852
884
  # The cluster identifier. This parameter is required when connecting to
@@ -878,6 +910,11 @@ module Aws::RedshiftDataAPIService
878
910
  # The name or ARN of the secret that enables access to the database.
879
911
  # This parameter is required when authenticating using Secrets Manager.
880
912
  #
913
+ # @option params [String] :workgroup_name
914
+ # The serverless workgroup name. This parameter is required when
915
+ # connecting to a serverless workgroup and authenticating using either
916
+ # Secrets Manager or temporary credentials.
917
+ #
881
918
  # @return [Types::ListDatabasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
882
919
  #
883
920
  # * {Types::ListDatabasesResponse#databases #databases} => Array<String>
@@ -894,6 +931,7 @@ module Aws::RedshiftDataAPIService
894
931
  # max_results: 1,
895
932
  # next_token: "String",
896
933
  # secret_arn: "SecretArn",
934
+ # workgroup_name: "WorkgroupNameString",
897
935
  # })
898
936
  #
899
937
  # @example Response structure
@@ -918,14 +956,15 @@ module Aws::RedshiftDataAPIService
918
956
  # * Secrets Manager - when connecting to a cluster, specify the Amazon
919
957
  # Resource Name (ARN) of the secret, the database name, and the
920
958
  # cluster identifier that matches the cluster in the secret. When
921
- # connecting to a serverless endpoint, specify the Amazon Resource
959
+ # connecting to a serverless workgroup, specify the Amazon Resource
922
960
  # Name (ARN) of the secret and the database name.
923
961
  #
924
962
  # * Temporary credentials - when connecting to a cluster, specify the
925
963
  # cluster identifier, the database name, and the database user name.
926
964
  # Also, permission to call the `redshift:GetClusterCredentials`
927
- # operation is required. When connecting to a serverless endpoint,
928
- # specify the database name.
965
+ # operation is required. When connecting to a serverless workgroup,
966
+ # specify the workgroup name and database name. Also, permission to
967
+ # call the `redshift-serverless:GetCredentials` operation is required.
929
968
  #
930
969
  # @option params [String] :cluster_identifier
931
970
  # The cluster identifier. This parameter is required when connecting to
@@ -968,6 +1007,11 @@ module Aws::RedshiftDataAPIService
968
1007
  # The name or ARN of the secret that enables access to the database.
969
1008
  # This parameter is required when authenticating using Secrets Manager.
970
1009
  #
1010
+ # @option params [String] :workgroup_name
1011
+ # The serverless workgroup name. This parameter is required when
1012
+ # connecting to a serverless workgroup and authenticating using either
1013
+ # Secrets Manager or temporary credentials.
1014
+ #
971
1015
  # @return [Types::ListSchemasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
972
1016
  #
973
1017
  # * {Types::ListSchemasResponse#next_token #next_token} => String
@@ -986,6 +1030,7 @@ module Aws::RedshiftDataAPIService
986
1030
  # next_token: "String",
987
1031
  # schema_pattern: "String",
988
1032
  # secret_arn: "SecretArn",
1033
+ # workgroup_name: "WorkgroupNameString",
989
1034
  # })
990
1035
  #
991
1036
  # @example Response structure
@@ -1106,14 +1151,15 @@ module Aws::RedshiftDataAPIService
1106
1151
  # * Secrets Manager - when connecting to a cluster, specify the Amazon
1107
1152
  # Resource Name (ARN) of the secret, the database name, and the
1108
1153
  # cluster identifier that matches the cluster in the secret. When
1109
- # connecting to a serverless endpoint, specify the Amazon Resource
1154
+ # connecting to a serverless workgroup, specify the Amazon Resource
1110
1155
  # Name (ARN) of the secret and the database name.
1111
1156
  #
1112
1157
  # * Temporary credentials - when connecting to a cluster, specify the
1113
1158
  # cluster identifier, the database name, and the database user name.
1114
1159
  # Also, permission to call the `redshift:GetClusterCredentials`
1115
- # operation is required. When connecting to a serverless endpoint,
1116
- # specify the database name.
1160
+ # operation is required. When connecting to a serverless workgroup,
1161
+ # specify the workgroup name and database name. Also, permission to
1162
+ # call the `redshift-serverless:GetCredentials` operation is required.
1117
1163
  #
1118
1164
  # @option params [String] :cluster_identifier
1119
1165
  # The cluster identifier. This parameter is required when connecting to
@@ -1168,6 +1214,11 @@ module Aws::RedshiftDataAPIService
1168
1214
  # `SchemaPattern` or `TablePattern` are specified, then all tables are
1169
1215
  # returned.
1170
1216
  #
1217
+ # @option params [String] :workgroup_name
1218
+ # The serverless workgroup name. This parameter is required when
1219
+ # connecting to a serverless workgroup and authenticating using either
1220
+ # Secrets Manager or temporary credentials.
1221
+ #
1171
1222
  # @return [Types::ListTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1172
1223
  #
1173
1224
  # * {Types::ListTablesResponse#next_token #next_token} => String
@@ -1187,6 +1238,7 @@ module Aws::RedshiftDataAPIService
1187
1238
  # schema_pattern: "String",
1188
1239
  # secret_arn: "SecretArn",
1189
1240
  # table_pattern: "String",
1241
+ # workgroup_name: "WorkgroupNameString",
1190
1242
  # })
1191
1243
  #
1192
1244
  # @example Response structure
@@ -1219,7 +1271,7 @@ module Aws::RedshiftDataAPIService
1219
1271
  params: params,
1220
1272
  config: config)
1221
1273
  context[:gem_name] = 'aws-sdk-redshiftdataapiservice'
1222
- context[:gem_version] = '1.17.0'
1274
+ context[:gem_version] = '1.20.0'
1223
1275
  Seahorse::Client::Request.new(handlers, context)
1224
1276
  end
1225
1277
 
@@ -78,6 +78,7 @@ module Aws::RedshiftDataAPIService
78
78
  TableMember = Shapes::StructureShape.new(name: 'TableMember')
79
79
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
80
80
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
81
+ WorkgroupNameString = Shapes::StringShape.new(name: 'WorkgroupNameString')
81
82
  bool = Shapes::BooleanShape.new(name: 'bool')
82
83
 
83
84
  ActiveStatementsExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
@@ -94,6 +95,7 @@ module Aws::RedshiftDataAPIService
94
95
  BatchExecuteStatementInput.add_member(:sqls, Shapes::ShapeRef.new(shape: SqlList, required: true, location_name: "Sqls"))
95
96
  BatchExecuteStatementInput.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementNameString, location_name: "StatementName"))
96
97
  BatchExecuteStatementInput.add_member(:with_event, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithEvent"))
98
+ BatchExecuteStatementInput.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupNameString, location_name: "WorkgroupName"))
97
99
  BatchExecuteStatementInput.struct_class = Types::BatchExecuteStatementInput
98
100
 
99
101
  BatchExecuteStatementOutput.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, location_name: "ClusterIdentifier"))
@@ -102,6 +104,7 @@ module Aws::RedshiftDataAPIService
102
104
  BatchExecuteStatementOutput.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
103
105
  BatchExecuteStatementOutput.add_member(:id, Shapes::ShapeRef.new(shape: StatementId, location_name: "Id"))
104
106
  BatchExecuteStatementOutput.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, location_name: "SecretArn"))
107
+ BatchExecuteStatementOutput.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupNameString, location_name: "WorkgroupName"))
105
108
  BatchExecuteStatementOutput.struct_class = Types::BatchExecuteStatementOutput
106
109
 
107
110
  CancelStatementRequest.add_member(:id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "Id"))
@@ -155,6 +158,7 @@ module Aws::RedshiftDataAPIService
155
158
  DescribeStatementResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusString, location_name: "Status"))
156
159
  DescribeStatementResponse.add_member(:sub_statements, Shapes::ShapeRef.new(shape: SubStatementList, location_name: "SubStatements"))
157
160
  DescribeStatementResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedAt"))
161
+ DescribeStatementResponse.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupNameString, location_name: "WorkgroupName"))
158
162
  DescribeStatementResponse.struct_class = Types::DescribeStatementResponse
159
163
 
160
164
  DescribeTableRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, location_name: "ClusterIdentifier"))
@@ -166,6 +170,7 @@ module Aws::RedshiftDataAPIService
166
170
  DescribeTableRequest.add_member(:schema, Shapes::ShapeRef.new(shape: String, location_name: "Schema"))
167
171
  DescribeTableRequest.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, location_name: "SecretArn"))
168
172
  DescribeTableRequest.add_member(:table, Shapes::ShapeRef.new(shape: String, location_name: "Table"))
173
+ DescribeTableRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupNameString, location_name: "WorkgroupName"))
169
174
  DescribeTableRequest.struct_class = Types::DescribeTableRequest
170
175
 
171
176
  DescribeTableResponse.add_member(:column_list, Shapes::ShapeRef.new(shape: ColumnList, location_name: "ColumnList"))
@@ -185,6 +190,7 @@ module Aws::RedshiftDataAPIService
185
190
  ExecuteStatementInput.add_member(:sql, Shapes::ShapeRef.new(shape: StatementString, required: true, location_name: "Sql"))
186
191
  ExecuteStatementInput.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementNameString, location_name: "StatementName"))
187
192
  ExecuteStatementInput.add_member(:with_event, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithEvent"))
193
+ ExecuteStatementInput.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupNameString, location_name: "WorkgroupName"))
188
194
  ExecuteStatementInput.struct_class = Types::ExecuteStatementInput
189
195
 
190
196
  ExecuteStatementOutput.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, location_name: "ClusterIdentifier"))
@@ -193,6 +199,7 @@ module Aws::RedshiftDataAPIService
193
199
  ExecuteStatementOutput.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
194
200
  ExecuteStatementOutput.add_member(:id, Shapes::ShapeRef.new(shape: StatementId, location_name: "Id"))
195
201
  ExecuteStatementOutput.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, location_name: "SecretArn"))
202
+ ExecuteStatementOutput.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupNameString, location_name: "WorkgroupName"))
196
203
  ExecuteStatementOutput.struct_class = Types::ExecuteStatementOutput
197
204
 
198
205
  Field.add_member(:blob_value, Shapes::ShapeRef.new(shape: Blob, location_name: "blobValue"))
@@ -232,6 +239,7 @@ module Aws::RedshiftDataAPIService
232
239
  ListDatabasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PageSize, location_name: "MaxResults"))
233
240
  ListDatabasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
234
241
  ListDatabasesRequest.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, location_name: "SecretArn"))
242
+ ListDatabasesRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupNameString, location_name: "WorkgroupName"))
235
243
  ListDatabasesRequest.struct_class = Types::ListDatabasesRequest
236
244
 
237
245
  ListDatabasesResponse.add_member(:databases, Shapes::ShapeRef.new(shape: DatabaseList, location_name: "Databases"))
@@ -246,6 +254,7 @@ module Aws::RedshiftDataAPIService
246
254
  ListSchemasRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
247
255
  ListSchemasRequest.add_member(:schema_pattern, Shapes::ShapeRef.new(shape: String, location_name: "SchemaPattern"))
248
256
  ListSchemasRequest.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, location_name: "SecretArn"))
257
+ ListSchemasRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupNameString, location_name: "WorkgroupName"))
249
258
  ListSchemasRequest.struct_class = Types::ListSchemasRequest
250
259
 
251
260
  ListSchemasResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
@@ -272,6 +281,7 @@ module Aws::RedshiftDataAPIService
272
281
  ListTablesRequest.add_member(:schema_pattern, Shapes::ShapeRef.new(shape: String, location_name: "SchemaPattern"))
273
282
  ListTablesRequest.add_member(:secret_arn, Shapes::ShapeRef.new(shape: SecretArn, location_name: "SecretArn"))
274
283
  ListTablesRequest.add_member(:table_pattern, Shapes::ShapeRef.new(shape: String, location_name: "TablePattern"))
284
+ ListTablesRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupNameString, location_name: "WorkgroupName"))
275
285
  ListTablesRequest.struct_class = Types::ListTablesRequest
276
286
 
277
287
  ListTablesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
@@ -52,6 +52,7 @@ module Aws::RedshiftDataAPIService
52
52
  # sqls: ["StatementString"], # required
53
53
  # statement_name: "StatementNameString",
54
54
  # with_event: false,
55
+ # workgroup_name: "WorkgroupNameString",
55
56
  # }
56
57
  #
57
58
  # @!attribute [rw] cluster_identifier
@@ -91,6 +92,12 @@ module Aws::RedshiftDataAPIService
91
92
  # EventBridge event bus after the SQL statements run.
92
93
  # @return [Boolean]
93
94
  #
95
+ # @!attribute [rw] workgroup_name
96
+ # The serverless workgroup name. This parameter is required when
97
+ # connecting to a serverless workgroup and authenticating using either
98
+ # Secrets Manager or temporary credentials.
99
+ # @return [String]
100
+ #
94
101
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/BatchExecuteStatementInput AWS API Documentation
95
102
  #
96
103
  class BatchExecuteStatementInput < Struct.new(
@@ -100,14 +107,15 @@ module Aws::RedshiftDataAPIService
100
107
  :secret_arn,
101
108
  :sqls,
102
109
  :statement_name,
103
- :with_event)
110
+ :with_event,
111
+ :workgroup_name)
104
112
  SENSITIVE = []
105
113
  include Aws::Structure
106
114
  end
107
115
 
108
116
  # @!attribute [rw] cluster_identifier
109
- # The cluster identifier. This parameter is not returned when
110
- # connecting to a serverless endpoint.
117
+ # The cluster identifier. This element is not returned when connecting
118
+ # to a serverless workgroup.
111
119
  # @return [String]
112
120
  #
113
121
  # @!attribute [rw] created_at
@@ -133,6 +141,11 @@ module Aws::RedshiftDataAPIService
133
141
  # The name or ARN of the secret that enables access to the database.
134
142
  # @return [String]
135
143
  #
144
+ # @!attribute [rw] workgroup_name
145
+ # The serverless workgroup name. This element is not returned when
146
+ # connecting to a provisioned cluster.
147
+ # @return [String]
148
+ #
136
149
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/BatchExecuteStatementOutput AWS API Documentation
137
150
  #
138
151
  class BatchExecuteStatementOutput < Struct.new(
@@ -141,7 +154,8 @@ module Aws::RedshiftDataAPIService
141
154
  :database,
142
155
  :db_user,
143
156
  :id,
144
- :secret_arn)
157
+ :secret_arn,
158
+ :workgroup_name)
145
159
  SENSITIVE = []
146
160
  include Aws::Structure
147
161
  end
@@ -396,6 +410,10 @@ module Aws::RedshiftDataAPIService
396
410
  # last updated. An example is the time the status last changed.
397
411
  # @return [Time]
398
412
  #
413
+ # @!attribute [rw] workgroup_name
414
+ # The serverless workgroup name.
415
+ # @return [String]
416
+ #
399
417
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DescribeStatementResponse AWS API Documentation
400
418
  #
401
419
  class DescribeStatementResponse < Struct.new(
@@ -416,7 +434,8 @@ module Aws::RedshiftDataAPIService
416
434
  :secret_arn,
417
435
  :status,
418
436
  :sub_statements,
419
- :updated_at)
437
+ :updated_at,
438
+ :workgroup_name)
420
439
  SENSITIVE = []
421
440
  include Aws::Structure
422
441
  end
@@ -434,6 +453,7 @@ module Aws::RedshiftDataAPIService
434
453
  # schema: "String",
435
454
  # secret_arn: "SecretArn",
436
455
  # table: "String",
456
+ # workgroup_name: "WorkgroupNameString",
437
457
  # }
438
458
  #
439
459
  # @!attribute [rw] cluster_identifier
@@ -491,6 +511,12 @@ module Aws::RedshiftDataAPIService
491
511
  # returned
492
512
  # @return [String]
493
513
  #
514
+ # @!attribute [rw] workgroup_name
515
+ # The serverless workgroup name. This parameter is required when
516
+ # connecting to a serverless workgroup and authenticating using either
517
+ # Secrets Manager or temporary credentials.
518
+ # @return [String]
519
+ #
494
520
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DescribeTableRequest AWS API Documentation
495
521
  #
496
522
  class DescribeTableRequest < Struct.new(
@@ -502,7 +528,8 @@ module Aws::RedshiftDataAPIService
502
528
  :next_token,
503
529
  :schema,
504
530
  :secret_arn,
505
- :table)
531
+ :table,
532
+ :workgroup_name)
506
533
  SENSITIVE = []
507
534
  include Aws::Structure
508
535
  end
@@ -570,6 +597,7 @@ module Aws::RedshiftDataAPIService
570
597
  # sql: "StatementString", # required
571
598
  # statement_name: "StatementNameString",
572
599
  # with_event: false,
600
+ # workgroup_name: "WorkgroupNameString",
573
601
  # }
574
602
  #
575
603
  # @!attribute [rw] cluster_identifier
@@ -613,6 +641,12 @@ module Aws::RedshiftDataAPIService
613
641
  # EventBridge event bus after the SQL statement runs.
614
642
  # @return [Boolean]
615
643
  #
644
+ # @!attribute [rw] workgroup_name
645
+ # The serverless workgroup name. This parameter is required when
646
+ # connecting to a serverless workgroup and authenticating using either
647
+ # Secrets Manager or temporary credentials.
648
+ # @return [String]
649
+ #
616
650
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ExecuteStatementInput AWS API Documentation
617
651
  #
618
652
  class ExecuteStatementInput < Struct.new(
@@ -623,14 +657,15 @@ module Aws::RedshiftDataAPIService
623
657
  :secret_arn,
624
658
  :sql,
625
659
  :statement_name,
626
- :with_event)
660
+ :with_event,
661
+ :workgroup_name)
627
662
  SENSITIVE = []
628
663
  include Aws::Structure
629
664
  end
630
665
 
631
666
  # @!attribute [rw] cluster_identifier
632
- # The cluster identifier. This parameter is not returned when
633
- # connecting to a serverless endpoint.
667
+ # The cluster identifier. This element is not returned when connecting
668
+ # to a serverless workgroup.
634
669
  # @return [String]
635
670
  #
636
671
  # @!attribute [rw] created_at
@@ -655,6 +690,11 @@ module Aws::RedshiftDataAPIService
655
690
  # The name or ARN of the secret that enables access to the database.
656
691
  # @return [String]
657
692
  #
693
+ # @!attribute [rw] workgroup_name
694
+ # The serverless workgroup name. This element is not returned when
695
+ # connecting to a provisioned cluster.
696
+ # @return [String]
697
+ #
658
698
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ExecuteStatementOutput AWS API Documentation
659
699
  #
660
700
  class ExecuteStatementOutput < Struct.new(
@@ -663,7 +703,8 @@ module Aws::RedshiftDataAPIService
663
703
  :database,
664
704
  :db_user,
665
705
  :id,
666
- :secret_arn)
706
+ :secret_arn,
707
+ :workgroup_name)
667
708
  SENSITIVE = []
668
709
  include Aws::Structure
669
710
  end
@@ -813,6 +854,7 @@ module Aws::RedshiftDataAPIService
813
854
  # max_results: 1,
814
855
  # next_token: "String",
815
856
  # secret_arn: "SecretArn",
857
+ # workgroup_name: "WorkgroupNameString",
816
858
  # }
817
859
  #
818
860
  # @!attribute [rw] cluster_identifier
@@ -853,6 +895,12 @@ module Aws::RedshiftDataAPIService
853
895
  # Manager.
854
896
  # @return [String]
855
897
  #
898
+ # @!attribute [rw] workgroup_name
899
+ # The serverless workgroup name. This parameter is required when
900
+ # connecting to a serverless workgroup and authenticating using either
901
+ # Secrets Manager or temporary credentials.
902
+ # @return [String]
903
+ #
856
904
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListDatabasesRequest AWS API Documentation
857
905
  #
858
906
  class ListDatabasesRequest < Struct.new(
@@ -861,7 +909,8 @@ module Aws::RedshiftDataAPIService
861
909
  :db_user,
862
910
  :max_results,
863
911
  :next_token,
864
- :secret_arn)
912
+ :secret_arn,
913
+ :workgroup_name)
865
914
  SENSITIVE = []
866
915
  include Aws::Structure
867
916
  end
@@ -900,6 +949,7 @@ module Aws::RedshiftDataAPIService
900
949
  # next_token: "String",
901
950
  # schema_pattern: "String",
902
951
  # secret_arn: "SecretArn",
952
+ # workgroup_name: "WorkgroupNameString",
903
953
  # }
904
954
  #
905
955
  # @!attribute [rw] cluster_identifier
@@ -952,6 +1002,12 @@ module Aws::RedshiftDataAPIService
952
1002
  # Manager.
953
1003
  # @return [String]
954
1004
  #
1005
+ # @!attribute [rw] workgroup_name
1006
+ # The serverless workgroup name. This parameter is required when
1007
+ # connecting to a serverless workgroup and authenticating using either
1008
+ # Secrets Manager or temporary credentials.
1009
+ # @return [String]
1010
+ #
955
1011
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListSchemasRequest AWS API Documentation
956
1012
  #
957
1013
  class ListSchemasRequest < Struct.new(
@@ -962,7 +1018,8 @@ module Aws::RedshiftDataAPIService
962
1018
  :max_results,
963
1019
  :next_token,
964
1020
  :schema_pattern,
965
- :secret_arn)
1021
+ :secret_arn,
1022
+ :workgroup_name)
966
1023
  SENSITIVE = []
967
1024
  include Aws::Structure
968
1025
  end
@@ -1099,6 +1156,7 @@ module Aws::RedshiftDataAPIService
1099
1156
  # schema_pattern: "String",
1100
1157
  # secret_arn: "SecretArn",
1101
1158
  # table_pattern: "String",
1159
+ # workgroup_name: "WorkgroupNameString",
1102
1160
  # }
1103
1161
  #
1104
1162
  # @!attribute [rw] cluster_identifier
@@ -1164,6 +1222,12 @@ module Aws::RedshiftDataAPIService
1164
1222
  # returned.
1165
1223
  # @return [String]
1166
1224
  #
1225
+ # @!attribute [rw] workgroup_name
1226
+ # The serverless workgroup name. This parameter is required when
1227
+ # connecting to a serverless workgroup and authenticating using either
1228
+ # Secrets Manager or temporary credentials.
1229
+ # @return [String]
1230
+ #
1167
1231
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListTablesRequest AWS API Documentation
1168
1232
  #
1169
1233
  class ListTablesRequest < Struct.new(
@@ -1175,7 +1239,8 @@ module Aws::RedshiftDataAPIService
1175
1239
  :next_token,
1176
1240
  :schema_pattern,
1177
1241
  :secret_arn,
1178
- :table_pattern)
1242
+ :table_pattern,
1243
+ :workgroup_name)
1179
1244
  SENSITIVE = []
1180
1245
  include Aws::Structure
1181
1246
  end
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-redshiftdataapiservice/customizations'
48
48
  # @!group service
49
49
  module Aws::RedshiftDataAPIService
50
50
 
51
- GEM_VERSION = '1.17.0'
51
+ GEM_VERSION = '1.20.0'
52
52
 
53
53
  end
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.17.0
4
+ version: 1.20.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: 2021-12-21 00:00:00.000000000 Z
11
+ date: 2022-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.125.0
22
+ version: 3.127.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.125.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement