aws-sdk-redshiftdataapiservice 1.24.0 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a3b446b919f690dabaf6cfc4cd79890fbeb5f0cd61f37d01607add5419cea1c
4
- data.tar.gz: fbd5a904c0279d4452e9ba5e8abf0795fff45848eca5bc733827e1195fd0ae8c
3
+ metadata.gz: 0ca8632f1a1d0e3bd3818ad9701960c2bff8a77f7a95214604e3962123d6954e
4
+ data.tar.gz: d804ad2bc64d21cfdc351db5a0c03029953d18faa9878bbb9ad15e0345217d6a
5
5
  SHA512:
6
- metadata.gz: 84463fb771e17c4d18d252a9a8677d565a4b8ff597b29bedc0f482f51662cc95b120717a1caf45672afffc9186174689fc4dfbe8b083bf8580c885cd5067b969
7
- data.tar.gz: 82be171094e3b7778454d5d98e00d5ddeae0baaf52d85c0b277799125664b5cbfc92f5adcd7c4c6b277eb6a28ab6429a8a5d9304528b57c14ef3decf69afe262
6
+ metadata.gz: 36ec285ec86c7aafc399ef98ddc078f99c0bcb13bdae94ecb49282ec22a5a331c1ef23ec45276ce54b478c7d3cc362932add2bbed6b9fb2251b622a18230a800
7
+ data.tar.gz: df312a43821cd6bea4e7a2512ef48dc87de9edc976afc964005e40d71700003525f6e95fccc5b935de91a8e12e16aaba8ef9a99aa43128c31223df139edd114f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.26.0 (2023-04-07)
5
+ ------------------
6
+
7
+ * Feature - Update documentation of API descriptions as needed in support of temporary credentials with IAM identity.
8
+
9
+ 1.25.0 (2023-03-09)
10
+ ------------------
11
+
12
+ * Feature - Added support for Redshift Serverless workgroup-arn wherever the WorkgroupName parameter is available.
13
+
4
14
  1.24.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.24.0
1
+ 1.26.0
@@ -383,18 +383,35 @@ module Aws::RedshiftDataAPIService
383
383
  # authorization method, use one of the following combinations of request
384
384
  # parameters:
385
385
  #
386
- # * Secrets Manager - when connecting to a cluster, specify the Amazon
387
- # Resource Name (ARN) of the secret, the database name, and the
388
- # cluster identifier that matches the cluster in the secret. When
389
- # connecting to a serverless workgroup, specify the Amazon Resource
390
- # Name (ARN) of the secret and the database name.
391
- #
392
- # * Temporary credentials - when connecting to a cluster, specify the
393
- # cluster identifier, the database name, and the database user name.
394
- # Also, permission to call the `redshift:GetClusterCredentials`
395
- # operation is required. When connecting to a serverless workgroup,
396
- # specify the workgroup name and database name. Also, permission to
397
- # call the `redshift-serverless:GetCredentials` operation is required.
386
+ # * Secrets Manager - when connecting to a cluster, provide the
387
+ # `secret-arn` of a secret stored in Secrets Manager which has
388
+ # `username` and `password`. The specified secret contains credentials
389
+ # to connect to the `database` you specify. When you are connecting to
390
+ # a cluster, you also supply the database name, If you provide a
391
+ # cluster identifier (`dbClusterIdentifier`), it must match the
392
+ # cluster identifier stored in the secret. When you are connecting to
393
+ # a serverless workgroup, you also supply the database name.
394
+ #
395
+ # * Temporary credentials - when connecting to your data warehouse,
396
+ # choose one of the following options:
397
+ #
398
+ # * When connecting to a serverless workgroup, specify the workgroup
399
+ # name and database name. The database user name is derived from the
400
+ # IAM identity. For example, `arn:iam::123456789012:user:foo` has
401
+ # the database user name `IAM:foo`. Also, permission to call the
402
+ # `redshift-serverless:GetCredentials` operation is required.
403
+ #
404
+ # * When connecting to a cluster as an IAM identity, specify the
405
+ # cluster identifier and the database name. The database user name
406
+ # is derived from the IAM identity. For example,
407
+ # `arn:iam::123456789012:user:foo` has the database user name
408
+ # `IAM:foo`. Also, permission to call the
409
+ # `redshift:GetClusterCredentialsWithIAM` operation is required.
410
+ #
411
+ # * When connecting to a cluster as a database user, specify the
412
+ # cluster identifier, the database name, and the database user name.
413
+ # Also, permission to call the `redshift:GetClusterCredentials`
414
+ # operation is required.
398
415
  #
