aws-sdk-redshiftserverless 1.16.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7f843af5c6294d5a58229787e2de8ef3db5814abea1c08389f7936475b848fe
4
- data.tar.gz: 202a005a83da028651507f494eee61bfff2f746376253829c30a00525ce66792
3
+ metadata.gz: 2b9184e693fb902ca9d75b4bf9985648a5d9e06b7b34a64c2c092ad5f3b155c5
4
+ data.tar.gz: 526f83cc243a00189ef34d729599ac61ed5aa5882c29f9612161e3d57b206078
5
5
  SHA512:
6
- metadata.gz: aca02355bf2303df7f2a6ec2eaf7e900c2409ca7022a87ba2957b0f04513eaa21fe72747214fff13b1909eeb861a7722ec3dc6c6deed989c1f3731e7cd1a7e0d
7
- data.tar.gz: 4588454d995d8f2f6d8a0049b1580541cb856933e467565a6e18d9430c138735e9452159127613dfb4add88b294897116c90e7a9f5b1e678b8ef3621df2ec80a
6
+ metadata.gz: c0c411485e0a473488754fb4341fd02fef03d11241348874555465c65aa857c646237149d604c1b72695e76434999d409fa8c2031b6a1862ac301afc58a4b4bb
7
+ data.tar.gz: 499c1dc3f939265c76855b6f537cc0fc336d10ab1a99b0433b733c61f35d84a1fe387dc787707e44d1fa0c0c5b4a93924f531ed7c01e5c3eaa358b4e85a74384
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.17.0 (2023-10-30)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.16.0 (2023-10-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.17.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
@@ -860,6 +902,9 @@ module Aws::RedshiftServerless
860
902
  # resp.workgroup.config_parameters[0].parameter_key #=> String
861
903
  # resp.workgroup.config_parameters[0].parameter_value #=> String
862
904
  # resp.workgroup.creation_date #=> Time
905
+ # resp.workgroup.custom_domain_certificate_arn #=> String
906
+ # resp.workgroup.custom_domain_certificate_expiry_time #=> Time
907
+ # resp.workgroup.custom_domain_name #=> String
863
908
  # resp.workgroup.endpoint.address #=> String
864
909
  # resp.workgroup.endpoint.port #=> Integer
865
910
  # resp.workgroup.endpoint.vpc_endpoints #=> Array
@@ -894,6 +939,32 @@ module Aws::RedshiftServerless
894
939
  req.send_request(options)
895
940
  end
896
941
 
942
+ # Deletes a custom domain association for Amazon Redshift Serverless.
943
+ #
944
+ # @option params [required, String] :custom_domain_name
945
+ # The custom domain name associated with the workgroup.
946
+ #
947
+ # @option params [required, String] :workgroup_name
948
+ # The name of the workgroup associated with the database.
949
+ #
950
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
951
+ #
952
+ # @example Request syntax with placeholder values
953
+ #
954
+ # resp = client.delete_custom_domain_association({
955
+ # custom_domain_name: "CustomDomainName", # required
956
+ # workgroup_name: "WorkgroupName", # required
957
+ # })
958
+ #
959
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteCustomDomainAssociation AWS API Documentation
960
+ #
961
+ # @overload delete_custom_domain_association(params = {})
962
+ # @param [Hash] params ({})
963
+ def delete_custom_domain_association(params = {}, options = {})
964
+ req = build_request(:delete_custom_domain_association, params)
965
+ req.send_request(options)
966
+ end
967
+
897
968
  # Deletes an Amazon Redshift Serverless managed VPC endpoint.
898
969
  #
899
970
  # @option params [required, String] :endpoint_name
@@ -1122,6 +1193,9 @@ module Aws::RedshiftServerless
1122
1193
  # resp.workgroup.config_parameters[0].parameter_key #=> String
1123
1194
  # resp.workgroup.config_parameters[0].parameter_value #=> String
1124
1195
  # resp.workgroup.creation_date #=> Time
1196
+ # resp.workgroup.custom_domain_certificate_arn #=> String
1197
+ # resp.workgroup.custom_domain_certificate_expiry_time #=> Time
1198
+ # resp.workgroup.custom_domain_name #=> String
1125
1199
  # resp.workgroup.endpoint.address #=> String
1126
1200
  # resp.workgroup.endpoint.port #=> Integer
1127
1201
  # resp.workgroup.endpoint.vpc_endpoints #=> Array
@@ -1165,6 +1239,10 @@ module Aws::RedshiftServerless
1165
1239
  #
1166
1240
  # <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
1241
  #
1242
+ # @option params [String] :custom_domain_name
1243
+ # The custom domain name associated with the workgroup. The custom
1244
+ # domain name or the workgroup name must be included in the request.
1245
+ #
1168
1246
  # @option params [String] :db_name
1169
1247
  # The name of the database to get temporary authorization to log on to.
1170
1248
  #
@@ -1190,7 +1268,7 @@ module Aws::RedshiftServerless
1190
1268
  # The number of seconds until the returned temporary password expires.
1191
1269
  # The minimum is 900 seconds, and the maximum is 3600 seconds.
1192
1270
  #
1193
- # @option params [required, String] :workgroup_name
1271
+ # @option params [String] :workgroup_name
1194
1272
  # The name of the workgroup associated with the database.
1195
1273
  #
1196
1274
  # @return [Types::GetCredentialsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1203,9 +1281,10 @@ module Aws::RedshiftServerless
1203
1281
  # @example Request syntax with placeholder values
1204
1282
  #
1205
1283
  # resp = client.get_credentials({
1284
+ # custom_domain_name: "CustomDomainName",
1206
1285
  # db_name: "DbName",
1207
1286
  # duration_seconds: 1,
1208
- # workgroup_name: "WorkgroupName", # required
1287
+ # workgroup_name: "WorkgroupName",
1209
1288
  # })
1210
1289
  #
1211
1290
  # @example Response structure
@@ -1224,6 +1303,44 @@ module Aws::RedshiftServerless
1224
1303
  req.send_request(options)
1225
1304
  end
1226
1305
 
1306
+ # Gets information about a specific custom domain association.
1307
+ #
1308
+ # @option params [required, String] :custom_domain_name
1309
+ # The custom domain name associated with the workgroup.
1310
+ #
1311
+ # @option params [required, String] :workgroup_name
1312
+ # The name of the workgroup associated with the database.
1313
+ #
1314
+ # @return [Types::GetCustomDomainAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1315
+ #
1316
+ # * {Types::GetCustomDomainAssociationResponse#custom_domain_certificate_arn #custom_domain_certificate_arn} => String
1317
+ # * {Types::GetCustomDomainAssociationResponse#custom_domain_certificate_expiry_time #custom_domain_certificate_expiry_time} => Time
1318
+ # * {Types::GetCustomDomainAssociationResponse#custom_domain_name #custom_domain_name} => String
1319
+ # * {Types::GetCustomDomainAssociationResponse#workgroup_name #workgroup_name} => String
1320
+ #
1321
+ # @example Request syntax with placeholder values
1322
+ #
1323
+ # resp = client.get_custom_domain_association({
1324
+ # custom_domain_name: "CustomDomainName", # required
1325
+ # workgroup_name: "WorkgroupName", # required
1326
+ # })
1327
+ #
1328
+ # @example Response structure
1329
+ #
1330
+ # resp.custom_domain_certificate_arn #=> String
1331
+ # resp.custom_domain_certificate_expiry_time #=> Time
1332
+ # resp.custom_domain_name #=> String
1333
+ # resp.workgroup_name #=> String
1334
+ #
1335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetCustomDomainAssociation AWS API Documentation
1336
+ #
1337
+ # @overload get_custom_domain_association(params = {})
1338
+ # @param [Hash] params ({})
1339
+ def get_custom_domain_association(params = {}, options = {})
1340
+ req = build_request(:get_custom_domain_association, params)
1341
+ req.send_request(options)
1342
+ end
1343
+
1227
1344
  # Returns information, such as the name, about a VPC endpoint.
1228
1345
  #
1229
1346
  # @option params [required, String] :endpoint_name
@@ -1532,6 +1649,9 @@ module Aws::RedshiftServerless
1532
1649
  # resp.workgroup.config_parameters[0].parameter_key #=> String
1533
1650
  # resp.workgroup.config_parameters[0].parameter_value #=> String
1534
1651
  # resp.workgroup.creation_date #=> Time
1652
+ # resp.workgroup.custom_domain_certificate_arn #=> String
1653
+ # resp.workgroup.custom_domain_certificate_expiry_time #=> Time
1654
+ # resp.workgroup.custom_domain_name #=> String
1535
1655
  # resp.workgroup.endpoint.address #=> String
1536
1656
  # resp.workgroup.endpoint.port #=> Integer
1537
1657
  # resp.workgroup.endpoint.vpc_endpoints #=> Array
@@ -1566,6 +1686,57 @@ module Aws::RedshiftServerless
1566
1686
  req.send_request(options)
1567
1687
  end
1568
1688
 
1689
+ # Lists custom domain associations for Amazon Redshift Serverless.
1690
+ #
1691
+ # @option params [String] :custom_domain_certificate_arn
1692
+ # The custom domain name’s certificate Amazon resource name (ARN).
1693
+ #
1694
+ # @option params [String] :custom_domain_name
1695
+ # The custom domain name associated with the workgroup.
1696
+ #
1697
+ # @option params [Integer] :max_results
1698
+ # An optional parameter that specifies the maximum number of results to
1699
+ # return. You can use `nextToken` to display the next page of results.
1700
+ #
1701
+ # @option params [String] :next_token
1702
+ # When `nextToken` is returned, there are more results available. The
1703
+ # value of `nextToken` is a unique pagination token for each page. Make
1704
+ # the call again using the returned token to retrieve the next page.
1705
+ #
1706
+ # @return [Types::ListCustomDomainAssociationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1707
+ #
1708
+ # * {Types::ListCustomDomainAssociationsResponse#associations #associations} => Array&lt;Types::Association&gt;
1709
+ # * {Types::ListCustomDomainAssociationsResponse#next_token #next_token} => String
1710
+ #
1711
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1712
+ #
1713
+ # @example Request syntax with placeholder values
1714
+ #
1715
+ # resp = client.list_custom_domain_associations({
1716
+ # custom_domain_certificate_arn: "CustomDomainCertificateArnString",
1717
+ # custom_domain_name: "CustomDomainName",
1718
+ # max_results: 1,
1719
+ # next_token: "PaginationToken",
1720
+ # })
1721
+ #
1722
+ # @example Response structure
1723
+ #
1724
+ # resp.associations #=> Array
1725
+ # resp.associations[0].custom_domain_certificate_arn #=> String
1726
+ # resp.associations[0].custom_domain_certificate_expiry_time #=> Time
1727
+ # resp.associations[0].custom_domain_name #=> String
1728
+ # resp.associations[0].workgroup_name #=> String
1729
+ # resp.next_token #=> String
1730
+ #
1731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListCustomDomainAssociations AWS API Documentation
1732
+ #
1733
+ # @overload list_custom_domain_associations(params = {})
1734
+ # @param [Hash] params ({})
1735
+ def list_custom_domain_associations(params = {}, options = {})
1736
+ req = build_request(:list_custom_domain_associations, params)
1737
+ req.send_request(options)
1738
+ end
1739
+
1569
1740
  # Returns an array of `EndpointAccess` objects and relevant information.
1570
1741
  #
1571
1742
  # @option params [Integer] :max_results
@@ -2020,6 +2191,9 @@ module Aws::RedshiftServerless
2020
2191
  # resp.workgroups[0].config_parameters[0].parameter_key #=> String
2021
2192
  # resp.workgroups[0].config_parameters[0].parameter_value #=> String
2022
2193
  # resp.workgroups[0].creation_date #=> Time
2194
+ # resp.workgroups[0].custom_domain_certificate_arn #=> String
2195
+ # resp.workgroups[0].custom_domain_certificate_expiry_time #=> Time
2196
+ # resp.workgroups[0].custom_domain_name #=> String
2023
2197
  # resp.workgroups[0].endpoint.address #=> String
2024
2198
  # resp.workgroups[0].endpoint.port #=> Integer
2025
2199
  # resp.workgroups[0].endpoint.vpc_endpoints #=> Array
@@ -2372,6 +2546,50 @@ module Aws::RedshiftServerless
2372
2546
  req.send_request(options)
2373
2547
  end
2374
2548
 
2549
+ # Updates an Amazon Redshift Serverless certificate associated with a
2550
+ # custom domain.
2551
+ #
2552
+ # @option params [required, String] :custom_domain_certificate_arn
2553
+ # The custom domain name’s certificate Amazon resource name (ARN). This
2554
+ # is optional.
2555
+ #
2556
+ # @option params [required, String] :custom_domain_name
2557
+ # The custom domain name associated with the workgroup.
2558
+ #
2559
+ # @option params [required, String] :workgroup_name
2560
+ # The name of the workgroup associated with the database.
2561
+ #
2562
+ # @return [Types::UpdateCustomDomainAssociationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2563
+ #
2564
+ # * {Types::UpdateCustomDomainAssociationResponse#custom_domain_certificate_arn #custom_domain_certificate_arn} => String
2565
+ # * {Types::UpdateCustomDomainAssociationResponse#custom_domain_certificate_expiry_time #custom_domain_certificate_expiry_time} => Time
2566
+ # * {Types::UpdateCustomDomainAssociationResponse#custom_domain_name #custom_domain_name} => String
2567
+ # * {Types::UpdateCustomDomainAssociationResponse#workgroup_name #workgroup_name} => String
2568
+ #
2569
+ # @example Request syntax with placeholder values
2570
+ #
2571
+ # resp = client.update_custom_domain_association({
2572
+ # custom_domain_certificate_arn: "CustomDomainCertificateArnString", # required
2573
+ # custom_domain_name: "CustomDomainName", # required
2574
+ # workgroup_name: "WorkgroupName", # required
2575
+ # })
2576
+ #
2577
+ # @example Response structure
2578
+ #
2579
+ # resp.custom_domain_certificate_arn #=> String
2580
+ # resp.custom_domain_certificate_expiry_time #=> Time
2581
+ # resp.custom_domain_name #=> String
2582
+ # resp.workgroup_name #=> String
2583
+ #
2584
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateCustomDomainAssociation AWS API Documentation
2585
+ #
2586
+ # @overload update_custom_domain_association(params = {})
2587
+ # @param [Hash] params ({})
2588
+ def update_custom_domain_association(params = {}, options = {})
2589
+ req = build_request(:update_custom_domain_association, params)
2590
+ req.send_request(options)
2591
+ end
2592
+
2375
2593
  # Updates an Amazon Redshift Serverless managed endpoint.
2376
2594
  #
2377
2595
  # @option params [required, String] :endpoint_name
@@ -2695,6 +2913,9 @@ module Aws::RedshiftServerless
2695
2913
  # resp.workgroup.config_parameters[0].parameter_key #=> String
2696
2914
  # resp.workgroup.config_parameters[0].parameter_value #=> String
2697
2915
  # resp.workgroup.creation_date #=> Time
2916
+ # resp.workgroup.custom_domain_certificate_arn #=> String
2917
+ # resp.workgroup.custom_domain_certificate_expiry_time #=> Time
2918
+ # resp.workgroup.custom_domain_name #=> String
2698
2919
  # resp.workgroup.endpoint.address #=> String
2699
2920
  # resp.workgroup.endpoint.port #=> Integer
2700
2921
  # resp.workgroup.endpoint.vpc_endpoints #=> Array
@@ -2742,7 +2963,7 @@ module Aws::RedshiftServerless
2742
2963
  params: params,
2743
2964
  config: config)
