Skip to content

Commit 10d157f

Browse files
author
awstools
committed
feat(client-redshift): Added support for custom domain names for Redshift Provisioned clusters. This feature enables customers to create a custom domain name and use ACM to generate fully secure connections to it.
1 parent d0594b9 commit 10d157f

37 files changed

+2862
-547
lines changed

clients/client-redshift/README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,14 @@ CreateClusterSubnetGroup
359359

360360
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/createclustersubnetgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/createclustersubnetgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/createclustersubnetgroupcommandoutput.html)
361361

362+
</details>
363+
<details>
364+
<summary>
365+
CreateCustomDomainAssociation
366+
</summary>
367+
368+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/createcustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/createcustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/createcustomdomainassociationcommandoutput.html)
369+
362370
</details>
363371
<details>
364372
<summary>
@@ -487,6 +495,14 @@ DeleteClusterSubnetGroup
487495

488496
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/deleteclustersubnetgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/deleteclustersubnetgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/deleteclustersubnetgroupcommandoutput.html)
489497

498+
</details>
499+
<details>
500+
<summary>
501+
DeleteCustomDomainAssociation
502+
</summary>
503+
504+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/deletecustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/deletecustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/deletecustomdomainassociationcommandoutput.html)
505+
490506
</details>
491507
<details>
492508
<summary>
@@ -655,6 +671,14 @@ DescribeClusterVersions
655671

656672
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/describeclusterversionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/describeclusterversionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/describeclusterversionscommandoutput.html)
657673

674+
</details>
675+
<details>
676+
<summary>
677+
DescribeCustomDomainAssociations
678+
</summary>
679+
680+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/describecustomdomainassociationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/describecustomdomainassociationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/describecustomdomainassociationscommandoutput.html)
681+
658682
</details>
659683
<details>
660684
<summary>
@@ -1015,6 +1039,14 @@ ModifyClusterSubnetGroup
10151039

10161040
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/modifyclustersubnetgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/modifyclustersubnetgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/modifyclustersubnetgroupcommandoutput.html)
10171041

1042+
</details>
1043+
<details>
1044+
<summary>
1045+
ModifyCustomDomainAssociation
1046+
</summary>
1047+
1048+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/modifycustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/modifycustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/modifycustomdomainassociationcommandoutput.html)
1049+
10181050
</details>
10191051
<details>
10201052
<summary>