399
416
  # For more information about the Amazon Redshift Data API and CLI usage
400
417
  # examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
@@ -422,7 +439,8 @@ module Aws::RedshiftDataAPIService
422
439
  #
423
440
  # @option params [String] :db_user
424
441
  # The database user name. This parameter is required when connecting to
425
- # a cluster and authenticating using temporary credentials.
442
+ # a cluster as a database user and authenticating using temporary
443
+ # credentials.
426
444
  #
427
445
  # @option params [String] :secret_arn
428
446
  # The name or ARN of the secret that enables access to the database.
@@ -444,9 +462,9 @@ module Aws::RedshiftDataAPIService
444
462
  # EventBridge event bus after the SQL statements run.
445
463
  #
446
464
  # @option params [String] :workgroup_name
447
- # The serverless workgroup name. This parameter is required when
448
- # connecting to a serverless workgroup and authenticating using either
449
- # Secrets Manager or temporary credentials.
465
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
466
+ # parameter is required when connecting to a serverless workgroup and
467
+ # authenticating using either Secrets Manager or temporary credentials.
450
468
  #
451
469
  # @return [Types::BatchExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
452
470
  #
@@ -629,18 +647,35 @@ module Aws::RedshiftDataAPIService
629
647
  # page through the column list. Depending on the authorization method,
630
648
  # use one of the following combinations of request parameters:
631
649
  #
632
- # * Secrets Manager - when connecting to a cluster, specify the Amazon
633
- # Resource Name (ARN) of the secret, the database name, and the
634
- # cluster identifier that matches the cluster in the secret. When
635
- # connecting to a serverless workgroup, specify the Amazon Resource
636
- # Name (ARN) of the secret and the database name.
637
- #
638
- # * Temporary credentials - when connecting to a cluster, specify the
639
- # cluster identifier, the database name, and the database user name.
640
- # Also, permission to call the `redshift:GetClusterCredentials`
641
- # operation is required. When connecting to a serverless workgroup,
642
- # specify the workgroup name and database name. Also, permission to
643
- # call the `redshift-serverless:GetCredentials` operation is required.
650
+ # * Secrets Manager - when connecting to a cluster, provide the
651
+ # `secret-arn` of a secret stored in Secrets Manager which has
652
+ # `username` and `password`. The specified secret contains credentials
653
+ # to connect to the `database` you specify. When you are connecting to
654
+ # a cluster, you also supply the database name, If you provide a
655
+ # cluster identifier (`dbClusterIdentifier`), it must match the
656
+ # cluster identifier stored in the secret. When you are connecting to
657
+ # a serverless workgroup, you also supply the database name.
658
+ #
659
+ # * Temporary credentials - when connecting to your data warehouse,
660
+ # choose one of the following options:
661
+ #
662
+ # * When connecting to a serverless workgroup, specify the workgroup
663
+ # name and database name. The database user name is derived from the
664
+ # IAM identity. For example, `arn:iam::123456789012:user:foo` has
665
+ # the database user name `IAM:foo`. Also, permission to call the
666
+ # `redshift-serverless:GetCredentials` operation is required.
667
+ #
668
+ # * When connecting to a cluster as an IAM identity, specify the
669
+ # cluster identifier and the database name. The database user name
670
+ # is derived from the IAM identity. For example,
671
+ # `arn:iam::123456789012:user:foo` has the database user name
672
+ # `IAM:foo`. Also, permission to call the
673
+ # `redshift:GetClusterCredentialsWithIAM` operation is required.
674
+ #
675
+ # * When connecting to a cluster as a database user, specify the
676
+ # cluster identifier, the database name, and the database user name.
677
+ # Also, permission to call the `redshift:GetClusterCredentials`
678
+ # operation is required.
644
679
  #
645
680
  # For more information about the Amazon Redshift Data API and CLI usage
646
681
  # examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
@@ -666,7 +701,8 @@ module Aws::RedshiftDataAPIService
666
701
  #
