Skip to content

Commit

Permalink
feat(client-redshift-serverless): Added support for custom domain nam…
Browse files Browse the repository at this point in the history
…es 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.
  • Loading branch information
awstools committed Oct 30, 2023
1 parent 6e64b56 commit 998eb07
Show file tree
Hide file tree
Showing 20 changed files with 2,497 additions and 39 deletions.
40 changes: 40 additions & 0 deletions clients/client-redshift-serverless/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,14 @@ ConvertRecoveryPointToSnapshot

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/convertrecoverypointtosnapshotcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/convertrecoverypointtosnapshotcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/convertrecoverypointtosnapshotcommandoutput.html)

</details>
<details>
<summary>
CreateCustomDomainAssociation
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/createcustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/createcustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/createcustomdomainassociationcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -261,6 +269,14 @@ CreateWorkgroup

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/createworkgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/createworkgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/createworkgroupcommandoutput.html)

</details>
<details>
<summary>
DeleteCustomDomainAssociation
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/deletecustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/deletecustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/deletecustomdomainassociationcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -317,6 +333,14 @@ GetCredentials

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/getcredentialscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/getcredentialscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/getcredentialscommandoutput.html)

</details>
<details>
<summary>
GetCustomDomainAssociation
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/getcustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/getcustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/getcustomdomainassociationcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -381,6 +405,14 @@ GetWorkgroup

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/getworkgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/getworkgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/getworkgroupcommandoutput.html)

</details>
<details>
<summary>
ListCustomDomainAssociations
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/listcustomdomainassociationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/listcustomdomainassociationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/listcustomdomainassociationscommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -493,6 +525,14 @@ UntagResource

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/untagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/untagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/untagresourcecommandoutput.html)

</details>
<details>
<summary>
UpdateCustomDomainAssociation
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/classes/updatecustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/updatecustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift-serverless/interfaces/updatecustomdomainassociationcommandoutput.html)

