@aws-sdk/client-cleanrooms 3.295.0 → 3.297.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/README.md +25 -4
  2. package/dist-cjs/CleanRooms.js +45 -0
  3. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  4. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  5. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  6. package/dist-cjs/commands/index.js +3 -0
  7. package/dist-cjs/endpoint/ruleset.js +3 -3
  8. package/dist-cjs/models/models_0.js +26 -1
  9. package/dist-cjs/protocols/Aws_restJson1.js +198 -2
  10. package/dist-es/CleanRooms.js +45 -0
  11. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  12. package/dist-es/commands/TagResourceCommand.js +42 -0
  13. package/dist-es/commands/UntagResourceCommand.js +42 -0
  14. package/dist-es/commands/index.js +3 -0
  15. package/dist-es/endpoint/ruleset.js +3 -3
  16. package/dist-es/models/models_0.js +19 -0
  17. package/dist-es/protocols/Aws_restJson1.js +190 -0
  18. package/dist-types/CleanRooms.d.ts +61 -5
  19. package/dist-types/CleanRoomsClient.d.ts +31 -11
  20. package/dist-types/commands/BatchGetSchemaCommand.d.ts +16 -0
  21. package/dist-types/commands/CreateCollaborationCommand.d.ts +16 -0
  22. package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +16 -0
  23. package/dist-types/commands/CreateConfiguredTableAssociationCommand.d.ts +16 -0
  24. package/dist-types/commands/CreateConfiguredTableCommand.d.ts +16 -0
  25. package/dist-types/commands/CreateMembershipCommand.d.ts +16 -0
  26. package/dist-types/commands/DeleteCollaborationCommand.d.ts +16 -0
  27. package/dist-types/commands/DeleteConfiguredTableAnalysisRuleCommand.d.ts +16 -0
  28. package/dist-types/commands/DeleteConfiguredTableAssociationCommand.d.ts +16 -0
  29. package/dist-types/commands/DeleteConfiguredTableCommand.d.ts +16 -0
  30. package/dist-types/commands/DeleteMemberCommand.d.ts +16 -0
  31. package/dist-types/commands/DeleteMembershipCommand.d.ts +16 -0
  32. package/dist-types/commands/GetCollaborationCommand.d.ts +16 -0
  33. package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +16 -0
  34. package/dist-types/commands/GetConfiguredTableAssociationCommand.d.ts +16 -0
  35. package/dist-types/commands/GetConfiguredTableCommand.d.ts +16 -0
  36. package/dist-types/commands/GetMembershipCommand.d.ts +16 -0
  37. package/dist-types/commands/GetProtectedQueryCommand.d.ts +16 -0
  38. package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +16 -0
  39. package/dist-types/commands/GetSchemaCommand.d.ts +16 -0
  40. package/dist-types/commands/ListCollaborationsCommand.d.ts +16 -0
  41. package/dist-types/commands/ListConfiguredTableAssociationsCommand.d.ts +19 -0
  42. package/dist-types/commands/ListConfiguredTablesCommand.d.ts +16 -0
  43. package/dist-types/commands/ListMembersCommand.d.ts +16 -0
  44. package/dist-types/commands/ListMembershipsCommand.d.ts +16 -0
  45. package/dist-types/commands/ListProtectedQueriesCommand.d.ts +19 -0
  46. package/dist-types/commands/ListSchemasCommand.d.ts +16 -0
  47. package/dist-types/commands/ListTagsForResourceCommand.d.ts +66 -0
  48. package/dist-types/commands/StartProtectedQueryCommand.d.ts +16 -0
  49. package/dist-types/commands/TagResourceCommand.d.ts +66 -0
  50. package/dist-types/commands/UntagResourceCommand.d.ts +66 -0
  51. package/dist-types/commands/UpdateCollaborationCommand.d.ts +16 -0
  52. package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +16 -0
  53. package/dist-types/commands/UpdateConfiguredTableAssociationCommand.d.ts +16 -0
  54. package/dist-types/commands/UpdateConfiguredTableCommand.d.ts +16 -0
  55. package/dist-types/commands/UpdateMembershipCommand.d.ts +16 -0
  56. package/dist-types/commands/UpdateProtectedQueryCommand.d.ts +16 -0
  57. package/dist-types/commands/index.d.ts +3 -0
  58. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  59. package/dist-types/models/CleanRoomsServiceException.d.ts +2 -0
  60. package/dist-types/models/models_0.d.ts +443 -3
  61. package/dist-types/pagination/Interfaces.d.ts +3 -0
  62. package/dist-types/pagination/ListCollaborationsPaginator.d.ts +3 -0
  63. package/dist-types/pagination/ListConfiguredTableAssociationsPaginator.d.ts +3 -0
  64. package/dist-types/pagination/ListConfiguredTablesPaginator.d.ts +3 -0
  65. package/dist-types/pagination/ListMembersPaginator.d.ts +3 -0
  66. package/dist-types/pagination/ListMembershipsPaginator.d.ts +3 -0
  67. package/dist-types/pagination/ListProtectedQueriesPaginator.d.ts +3 -0
  68. package/dist-types/pagination/ListSchemasPaginator.d.ts +3 -0
  69. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  70. package/dist-types/ts3.4/CleanRooms.d.ts +51 -0
  71. package/dist-types/ts3.4/CleanRoomsClient.d.ts +18 -0
  72. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  73. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  74. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  75. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  76. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  77. package/dist-types/ts3.4/models/models_0.d.ts +39 -0
  78. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  79. package/package.json +29 -29