667
702
  # @option params [String] :db_user
668
703
  # The database user name. This parameter is required when connecting to
669
- # a cluster and authenticating using temporary credentials.
704
+ # a cluster as a database user and authenticating using temporary
705
+ # credentials.
670
706
  #
671
707
  # @option params [Integer] :max_results
672
708
  # The maximum number of tables to return in the response. If more tables
@@ -695,9 +731,9 @@ module Aws::RedshiftDataAPIService
695
731
  # then all tables for all schemas in the database are returned
696
732
  #
697
733
  # @option params [String] :workgroup_name
698
- # The serverless workgroup name. This parameter is required when
699
- # connecting to a serverless workgroup and authenticating using either
700
- # Secrets Manager or temporary credentials.
734
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
735
+ # parameter is required when connecting to a serverless workgroup and
736
+ # authenticating using either Secrets Manager or temporary credentials.
701
737
  #
702
738
  # @return [Types::DescribeTableResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
703
739
  #
@@ -755,18 +791,35 @@ module Aws::RedshiftDataAPIService
755
791
  # statement. Depending on the authorization method, use one of the
756
792
  # following combinations of request parameters:
757
793
  #
758
- # * Secrets Manager - when connecting to a cluster, specify the Amazon
759
- # Resource Name (ARN) of the secret, the database name, and the
760
- # cluster identifier that matches the cluster in the secret. When
761
- # connecting to a serverless workgroup, specify the Amazon Resource
762
- # Name (ARN) of the secret and the database name.
763
- #
764
- # * Temporary credentials - when connecting to a cluster, specify the
765
- # cluster identifier, the database name, and the database user name.
766
- # Also, permission to call the `redshift:GetClusterCredentials`
767
- # operation is required. When connecting to a serverless workgroup,
768
- # specify the workgroup name and database name. Also, permission to
769
- # call the `redshift-serverless:GetCredentials` operation is required.
794
+ # * Secrets Manager - when connecting to a cluster, provide the
795
+ # `secret-arn` of a secret stored in Secrets Manager which has
796
+ # `username` and `password`. The specified secret contains credentials
797
+ # to connect to the `database` you specify. When you are connecting to
798
+ # a cluster, you also supply the database name, If you provide a
799
+ # cluster identifier (`dbClusterIdentifier`), it must match the
800
+ # cluster identifier stored in the secret. When you are connecting to
801
+ # a serverless workgroup, you also supply the database name.
802
+ #
803
+ # * Temporary credentials - when connecting to your data warehouse,
804
+ # choose one of the following options:
805
+ #
806
+ # * When connecting to a serverless workgroup, specify the workgroup
807
+ # name and database name. The database user name is derived from the
808
+ # IAM identity. For example, `arn:iam::123456789012:user:foo` has
809
+ # the database user name `IAM:foo`. Also, permission to call the
810
+ # `redshift-serverless:GetCredentials` operation is required.
811
+ #
812
+ # * When connecting to a cluster as an IAM identity, specify the
813
+ # cluster identifier and the database name. The database user name
814
+ # is derived from the IAM identity. For example,
815
+ # `arn:iam::123456789012:user:foo` has the database user name
816
+ # `IAM:foo`. Also, permission to call the
817
+ # `redshift:GetClusterCredentialsWithIAM` operation is required.
818
+ #
819
+ # * When connecting to a cluster as a database user, specify the
820
+ # cluster identifier, the database name, and the database user name.
821
+ # Also, permission to call the `redshift:GetClusterCredentials`
822
+ # operation is required.
770
823
  #
771
824
  # For more information about the Amazon Redshift Data API and CLI usage
772
825
  # examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
@@ -794,7 +847,8 @@ module Aws::RedshiftDataAPIService
794
847
  #
795
848
  # @option params [String] :db_user
796
849
  # The database user name. This parameter is required when connecting to
797
- # a cluster and authenticating using temporary credentials.
850
+ # a cluster as a database user and authenticating using temporary
851
+ # credentials.
798
852
  #
799
853
  # @option params [Array<Types::SqlParameter>] :parameters
800
854
  # The parameters for the SQL statement.
@@ -815,9 +869,9 @@ module Aws::RedshiftDataAPIService
815
869
  # EventBridge event bus after the SQL statement runs.