2744
2965
  context[:gem_name] = 'aws-sdk-redshiftserverless'
2745
- context[:gem_version] = '1.16.0'
2966
+ context[:gem_version] = '1.17.0'
2746
2967
  Seahorse::Client::Request.new(handlers, context)
2747
2968
  end
2748
2969
 
@@ -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"))
@@ -257,6 +291,12 @@ module Aws::RedshiftServerless
257
291
  CreateWorkgroupResponse.add_member(:workgroup, Shapes::ShapeRef.new(shape: Workgroup, location_name: "workgroup"))
258
292
  CreateWorkgroupResponse.struct_class = Types::CreateWorkgroupResponse
259
293
 
294
+ DeleteCustomDomainAssociationRequest.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, required: true, location_name: "customDomainName"))
295
+ DeleteCustomDomainAssociationRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, required: true, location_name: "workgroupName"))
296
+ DeleteCustomDomainAssociationRequest.struct_class = Types::DeleteCustomDomainAssociationRequest
297
+
298
+ DeleteCustomDomainAssociationResponse.struct_class = Types::DeleteCustomDomainAssociationResponse
299
+
260
300
  DeleteEndpointAccessRequest.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "endpointName"))
261
301
  DeleteEndpointAccessRequest.struct_class = Types::DeleteEndpointAccessRequest
