Skip to content

Commit b030ee0

Browse files
author
awstools
committed
feat(client-redshift): Added support for Amazon Redshift Federated Permissions and AWS IAM Identity Center trusted identity propagation.
1 parent 612d1d7 commit b030ee0

32 files changed

+990
-159
lines changed

clients/client-redshift/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,14 @@ ModifyIntegration
11751175

11761176
[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/)
11771177

1178+
</details>
1179+
<details>
1180+
<summary>
1181+
ModifyLakehouseConfiguration
1182+
</summary>
1183+
1184+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift/command/ModifyLakehouseConfigurationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/ModifyLakehouseConfigurationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift/Interface/ModifyLakehouseConfigurationCommandOutput/)
1185+
11781186
</details>
11791187
<details>
11801188
<summary>

clients/client-redshift/src/Redshift.ts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,11 @@ import {
585585
ModifyIntegrationCommandInput,
586586
ModifyIntegrationCommandOutput,
587587
} from "./commands/ModifyIntegrationCommand";
588+
import {
589+
ModifyLakehouseConfigurationCommand,
590+
ModifyLakehouseConfigurationCommandInput,
591+
ModifyLakehouseConfigurationCommandOutput,
592+
} from "./commands/ModifyLakehouseConfigurationCommand";
588593
import {
589594
ModifyRedshiftIdcApplicationCommand,
590595
ModifyRedshiftIdcApplicationCommandInput,
@@ -812,6 +817,7 @@ const commands = {
812817
ModifyEndpointAccessCommand,
813818
ModifyEventSubscriptionCommand,
814819
ModifyIntegrationCommand,
820+
ModifyLakehouseConfigurationCommand,
815821
ModifyRedshiftIdcApplicationCommand,
816822
ModifyScheduledActionCommand,
817823
ModifySnapshotCopyRetentionPeriodCommand,
@@ -2825,6 +2831,23 @@ export interface Redshift {
28252831
cb: (err: any, data?: ModifyIntegrationCommandOutput) => void
28262832
): void;
28272833

2834+
/**
2835+
* @see {@link ModifyLakehouseConfigurationCommand}
2836+
*/
2837+
modifyLakehouseConfiguration(
2838+
args: ModifyLakehouseConfigurationCommandInput,
2839+
options?: __HttpHandlerOptions
2840+
): Promise<ModifyLakehouseConfigurationCommandOutput>;
2841+
modifyLakehouseConfiguration(
2842+
args: ModifyLakehouseConfigurationCommandInput,
2843+
cb: (err: any, data?: ModifyLakehouseConfigurationCommandOutput) => void
2844+
): void;
2845+
modifyLakehouseConfiguration(
2846+
args: ModifyLakehouseConfigurationCommandInput,
2847+
options: __HttpHandlerOptions,
2848+
cb: (err: any, data?: ModifyLakehouseConfigurationCommandOutput) => void
2849+
): void;
2850+
28282851
/**
28292852
* @see {@link ModifyRedshiftIdcApplicationCommand}
28302853
*/

clients/client-redshift/src/RedshiftClient.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,10 @@ import {
458458
ModifyEventSubscriptionCommandOutput,
459459
} from "./commands/ModifyEventSubscriptionCommand";
460460
import { ModifyIntegrationCommandInput, ModifyIntegrationCommandOutput } from "./commands/ModifyIntegrationCommand";
461+
import {
462+
ModifyLakehouseConfigurationCommandInput,
463+
ModifyLakehouseConfigurationCommandOutput,
464+
} from "./commands/ModifyLakehouseConfigurationCommand";
461465
import {
462466
ModifyRedshiftIdcApplicationCommandInput,
463467
ModifyRedshiftIdcApplicationCommandOutput,
@@ -652,6 +656,7 @@ export type ServiceInputTypes =
652656
| ModifyEndpointAccessCommandInput
653657
| ModifyEventSubscriptionCommandInput
654658
| ModifyIntegrationCommandInput
659+
| ModifyLakehouseConfigurationCommandInput
655660
| ModifyRedshiftIdcApplicationCommandInput
656661
| ModifyScheduledActionCommandInput
657662
| ModifySnapshotCopyRetentionPeriodCommandInput
@@ -797,6 +802,7 @@ export type ServiceOutputTypes =
797802
| ModifyEndpointAccessCommandOutput
798803
| ModifyEventSubscriptionCommandOutput
799804
| ModifyIntegrationCommandOutput
805+
| ModifyLakehouseConfigurationCommandOutput
800806
| ModifyRedshiftIdcApplicationCommandOutput
801807
| ModifyScheduledActionCommandOutput
802808
| ModifySnapshotCopyRetentionPeriodCommandOutput

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

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
115115
* IpAddressType: "STRING_VALUE",
116116
* MultiAZ: true || false,
117117
* RedshiftIdcApplicationArn: "STRING_VALUE",
118+
* CatalogName: "STRING_VALUE",
118119
* };
119120
* const command = new CreateClusterCommand(input);
120121
* const response = await client.send(command);
@@ -307,6 +308,8 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
307308
* // },
308309
* // ],
309310
* // },
311+
* // LakehouseRegistrationStatus: "STRING_VALUE",
312+
* // CatalogArn: "STRING_VALUE",
310313
* // },
311314
* // };
312315
*
@@ -339,10 +342,17 @@ export interface CreateClusterCommandOutput extends CreateClusterResult, __Metad
339342
* <p>The cluster subnet group name does not refer to an existing cluster subnet
340343
* group.</p>
341344
*
345+
* @throws {@link DependentServiceAccessDeniedFault} (client fault)
346+
* <p>A dependent service denied access for the integration.</p>
347+
*
342348
* @throws {@link DependentServiceRequestThrottlingFault} (client fault)
343349
* <p>The request cannot be completed because a dependent service is throttling requests
344350
* made by Amazon Redshift on your behalf. Wait and retry the request.</p>
345351
*
352+
* @throws {@link DependentServiceUnavailableFault} (client fault)
353+
* <p>Your request cannot be completed because a dependent internal service is
354+
* temporarily unavailable. Wait 30 to 60 seconds and try again.</p>
355+
*
346356
* @throws {@link HsmClientCertificateNotFoundFault} (client fault)
347357
* <p>There is no Amazon Redshift HSM client certificate with the specified
348358
* identifier.</p>

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,16 @@ export interface CreateRedshiftIdcApplicationCommandOutput
6868
* },
6969
* },
7070
* ],
71+
* Redshift: [ // RedshiftServiceIntegrations
72+
* { // RedshiftScopeUnion Union: only one key present
73+
* Connect: { // Connect
74+
* Authorization: "Enabled" || "Disabled", // required
75+
* },
76+
* },
77+
* ],
7178
* },
7279
* ],
80+
* ApplicationType: "None" || "Lakehouse",
7381
* Tags: [ // TagList
7482
* { // Tag
7583
* Key: "STRING_VALUE",
@@ -116,8 +124,16 @@ export interface CreateRedshiftIdcApplicationCommandOutput
116124
* // },
117125
* // },
118126
* // ],
127+
* // Redshift: [ // RedshiftServiceIntegrations
128+
* // { // RedshiftScopeUnion Union: only one key present
129+
* // Connect: { // Connect
130+
* // Authorization: "Enabled" || "Disabled", // required
131+
* // },
132+
* // },
133+
* // ],
119134
* // },
120135
* // ],
136+
* // ApplicationType: "None" || "Lakehouse",
121137
* // Tags: [ // TagList
122138
* // { // Tag
123139
* // Key: "STRING_VALUE",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResult, __Metad
248248
* // },
249249
* // ],
250250
* // },
251+
* // LakehouseRegistrationStatus: "STRING_VALUE",
252+
* // CatalogArn: "STRING_VALUE",
251253
* // },
252254
* // };
253255
*

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,8 @@ export interface DescribeClustersCommandOutput extends ClustersMessage, __Metada
252252
* // },
253253
* // ],
254254
* // },
255+
* // LakehouseRegistrationStatus: "STRING_VALUE",
256+
* // CatalogArn: "STRING_VALUE",
255257
* // },
256258
* // ],
257259
* // };

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,16 @@ export interface DescribeRedshiftIdcApplicationsCommandOutput
8080
* // },
8181
* // },
8282
* // ],
83+
* // Redshift: [ // RedshiftServiceIntegrations
84+
* // { // RedshiftScopeUnion Union: only one key present
85+
* // Connect: { // Connect
86+
* // Authorization: "Enabled" || "Disabled", // required
87+
* // },
88+
* // },
89+
* // ],
8390
* // },
8491
* // ],
92+
* // ApplicationType: "None" || "Lakehouse",
8593
* // Tags: [ // TagList
8694
* // { // Tag
8795
* // Key: "STRING_VALUE",

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ export interface DisableSnapshotCopyCommandOutput extends DisableSnapshotCopyRes
234234
* // },
235235
* // ],
236236
* // },
237+
* // LakehouseRegistrationStatus: "STRING_VALUE",
238+
* // CatalogArn: "STRING_VALUE",
237239
* // },
238240
* // };
239241
*

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,8 @@ export interface EnableSnapshotCopyCommandOutput extends EnableSnapshotCopyResul
235235
* // },
236236
* // ],
237237
* // },
238+
* // LakehouseRegistrationStatus: "STRING_VALUE",
239+
* // CatalogArn: "STRING_VALUE",
238240
* // },
239241
* // };
240242
*

0 commit comments

Comments
 (0)