816
870
  #
817
871
  # @option params [String] :workgroup_name
818
- # The serverless workgroup name. This parameter is required when
819
- # connecting to a serverless workgroup and authenticating using either
820
- # Secrets Manager or temporary credentials.
872
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
873
+ # parameter is required when connecting to a serverless workgroup and
874
+ # authenticating using either Secrets Manager or temporary credentials.
821
875
  #
822
876
  # @return [Types::ExecuteStatementOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
823
877
  #
@@ -952,18 +1006,35 @@ module Aws::RedshiftDataAPIService
952
1006
  # the database list. Depending on the authorization method, use one of
953
1007
  # the following combinations of request parameters:
954
1008
  #
955
- # * Secrets Manager - when connecting to a cluster, specify the Amazon
956
- # Resource Name (ARN) of the secret, the database name, and the
957
- # cluster identifier that matches the cluster in the secret. When
958
- # connecting to a serverless workgroup, specify the Amazon Resource
959
- # Name (ARN) of the secret and the database name.
960
- #
961
- # * Temporary credentials - when connecting to a cluster, specify the
962
- # cluster identifier, the database name, and the database user name.
963
- # Also, permission to call the `redshift:GetClusterCredentials`
964
- # operation is required. When connecting to a serverless workgroup,
965
- # specify the workgroup name and database name. Also, permission to
966
- # call the `redshift-serverless:GetCredentials` operation is required.
1009
+ # * Secrets Manager - when connecting to a cluster, provide the
1010
+ # `secret-arn` of a secret stored in Secrets Manager which has
1011
+ # `username` and `password`. The specified secret contains credentials
1012
+ # to connect to the `database` you specify. When you are connecting to
1013
+ # a cluster, you also supply the database name, If you provide a
1014
+ # cluster identifier (`dbClusterIdentifier`), it must match the
1015
+ # cluster identifier stored in the secret. When you are connecting to
1016
+ # a serverless workgroup, you also supply the database name.
1017
+ #
1018
+ # * Temporary credentials - when connecting to your data warehouse,
1019
+ # choose one of the following options:
1020
+ #
1021
+ # * When connecting to a serverless workgroup, specify the workgroup
1022
+ # name and database name. The database user name is derived from the
1023
+ # IAM identity. For example, `arn:iam::123456789012:user:foo` has
1024
+ # the database user name `IAM:foo`. Also, permission to call the
1025
+ # `redshift-serverless:GetCredentials` operation is required.
1026
+ #
1027
+ # * When connecting to a cluster as an IAM identity, specify the
1028
+ # cluster identifier and the database name. The database user name
1029
+ # is derived from the IAM identity. For example,
1030
+ # `arn:iam::123456789012:user:foo` has the database user name
1031
+ # `IAM:foo`. Also, permission to call the
1032
+ # `redshift:GetClusterCredentialsWithIAM` operation is required.
1033
+ #
1034
+ # * When connecting to a cluster as a database user, specify the
1035
+ # cluster identifier, the database name, and the database user name.
1036
+ # Also, permission to call the `redshift:GetClusterCredentials`
1037
+ # operation is required.
967
1038
  #
968
1039
  # For more information about the Amazon Redshift Data API and CLI usage
969
1040
  # examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
@@ -984,7 +1055,8 @@ module Aws::RedshiftDataAPIService
984
1055
  #
985
1056
  # @option params [String] :db_user
986
1057
  # The database user name. This parameter is required when connecting to
987
- # a cluster and authenticating using temporary credentials.
1058
+ # a cluster as a database user and authenticating using temporary
1059
+ # credentials.
988
1060
  #
989
1061
  # @option params [Integer] :max_results
990
1062
  # The maximum number of databases to return in the response. If more
@@ -1004,9 +1076,9 @@ module Aws::RedshiftDataAPIService
1004
1076
  # This parameter is required when authenticating using Secrets Manager.
1005
1077
  #
1006
1078
  # @option params [String] :workgroup_name
1007
- # The serverless workgroup name. This parameter is required when
1008
- # connecting to a serverless workgroup and authenticating using either
1009
- # Secrets Manager or temporary credentials.
1079
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
1080
+ # parameter is required when connecting to a serverless workgroup and
1081
+ # authenticating using either Secrets Manager or temporary credentials.
1010
1082
  #