@@ -43,6 +43,7 @@ export const serializeAws_restJson1CreateCollaborationCommand = async (input, co
43
43
  ...(input.members != null && { members: serializeAws_restJson1MemberList(input.members, context) }),
44
44
  ...(input.name != null && { name: input.name }),
45
45
  ...(input.queryLogStatus != null && { queryLogStatus: input.queryLogStatus }),
46
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
46
47
  });
47
48
  return new __HttpRequest({
48
49
  protocol,
@@ -71,6 +72,7 @@ export const serializeAws_restJson1CreateConfiguredTableCommand = async (input,
71
72
  ...(input.tableReference != null && {
72
73
  tableReference: serializeAws_restJson1TableReference(input.tableReference, context),
73
74
  }),
75
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
74
76
  });
75
77
  return new __HttpRequest({
76
78
  protocol,
@@ -121,6 +123,7 @@ export const serializeAws_restJson1CreateConfiguredTableAssociationCommand = asy
121
123
  ...(input.description != null && { description: input.description }),
122
124
  ...(input.name != null && { name: input.name }),
123
125
  ...(input.roleArn != null && { roleArn: input.roleArn }),
126
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
124
127
  });
125
128
  return new __HttpRequest({
126
129
  protocol,
@@ -142,6 +145,7 @@ export const serializeAws_restJson1CreateMembershipCommand = async (input, conte
142
145
  body = JSON.stringify({
143
146
  ...(input.collaborationIdentifier != null && { collaborationIdentifier: input.collaborationIdentifier }),
144
147
  ...(input.queryLogStatus != null && { queryLogStatus: input.queryLogStatus }),
148
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
145
149
  });
146
150
  return new __HttpRequest({
147
151
  protocol,
@@ -548,6 +552,22 @@ export const serializeAws_restJson1ListSchemasCommand = async (input, context) =
548
552
  body,
549
553
  });
550
554
  };
555
+ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
556
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
557
+ const headers = {};
558
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
559
+ resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
560
+ let body;
561
+ return new __HttpRequest({
562
+ protocol,
563
+ hostname,
564
+ port,
565
+ method: "GET",
566
+ headers,
567
+ path: resolvedPath,
568
+ body,
569
+ });
570
+ };
551
571
  export const serializeAws_restJson1StartProtectedQueryCommand = async (input, context) => {
552
572
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
553
573
  const headers = {
@@ -576,6 +596,50 @@ export const serializeAws_restJson1StartProtectedQueryCommand = async (input, co
576
596
  body,
577
597
  });
578
598
  };
599
+ export const serializeAws_restJson1TagResourceCommand = async (input, context) => {
600
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
601
+ const headers = {
602
+ "content-type": "application/json",
603
+ };
604
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
605
+ resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
606
+ let body;
607
+ body = JSON.stringify({
608
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
609
+ });
610
+ return new __HttpRequest({
611
+ protocol,
612
+ hostname,
613
+ port,
614
+ method: "POST",
615
+ headers,
616
+ path: resolvedPath,
617
+ body,
618
+ });
619
+ };
620
+ export const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
621
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
622
+ const headers = {};
623
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
624
+ resolvedPath = __resolvedPath(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
625
+ const query = map({
626
+ tagKeys: [
627
+ __expectNonNull(input.tagKeys, `tagKeys`) != null,
628
+ () => (input.tagKeys || []).map((_entry) => _entry),
629
+ ],
630
+ });
631
+ let body;
632
+ return new __HttpRequest({
633
+ protocol,
634
+ hostname,
635
+ port,
636
+ method: "DELETE",
637
+ headers,
638
+ path: resolvedPath,
639
+ query,
640
+ body,
641
+ });
642
+ };
579
643
  export const serializeAws_restJson1UpdateCollaborationCommand = async (input, context) => {
580
644
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
581
645
  const headers = {
@@ -1703,6 +1767,9 @@ const deserializeAws_restJson1ListConfiguredTableAssociationsCommandError = asyn
1703
1767
  case "InternalServerException":
1704
1768
  case "com.amazonaws.cleanrooms#InternalServerException":
1705
1769
  throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1770
+ case "ResourceNotFoundException":
1771
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
1772
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1706
1773
  case "ThrottlingException":
1707
1774
  case "com.amazonaws.cleanrooms#ThrottlingException":
1708
1775
  throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
@@ -1886,6 +1953,9 @@ const deserializeAws_restJson1ListProtectedQueriesCommandError = async (output,
1886
1953
  case "InternalServerException":
1887
1954
  case "com.amazonaws.cleanrooms#InternalServerException":
1888
1955
  throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1956
+ case "ResourceNotFoundException":
1957
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
1958
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1889
1959
  case "ThrottlingException":
1890
1960
  case "com.amazonaws.cleanrooms#ThrottlingException":
1891
1961
  throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
@@ -1950,6 +2020,42 @@ const deserializeAws_restJson1ListSchemasCommandError = async (output, context)
1950
2020
  });
1951
2021
  }
1952
2022
  };
2023
+ export const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
2024
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2025
+ return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
2026
+ }
2027
+ const contents = map({
2028
+ $metadata: deserializeMetadata(output),
2029
+ });
2030
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
2031
+ if (data.tags != null) {
2032
+ contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
2033
+ }
2034
+ return contents;
2035
+ };
2036
+ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
2037
+ const parsedOutput = {
2038
+ ...output,
2039
+ body: await parseErrorBody(output.body, context),
2040
+ };
2041
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2042
+ switch (errorCode) {
2043
+ case "ResourceNotFoundException":
2044
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2045
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2046
+ case "ValidationException":
2047
+ case "com.amazonaws.cleanrooms#ValidationException":
2048
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2049
+ default:
2050
+ const parsedBody = parsedOutput.body;
2051
+ throwDefaultError({
2052
+ output,
2053
+ parsedBody,
2054
+ exceptionCtor: __BaseException,
2055
+ errorCode,
2056
+ });
2057
+ }
2058
+ };
1953
2059
  export const deserializeAws_restJson1StartProtectedQueryCommand = async (output, context) => {
1954
2060
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1955
2061
  return deserializeAws_restJson1StartProtectedQueryCommandError(output, context);
@@ -1998,6 +2104,72 @@ const deserializeAws_restJson1StartProtectedQueryCommandError = async (output, c
1998
2104
  });
