Skip to content

Commit

Permalink
feat(client-redshift): This release launches the CreateIntegration, D…
Browse files Browse the repository at this point in the history
…eleteIntegration, DescribeIntegrations and ModifyIntegration APIs to create and manage Amazon Redshift Zero-ETL Integrations.
  • Loading branch information
awstools committed Oct 15, 2024
1 parent f092c8b commit 3b1ffd3
Show file tree
Hide file tree
Showing 19 changed files with 2,866 additions and 550 deletions.
32 changes: 32 additions & 0 deletions clients/client-redshift/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,14 @@ CreateHsmConfiguration

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift/command/CreateHsmConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/CreateHsmConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/CreateHsmConfigurationCommandOutput/)

</details>
<details>
<summary>
CreateIntegration
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift/command/CreateIntegrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/CreateIntegrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/CreateIntegrationCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -543,6 +551,14 @@ DeleteHsmConfiguration

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift/command/DeleteHsmConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/DeleteHsmConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/DeleteHsmConfigurationCommandOutput/)

</details>
<details>
<summary>
DeleteIntegration
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift/command/DeleteIntegrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/DeleteIntegrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/DeleteIntegrationCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -799,6 +815,14 @@ DescribeInboundIntegrations

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift/command/DescribeInboundIntegrationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/DescribeInboundIntegrationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/DescribeInboundIntegrationsCommandOutput/)

</details>
<details>
<summary>
DescribeIntegrations
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift/command/DescribeIntegrationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/DescribeIntegrationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/DescribeIntegrationsCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -1127,6 +1151,14 @@ ModifyEventSubscription

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift/command/ModifyEventSubscriptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/ModifyEventSubscriptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/ModifyEventSubscriptionCommandOutput/)

</details>
<details>
<summary>
ModifyIntegration
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift/command/ModifyIntegrationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/ModifyIntegrationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/ModifyIntegrationCommandOutput/)