1011
1083
  # @return [Types::ListDatabasesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1012
1084
  #
@@ -1046,18 +1118,35 @@ module Aws::RedshiftDataAPIService
1046
1118
  # the schema list. Depending on the authorization method, use one of the
1047
1119
  # following combinations of request parameters:
1048
1120
  #
1049
- # * Secrets Manager - when connecting to a cluster, specify the Amazon
1050
- # Resource Name (ARN) of the secret, the database name, and the
1051
- # cluster identifier that matches the cluster in the secret. When
1052
- # connecting to a serverless workgroup, specify the Amazon Resource
1053
- # Name (ARN) of the secret and the database name.
1054
- #
1055
- # * Temporary credentials - when connecting to a cluster, specify the
1056
- # cluster identifier, the database name, and the database user name.
1057
- # Also, permission to call the `redshift:GetClusterCredentials`
1058
- # operation is required. When connecting to a serverless workgroup,
1059
- # specify the workgroup name and database name. Also, permission to
1060
- # call the `redshift-serverless:GetCredentials` operation is required.
1121
+ # * Secrets Manager - when connecting to a cluster, provide the
1122
+ # `secret-arn` of a secret stored in Secrets Manager which has
1123
+ # `username` and `password`. The specified secret contains credentials
1124
+ # to connect to the `database` you specify. When you are connecting to
1125
+ # a cluster, you also supply the database name, If you provide a
1126
+ # cluster identifier (`dbClusterIdentifier`), it must match the
1127
+ # cluster identifier stored in the secret. When you are connecting to
1128
+ # a serverless workgroup, you also supply the database name.
1129
+ #
1130
+ # * Temporary credentials - when connecting to your data warehouse,
1131
+ # choose one of the following options:
1132
+ #
1133
+ # * When connecting to a serverless workgroup, specify the workgroup
1134
+ # name and database name. The database user name is derived from the
1135
+ # IAM identity. For example, `arn:iam::123456789012:user:foo` has
1136
+ # the database user name `IAM:foo`. Also, permission to call the
1137
+ # `redshift-serverless:GetCredentials` operation is required.
1138
+ #
1139
+ # * When connecting to a cluster as an IAM identity, specify the
1140
+ # cluster identifier and the database name. The database user name
1141
+ # is derived from the IAM identity. For example,
1142
+ # `arn:iam::123456789012:user:foo` has the database user name
1143
+ # `IAM:foo`. Also, permission to call the
1144
+ # `redshift:GetClusterCredentialsWithIAM` operation is required.
1145
+ #
1146
+ # * When connecting to a cluster as a database user, specify the
1147
+ # cluster identifier, the database name, and the database user name.
1148
+ # Also, permission to call the `redshift:GetClusterCredentials`
1149
+ # operation is required.
1061
1150
  #
1062
1151
  # For more information about the Amazon Redshift Data API and CLI usage
1063
1152
  # examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
@@ -1083,7 +1172,8 @@ module Aws::RedshiftDataAPIService
1083
1172
  #
1084
1173
  # @option params [String] :db_user
1085
1174
  # The database user name. This parameter is required when connecting to
1086
- # a cluster and authenticating using temporary credentials.
1175
+ # a cluster as a database user and authenticating using temporary
1176
+ # credentials.
1087
1177
  #
1088
1178
  # @option params [Integer] :max_results
1089
1179
  # The maximum number of schemas to return in the response. If more
@@ -1109,9 +1199,9 @@ module Aws::RedshiftDataAPIService
1109
1199
  # This parameter is required when authenticating using Secrets Manager.
1110
1200
  #
1111
1201
  # @option params [String] :workgroup_name
1112
- # The serverless workgroup name. This parameter is required when
1113
- # connecting to a serverless workgroup and authenticating using either
1114
- # Secrets Manager or temporary credentials.
1202
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
1203
+ # parameter is required when connecting to a serverless workgroup and
1204
+ # authenticating using either Secrets Manager or temporary credentials.
1115
1205
  #
1116
1206
  # @return [Types::ListSchemasResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1117
1207
  #
@@ -1257,18 +1347,35 @@ module Aws::RedshiftDataAPIService
1257
1347
  # Depending on the authorization method, use one of the following