1999
2105
  }
2000
2106
  };
2107
+ export const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2108
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2109
+ return deserializeAws_restJson1TagResourceCommandError(output, context);
2110
+ }
2111
+ const contents = map({
2112
+ $metadata: deserializeMetadata(output),
2113
+ });
2114
+ await collectBody(output.body, context);
2115
+ return contents;
2116
+ };
2117
+ const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
2118
+ const parsedOutput = {
2119
+ ...output,
2120
+ body: await parseErrorBody(output.body, context),
2121
+ };
2122
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2123
+ switch (errorCode) {
2124
+ case "ResourceNotFoundException":
2125
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2126
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2127
+ case "ValidationException":
2128
+ case "com.amazonaws.cleanrooms#ValidationException":
2129
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2130
+ default:
2131
+ const parsedBody = parsedOutput.body;
2132
+ throwDefaultError({
2133
+ output,
2134
+ parsedBody,
2135
+ exceptionCtor: __BaseException,
2136
+ errorCode,
2137
+ });
2138
+ }
2139
+ };
2140
+ export const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
2141
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2142
+ return deserializeAws_restJson1UntagResourceCommandError(output, context);
2143
+ }
2144
+ const contents = map({
2145
+ $metadata: deserializeMetadata(output),
2146
+ });
2147
+ await collectBody(output.body, context);
2148
+ return contents;
2149
+ };
2150
+ const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
2151
+ const parsedOutput = {
2152
+ ...output,
2153
+ body: await parseErrorBody(output.body, context),
2154
+ };
2155
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2156
+ switch (errorCode) {
2157
+ case "ResourceNotFoundException":
2158
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2159
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2160
+ case "ValidationException":
2161
+ case "com.amazonaws.cleanrooms#ValidationException":
2162
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2163
+ default:
2164
+ const parsedBody = parsedOutput.body;
2165
+ throwDefaultError({
2166
+ output,
2167
+ parsedBody,
2168
+ exceptionCtor: __BaseException,
2169
+ errorCode,
2170
+ });
2171
+ }
2172
+ };
2001
2173
  export const deserializeAws_restJson1UpdateCollaborationCommand = async (output, context) => {
2002
2174
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2003
2175
  return deserializeAws_restJson1UpdateCollaborationCommandError(output, context);
@@ -2572,6 +2744,15 @@ const serializeAws_restJson1TableReference = (input, context) => {
2572
2744
  _: (name, value) => ({ name: value }),
2573
2745
  });