</details>
<details>
<summary>
Expand Down
115 changes: 115 additions & 0 deletions clients/client-redshift-serverless/src/RedshiftServerless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ import {
ConvertRecoveryPointToSnapshotCommandInput,
ConvertRecoveryPointToSnapshotCommandOutput,
} from "./commands/ConvertRecoveryPointToSnapshotCommand";
import {
CreateCustomDomainAssociationCommand,
CreateCustomDomainAssociationCommandInput,
CreateCustomDomainAssociationCommandOutput,
} from "./commands/CreateCustomDomainAssociationCommand";
import {
CreateEndpointAccessCommand,
CreateEndpointAccessCommandInput,
Expand All @@ -32,6 +37,11 @@ import {
CreateWorkgroupCommandInput,
CreateWorkgroupCommandOutput,
} from "./commands/CreateWorkgroupCommand";
import {
DeleteCustomDomainAssociationCommand,
DeleteCustomDomainAssociationCommandInput,
DeleteCustomDomainAssociationCommandOutput,
} from "./commands/DeleteCustomDomainAssociationCommand";
import {
DeleteEndpointAccessCommand,
DeleteEndpointAccessCommandInput,
Expand Down Expand Up @@ -67,6 +77,11 @@ import {
GetCredentialsCommandInput,
GetCredentialsCommandOutput,
} from "./commands/GetCredentialsCommand";
import {
GetCustomDomainAssociationCommand,
GetCustomDomainAssociationCommandInput,
GetCustomDomainAssociationCommandOutput,
} from "./commands/GetCustomDomainAssociationCommand";
import {
GetEndpointAccessCommand,
GetEndpointAccessCommandInput,
Expand Down Expand Up @@ -103,6 +118,11 @@ import {
GetWorkgroupCommandInput,
GetWorkgroupCommandOutput,
} from "./commands/GetWorkgroupCommand";
import {
ListCustomDomainAssociationsCommand,
ListCustomDomainAssociationsCommandInput,
ListCustomDomainAssociationsCommandOutput,
} from "./commands/ListCustomDomainAssociationsCommand";
import {
ListEndpointAccessCommand,
ListEndpointAccessCommandInput,
Expand Down Expand Up @@ -169,6 +189,11 @@ import {
UntagResourceCommandInput,
UntagResourceCommandOutput,
} from "./commands/UntagResourceCommand";
import {
UpdateCustomDomainAssociationCommand,
UpdateCustomDomainAssociationCommandInput,
UpdateCustomDomainAssociationCommandOutput,
} from "./commands/UpdateCustomDomainAssociationCommand";
import {
UpdateEndpointAccessCommand,
UpdateEndpointAccessCommandInput,
Expand Down Expand Up @@ -198,18 +223,21 @@ import { RedshiftServerlessClient, RedshiftServerlessClientConfig } from "./Reds

const commands = {
ConvertRecoveryPointToSnapshotCommand,
CreateCustomDomainAssociationCommand,
CreateEndpointAccessCommand,
CreateNamespaceCommand,
CreateSnapshotCommand,
CreateUsageLimitCommand,
CreateWorkgroupCommand,
DeleteCustomDomainAssociationCommand,
DeleteEndpointAccessCommand,
DeleteNamespaceCommand,
DeleteResourcePolicyCommand,
DeleteSnapshotCommand,
DeleteUsageLimitCommand,
DeleteWorkgroupCommand,
GetCredentialsCommand,
GetCustomDomainAssociationCommand,
GetEndpointAccessCommand,
GetNamespaceCommand,
GetRecoveryPointCommand,
Expand All @@ -218,6 +246,7 @@ const commands = {
GetTableRestoreStatusCommand,
GetUsageLimitCommand,
GetWorkgroupCommand,
ListCustomDomainAssociationsCommand,
ListEndpointAccessCommand,
ListNamespacesCommand,
ListRecoveryPointsCommand,
Expand All @@ -232,6 +261,7 @@ const commands = {
RestoreTableFromSnapshotCommand,
TagResourceCommand,
UntagResourceCommand,
UpdateCustomDomainAssociationCommand,
UpdateEndpointAccessCommand,
UpdateNamespaceCommand,
UpdateSnapshotCommand,
Expand All @@ -257,6 +287,23 @@ export interface RedshiftServerless {
cb: (err: any, data?: ConvertRecoveryPointToSnapshotCommandOutput) => void
): void;

/**
* @see {@link CreateCustomDomainAssociationCommand}
*/
createCustomDomainAssociation(
args: CreateCustomDomainAssociationCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateCustomDomainAssociationCommandOutput>;
createCustomDomainAssociation(
args: CreateCustomDomainAssociationCommandInput,
cb: (err: any, data?: CreateCustomDomainAssociationCommandOutput) => void
): void;
createCustomDomainAssociation(
args: CreateCustomDomainAssociationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateCustomDomainAssociationCommandOutput) => void
): void;

/**
* @see {@link CreateEndpointAccessCommand}
*/
Expand Down Expand Up @@ -333,6 +380,23 @@ export interface RedshiftServerless {
cb: (err: any, data?: CreateWorkgroupCommandOutput) => void
): void;

/**
* @see {@link DeleteCustomDomainAssociationCommand}
*/
deleteCustomDomainAssociation(
args: DeleteCustomDomainAssociationCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteCustomDomainAssociationCommandOutput>;
deleteCustomDomainAssociation(
args: DeleteCustomDomainAssociationCommandInput,
cb: (err: any, data?: DeleteCustomDomainAssociationCommandOutput) => void
): void;
deleteCustomDomainAssociation(
args: DeleteCustomDomainAssociationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteCustomDomainAssociationCommandOutput) => void
): void;

/**
* @see {@link DeleteEndpointAccessCommand}
*/
Expand Down Expand Up @@ -440,6 +504,23 @@ export interface RedshiftServerless {
cb: (err: any, data?: GetCredentialsCommandOutput) => void
): void;

/**
* @see {@link GetCustomDomainAssociationCommand}
*/
getCustomDomainAssociation(
args: GetCustomDomainAssociationCommandInput,
options?: __HttpHandlerOptions
): Promise<GetCustomDomainAssociationCommandOutput>;
getCustomDomainAssociation(
args: GetCustomDomainAssociationCommandInput,
cb: (err: any, data?: GetCustomDomainAssociationCommandOutput) => void
): void;
getCustomDomainAssociation(
args: GetCustomDomainAssociationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetCustomDomainAssociationCommandOutput) => void
): void;

/**
* @see {@link GetEndpointAccessCommand}
*/
Expand Down Expand Up @@ -552,6 +633,23 @@ export interface RedshiftServerless {
cb: (err: any, data?: GetWorkgroupCommandOutput) => void
): void;

/**
* @see {@link ListCustomDomainAssociationsCommand}
*/
listCustomDomainAssociations(
args: ListCustomDomainAssociationsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListCustomDomainAssociationsCommandOutput>;
listCustomDomainAssociations(
args: ListCustomDomainAssociationsCommandInput,
cb: (err: any, data?: ListCustomDomainAssociationsCommandOutput) => void
): void;
listCustomDomainAssociations(
args: ListCustomDomainAssociationsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListCustomDomainAssociationsCommandOutput) => void
): void;

/**
* @see {@link ListEndpointAccessCommand}
*/
Expand Down Expand Up @@ -763,6 +861,23 @@ export interface RedshiftServerless {
cb: (err: any, data?: UntagResourceCommandOutput) => void
): void;

/**
* @see {@link UpdateCustomDomainAssociationCommand}
*/
updateCustomDomainAssociation(
args: UpdateCustomDomainAssociationCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateCustomDomainAssociationCommandOutput>;
updateCustomDomainAssociation(
args: UpdateCustomDomainAssociationCommandInput,
cb: (err: any, data?: UpdateCustomDomainAssociationCommandOutput) => void
): void;
updateCustomDomainAssociation(
args: UpdateCustomDomainAssociationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateCustomDomainAssociationCommandOutput) => void
): void;

/**
* @see {@link UpdateEndpointAccessCommand}
*/
Expand Down
Loading

0 comments on commit 998eb07

Please sign in to comment.