1258
1348
  # combinations of request parameters:
1259
1349
  #
1260
- # * Secrets Manager - when connecting to a cluster, specify the Amazon
1261
- # Resource Name (ARN) of the secret, the database name, and the
1262
- # cluster identifier that matches the cluster in the secret. When
1263
- # connecting to a serverless workgroup, specify the Amazon Resource
1264
- # Name (ARN) of the secret and the database name.
1265
- #
1266
- # * Temporary credentials - when connecting to a cluster, specify the
1267
- # cluster identifier, the database name, and the database user name.
1268
- # Also, permission to call the `redshift:GetClusterCredentials`
1269
- # operation is required. When connecting to a serverless workgroup,
1270
- # specify the workgroup name and database name. Also, permission to
1271
- # call the `redshift-serverless:GetCredentials` operation is required.
1350
+ # * Secrets Manager - when connecting to a cluster, provide the
1351
+ # `secret-arn` of a secret stored in Secrets Manager which has
1352
+ # `username` and `password`. The specified secret contains credentials
1353
+ # to connect to the `database` you specify. When you are connecting to
1354
+ # a cluster, you also supply the database name, If you provide a
1355
+ # cluster identifier (`dbClusterIdentifier`), it must match the
1356
+ # cluster identifier stored in the secret. When you are connecting to
1357
+ # a serverless workgroup, you also supply the database name.
1358
+ #
1359
+ # * Temporary credentials - when connecting to your data warehouse,
1360
+ # choose one of the following options:
1361
+ #
1362
+ # * When connecting to a serverless workgroup, specify the workgroup
1363
+ # name and database name. The database user name is derived from the
1364
+ # IAM identity. For example, `arn:iam::123456789012:user:foo` has
1365
+ # the database user name `IAM:foo`. Also, permission to call the
1366
+ # `redshift-serverless:GetCredentials` operation is required.
1367
+ #
1368
+ # * When connecting to a cluster as an IAM identity, specify the
1369
+ # cluster identifier and the database name. The database user name
1370
+ # is derived from the IAM identity. For example,
1371
+ # `arn:iam::123456789012:user:foo` has the database user name
1372
+ # `IAM:foo`. Also, permission to call the
1373
+ # `redshift:GetClusterCredentialsWithIAM` operation is required.
1374
+ #
1375
+ # * When connecting to a cluster as a database user, specify the
1376
+ # cluster identifier, the database name, and the database user name.
1377
+ # Also, permission to call the `redshift:GetClusterCredentials`
1378
+ # operation is required.
1272
1379
  #
1273
1380
  # For more information about the Amazon Redshift Data API and CLI usage
1274
1381
  # examples, see [Using the Amazon Redshift Data API][1] in the *Amazon
@@ -1294,7 +1401,8 @@ module Aws::RedshiftDataAPIService
1294
1401
  #
1295
1402
  # @option params [String] :db_user
1296
1403
  # The database user name. This parameter is required when connecting to
1297
- # a cluster and authenticating using temporary credentials.
1404
+ # a cluster as a database user and authenticating using temporary
1405
+ # credentials.
1298
1406
  #
1299
1407
  # @option params [Integer] :max_results
1300
1408
  # The maximum number of tables to return in the response. If more tables
@@ -1332,9 +1440,9 @@ module Aws::RedshiftDataAPIService
1332
1440
  # returned.
1333
1441
  #
1334
1442
  # @option params [String] :workgroup_name
1335
- # The serverless workgroup name. This parameter is required when
1336
- # connecting to a serverless workgroup and authenticating using either
1337
- # Secrets Manager or temporary credentials.
1443
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
1444
+ # parameter is required when connecting to a serverless workgroup and
1445
+ # authenticating using either Secrets Manager or temporary credentials.
1338
1446
  #
1339
1447
  # @return [Types::ListTablesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1340
1448
  #
@@ -1388,7 +1496,7 @@ module Aws::RedshiftDataAPIService
1388
1496
  params: params,
1389
1497
  config: config)
1390
1498
  context[:gem_name] = 'aws-sdk-redshiftdataapiservice'
1391
- context[:gem_version] = '1.24.0'
1499
+ context[:gem_version] = '1.26.0'
1392
1500
  Seahorse::Client::Request.new(handlers, context)
