Skip to content

Commit

Permalink
feat(client-cleanrooms): Three enhancements to the AWS Clean Rooms: D…
Browse files Browse the repository at this point in the history
…isallowed Output Columns, Flexible Result Receivers, SQL as a Seed
  • Loading branch information
awstools committed Jul 24, 2024
1 parent 03a9eeb commit 42b8fd5
Show file tree
Hide file tree
Showing 34 changed files with 4,243 additions and 1,725 deletions.
32 changes: 32 additions & 0 deletions clients/client-cleanrooms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,14 @@ CreateConfiguredTableAssociation

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cleanrooms/command/CreateConfiguredTableAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/CreateConfiguredTableAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/CreateConfiguredTableAssociationCommandOutput/)

</details>
<details>
<summary>
CreateConfiguredTableAssociationAnalysisRule
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cleanrooms/command/CreateConfiguredTableAssociationAnalysisRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/CreateConfiguredTableAssociationAnalysisRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/CreateConfiguredTableAssociationAnalysisRuleCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -362,6 +370,14 @@ DeleteConfiguredTableAssociation

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cleanrooms/command/DeleteConfiguredTableAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/DeleteConfiguredTableAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/DeleteConfiguredTableAssociationCommandOutput/)

</details>
<details>
<summary>
DeleteConfiguredTableAssociationAnalysisRule
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cleanrooms/command/DeleteConfiguredTableAssociationAnalysisRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/DeleteConfiguredTableAssociationAnalysisRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/DeleteConfiguredTableAssociationAnalysisRuleCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -482,6 +498,14 @@ GetConfiguredTableAssociation

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cleanrooms/command/GetConfiguredTableAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/GetConfiguredTableAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/GetConfiguredTableAssociationCommandOutput/)

</details>
<details>
<summary>
GetConfiguredTableAssociationAnalysisRule
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cleanrooms/command/GetConfiguredTableAssociationAnalysisRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/GetConfiguredTableAssociationAnalysisRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/GetConfiguredTableAssociationAnalysisRuleCommandOutput/)

</details>
<details>
<summary>
Expand Down Expand Up @@ -778,6 +802,14 @@ UpdateConfiguredTableAssociation

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cleanrooms/command/UpdateConfiguredTableAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/UpdateConfiguredTableAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/UpdateConfiguredTableAssociationCommandOutput/)

</details>
<details>
<summary>
UpdateConfiguredTableAssociationAnalysisRule
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cleanrooms/command/UpdateConfiguredTableAssociationAnalysisRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/UpdateConfiguredTableAssociationAnalysisRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/UpdateConfiguredTableAssociationAnalysisRuleCommandOutput/)