262
302
 
@@ -313,9 +353,10 @@ module Aws::RedshiftServerless
313
353
 
314
354
  EndpointAccessList.member = Shapes::ShapeRef.new(shape: EndpointAccess)
315
355
 
356
+ GetCredentialsRequest.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, location_name: "customDomainName"))
316
357
  GetCredentialsRequest.add_member(:db_name, Shapes::ShapeRef.new(shape: DbName, location_name: "dbName"))
317
358
  GetCredentialsRequest.add_member(:duration_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "durationSeconds"))
318
- GetCredentialsRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, required: true, location_name: "workgroupName"))
359
+ GetCredentialsRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, location_name: "workgroupName"))
319
360
  GetCredentialsRequest.struct_class = Types::GetCredentialsRequest
320
361
 
321
362
  GetCredentialsResponse.add_member(:db_password, Shapes::ShapeRef.new(shape: DbPassword, location_name: "dbPassword"))
@@ -324,6 +365,16 @@ module Aws::RedshiftServerless
324
365
  GetCredentialsResponse.add_member(:next_refresh_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "nextRefreshTime"))
325
366
  GetCredentialsResponse.struct_class = Types::GetCredentialsResponse
326
367
 
368
+ GetCustomDomainAssociationRequest.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, required: true, location_name: "customDomainName"))
369
+ GetCustomDomainAssociationRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, required: true, location_name: "workgroupName"))
370
+ GetCustomDomainAssociationRequest.struct_class = Types::GetCustomDomainAssociationRequest
371
+
372
+ GetCustomDomainAssociationResponse.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "customDomainCertificateArn"))
373
+ GetCustomDomainAssociationResponse.add_member(:custom_domain_certificate_expiry_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "customDomainCertificateExpiryTime"))
374
+ GetCustomDomainAssociationResponse.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, location_name: "customDomainName"))
375
+ GetCustomDomainAssociationResponse.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, location_name: "workgroupName"))
376
+ GetCustomDomainAssociationResponse.struct_class = Types::GetCustomDomainAssociationResponse
377
+
327
378
  GetEndpointAccessRequest.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "endpointName"))
