aws-sdk-redshiftserverless 1.16.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-redshiftserverless/client.rb +239 -3
- data/lib/aws-sdk-redshiftserverless/client_api.rb +154 -1
- data/lib/aws-sdk-redshiftserverless/endpoints.rb +70 -0
- data/lib/aws-sdk-redshiftserverless/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-redshiftserverless/types.rb +284 -0
- data/lib/aws-sdk-redshiftserverless.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: 1bf9b9cdb27f48f3a318d5d65c435ec56a643746d2c2e8e4c316006549f78b70
|
4
|
+
data.tar.gz: 60b8ae0428a9ecf2edc04b4c69b5ae4ae177f026513bc759c85c877d935ee60d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42fee72e3710910b50491aa49473c484a527bfaac8aa075f65c6f04f435c7ebff924a53b4d8c6fa56aec92eecee3c4093d4ddb73f2349415cfedb58c0c3c90a7
|
7
|
+
data.tar.gz: c2e884200f577d498d979565d2e3709aed27a96e095ea7e17ac29e6d7c22f4747b68020fd81405e7432e30a0d08041ff78c0e8fbcf016e8164704ce761b54c79
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.18.0 (2023-11-08)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added a new parameter in the workgroup that helps you control your cost for compute resources. This feature provides a ceiling for RPUs that Amazon Redshift Serverless can scale up to. When automatic compute scaling is required, having a higher value for MaxRPU can enhance query throughput.
|
8
|
+
|
9
|
+
1.17.0 (2023-10-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added support for custom domain names for Amazon Redshift Serverless workgroups. This feature enables customers to create a custom domain name and use ACM to generate fully secure connections to it.
|
13
|
+
|
4
14
|
1.16.0 (2023-10-23)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.0
|
@@ -476,6 +476,48 @@ module Aws::RedshiftServerless
|
|
476
476
|
req.send_request(options)
|
477
477
|
end
|
478
478
|
|
479
|
+
# Creates a custom domain association for Amazon Redshift Serverless.
|
480
|
+
#
|
481
|
+
# @option params [required, String] :custom_domain_certificate_arn
|
482
|
+
# The custom domain name’s certificate Amazon resource name (ARN).
|
483
|
+
#
|
484
|
+
# @option params [required, String] :custom_domain_name
|
485
|
+
# The custom domain name to associate with the workgroup.
|
486
|
+
#
|
487
|
+
# @option params [required, String] :workgroup_name
|
488
|
+
# The name of the workgroup associated with the database.
|
489
|
+
#
|
490
|
+
# @return [Types::CreateCustomDomainAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
491
|
+
#
|
492
|
+
# * {Types::CreateCustomDomainAssociationResponse#custom_domain_certificate_arn #custom_domain_certificate_arn} => String
|
493
|
+
# * {Types::CreateCustomDomainAssociationResponse#custom_domain_certificate_expiry_time #custom_domain_certificate_expiry_time} => Time
|
494
|
+
# * {Types::CreateCustomDomainAssociationResponse#custom_domain_name #custom_domain_name} => String
|
495
|
+
# * {Types::CreateCustomDomainAssociationResponse#workgroup_name #workgroup_name} => String
|
496
|
+
#
|
497
|
+
# @example Request syntax with placeholder values
|
498
|
+
#
|
499
|
+
# resp = client.create_custom_domain_association({
|
500
|
+
# custom_domain_certificate_arn: "CustomDomainCertificateArnString", # required
|
501
|
+
# custom_domain_name: "CustomDomainName", # required
|
502
|
+
# workgroup_name: "WorkgroupName", # required
|
503
|
+
# })
|
504
|
+
#
|
505
|
+
# @example Response structure
|
506
|
+
#
|
507
|
+
# resp.custom_domain_certificate_arn #=> String
|
508
|
+
# resp.custom_domain_certificate_expiry_time #=> Time
|
509
|
+
# resp.custom_domain_name #=> String
|
510
|
+
# resp.workgroup_name #=> String
|
511
|
+
#
|
512
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateCustomDomainAssociation AWS API Documentation
|
513
|
+
#
|
514
|
+
# @overload create_custom_domain_association(params = {})
|
515
|
+
# @param [Hash] params ({})
|
516
|
+
def create_custom_domain_association(params = {}, options = {})
|
517
|
+
req = build_request(:create_custom_domain_association, params)
|
518
|
+
req.send_request(options)
|
519
|
+
end
|
520
|
+
|
479
521
|
# Creates an Amazon Redshift Serverless managed VPC endpoint.
|
480
522
|
#
|
481
523
|
# @option params [required, String] :endpoint_name
|
@@ -801,6 +843,10 @@ module Aws::RedshiftServerless
|
|
801
843
|
# cloud (VPC) routing, which forces Amazon Redshift Serverless to route
|
802
844
|
# traffic through your VPC instead of over the internet.
|
803
845
|
#
|
846
|
+
# @option params [Integer] :max_capacity
|
847
|
+
# The maximum data-warehouse capacity Amazon Redshift Serverless uses to
|
848
|
+
# serve queries. The max capacity is specified in RPUs.
|
849
|
+
#
|
804
850
|
# @option params [required, String] :namespace_name
|
805
851
|
# The name of the namespace to associate with the workgroup.
|
806
852
|
#
|
@@ -839,6 +885,7 @@ module Aws::RedshiftServerless
|
|
839
885
|
# },
|
840
886
|
# ],
|
841
887
|
# enhanced_vpc_routing: false,
|
888
|
+
# max_capacity: 1,
|
842
889
|
# namespace_name: "NamespaceName", # required
|
843
890
|
# port: 1,
|
844
891
|
# publicly_accessible: false,
|
@@ -860,6 +907,9 @@ module Aws::RedshiftServerless
|
|
860
907
|
# resp.workgroup.config_parameters[0].parameter_key #=> String
|
861
908
|
# resp.workgroup.config_parameters[0].parameter_value #=> String
|
862
909
|
# resp.workgroup.creation_date #=> Time
|
910
|
+
# resp.workgroup.custom_domain_certificate_arn #=> String
|
911
|
+
# resp.workgroup.custom_domain_certificate_expiry_time #=> Time
|
912
|
+
# resp.workgroup.custom_domain_name #=> String
|
863
913
|
# resp.workgroup.endpoint.address #=> String
|
864
914
|
# resp.workgroup.endpoint.port #=> Integer
|
865
915
|
# resp.workgroup.endpoint.vpc_endpoints #=> Array
|
@@ -871,6 +921,7 @@ module Aws::RedshiftServerless
|
|
871
921
|
# resp.workgroup.endpoint.vpc_endpoints[0].vpc_endpoint_id #=> String
|
872
922
|
# resp.workgroup.endpoint.vpc_endpoints[0].vpc_id #=> String
|
873
923
|
# resp.workgroup.enhanced_vpc_routing #=> Boolean
|
924
|
+
# resp.workgroup.max_capacity #=> Integer
|
874
925
|
# resp.workgroup.namespace_name #=> String
|
875
926
|
# resp.workgroup.patch_version #=> String
|
876
927
|
# resp.workgroup.port #=> Integer
|
@@ -894,6 +945,32 @@ module Aws::RedshiftServerless
|
|
894
945
|
req.send_request(options)
|
895
946
|
end
|
896
947
|
|
948
|
+
# Deletes a custom domain association for Amazon Redshift Serverless.
|
949
|
+
#
|
950
|
+
# @option params [required, String] :custom_domain_name
|
951
|
+
# The custom domain name associated with the workgroup.
|
952
|
+
#
|
953
|
+
# @option params [required, String] :workgroup_name
|
954
|
+
# The name of the workgroup associated with the database.
|
955
|
+
#
|
956
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
957
|
+
#
|
958
|
+
# @example Request syntax with placeholder values
|
959
|
+
#
|
960
|
+
# resp = client.delete_custom_domain_association({
|
961
|
+
# custom_domain_name: "CustomDomainName", # required
|
962
|
+
# workgroup_name: "WorkgroupName", # required
|
963
|
+
# })
|
964
|
+
#
|
965
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteCustomDomainAssociation AWS API Documentation
|
966
|
+
#
|
967
|
+
# @overload delete_custom_domain_association(params = {})
|
968
|
+
# @param [Hash] params ({})
|
969
|
+
def delete_custom_domain_association(params = {}, options = {})
|
970
|
+
req = build_request(:delete_custom_domain_association, params)
|
971
|
+
req.send_request(options)
|
972
|
+
end
|
973
|
+
|
897
974
|
# Deletes an Amazon Redshift Serverless managed VPC endpoint.
|
898
975
|
#
|
899
976
|
# @option params [required, String] :endpoint_name
|
@@ -1122,6 +1199,9 @@ module Aws::RedshiftServerless
|
|
1122
1199
|
# resp.workgroup.config_parameters[0].parameter_key #=> String
|
1123
1200
|
# resp.workgroup.config_parameters[0].parameter_value #=> String
|
1124
1201
|
# resp.workgroup.creation_date #=> Time
|
1202
|
+
# resp.workgroup.custom_domain_certificate_arn #=> String
|
1203
|
+
# resp.workgroup.custom_domain_certificate_expiry_time #=> Time
|
1204
|
+
# resp.workgroup.custom_domain_name #=> String
|
1125
1205
|
# resp.workgroup.endpoint.address #=> String
|
1126
1206
|
# resp.workgroup.endpoint.port #=> Integer
|
1127
1207
|
# resp.workgroup.endpoint.vpc_endpoints #=> Array
|
@@ -1133,6 +1213,7 @@ module Aws::RedshiftServerless
|
|
1133
1213
|
# resp.workgroup.endpoint.vpc_endpoints[0].vpc_endpoint_id #=> String
|
1134
1214
|
# resp.workgroup.endpoint.vpc_endpoints[0].vpc_id #=> String
|
1135
1215
|
# resp.workgroup.enhanced_vpc_routing #=> Boolean
|
1216
|
+
# resp.workgroup.max_capacity #=> Integer
|
1136
1217
|
# resp.workgroup.namespace_name #=> String
|
1137
1218
|
# resp.workgroup.patch_version #=> String
|
1138
1219
|
# resp.workgroup.port #=> Integer
|
@@ -1165,6 +1246,10 @@ module Aws::RedshiftServerless
|
|
1165
1246
|
#
|
1166
1247
|
# <p>The Identity and Access Management (IAM) user or role that runs GetCredentials must have an IAM policy attached that allows access to all necessary actions and resources.</p> <p>If the <code>DbName</code> parameter is specified, the IAM policy must allow access to the resource dbname for the specified database name.</p>
|
1167
1248
|
#
|
1249
|
+
# @option params [String] :custom_domain_name
|
1250
|
+
# The custom domain name associated with the workgroup. The custom
|
1251
|
+
# domain name or the workgroup name must be included in the request.
|
1252
|
+
#
|
1168
1253
|
# @option params [String] :db_name
|
1169
1254
|
# The name of the database to get temporary authorization to log on to.
|
1170
1255
|
#
|
@@ -1190,7 +1275,7 @@ module Aws::RedshiftServerless
|
|
1190
1275
|
# The number of seconds until the returned temporary password expires.
|
1191
1276
|
# The minimum is 900 seconds, and the maximum is 3600 seconds.
|
1192
1277
|
#
|
1193
|
-
# @option params [
|
1278
|
+
# @option params [String] :workgroup_name
|
1194
1279
|
# The name of the workgroup associated with the database.
|
1195
1280
|
#
|
1196
1281
|
# @return [Types::GetCredentialsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -1203,9 +1288,10 @@ module Aws::RedshiftServerless
|
|
1203
1288
|
# @example Request syntax with placeholder values
|
1204
1289
|
#
|
1205
1290
|
# resp = client.get_credentials({
|
1291
|
+
# custom_domain_name: "CustomDomainName",
|
1206
1292
|
# db_name: "DbName",
|
1207
1293
|
# duration_seconds: 1,
|
1208
|
-
# workgroup_name: "WorkgroupName",
|
1294
|
+
# workgroup_name: "WorkgroupName",
|
1209
1295
|
# })
|
1210
1296
|
#
|
1211
1297
|
# @example Response structure
|
@@ -1224,6 +1310,44 @@ module Aws::RedshiftServerless
|
|
1224
1310
|
req.send_request(options)
|
1225
1311
|
end
|
1226
1312
|
|
1313
|
+
# Gets information about a specific custom domain association.
|
1314
|
+
#
|
1315
|
+
# @option params [required, String] :custom_domain_name
|
1316
|
+
# The custom domain name associated with the workgroup.
|
1317
|
+
#
|
1318
|
+
# @option params [required, String] :workgroup_name
|
1319
|
+
# The name of the workgroup associated with the database.
|
1320
|
+
#
|
1321
|
+
# @return [Types::GetCustomDomainAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1322
|
+
#
|
1323
|
+
# * {Types::GetCustomDomainAssociationResponse#custom_domain_certificate_arn #custom_domain_certificate_arn} => String
|
1324
|
+
# * {Types::GetCustomDomainAssociationResponse#custom_domain_certificate_expiry_time #custom_domain_certificate_expiry_time} => Time
|
1325
|
+
# * {Types::GetCustomDomainAssociationResponse#custom_domain_name #custom_domain_name} => String
|
1326
|
+
# * {Types::GetCustomDomainAssociationResponse#workgroup_name #workgroup_name} => String
|
1327
|
+
#
|
1328
|
+
# @example Request syntax with placeholder values
|
1329
|
+
#
|
1330
|
+
# resp = client.get_custom_domain_association({
|
1331
|
+
# custom_domain_name: "CustomDomainName", # required
|
1332
|
+
# workgroup_name: "WorkgroupName", # required
|
1333
|
+
# })
|
1334
|
+
#
|
1335
|
+
# @example Response structure
|
1336
|
+
#
|
1337
|
+
# resp.custom_domain_certificate_arn #=> String
|
1338
|
+
# resp.custom_domain_certificate_expiry_time #=> Time
|
1339
|
+
# resp.custom_domain_name #=> String
|
1340
|
+
# resp.workgroup_name #=> String
|
1341
|
+
#
|
1342
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetCustomDomainAssociation AWS API Documentation
|
1343
|
+
#
|
1344
|
+
# @overload get_custom_domain_association(params = {})
|
1345
|
+
# @param [Hash] params ({})
|
1346
|
+
def get_custom_domain_association(params = {}, options = {})
|
1347
|
+
req = build_request(:get_custom_domain_association, params)
|
1348
|
+
req.send_request(options)
|
1349
|
+
end
|
1350
|
+
|
1227
1351
|
# Returns information, such as the name, about a VPC endpoint.
|
1228
1352
|
#
|
1229
1353
|
# @option params [required, String] :endpoint_name
|
@@ -1532,6 +1656,9 @@ module Aws::RedshiftServerless
|
|
1532
1656
|
# resp.workgroup.config_parameters[0].parameter_key #=> String
|
1533
1657
|
# resp.workgroup.config_parameters[0].parameter_value #=> String
|
1534
1658
|
# resp.workgroup.creation_date #=> Time
|
1659
|
+
# resp.workgroup.custom_domain_certificate_arn #=> String
|
1660
|
+
# resp.workgroup.custom_domain_certificate_expiry_time #=> Time
|
1661
|
+
# resp.workgroup.custom_domain_name #=> String
|
1535
1662
|
# resp.workgroup.endpoint.address #=> String
|
1536
1663
|
# resp.workgroup.endpoint.port #=> Integer
|
1537
1664
|
# resp.workgroup.endpoint.vpc_endpoints #=> Array
|
@@ -1543,6 +1670,7 @@ module Aws::RedshiftServerless
|
|
1543
1670
|
# resp.workgroup.endpoint.vpc_endpoints[0].vpc_endpoint_id #=> String
|
1544
1671
|
# resp.workgroup.endpoint.vpc_endpoints[0].vpc_id #=> String
|
1545
1672
|
# resp.workgroup.enhanced_vpc_routing #=> Boolean
|
1673
|
+
# resp.workgroup.max_capacity #=> Integer
|
1546
1674
|
# resp.workgroup.namespace_name #=> String
|
1547
1675
|
# resp.workgroup.patch_version #=> String
|
1548
1676
|
# resp.workgroup.port #=> Integer
|
@@ -1566,6 +1694,57 @@ module Aws::RedshiftServerless
|
|
1566
1694
|
req.send_request(options)
|
1567
1695
|
end
|
1568
1696
|
|
1697
|
+
# Lists custom domain associations for Amazon Redshift Serverless.
|
1698
|
+
#
|
1699
|
+
# @option params [String] :custom_domain_certificate_arn
|
1700
|
+
# The custom domain name’s certificate Amazon resource name (ARN).
|
1701
|
+
#
|
1702
|
+
# @option params [String] :custom_domain_name
|
1703
|
+
# The custom domain name associated with the workgroup.
|
1704
|
+
#
|
1705
|
+
# @option params [Integer] :max_results
|
1706
|
+
# An optional parameter that specifies the maximum number of results to
|
1707
|
+
# return. You can use `nextToken` to display the next page of results.
|
1708
|
+
#
|
1709
|
+
# @option params [String] :next_token
|
1710
|
+
# When `nextToken` is returned, there are more results available. The
|
1711
|
+
# value of `nextToken` is a unique pagination token for each page. Make
|
1712
|
+
# the call again using the returned token to retrieve the next page.
|
1713
|
+
#
|
1714
|
+
# @return [Types::ListCustomDomainAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1715
|
+
#
|
1716
|
+
# * {Types::ListCustomDomainAssociationsResponse#associations #associations} => Array<Types::Association>
|
1717
|
+
# * {Types::ListCustomDomainAssociationsResponse#next_token #next_token} => String
|
1718
|
+
#
|
1719
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1720
|
+
#
|
1721
|
+
# @example Request syntax with placeholder values
|
1722
|
+
#
|
1723
|
+
# resp = client.list_custom_domain_associations({
|
1724
|
+
# custom_domain_certificate_arn: "CustomDomainCertificateArnString",
|
1725
|
+
# custom_domain_name: "CustomDomainName",
|
1726
|
+
# max_results: 1,
|
1727
|
+
# next_token: "PaginationToken",
|
1728
|
+
# })
|
1729
|
+
#
|
1730
|
+
# @example Response structure
|
1731
|
+
#
|
1732
|
+
# resp.associations #=> Array
|
1733
|
+
# resp.associations[0].custom_domain_certificate_arn #=> String
|
1734
|
+
# resp.associations[0].custom_domain_certificate_expiry_time #=> Time
|
1735
|
+
# resp.associations[0].custom_domain_name #=> String
|
1736
|
+
# resp.associations[0].workgroup_name #=> String
|
1737
|
+
# resp.next_token #=> String
|
1738
|
+
#
|
1739
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListCustomDomainAssociations AWS API Documentation
|
1740
|
+
#
|
1741
|
+
# @overload list_custom_domain_associations(params = {})
|
1742
|
+
# @param [Hash] params ({})
|
1743
|
+
def list_custom_domain_associations(params = {}, options = {})
|
1744
|
+
req = build_request(:list_custom_domain_associations, params)
|
1745
|
+
req.send_request(options)
|
1746
|
+
end
|
1747
|
+
|
1569
1748
|
# Returns an array of `EndpointAccess` objects and relevant information.
|
1570
1749
|
#
|
1571
1750
|
# @option params [Integer] :max_results
|
@@ -2020,6 +2199,9 @@ module Aws::RedshiftServerless
|
|
2020
2199
|
# resp.workgroups[0].config_parameters[0].parameter_key #=> String
|
2021
2200
|
# resp.workgroups[0].config_parameters[0].parameter_value #=> String
|
2022
2201
|
# resp.workgroups[0].creation_date #=> Time
|
2202
|
+
# resp.workgroups[0].custom_domain_certificate_arn #=> String
|
2203
|
+
# resp.workgroups[0].custom_domain_certificate_expiry_time #=> Time
|
2204
|
+
# resp.workgroups[0].custom_domain_name #=> String
|
2023
2205
|
# resp.workgroups[0].endpoint.address #=> String
|
2024
2206
|
# resp.workgroups[0].endpoint.port #=> Integer
|
2025
2207
|
# resp.workgroups[0].endpoint.vpc_endpoints #=> Array
|
@@ -2031,6 +2213,7 @@ module Aws::RedshiftServerless
|
|
2031
2213
|
# resp.workgroups[0].endpoint.vpc_endpoints[0].vpc_endpoint_id #=> String
|
2032
2214
|
# resp.workgroups[0].endpoint.vpc_endpoints[0].vpc_id #=> String
|
2033
2215
|
# resp.workgroups[0].enhanced_vpc_routing #=> Boolean
|
2216
|
+
# resp.workgroups[0].max_capacity #=> Integer
|
2034
2217
|
# resp.workgroups[0].namespace_name #=> String
|
2035
2218
|
# resp.workgroups[0].patch_version #=> String
|
2036
2219
|
# resp.workgroups[0].port #=> Integer
|
@@ -2372,6 +2555,50 @@ module Aws::RedshiftServerless
|
|
2372
2555
|
req.send_request(options)
|
2373
2556
|
end
|
2374
2557
|
|
2558
|
+
# Updates an Amazon Redshift Serverless certificate associated with a
|
2559
|
+
# custom domain.
|
2560
|
+
#
|
2561
|
+
# @option params [required, String] :custom_domain_certificate_arn
|
2562
|
+
# The custom domain name’s certificate Amazon resource name (ARN). This
|
2563
|
+
# is optional.
|
2564
|
+
#
|
2565
|
+
# @option params [required, String] :custom_domain_name
|
2566
|
+
# The custom domain name associated with the workgroup.
|
2567
|
+
#
|
2568
|
+
# @option params [required, String] :workgroup_name
|
2569
|
+
# The name of the workgroup associated with the database.
|
2570
|
+
#
|
2571
|
+
# @return [Types::UpdateCustomDomainAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2572
|
+
#
|
2573
|
+
# * {Types::UpdateCustomDomainAssociationResponse#custom_domain_certificate_arn #custom_domain_certificate_arn} => String
|
2574
|
+
# * {Types::UpdateCustomDomainAssociationResponse#custom_domain_certificate_expiry_time #custom_domain_certificate_expiry_time} => Time
|
2575
|
+
# * {Types::UpdateCustomDomainAssociationResponse#custom_domain_name #custom_domain_name} => String
|
2576
|
+
# * {Types::UpdateCustomDomainAssociationResponse#workgroup_name #workgroup_name} => String
|
2577
|
+
#
|
2578
|
+
# @example Request syntax with placeholder values
|
2579
|
+
#
|
2580
|
+
# resp = client.update_custom_domain_association({
|
2581
|
+
# custom_domain_certificate_arn: "CustomDomainCertificateArnString", # required
|
2582
|
+
# custom_domain_name: "CustomDomainName", # required
|
2583
|
+
# workgroup_name: "WorkgroupName", # required
|
2584
|
+
# })
|
2585
|
+
#
|
2586
|
+
# @example Response structure
|
2587
|
+
#
|
2588
|
+
# resp.custom_domain_certificate_arn #=> String
|
2589
|
+
# resp.custom_domain_certificate_expiry_time #=> Time
|
2590
|
+
# resp.custom_domain_name #=> String
|
2591
|
+
# resp.workgroup_name #=> String
|
2592
|
+
#
|
2593
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateCustomDomainAssociation AWS API Documentation
|
2594
|
+
#
|
2595
|
+
# @overload update_custom_domain_association(params = {})
|
2596
|
+
# @param [Hash] params ({})
|
2597
|
+
def update_custom_domain_association(params = {}, options = {})
|
2598
|
+
req = build_request(:update_custom_domain_association, params)
|
2599
|
+
req.send_request(options)
|
2600
|
+
end
|
2601
|
+
|
2375
2602
|
# Updates an Amazon Redshift Serverless managed endpoint.
|
2376
2603
|
#
|
2377
2604
|
# @option params [required, String] :endpoint_name
|
@@ -2648,6 +2875,10 @@ module Aws::RedshiftServerless
|
|
2648
2875
|
# cloud (VPC) routing, which forces Amazon Redshift Serverless to route
|
2649
2876
|
# traffic through your VPC.
|
2650
2877
|
#
|
2878
|
+
# @option params [Integer] :max_capacity
|
2879
|
+
# The maximum data-warehouse capacity Amazon Redshift Serverless uses to
|
2880
|
+
# serve queries. The max capacity is specified in RPUs.
|
2881
|
+
#
|
2651
2882
|
# @option params [Integer] :port
|
2652
2883
|
# The custom port to use when connecting to a workgroup. Valid port
|
2653
2884
|
# ranges are 5431-5455 and 8191-8215. The default is 5439.
|
@@ -2681,6 +2912,7 @@ module Aws::RedshiftServerless
|
|
2681
2912
|
# },
|
2682
2913
|
# ],
|
2683
2914
|
# enhanced_vpc_routing: false,
|
2915
|
+
# max_capacity: 1,
|
2684
2916
|
# port: 1,
|
2685
2917
|
# publicly_accessible: false,
|
2686
2918
|
# security_group_ids: ["SecurityGroupId"],
|
@@ -2695,6 +2927,9 @@ module Aws::RedshiftServerless
|
|
2695
2927
|
# resp.workgroup.config_parameters[0].parameter_key #=> String
|
2696
2928
|
# resp.workgroup.config_parameters[0].parameter_value #=> String
|
2697
2929
|
# resp.workgroup.creation_date #=> Time
|
2930
|
+
# resp.workgroup.custom_domain_certificate_arn #=> String
|
2931
|
+
# resp.workgroup.custom_domain_certificate_expiry_time #=> Time
|
2932
|
+
# resp.workgroup.custom_domain_name #=> String
|
2698
2933
|
# resp.workgroup.endpoint.address #=> String
|
2699
2934
|
# resp.workgroup.endpoint.port #=> Integer
|
2700
2935
|
# resp.workgroup.endpoint.vpc_endpoints #=> Array
|
@@ -2706,6 +2941,7 @@ module Aws::RedshiftServerless
|
|
2706
2941
|
# resp.workgroup.endpoint.vpc_endpoints[0].vpc_endpoint_id #=> String
|
2707
2942
|
# resp.workgroup.endpoint.vpc_endpoints[0].vpc_id #=> String
|
2708
2943
|
# resp.workgroup.enhanced_vpc_routing #=> Boolean
|
2944
|
+
# resp.workgroup.max_capacity #=> Integer
|
2709
2945
|
# resp.workgroup.namespace_name #=> String
|
2710
2946
|
# resp.workgroup.patch_version #=> String
|
2711
2947
|
# resp.workgroup.port #=> Integer
|
@@ -2742,7 +2978,7 @@ module Aws::RedshiftServerless
|
|
2742
2978
|
params: params,
|
2743
2979
|
config: config)
|
2744
2980
|
context[:gem_name] = 'aws-sdk-redshiftserverless'
|
2745
|
-
context[:gem_version] = '1.
|
2981
|
+
context[:gem_version] = '1.18.0'
|
2746
2982
|
Seahorse::Client::Request.new(handlers, context)
|
2747
2983
|
end
|
2748
2984
|
|
@@ -16,12 +16,16 @@ module Aws::RedshiftServerless
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
AccountIdList = Shapes::ListShape.new(name: 'AccountIdList')
|
18
18
|
AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
|
19
|
+
Association = Shapes::StructureShape.new(name: 'Association')
|
20
|
+
AssociationList = Shapes::ListShape.new(name: 'AssociationList')
|
19
21
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
20
22
|
ConfigParameter = Shapes::StructureShape.new(name: 'ConfigParameter')
|
21
23
|
ConfigParameterList = Shapes::ListShape.new(name: 'ConfigParameterList')
|
22
24
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
23
25
|
ConvertRecoveryPointToSnapshotRequest = Shapes::StructureShape.new(name: 'ConvertRecoveryPointToSnapshotRequest')
|
24
26
|
ConvertRecoveryPointToSnapshotResponse = Shapes::StructureShape.new(name: 'ConvertRecoveryPointToSnapshotResponse')
|
27
|
+
CreateCustomDomainAssociationRequest = Shapes::StructureShape.new(name: 'CreateCustomDomainAssociationRequest')
|
28
|
+
CreateCustomDomainAssociationResponse = Shapes::StructureShape.new(name: 'CreateCustomDomainAssociationResponse')
|
25
29
|
CreateEndpointAccessRequest = Shapes::StructureShape.new(name: 'CreateEndpointAccessRequest')
|
26
30
|
CreateEndpointAccessResponse = Shapes::StructureShape.new(name: 'CreateEndpointAccessResponse')
|
27
31
|
CreateNamespaceRequest = Shapes::StructureShape.new(name: 'CreateNamespaceRequest')
|
@@ -32,9 +36,13 @@ module Aws::RedshiftServerless
|
|
32
36
|
CreateUsageLimitResponse = Shapes::StructureShape.new(name: 'CreateUsageLimitResponse')
|
33
37
|
CreateWorkgroupRequest = Shapes::StructureShape.new(name: 'CreateWorkgroupRequest')
|
34
38
|
CreateWorkgroupResponse = Shapes::StructureShape.new(name: 'CreateWorkgroupResponse')
|
39
|
+
CustomDomainCertificateArnString = Shapes::StringShape.new(name: 'CustomDomainCertificateArnString')
|
40
|
+
CustomDomainName = Shapes::StringShape.new(name: 'CustomDomainName')
|
35
41
|
DbName = Shapes::StringShape.new(name: 'DbName')
|
36
42
|
DbPassword = Shapes::StringShape.new(name: 'DbPassword')
|
37
43
|
DbUser = Shapes::StringShape.new(name: 'DbUser')
|
44
|
+
DeleteCustomDomainAssociationRequest = Shapes::StructureShape.new(name: 'DeleteCustomDomainAssociationRequest')
|
45
|
+
DeleteCustomDomainAssociationResponse = Shapes::StructureShape.new(name: 'DeleteCustomDomainAssociationResponse')
|
38
46
|
DeleteEndpointAccessRequest = Shapes::StructureShape.new(name: 'DeleteEndpointAccessRequest')
|
39
47
|
DeleteEndpointAccessResponse = Shapes::StructureShape.new(name: 'DeleteEndpointAccessResponse')
|
40
48
|
DeleteNamespaceRequest = Shapes::StructureShape.new(name: 'DeleteNamespaceRequest')
|
@@ -53,6 +61,8 @@ module Aws::RedshiftServerless
|
|
53
61
|
EndpointAccessList = Shapes::ListShape.new(name: 'EndpointAccessList')
|
54
62
|
GetCredentialsRequest = Shapes::StructureShape.new(name: 'GetCredentialsRequest')
|
55
63
|
GetCredentialsResponse = Shapes::StructureShape.new(name: 'GetCredentialsResponse')
|
64
|
+
GetCustomDomainAssociationRequest = Shapes::StructureShape.new(name: 'GetCustomDomainAssociationRequest')
|
65
|
+
GetCustomDomainAssociationResponse = Shapes::StructureShape.new(name: 'GetCustomDomainAssociationResponse')
|
56
66
|
GetEndpointAccessRequest = Shapes::StructureShape.new(name: 'GetEndpointAccessRequest')
|
57
67
|
GetEndpointAccessResponse = Shapes::StructureShape.new(name: 'GetEndpointAccessResponse')
|
58
68
|
GetNamespaceRequest = Shapes::StructureShape.new(name: 'GetNamespaceRequest')
|
@@ -76,6 +86,9 @@ module Aws::RedshiftServerless
|
|
76
86
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
77
87
|
InvalidPaginationException = Shapes::StructureShape.new(name: 'InvalidPaginationException')
|
78
88
|
KmsKeyId = Shapes::StringShape.new(name: 'KmsKeyId')
|
89
|
+
ListCustomDomainAssociationsRequest = Shapes::StructureShape.new(name: 'ListCustomDomainAssociationsRequest')
|
90
|
+
ListCustomDomainAssociationsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListCustomDomainAssociationsRequestMaxResultsInteger')
|
91
|
+
ListCustomDomainAssociationsResponse = Shapes::StructureShape.new(name: 'ListCustomDomainAssociationsResponse')
|
79
92
|
ListEndpointAccessRequest = Shapes::StructureShape.new(name: 'ListEndpointAccessRequest')
|
80
93
|
ListEndpointAccessRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListEndpointAccessRequestMaxResultsInteger')
|
81
94
|
ListEndpointAccessResponse = Shapes::StructureShape.new(name: 'ListEndpointAccessResponse')
|
@@ -147,6 +160,8 @@ module Aws::RedshiftServerless
|
|
147
160
|
TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
|
148
161
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
149
162
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
163
|
+
UpdateCustomDomainAssociationRequest = Shapes::StructureShape.new(name: 'UpdateCustomDomainAssociationRequest')
|
164
|
+
UpdateCustomDomainAssociationResponse = Shapes::StructureShape.new(name: 'UpdateCustomDomainAssociationResponse')
|
150
165
|
UpdateEndpointAccessRequest = Shapes::StructureShape.new(name: 'UpdateEndpointAccessRequest')
|
151
166
|
UpdateEndpointAccessResponse = Shapes::StructureShape.new(name: 'UpdateEndpointAccessResponse')
|
152
167
|
UpdateNamespaceRequest = Shapes::StructureShape.new(name: 'UpdateNamespaceRequest')
|
@@ -180,6 +195,14 @@ module Aws::RedshiftServerless
|
|
180
195
|
|
181
196
|
AccountIdList.member = Shapes::ShapeRef.new(shape: String)
|
182
197
|
|
198
|
+
Association.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "customDomainCertificateArn"))
|
199
|
+
Association.add_member(:custom_domain_certificate_expiry_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "customDomainCertificateExpiryTime"))
|
200
|
+
Association.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, location_name: "customDomainName"))
|
201
|
+
Association.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, location_name: "workgroupName"))
|
202
|
+
Association.struct_class = Types::Association
|
203
|
+
|
204
|
+
AssociationList.member = Shapes::ShapeRef.new(shape: Association)
|
205
|
+
|
183
206
|
ConfigParameter.add_member(:parameter_key, Shapes::ShapeRef.new(shape: ParameterKey, location_name: "parameterKey"))
|
184
207
|
ConfigParameter.add_member(:parameter_value, Shapes::ShapeRef.new(shape: ParameterValue, location_name: "parameterValue"))
|
185
208
|
ConfigParameter.struct_class = Types::ConfigParameter
|
@@ -198,6 +221,17 @@ module Aws::RedshiftServerless
|
|
198
221
|
ConvertRecoveryPointToSnapshotResponse.add_member(:snapshot, Shapes::ShapeRef.new(shape: Snapshot, location_name: "snapshot"))
|
199
222
|
ConvertRecoveryPointToSnapshotResponse.struct_class = Types::ConvertRecoveryPointToSnapshotResponse
|
200
223
|
|
224
|
+
CreateCustomDomainAssociationRequest.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, required: true, location_name: "customDomainCertificateArn"))
|
225
|
+
CreateCustomDomainAssociationRequest.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, required: true, location_name: "customDomainName"))
|
226
|
+
CreateCustomDomainAssociationRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, required: true, location_name: "workgroupName"))
|
227
|
+
CreateCustomDomainAssociationRequest.struct_class = Types::CreateCustomDomainAssociationRequest
|
228
|
+
|
229
|
+
CreateCustomDomainAssociationResponse.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "customDomainCertificateArn"))
|
230
|
+
CreateCustomDomainAssociationResponse.add_member(:custom_domain_certificate_expiry_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "customDomainCertificateExpiryTime"))
|
231
|
+
CreateCustomDomainAssociationResponse.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, location_name: "customDomainName"))
|
232
|
+
CreateCustomDomainAssociationResponse.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, location_name: "workgroupName"))
|
233
|
+
CreateCustomDomainAssociationResponse.struct_class = Types::CreateCustomDomainAssociationResponse
|
234
|
+
|
201
235
|
CreateEndpointAccessRequest.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "endpointName"))
|
202
236
|
CreateEndpointAccessRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, required: true, location_name: "subnetIds"))
|
203
237
|
CreateEndpointAccessRequest.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: VpcSecurityGroupIdList, location_name: "vpcSecurityGroupIds"))
|
@@ -245,6 +279,7 @@ module Aws::RedshiftServerless
|
|
245
279
|
CreateWorkgroupRequest.add_member(:base_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "baseCapacity"))
|
246
280
|
CreateWorkgroupRequest.add_member(:config_parameters, Shapes::ShapeRef.new(shape: ConfigParameterList, location_name: "configParameters"))
|
247
281
|
CreateWorkgroupRequest.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: Boolean, location_name: "enhancedVpcRouting"))
|
282
|
+
CreateWorkgroupRequest.add_member(:max_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "maxCapacity"))
|
248
283
|
CreateWorkgroupRequest.add_member(:namespace_name, Shapes::ShapeRef.new(shape: NamespaceName, required: true, location_name: "namespaceName"))
|
249
284
|
CreateWorkgroupRequest.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "port"))
|
250
285
|
CreateWorkgroupRequest.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
|
@@ -257,6 +292,12 @@ module Aws::RedshiftServerless
|
|
257
292
|
CreateWorkgroupResponse.add_member(:workgroup, Shapes::ShapeRef.new(shape: Workgroup, location_name: "workgroup"))
|
258
293
|
CreateWorkgroupResponse.struct_class = Types::CreateWorkgroupResponse
|
259
294
|
|
295
|
+
DeleteCustomDomainAssociationRequest.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, required: true, location_name: "customDomainName"))
|
296
|
+
DeleteCustomDomainAssociationRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, required: true, location_name: "workgroupName"))
|
297
|
+
DeleteCustomDomainAssociationRequest.struct_class = Types::DeleteCustomDomainAssociationRequest
|
298
|
+
|
299
|
+
DeleteCustomDomainAssociationResponse.struct_class = Types::DeleteCustomDomainAssociationResponse
|
300
|
+
|
260
301
|
DeleteEndpointAccessRequest.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "endpointName"))
|
261
302
|
DeleteEndpointAccessRequest.struct_class = Types::DeleteEndpointAccessRequest
|
262
303
|
|
@@ -313,9 +354,10 @@ module Aws::RedshiftServerless
|
|
313
354
|
|
314
355
|
EndpointAccessList.member = Shapes::ShapeRef.new(shape: EndpointAccess)
|
315
356
|
|
357
|
+
GetCredentialsRequest.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, location_name: "customDomainName"))
|
316
358
|
GetCredentialsRequest.add_member(:db_name, Shapes::ShapeRef.new(shape: DbName, location_name: "dbName"))
|
317
359
|
GetCredentialsRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "durationSeconds"))
|
318
|
-
GetCredentialsRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName,
|
360
|
+
GetCredentialsRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, location_name: "workgroupName"))
|
319
361
|
GetCredentialsRequest.struct_class = Types::GetCredentialsRequest
|
320
362
|
|
321
363
|
GetCredentialsResponse.add_member(:db_password, Shapes::ShapeRef.new(shape: DbPassword, location_name: "dbPassword"))
|
@@ -324,6 +366,16 @@ module Aws::RedshiftServerless
|
|
324
366
|
GetCredentialsResponse.add_member(:next_refresh_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "nextRefreshTime"))
|
325
367
|
GetCredentialsResponse.struct_class = Types::GetCredentialsResponse
|
326
368
|
|
369
|
+
GetCustomDomainAssociationRequest.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, required: true, location_name: "customDomainName"))
|
370
|
+
GetCustomDomainAssociationRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, required: true, location_name: "workgroupName"))
|
371
|
+
GetCustomDomainAssociationRequest.struct_class = Types::GetCustomDomainAssociationRequest
|
372
|
+
|
373
|
+
GetCustomDomainAssociationResponse.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "customDomainCertificateArn"))
|
374
|
+
GetCustomDomainAssociationResponse.add_member(:custom_domain_certificate_expiry_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "customDomainCertificateExpiryTime"))
|
375
|
+
GetCustomDomainAssociationResponse.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, location_name: "customDomainName"))
|
376
|
+
GetCustomDomainAssociationResponse.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, location_name: "workgroupName"))
|
377
|
+
GetCustomDomainAssociationResponse.struct_class = Types::GetCustomDomainAssociationResponse
|
378
|
+
|
327
379
|
GetEndpointAccessRequest.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "endpointName"))
|
328
380
|
GetEndpointAccessRequest.struct_class = Types::GetEndpointAccessRequest
|
329
381
|
|
@@ -385,6 +437,16 @@ module Aws::RedshiftServerless
|
|
385
437
|
InvalidPaginationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
386
438
|
InvalidPaginationException.struct_class = Types::InvalidPaginationException
|
387
439
|
|
440
|
+
ListCustomDomainAssociationsRequest.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "customDomainCertificateArn"))
|
441
|
+
ListCustomDomainAssociationsRequest.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, location_name: "customDomainName"))
|
442
|
+
ListCustomDomainAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListCustomDomainAssociationsRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
|
443
|
+
ListCustomDomainAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
444
|
+
ListCustomDomainAssociationsRequest.struct_class = Types::ListCustomDomainAssociationsRequest
|
445
|
+
|
446
|
+
ListCustomDomainAssociationsResponse.add_member(:associations, Shapes::ShapeRef.new(shape: AssociationList, location_name: "associations"))
|
447
|
+
ListCustomDomainAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
448
|
+
ListCustomDomainAssociationsResponse.struct_class = Types::ListCustomDomainAssociationsResponse
|
449
|
+
|
388
450
|
ListEndpointAccessRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEndpointAccessRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
|
389
451
|
ListEndpointAccessRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
390
452
|
ListEndpointAccessRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
|
@@ -632,6 +694,17 @@ module Aws::RedshiftServerless
|
|
632
694
|
|
633
695
|
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
634
696
|
|
697
|
+
UpdateCustomDomainAssociationRequest.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, required: true, location_name: "customDomainCertificateArn"))
|
698
|
+
UpdateCustomDomainAssociationRequest.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, required: true, location_name: "customDomainName"))
|
699
|
+
UpdateCustomDomainAssociationRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, required: true, location_name: "workgroupName"))
|
700
|
+
UpdateCustomDomainAssociationRequest.struct_class = Types::UpdateCustomDomainAssociationRequest
|
701
|
+
|
702
|
+
UpdateCustomDomainAssociationResponse.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "customDomainCertificateArn"))
|
703
|
+
UpdateCustomDomainAssociationResponse.add_member(:custom_domain_certificate_expiry_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "customDomainCertificateExpiryTime"))
|
704
|
+
UpdateCustomDomainAssociationResponse.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, location_name: "customDomainName"))
|
705
|
+
UpdateCustomDomainAssociationResponse.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, location_name: "workgroupName"))
|
706
|
+
UpdateCustomDomainAssociationResponse.struct_class = Types::UpdateCustomDomainAssociationResponse
|
707
|
+
|
635
708
|
UpdateEndpointAccessRequest.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "endpointName"))
|
636
709
|
UpdateEndpointAccessRequest.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: VpcSecurityGroupIdList, location_name: "vpcSecurityGroupIds"))
|
637
710
|
UpdateEndpointAccessRequest.struct_class = Types::UpdateEndpointAccessRequest
|
@@ -671,6 +744,7 @@ module Aws::RedshiftServerless
|
|
671
744
|
UpdateWorkgroupRequest.add_member(:base_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "baseCapacity"))
|
672
745
|
UpdateWorkgroupRequest.add_member(:config_parameters, Shapes::ShapeRef.new(shape: ConfigParameterList, location_name: "configParameters"))
|
673
746
|
UpdateWorkgroupRequest.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: Boolean, location_name: "enhancedVpcRouting"))
|
747
|
+
UpdateWorkgroupRequest.add_member(:max_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "maxCapacity"))
|
674
748
|
UpdateWorkgroupRequest.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "port"))
|
675
749
|
UpdateWorkgroupRequest.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: Boolean, location_name: "publiclyAccessible"))
|
676
750
|
UpdateWorkgroupRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
|
@@ -713,8 +787,12 @@ module Aws::RedshiftServerless
|
|
713
787
|
Workgroup.add_member(:base_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "baseCapacity"))
|
714
788
|
Workgroup.add_member(:config_parameters, Shapes::ShapeRef.new(shape: ConfigParameterList, location_name: "configParameters"))
|
715
789
|
Workgroup.add_member(:creation_date, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "creationDate"))
|
790
|
+
Workgroup.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "customDomainCertificateArn"))
|
791
|
+
Workgroup.add_member(:custom_domain_certificate_expiry_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "customDomainCertificateExpiryTime"))
|
792
|
+
Workgroup.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, location_name: "customDomainName"))
|
716
793
|
Workgroup.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "endpoint"))
|
717
794
|
Workgroup.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: Boolean, location_name: "enhancedVpcRouting"))
|
795
|
+
Workgroup.add_member(:max_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "maxCapacity"))
|
718
796
|
Workgroup.add_member(:namespace_name, Shapes::ShapeRef.new(shape: String, location_name: "namespaceName"))
|
719
797
|
Workgroup.add_member(:patch_version, Shapes::ShapeRef.new(shape: String, location_name: "patchVersion"))
|
720
798
|
Workgroup.add_member(:port, Shapes::ShapeRef.new(shape: Integer, location_name: "port"))
|
@@ -763,6 +841,20 @@ module Aws::RedshiftServerless
|
|
763
841
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
764
842
|
end)
|
765
843
|
|
844
|
+
api.add_operation(:create_custom_domain_association, Seahorse::Model::Operation.new.tap do |o|
|
845
|
+
o.name = "CreateCustomDomainAssociation"
|
846
|
+
o.http_method = "POST"
|
847
|
+
o.http_request_uri = "/"
|
848
|
+
o.input = Shapes::ShapeRef.new(shape: CreateCustomDomainAssociationRequest)
|
849
|
+
o.output = Shapes::ShapeRef.new(shape: CreateCustomDomainAssociationResponse)
|
850
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
851
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
852
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
853
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
854
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
855
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
856
|
+
end)
|
857
|
+
|
766
858
|
api.add_operation(:create_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
|
767
859
|
o.name = "CreateEndpointAccess"
|
768
860
|
o.http_method = "POST"
|
@@ -830,6 +922,20 @@ module Aws::RedshiftServerless
|
|
830
922
|
o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
|
831
923
|
end)
|
832
924
|
|
925
|
+
api.add_operation(:delete_custom_domain_association, Seahorse::Model::Operation.new.tap do |o|
|
926
|
+
o.name = "DeleteCustomDomainAssociation"
|
927
|
+
o.http_method = "POST"
|
928
|
+
o.http_request_uri = "/"
|
929
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteCustomDomainAssociationRequest)
|
930
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteCustomDomainAssociationResponse)
|
931
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
932
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
933
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
934
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
935
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
936
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
937
|
+
end)
|
938
|
+
|
833
939
|
api.add_operation(:delete_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
|
834
940
|
o.name = "DeleteEndpointAccess"
|
835
941
|
o.http_method = "POST"
|
@@ -912,6 +1018,20 @@ module Aws::RedshiftServerless
|
|
912
1018
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
913
1019
|
end)
|
914
1020
|
|
1021
|
+
api.add_operation(:get_custom_domain_association, Seahorse::Model::Operation.new.tap do |o|
|
1022
|
+
o.name = "GetCustomDomainAssociation"
|
1023
|
+
o.http_method = "POST"
|
1024
|
+
o.http_request_uri = "/"
|
1025
|
+
o.input = Shapes::ShapeRef.new(shape: GetCustomDomainAssociationRequest)
|
1026
|
+
o.output = Shapes::ShapeRef.new(shape: GetCustomDomainAssociationResponse)
|
1027
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1028
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1029
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1030
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1031
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1032
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1033
|
+
end)
|
1034
|
+
|
915
1035
|
api.add_operation(:get_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
|
916
1036
|
o.name = "GetEndpointAccess"
|
917
1037
|
o.http_method = "POST"
|
@@ -1002,6 +1122,25 @@ module Aws::RedshiftServerless
|
|
1002
1122
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1003
1123
|
end)
|
1004
1124
|
|
1125
|
+
api.add_operation(:list_custom_domain_associations, Seahorse::Model::Operation.new.tap do |o|
|
1126
|
+
o.name = "ListCustomDomainAssociations"
|
1127
|
+
o.http_method = "POST"
|
1128
|
+
o.http_request_uri = "/"
|
1129
|
+
o.input = Shapes::ShapeRef.new(shape: ListCustomDomainAssociationsRequest)
|
1130
|
+
o.output = Shapes::ShapeRef.new(shape: ListCustomDomainAssociationsResponse)
|
1131
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1132
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationException)
|
1133
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1134
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1135
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1136
|
+
o[:pager] = Aws::Pager.new(
|
1137
|
+
limit_key: "max_results",
|
1138
|
+
tokens: {
|
1139
|
+
"next_token" => "next_token"
|
1140
|
+
}
|
1141
|
+
)
|
1142
|
+
end)
|
1143
|
+
|
1005
1144
|
api.add_operation(:list_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
|
1006
1145
|
o.name = "ListEndpointAccess"
|
1007
1146
|
o.http_method = "POST"
|
@@ -1208,6 +1347,20 @@ module Aws::RedshiftServerless
|
|
1208
1347
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1209
1348
|
end)
|
1210
1349
|
|
1350
|
+
api.add_operation(:update_custom_domain_association, Seahorse::Model::Operation.new.tap do |o|
|
1351
|
+
o.name = "UpdateCustomDomainAssociation"
|
1352
|
+
o.http_method = "POST"
|
1353
|
+
o.http_request_uri = "/"
|
1354
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateCustomDomainAssociationRequest)
|
1355
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateCustomDomainAssociationResponse)
|
1356
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1357
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1358
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1359
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1360
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1361
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1362
|
+
end)
|
1363
|
+
|
1211
1364
|
api.add_operation(:update_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
|
1212
1365
|
o.name = "UpdateEndpointAccess"
|
1213
1366
|
o.http_method = "POST"
|
@@ -26,6 +26,20 @@ module Aws::RedshiftServerless
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
+
class CreateCustomDomainAssociation
|
30
|
+
def self.build(context)
|
31
|
+
unless context.config.regional_endpoint
|
32
|
+
endpoint = context.config.endpoint.to_s
|
33
|
+
end
|
34
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
35
|
+
region: context.config.region,
|
36
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
37
|
+
use_fips: context.config.use_fips_endpoint,
|
38
|
+
endpoint: endpoint,
|
39
|
+
)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
29
43
|
class CreateEndpointAccess
|
30
44
|
def self.build(context)
|
31
45
|
unless context.config.regional_endpoint
|
@@ -96,6 +110,20 @@ module Aws::RedshiftServerless
|
|
96
110
|
end
|
97
111
|
end
|
98
112
|
|
113
|
+
class DeleteCustomDomainAssociation
|
114
|
+
def self.build(context)
|
115
|
+
unless context.config.regional_endpoint
|
116
|
+
endpoint = context.config.endpoint.to_s
|
117
|
+
end
|
118
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
119
|
+
region: context.config.region,
|
120
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
121
|
+
use_fips: context.config.use_fips_endpoint,
|
122
|
+
endpoint: endpoint,
|
123
|
+
)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
99
127
|
class DeleteEndpointAccess
|
100
128
|
def self.build(context)
|
101
129
|
unless context.config.regional_endpoint
|
@@ -194,6 +222,20 @@ module Aws::RedshiftServerless
|
|
194
222
|
end
|
195
223
|
end
|
196
224
|
|
225
|
+
class GetCustomDomainAssociation
|
226
|
+
def self.build(context)
|
227
|
+
unless context.config.regional_endpoint
|
228
|
+
endpoint = context.config.endpoint.to_s
|
229
|
+
end
|
230
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
231
|
+
region: context.config.region,
|
232
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
233
|
+
use_fips: context.config.use_fips_endpoint,
|
234
|
+
endpoint: endpoint,
|
235
|
+
)
|
236
|
+
end
|
237
|
+
end
|
238
|
+
|
197
239
|
class GetEndpointAccess
|
198
240
|
def self.build(context)
|
199
241
|
unless context.config.regional_endpoint
|
@@ -306,6 +348,20 @@ module Aws::RedshiftServerless
|
|
306
348
|
end
|
307
349
|
end
|
308
350
|
|
351
|
+
class ListCustomDomainAssociations
|
352
|
+
def self.build(context)
|
353
|
+
unless context.config.regional_endpoint
|
354
|
+
endpoint = context.config.endpoint.to_s
|
355
|
+
end
|
356
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
357
|
+
region: context.config.region,
|
358
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
359
|
+
use_fips: context.config.use_fips_endpoint,
|
360
|
+
endpoint: endpoint,
|
361
|
+
)
|
362
|
+
end
|
363
|
+
end
|
364
|
+
|
309
365
|
class ListEndpointAccess
|
310
366
|
def self.build(context)
|
311
367
|
unless context.config.regional_endpoint
|
@@ -502,6 +558,20 @@ module Aws::RedshiftServerless
|
|
502
558
|
end
|
503
559
|
end
|
504
560
|
|
561
|
+
class UpdateCustomDomainAssociation
|
562
|
+
def self.build(context)
|
563
|
+
unless context.config.regional_endpoint
|
564
|
+
endpoint = context.config.endpoint.to_s
|
565
|
+
end
|
566
|
+
Aws::RedshiftServerless::EndpointParameters.new(
|
567
|
+
region: context.config.region,
|
568
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
569
|
+
use_fips: context.config.use_fips_endpoint,
|
570
|
+
endpoint: endpoint,
|
571
|
+
)
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
505
575
|
class UpdateEndpointAccess
|
506
576
|
def self.build(context)
|
507
577
|
unless context.config.regional_endpoint
|
@@ -58,6 +58,8 @@ module Aws::RedshiftServerless
|
|
58
58
|
case context.operation_name
|
59
59
|
when :convert_recovery_point_to_snapshot
|
60
60
|
Aws::RedshiftServerless::Endpoints::ConvertRecoveryPointToSnapshot.build(context)
|
61
|
+
when :create_custom_domain_association
|
62
|
+
Aws::RedshiftServerless::Endpoints::CreateCustomDomainAssociation.build(context)
|
61
63
|
when :create_endpoint_access
|
62
64
|
Aws::RedshiftServerless::Endpoints::CreateEndpointAccess.build(context)
|
63
65
|
when :create_namespace
|
@@ -68,6 +70,8 @@ module Aws::RedshiftServerless
|
|
68
70
|
Aws::RedshiftServerless::Endpoints::CreateUsageLimit.build(context)
|
69
71
|
when :create_workgroup
|
70
72
|
Aws::RedshiftServerless::Endpoints::CreateWorkgroup.build(context)
|
73
|
+
when :delete_custom_domain_association
|
74
|
+
Aws::RedshiftServerless::Endpoints::DeleteCustomDomainAssociation.build(context)
|
71
75
|
when :delete_endpoint_access
|
72
76
|
Aws::RedshiftServerless::Endpoints::DeleteEndpointAccess.build(context)
|
73
77
|
when :delete_namespace
|
@@ -82,6 +86,8 @@ module Aws::RedshiftServerless
|
|
82
86
|
Aws::RedshiftServerless::Endpoints::DeleteWorkgroup.build(context)
|
83
87
|
when :get_credentials
|
84
88
|
Aws::RedshiftServerless::Endpoints::GetCredentials.build(context)
|
89
|
+
when :get_custom_domain_association
|
90
|
+
Aws::RedshiftServerless::Endpoints::GetCustomDomainAssociation.build(context)
|
85
91
|
when :get_endpoint_access
|
86
92
|
Aws::RedshiftServerless::Endpoints::GetEndpointAccess.build(context)
|
87
93
|
when :get_namespace
|
@@ -98,6 +104,8 @@ module Aws::RedshiftServerless
|
|
98
104
|
Aws::RedshiftServerless::Endpoints::GetUsageLimit.build(context)
|
99
105
|
when :get_workgroup
|
100
106
|
Aws::RedshiftServerless::Endpoints::GetWorkgroup.build(context)
|
107
|
+
when :list_custom_domain_associations
|
108
|
+
Aws::RedshiftServerless::Endpoints::ListCustomDomainAssociations.build(context)
|
101
109
|
when :list_endpoint_access
|
102
110
|
Aws::RedshiftServerless::Endpoints::ListEndpointAccess.build(context)
|
103
111
|
when :list_namespaces
|
@@ -126,6 +134,8 @@ module Aws::RedshiftServerless
|
|
126
134
|
Aws::RedshiftServerless::Endpoints::TagResource.build(context)
|
127
135
|
when :untag_resource
|
128
136
|
Aws::RedshiftServerless::Endpoints::UntagResource.build(context)
|
137
|
+
when :update_custom_domain_association
|
138
|
+
Aws::RedshiftServerless::Endpoints::UpdateCustomDomainAssociation.build(context)
|
129
139
|
when :update_endpoint_access
|
130
140
|
Aws::RedshiftServerless::Endpoints::UpdateEndpointAccess.build(context)
|
131
141
|
when :update_namespace
|
@@ -27,6 +27,35 @@ module Aws::RedshiftServerless
|
|
27
27
|
include Aws::Structure
|
28
28
|
end
|
29
29
|
|
30
|
+
# An object that represents the custom domain name association.
|
31
|
+
#
|
32
|
+
# @!attribute [rw] custom_domain_certificate_arn
|
33
|
+
# The custom domain name’s certificate Amazon resource name (ARN).
|
34
|
+
# @return [String]
|
35
|
+
#
|
36
|
+
# @!attribute [rw] custom_domain_certificate_expiry_time
|
37
|
+
# The expiration time for the certificate.
|
38
|
+
# @return [Time]
|
39
|
+
#
|
40
|
+
# @!attribute [rw] custom_domain_name
|
41
|
+
# The custom domain name associated with the workgroup.
|
42
|
+
# @return [String]
|
43
|
+
#
|
44
|
+
# @!attribute [rw] workgroup_name
|
45
|
+
# The name of the workgroup associated with the database.
|
46
|
+
# @return [String]
|
47
|
+
#
|
48
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/Association AWS API Documentation
|
49
|
+
#
|
50
|
+
class Association < Struct.new(
|
51
|
+
:custom_domain_certificate_arn,
|
52
|
+
:custom_domain_certificate_expiry_time,
|
53
|
+
:custom_domain_name,
|
54
|
+
:workgroup_name)
|
55
|
+
SENSITIVE = []
|
56
|
+
include Aws::Structure
|
57
|
+
end
|
58
|
+
|
30
59
|
# An array of key-value pairs to set for advanced control over Amazon
|
31
60
|
# Redshift Serverless.
|
32
61
|
#
|
@@ -113,6 +142,55 @@ module Aws::RedshiftServerless
|
|
113
142
|
include Aws::Structure
|
114
143
|
end
|
115
144
|
|
145
|
+
# @!attribute [rw] custom_domain_certificate_arn
|
146
|
+
# The custom domain name’s certificate Amazon resource name (ARN).
|
147
|
+
# @return [String]
|
148
|
+
#
|
149
|
+
# @!attribute [rw] custom_domain_name
|
150
|
+
# The custom domain name to associate with the workgroup.
|
151
|
+
# @return [String]
|
152
|
+
#
|
153
|
+
# @!attribute [rw] workgroup_name
|
154
|
+
# The name of the workgroup associated with the database.
|
155
|
+
# @return [String]
|
156
|
+
#
|
157
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateCustomDomainAssociationRequest AWS API Documentation
|
158
|
+
#
|
159
|
+
class CreateCustomDomainAssociationRequest < Struct.new(
|
160
|
+
:custom_domain_certificate_arn,
|
161
|
+
:custom_domain_name,
|
162
|
+
:workgroup_name)
|
163
|
+
SENSITIVE = []
|
164
|
+
include Aws::Structure
|
165
|
+
end
|
166
|
+
|
167
|
+
# @!attribute [rw] custom_domain_certificate_arn
|
168
|
+
# The custom domain name’s certificate Amazon resource name (ARN).
|
169
|
+
# @return [String]
|
170
|
+
#
|
171
|
+
# @!attribute [rw] custom_domain_certificate_expiry_time
|
172
|
+
# The expiration time for the certificate.
|
173
|
+
# @return [Time]
|
174
|
+
#
|
175
|
+
# @!attribute [rw] custom_domain_name
|
176
|
+
# The custom domain name to associate with the workgroup.
|
177
|
+
# @return [String]
|
178
|
+
#
|
179
|
+
# @!attribute [rw] workgroup_name
|
180
|
+
# The name of the workgroup associated with the database.
|
181
|
+
# @return [String]
|
182
|
+
#
|
183
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/CreateCustomDomainAssociationResponse AWS API Documentation
|
184
|
+
#
|
185
|
+
class CreateCustomDomainAssociationResponse < Struct.new(
|
186
|
+
:custom_domain_certificate_arn,
|
187
|
+
:custom_domain_certificate_expiry_time,
|
188
|
+
:custom_domain_name,
|
189
|
+
:workgroup_name)
|
190
|
+
SENSITIVE = []
|
191
|
+
include Aws::Structure
|
192
|
+
end
|
193
|
+
|
116
194
|
# @!attribute [rw] endpoint_name
|
117
195
|
# The name of the VPC endpoint. An endpoint name must contain 1-30
|
118
196
|
# characters. Valid characters are A-Z, a-z, 0-9, and hyphen(-). The
|
@@ -365,6 +443,11 @@ module Aws::RedshiftServerless
|
|
365
443
|
# route traffic through your VPC instead of over the internet.
|
366
444
|
# @return [Boolean]
|
367
445
|
#
|
446
|
+
# @!attribute [rw] max_capacity
|
447
|
+
# The maximum data-warehouse capacity Amazon Redshift Serverless uses
|
448
|
+
# to serve queries. The max capacity is specified in RPUs.
|
449
|
+
# @return [Integer]
|
450
|
+
#
|
368
451
|
# @!attribute [rw] namespace_name
|
369
452
|
# The name of the namespace to associate with the workgroup.
|
370
453
|
# @return [String]
|
@@ -401,6 +484,7 @@ module Aws::RedshiftServerless
|
|
401
484
|
:base_capacity,
|
402
485
|
:config_parameters,
|
403
486
|
:enhanced_vpc_routing,
|
487
|
+
:max_capacity,
|
404
488
|
:namespace_name,
|
405
489
|
:port,
|
406
490
|
:publicly_accessible,
|
@@ -424,6 +508,27 @@ module Aws::RedshiftServerless
|
|
424
508
|
include Aws::Structure
|
425
509
|
end
|
426
510
|
|
511
|
+
# @!attribute [rw] custom_domain_name
|
512
|
+
# The custom domain name associated with the workgroup.
|
513
|
+
# @return [String]
|
514
|
+
#
|
515
|
+
# @!attribute [rw] workgroup_name
|
516
|
+
# The name of the workgroup associated with the database.
|
517
|
+
# @return [String]
|
518
|
+
#
|
519
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteCustomDomainAssociationRequest AWS API Documentation
|
520
|
+
#
|
521
|
+
class DeleteCustomDomainAssociationRequest < Struct.new(
|
522
|
+
:custom_domain_name,
|
523
|
+
:workgroup_name)
|
524
|
+
SENSITIVE = []
|
525
|
+
include Aws::Structure
|
526
|
+
end
|
527
|
+
|
528
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteCustomDomainAssociationResponse AWS API Documentation
|
529
|
+
#
|
530
|
+
class DeleteCustomDomainAssociationResponse < Aws::EmptyStructure; end
|
531
|
+
|
427
532
|
# @!attribute [rw] endpoint_name
|
428
533
|
# The name of the VPC endpoint to delete.
|
429
534
|
# @return [String]
|
@@ -657,6 +762,11 @@ module Aws::RedshiftServerless
|
|
657
762
|
include Aws::Structure
|
658
763
|
end
|
659
764
|
|
765
|
+
# @!attribute [rw] custom_domain_name
|
766
|
+
# The custom domain name associated with the workgroup. The custom
|
767
|
+
# domain name or the workgroup name must be included in the request.
|
768
|
+
# @return [String]
|
769
|
+
#
|
660
770
|
# @!attribute [rw] db_name
|
661
771
|
# The name of the database to get temporary authorization to log on
|
662
772
|
# to.
|
@@ -693,6 +803,7 @@ module Aws::RedshiftServerless
|
|
693
803
|
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetCredentialsRequest AWS API Documentation
|
694
804
|
#
|
695
805
|
class GetCredentialsRequest < Struct.new(
|
806
|
+
:custom_domain_name,
|
696
807
|
:db_name,
|
697
808
|
:duration_seconds,
|
698
809
|
:workgroup_name)
|
@@ -733,6 +844,50 @@ module Aws::RedshiftServerless
|
|
733
844
|
include Aws::Structure
|
734
845
|
end
|
735
846
|
|
847
|
+
# @!attribute [rw] custom_domain_name
|
848
|
+
# The custom domain name associated with the workgroup.
|
849
|
+
# @return [String]
|
850
|
+
#
|
851
|
+
# @!attribute [rw] workgroup_name
|
852
|
+
# The name of the workgroup associated with the database.
|
853
|
+
# @return [String]
|
854
|
+
#
|
855
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetCustomDomainAssociationRequest AWS API Documentation
|
856
|
+
#
|
857
|
+
class GetCustomDomainAssociationRequest < Struct.new(
|
858
|
+
:custom_domain_name,
|
859
|
+
:workgroup_name)
|
860
|
+
SENSITIVE = []
|
861
|
+
include Aws::Structure
|
862
|
+
end
|
863
|
+
|
864
|
+
# @!attribute [rw] custom_domain_certificate_arn
|
865
|
+
# The custom domain name’s certificate Amazon resource name (ARN).
|
866
|
+
# @return [String]
|
867
|
+
#
|
868
|
+
# @!attribute [rw] custom_domain_certificate_expiry_time
|
869
|
+
# The expiration time for the certificate.
|
870
|
+
# @return [Time]
|
871
|
+
#
|
872
|
+
# @!attribute [rw] custom_domain_name
|
873
|
+
# The custom domain name associated with the workgroup.
|
874
|
+
# @return [String]
|
875
|
+
#
|
876
|
+
# @!attribute [rw] workgroup_name
|
877
|
+
# The name of the workgroup associated with the database.
|
878
|
+
# @return [String]
|
879
|
+
#
|
880
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetCustomDomainAssociationResponse AWS API Documentation
|
881
|
+
#
|
882
|
+
class GetCustomDomainAssociationResponse < Struct.new(
|
883
|
+
:custom_domain_certificate_arn,
|
884
|
+
:custom_domain_certificate_expiry_time,
|
885
|
+
:custom_domain_name,
|
886
|
+
:workgroup_name)
|
887
|
+
SENSITIVE = []
|
888
|
+
include Aws::Structure
|
889
|
+
end
|
890
|
+
|
736
891
|
# @!attribute [rw] endpoint_name
|
737
892
|
# The name of the VPC endpoint to return information for.
|
738
893
|
# @return [String]
|
@@ -979,6 +1134,58 @@ module Aws::RedshiftServerless
|
|
979
1134
|
include Aws::Structure
|
980
1135
|
end
|
981
1136
|
|
1137
|
+
# @!attribute [rw] custom_domain_certificate_arn
|
1138
|
+
# The custom domain name’s certificate Amazon resource name (ARN).
|
1139
|
+
# @return [String]
|
1140
|
+
#
|
1141
|
+
# @!attribute [rw] custom_domain_name
|
1142
|
+
# The custom domain name associated with the workgroup.
|
1143
|
+
# @return [String]
|
1144
|
+
#
|
1145
|
+
# @!attribute [rw] max_results
|
1146
|
+
# An optional parameter that specifies the maximum number of results
|
1147
|
+
# to return. You can use `nextToken` to display the next page of
|
1148
|
+
# results.
|
1149
|
+
# @return [Integer]
|
1150
|
+
#
|
1151
|
+
# @!attribute [rw] next_token
|
1152
|
+
# When `nextToken` is returned, there are more results available. The
|
1153
|
+
# value of `nextToken` is a unique pagination token for each page.
|
1154
|
+
# Make the call again using the returned token to retrieve the next
|
1155
|
+
# page.
|
1156
|
+
# @return [String]
|
1157
|
+
#
|
1158
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListCustomDomainAssociationsRequest AWS API Documentation
|
1159
|
+
#
|
1160
|
+
class ListCustomDomainAssociationsRequest < Struct.new(
|
1161
|
+
:custom_domain_certificate_arn,
|
1162
|
+
:custom_domain_name,
|
1163
|
+
:max_results,
|
1164
|
+
:next_token)
|
1165
|
+
SENSITIVE = []
|
1166
|
+
include Aws::Structure
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
# @!attribute [rw] associations
|
1170
|
+
# A list of Association objects.
|
1171
|
+
# @return [Array<Types::Association>]
|
1172
|
+
#
|
1173
|
+
# @!attribute [rw] next_token
|
1174
|
+
# When `nextToken` is returned, there are more results available. The
|
1175
|
+
# value of `nextToken` is a unique pagination token for each page.
|
1176
|
+
# Make the call again using the returned token to retrieve the next
|
1177
|
+
# page.
|
1178
|
+
# @return [String]
|
1179
|
+
#
|
1180
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListCustomDomainAssociationsResponse AWS API Documentation
|
1181
|
+
#
|
1182
|
+
class ListCustomDomainAssociationsResponse < Struct.new(
|
1183
|
+
:associations,
|
1184
|
+
:next_token)
|
1185
|
+
SENSITIVE = []
|
1186
|
+
include Aws::Structure
|
1187
|
+
end
|
1188
|
+
|
982
1189
|
# @!attribute [rw] max_results
|
983
1190
|
# An optional parameter that specifies the maximum number of results
|
984
1191
|
# to return. You can use `nextToken` to display the next page of
|
@@ -2127,6 +2334,56 @@ module Aws::RedshiftServerless
|
|
2127
2334
|
#
|
2128
2335
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
2129
2336
|
|
2337
|
+
# @!attribute [rw] custom_domain_certificate_arn
|
2338
|
+
# The custom domain name’s certificate Amazon resource name (ARN).
|
2339
|
+
# This is optional.
|
2340
|
+
# @return [String]
|
2341
|
+
#
|
2342
|
+
# @!attribute [rw] custom_domain_name
|
2343
|
+
# The custom domain name associated with the workgroup.
|
2344
|
+
# @return [String]
|
2345
|
+
#
|
2346
|
+
# @!attribute [rw] workgroup_name
|
2347
|
+
# The name of the workgroup associated with the database.
|
2348
|
+
# @return [String]
|
2349
|
+
#
|
2350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateCustomDomainAssociationRequest AWS API Documentation
|
2351
|
+
#
|
2352
|
+
class UpdateCustomDomainAssociationRequest < Struct.new(
|
2353
|
+
:custom_domain_certificate_arn,
|
2354
|
+
:custom_domain_name,
|
2355
|
+
:workgroup_name)
|
2356
|
+
SENSITIVE = []
|
2357
|
+
include Aws::Structure
|
2358
|
+
end
|
2359
|
+
|
2360
|
+
# @!attribute [rw] custom_domain_certificate_arn
|
2361
|
+
# The custom domain name’s certificate Amazon resource name (ARN).
|
2362
|
+
# @return [String]
|
2363
|
+
#
|
2364
|
+
# @!attribute [rw] custom_domain_certificate_expiry_time
|
2365
|
+
# The expiration time for the certificate.
|
2366
|
+
# @return [Time]
|
2367
|
+
#
|
2368
|
+
# @!attribute [rw] custom_domain_name
|
2369
|
+
# The custom domain name associated with the workgroup.
|
2370
|
+
# @return [String]
|
2371
|
+
#
|
2372
|
+
# @!attribute [rw] workgroup_name
|
2373
|
+
# The name of the workgroup associated with the database.
|
2374
|
+
# @return [String]
|
2375
|
+
#
|
2376
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateCustomDomainAssociationResponse AWS API Documentation
|
2377
|
+
#
|
2378
|
+
class UpdateCustomDomainAssociationResponse < Struct.new(
|
2379
|
+
:custom_domain_certificate_arn,
|
2380
|
+
:custom_domain_certificate_expiry_time,
|
2381
|
+
:custom_domain_name,
|
2382
|
+
:workgroup_name)
|
2383
|
+
SENSITIVE = []
|
2384
|
+
include Aws::Structure
|
2385
|
+
end
|
2386
|
+
|
2130
2387
|
# @!attribute [rw] endpoint_name
|
2131
2388
|
# The name of the VPC endpoint to update.
|
2132
2389
|
# @return [String]
|
@@ -2332,6 +2589,11 @@ module Aws::RedshiftServerless
|
|
2332
2589
|
# route traffic through your VPC.
|
2333
2590
|
# @return [Boolean]
|
2334
2591
|
#
|
2592
|
+
# @!attribute [rw] max_capacity
|
2593
|
+
# The maximum data-warehouse capacity Amazon Redshift Serverless uses
|
2594
|
+
# to serve queries. The max capacity is specified in RPUs.
|
2595
|
+
# @return [Integer]
|
2596
|
+
#
|
2335
2597
|
# @!attribute [rw] port
|
2336
2598
|
# The custom port to use when connecting to a workgroup. Valid port
|
2337
2599
|
# ranges are 5431-5455 and 8191-8215. The default is 5439.
|
@@ -2361,6 +2623,7 @@ module Aws::RedshiftServerless
|
|
2361
2623
|
:base_capacity,
|
2362
2624
|
:config_parameters,
|
2363
2625
|
:enhanced_vpc_routing,
|
2626
|
+
:max_capacity,
|
2364
2627
|
:port,
|
2365
2628
|
:publicly_accessible,
|
2366
2629
|
:security_group_ids,
|
@@ -2519,6 +2782,18 @@ module Aws::RedshiftServerless
|
|
2519
2782
|
# The creation date of the workgroup.
|
2520
2783
|
# @return [Time]
|
2521
2784
|
#
|
2785
|
+
# @!attribute [rw] custom_domain_certificate_arn
|
2786
|
+
# The custom domain name’s certificate Amazon resource name (ARN).
|
2787
|
+
# @return [String]
|
2788
|
+
#
|
2789
|
+
# @!attribute [rw] custom_domain_certificate_expiry_time
|
2790
|
+
# The expiration time for the certificate.
|
2791
|
+
# @return [Time]
|
2792
|
+
#
|
2793
|
+
# @!attribute [rw] custom_domain_name
|
2794
|
+
# The custom domain name associated with the workgroup.
|
2795
|
+
# @return [String]
|
2796
|
+
#
|
2522
2797
|
# @!attribute [rw] endpoint
|
2523
2798
|
# The endpoint that is created from the workgroup.
|
2524
2799
|
# @return [Types::Endpoint]
|
@@ -2529,6 +2804,11 @@ module Aws::RedshiftServerless
|
|
2529
2804
|
# route traffic through your VPC.
|
2530
2805
|
# @return [Boolean]
|
2531
2806
|
#
|
2807
|
+
# @!attribute [rw] max_capacity
|
2808
|
+
# The maximum data-warehouse capacity Amazon Redshift Serverless uses
|
2809
|
+
# to serve queries. The max capacity is specified in RPUs.
|
2810
|
+
# @return [Integer]
|
2811
|
+
#
|
2532
2812
|
# @!attribute [rw] namespace_name
|
2533
2813
|
# The namespace the workgroup is associated with.
|
2534
2814
|
# @return [String]
|
@@ -2593,8 +2873,12 @@ module Aws::RedshiftServerless
|
|
2593
2873
|
:base_capacity,
|
2594
2874
|
:config_parameters,
|
2595
2875
|
:creation_date,
|
2876
|
+
:custom_domain_certificate_arn,
|
2877
|
+
:custom_domain_certificate_expiry_time,
|
2878
|
+
:custom_domain_name,
|
2596
2879
|
:endpoint,
|
2597
2880
|
:enhanced_vpc_routing,
|
2881
|
+
:max_capacity,
|
2598
2882
|
:namespace_name,
|
2599
2883
|
:patch_version,
|
2600
2884
|
:port,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-redshiftserverless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.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-
|
11
|
+
date: 2023-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|