Skip to content

Commit

Permalink
feat(client-cleanrooms): This feature provides the ability for the co…
Browse files Browse the repository at this point in the history
…llaboration creator to configure either the member who can run queries or a different member in the collaboration to be billed for query compute costs.
  • Loading branch information
awstools committed Nov 14, 2023
1 parent b388fbe commit 85cd599
Show file tree
Hide file tree
Showing 12 changed files with 379 additions and 79 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export interface BatchGetSchemaCommandOutput extends BatchGetSchemaOutput, __Met
* // description: "STRING_VALUE", // required
* // createTime: new Date("TIMESTAMP"), // required
* // updateTime: new Date("TIMESTAMP"), // required
* // type: "STRING_VALUE", // required
* // type: "TABLE", // required
* // },
* // ],
* // errors: [ // BatchGetSchemaErrorList // required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ export interface CreateCollaborationCommandOutput extends CreateCollaborationOut
* "STRING_VALUE",
* ],
* displayName: "STRING_VALUE", // required
* paymentConfiguration: { // PaymentConfiguration
* queryCompute: { // QueryComputePaymentConfig
* isResponsible: true || false, // required
* },
* },
* },
* ],
* name: "STRING_VALUE", // required
Expand All @@ -70,6 +75,11 @@ export interface CreateCollaborationCommandOutput extends CreateCollaborationOut
* tags: { // TagMap
* "<keys>": "STRING_VALUE",
* },
* creatorPaymentConfiguration: {
* queryCompute: {
* isResponsible: true || false, // required
* },
* },
* };
* const command = new CreateCollaborationCommand(input);
* const response = await client.send(command);
Expand Down
10 changes: 10 additions & 0 deletions clients/client-cleanrooms/src/commands/CreateMembershipCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ export interface CreateMembershipCommandOutput extends CreateMembershipOutput, _
* },
* roleArn: "STRING_VALUE",
* },
* paymentConfiguration: { // MembershipPaymentConfiguration
* queryCompute: { // MembershipQueryComputePaymentConfig
* isResponsible: true || false, // required
* },
* },
* };
* const command = new CreateMembershipCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -90,6 +95,11 @@ export interface CreateMembershipCommandOutput extends CreateMembershipOutput, _
* // },
* // roleArn: "STRING_VALUE",
* // },
* // paymentConfiguration: { // MembershipPaymentConfiguration
* // queryCompute: { // MembershipQueryComputePaymentConfig
* // isResponsible: true || false, // required
* // },
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ export interface GetMembershipCommandOutput extends GetMembershipOutput, __Metad
* // },
* // roleArn: "STRING_VALUE",
* // },
* // paymentConfiguration: { // MembershipPaymentConfiguration
* // queryCompute: { // MembershipQueryComputePaymentConfig
* // isResponsible: true || false, // required
* // },
* // },
* // },
* // };
*
Expand Down
2 changes: 1 addition & 1 deletion clients/client-cleanrooms/src/commands/GetSchemaCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export interface GetSchemaCommandOutput extends GetSchemaOutput, __MetadataBeare
* // description: "STRING_VALUE", // required
* // createTime: new Date("TIMESTAMP"), // required
* // updateTime: new Date("TIMESTAMP"), // required
* // type: "STRING_VALUE", // required
* // type: "TABLE", // required
* // },
* // };
*
Expand Down
5 changes: 5 additions & 0 deletions clients/client-cleanrooms/src/commands/ListMembersCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ export interface ListMembersCommandOutput extends ListMembersOutput, __MetadataB
* // updateTime: new Date("TIMESTAMP"), // required
* // membershipId: "STRING_VALUE",
* // membershipArn: "STRING_VALUE",
* // paymentConfiguration: { // PaymentConfiguration
* // queryCompute: { // QueryComputePaymentConfig
* // isResponsible: true || false, // required
* // },
* // },
* // },
* // ],
* // };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,11 @@ export interface ListMembershipsCommandOutput extends ListMembershipsOutput, __M
* // memberAbilities: [ // MemberAbilities // required
* // "STRING_VALUE",
* // ],
* // paymentConfiguration: { // MembershipPaymentConfiguration
* // queryCompute: { // MembershipQueryComputePaymentConfig
* // isResponsible: true || false, // required
* // },
* // },
* // },
* // ],
* // };
Expand Down
4 changes: 2 additions & 2 deletions clients/client-cleanrooms/src/commands/ListSchemasCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export interface ListSchemasCommandOutput extends ListSchemasOutput, __MetadataB
* const client = new CleanRoomsClient(config);
* const input = { // ListSchemasInput
* collaborationIdentifier: "STRING_VALUE", // required
* schemaType: "STRING_VALUE",
* schemaType: "TABLE",
* nextToken: "STRING_VALUE",
* maxResults: Number("int"),
* };
Expand All @@ -56,7 +56,7 @@ export interface ListSchemasCommandOutput extends ListSchemasOutput, __MetadataB
* // schemaSummaries: [ // SchemaSummaryList // required
* // { // SchemaSummary
* // name: "STRING_VALUE", // required
* // type: "STRING_VALUE", // required
* // type: "TABLE", // required
* // creatorAccountId: "STRING_VALUE", // required
* // createTime: new Date("TIMESTAMP"), // required
* // updateTime: new Date("TIMESTAMP"), // required
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ export interface UpdateMembershipCommandOutput extends UpdateMembershipOutput, _
* // },
* // roleArn: "STRING_VALUE",
* // },
* // paymentConfiguration: { // MembershipPaymentConfiguration
* // queryCompute: { // MembershipQueryComputePaymentConfig
* // isResponsible: true || false, // required
* // },
* // },
* // },
* // };
*
Expand Down
Loading

0 comments on commit 85cd599

Please sign in to comment.