Skip to content

Commit

Permalink
feat(client-cleanrooms): This release decouples member abilities in a…
Browse files Browse the repository at this point in the history
… collaboration. With this change, the member who can run queries no longer needs to be the same as the member who can receive results.
  • Loading branch information
awstools committed Aug 30, 2023
1 parent 6d84166 commit 915b7c9
Show file tree
Hide file tree
Showing 14 changed files with 717 additions and 315 deletions.
12 changes: 7 additions & 5 deletions clients/client-cleanrooms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
AWS SDK for JavaScript CleanRooms Client for Node.js, Browser and React Native.

<p>Welcome to the <i>Clean Rooms API Reference</i>.</p>
<p>Clean Rooms is an Amazon Web Services service that helps multiple parties to join their data
together in a secure collaboration workspace. In the collaboration, members who can query
and receive results can get insights into the collective datasets without either party getting
access to the other party's raw data.</p>
<p>To learn more about Clean Rooms concepts, procedures, and best practices, see the
<p>Clean Rooms is an Amazon Web Services service that helps multiple parties to join
their data together in a secure collaboration workspace. In the collaboration, members who
can query and receive results can get insights into the collective datasets without either
party getting access to the other party's raw data.</p>
<p>To learn more about Clean Rooms concepts, procedures, and best practices, see the
<a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean Rooms User Guide</a>.</p>
<p>To learn more about SQL commands, functions, and conditions supported in Clean Rooms, see the
<a href="https://docs.aws.amazon.com/clean-rooms/latest/sql-reference/sql-reference.html">Clean Rooms SQL Reference</a>.</p>

## Installing