</details>
<details>
<summary>
Expand Down
93 changes: 93 additions & 0 deletions clients/client-redshift/src/Redshift.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ import {
CreateHsmConfigurationCommandInput,
CreateHsmConfigurationCommandOutput,
} from "./commands/CreateHsmConfigurationCommand";
import {
CreateIntegrationCommand,
CreateIntegrationCommandInput,
CreateIntegrationCommandOutput,
} from "./commands/CreateIntegrationCommand";
import {
CreateRedshiftIdcApplicationCommand,
CreateRedshiftIdcApplicationCommandInput,
Expand Down Expand Up @@ -194,6 +199,11 @@ import {
DeleteHsmConfigurationCommandInput,
DeleteHsmConfigurationCommandOutput,
} from "./commands/DeleteHsmConfigurationCommand";
import {
DeleteIntegrationCommand,
DeleteIntegrationCommandInput,
DeleteIntegrationCommandOutput,
} from "./commands/DeleteIntegrationCommand";
import {
DeletePartnerCommand,
DeletePartnerCommandInput,
Expand Down Expand Up @@ -350,6 +360,11 @@ import {
DescribeInboundIntegrationsCommandInput,
DescribeInboundIntegrationsCommandOutput,
} from "./commands/DescribeInboundIntegrationsCommand";
import {
DescribeIntegrationsCommand,
DescribeIntegrationsCommandInput,
DescribeIntegrationsCommandOutput,
} from "./commands/DescribeIntegrationsCommand";
import {
DescribeLoggingStatusCommand,
DescribeLoggingStatusCommandInput,
Expand Down Expand Up @@ -555,6 +570,11 @@ import {
ModifyEventSubscriptionCommandInput,
ModifyEventSubscriptionCommandOutput,
} from "./commands/ModifyEventSubscriptionCommand";
import {
ModifyIntegrationCommand,
ModifyIntegrationCommandInput,
ModifyIntegrationCommandOutput,
} from "./commands/ModifyIntegrationCommand";
import {
ModifyRedshiftIdcApplicationCommand,
ModifyRedshiftIdcApplicationCommandInput,
Expand Down Expand Up @@ -680,6 +700,7 @@ const commands = {
CreateEventSubscriptionCommand,
CreateHsmClientCertificateCommand,
CreateHsmConfigurationCommand,
CreateIntegrationCommand,
CreateRedshiftIdcApplicationCommand,
CreateScheduledActionCommand,
CreateSnapshotCopyGrantCommand,
Expand All @@ -698,6 +719,7 @@ const commands = {
DeleteEventSubscriptionCommand,
DeleteHsmClientCertificateCommand,
DeleteHsmConfigurationCommand,
DeleteIntegrationCommand,
DeletePartnerCommand,
DeleteRedshiftIdcApplicationCommand,
DeleteResourcePolicyCommand,
Expand Down Expand Up @@ -730,6 +752,7 @@ const commands = {
DescribeHsmClientCertificatesCommand,
DescribeHsmConfigurationsCommand,
DescribeInboundIntegrationsCommand,
DescribeIntegrationsCommand,
DescribeLoggingStatusCommand,
DescribeNodeConfigurationOptionsCommand,
DescribeOrderableClusterOptionsCommand,
Expand Down Expand Up @@ -771,6 +794,7 @@ const commands = {
ModifyCustomDomainAssociationCommand,
ModifyEndpointAccessCommand,
ModifyEventSubscriptionCommand,
ModifyIntegrationCommand,
ModifyRedshiftIdcApplicationCommand,
ModifyScheduledActionCommand,
ModifySnapshotCopyRetentionPeriodCommand,
Expand Down Expand Up @@ -1150,6 +1174,23 @@ export interface Redshift {
cb: (err: any, data?: CreateHsmConfigurationCommandOutput) => void
): void;

/**
* @see {@link CreateIntegrationCommand}
*/
createIntegration(
args: CreateIntegrationCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateIntegrationCommandOutput>;
createIntegration(
args: CreateIntegrationCommandInput,
cb: (err: any, data?: CreateIntegrationCommandOutput) => void
): void;
createIntegration(
args: CreateIntegrationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateIntegrationCommandOutput) => void
): void;

/**
* @see {@link CreateRedshiftIdcApplicationCommand}
*/
Expand Down Expand Up @@ -1445,6 +1486,23 @@ export interface Redshift {
cb: (err: any, data?: DeleteHsmConfigurationCommandOutput) => void
): void;

/**
* @see {@link DeleteIntegrationCommand}
*/
deleteIntegration(
args: DeleteIntegrationCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteIntegrationCommandOutput>;
deleteIntegration(
args: DeleteIntegrationCommandInput,
cb: (err: any, data?: DeleteIntegrationCommandOutput) => void
): void;
deleteIntegration(
args: DeleteIntegrationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteIntegrationCommandOutput) => void
): void;

/**
* @see {@link DeletePartnerCommand}
*/
Expand Down Expand Up @@ -1996,6 +2054,24 @@ export interface Redshift {
cb: (err: any, data?: DescribeInboundIntegrationsCommandOutput) => void
): void;

/**
* @see {@link DescribeIntegrationsCommand}
*/
describeIntegrations(): Promise<DescribeIntegrationsCommandOutput>;
describeIntegrations(
args: DescribeIntegrationsCommandInput,
options?: __HttpHandlerOptions
): Promise<DescribeIntegrationsCommandOutput>;
describeIntegrations(
args: DescribeIntegrationsCommandInput,
cb: (err: any, data?: DescribeIntegrationsCommandOutput) => void
): void;
describeIntegrations(
args: DescribeIntegrationsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DescribeIntegrationsCommandOutput) => void
): void;

/**
* @see {@link DescribeLoggingStatusCommand}
*/
Expand Down Expand Up @@ -2680,6 +2756,23 @@ export interface Redshift {
cb: (err: any, data?: ModifyEventSubscriptionCommandOutput) => void
): void;

/**
* @see {@link ModifyIntegrationCommand}
*/
modifyIntegration(
args: ModifyIntegrationCommandInput,
options?: __HttpHandlerOptions
): Promise<ModifyIntegrationCommandOutput>;
modifyIntegration(
args: ModifyIntegrationCommandInput,
cb: (err: any, data?: ModifyIntegrationCommandOutput) => void
): void;
modifyIntegration(
args: ModifyIntegrationCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ModifyIntegrationCommandOutput) => void
): void;

/**
* @see {@link ModifyRedshiftIdcApplicationCommand}
*/
Expand Down
15 changes: 15 additions & 0 deletions clients/client-redshift/src/RedshiftClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ import {
CreateHsmConfigurationCommandInput,
CreateHsmConfigurationCommandOutput,
} from "./commands/CreateHsmConfigurationCommand";
import { CreateIntegrationCommandInput, CreateIntegrationCommandOutput } from "./commands/CreateIntegrationCommand";
import {
CreateRedshiftIdcApplicationCommandInput,
CreateRedshiftIdcApplicationCommandOutput,
Expand Down Expand Up @@ -192,6 +193,7 @@ import {
DeleteHsmConfigurationCommandInput,
DeleteHsmConfigurationCommandOutput,
} from "./commands/DeleteHsmConfigurationCommand";
import { DeleteIntegrationCommandInput, DeleteIntegrationCommandOutput } from "./commands/DeleteIntegrationCommand";
import { DeletePartnerCommandInput, DeletePartnerCommandOutput } from "./commands/DeletePartnerCommand";
import {
DeleteRedshiftIdcApplicationCommandInput,
Expand Down Expand Up @@ -302,6 +304,10 @@ import {
DescribeInboundIntegrationsCommandInput,
DescribeInboundIntegrationsCommandOutput,
} from "./commands/DescribeInboundIntegrationsCommand";
import {
DescribeIntegrationsCommandInput,
DescribeIntegrationsCommandOutput,
} from "./commands/DescribeIntegrationsCommand";
import {
DescribeLoggingStatusCommandInput,
DescribeLoggingStatusCommandOutput,
Expand Down Expand Up @@ -439,6 +445,7 @@ import {
ModifyEventSubscriptionCommandInput,
ModifyEventSubscriptionCommandOutput,
} from "./commands/ModifyEventSubscriptionCommand";
import { ModifyIntegrationCommandInput, ModifyIntegrationCommandOutput } from "./commands/ModifyIntegrationCommand";
import {
ModifyRedshiftIdcApplicationCommandInput,
ModifyRedshiftIdcApplicationCommandOutput,
Expand Down Expand Up @@ -535,6 +542,7 @@ export type ServiceInputTypes =
| CreateEventSubscriptionCommandInput
| CreateHsmClientCertificateCommandInput
| CreateHsmConfigurationCommandInput
| CreateIntegrationCommandInput
| CreateRedshiftIdcApplicationCommandInput
| CreateScheduledActionCommandInput
| CreateSnapshotCopyGrantCommandInput
Expand All @@ -553,6 +561,7 @@ export type ServiceInputTypes =
| DeleteEventSubscriptionCommandInput
| DeleteHsmClientCertificateCommandInput
| DeleteHsmConfigurationCommandInput
| DeleteIntegrationCommandInput
| DeletePartnerCommandInput
| DeleteRedshiftIdcApplicationCommandInput
| DeleteResourcePolicyCommandInput
Expand Down Expand Up @@ -585,6 +594,7 @@ export type ServiceInputTypes =
| DescribeHsmClientCertificatesCommandInput
| DescribeHsmConfigurationsCommandInput
| DescribeInboundIntegrationsCommandInput
| DescribeIntegrationsCommandInput
| DescribeLoggingStatusCommandInput
| DescribeNodeConfigurationOptionsCommandInput
| DescribeOrderableClusterOptionsCommandInput
Expand Down Expand Up @@ -626,6 +636,7 @@ export type ServiceInputTypes =
| ModifyCustomDomainAssociationCommandInput
| ModifyEndpointAccessCommandInput
| ModifyEventSubscriptionCommandInput
| ModifyIntegrationCommandInput
| ModifyRedshiftIdcApplicationCommandInput
| ModifyScheduledActionCommandInput
| ModifySnapshotCopyRetentionPeriodCommandInput
Expand Down Expand Up @@ -673,6 +684,7 @@ export type ServiceOutputTypes =
| CreateEventSubscriptionCommandOutput
| CreateHsmClientCertificateCommandOutput
| CreateHsmConfigurationCommandOutput
| CreateIntegrationCommandOutput
| CreateRedshiftIdcApplicationCommandOutput
| CreateScheduledActionCommandOutput
| CreateSnapshotCopyGrantCommandOutput
Expand All @@ -691,6 +703,7 @@ export type ServiceOutputTypes =
| DeleteEventSubscriptionCommandOutput
| DeleteHsmClientCertificateCommandOutput
| DeleteHsmConfigurationCommandOutput
| DeleteIntegrationCommandOutput
| DeletePartnerCommandOutput
| DeleteRedshiftIdcApplicationCommandOutput
| DeleteResourcePolicyCommandOutput
Expand Down Expand Up @@ -723,6 +736,7 @@ export type ServiceOutputTypes =
| DescribeHsmClientCertificatesCommandOutput
| DescribeHsmConfigurationsCommandOutput
| DescribeInboundIntegrationsCommandOutput
| DescribeIntegrationsCommandOutput
| DescribeLoggingStatusCommandOutput
| DescribeNodeConfigurationOptionsCommandOutput
| DescribeOrderableClusterOptionsCommandOutput
Expand Down Expand Up @@ -764,6 +778,7 @@ export type ServiceOutputTypes =
| ModifyCustomDomainAssociationCommandOutput
| ModifyEndpointAccessCommandOutput
| ModifyEventSubscriptionCommandOutput
| ModifyIntegrationCommandOutput
| ModifyRedshiftIdcApplicationCommandOutput
| ModifyScheduledActionCommandOutput
| ModifySnapshotCopyRetentionPeriodCommandOutput
Expand Down
Loading

0 comments on commit 3b1ffd3

Please sign in to comment.