aws-sdk-redshiftdataapiservice 1.19.0 → 1.20.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0cd39fe17cb5d1ee0042dfc7d45330364a9035a5c58bd5460478a5672fc3ae7
4
- data.tar.gz: efa9db0fba208e2635233f0c685ecfaa8600fb732c29a4faf5d2b327fb220cb0
3
+ metadata.gz: a1fb836c576b0a3d33b8e8f35ce36ec174fde8a540af7b9248cc5c9d4cb52177
4
+ data.tar.gz: 4cd992ce5fdb0e60c8c031014e98cc7b2d7ad1c3955154f88fadb04d97aaa7a3
5
5
  SHA512:
6
- metadata.gz: 8557e770bdf5b1471c8a8a7dd8d05d262f0de3a33cb693336c204333b199c9aa11223b43cbcb63e771709acdb5f33e4735d6e1c997269f54e1aa7cd588e0c25c
7
- data.tar.gz: 2d42883ecbb0884c72b088cf03ca92dede2d0439aacac5f200210c165ee0198cfb107a749188e986be0321b4c0a12dd96b8c38c827678303f0433161c86e3a75
6
+ metadata.gz: dba0d47893fde42245c17aea4d29c8bfa16f7f96b6ce3d1d06763b8538b5b66f975a0572155440a6ab21dbefd805f4ab1236ad9d9a593b1169c69024af2fd687
7
+ data.tar.gz: 05a8397a9454f588303c4e59e2772d471b5a9a36a3524d1d1f6d1eca08725ab4b0b49c21f27833dc42fe6ceefe05936b6dc358542f7ad97005b2601345fc6062
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.19.0 (2022-02-24)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.20.0
@@ -369,14 +369,15 @@ module Aws::RedshiftDataAPIService
369
369
  # * Secrets Manager - when connecting to a cluster, specify the Amazon
370
370
  # Resource Name (ARN) of the secret, the database name, and the
371
371
  # cluster identifier that matches the cluster in the secret. When
372
- # connecting to a serverless endpoint, specify the Amazon Resource
372
+ # connecting to a serverless workgroup, specify the Amazon Resource
373
373
  # Name (ARN) of the secret and the database name.
374
374
  #
375
375
  # * Temporary credentials - when connecting to a cluster, specify the
376
376
  # cluster identifier, the database name, and the database user name.
377
377
  # Also, permission to call the `redshift:GetClusterCredentials`
378
- # operation is required. When connecting to a serverless endpoint,
379
- # 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.
380
381
  #
381
382
  # @option params [String] :cluster_identifier
382
383
  # The cluster identifier. This parameter is required when connecting to
@@ -406,6 +407,11 @@ module Aws::RedshiftDataAPIService
406
407
  # A value that indicates whether to send an event to the Amazon
407
408
  # EventBridge event bus after the SQL statements run.
408
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
+ #
409
415
  # @return [Types::BatchExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
410
416
  #
411
417
  # * {Types::BatchExecuteStatementOutput#cluster_identifier #cluster_identifier} => String
@@ -414,6 +420,7 @@ module Aws::RedshiftDataAPIService
414
420
  # * {Types::BatchExecuteStatementOutput#db_user #db_user} => String
415
421
  # * {Types::BatchExecuteStatementOutput#id #id} => String
416
422
  # * {Types::BatchExecuteStatementOutput#secret_arn #secret_arn} => String
423
+ # * {Types::BatchExecuteStatementOutput#workgroup_name #workgroup_name} => String
417
424
  #
418
425
  # @example Request syntax with placeholder values
419
426
  #
@@ -425,6 +432,7 @@ module Aws::RedshiftDataAPIService
425
432
  # sqls: ["StatementString"], # required
426
433
  # statement_name: "StatementNameString",
427
434
  # with_event: false,
435
+ # workgroup_name: "WorkgroupNameString",
428
436
  # })
429
437
  #
430
438
  # @example Response structure
@@ -435,6 +443,7 @@ module Aws::RedshiftDataAPIService
435
443
  # resp.db_user #=> String
436
444
  # resp.id #=> String
437
445
  # resp.secret_arn #=> String
446
+ # resp.workgroup_name #=> String
438
447
  #
439
448
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/BatchExecuteStatement AWS API Documentation
440
449
  #
@@ -510,6 +519,7 @@ module Aws::RedshiftDataAPIService
510
519
  # * {Types::DescribeStatementResponse#status #status} => String
511
520
  # * {Types::DescribeStatementResponse#sub_statements #sub_statements} => Array<Types::SubStatementData>
512
521
  # * {Types::DescribeStatementResponse#updated_at #updated_at} => Time
522
+ # * {Types::DescribeStatementResponse#workgroup_name #workgroup_name} => String
513
523
  #
514
524
  # @example Request syntax with placeholder values
515
525
  #
@@ -550,6 +560,7 @@ module Aws::RedshiftDataAPIService
550
560
  # resp.sub_statements[0].status #=> String, one of "SUBMITTED", "PICKED", "STARTED", "FINISHED", "ABORTED", "FAILED"