328
379
  GetEndpointAccessRequest.struct_class = Types::GetEndpointAccessRequest
329
380
 
@@ -385,6 +436,16 @@ module Aws::RedshiftServerless
385
436
  InvalidPaginationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
386
437
  InvalidPaginationException.struct_class = Types::InvalidPaginationException
387
438
 
439
+ ListCustomDomainAssociationsRequest.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "customDomainCertificateArn"))
440
+ ListCustomDomainAssociationsRequest.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, location_name: "customDomainName"))
441
+ ListCustomDomainAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListCustomDomainAssociationsRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
442
+ ListCustomDomainAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
443
+ ListCustomDomainAssociationsRequest.struct_class = Types::ListCustomDomainAssociationsRequest
444
+
445
+ ListCustomDomainAssociationsResponse.add_member(:associations, Shapes::ShapeRef.new(shape: AssociationList, location_name: "associations"))
446
+ ListCustomDomainAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
447
+ ListCustomDomainAssociationsResponse.struct_class = Types::ListCustomDomainAssociationsResponse
448
+
388
449
  ListEndpointAccessRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEndpointAccessRequestMaxResultsInteger, location_name: "maxResults", metadata: {"box"=>true}))
389
450
  ListEndpointAccessRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
390
451
  ListEndpointAccessRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: String, location_name: "vpcId"))
