aws-sdk-redshiftdataapiservice 1.18.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshiftdataapiservice/client.rb +69 -19
- data/lib/aws-sdk-redshiftdataapiservice/client_api.rb +10 -0
- data/lib/aws-sdk-redshiftdataapiservice/types.rb +78 -13
- data/lib/aws-sdk-redshiftdataapiservice.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c594c216b374545384b8a8d71dccf914c8c408ed1e333b0f7f114749ead80872
|
4
|
+
data.tar.gz: 92937b919adca7baffa7d33fc1361176ae52e9405ab0ec12b1231f4a5eb4faf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a78ea897ff7d205e87f0110147ee4323ecf66ba54a3df148ce96978f72074cb5286e5c240eb8f98113a948cc12c5e22898b71e7fadd4b21c58e4d8a7bd818793
|
7
|
+
data.tar.gz: 9c0d436b2b6c50f8ed914f1282ade56e2a2b5270ad0950f5914274a5808638886d6dc724b07a57012d2c31c67902c4e90b6fdaaaee79f96982ef4ab52435e08b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.21.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.20.0 (2022-06-16)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
14
|
+
1.19.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.18.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.21.0
|
@@ -27,6 +27,7 @@ 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'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::RedshiftDataAPIService
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -367,14 +369,15 @@ module Aws::RedshiftDataAPIService
|
|
367
369
|
# * Secrets Manager - when connecting to a cluster, specify the Amazon
|
368
370
|
# Resource Name (ARN) of the secret, the database name, and the
|
369
371
|
# cluster identifier that matches the cluster in the secret. When
|
370
|
-
# connecting to a serverless
|
372
|
+
# connecting to a serverless workgroup, specify the Amazon Resource
|
371
373
|
# Name (ARN) of the secret and the database name.
|
372
374
|
#
|
373
375
|
# * Temporary credentials - when connecting to a cluster, specify the
|
374
376
|
# cluster identifier, the database name, and the database user name.
|
375
377
|
# Also, permission to call the `redshift:GetClusterCredentials`
|
376
|
-
# operation is required. When connecting to a serverless
|
377
|
-
# 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.
|
378
381
|
#
|
379
382
|
# @option params [String] :cluster_identifier
|
380
383
|
# The cluster identifier. This parameter is required when connecting to
|
@@ -404,6 +407,11 @@ module Aws::RedshiftDataAPIService
|
|
404
407
|
# A value that indicates whether to send an event to the Amazon
|
405
408
|
# EventBridge event bus after the SQL statements run.
|
406
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
|
+
#
|
407
415
|
# @return [Types::BatchExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
408
416
|
#
|
409
417
|
# * {Types::BatchExecuteStatementOutput#cluster_identifier #cluster_identifier} => String
|
@@ -412,6 +420,7 @@ module Aws::RedshiftDataAPIService
|
|
412
420
|
# * {Types::BatchExecuteStatementOutput#db_user #db_user} => String
|
413
421
|
# * {Types::BatchExecuteStatementOutput#id #id} => String
|
414
422
|
# * {Types::BatchExecuteStatementOutput#secret_arn #secret_arn} => String
|
423
|
+
# * {Types::BatchExecuteStatementOutput#workgroup_name #workgroup_name} => String
|
415
424
|
#
|
416
425
|
# @example Request syntax with placeholder values
|
417
426
|
#
|
@@ -423,6 +432,7 @@ module Aws::RedshiftDataAPIService
|
|
423
432
|
# sqls: ["StatementString"], # required
|
424
433
|
# statement_name: "StatementNameString",
|
425
434
|
# with_event: false,
|
435
|
+
# workgroup_name: "WorkgroupNameString",
|
426
436
|
# })
|
427
437
|
#
|
428
438
|
# @example Response structure
|
@@ -433,6 +443,7 @@ module Aws::RedshiftDataAPIService
|
|
433
443
|
# resp.db_user #=> String
|
434
444
|
# resp.id #=> String
|
435
445
|
# resp.secret_arn #=> String
|
446
|
+
# resp.workgroup_name #=> String
|
436
447
|
#
|
437
448
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/BatchExecuteStatement AWS API Documentation
|
438
449
|
#
|
@@ -508,6 +519,7 @@ module Aws::RedshiftDataAPIService
|
|
508
519
|
# * {Types::DescribeStatementResponse#status #status} => String
|
509
520
|
# * {Types::DescribeStatementResponse#sub_statements #sub_statements} => Array<Types::SubStatementData>
|
510
521
|
# * {Types::DescribeStatementResponse#updated_at #updated_at} => Time
|
522
|
+
# * {Types::DescribeStatementResponse#workgroup_name #workgroup_name} => String
|
511
523
|
#
|
512
524
|
# @example Request syntax with placeholder values
|
513
525
|
#
|
@@ -548,6 +560,7 @@ module Aws::RedshiftDataAPIService
|
|
548
560
|
# resp.sub_statements[0].status #=> String, one of "SUBMITTED", "PICKED", "STARTED", "FINISHED", "ABORTED", "FAILED"
|
549
561
|
# resp.sub_statements[0].updated_at #=> Time
|
550
562
|
# resp.updated_at #=> Time
|
563
|
+
# resp.workgroup_name #=> String
|
551
564
|
#
|
552
565
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DescribeStatement AWS API Documentation
|
553
566
|
#
|
@@ -566,14 +579,15 @@ module Aws::RedshiftDataAPIService
|
|
566
579
|
# * Secrets Manager - when connecting to a cluster, specify the Amazon
|
567
580
|
# Resource Name (ARN) of the secret, the database name, and the
|
568
581
|
# cluster identifier that matches the cluster in the secret. When
|
569
|
-
# connecting to a serverless
|
582
|
+
# connecting to a serverless workgroup, specify the Amazon Resource
|
570
583
|
# Name (ARN) of the secret and the database name.
|
571
584
|
#
|
572
585
|
# * Temporary credentials - when connecting to a cluster, specify the
|
573
586
|
# cluster identifier, the database name, and the database user name.
|
574
587
|
# Also, permission to call the `redshift:GetClusterCredentials`
|
575
|
-
# operation is required. When connecting to a serverless
|
576
|
-
# 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.
|
577
591
|
#
|
578
592
|
# @option params [String] :cluster_identifier
|
579
593
|
# The cluster identifier. This parameter is required when connecting to
|
@@ -619,6 +633,11 @@ module Aws::RedshiftDataAPIService
|
|
619
633
|
# matching schemas are returned. If no table and no schema is specified,
|
620
634
|
# then all tables for all schemas in the database are returned
|
621
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
|
+
#
|
622
641
|
# @return [Types::DescribeTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
623
642
|
#
|
624
643
|
# * {Types::DescribeTableResponse#column_list #column_list} => Array<Types::ColumnMetadata>
|
@@ -639,6 +658,7 @@ module Aws::RedshiftDataAPIService
|
|
639
658
|
# schema: "String",
|
640
659
|
# secret_arn: "SecretArn",
|
641
660
|
# table: "String",
|
661
|
+
# workgroup_name: "WorkgroupNameString",
|
642
662
|
# })
|
643
663
|
#
|
644
664
|
# @example Response structure
|
@@ -677,14 +697,15 @@ module Aws::RedshiftDataAPIService
|
|
677
697
|
# * Secrets Manager - when connecting to a cluster, specify the Amazon
|
678
698
|
# Resource Name (ARN) of the secret, the database name, and the
|
679
699
|
# cluster identifier that matches the cluster in the secret. When
|
680
|
-
# connecting to a serverless
|
700
|
+
# connecting to a serverless workgroup, specify the Amazon Resource
|
681
701
|
# Name (ARN) of the secret and the database name.
|
682
702
|
#
|
683
703
|
# * Temporary credentials - when connecting to a cluster, specify the
|
684
704
|
# cluster identifier, the database name, and the database user name.
|
685
705
|
# Also, permission to call the `redshift:GetClusterCredentials`
|
686
|
-
# operation is required. When connecting to a serverless
|
687
|
-
# 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.
|
688
709
|
#
|
689
710
|
# @option params [String] :cluster_identifier
|
690
711
|
# The cluster identifier. This parameter is required when connecting to
|
@@ -717,6 +738,11 @@ module Aws::RedshiftDataAPIService
|
|
717
738
|
# A value that indicates whether to send an event to the Amazon
|
718
739
|
# EventBridge event bus after the SQL statement runs.
|
719
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
|
+
#
|
720
746
|
# @return [Types::ExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
721
747
|
#
|
722
748
|
# * {Types::ExecuteStatementOutput#cluster_identifier #cluster_identifier} => String
|
@@ -725,6 +751,7 @@ module Aws::RedshiftDataAPIService
|
|
725
751
|
# * {Types::ExecuteStatementOutput#db_user #db_user} => String
|
726
752
|
# * {Types::ExecuteStatementOutput#id #id} => String
|
727
753
|
# * {Types::ExecuteStatementOutput#secret_arn #secret_arn} => String
|
754
|
+
# * {Types::ExecuteStatementOutput#workgroup_name #workgroup_name} => String
|
728
755
|
#
|
729
756
|
# @example Request syntax with placeholder values
|
730
757
|
#
|
@@ -742,6 +769,7 @@ module Aws::RedshiftDataAPIService
|
|
742
769
|
# sql: "StatementString", # required
|
743
770
|
# statement_name: "StatementNameString",
|
744
771
|
# with_event: false,
|
772
|
+
# workgroup_name: "WorkgroupNameString",
|
745
773
|
# })
|
746
774
|
#
|
747
775
|
# @example Response structure
|
@@ -752,6 +780,7 @@ module Aws::RedshiftDataAPIService
|
|
752
780
|
# resp.db_user #=> String
|
753
781
|
# resp.id #=> String
|
754
782
|
# resp.secret_arn #=> String
|
783
|
+
# resp.workgroup_name #=> String
|
755
784
|
#
|
756
785
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ExecuteStatement AWS API Documentation
|
757
786
|
#
|
@@ -841,14 +870,15 @@ module Aws::RedshiftDataAPIService
|
|
841
870
|
# * Secrets Manager - when connecting to a cluster, specify the Amazon
|
842
871
|
# Resource Name (ARN) of the secret, the database name, and the
|
843
872
|
# cluster identifier that matches the cluster in the secret. When
|
844
|
-
# connecting to a serverless
|
873
|
+
# connecting to a serverless workgroup, specify the Amazon Resource
|
845
874
|
# Name (ARN) of the secret and the database name.
|
846
875
|
#
|
847
876
|
# * Temporary credentials - when connecting to a cluster, specify the
|
848
877
|
# cluster identifier, the database name, and the database user name.
|
849
878
|
# Also, permission to call the `redshift:GetClusterCredentials`
|
850
|
-
# operation is required. When connecting to a serverless
|
851
|
-
# 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.
|
852
882
|
#
|
853
883
|
# @option params [String] :cluster_identifier
|
854
884
|
# The cluster identifier. This parameter is required when connecting to
|
@@ -880,6 +910,11 @@ module Aws::RedshiftDataAPIService
|
|
880
910
|
# The name or ARN of the secret that enables access to the database.
|
881
911
|
# This parameter is required when authenticating using Secrets Manager.
|
882
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
|
+
#
|
883
918
|
# @return [Types::ListDatabasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
884
919
|
#
|
885
920
|
# * {Types::ListDatabasesResponse#databases #databases} => Array<String>
|
@@ -896,6 +931,7 @@ module Aws::RedshiftDataAPIService
|
|
896
931
|
# max_results: 1,
|
897
932
|
# next_token: "String",
|
898
933
|
# secret_arn: "SecretArn",
|
934
|
+
# workgroup_name: "WorkgroupNameString",
|
899
935
|
# })
|
900
936
|
#
|
901
937
|
# @example Response structure
|
@@ -920,14 +956,15 @@ module Aws::RedshiftDataAPIService
|
|
920
956
|
# * Secrets Manager - when connecting to a cluster, specify the Amazon
|
921
957
|
# Resource Name (ARN) of the secret, the database name, and the
|
922
958
|
# cluster identifier that matches the cluster in the secret. When
|
923
|
-
# connecting to a serverless
|
959
|
+
# connecting to a serverless workgroup, specify the Amazon Resource
|
924
960
|
# Name (ARN) of the secret and the database name.
|
925
961
|
#
|
926
962
|
# * Temporary credentials - when connecting to a cluster, specify the
|
927
963
|
# cluster identifier, the database name, and the database user name.
|
928
964
|
# Also, permission to call the `redshift:GetClusterCredentials`
|
929
|
-
# operation is required. When connecting to a serverless
|
930
|
-
# 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.
|
931
968
|
#
|
932
969
|
# @option params [String] :cluster_identifier
|
933
970
|
# The cluster identifier. This parameter is required when connecting to
|
@@ -970,6 +1007,11 @@ module Aws::RedshiftDataAPIService
|
|
970
1007
|
# The name or ARN of the secret that enables access to the database.
|
971
1008
|
# This parameter is required when authenticating using Secrets Manager.
|
972
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
|
+
#
|
973
1015
|
# @return [Types::ListSchemasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
974
1016
|
#
|
975
1017
|
# * {Types::ListSchemasResponse#next_token #next_token} => String
|
@@ -988,6 +1030,7 @@ module Aws::RedshiftDataAPIService
|
|
988
1030
|
# next_token: "String",
|
989
1031
|
# schema_pattern: "String",
|
990
1032
|
# secret_arn: "SecretArn",
|
1033
|
+
# workgroup_name: "WorkgroupNameString",
|
991
1034
|
# })
|
992
1035
|
#
|
993
1036
|
# @example Response structure
|
@@ -1108,14 +1151,15 @@ module Aws::RedshiftDataAPIService
|
|
1108
1151
|
# * Secrets Manager - when connecting to a cluster, specify the Amazon
|
1109
1152
|
# Resource Name (ARN) of the secret, the database name, and the
|
1110
1153
|
# cluster identifier that matches the cluster in the secret. When
|
1111
|
-
# connecting to a serverless
|
1154
|
+
# connecting to a serverless workgroup, specify the Amazon Resource
|
1112
1155
|
# Name (ARN) of the secret and the database name.
|
1113
1156
|
#
|
1114
1157
|
# * Temporary credentials - when connecting to a cluster, specify the
|
1115
1158
|
# cluster identifier, the database name, and the database user name.
|
1116
1159
|
# Also, permission to call the `redshift:GetClusterCredentials`
|
1117
|
-
# operation is required. When connecting to a serverless
|
1118
|
-
# 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.
|
1119
1163
|
#
|
1120
1164
|
# @option params [String] :cluster_identifier
|
1121
1165
|
# The cluster identifier. This parameter is required when connecting to
|
@@ -1170,6 +1214,11 @@ module Aws::RedshiftDataAPIService
|
|
1170
1214
|
# `SchemaPattern` or `TablePattern` are specified, then all tables are
|
1171
1215
|
# returned.
|
1172
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
|
+
#
|
1173
1222
|
# @return [Types::ListTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1174
1223
|
#
|
1175
1224
|
# * {Types::ListTablesResponse#next_token #next_token} => String
|
@@ -1189,6 +1238,7 @@ module Aws::RedshiftDataAPIService
|
|
1189
1238
|
# schema_pattern: "String",
|
1190
1239
|
# secret_arn: "SecretArn",
|
1191
1240
|
# table_pattern: "String",
|
1241
|
+
# workgroup_name: "WorkgroupNameString",
|
1192
1242
|
# })
|
1193
1243
|
#
|
1194
1244
|
# @example Response structure
|
@@ -1221,7 +1271,7 @@ module Aws::RedshiftDataAPIService
|
|
1221
1271
|
params: params,
|
1222
1272
|
config: config)
|
1223
1273
|
context[:gem_name] = 'aws-sdk-redshiftdataapiservice'
|
1224
|
-
context[:gem_version] = '1.
|
1274
|
+
context[:gem_version] = '1.21.0'
|
1225
1275
|
Seahorse::Client::Request.new(handlers, context)
|
1226
1276
|
end
|
1227
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
|
110
|
-
#
|
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
|
633
|
-
#
|
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
|
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.
|
4
|
+
version: 1.21.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-
|
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.
|
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.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|