2574
2746
  };
2747
+ const serializeAws_restJson1TagMap = (input, context) => {
2748
+ return Object.entries(input).reduce((acc, [key, value]) => {
2749
+ if (value === null) {
2750
+ return acc;
2751
+ }
2752
+ acc[key] = value;
2753
+ return acc;
2754
+ }, {});
2755
+ };
2575
2756
  const deserializeAws_restJson1AggregateColumn = (output, context) => {
2576
2757
  return {
2577
2758
  columnNames: output.columnNames != null
@@ -3187,6 +3368,15 @@ const deserializeAws_restJson1TableReference = (output, context) => {
3187
3368
  }
3188
3369
  return { $unknown: Object.entries(output)[0] };
3189
3370
  };
3371
+ const deserializeAws_restJson1TagMap = (output, context) => {
3372
+ return Object.entries(output).reduce((acc, [key, value]) => {
3373
+ if (value === null) {
3374
+ return acc;
3375
+ }
3376
+ acc[key] = __expectString(value);
3377
+ return acc;
3378
+ }, {});
3379
+ };
3190
3380
  const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
3191
3381
  return {
3192
3382
  message: __expectString(output.message),
@@ -27,7 +27,10 @@ import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/Li
27
27
  import { ListMembershipsCommandInput, ListMembershipsCommandOutput } from "./commands/ListMembershipsCommand";
28
28
  import { ListProtectedQueriesCommandInput, ListProtectedQueriesCommandOutput } from "./commands/ListProtectedQueriesCommand";
29
29
  import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
30
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
30
31
  import { StartProtectedQueryCommandInput, StartProtectedQueryCommandOutput } from "./commands/StartProtectedQueryCommand";
32
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
33
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
31
34
  import { UpdateCollaborationCommandInput, UpdateCollaborationCommandOutput } from "./commands/UpdateCollaborationCommand";
32
35
  import { UpdateConfiguredTableAnalysisRuleCommandInput, UpdateConfiguredTableAnalysisRuleCommandOutput } from "./commands/UpdateConfiguredTableAnalysisRuleCommand";
33
36
  import { UpdateConfiguredTableAssociationCommandInput, UpdateConfiguredTableAssociationCommandOutput } from "./commands/UpdateConfiguredTableAssociationCommand";
@@ -35,13 +38,11 @@ import { UpdateConfiguredTableCommandInput, UpdateConfiguredTableCommandOutput }
35
38
  import { UpdateMembershipCommandInput, UpdateMembershipCommandOutput } from "./commands/UpdateMembershipCommand";
36
39
  import { UpdateProtectedQueryCommandInput, UpdateProtectedQueryCommandOutput } from "./commands/UpdateProtectedQueryCommand";
37
40
  /**
38
- * <note>
39
- * <p>AWS Clean Rooms is in preview release and is subject to change.</p>
40
- * </note>
41
- * <p>Welcome to the <i>AWS Clean Rooms API Reference</i>.</p>
41
+ * @public
42
+ * <p>Welcome to the <i>AWS Clean Rooms API Reference</i>.</p>
42
43
  * <p>AWS Clean Rooms is an AWS service that helps multiple parties to join their data
43
44
  * together in a secure collaboration workspace. In the collaboration, members who can query
44
- * and receive results can get insights into the combined data without either party getting
45
+ * and receive results can get insights into the collective datasets without either party getting
45
46
  * access to the other party's raw data.</p>
46
47
  * <p>To learn more about AWS Clean Rooms concepts, procedures, and best practices, see the
47
48
  * <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">AWS Clean
@@ -49,24 +50,28 @@ import { UpdateProtectedQueryCommandInput, UpdateProtectedQueryCommandOutput } f
49
50
  */
50
51
  export declare class CleanRooms extends CleanRoomsClient {
51
52
  /**
53
+ * @public
52
54
  * <p>Retrieves multiple schemas by their identifiers.</p>
53
55
  */
54
56
  batchGetSchema(args: BatchGetSchemaCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetSchemaCommandOutput>;
55
57
  batchGetSchema(args: BatchGetSchemaCommandInput, cb: (err: any, data?: BatchGetSchemaCommandOutput) => void): void;
56
58
  batchGetSchema(args: BatchGetSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetSchemaCommandOutput) => void): void;
57
59
  /**
60
+ * @public
58
61
  * <p>Creates a new collaboration.</p>
59
62
  */
60
63
  createCollaboration(args: CreateCollaborationCommandInput, options?: __HttpHandlerOptions): Promise<CreateCollaborationCommandOutput>;
61
64
  createCollaboration(args: CreateCollaborationCommandInput, cb: (err: any, data?: CreateCollaborationCommandOutput) => void): void;
62
65
  createCollaboration(args: CreateCollaborationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCollaborationCommandOutput) => void): void;
63
66
  /**
67
+ * @public
64
68
  * <p>Creates a new configured table resource.</p>
65
69
  */
66
70
  createConfiguredTable(args: CreateConfiguredTableCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfiguredTableCommandOutput>;
67
71
  createConfiguredTable(args: CreateConfiguredTableCommandInput, cb: (err: any, data?: CreateConfiguredTableCommandOutput) => void): void;
68
72
  createConfiguredTable(args: CreateConfiguredTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfiguredTableCommandOutput) => void): void;
69
73
  /**
74
+ * @public
70
75
  * <p>Creates a new analysis rule for a configured table. Currently, only one analysis rule
71
76
  * can be created for a given configured table.</p>
72
77
  */
@@ -74,6 +79,7 @@ export declare class CleanRooms extends CleanRoomsClient {
74
79
  createConfiguredTableAnalysisRule(args: CreateConfiguredTableAnalysisRuleCommandInput, cb: (err: any, data?: CreateConfiguredTableAnalysisRuleCommandOutput) => void): void;
75
80
  createConfiguredTableAnalysisRule(args: CreateConfiguredTableAnalysisRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfiguredTableAnalysisRuleCommandOutput) => void): void;
76
81
  /**
82
+ * @public
77
83
  * <p>Creates a configured table association. A configured table association links a
78
84
  * configured table with a collaboration.</p>
79
85
  */
@@ -81,6 +87,7 @@ export declare class CleanRooms extends CleanRoomsClient {
81
87
  createConfiguredTableAssociation(args: CreateConfiguredTableAssociationCommandInput, cb: (err: any, data?: CreateConfiguredTableAssociationCommandOutput) => void): void;
82
88
  createConfiguredTableAssociation(args: CreateConfiguredTableAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfiguredTableAssociationCommandOutput) => void): void;
83
89
  /**
90
+ * @public
84
91
  * <p>Creates a membership for a specific collaboration identifier and joins the
85
92
  * collaboration.</p>
86
93
  */
@@ -88,30 +95,35 @@ export declare class CleanRooms extends CleanRoomsClient {
88
95
  createMembership(args: CreateMembershipCommandInput, cb: (err: any, data?: CreateMembershipCommandOutput) => void): void;
89
96
  createMembership(args: CreateMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMembershipCommandOutput) => void): void;
90
97
  /**
98
+ * @public
91
99
  * <p>Deletes a collaboration. It can only be called by the collaboration owner.</p>
92
100
  */
93
101
  deleteCollaboration(args: DeleteCollaborationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCollaborationCommandOutput>;
94
102
  deleteCollaboration(args: DeleteCollaborationCommandInput, cb: (err: any, data?: DeleteCollaborationCommandOutput) => void): void;
95
103
  deleteCollaboration(args: DeleteCollaborationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCollaborationCommandOutput) => void): void;
96
104
  /**
105
+ * @public
97
106
  * <p>Deletes a configured table.</p>
98
107
  */
99
108
  deleteConfiguredTable(args: DeleteConfiguredTableCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfiguredTableCommandOutput>;
100
109
  deleteConfiguredTable(args: DeleteConfiguredTableCommandInput, cb: (err: any, data?: DeleteConfiguredTableCommandOutput) => void): void;
101
110
  deleteConfiguredTable(args: DeleteConfiguredTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfiguredTableCommandOutput) => void): void;
102
111
  /**
112
+ * @public
103
113
  * <p>Deletes a configured table analysis rule.</p>
104
114
  */
105
115
  deleteConfiguredTableAnalysisRule(args: DeleteConfiguredTableAnalysisRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfiguredTableAnalysisRuleCommandOutput>;
106
116
  deleteConfiguredTableAnalysisRule(args: DeleteConfiguredTableAnalysisRuleCommandInput, cb: (err: any, data?: DeleteConfiguredTableAnalysisRuleCommandOutput) => void): void;
107
117
  deleteConfiguredTableAnalysisRule(args: DeleteConfiguredTableAnalysisRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfiguredTableAnalysisRuleCommandOutput) => void): void;
108
118
  /**
119
+ * @public
109
120
  * <p>Deletes a configured table association.</p>
110
121
  */
111
122
  deleteConfiguredTableAssociation(args: DeleteConfiguredTableAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfiguredTableAssociationCommandOutput>;
112
123
  deleteConfiguredTableAssociation(args: DeleteConfiguredTableAssociationCommandInput, cb: (err: any, data?: DeleteConfiguredTableAssociationCommandOutput) => void): void;
113
124
  deleteConfiguredTableAssociation(args: DeleteConfiguredTableAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfiguredTableAssociationCommandOutput) => void): void;
114
125
  /**
126
+ * @public
115
127
  * <p>Removes the specified member from a collaboration. The removed member is placed in the
116
128
  * Removed status and can't interact with the collaboration. The removed member's data is
117
129
  * inaccessible to active members of the collaboration.</p>
@@ -120,138 +132,182 @@ export declare class CleanRooms extends CleanRoomsClient {
120
132
  deleteMember(args: DeleteMemberCommandInput, cb: (err: any, data?: DeleteMemberCommandOutput) => void): void;
121
133
  deleteMember(args: DeleteMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMemberCommandOutput) => void): void;
122
134
  /**
135
+ * @public
123
136
  * <p>Deletes a specified membership. All resources under a membership must be deleted.</p>
124
137
  */
125
138
  deleteMembership(args: DeleteMembershipCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMembershipCommandOutput>;
126
139
  deleteMembership(args: DeleteMembershipCommandInput, cb: (err: any, data?: DeleteMembershipCommandOutput) => void): void;
127
140
  deleteMembership(args: DeleteMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMembershipCommandOutput) => void): void;
128
141
  /**
142
+ * @public
129
143
  * <p>Returns metadata about a collaboration.</p>
130
144
  */
131
145
  getCollaboration(args: GetCollaborationCommandInput, options?: __HttpHandlerOptions): Promise<GetCollaborationCommandOutput>;
132
146
  getCollaboration(args: GetCollaborationCommandInput, cb: (err: any, data?: GetCollaborationCommandOutput) => void): void;
133
147
  getCollaboration(args: GetCollaborationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCollaborationCommandOutput) => void): void;
134
148
  /**
149
+ * @public
135
150
  * <p>Retrieves a configured table.</p>
136
151
  */
137
152
  getConfiguredTable(args: GetConfiguredTableCommandInput, options?: __HttpHandlerOptions): Promise<GetConfiguredTableCommandOutput>;
138
153
  getConfiguredTable(args: GetConfiguredTableCommandInput, cb: (err: any, data?: GetConfiguredTableCommandOutput) => void): void;
139
154
  getConfiguredTable(args: GetConfiguredTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfiguredTableCommandOutput) => void): void;