1393
1501
  end
1394
1502
 
@@ -14,36 +14,39 @@ module Aws::RedshiftDataAPIService
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://redshift-data-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://redshift-data-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://redshift-data.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://redshift-data-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://redshift-data-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://redshift-data.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://redshift-data.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://redshift-data.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -63,7 +63,8 @@ module Aws::RedshiftDataAPIService
63
63
  #
64
64
  # @!attribute [rw] db_user
65
65
  # The database user name. This parameter is required when connecting
66
- # to a cluster and authenticating using temporary credentials.
66
+ # to a cluster as a database user and authenticating using temporary
67
+ # credentials.
67
68
  # @return [String]
68
69
  #
69
70
  # @!attribute [rw] secret_arn
@@ -92,9 +93,10 @@ module Aws::RedshiftDataAPIService
92
93
  # @return [Boolean]
93
94
  #
94
95
  # @!attribute [rw] workgroup_name
95
- # The serverless workgroup name. This parameter is required when
96
- # connecting to a serverless workgroup and authenticating using either
97
- # Secrets Manager or temporary credentials.
96
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
97
+ # parameter is required when connecting to a serverless workgroup and
98
+ # authenticating using either Secrets Manager or temporary
99
+ # credentials.
98
100
  # @return [String]
99
101
  #
100
102
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/BatchExecuteStatementInput AWS API Documentation
@@ -142,8 +144,8 @@ module Aws::RedshiftDataAPIService
142
144
  # @return [String]
143
145
  #
144
146
  # @!attribute [rw] workgroup_name
145
- # The serverless workgroup name. This element is not returned when
146
- # connecting to a provisioned cluster.
147
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
148
+ # element is not returned when connecting to a provisioned cluster.
147
149
  # @return [String]
148
150
  #
149
151
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/BatchExecuteStatementOutput AWS API Documentation
@@ -397,7 +399,7 @@ module Aws::RedshiftDataAPIService
397
399
  # @return [Time]
398
400
  #
399
401
  # @!attribute [rw] workgroup_name
400
- # The serverless workgroup name.
402
+ # The serverless workgroup name or Amazon Resource Name (ARN).
401
403
  # @return [String]
402
404
  #
403
405
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DescribeStatementResponse AWS API Documentation
@@ -445,7 +447,8 @@ module Aws::RedshiftDataAPIService
445
447
  #
446
448
  # @!attribute [rw] db_user
447
449
  # The database user name. This parameter is required when connecting
448
- # to a cluster and authenticating using temporary credentials.
450
+ # to a cluster as a database user and authenticating using temporary
451
+ # credentials.
449
452
  # @return [String]
450
453
  #
451
454
  # @!attribute [rw] max_results
@@ -482,9 +485,10 @@ module Aws::RedshiftDataAPIService
482
485
  # @return [String]
483
486
  #
484
487
  # @!attribute [rw] workgroup_name
485
- # The serverless workgroup name. This parameter is required when
486
- # connecting to a serverless workgroup and authenticating using either
487
- # Secrets Manager or temporary credentials.
488
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
489
+ # parameter is required when connecting to a serverless workgroup and
490
+ # authenticating using either Secrets Manager or temporary
491
+ # credentials.
488
492
  # @return [String]
489
493
  #
490
494
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/DescribeTableRequest AWS API Documentation
@@ -572,7 +576,8 @@ module Aws::RedshiftDataAPIService
572
576
  #
573
577
  # @!attribute [rw] db_user
574
578
  # The database user name. This parameter is required when connecting
575
- # to a cluster and authenticating using temporary credentials.
579
+ # to a cluster as a database user and authenticating using temporary
580
+ # credentials.
576
581
  # @return [String]
577
582
  #
578
583
  # @!attribute [rw] parameters
@@ -600,9 +605,10 @@ module Aws::RedshiftDataAPIService
600
605
  # @return [Boolean]
601
606
  #
602
607
  # @!attribute [rw] workgroup_name
603
- # The serverless workgroup name. This parameter is required when
604
- # connecting to a serverless workgroup and authenticating using either
605
- # Secrets Manager or temporary credentials.
608
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
609
+ # parameter is required when connecting to a serverless workgroup and
610
+ # authenticating using either Secrets Manager or temporary
611
+ # credentials.
606
612
  # @return [String]