Expand Down
14 changes: 8 additions & 6 deletions clients/client-cleanrooms/src/CleanRooms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -983,12 +983,14 @@ export interface CleanRooms {
/**
* @public
* <p>Welcome to the <i>Clean Rooms API Reference</i>.</p>
* <p>Clean Rooms is an Amazon Web Services service that helps multiple parties to join their data
* together in a secure collaboration workspace. In the collaboration, members who can query
* and receive results can get insights into the collective datasets without either party getting
* access to the other party's raw data.</p>
* <p>To learn more about Clean Rooms concepts, procedures, and best practices, see the
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean Rooms User Guide</a>.</p>
* <p>Clean Rooms is an Amazon Web Services service that helps multiple parties to join
* their data together in a secure collaboration workspace. In the collaboration, members who
* can query and receive results can get insights into the collective datasets without either
* party getting access to the other party's raw data.</p>
* <p>To learn more about Clean Rooms concepts, procedures, and best practices, see the
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean Rooms User Guide</a>.</p>
* <p>To learn more about SQL commands, functions, and conditions supported in Clean Rooms, see the
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/sql-reference/sql-reference.html">Clean Rooms SQL Reference</a>.</p>
*/
export class CleanRooms extends CleanRoomsClient implements CleanRooms {}
createAggregatedClient(commands, CleanRooms);
14 changes: 8 additions & 6 deletions clients/client-cleanrooms/src/CleanRoomsClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,12 +464,14 @@ export interface CleanRoomsClientResolvedConfig extends CleanRoomsClientResolved
/**
* @public
* <p>Welcome to the <i>Clean Rooms API Reference</i>.</p>
* <p>Clean Rooms is an Amazon Web Services service that helps multiple parties to join their data
* together in a secure collaboration workspace. In the collaboration, members who can query
* and receive results can get insights into the collective datasets without either party getting
* access to the other party's raw data.</p>
* <p>To learn more about Clean Rooms concepts, procedures, and best practices, see the
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean Rooms User Guide</a>.</p>
* <p>Clean Rooms is an Amazon Web Services service that helps multiple parties to join
* their data together in a secure collaboration workspace. In the collaboration, members who
* can query and receive results can get insights into the collective datasets without either
* party getting access to the other party's raw data.</p>
* <p>To learn more about Clean Rooms concepts, procedures, and best practices, see the
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean Rooms User Guide</a>.</p>
* <p>To learn more about SQL commands, functions, and conditions supported in Clean Rooms, see the
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/sql-reference/sql-reference.html">Clean Rooms SQL Reference</a>.</p>
*/
export class CleanRoomsClient extends __Client<
__HttpHandlerOptions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export interface BatchGetCollaborationAnalysisTemplateCommandOutput

/**
* @public
* <p>Retrieves multiple analysis templates within a collaboration by their Amazon Resource Names (ARNs).</p>
* <p>Retrieves multiple analysis templates within a collaboration by their Amazon Resource
* Names (ARNs).</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
20 changes: 20 additions & 0 deletions clients/client-cleanrooms/src/commands/CreateMembershipCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ export interface CreateMembershipCommandOutput extends CreateMembershipOutput, _
* tags: { // TagMap
* "<keys>": "STRING_VALUE",
* },
* defaultResultConfiguration: { // MembershipProtectedQueryResultConfiguration
* outputConfiguration: { // MembershipProtectedQueryOutputConfiguration Union: only one key present
* s3: { // ProtectedQueryS3OutputConfiguration
* resultFormat: "STRING_VALUE", // required
* bucket: "STRING_VALUE", // required
* keyPrefix: "STRING_VALUE",
* },
* },
* roleArn: "STRING_VALUE",
* },
* };
* const command = new CreateMembershipCommand(input);
* const response = await client.send(command);
Expand All @@ -69,6 +79,16 @@ export interface CreateMembershipCommandOutput extends CreateMembershipOutput, _
* // "STRING_VALUE",
* // ],
* // queryLogStatus: "STRING_VALUE", // required
* // defaultResultConfiguration: { // MembershipProtectedQueryResultConfiguration
* // outputConfiguration: { // MembershipProtectedQueryOutputConfiguration Union: only one key present
* // s3: { // ProtectedQueryS3OutputConfiguration
* // resultFormat: "STRING_VALUE", // required
* // bucket: "STRING_VALUE", // required
* // keyPrefix: "STRING_VALUE",
* // },
* // },
* // roleArn: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
10 changes: 10 additions & 0 deletions clients/client-cleanrooms/src/commands/GetMembershipCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@ export interface GetMembershipCommandOutput extends GetMembershipOutput, __Metad
* // "STRING_VALUE",
* // ],
* // queryLogStatus: "STRING_VALUE", // required
* // defaultResultConfiguration: { // MembershipProtectedQueryResultConfiguration
* // outputConfiguration: { // MembershipProtectedQueryOutputConfiguration Union: only one key present
* // s3: { // ProtectedQueryS3OutputConfiguration
* // resultFormat: "STRING_VALUE", // required
* // bucket: "STRING_VALUE", // required
* // keyPrefix: "STRING_VALUE",
* // },
* // },
* // roleArn: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ export interface GetProtectedQueryCommandOutput extends GetProtectedQueryOutput,
* // s3: { // ProtectedQueryS3Output
* // location: "STRING_VALUE", // required
* // },
* // memberList: [ // ProtectedQueryMemberOutputList
* // { // ProtectedQuerySingleMemberOutput
* // accountId: "STRING_VALUE", // required
* // },
* // ],
* // },
* // },
* // error: { // ProtectedQueryError
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface StartProtectedQueryCommandOutput extends StartProtectedQueryOut

/**
* @public
* <p>Creates a protected query that is started by Clean Rooms .</p>
* <p>Creates a protected query that is started by Clean Rooms.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down Expand Up @@ -101,6 +101,11 @@ export interface StartProtectedQueryCommandOutput extends StartProtectedQueryOut
* // s3: { // ProtectedQueryS3Output
* // location: "STRING_VALUE", // required
* // },
* // memberList: [ // ProtectedQueryMemberOutputList
* // { // ProtectedQuerySingleMemberOutput
* // accountId: "STRING_VALUE", // required
* // },
* // ],
* // },
* // },
* // error: { // ProtectedQueryError
Expand Down
20 changes: 20 additions & 0 deletions clients/client-cleanrooms/src/commands/UpdateMembershipCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ export interface UpdateMembershipCommandOutput extends UpdateMembershipOutput, _
* const input = { // UpdateMembershipInput
* membershipIdentifier: "STRING_VALUE", // required
* queryLogStatus: "STRING_VALUE",
* defaultResultConfiguration: { // MembershipProtectedQueryResultConfiguration
* outputConfiguration: { // MembershipProtectedQueryOutputConfiguration Union: only one key present
* s3: { // ProtectedQueryS3OutputConfiguration
* resultFormat: "STRING_VALUE", // required
* bucket: "STRING_VALUE", // required
* keyPrefix: "STRING_VALUE",
* },
* },
* roleArn: "STRING_VALUE",
* },
* };
* const command = new UpdateMembershipCommand(input);
* const response = await client.send(command);
Expand All @@ -65,6 +75,16 @@ export interface UpdateMembershipCommandOutput extends UpdateMembershipOutput, _
* // "STRING_VALUE",
* // ],
* // queryLogStatus: "STRING_VALUE", // required
* // defaultResultConfiguration: { // MembershipProtectedQueryResultConfiguration
* // outputConfiguration: { // MembershipProtectedQueryOutputConfiguration Union: only one key present
* // s3: { // ProtectedQueryS3OutputConfiguration
* // resultFormat: "STRING_VALUE", // required
* // bucket: "STRING_VALUE", // required
* // keyPrefix: "STRING_VALUE",
* // },
* // },
* // roleArn: "STRING_VALUE",
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ export interface UpdateProtectedQueryCommandOutput extends UpdateProtectedQueryO
* // s3: { // ProtectedQueryS3Output
* // location: "STRING_VALUE", // required
* // },
* // memberList: [ // ProtectedQueryMemberOutputList
* // { // ProtectedQuerySingleMemberOutput
* // accountId: "STRING_VALUE", // required
* // },
* // ],
* // },
* // },
* // error: { // ProtectedQueryError
Expand Down
14 changes: 8 additions & 6 deletions clients/client-cleanrooms/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
/* eslint-disable */
/**
* <p>Welcome to the <i>Clean Rooms API Reference</i>.</p>
* <p>Clean Rooms is an Amazon Web Services service that helps multiple parties to join their data
* together in a secure collaboration workspace. In the collaboration, members who can query
* and receive results can get insights into the collective datasets without either party getting
* access to the other party's raw data.</p>
* <p>To learn more about Clean Rooms concepts, procedures, and best practices, see the
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean Rooms User Guide</a>.</p>
* <p>Clean Rooms is an Amazon Web Services service that helps multiple parties to join
* their data together in a secure collaboration workspace. In the collaboration, members who
* can query and receive results can get insights into the collective datasets without either
* party getting access to the other party's raw data.</p>
* <p>To learn more about Clean Rooms concepts, procedures, and best practices, see the
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean Rooms User Guide</a>.</p>
* <p>To learn more about SQL commands, functions, and conditions supported in Clean Rooms, see the
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/sql-reference/sql-reference.html">Clean Rooms SQL Reference</a>.</p>
*
* @packageDocumentation
*/
Expand Down
Loading

0 comments on commit 915b7c9

Please sign in to comment.