140
155
  /**
156
+ * @public
141
157
  * <p>Retrieves a configured table analysis rule.</p>
142
158
  */
143
159
  getConfiguredTableAnalysisRule(args: GetConfiguredTableAnalysisRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetConfiguredTableAnalysisRuleCommandOutput>;
144
160
  getConfiguredTableAnalysisRule(args: GetConfiguredTableAnalysisRuleCommandInput, cb: (err: any, data?: GetConfiguredTableAnalysisRuleCommandOutput) => void): void;
145
161
  getConfiguredTableAnalysisRule(args: GetConfiguredTableAnalysisRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfiguredTableAnalysisRuleCommandOutput) => void): void;
146
162
  /**
163
+ * @public
147
164
  * <p>Retrieves a configured table association.</p>
148
165
  */
149
166
  getConfiguredTableAssociation(args: GetConfiguredTableAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetConfiguredTableAssociationCommandOutput>;
150
167
  getConfiguredTableAssociation(args: GetConfiguredTableAssociationCommandInput, cb: (err: any, data?: GetConfiguredTableAssociationCommandOutput) => void): void;
151
168
  getConfiguredTableAssociation(args: GetConfiguredTableAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfiguredTableAssociationCommandOutput) => void): void;
152
169
  /**
170
+ * @public
153
171
  * <p>Retrieves a specified membership for an identifier.</p>
154
172
  */