@@ -632,6 +693,17 @@ module Aws::RedshiftServerless
632
693
 
633
694
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
634
695
 
696
+ UpdateCustomDomainAssociationRequest.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, required: true, location_name: "customDomainCertificateArn"))
697
+ UpdateCustomDomainAssociationRequest.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, required: true, location_name: "customDomainName"))
698
+ UpdateCustomDomainAssociationRequest.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, required: true, location_name: "workgroupName"))
699
+ UpdateCustomDomainAssociationRequest.struct_class = Types::UpdateCustomDomainAssociationRequest
700
+
701
+ UpdateCustomDomainAssociationResponse.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "customDomainCertificateArn"))
702
+ UpdateCustomDomainAssociationResponse.add_member(:custom_domain_certificate_expiry_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "customDomainCertificateExpiryTime"))
703
+ UpdateCustomDomainAssociationResponse.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, location_name: "customDomainName"))
704
+ UpdateCustomDomainAssociationResponse.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, location_name: "workgroupName"))
705
+ UpdateCustomDomainAssociationResponse.struct_class = Types::UpdateCustomDomainAssociationResponse
706
+
635
707
  UpdateEndpointAccessRequest.add_member(:endpoint_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "endpointName"))
636
708
  UpdateEndpointAccessRequest.add_member(:vpc_security_group_ids, Shapes::ShapeRef.new(shape: VpcSecurityGroupIdList, location_name: "vpcSecurityGroupIds"))
637
709
  UpdateEndpointAccessRequest.struct_class = Types::UpdateEndpointAccessRequest
@@ -713,6 +785,9 @@ module Aws::RedshiftServerless
713
785
  Workgroup.add_member(:base_capacity, Shapes::ShapeRef.new(shape: Integer, location_name: "baseCapacity"))
714
786
  Workgroup.add_member(:config_parameters, Shapes::ShapeRef.new(shape: ConfigParameterList, location_name: "configParameters"))
715
787
  Workgroup.add_member(:creation_date, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "creationDate"))
788
+ Workgroup.add_member(:custom_domain_certificate_arn, Shapes::ShapeRef.new(shape: CustomDomainCertificateArnString, location_name: "customDomainCertificateArn"))
789
+ Workgroup.add_member(:custom_domain_certificate_expiry_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "customDomainCertificateExpiryTime"))
790
+ Workgroup.add_member(:custom_domain_name, Shapes::ShapeRef.new(shape: CustomDomainName, location_name: "customDomainName"))
716
791
  Workgroup.add_member(:endpoint, Shapes::ShapeRef.new(shape: Endpoint, location_name: "endpoint"))
717
792
  Workgroup.add_member(:enhanced_vpc_routing, Shapes::ShapeRef.new(shape: Boolean, location_name: "enhancedVpcRouting"))
718
793
  Workgroup.add_member(:namespace_name, Shapes::ShapeRef.new(shape: String, location_name: "namespaceName"))
@@ -763,6 +838,20 @@ module Aws::RedshiftServerless
763
838
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
764
839
  end)
765
840
 
841
+ api.add_operation(:create_custom_domain_association, Seahorse::Model::Operation.new.tap do |o|
842
+ o.name = "CreateCustomDomainAssociation"
843
+ o.http_method = "POST"
844
+ o.http_request_uri = "/"
845
+ o.input = Shapes::ShapeRef.new(shape: CreateCustomDomainAssociationRequest)
846
+ o.output = Shapes::ShapeRef.new(shape: CreateCustomDomainAssociationResponse)
847
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
848
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
849
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
850
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
851
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
852
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
853
+ end)
854
+
766
855
  api.add_operation(:create_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
767
856
  o.name = "CreateEndpointAccess"
768
857
  o.http_method = "POST"
@@ -830,6 +919,20 @@ module Aws::RedshiftServerless
830
919
  o.errors << Shapes::ShapeRef.new(shape: TooManyTagsException)
831
920
  end)