551
561
  # resp.sub_statements[0].updated_at #=> Time
552
562
  # resp.updated_at #=> Time
563
+ # resp.workgroup_name #=> String
553
564
  #
554
565
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DescribeStatement AWS API Documentation
555
566
  #
@@ -568,14 +579,15 @@ module Aws::RedshiftDataAPIService
568
579
  # * Secrets Manager - when connecting to a cluster, specify the Amazon
569
580
  # Resource Name (ARN) of the secret, the database name, and the
570
581
  # cluster identifier that matches the cluster in the secret. When
571
- # connecting to a serverless endpoint, specify the Amazon Resource
582
+ # connecting to a serverless workgroup, specify the Amazon Resource
572
583
  # Name (ARN) of the secret and the database name.
573
584
  #
574
585
  # * Temporary credentials - when connecting to a cluster, specify the
575
586
  # cluster identifier, the database name, and the database user name.
576
587
  # Also, permission to call the `redshift:GetClusterCredentials`
577
- # operation is required. When connecting to a serverless endpoint,
578
- # 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.
579
591
  #
580
592
  # @option params [String] :cluster_identifier
581
593
  # The cluster identifier. This parameter is required when connecting to
@@ -621,6 +633,11 @@ module Aws::RedshiftDataAPIService
621
633
  # matching schemas are returned. If no table and no schema is specified,
622
634
  # then all tables for all schemas in the database are returned
623
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
+ #
624
641
  # @return [Types::DescribeTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
625
642
  #
626
643
  # * {Types::DescribeTableResponse#column_list #column_list} => Array<Types::ColumnMetadata>
@@ -641,6 +658,7 @@ module Aws::RedshiftDataAPIService
641
658
  # schema: "String",
642
659
  # secret_arn: "SecretArn",
643
660
  # table: "String",
661
+ # workgroup_name: "WorkgroupNameString",
644
662
  # })
645
663
  #
646
664
  # @example Response structure
@@ -679,14 +697,15 @@ module Aws::RedshiftDataAPIService
679
697
  # * Secrets Manager - when connecting to a cluster, specify the Amazon
680
698
  # Resource Name (ARN) of the secret, the database name, and the
681
699
  # cluster identifier that matches the cluster in the secret. When
682
- # connecting to a serverless endpoint, specify the Amazon Resource
700
+ # connecting to a serverless workgroup, specify the Amazon Resource
683
701
  # Name (ARN) of the secret and the database name.
684
702
  #
685
703
  # * Temporary credentials - when connecting to a cluster, specify the
686
704
  # cluster identifier, the database name, and the database user name.
687
705
  # Also, permission to call the `redshift:GetClusterCredentials`
688
- # operation is required. When connecting to a serverless endpoint,
689
- # 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.
690
709
  #
691
710
  # @option params [String] :cluster_identifier
692
711
  # The cluster identifier. This parameter is required when connecting to
@@ -719,6 +738,11 @@ module Aws::RedshiftDataAPIService
719
738
  # A value that indicates whether to send an event to the Amazon
720
739
  # EventBridge event bus after the SQL statement runs.
721
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
+ #
722
746
  # @return [Types::ExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
723
747
  #
724
748
  # * {Types::ExecuteStatementOutput#cluster_identifier #cluster_identifier} => String
@@ -727,6 +751,7 @@ module Aws::RedshiftDataAPIService
727
751
  # * {Types::ExecuteStatementOutput#db_user #db_user} => String
728
752
  # * {Types::ExecuteStatementOutput#id #id} => String
729
753
  # * {Types::ExecuteStatementOutput#secret_arn #secret_arn} => String
754
+ # * {Types::ExecuteStatementOutput#workgroup_name #workgroup_name} => String
730
755
  #
731
756
  # @example Request syntax with placeholder values
732
757
  #
@@ -744,6 +769,7 @@ module Aws::RedshiftDataAPIService
744
769
  # sql: "StatementString", # required
745
770
  # statement_name: "StatementNameString",
746
771
  # with_event: false,
772
+ # workgroup_name: "WorkgroupNameString",
747
773
  # })
748
774
  #
749
775
  # @example Response structure
@@ -754,6 +780,7 @@ module Aws::RedshiftDataAPIService
754
780
  # resp.db_user #=> String
755
781
  # resp.id #=> String
756
782
  # resp.secret_arn #=> String
783
+ # resp.workgroup_name #=> String
757
784
  #
758
785
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ExecuteStatement AWS API Documentation
759
786
  #
@@ -843,14 +870,15 @@ module Aws::RedshiftDataAPIService
843
870
  # * Secrets Manager - when connecting to a cluster, specify the Amazon
844
871
  # Resource Name (ARN) of the secret, the database name, and the
845
872
  # cluster identifier that matches the cluster in the secret. When
846
- # connecting to a serverless endpoint, specify the Amazon Resource
873
+ # connecting to a serverless workgroup, specify the Amazon Resource
847
874
  # Name (ARN) of the secret and the database name.
848
875
  #
849
876
  # * Temporary credentials - when connecting to a cluster, specify the