155
173
  getMembership(args: GetMembershipCommandInput, options?: __HttpHandlerOptions): Promise<GetMembershipCommandOutput>;
156
174
  getMembership(args: GetMembershipCommandInput, cb: (err: any, data?: GetMembershipCommandOutput) => void): void;
157
175
  getMembership(args: GetMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMembershipCommandOutput) => void): void;
158
176
  /**
177
+ * @public
159
178
  * <p>Returns query processing metadata.</p>
160
179
  */
161
180
  getProtectedQuery(args: GetProtectedQueryCommandInput, options?: __HttpHandlerOptions): Promise<GetProtectedQueryCommandOutput>;
162
181
  getProtectedQuery(args: GetProtectedQueryCommandInput, cb: (err: any, data?: GetProtectedQueryCommandOutput) => void): void;
163
182
  getProtectedQuery(args: GetProtectedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProtectedQueryCommandOutput) => void): void;
164
183
  /**
184
+ * @public
165
185
  * <p>Retrieves the schema for a relation within a collaboration.</p>
166
186
  */
167
187
  getSchema(args: GetSchemaCommandInput, options?: __HttpHandlerOptions): Promise<GetSchemaCommandOutput>;
168
188
  getSchema(args: GetSchemaCommandInput, cb: (err: any, data?: GetSchemaCommandOutput) => void): void;