832
921
 
922
+ api.add_operation(:delete_custom_domain_association, Seahorse::Model::Operation.new.tap do |o|
923
+ o.name = "DeleteCustomDomainAssociation"
924
+ o.http_method = "POST"
925
+ o.http_request_uri = "/"
926
+ o.input = Shapes::ShapeRef.new(shape: DeleteCustomDomainAssociationRequest)
927
+ o.output = Shapes::ShapeRef.new(shape: DeleteCustomDomainAssociationResponse)
928
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
929
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
930
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
931
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
932
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
933
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
934
+ end)
935
+
833
936
  api.add_operation(:delete_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
834
937
  o.name = "DeleteEndpointAccess"
835
938
  o.http_method = "POST"
@@ -912,6 +1015,20 @@ module Aws::RedshiftServerless
912
1015
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
913
1016
  end)
914
1017
 
1018
+ api.add_operation(:get_custom_domain_association, Seahorse::Model::Operation.new.tap do |o|
1019
+ o.name = "GetCustomDomainAssociation"
1020
+ o.http_method = "POST"
1021
+ o.http_request_uri = "/"
1022
+ o.input = Shapes::ShapeRef.new(shape: GetCustomDomainAssociationRequest)
1023
+ o.output = Shapes::ShapeRef.new(shape: GetCustomDomainAssociationResponse)
1024
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1025
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1026
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1027
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1028
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1029
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1030
+ end)
1031
+
915
1032
  api.add_operation(:get_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
916
1033
  o.name = "GetEndpointAccess"
917
1034
  o.http_method = "POST"
@@ -1002,6 +1119,25 @@ module Aws::RedshiftServerless
1002
1119
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1003
1120
  end)
1004
1121
 
1122
+ api.add_operation(:list_custom_domain_associations, Seahorse::Model::Operation.new.tap do |o|
1123
+ o.name = "ListCustomDomainAssociations"
1124
+ o.http_method = "POST"
1125
+ o.http_request_uri = "/"
1126
+ o.input = Shapes::ShapeRef.new(shape: ListCustomDomainAssociationsRequest)
1127
+ o.output = Shapes::ShapeRef.new(shape: ListCustomDomainAssociationsResponse)
1128
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1129
+ o.errors << Shapes::ShapeRef.new(shape: InvalidPaginationException)
1130
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1131
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1132
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1133
+ o[:pager] = Aws::Pager.new(
1134
+ limit_key: "max_results",
1135
+ tokens: {
1136
+ "next_token" => "next_token"
1137
+ }
1138
+ )
1139
+ end)
1140
+
1005
1141
  api.add_operation(:list_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
1006
1142
  o.name = "ListEndpointAccess"
1007
1143
  o.http_method = "POST"
@@ -1208,6 +1344,20 @@ module Aws::RedshiftServerless
1208
1344
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1209
1345
  end)
1210
1346
 
1347
+ api.add_operation(:update_custom_domain_association, Seahorse::Model::Operation.new.tap do |o|
1348
+ o.name = "UpdateCustomDomainAssociation"
1349
+ o.http_method = "POST"
1350
+ o.http_request_uri = "/"
1351
+ o.input = Shapes::ShapeRef.new(shape: UpdateCustomDomainAssociationRequest)
1352
+ o.output = Shapes::ShapeRef.new(shape: UpdateCustomDomainAssociationResponse)
1353
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1354
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1355
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1356
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1357
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1358
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1359
+ end)
1360
+
1211
1361
  api.add_operation(:update_endpoint_access, Seahorse::Model::Operation.new.tap do |o|
1212
1362
  o.name = "UpdateEndpointAccess"
1213
1363
  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
@@ -424,6 +502,27 @@ module Aws::RedshiftServerless
424
502
  include Aws::Structure
425
503
  end
426
504
 
505
+ # @!attribute [rw] custom_domain_name
506
+ # The custom domain name associated with the workgroup.
507
+ # @return [String]
508
+ #
509
+ # @!attribute [rw] workgroup_name
510
+ # The name of the workgroup associated with the database.
511
+ # @return [String]
512
+ #
513
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteCustomDomainAssociationRequest AWS API Documentation
514
+ #
515
+ class DeleteCustomDomainAssociationRequest < Struct.new(
516
+ :custom_domain_name,
517
+ :workgroup_name)
518
+ SENSITIVE = []
519
+ include Aws::Structure
520
+ end
521
+
522
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/DeleteCustomDomainAssociationResponse AWS API Documentation
523
+ #
524
+ class DeleteCustomDomainAssociationResponse < Aws::EmptyStructure; end
525
+
427
526
  # @!attribute [rw] endpoint_name
428
527
  # The name of the VPC endpoint to delete.
429
528
  # @return [String]
@@ -657,6 +756,11 @@ module Aws::RedshiftServerless
657
756
  include Aws::Structure
658
757
  end
659
758
 
759
+ # @!attribute [rw] custom_domain_name
760
+ # The custom domain name associated with the workgroup. The custom
761
+ # domain name or the workgroup name must be included in the request.
762
+ # @return [String]
763
+ #
660
764
  # @!attribute [rw] db_name
661
765
  # The name of the database to get temporary authorization to log on
662
766
  # to.
@@ -693,6 +797,7 @@ module Aws::RedshiftServerless
693
797
  # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetCredentialsRequest AWS API Documentation
694
798
  #
695
799
  class GetCredentialsRequest < Struct.new(
800
+ :custom_domain_name,
696
801
  :db_name,
697
802
  :duration_seconds,
698
803
  :workgroup_name)
@@ -733,6 +838,50 @@ module Aws::RedshiftServerless
733
838
  include Aws::Structure
734
839
  end
735
840
 
841
+ # @!attribute [rw] custom_domain_name
842
+ # The custom domain name associated with the workgroup.
843
+ # @return [String]
844
+ #
845
+ # @!attribute [rw] workgroup_name
846
+ # The name of the workgroup associated with the database.
847
+ # @return [String]
848
+ #
849
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetCustomDomainAssociationRequest AWS API Documentation
850
+ #
851
+ class GetCustomDomainAssociationRequest < Struct.new(
852
+ :custom_domain_name,
853
+ :workgroup_name)
854
+ SENSITIVE = []
855
+ include Aws::Structure
856
+ end
857
+
858
+ # @!attribute [rw] custom_domain_certificate_arn
859
+ # The custom domain name’s certificate Amazon resource name (ARN).
860
+ # @return [String]
861
+ #
862
+ # @!attribute [rw] custom_domain_certificate_expiry_time
863
+ # The expiration time for the certificate.
864
+ # @return [Time]
865
+ #
866
+ # @!attribute [rw] custom_domain_name
867
+ # The custom domain name associated with the workgroup.
868
+ # @return [String]
869
+ #
870
+ # @!attribute [rw] workgroup_name
871
+ # The name of the workgroup associated with the database.
872
+ # @return [String]
873
+ #
874
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/GetCustomDomainAssociationResponse AWS API Documentation
875
+ #
876
+ class GetCustomDomainAssociationResponse < Struct.new(
877
+ :custom_domain_certificate_arn,
878
+ :custom_domain_certificate_expiry_time,
879
+ :custom_domain_name,
880
+ :workgroup_name)
881
+ SENSITIVE = []
882
+ include Aws::Structure
883
+ end
884
+
736
885
  # @!attribute [rw] endpoint_name
737
886
  # The name of the VPC endpoint to return information for.
738
887
  # @return [String]
@@ -979,6 +1128,58 @@ module Aws::RedshiftServerless
979
1128
  include Aws::Structure
980
1129
  end
981
1130
 
1131
+ # @!attribute [rw] custom_domain_certificate_arn
1132
+ # The custom domain name’s certificate Amazon resource name (ARN).
1133
+ # @return [String]
1134
+ #
1135
+ # @!attribute [rw] custom_domain_name
1136
+ # The custom domain name associated with the workgroup.
1137
+ # @return [String]
1138
+ #
1139
+ # @!attribute [rw] max_results
1140
+ # An optional parameter that specifies the maximum number of results
1141
+ # to return. You can use `nextToken` to display the next page of
1142
+ # results.
1143
+ # @return [Integer]
1144
+ #
1145
+ # @!attribute [rw] next_token
1146
+ # When `nextToken` is returned, there are more results available. The
1147
+ # value of `nextToken` is a unique pagination token for each page.
1148
+ # Make the call again using the returned token to retrieve the next
1149
+ # page.
1150
+ # @return [String]
1151
+ #
1152
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListCustomDomainAssociationsRequest AWS API Documentation
1153
+ #
1154
+ class ListCustomDomainAssociationsRequest < Struct.new(
1155
+ :custom_domain_certificate_arn,
1156
+ :custom_domain_name,
1157
+ :max_results,
1158
+ :next_token)
1159
+ SENSITIVE = []
1160
+ include Aws::Structure
1161
+ end
1162
+
1163
+ # @!attribute [rw] associations
1164
+ # A list of Association objects.
1165
+ # @return [Array<Types::Association>]
1166
+ #
1167
+ # @!attribute [rw] next_token
1168
+ # When `nextToken` is returned, there are more results available. The
1169
+ # value of `nextToken` is a unique pagination token for each page.
1170
+ # Make the call again using the returned token to retrieve the next
1171
+ # page.
1172
+ # @return [String]
1173
+ #
1174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/ListCustomDomainAssociationsResponse AWS API Documentation
1175
+ #
1176
+ class ListCustomDomainAssociationsResponse < Struct.new(
1177
+ :associations,
1178
+ :next_token)
1179
+ SENSITIVE = []
1180
+ include Aws::Structure
1181
+ end
1182
+
982
1183
  # @!attribute [rw] max_results
983
1184
  # An optional parameter that specifies the maximum number of results
984
1185
  # to return. You can use `nextToken` to display the next page of
@@ -2127,6 +2328,56 @@ module Aws::RedshiftServerless
2127
2328
  #
2128
2329
  class UntagResourceResponse < Aws::EmptyStructure; end
2129
2330
 
2331
+ # @!attribute [rw] custom_domain_certificate_arn
2332
+ # The custom domain name’s certificate Amazon resource name (ARN).
2333
+ # This is optional.
2334
+ # @return [String]
2335
+ #
2336
+ # @!attribute [rw] custom_domain_name
2337
+ # The custom domain name associated with the workgroup.
2338
+ # @return [String]
2339
+ #
2340
+ # @!attribute [rw] workgroup_name
2341
+ # The name of the workgroup associated with the database.
2342
+ # @return [String]
2343
+ #
2344
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateCustomDomainAssociationRequest AWS API Documentation
2345
+ #
2346
+ class UpdateCustomDomainAssociationRequest < Struct.new(
2347
+ :custom_domain_certificate_arn,
2348
+ :custom_domain_name,
2349
+ :workgroup_name)
2350
+ SENSITIVE = []
2351
+ include Aws::Structure
2352
+ end
2353
+
2354
+ # @!attribute [rw] custom_domain_certificate_arn
2355
+ # The custom domain name’s certificate Amazon resource name (ARN).
2356
+ # @return [String]
2357
+ #
2358
+ # @!attribute [rw] custom_domain_certificate_expiry_time
2359
+ # The expiration time for the certificate.
2360
+ # @return [Time]
2361
+ #
2362
+ # @!attribute [rw] custom_domain_name
2363
+ # The custom domain name associated with the workgroup.
2364
+ # @return [String]
2365
+ #
2366
+ # @!attribute [rw] workgroup_name
2367
+ # The name of the workgroup associated with the database.
2368
+ # @return [String]
2369
+ #
2370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/redshift-serverless-2021-04-21/UpdateCustomDomainAssociationResponse AWS API Documentation
2371
+ #
2372
+ class UpdateCustomDomainAssociationResponse < Struct.new(
2373
+ :custom_domain_certificate_arn,
2374
+ :custom_domain_certificate_expiry_time,
2375
+ :custom_domain_name,
2376
+ :workgroup_name)
2377
+ SENSITIVE = []
2378
+ include Aws::Structure
2379
+ end
2380
+
2130
2381
  # @!attribute [rw] endpoint_name
2131
2382
  # The name of the VPC endpoint to update.
2132
2383
  # @return [String]
@@ -2519,6 +2770,18 @@ module Aws::RedshiftServerless
2519
2770
  # The creation date of the workgroup.
2520
2771
  # @return [Time]
2521
2772
  #
2773
+ # @!attribute [rw] custom_domain_certificate_arn
2774
+ # The custom domain name’s certificate Amazon resource name (ARN).
2775
+ # @return [String]
2776
+ #
2777
+ # @!attribute [rw] custom_domain_certificate_expiry_time
2778
+ # The expiration time for the certificate.
2779
+ # @return [Time]
2780
+ #
2781
+ # @!attribute [rw] custom_domain_name
2782
+ # The custom domain name associated with the workgroup.
2783
+ # @return [String]
2784
+ #
2522
2785
  # @!attribute [rw] endpoint
2523
2786
  # The endpoint that is created from the workgroup.
2524
2787
  # @return [Types::Endpoint]
@@ -2593,6 +2856,9 @@ module Aws::RedshiftServerless
2593
2856
  :base_capacity,
2594
2857
  :config_parameters,
2595
2858
  :creation_date,
2859
+ :custom_domain_certificate_arn,
2860
+ :custom_domain_certificate_expiry_time,
2861
+ :custom_domain_name,
2596
2862
  :endpoint,
2597
2863
  :enhanced_vpc_routing,
2598
2864
  :namespace_name,
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-redshiftserverless/customizations'
52
52
  # @!group service
53
53
  module Aws::RedshiftServerless
54
54
 
55
- GEM_VERSION = '1.16.0'
55
+ GEM_VERSION = '1.17.0'
56
56
 
57
57
  end
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.16.0
4
+ version: 1.17.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-10-23 00:00:00.000000000 Z
11
+ date: 2023-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core