850
877
  # cluster identifier, the database name, and the database user name.
851
878
  # Also, permission to call the `redshift:GetClusterCredentials`
852
- # operation is required. When connecting to a serverless endpoint,
853
- # 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.
854
882
  #
855
883
  # @option params [String] :cluster_identifier
856
884
  # The cluster identifier. This parameter is required when connecting to
@@ -882,6 +910,11 @@ module Aws::RedshiftDataAPIService
882
910
  # The name or ARN of the secret that enables access to the database.
883
911
  # This parameter is required when authenticating using Secrets Manager.
884
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
+ #
885
918
  # @return [Types::ListDatabasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
886
919
  #
887
920
  # * {Types::ListDatabasesResponse#databases #databases} => Array<String>
@@ -898,6 +931,7 @@ module Aws::RedshiftDataAPIService
898
931
  # max_results: 1,
899
932
  # next_token: "String",
900
933
  # secret_arn: "SecretArn",
934
+ # workgroup_name: "WorkgroupNameString",
901
935
  # })
902
936
  #
903
937
  # @example Response structure
@@ -922,14 +956,15 @@ module Aws::RedshiftDataAPIService
922
956
  # * Secrets Manager - when connecting to a cluster, specify the Amazon
923
957
  # Resource Name (ARN) of the secret, the database name, and the
924
958
  # cluster identifier that matches the cluster in the secret. When
925
- # connecting to a serverless endpoint, specify the Amazon Resource
959
+ # connecting to a serverless workgroup, specify the Amazon Resource
926
960
  # Name (ARN) of the secret and the database name.
927
961
  #
928
962
  # * Temporary credentials - when connecting to a cluster, specify the
929
963
  # cluster identifier, the database name, and the database user name.
930
964
  # Also, permission to call the `redshift:GetClusterCredentials`
931
- # operation is required. When connecting to a serverless endpoint,
932
- # 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.
933
968
  #
934
969
  # @option params [String] :cluster_identifier
935
970
  # The cluster identifier. This parameter is required when connecting to
@@ -972,6 +1007,11 @@ module Aws::RedshiftDataAPIService
972
1007
  # The name or ARN of the secret that enables access to the database.
973
1008
  # This parameter is required when authenticating using Secrets Manager.
974
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
+ #
975
1015
  # @return [Types::ListSchemasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
976
1016
  #
977
1017
  # * {Types::ListSchemasResponse#next_token #next_token} => String
@@ -990,6 +1030,7 @@ module Aws::RedshiftDataAPIService
990
1030
  # next_token: "String",
991
1031
  # schema_pattern: "String",
992
1032
  # secret_arn: "SecretArn",
1033
+ # workgroup_name: "WorkgroupNameString",
993
1034
  # })
994
1035
  #
995
1036
  # @example Response structure
@@ -1110,14 +1151,15 @@ module Aws::RedshiftDataAPIService
1110
1151
  # * Secrets Manager - when connecting to a cluster, specify the Amazon
1111
1152
  # Resource Name (ARN) of the secret, the database name, and the
1112
1153
  # cluster identifier that matches the cluster in the secret. When
1113
- # connecting to a serverless endpoint, specify the Amazon Resource
1154
+ # connecting to a serverless workgroup, specify the Amazon Resource
1114
1155
  # Name (ARN) of the secret and the database name.
1115
1156
  #
1116
1157
  # * Temporary credentials - when connecting to a cluster, specify the
1117
1158
  # cluster identifier, the database name, and the database user name.
1118
1159
  # Also, permission to call the `redshift:GetClusterCredentials`
1119
- # operation is required. When connecting to a serverless endpoint,
1120
- # 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.
1121
1163
  #
1122
1164
  # @option params [String] :cluster_identifier
1123
1165
  # The cluster identifier. This parameter is required when connecting to
@@ -1172,6 +1214,11 @@ module Aws::RedshiftDataAPIService
1172
1214
  # `SchemaPattern` or `TablePattern` are specified, then all tables are
1173
1215
  # returned.
1174
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
+ #
1175
1222
  # @return [Types::ListTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1176
1223
  #
1177
1224
  # * {Types::ListTablesResponse#next_token #next_token} => String
@@ -1191,6 +1238,7 @@ module Aws::RedshiftDataAPIService
1191
1238
  # schema_pattern: "String",
1192
1239
  # secret_arn: "SecretArn",
1193
1240
  # table_pattern: "String",
1241
+ # workgroup_name: "WorkgroupNameString",
1194
1242
  # })
1195
1243
  #
1196
1244
  # @example Response structure
@@ -1223,7 +1271,7 @@ module Aws::RedshiftDataAPIService
1223
1271
  params: params,
1224
1272
  config: config)
1225
1273
  context[:gem_name] = 'aws-sdk-redshiftdataapiservice'
1226
- context[:gem_version] = '1.19.0'
1274
+ context[:gem_version] = '1.20.0'
1227
1275
  Seahorse::Client::Request.new(handlers, context)
1228
1276
  end
1229
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.19.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.19.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: 2022-02-24 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