169
189
  getSchema(args: GetSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSchemaCommandOutput) => void): void;
170
190
  /**
191
+ * @public
171
192
  * <p>Retrieves a schema analysis rule.</p>
172
193
  */
173
194
  getSchemaAnalysisRule(args: GetSchemaAnalysisRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetSchemaAnalysisRuleCommandOutput>;
174
195
  getSchemaAnalysisRule(args: GetSchemaAnalysisRuleCommandInput, cb: (err: any, data?: GetSchemaAnalysisRuleCommandOutput) => void): void;
175
196
  getSchemaAnalysisRule(args: GetSchemaAnalysisRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSchemaAnalysisRuleCommandOutput) => void): void;
176
197
  /**
198
+ * @public
177
199
  * <p>Lists collaborations the caller owns, is active in, or has been invited to.</p>
178
200
  */
179
201
  listCollaborations(args: ListCollaborationsCommandInput, options?: __HttpHandlerOptions): Promise<ListCollaborationsCommandOutput>;
180
202
  listCollaborations(args: ListCollaborationsCommandInput, cb: (err: any, data?: ListCollaborationsCommandOutput) => void): void;
181
203
  listCollaborations(args: ListCollaborationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCollaborationsCommandOutput) => void): void;
182
204
  /**
205
+ * @public
183
206
  * <p>Lists configured table associations for a membership.</p>
184
207
  */
185
208
  listConfiguredTableAssociations(args: ListConfiguredTableAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfiguredTableAssociationsCommandOutput>;
186
209
  listConfiguredTableAssociations(args: ListConfiguredTableAssociationsCommandInput, cb: (err: any, data?: ListConfiguredTableAssociationsCommandOutput) => void): void;
187
210
  listConfiguredTableAssociations(args: ListConfiguredTableAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfiguredTableAssociationsCommandOutput) => void): void;
188
211
  /**
212
+ * @public
189
213
  * <p>Lists configured tables.</p>
190
214
  */
191
215
  listConfiguredTables(args: ListConfiguredTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListConfiguredTablesCommandOutput>;
192
216
  listConfiguredTables(args: ListConfiguredTablesCommandInput, cb: (err: any, data?: ListConfiguredTablesCommandOutput) => void): void;
193
217
  listConfiguredTables(args: ListConfiguredTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfiguredTablesCommandOutput) => void): void;
194
218
  /**
219
+ * @public
195
220
  * <p>Lists all members within a collaboration.</p>
196
221
  */
197
222
  listMembers(args: ListMembersCommandInput, options?: __HttpHandlerOptions): Promise<ListMembersCommandOutput>;
198
223
  listMembers(args: ListMembersCommandInput, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
199
224
  listMembers(args: ListMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
200
225
  /**
226
+ * @public
201
227
  * <p>Lists all memberships resources within the caller's account.</p>
202
228
  */
203
229
  listMemberships(args: ListMembershipsCommandInput, options?: __HttpHandlerOptions): Promise<ListMembershipsCommandOutput>;
204
230
  listMemberships(args: ListMembershipsCommandInput, cb: (err: any, data?: ListMembershipsCommandOutput) => void): void;
205
231
  listMemberships(args: ListMembershipsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMembershipsCommandOutput) => void): void;
206
232
  /**
233
+ * @public
207
234
  * <p>Lists protected queries, sorted by the most recent query.</p>
208
235
  */
209
236
  listProtectedQueries(args: ListProtectedQueriesCommandInput, options?: __HttpHandlerOptions): Promise<ListProtectedQueriesCommandOutput>;
210
237
  listProtectedQueries(args: ListProtectedQueriesCommandInput, cb: (err: any, data?: ListProtectedQueriesCommandOutput) => void): void;
211
238
  listProtectedQueries(args: ListProtectedQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProtectedQueriesCommandOutput) => void): void;
212
239
  /**
240
+ * @public
213
241
  * <p>Lists the schemas for relations within a collaboration.</p>
214
242
  */
215
243
  listSchemas(args: ListSchemasCommandInput, options?: __HttpHandlerOptions): Promise<ListSchemasCommandOutput>;
216
244
  listSchemas(args: ListSchemasCommandInput, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
217
245
  listSchemas(args: ListSchemasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
218
246
  /**
247
+ * @public
248
+ * <p>Lists all of the tags that have been added to a resource.</p>
249
+ */
250
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
251
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
252
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
253
+ /**
254
+ * @public
219
255
  * <p>Creates a protected query that is started by AWS Clean Rooms.</p>
220
256
  */
221
257
  startProtectedQuery(args: StartProtectedQueryCommandInput, options?: __HttpHandlerOptions): Promise<StartProtectedQueryCommandOutput>;
222
258
  startProtectedQuery(args: StartProtectedQueryCommandInput, cb: (err: any, data?: StartProtectedQueryCommandOutput) => void): void;
223
259
  startProtectedQuery(args: StartProtectedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartProtectedQueryCommandOutput) => void): void;
224
260
  /**
261
+ * @public
262
+ * <p>Tags a resource.</p>
263
+ */
264
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
265
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
266
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
267
+ /**
268
+ * @public
269
+ * <p>Removes a tag or list of tags from a resource.</p>
270
+ */
271
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
272
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
273
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
274
+ /**
275
+ * @public
225
276
  * <p>Updates collaboration metadata and can only be called by the collaboration owner.</p>
226
277
  */
227
278
  updateCollaboration(args: UpdateCollaborationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCollaborationCommandOutput>;
228
279
  updateCollaboration(args: UpdateCollaborationCommandInput, cb: (err: any, data?: UpdateCollaborationCommandOutput) => void): void;
229
280
  updateCollaboration(args: UpdateCollaborationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCollaborationCommandOutput) => void): void;
230
281
  /**
282
+ * @public
231
283
  * <p>Updates a configured table.</p>
232
284
  */
233
285
  updateConfiguredTable(args: UpdateConfiguredTableCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfiguredTableCommandOutput>;
234
286
  updateConfiguredTable(args: UpdateConfiguredTableCommandInput, cb: (err: any, data?: UpdateConfiguredTableCommandOutput) => void): void;
235
287
  updateConfiguredTable(args: UpdateConfiguredTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfiguredTableCommandOutput) => void): void;
236
288
  /**
289
+ * @public
237
290
  * <p>Updates a configured table analysis rule.</p>
238
291
  */
239
292
  updateConfiguredTableAnalysisRule(args: UpdateConfiguredTableAnalysisRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfiguredTableAnalysisRuleCommandOutput>;
240
293
  updateConfiguredTableAnalysisRule(args: UpdateConfiguredTableAnalysisRuleCommandInput, cb: (err: any, data?: UpdateConfiguredTableAnalysisRuleCommandOutput) => void): void;
241
294
  updateConfiguredTableAnalysisRule(args: UpdateConfiguredTableAnalysisRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfiguredTableAnalysisRuleCommandOutput) => void): void;
242
295
  /**
296
+ * @public
243
297
  * <p>Updates a configured table association.</p>
244
298
  */
245
299
  updateConfiguredTableAssociation(args: UpdateConfiguredTableAssociationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfiguredTableAssociationCommandOutput>;
246
300
  updateConfiguredTableAssociation(args: UpdateConfiguredTableAssociationCommandInput, cb: (err: any, data?: UpdateConfiguredTableAssociationCommandOutput) => void): void;
247
301
  updateConfiguredTableAssociation(args: UpdateConfiguredTableAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfiguredTableAssociationCommandOutput) => void): void;
248
302
  /**
303
+ * @public
249
304
  * <p>Updates a membership.</p>
250
305
  */
251
306
  updateMembership(args: UpdateMembershipCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMembershipCommandOutput>;
252
307
  updateMembership(args: UpdateMembershipCommandInput, cb: (err: any, data?: UpdateMembershipCommandOutput) => void): void;
253
308
  updateMembership(args: UpdateMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMembershipCommandOutput) => void): void;
254
309
  /**
310
+ * @public
255
311
  * <p>Updates the processing of a currently running query.</p>
256
312
  */
257
313
  updateProtectedQuery(args: UpdateProtectedQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProtectedQueryCommandOutput>;