aws-sdk-redshiftdataapiservice 1.22.0 → 1.23.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshiftdataapiservice/client.rb +102 -2
- data/lib/aws-sdk-redshiftdataapiservice/client_api.rb +3 -0
- data/lib/aws-sdk-redshiftdataapiservice/types.rb +23 -135
- data/lib/aws-sdk-redshiftdataapiservice.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e6c757a593b737ecc71e5f7bf9e98a618743a89f43bb5405ce41665b69f94a82
|
4
|
+
data.tar.gz: 4156423fe7e60ffe281ce21d10d4317ba990e42e7d133d4daf7e6ae93695fba5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98bd97ff6f0dfb056dd851b8ed7e68160f1856404e74cb11c81a2acaf02e9e41ad2bcf5ff9268790eb0b1aa953da4cac12df0251e00a2f46838aabc1f65fbba1
|
7
|
+
data.tar.gz: 98da868e069cf8a61fad52c132a1c66de7e0accee5cf2174c30e6694ce24046252322b01304d4b15602d95c76382c0c7e27147d98f03ba938ee23a310df971e7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.23.0 (2022-12-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds a new --client-token field to ExecuteStatement and BatchExecuteStatement operations. Customers can now run queries with the additional client token parameter to ensures idempotency.
|
8
|
+
|
4
9
|
1.22.0 (2022-10-25)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.23.0
|
@@ -396,6 +396,21 @@ module Aws::RedshiftDataAPIService
|
|
396
396
|
# specify the workgroup name and database name. Also, permission to
|
397
397
|
# call the `redshift-serverless:GetCredentials` operation is required.
|
398
398
|
#
|
399
|
+
# For more information about the Amazon Redshift Data API and CLI usage
|
400
|
+
# examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
|
401
|
+
# Redshift Management Guide*.
|
402
|
+
#
|
403
|
+
#
|
404
|
+
#
|
405
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html
|
406
|
+
#
|
407
|
+
# @option params [String] :client_token
|
408
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
409
|
+
# idempotency of the request.
|
410
|
+
#
|
411
|
+
# **A suitable default value is auto-generated.** You should normally
|
412
|
+
# not need to pass this option.**
|
413
|
+
#
|
399
414
|
# @option params [String] :cluster_identifier
|
400
415
|
# The cluster identifier. This parameter is required when connecting to
|
401
416
|
# a cluster and authenticating using either Secrets Manager or temporary
|
@@ -414,7 +429,11 @@ module Aws::RedshiftDataAPIService
|
|
414
429
|
# This parameter is required when authenticating using Secrets Manager.
|
415
430
|
#
|
416
431
|
# @option params [required, Array<String>] :sqls
|
417
|
-
# One or more SQL statements to run.
|
432
|
+
# One or more SQL statements to run. The SQL statements are run as
|
433
|
+
# a single transaction. They run serially in the order of the array.
|
434
|
+
# Subsequent SQL statements don't start until the previous statement in
|
435
|
+
# the array completes. If any SQL statement fails, then because they are
|
436
|
+
# run as one transaction, all work is rolled back.</p>
|
418
437
|
#
|
419
438
|
# @option params [String] :statement_name
|
420
439
|
# The name of the SQL statements. You can name the SQL statements when
|
@@ -442,6 +461,7 @@ module Aws::RedshiftDataAPIService
|
|
442
461
|
# @example Request syntax with placeholder values
|
443
462
|
#
|
444
463
|
# resp = client.batch_execute_statement({
|
464
|
+
# client_token: "ClientToken",
|
445
465
|
# cluster_identifier: "Location",
|
446
466
|
# database: "String", # required
|
447
467
|
# db_user: "String",
|
@@ -473,6 +493,14 @@ module Aws::RedshiftDataAPIService
|
|
473
493
|
|
474
494
|
# Cancels a running query. To be canceled, a query must be running.
|
475
495
|
#
|
496
|
+
# For more information about the Amazon Redshift Data API and CLI usage
|
497
|
+
# examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
|
498
|
+
# Redshift Management Guide*.
|
499
|
+
#
|
500
|
+
#
|
501
|
+
#
|
502
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html
|
503
|
+
#
|
476
504
|
# @option params [required, String] :id
|
477
505
|
# The identifier of the SQL statement to cancel. This value is a
|
478
506
|
# universally unique identifier (UUID) generated by Amazon Redshift Data
|
@@ -507,6 +535,14 @@ module Aws::RedshiftDataAPIService
|
|
507
535
|
# query started, when it finished, the query status, the number of rows
|
508
536
|
# returned, and the SQL statement.
|
509
537
|
#
|
538
|
+
# For more information about the Amazon Redshift Data API and CLI usage
|
539
|
+
# examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
|
540
|
+
# Redshift Management Guide*.
|
541
|
+
#
|
542
|
+
#
|
543
|
+
#
|
544
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html
|
545
|
+
#
|
510
546
|
# @option params [required, String] :id
|
511
547
|
# The identifier of the SQL statement to describe. This value is a
|
512
548
|
# universally unique identifier (UUID) generated by Amazon Redshift Data
|
@@ -606,6 +642,14 @@ module Aws::RedshiftDataAPIService
|
|
606
642
|
# specify the workgroup name and database name. Also, permission to
|
607
643
|
# call the `redshift-serverless:GetCredentials` operation is required.
|
608
644
|
#
|
645
|
+
# For more information about the Amazon Redshift Data API and CLI usage
|
646
|
+
# examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
|
647
|
+
# Redshift Management Guide*.
|
648
|
+
#
|
649
|
+
#
|
650
|
+
#
|
651
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html
|
652
|
+
#
|
609
653
|
# @option params [String] :cluster_identifier
|
610
654
|
# The cluster identifier. This parameter is required when connecting to
|
611
655
|
# a cluster and authenticating using either Secrets Manager or temporary
|
@@ -724,6 +768,21 @@ module Aws::RedshiftDataAPIService
|
|
724
768
|
# specify the workgroup name and database name. Also, permission to
|
725
769
|
# call the `redshift-serverless:GetCredentials` operation is required.
|
726
770
|
#
|
771
|
+
# For more information about the Amazon Redshift Data API and CLI usage
|
772
|
+
# examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
|
773
|
+
# Redshift Management Guide*.
|
774
|
+
#
|
775
|
+
#
|
776
|
+
#
|
777
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html
|
778
|
+
#
|
779
|
+
# @option params [String] :client_token
|
780
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
781
|
+
# idempotency of the request.
|
782
|
+
#
|
783
|
+
# **A suitable default value is auto-generated.** You should normally
|
784
|
+
# not need to pass this option.**
|
785
|
+
#
|
727
786
|
# @option params [String] :cluster_identifier
|
728
787
|
# The cluster identifier. This parameter is required when connecting to
|
729
788
|
# a cluster and authenticating using either Secrets Manager or temporary
|
@@ -773,6 +832,7 @@ module Aws::RedshiftDataAPIService
|
|
773
832
|
# @example Request syntax with placeholder values
|
774
833
|
#
|
775
834
|
# resp = client.execute_statement({
|
835
|
+
# client_token: "ClientToken",
|
776
836
|
# cluster_identifier: "Location",
|
777
837
|
# database: "String", # required
|
778
838
|
# db_user: "String",
|
@@ -811,6 +871,14 @@ module Aws::RedshiftDataAPIService
|
|
811
871
|
# Fetches the temporarily cached result of an SQL statement. A token is
|
812
872
|
# returned to page through the statement results.
|
813
873
|
#
|
874
|
+
# For more information about the Amazon Redshift Data API and CLI usage
|
875
|
+
# examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
|
876
|
+
# Redshift Management Guide*.
|
877
|
+
#
|
878
|
+
#
|
879
|
+
#
|
880
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html
|
881
|
+
#
|
814
882
|
# @option params [required, String] :id
|
815
883
|
# The identifier of the SQL statement whose results are to be fetched.
|
816
884
|
# This value is a universally unique identifier (UUID) generated by
|
@@ -897,6 +965,14 @@ module Aws::RedshiftDataAPIService
|
|
897
965
|
# specify the workgroup name and database name. Also, permission to
|
898
966
|
# call the `redshift-serverless:GetCredentials` operation is required.
|
899
967
|
#
|
968
|
+
# For more information about the Amazon Redshift Data API and CLI usage
|
969
|
+
# examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
|
970
|
+
# Redshift Management Guide*.
|
971
|
+
#
|
972
|
+
#
|
973
|
+
#
|
974
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html
|
975
|
+
#
|
900
976
|
# @option params [String] :cluster_identifier
|
901
977
|
# The cluster identifier. This parameter is required when connecting to
|
902
978
|
# a cluster and authenticating using either Secrets Manager or temporary
|
@@ -983,6 +1059,14 @@ module Aws::RedshiftDataAPIService
|
|
983
1059
|
# specify the workgroup name and database name. Also, permission to
|
984
1060
|
# call the `redshift-serverless:GetCredentials` operation is required.
|
985
1061
|
#
|
1062
|
+
# For more information about the Amazon Redshift Data API and CLI usage
|
1063
|
+
# examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
|
1064
|
+
# Redshift Management Guide*.
|
1065
|
+
#
|
1066
|
+
#
|
1067
|
+
#
|
1068
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html
|
1069
|
+
#
|
986
1070
|
# @option params [String] :cluster_identifier
|
987
1071
|
# The cluster identifier. This parameter is required when connecting to
|
988
1072
|
# a cluster and authenticating using either Secrets Manager or temporary
|
@@ -1068,6 +1152,14 @@ module Aws::RedshiftDataAPIService
|
|
1068
1152
|
# List of SQL statements. By default, only finished statements are
|
1069
1153
|
# shown. A token is returned to page through the statement list.
|
1070
1154
|
#
|
1155
|
+
# For more information about the Amazon Redshift Data API and CLI usage
|
1156
|
+
# examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
|
1157
|
+
# Redshift Management Guide*.
|
1158
|
+
#
|
1159
|
+
#
|
1160
|
+
#
|
1161
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html
|
1162
|
+
#
|
1071
1163
|
# @option params [Integer] :max_results
|
1072
1164
|
# The maximum number of SQL statements to return in the response. If
|
1073
1165
|
# more SQL statements exist than fit in one response, then `NextToken`
|
@@ -1178,6 +1270,14 @@ module Aws::RedshiftDataAPIService
|
|
1178
1270
|
# specify the workgroup name and database name. Also, permission to
|
1179
1271
|
# call the `redshift-serverless:GetCredentials` operation is required.
|
1180
1272
|
#
|
1273
|
+
# For more information about the Amazon Redshift Data API and CLI usage
|
1274
|
+
# examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
|
1275
|
+
# Redshift Management Guide*.
|
1276
|
+
#
|
1277
|
+
#
|
1278
|
+
#
|
1279
|
+
# [1]: https://docs.aws.amazon.com/redshift/latest/mgmt/data-api.html
|
1280
|
+
#
|
1181
1281
|
# @option params [String] :cluster_identifier
|
1182
1282
|
# The cluster identifier. This parameter is required when connecting to
|
1183
1283
|
# a cluster and authenticating using either Secrets Manager or temporary
|
@@ -1288,7 +1388,7 @@ module Aws::RedshiftDataAPIService
|
|
1288
1388
|
params: params,
|
1289
1389
|
config: config)
|
1290
1390
|
context[:gem_name] = 'aws-sdk-redshiftdataapiservice'
|
1291
|
-
context[:gem_version] = '1.
|
1391
|
+
context[:gem_version] = '1.23.0'
|
1292
1392
|
Seahorse::Client::Request.new(handlers, context)
|
1293
1393
|
end
|
1294
1394
|
|
@@ -24,6 +24,7 @@ module Aws::RedshiftDataAPIService
|
|
24
24
|
BoxedLong = Shapes::IntegerShape.new(name: 'BoxedLong')
|
25
25
|
CancelStatementRequest = Shapes::StructureShape.new(name: 'CancelStatementRequest')
|
26
26
|
CancelStatementResponse = Shapes::StructureShape.new(name: 'CancelStatementResponse')
|
27
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
27
28
|
ColumnList = Shapes::ListShape.new(name: 'ColumnList')
|
28
29
|
ColumnMetadata = Shapes::StructureShape.new(name: 'ColumnMetadata')
|
29
30
|
ColumnMetadataList = Shapes::ListShape.new(name: 'ColumnMetadataList')
|
@@ -88,6 +89,7 @@ module Aws::RedshiftDataAPIService
|
|
88
89
|
BatchExecuteStatementException.add_member(:statement_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "StatementId"))
|
89
90
|
BatchExecuteStatementException.struct_class = Types::BatchExecuteStatementException
|
90
91
|
|
92
|
+
BatchExecuteStatementInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
91
93
|
BatchExecuteStatementInput.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, location_name: "ClusterIdentifier"))
|
92
94
|
BatchExecuteStatementInput.add_member(:database, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Database"))
|
93
95
|
BatchExecuteStatementInput.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
@@ -182,6 +184,7 @@ module Aws::RedshiftDataAPIService
|
|
182
184
|
ExecuteStatementException.add_member(:statement_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "StatementId"))
|
183
185
|
ExecuteStatementException.struct_class = Types::ExecuteStatementException
|
184
186
|
|
187
|
+
ExecuteStatementInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
185
188
|
ExecuteStatementInput.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: Location, location_name: "ClusterIdentifier"))
|
186
189
|
ExecuteStatementInput.add_member(:database, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Database"))
|
187
190
|
ExecuteStatementInput.add_member(:db_user, Shapes::ShapeRef.new(shape: String, location_name: "DbUser"))
|
@@ -41,19 +41,13 @@ module Aws::RedshiftDataAPIService
|
|
41
41
|
include Aws::Structure
|
42
42
|
end
|
43
43
|
|
44
|
-
#
|
45
|
-
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
# secret_arn: "SecretArn",
|
52
|
-
# sqls: ["StatementString"], # required
|
53
|
-
# statement_name: "StatementNameString",
|
54
|
-
# with_event: false,
|
55
|
-
# workgroup_name: "WorkgroupNameString",
|
56
|
-
# }
|
44
|
+
# @!attribute [rw] client_token
|
45
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
46
|
+
# idempotency of the request.
|
47
|
+
#
|
48
|
+
# **A suitable default value is auto-generated.** You should normally
|
49
|
+
# not need to pass this option.
|
50
|
+
# @return [String]
|
57
51
|
#
|
58
52
|
# @!attribute [rw] cluster_identifier
|
59
53
|
# The cluster identifier. This parameter is required when connecting
|
@@ -79,7 +73,12 @@ module Aws::RedshiftDataAPIService
|
|
79
73
|
# @return [String]
|
80
74
|
#
|
81
75
|
# @!attribute [rw] sqls
|
82
|
-
# One or more SQL statements to run.
|
76
|
+
# One or more SQL statements to run. The SQL statements are run
|
77
|
+
# as a single transaction. They run serially in the order of the
|
78
|
+
# array. Subsequent SQL statements don't start until the previous
|
79
|
+
# statement in the array completes. If any SQL statement fails, then
|
80
|
+
# because they are run as one transaction, all work is rolled
|
81
|
+
# back.</p>
|
83
82
|
# @return [Array<String>]
|
84
83
|
#
|
85
84
|
# @!attribute [rw] statement_name
|
@@ -101,6 +100,7 @@ module Aws::RedshiftDataAPIService
|
|
101
100
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/BatchExecuteStatementInput AWS API Documentation
|
102
101
|
#
|
103
102
|
class BatchExecuteStatementInput < Struct.new(
|
103
|
+
:client_token,
|
104
104
|
:cluster_identifier,
|
105
105
|
:database,
|
106
106
|
:db_user,
|
@@ -160,13 +160,6 @@ module Aws::RedshiftDataAPIService
|
|
160
160
|
include Aws::Structure
|
161
161
|
end
|
162
162
|
|
163
|
-
# @note When making an API call, you may pass CancelStatementRequest
|
164
|
-
# data as a hash:
|
165
|
-
#
|
166
|
-
# {
|
167
|
-
# id: "StatementId", # required
|
168
|
-
# }
|
169
|
-
#
|
170
163
|
# @!attribute [rw] id
|
171
164
|
# The identifier of the SQL statement to cancel. This value is a
|
172
165
|
# universally unique identifier (UUID) generated by Amazon Redshift
|
@@ -283,13 +276,6 @@ module Aws::RedshiftDataAPIService
|
|
283
276
|
include Aws::Structure
|
284
277
|
end
|
285
278
|
|
286
|
-
# @note When making an API call, you may pass DescribeStatementRequest
|
287
|
-
# data as a hash:
|
288
|
-
#
|
289
|
-
# {
|
290
|
-
# id: "StatementId", # required
|
291
|
-
# }
|
292
|
-
#
|
293
279
|
# @!attribute [rw] id
|
294
280
|
# The identifier of the SQL statement to describe. This value is a
|
295
281
|
# universally unique identifier (UUID) generated by Amazon Redshift
|
@@ -440,22 +426,6 @@ module Aws::RedshiftDataAPIService
|
|
440
426
|
include Aws::Structure
|
441
427
|
end
|
442
428
|
|
443
|
-
# @note When making an API call, you may pass DescribeTableRequest
|
444
|
-
# data as a hash:
|
445
|
-
#
|
446
|
-
# {
|
447
|
-
# cluster_identifier: "Location",
|
448
|
-
# connected_database: "String",
|
449
|
-
# database: "String", # required
|
450
|
-
# db_user: "String",
|
451
|
-
# max_results: 1,
|
452
|
-
# next_token: "String",
|
453
|
-
# schema: "String",
|
454
|
-
# secret_arn: "SecretArn",
|
455
|
-
# table: "String",
|
456
|
-
# workgroup_name: "WorkgroupNameString",
|
457
|
-
# }
|
458
|
-
#
|
459
429
|
# @!attribute [rw] cluster_identifier
|
460
430
|
# The cluster identifier. This parameter is required when connecting
|
461
431
|
# to a cluster and authenticating using either Secrets Manager or
|
@@ -580,25 +550,13 @@ module Aws::RedshiftDataAPIService
|
|
580
550
|
include Aws::Structure
|
581
551
|
end
|
582
552
|
|
583
|
-
#
|
584
|
-
#
|
585
|
-
#
|
586
|
-
#
|
587
|
-
#
|
588
|
-
#
|
589
|
-
#
|
590
|
-
# parameters: [
|
591
|
-
# {
|
592
|
-
# name: "ParameterName", # required
|
593
|
-
# value: "ParameterValue", # required
|
594
|
-
# },
|
595
|
-
# ],
|
596
|
-
# secret_arn: "SecretArn",
|
597
|
-
# sql: "StatementString", # required
|
598
|
-
# statement_name: "StatementNameString",
|
599
|
-
# with_event: false,
|
600
|
-
# workgroup_name: "WorkgroupNameString",
|
601
|
-
# }
|
553
|
+
# @!attribute [rw] client_token
|
554
|
+
# A unique, case-sensitive identifier that you provide to ensure the
|
555
|
+
# idempotency of the request.
|
556
|
+
#
|
557
|
+
# **A suitable default value is auto-generated.** You should normally
|
558
|
+
# not need to pass this option.
|
559
|
+
# @return [String]
|
602
560
|
#
|
603
561
|
# @!attribute [rw] cluster_identifier
|
604
562
|
# The cluster identifier. This parameter is required when connecting
|
@@ -650,6 +608,7 @@ module Aws::RedshiftDataAPIService
|
|
650
608
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ExecuteStatementInput AWS API Documentation
|
651
609
|
#
|
652
610
|
class ExecuteStatementInput < Struct.new(
|
611
|
+
:client_token,
|
653
612
|
:cluster_identifier,
|
654
613
|
:database,
|
655
614
|
:db_user,
|
@@ -760,14 +719,6 @@ module Aws::RedshiftDataAPIService
|
|
760
719
|
class Unknown < Field; end
|
761
720
|
end
|
762
721
|
|
763
|
-
# @note When making an API call, you may pass GetStatementResultRequest
|
764
|
-
# data as a hash:
|
765
|
-
#
|
766
|
-
# {
|
767
|
-
# id: "StatementId", # required
|
768
|
-
# next_token: "String",
|
769
|
-
# }
|
770
|
-
#
|
771
722
|
# @!attribute [rw] id
|
772
723
|
# The identifier of the SQL statement whose results are to be fetched.
|
773
724
|
# This value is a universally unique identifier (UUID) generated by
|
@@ -844,19 +795,6 @@ module Aws::RedshiftDataAPIService
|
|
844
795
|
include Aws::Structure
|
845
796
|
end
|
846
797
|
|
847
|
-
# @note When making an API call, you may pass ListDatabasesRequest
|
848
|
-
# data as a hash:
|
849
|
-
#
|
850
|
-
# {
|
851
|
-
# cluster_identifier: "Location",
|
852
|
-
# database: "String", # required
|
853
|
-
# db_user: "String",
|
854
|
-
# max_results: 1,
|
855
|
-
# next_token: "String",
|
856
|
-
# secret_arn: "SecretArn",
|
857
|
-
# workgroup_name: "WorkgroupNameString",
|
858
|
-
# }
|
859
|
-
#
|
860
798
|
# @!attribute [rw] cluster_identifier
|
861
799
|
# The cluster identifier. This parameter is required when connecting
|
862
800
|
# to a cluster and authenticating using either Secrets Manager or
|
@@ -937,21 +875,6 @@ module Aws::RedshiftDataAPIService
|
|
937
875
|
include Aws::Structure
|
938
876
|
end
|
939
877
|
|
940
|
-
# @note When making an API call, you may pass ListSchemasRequest
|
941
|
-
# data as a hash:
|
942
|
-
#
|
943
|
-
# {
|
944
|
-
# cluster_identifier: "Location",
|
945
|
-
# connected_database: "String",
|
946
|
-
# database: "String", # required
|
947
|
-
# db_user: "String",
|
948
|
-
# max_results: 1,
|
949
|
-
# next_token: "String",
|
950
|
-
# schema_pattern: "String",
|
951
|
-
# secret_arn: "SecretArn",
|
952
|
-
# workgroup_name: "WorkgroupNameString",
|
953
|
-
# }
|
954
|
-
#
|
955
878
|
# @!attribute [rw] cluster_identifier
|
956
879
|
# The cluster identifier. This parameter is required when connecting
|
957
880
|
# to a cluster and authenticating using either Secrets Manager or
|
@@ -1046,17 +969,6 @@ module Aws::RedshiftDataAPIService
|
|
1046
969
|
include Aws::Structure
|
1047
970
|
end
|
1048
971
|
|
1049
|
-
# @note When making an API call, you may pass ListStatementsRequest
|
1050
|
-
# data as a hash:
|
1051
|
-
#
|
1052
|
-
# {
|
1053
|
-
# max_results: 1,
|
1054
|
-
# next_token: "String",
|
1055
|
-
# role_level: false,
|
1056
|
-
# statement_name: "StatementNameString",
|
1057
|
-
# status: "SUBMITTED", # accepts SUBMITTED, PICKED, STARTED, FINISHED, ABORTED, FAILED, ALL
|
1058
|
-
# }
|
1059
|
-
#
|
1060
972
|
# @!attribute [rw] max_results
|
1061
973
|
# The maximum number of SQL statements to return in the response. If
|
1062
974
|
# more SQL statements exist than fit in one response, then `NextToken`
|
@@ -1143,22 +1055,6 @@ module Aws::RedshiftDataAPIService
|
|
1143
1055
|
include Aws::Structure
|
1144
1056
|
end
|
1145
1057
|
|
1146
|
-
# @note When making an API call, you may pass ListTablesRequest
|
1147
|
-
# data as a hash:
|
1148
|
-
#
|
1149
|
-
# {
|
1150
|
-
# cluster_identifier: "Location",
|
1151
|
-
# connected_database: "String",
|
1152
|
-
# database: "String", # required
|
1153
|
-
# db_user: "String",
|
1154
|
-
# max_results: 1,
|
1155
|
-
# next_token: "String",
|
1156
|
-
# schema_pattern: "String",
|
1157
|
-
# secret_arn: "SecretArn",
|
1158
|
-
# table_pattern: "String",
|
1159
|
-
# workgroup_name: "WorkgroupNameString",
|
1160
|
-
# }
|
1161
|
-
#
|
1162
1058
|
# @!attribute [rw] cluster_identifier
|
1163
1059
|
# The cluster identifier. This parameter is required when connecting
|
1164
1060
|
# to a cluster and authenticating using either Secrets Manager or
|
@@ -1289,21 +1185,13 @@ module Aws::RedshiftDataAPIService
|
|
1289
1185
|
|
1290
1186
|
# A parameter used in a SQL statement.
|
1291
1187
|
#
|
1292
|
-
# @note When making an API call, you may pass SqlParameter
|
1293
|
-
# data as a hash:
|
1294
|
-
#
|
1295
|
-
# {
|
1296
|
-
# name: "ParameterName", # required
|
1297
|
-
# value: "ParameterValue", # required
|
1298
|
-
# }
|
1299
|
-
#
|
1300
1188
|
# @!attribute [rw] name
|
1301
1189
|
# The name of the parameter.
|
1302
1190
|
# @return [String]
|
1303
1191
|
#
|
1304
1192
|
# @!attribute [rw] value
|
1305
1193
|
# The value of the parameter. Amazon Redshift implicitly converts to
|
1306
|
-
# the proper data type. For more
|
1194
|
+
# the proper data type. For more information, see [Data types][1] in
|
1307
1195
|
# the *Amazon Redshift Database Developer Guide*.
|
1308
1196
|
#
|
1309
1197
|
#
|
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.23.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-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|