</details>
<details>
<summary>
Expand Down
92 changes: 92 additions & 0 deletions clients/client-cleanrooms/src/CleanRooms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ import {
CreateConfiguredTableAnalysisRuleCommandInput,
CreateConfiguredTableAnalysisRuleCommandOutput,
} from "./commands/CreateConfiguredTableAnalysisRuleCommand";
import {
CreateConfiguredTableAssociationAnalysisRuleCommand,
CreateConfiguredTableAssociationAnalysisRuleCommandInput,
CreateConfiguredTableAssociationAnalysisRuleCommandOutput,
} from "./commands/CreateConfiguredTableAssociationAnalysisRuleCommand";
import {
CreateConfiguredTableAssociationCommand,
CreateConfiguredTableAssociationCommandInput,
Expand Down Expand Up @@ -88,6 +93,11 @@ import {
DeleteConfiguredTableAnalysisRuleCommandInput,
DeleteConfiguredTableAnalysisRuleCommandOutput,
} from "./commands/DeleteConfiguredTableAnalysisRuleCommand";
import {
DeleteConfiguredTableAssociationAnalysisRuleCommand,
DeleteConfiguredTableAssociationAnalysisRuleCommandInput,
DeleteConfiguredTableAssociationAnalysisRuleCommandOutput,
} from "./commands/DeleteConfiguredTableAssociationAnalysisRuleCommand";
import {
DeleteConfiguredTableAssociationCommand,
DeleteConfiguredTableAssociationCommandInput,
Expand Down Expand Up @@ -163,6 +173,11 @@ import {
GetConfiguredTableAnalysisRuleCommandInput,
GetConfiguredTableAnalysisRuleCommandOutput,
} from "./commands/GetConfiguredTableAnalysisRuleCommand";
import {
GetConfiguredTableAssociationAnalysisRuleCommand,
GetConfiguredTableAssociationAnalysisRuleCommandInput,
GetConfiguredTableAssociationAnalysisRuleCommandOutput,
} from "./commands/GetConfiguredTableAssociationAnalysisRuleCommand";
import {
GetConfiguredTableAssociationCommand,
GetConfiguredTableAssociationCommandInput,
Expand Down Expand Up @@ -332,6 +347,11 @@ import {
UpdateConfiguredTableAnalysisRuleCommandInput,
UpdateConfiguredTableAnalysisRuleCommandOutput,
} from "./commands/UpdateConfiguredTableAnalysisRuleCommand";
import {
UpdateConfiguredTableAssociationAnalysisRuleCommand,
UpdateConfiguredTableAssociationAnalysisRuleCommandInput,
UpdateConfiguredTableAssociationAnalysisRuleCommandOutput,
} from "./commands/UpdateConfiguredTableAssociationAnalysisRuleCommand";
import {
UpdateConfiguredTableAssociationCommand,
UpdateConfiguredTableAssociationCommandInput,
Expand Down Expand Up @@ -378,6 +398,7 @@ const commands = {
CreateConfiguredTableCommand,
CreateConfiguredTableAnalysisRuleCommand,
CreateConfiguredTableAssociationCommand,
CreateConfiguredTableAssociationAnalysisRuleCommand,
CreateIdMappingTableCommand,
CreateIdNamespaceAssociationCommand,
CreateMembershipCommand,
Expand All @@ -388,6 +409,7 @@ const commands = {
DeleteConfiguredTableCommand,
DeleteConfiguredTableAnalysisRuleCommand,
DeleteConfiguredTableAssociationCommand,
DeleteConfiguredTableAssociationAnalysisRuleCommand,
DeleteIdMappingTableCommand,
DeleteIdNamespaceAssociationCommand,
DeleteMemberCommand,
Expand All @@ -403,6 +425,7 @@ const commands = {
GetConfiguredTableCommand,
GetConfiguredTableAnalysisRuleCommand,
GetConfiguredTableAssociationCommand,
GetConfiguredTableAssociationAnalysisRuleCommand,
GetIdMappingTableCommand,
GetIdNamespaceAssociationCommand,
GetMembershipCommand,
Expand Down Expand Up @@ -440,6 +463,7 @@ const commands = {
UpdateConfiguredTableCommand,
UpdateConfiguredTableAnalysisRuleCommand,
UpdateConfiguredTableAssociationCommand,
UpdateConfiguredTableAssociationAnalysisRuleCommand,
UpdateIdMappingTableCommand,
UpdateIdNamespaceAssociationCommand,
UpdateMembershipCommand,
Expand Down Expand Up @@ -598,6 +622,23 @@ export interface CleanRooms {
cb: (err: any, data?: CreateConfiguredTableAssociationCommandOutput) => void
): void;

/**
* @see {@link CreateConfiguredTableAssociationAnalysisRuleCommand}
*/
createConfiguredTableAssociationAnalysisRule(
args: CreateConfiguredTableAssociationAnalysisRuleCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateConfiguredTableAssociationAnalysisRuleCommandOutput>;
createConfiguredTableAssociationAnalysisRule(
args: CreateConfiguredTableAssociationAnalysisRuleCommandInput,
cb: (err: any, data?: CreateConfiguredTableAssociationAnalysisRuleCommandOutput) => void
): void;
createConfiguredTableAssociationAnalysisRule(
args: CreateConfiguredTableAssociationAnalysisRuleCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateConfiguredTableAssociationAnalysisRuleCommandOutput) => void
): void;

/**
* @see {@link CreateIdMappingTableCommand}
*/
Expand Down Expand Up @@ -768,6 +809,23 @@ export interface CleanRooms {
cb: (err: any, data?: DeleteConfiguredTableAssociationCommandOutput) => void
): void;

/**
* @see {@link DeleteConfiguredTableAssociationAnalysisRuleCommand}
*/
deleteConfiguredTableAssociationAnalysisRule(
args: DeleteConfiguredTableAssociationAnalysisRuleCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteConfiguredTableAssociationAnalysisRuleCommandOutput>;
deleteConfiguredTableAssociationAnalysisRule(
args: DeleteConfiguredTableAssociationAnalysisRuleCommandInput,
cb: (err: any, data?: DeleteConfiguredTableAssociationAnalysisRuleCommandOutput) => void
): void;
deleteConfiguredTableAssociationAnalysisRule(
args: DeleteConfiguredTableAssociationAnalysisRuleCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteConfiguredTableAssociationAnalysisRuleCommandOutput) => void
): void;

/**
* @see {@link DeleteIdMappingTableCommand}
*/
Expand Down Expand Up @@ -1017,6 +1075,23 @@ export interface CleanRooms {
cb: (err: any, data?: GetConfiguredTableAssociationCommandOutput) => void
): void;

/**
* @see {@link GetConfiguredTableAssociationAnalysisRuleCommand}
*/
getConfiguredTableAssociationAnalysisRule(
args: GetConfiguredTableAssociationAnalysisRuleCommandInput,
options?: __HttpHandlerOptions
): Promise<GetConfiguredTableAssociationAnalysisRuleCommandOutput>;
getConfiguredTableAssociationAnalysisRule(
args: GetConfiguredTableAssociationAnalysisRuleCommandInput,
cb: (err: any, data?: GetConfiguredTableAssociationAnalysisRuleCommandOutput) => void
): void;
getConfiguredTableAssociationAnalysisRule(
args: GetConfiguredTableAssociationAnalysisRuleCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetConfiguredTableAssociationAnalysisRuleCommandOutput) => void
): void;

/**
* @see {@link GetIdMappingTableCommand}
*/
Expand Down Expand Up @@ -1610,6 +1685,23 @@ export interface CleanRooms {
cb: (err: any, data?: UpdateConfiguredTableAssociationCommandOutput) => void
): void;

/**
* @see {@link UpdateConfiguredTableAssociationAnalysisRuleCommand}
*/
updateConfiguredTableAssociationAnalysisRule(
args: UpdateConfiguredTableAssociationAnalysisRuleCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateConfiguredTableAssociationAnalysisRuleCommandOutput>;
updateConfiguredTableAssociationAnalysisRule(
args: UpdateConfiguredTableAssociationAnalysisRuleCommandInput,
cb: (err: any, data?: UpdateConfiguredTableAssociationAnalysisRuleCommandOutput) => void
): void;
updateConfiguredTableAssociationAnalysisRule(
args: UpdateConfiguredTableAssociationAnalysisRuleCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateConfiguredTableAssociationAnalysisRuleCommandOutput) => void
): void;

/**
* @see {@link UpdateIdMappingTableCommand}
*/
Expand Down
24 changes: 24 additions & 0 deletions clients/client-cleanrooms/src/CleanRoomsClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ import {
CreateConfiguredTableAnalysisRuleCommandInput,
CreateConfiguredTableAnalysisRuleCommandOutput,
} from "./commands/CreateConfiguredTableAnalysisRuleCommand";
import {
CreateConfiguredTableAssociationAnalysisRuleCommandInput,
CreateConfiguredTableAssociationAnalysisRuleCommandOutput,
} from "./commands/CreateConfiguredTableAssociationAnalysisRuleCommand";
import {
CreateConfiguredTableAssociationCommandInput,
CreateConfiguredTableAssociationCommandOutput,
Expand Down Expand Up @@ -115,6 +119,10 @@ import {
DeleteConfiguredTableAnalysisRuleCommandInput,
DeleteConfiguredTableAnalysisRuleCommandOutput,
} from "./commands/DeleteConfiguredTableAnalysisRuleCommand";
import {
DeleteConfiguredTableAssociationAnalysisRuleCommandInput,
DeleteConfiguredTableAssociationAnalysisRuleCommandOutput,
} from "./commands/DeleteConfiguredTableAssociationAnalysisRuleCommand";
import {
DeleteConfiguredTableAssociationCommandInput,
DeleteConfiguredTableAssociationCommandOutput,
Expand Down Expand Up @@ -166,6 +174,10 @@ import {
GetConfiguredTableAnalysisRuleCommandInput,
GetConfiguredTableAnalysisRuleCommandOutput,
} from "./commands/GetConfiguredTableAnalysisRuleCommand";
import {
GetConfiguredTableAssociationAnalysisRuleCommandInput,
GetConfiguredTableAssociationAnalysisRuleCommandOutput,
} from "./commands/GetConfiguredTableAssociationAnalysisRuleCommand";
import {
GetConfiguredTableAssociationCommandInput,
GetConfiguredTableAssociationCommandOutput,
Expand Down Expand Up @@ -278,6 +290,10 @@ import {
UpdateConfiguredTableAnalysisRuleCommandInput,
UpdateConfiguredTableAnalysisRuleCommandOutput,
} from "./commands/UpdateConfiguredTableAnalysisRuleCommand";
import {
UpdateConfiguredTableAssociationAnalysisRuleCommandInput,
UpdateConfiguredTableAssociationAnalysisRuleCommandOutput,
} from "./commands/UpdateConfiguredTableAssociationAnalysisRuleCommand";
import {
UpdateConfiguredTableAssociationCommandInput,
UpdateConfiguredTableAssociationCommandOutput,
Expand Down Expand Up @@ -325,6 +341,7 @@ export type ServiceInputTypes =
| CreateCollaborationCommandInput
| CreateConfiguredAudienceModelAssociationCommandInput
| CreateConfiguredTableAnalysisRuleCommandInput
| CreateConfiguredTableAssociationAnalysisRuleCommandInput
| CreateConfiguredTableAssociationCommandInput
| CreateConfiguredTableCommandInput
| CreateIdMappingTableCommandInput
Expand All @@ -335,6 +352,7 @@ export type ServiceInputTypes =
| DeleteCollaborationCommandInput
| DeleteConfiguredAudienceModelAssociationCommandInput
| DeleteConfiguredTableAnalysisRuleCommandInput
| DeleteConfiguredTableAssociationAnalysisRuleCommandInput
| DeleteConfiguredTableAssociationCommandInput
| DeleteConfiguredTableCommandInput
| DeleteIdMappingTableCommandInput
Expand All @@ -350,6 +368,7 @@ export type ServiceInputTypes =
| GetCollaborationPrivacyBudgetTemplateCommandInput
| GetConfiguredAudienceModelAssociationCommandInput
| GetConfiguredTableAnalysisRuleCommandInput
| GetConfiguredTableAssociationAnalysisRuleCommandInput
| GetConfiguredTableAssociationCommandInput
| GetConfiguredTableCommandInput
| GetIdMappingTableCommandInput
Expand Down Expand Up @@ -387,6 +406,7 @@ export type ServiceInputTypes =
| UpdateCollaborationCommandInput
| UpdateConfiguredAudienceModelAssociationCommandInput
| UpdateConfiguredTableAnalysisRuleCommandInput
| UpdateConfiguredTableAssociationAnalysisRuleCommandInput
| UpdateConfiguredTableAssociationCommandInput
| UpdateConfiguredTableCommandInput
| UpdateIdMappingTableCommandInput
Expand All @@ -406,6 +426,7 @@ export type ServiceOutputTypes =
| CreateCollaborationCommandOutput
| CreateConfiguredAudienceModelAssociationCommandOutput
| CreateConfiguredTableAnalysisRuleCommandOutput
| CreateConfiguredTableAssociationAnalysisRuleCommandOutput
| CreateConfiguredTableAssociationCommandOutput
| CreateConfiguredTableCommandOutput
| CreateIdMappingTableCommandOutput
Expand All @@ -416,6 +437,7 @@ export type ServiceOutputTypes =
| DeleteCollaborationCommandOutput
| DeleteConfiguredAudienceModelAssociationCommandOutput
| DeleteConfiguredTableAnalysisRuleCommandOutput
| DeleteConfiguredTableAssociationAnalysisRuleCommandOutput
| DeleteConfiguredTableAssociationCommandOutput
| DeleteConfiguredTableCommandOutput
| DeleteIdMappingTableCommandOutput
Expand All @@ -431,6 +453,7 @@ export type ServiceOutputTypes =
| GetCollaborationPrivacyBudgetTemplateCommandOutput
| GetConfiguredAudienceModelAssociationCommandOutput
| GetConfiguredTableAnalysisRuleCommandOutput
| GetConfiguredTableAssociationAnalysisRuleCommandOutput
| GetConfiguredTableAssociationCommandOutput
| GetConfiguredTableCommandOutput
| GetIdMappingTableCommandOutput
Expand Down Expand Up @@ -468,6 +491,7 @@ export type ServiceOutputTypes =
| UpdateCollaborationCommandOutput
| UpdateConfiguredAudienceModelAssociationCommandOutput
| UpdateConfiguredTableAnalysisRuleCommandOutput
| UpdateConfiguredTableAssociationAnalysisRuleCommandOutput
| UpdateConfiguredTableAssociationCommandOutput
| UpdateConfiguredTableCommandOutput
| UpdateIdMappingTableCommandOutput
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ export interface BatchGetSchemaAnalysisRuleCommandOutput extends BatchGetSchemaA
* // listColumns: [ // required
* // "STRING_VALUE",
* // ],
* // additionalAnalyses: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED",
* // },
* // aggregation: { // AnalysisRuleAggregation
* // aggregateColumns: [ // AggregateColumnList // required
Expand Down Expand Up @@ -96,6 +97,7 @@ export interface BatchGetSchemaAnalysisRuleCommandOutput extends BatchGetSchemaA
* // type: "STRING_VALUE", // required
* // },
* // ],
* // additionalAnalyses: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED",
* // },
* // custom: { // AnalysisRuleCustom
* // allowedAnalyses: [ // AllowedAnalysesList // required
Expand All @@ -104,6 +106,10 @@ export interface BatchGetSchemaAnalysisRuleCommandOutput extends BatchGetSchemaA
* // allowedAnalysisProviders: [ // AllowedAnalysisProviderList
* // "STRING_VALUE",
* // ],
* // additionalAnalyses: "ALLOWED" || "REQUIRED" || "NOT_ALLOWED",
* // disallowedOutputColumns: [
* // "STRING_VALUE",
* // ],
* // differentialPrivacy: { // DifferentialPrivacyConfiguration
* // columns: [ // DifferentialPrivacyColumnList // required
* // { // DifferentialPrivacyColumn
Expand All @@ -113,9 +119,7 @@ export interface BatchGetSchemaAnalysisRuleCommandOutput extends BatchGetSchemaA
* // },
* // },
* // idMappingTable: { // AnalysisRuleIdMappingTable
* // joinColumns: [ // required
* // "STRING_VALUE",
* // ],
* // joinColumns: "<AnalysisRuleColumnList>", // required
* // queryConstraints: [ // QueryConstraintList // required
* // { // QueryConstraint Union: only one key present
* // requireOverlap: { // QueryConstraintRequireOverlap
Expand Down
Loading

0 comments on commit 42b8fd5

Please sign in to comment.