clients/client-redshift/src/Redshift.ts

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ import {
8383
CreateClusterSubnetGroupCommandInput,
8484
CreateClusterSubnetGroupCommandOutput,
8585
} from "./commands/CreateClusterSubnetGroupCommand";
86+
import {
87+
CreateCustomDomainAssociationCommand,
88+
CreateCustomDomainAssociationCommandInput,
89+
CreateCustomDomainAssociationCommandOutput,
90+
} from "./commands/CreateCustomDomainAssociationCommand";
8691
import {
8792
CreateEndpointAccessCommand,
8893
CreateEndpointAccessCommandInput,
@@ -159,6 +164,11 @@ import {
159164
DeleteClusterSubnetGroupCommandInput,
160165
DeleteClusterSubnetGroupCommandOutput,
161166
} from "./commands/DeleteClusterSubnetGroupCommand";
167+
import {
168+
DeleteCustomDomainAssociationCommand,
169+
DeleteCustomDomainAssociationCommandInput,
170+
DeleteCustomDomainAssociationCommandOutput,
171+
} from "./commands/DeleteCustomDomainAssociationCommand";
162172
import {
163173
DeleteEndpointAccessCommand,
164174
DeleteEndpointAccessCommandInput,
@@ -260,6 +270,11 @@ import {
260270
DescribeClusterVersionsCommandInput,
261271
DescribeClusterVersionsCommandOutput,
262272
} from "./commands/DescribeClusterVersionsCommand";
273+
import {
274+
DescribeCustomDomainAssociationsCommand,
275+
DescribeCustomDomainAssociationsCommandInput,
276+
DescribeCustomDomainAssociationsCommandOutput,
277+
} from "./commands/DescribeCustomDomainAssociationsCommand";
263278
import {
264279
DescribeDataSharesCommand,
265280
DescribeDataSharesCommandInput,
@@ -485,6 +500,11 @@ import {
485500
ModifyClusterSubnetGroupCommandInput,
486501
ModifyClusterSubnetGroupCommandOutput,
487502
} from "./commands/ModifyClusterSubnetGroupCommand";
503+
import {
504+
ModifyCustomDomainAssociationCommand,
505+
ModifyCustomDomainAssociationCommandInput,
506+
ModifyCustomDomainAssociationCommandOutput,
507+
} from "./commands/ModifyCustomDomainAssociationCommand";
488508
import {
489509
ModifyEndpointAccessCommand,
490510
ModifyEndpointAccessCommandInput,
@@ -605,6 +625,7 @@ const commands = {
605625
CreateClusterSecurityGroupCommand,
606626
CreateClusterSnapshotCommand,
607627
CreateClusterSubnetGroupCommand,
628+
CreateCustomDomainAssociationCommand,
608629
CreateEndpointAccessCommand,
609630
CreateEventSubscriptionCommand,
610631
CreateHsmClientCertificateCommand,
@@ -621,6 +642,7 @@ const commands = {
621642
DeleteClusterSecurityGroupCommand,
622643
DeleteClusterSnapshotCommand,
623644
DeleteClusterSubnetGroupCommand,
645+
DeleteCustomDomainAssociationCommand,
624646
DeleteEndpointAccessCommand,
625647
DeleteEventSubscriptionCommand,
626648
DeleteHsmClientCertificateCommand,
@@ -642,6 +664,7 @@ const commands = {
642664
DescribeClusterSubnetGroupsCommand,
643665
DescribeClusterTracksCommand,
644666
DescribeClusterVersionsCommand,
667+
DescribeCustomDomainAssociationsCommand,
645668
DescribeDataSharesCommand,
646669
DescribeDataSharesForConsumerCommand,
647670
DescribeDataSharesForProducerCommand,
@@ -687,6 +710,7 @@ const commands = {
687710
ModifyClusterSnapshotCommand,
688711
ModifyClusterSnapshotScheduleCommand,
689712
ModifyClusterSubnetGroupCommand,
713+
ModifyCustomDomainAssociationCommand,
690714
ModifyEndpointAccessCommand,
691715
ModifyEventSubscriptionCommand,
692716
ModifyScheduledActionCommand,
@@ -981,6 +1005,23 @@ export interface Redshift {
9811005
cb: (err: any, data?: CreateClusterSubnetGroupCommandOutput) => void
9821006
): void;
9831007

1008+
/**
1009+
* @see {@link CreateCustomDomainAssociationCommand}
1010+
*/
1011+
createCustomDomainAssociation(
1012+
args: CreateCustomDomainAssociationCommandInput,
1013+
options?: __HttpHandlerOptions
1014+
): Promise<CreateCustomDomainAssociationCommandOutput>;
1015+
createCustomDomainAssociation(
1016+
args: CreateCustomDomainAssociationCommandInput,
1017+
cb: (err: any, data?: CreateCustomDomainAssociationCommandOutput) => void
1018+
): void;
1019+
createCustomDomainAssociation(
1020+
args: CreateCustomDomainAssociationCommandInput,
1021+
options: __HttpHandlerOptions,
1022+
cb: (err: any, data?: CreateCustomDomainAssociationCommandOutput) => void
1023+
): void;
1024+
9841025
/**
9851026
* @see {@link CreateEndpointAccessCommand}
9861027
*/
@@ -1241,6 +1282,23 @@ export interface Redshift {
12411282
cb: (err: any, data?: DeleteClusterSubnetGroupCommandOutput) => void
12421283
): void;
12431284

1285+
/**
1286+
* @see {@link DeleteCustomDomainAssociationCommand}
1287+
*/
1288+
deleteCustomDomainAssociation(
1289+
args: DeleteCustomDomainAssociationCommandInput,
1290+
options?: __HttpHandlerOptions
1291+
): Promise<DeleteCustomDomainAssociationCommandOutput>;
1292+
deleteCustomDomainAssociation(
1293+
args: DeleteCustomDomainAssociationCommandInput,
1294+
cb: (err: any, data?: DeleteCustomDomainAssociationCommandOutput) => void
1295+
): void;
1296+
deleteCustomDomainAssociation(
1297+
args: DeleteCustomDomainAssociationCommandInput,
1298+
options: __HttpHandlerOptions,
1299+
cb: (err: any, data?: DeleteCustomDomainAssociationCommandOutput) => void
1300+
): void;
1301+
12441302
/**
12451303
* @see {@link DeleteEndpointAccessCommand}
12461304
*/
@@ -1586,6 +1644,23 @@ export interface Redshift {
15861644
cb: (err: any, data?: DescribeClusterVersionsCommandOutput) => void
15871645
): void;
15881646

1647+
/**
1648+
* @see {@link DescribeCustomDomainAssociationsCommand}
1649+
*/
1650+
describeCustomDomainAssociations(
1651+
args: DescribeCustomDomainAssociationsCommandInput,
1652+
options?: __HttpHandlerOptions
1653+
): Promise<DescribeCustomDomainAssociationsCommandOutput>;
1654+
describeCustomDomainAssociations(
1655+
args: DescribeCustomDomainAssociationsCommandInput,
1656+
cb: (err: any, data?: DescribeCustomDomainAssociationsCommandOutput) => void
1657+
): void;
1658+
describeCustomDomainAssociations(
1659+
args: DescribeCustomDomainAssociationsCommandInput,
1660+
options: __HttpHandlerOptions,
1661+
cb: (err: any, data?: DescribeCustomDomainAssociationsCommandOutput) => void
1662+
): void;
1663+
15891664
/**
15901665
* @see {@link DescribeDataSharesCommand}
15911666
*/
@@ -2321,6 +2396,23 @@ export interface Redshift {
23212396
cb: (err: any, data?: ModifyClusterSubnetGroupCommandOutput) => void
23222397
): void;
23232398

2399+
/**
2400+
* @see {@link ModifyCustomDomainAssociationCommand}
2401+
*/
2402+
modifyCustomDomainAssociation(
2403+
args: ModifyCustomDomainAssociationCommandInput,
2404+
options?: __HttpHandlerOptions
2405+
): Promise<ModifyCustomDomainAssociationCommandOutput>;
2406+
modifyCustomDomainAssociation(
2407+
args: ModifyCustomDomainAssociationCommandInput,
2408+
cb: (err: any, data?: ModifyCustomDomainAssociationCommandOutput) => void
2409+
): void;
2410+
modifyCustomDomainAssociation(
2411+
args: ModifyCustomDomainAssociationCommandInput,
2412+
options: __HttpHandlerOptions,
2413+
cb: (err: any, data?: ModifyCustomDomainAssociationCommandOutput) => void
2414+
): void;
2415+
23242416
/**
23252417
* @see {@link ModifyEndpointAccessCommand}
23262418
*/

clients/client-redshift/src/RedshiftClient.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ import {
107107
CreateClusterSubnetGroupCommandInput,
108108
CreateClusterSubnetGroupCommandOutput,
109109
} from "./commands/CreateClusterSubnetGroupCommand";
110+
import {
111+
CreateCustomDomainAssociationCommandInput,
112+
CreateCustomDomainAssociationCommandOutput,
113+
} from "./commands/CreateCustomDomainAssociationCommand";
110114
import {
111115
CreateEndpointAccessCommandInput,
112116
CreateEndpointAccessCommandOutput,
@@ -162,6 +166,10 @@ import {
162166
DeleteClusterSubnetGroupCommandInput,
163167
DeleteClusterSubnetGroupCommandOutput,
164168
} from "./commands/DeleteClusterSubnetGroupCommand";
169+
import {
170+
DeleteCustomDomainAssociationCommandInput,
171+
DeleteCustomDomainAssociationCommandOutput,
172+
} from "./commands/DeleteCustomDomainAssociationCommand";
165173
import {
166174
DeleteEndpointAccessCommandInput,
167175
DeleteEndpointAccessCommandOutput,
@@ -234,6 +242,10 @@ import {
234242
DescribeClusterVersionsCommandInput,
235243
DescribeClusterVersionsCommandOutput,
236244
} from "./commands/DescribeClusterVersionsCommand";
245+
import {
246+
DescribeCustomDomainAssociationsCommandInput,
247+
DescribeCustomDomainAssociationsCommandOutput,
248+
} from "./commands/DescribeCustomDomainAssociationsCommand";
237249
import { DescribeDataSharesCommandInput, DescribeDataSharesCommandOutput } from "./commands/DescribeDataSharesCommand";
238250
import {
239251
DescribeDataSharesForConsumerCommandInput,
@@ -384,6 +396,10 @@ import {
384396
ModifyClusterSubnetGroupCommandInput,
385397
ModifyClusterSubnetGroupCommandOutput,
386398
} from "./commands/ModifyClusterSubnetGroupCommand";
399+
import {
400+
ModifyCustomDomainAssociationCommandInput,
401+
ModifyCustomDomainAssociationCommandOutput,
402+
} from "./commands/ModifyCustomDomainAssociationCommand";
387403
import {
388404
ModifyEndpointAccessCommandInput,
389405
ModifyEndpointAccessCommandOutput,
@@ -477,6 +493,7 @@ export type ServiceInputTypes =
477493
| CreateClusterSecurityGroupCommandInput
478494
| CreateClusterSnapshotCommandInput
479495
| CreateClusterSubnetGroupCommandInput
496+
| CreateCustomDomainAssociationCommandInput
480497
| CreateEndpointAccessCommandInput
481498
| CreateEventSubscriptionCommandInput
482499
| CreateHsmClientCertificateCommandInput
@@ -493,6 +510,7 @@ export type ServiceInputTypes =
493510
| DeleteClusterSecurityGroupCommandInput
494511
| DeleteClusterSnapshotCommandInput
495512
| DeleteClusterSubnetGroupCommandInput
513+
| DeleteCustomDomainAssociationCommandInput
496514
| DeleteEndpointAccessCommandInput
497515
| DeleteEventSubscriptionCommandInput
498516
| DeleteHsmClientCertificateCommandInput
@@ -514,6 +532,7 @@ export type ServiceInputTypes =
514532
| DescribeClusterTracksCommandInput
515533
| DescribeClusterVersionsCommandInput
516534
| DescribeClustersCommandInput
535+
| DescribeCustomDomainAssociationsCommandInput
517536
| DescribeDataSharesCommandInput
518537
| DescribeDataSharesForConsumerCommandInput
519538
| DescribeDataSharesForProducerCommandInput
@@ -559,6 +578,7 @@ export type ServiceInputTypes =
559578
| ModifyClusterSnapshotCommandInput
560579
| ModifyClusterSnapshotScheduleCommandInput
561580
| ModifyClusterSubnetGroupCommandInput
581+
| ModifyCustomDomainAssociationCommandInput
562582
| ModifyEndpointAccessCommandInput
563583
| ModifyEventSubscriptionCommandInput
564584
| ModifyScheduledActionCommandInput
@@ -601,6 +621,7 @@ export type ServiceOutputTypes =
601621
| CreateClusterSecurityGroupCommandOutput
602622
| CreateClusterSnapshotCommandOutput
603623
| CreateClusterSubnetGroupCommandOutput
624+
| CreateCustomDomainAssociationCommandOutput
604625
| CreateEndpointAccessCommandOutput
605626
| CreateEventSubscriptionCommandOutput
606627
| CreateHsmClientCertificateCommandOutput
@@ -617,6 +638,7 @@ export type ServiceOutputTypes =
617638
| DeleteClusterSecurityGroupCommandOutput
618639
| DeleteClusterSnapshotCommandOutput
619640
| DeleteClusterSubnetGroupCommandOutput
641+
| DeleteCustomDomainAssociationCommandOutput
620642
| DeleteEndpointAccessCommandOutput
621643
| DeleteEventSubscriptionCommandOutput
622644
| DeleteHsmClientCertificateCommandOutput
@@ -638,6 +660,7 @@ export type ServiceOutputTypes =
638660
| DescribeClusterTracksCommandOutput
639661
| DescribeClusterVersionsCommandOutput
640662
| DescribeClustersCommandOutput
663+
| DescribeCustomDomainAssociationsCommandOutput
641664
| DescribeDataSharesCommandOutput
642665
| DescribeDataSharesForConsumerCommandOutput
643666
| DescribeDataSharesForProducerCommandOutput
@@ -683,6 +706,7 @@ export type ServiceOutputTypes =
683706
| ModifyClusterSnapshotCommandOutput
684707
| ModifyClusterSnapshotScheduleCommandOutput
685708
| ModifyClusterSubnetGroupCommandOutput
709+
| ModifyCustomDomainAssociationCommandOutput
686710
| ModifyEndpointAccessCommandOutput
687711
| ModifyEventSubscriptionCommandOutput
688712
| ModifyScheduledActionCommandOutput

clients/client-redshift/src/commands/CreateClusterCommand.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
269269
* // TargetReservedNodeType: "STRING_VALUE",
270270
* // TargetReservedNodeCount: Number("int"),
271271
* // },
272+
* // CustomDomainName: "STRING_VALUE",
273+
* // CustomDomainCertificateArn: "STRING_VALUE",
274+
* // CustomDomainCertificateExpiryDate: new Date("TIMESTAMP"),
272275
* // },
273276
* // };
274277
*

0 commit comments

Comments
 (0)