607
613
  #
608
614
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ExecuteStatementInput AWS API Documentation
@@ -650,8 +656,8 @@ module Aws::RedshiftDataAPIService
650
656
  # @return [String]
651
657
  #
652
658
  # @!attribute [rw] workgroup_name
653
- # The serverless workgroup name. This element is not returned when
654
- # connecting to a provisioned cluster.
659
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
660
+ # element is not returned when connecting to a provisioned cluster.
655
661
  # @return [String]
656
662
  #
657
663
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ExecuteStatementOutput AWS API Documentation
@@ -809,7 +815,8 @@ module Aws::RedshiftDataAPIService
809
815
  #
810
816
  # @!attribute [rw] db_user
811
817
  # The database user name. This parameter is required when connecting
812
- # to a cluster and authenticating using temporary credentials.
818
+ # to a cluster as a database user and authenticating using temporary
819
+ # credentials.
813
820
  # @return [String]
814
821
  #
815
822
  # @!attribute [rw] max_results
@@ -834,9 +841,10 @@ module Aws::RedshiftDataAPIService
834
841
  # @return [String]
835
842
  #
836
843
  # @!attribute [rw] workgroup_name
837
- # The serverless workgroup name. This parameter is required when
838
- # connecting to a serverless workgroup and authenticating using either
839
- # Secrets Manager or temporary credentials.
844
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
845
+ # parameter is required when connecting to a serverless workgroup and
846
+ # authenticating using either Secrets Manager or temporary
847
+ # credentials.
840
848
  # @return [String]
841
849
  #
842
850
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListDatabasesRequest AWS API Documentation
@@ -894,7 +902,8 @@ module Aws::RedshiftDataAPIService
894
902
  #
895
903
  # @!attribute [rw] db_user
896
904
  # The database user name. This parameter is required when connecting
897
- # to a cluster and authenticating using temporary credentials.
905
+ # to a cluster as a database user and authenticating using temporary
906
+ # credentials.
898
907
  # @return [String]
899
908
  #
900
909
  # @!attribute [rw] max_results
@@ -926,9 +935,10 @@ module Aws::RedshiftDataAPIService
926
935
  # @return [String]
927
936
  #
928
937
  # @!attribute [rw] workgroup_name
929
- # The serverless workgroup name. This parameter is required when
930
- # connecting to a serverless workgroup and authenticating using either
931
- # Secrets Manager or temporary credentials.
938
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
939
+ # parameter is required when connecting to a serverless workgroup and
940
+ # authenticating using either Secrets Manager or temporary
941
+ # credentials.
932
942
  # @return [String]
933
943
  #
934
944
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListSchemasRequest AWS API Documentation
@@ -1074,7 +1084,8 @@ module Aws::RedshiftDataAPIService
1074
1084
  #
1075
1085
  # @!attribute [rw] db_user
1076
1086
  # The database user name. This parameter is required when connecting
1077
- # to a cluster and authenticating using temporary credentials.
1087
+ # to a cluster as a database user and authenticating using temporary
1088
+ # credentials.
1078
1089
  # @return [String]
1079
1090
  #
1080
1091
  # @!attribute [rw] max_results
@@ -1119,9 +1130,10 @@ module Aws::RedshiftDataAPIService
1119
1130
  # @return [String]
1120
1131
  #
1121
1132
  # @!attribute [rw] workgroup_name
1122
- # The serverless workgroup name. This parameter is required when
1123
- # connecting to a serverless workgroup and authenticating using either
1124
- # Secrets Manager or temporary credentials.
1133
+ # The serverless workgroup name or Amazon Resource Name (ARN). This
1134
+ # parameter is required when connecting to a serverless workgroup and
1135
+ # authenticating using either Secrets Manager or temporary
1136
+ # credentials.
1125
1137
  # @return [String]
1126
1138
  #
1127
1139
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-data-2019-12-20/ListTablesRequest AWS API Documentation
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-redshiftdataapiservice/customizations'
52
52
  # @!group service
53
53
  module Aws::RedshiftDataAPIService
54
54
 
55
- GEM_VERSION = '1.24.0'
55
+ GEM_VERSION = '1.26.0'
56
56
 
57
57
  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.24.0
4
+ version: 1.26.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: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core