Skip to content

Commit

Permalink
feat(client-cleanrooms): This release introduces support for Custom M…
Browse files Browse the repository at this point in the history
…odels in AWS Clean Rooms ML.
  • Loading branch information
awstools committed Nov 7, 2024
1 parent 7f72a17 commit ef8b258
Show file tree
Hide file tree
Showing 12 changed files with 753 additions and 200 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,24 @@ export interface CreateCollaborationCommandOutput extends CreateCollaborationOut
* memberAbilities: [ // MemberAbilities // required
* "CAN_QUERY" || "CAN_RECEIVE_RESULTS",
* ],
* mlMemberAbilities: { // MLMemberAbilities
* customMLMemberAbilities: [ // CustomMLMemberAbilities // required
* "CAN_RECEIVE_MODEL_OUTPUT" || "CAN_RECEIVE_INFERENCE_OUTPUT",
* ],
* },
* displayName: "STRING_VALUE", // required
* paymentConfiguration: { // PaymentConfiguration
* queryCompute: { // QueryComputePaymentConfig
* isResponsible: true || false, // required
* },
* machineLearning: { // MLPaymentConfig
* modelTraining: { // ModelTrainingPaymentConfig
* isResponsible: true || false, // required
* },
* modelInference: { // ModelInferencePaymentConfig
* isResponsible: true || false, // required
* },
* },
* },
* },
* ],
Expand All @@ -55,6 +68,11 @@ export interface CreateCollaborationCommandOutput extends CreateCollaborationOut
* creatorMemberAbilities: [ // required
* "CAN_QUERY" || "CAN_RECEIVE_RESULTS",
* ],
* creatorMLMemberAbilities: {
* customMLMemberAbilities: [ // required
* "CAN_RECEIVE_MODEL_OUTPUT" || "CAN_RECEIVE_INFERENCE_OUTPUT",
* ],
* },
* creatorDisplayName: "STRING_VALUE", // required
* dataEncryptionMetadata: { // DataEncryptionMetadata
* allowCleartext: true || false, // required
Expand All @@ -70,6 +88,14 @@ export interface CreateCollaborationCommandOutput extends CreateCollaborationOut
* queryCompute: {
* isResponsible: true || false, // required
* },
* machineLearning: {
* modelTraining: {
* isResponsible: true || false, // required
* },
* modelInference: {
* isResponsible: true || false, // required
* },
* },
* },
* analyticsEngine: "SPARK" || "CLEAN_ROOMS_SQL",
* };
Expand Down
21 changes: 21 additions & 0 deletions clients/client-cleanrooms/src/commands/CreateMembershipCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ export interface CreateMembershipCommandOutput extends CreateMembershipOutput, _
* queryCompute: { // MembershipQueryComputePaymentConfig
* isResponsible: true || false, // required
* },
* machineLearning: { // MembershipMLPaymentConfig
* modelTraining: { // MembershipModelTrainingPaymentConfig
* isResponsible: true || false, // required
* },
* modelInference: { // MembershipModelInferencePaymentConfig
* isResponsible: true || false, // required
* },
* },
* },
* };
* const command = new CreateMembershipCommand(input);
Expand All @@ -76,6 +84,11 @@ export interface CreateMembershipCommandOutput extends CreateMembershipOutput, _
* // memberAbilities: [ // MemberAbilities // required
* // "CAN_QUERY" || "CAN_RECEIVE_RESULTS",
* // ],
* // mlMemberAbilities: { // MLMemberAbilities
* // customMLMemberAbilities: [ // CustomMLMemberAbilities // required
* // "CAN_RECEIVE_MODEL_OUTPUT" || "CAN_RECEIVE_INFERENCE_OUTPUT",
* // ],
* // },
* // queryLogStatus: "STRING_VALUE", // required
* // defaultResultConfiguration: { // MembershipProtectedQueryResultConfiguration
* // outputConfiguration: { // MembershipProtectedQueryOutputConfiguration Union: only one key present
Expand All @@ -92,6 +105,14 @@ export interface CreateMembershipCommandOutput extends CreateMembershipOutput, _
* // queryCompute: { // MembershipQueryComputePaymentConfig
* // isResponsible: true || false, // required
* // },
* // machineLearning: { // MembershipMLPaymentConfig
* // modelTraining: { // MembershipModelTrainingPaymentConfig
* // isResponsible: true || false, // required
* // },
* // modelInference: { // MembershipModelInferencePaymentConfig
* // isResponsible: true || false, // required
* // },
* // },
* // },
* // },
* // };
Expand Down
13 changes: 13 additions & 0 deletions clients/client-cleanrooms/src/commands/GetMembershipCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ export interface GetMembershipCommandOutput extends GetMembershipOutput, __Metad
* // memberAbilities: [ // MemberAbilities // required
* // "CAN_QUERY" || "CAN_RECEIVE_RESULTS",
* // ],
* // mlMemberAbilities: { // MLMemberAbilities
* // customMLMemberAbilities: [ // CustomMLMemberAbilities // required
* // "CAN_RECEIVE_MODEL_OUTPUT" || "CAN_RECEIVE_INFERENCE_OUTPUT",
* // ],
* // },
* // queryLogStatus: "STRING_VALUE", // required
* // defaultResultConfiguration: { // MembershipProtectedQueryResultConfiguration
* // outputConfiguration: { // MembershipProtectedQueryOutputConfiguration Union: only one key present
Expand All @@ -71,6 +76,14 @@ export interface GetMembershipCommandOutput extends GetMembershipOutput, __Metad
* // queryCompute: { // MembershipQueryComputePaymentConfig
* // isResponsible: true || false, // required
* // },
* // machineLearning: { // MembershipMLPaymentConfig
* // modelTraining: { // MembershipModelTrainingPaymentConfig
* // isResponsible: true || false, // required
* // },
* // modelInference: { // MembershipModelInferencePaymentConfig
* // isResponsible: true || false, // required
* // },
* // },
* // },
* // },
* // };
Expand Down
13 changes: 13 additions & 0 deletions clients/client-cleanrooms/src/commands/ListMembersCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ export interface ListMembersCommandOutput extends ListMembersOutput, __MetadataB
* // abilities: [ // MemberAbilities // required
* // "CAN_QUERY" || "CAN_RECEIVE_RESULTS",
* // ],
* // mlAbilities: { // MLMemberAbilities
* // customMLMemberAbilities: [ // CustomMLMemberAbilities // required
* // "CAN_RECEIVE_MODEL_OUTPUT" || "CAN_RECEIVE_INFERENCE_OUTPUT",
* // ],
* // },
* // createTime: new Date("TIMESTAMP"), // required
* // updateTime: new Date("TIMESTAMP"), // required
* // membershipId: "STRING_VALUE",
Expand All @@ -60,6 +65,14 @@ export interface ListMembersCommandOutput extends ListMembersOutput, __MetadataB
* // queryCompute: { // QueryComputePaymentConfig
* // isResponsible: true || false, // required
* // },
* // machineLearning: { // MLPaymentConfig
* // modelTraining: { // ModelTrainingPaymentConfig
* // isResponsible: true || false, // required
* // },
* // modelInference: { // ModelInferencePaymentConfig
* // isResponsible: true || false, // required
* // },
* // },
* // },
* // },
* // ],
Expand Down
13 changes: 13 additions & 0 deletions clients/client-cleanrooms/src/commands/ListMembershipsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,23 @@ export interface ListMembershipsCommandOutput extends ListMembershipsOutput, __M
* // memberAbilities: [ // MemberAbilities // required
* // "CAN_QUERY" || "CAN_RECEIVE_RESULTS",
* // ],
* // mlMemberAbilities: { // MLMemberAbilities
* // customMLMemberAbilities: [ // CustomMLMemberAbilities // required
* // "CAN_RECEIVE_MODEL_OUTPUT" || "CAN_RECEIVE_INFERENCE_OUTPUT",
* // ],
* // },
* // paymentConfiguration: { // MembershipPaymentConfiguration
* // queryCompute: { // MembershipQueryComputePaymentConfig
* // isResponsible: true || false, // required
* // },
* // machineLearning: { // MembershipMLPaymentConfig
* // modelTraining: { // MembershipModelTrainingPaymentConfig
* // isResponsible: true || false, // required
* // },
* // modelInference: { // MembershipModelInferencePaymentConfig
* // isResponsible: true || false, // required
* // },
* // },
* // },
* // },
* // ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsClient";
import { commonParams } from "../endpoint/EndpointParameters";
import { PreviewPrivacyImpactInput, PreviewPrivacyImpactOutput } from "../models/models_0";
import { PreviewPrivacyImpactInput, PreviewPrivacyImpactOutput } from "../models/models_1";
import { de_PreviewPrivacyImpactCommand, se_PreviewPrivacyImpactCommand } from "../protocols/Aws_restJson1";

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,12 @@ import { MetadataBearer as __MetadataBearer } from "@smithy/types";

import { CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsClient";
import { commonParams } from "../endpoint/EndpointParameters";
import { StartProtectedQueryInput, StartProtectedQueryInputFilterSensitiveLog } from "../models/models_0";
import { StartProtectedQueryOutput, StartProtectedQueryOutputFilterSensitiveLog } from "../models/models_1";
import {
StartProtectedQueryInput,
StartProtectedQueryInputFilterSensitiveLog,
StartProtectedQueryOutput,
StartProtectedQueryOutputFilterSensitiveLog,
} from "../models/models_1";
import { de_StartProtectedQueryCommand, se_StartProtectedQueryCommand } from "../protocols/Aws_restJson1";

/**
Expand Down
13 changes: 13 additions & 0 deletions clients/client-cleanrooms/src/commands/UpdateMembershipCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ export interface UpdateMembershipCommandOutput extends UpdateMembershipOutput, _
* // memberAbilities: [ // MemberAbilities // required
* // "CAN_QUERY" || "CAN_RECEIVE_RESULTS",
* // ],
* // mlMemberAbilities: { // MLMemberAbilities
* // customMLMemberAbilities: [ // CustomMLMemberAbilities // required
* // "CAN_RECEIVE_MODEL_OUTPUT" || "CAN_RECEIVE_INFERENCE_OUTPUT",
* // ],
* // },
* // queryLogStatus: "STRING_VALUE", // required
* // defaultResultConfiguration: { // MembershipProtectedQueryResultConfiguration
* // outputConfiguration: { // MembershipProtectedQueryOutputConfiguration Union: only one key present
Expand All @@ -83,6 +88,14 @@ export interface UpdateMembershipCommandOutput extends UpdateMembershipOutput, _
* // queryCompute: { // MembershipQueryComputePaymentConfig
* // isResponsible: true || false, // required
* // },
* // machineLearning: { // MembershipMLPaymentConfig
* // modelTraining: { // MembershipModelTrainingPaymentConfig
* // isResponsible: true || false, // required
* // },
* // modelInference: { // MembershipModelInferencePaymentConfig
* // isResponsible: true || false, // required
* // },
* // },
* // },
* // },
* // };
Expand Down
Loading

0 comments on commit ef8b258

Please sign in to comment.