@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
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1GetConfiguredTableAssociationCommand = exports.deserializeAws_restJson1GetConfiguredTableAnalysisRuleCommand = exports.deserializeAws_restJson1GetConfiguredTableCommand = exports.deserializeAws_restJson1GetCollaborationCommand = exports.deserializeAws_restJson1DeleteMembershipCommand = exports.deserializeAws_restJson1DeleteMemberCommand = exports.deserializeAws_restJson1DeleteConfiguredTableAssociationCommand = exports.deserializeAws_restJson1DeleteConfiguredTableAnalysisRuleCommand = exports.deserializeAws_restJson1DeleteConfiguredTableCommand = exports.deserializeAws_restJson1DeleteCollaborationCommand = exports.deserializeAws_restJson1CreateMembershipCommand = exports.deserializeAws_restJson1CreateConfiguredTableAssociationCommand = exports.deserializeAws_restJson1CreateConfiguredTableAnalysisRuleCommand = exports.deserializeAws_restJson1CreateConfiguredTableCommand = exports.deserializeAws_restJson1CreateCollaborationCommand = exports.deserializeAws_restJson1BatchGetSchemaCommand = exports.serializeAws_restJson1UpdateProtectedQueryCommand = exports.serializeAws_restJson1UpdateMembershipCommand = exports.serializeAws_restJson1UpdateConfiguredTableAssociationCommand = exports.serializeAws_restJson1UpdateConfiguredTableAnalysisRuleCommand = exports.serializeAws_restJson1UpdateConfiguredTableCommand = exports.serializeAws_restJson1UpdateCollaborationCommand = exports.serializeAws_restJson1StartProtectedQueryCommand = exports.serializeAws_restJson1ListSchemasCommand = exports.serializeAws_restJson1ListProtectedQueriesCommand = exports.serializeAws_restJson1ListMembershipsCommand = exports.serializeAws_restJson1ListMembersCommand = exports.serializeAws_restJson1ListConfiguredTablesCommand = exports.serializeAws_restJson1ListConfiguredTableAssociationsCommand = exports.serializeAws_restJson1ListCollaborationsCommand = exports.serializeAws_restJson1GetSchemaAnalysisRuleCommand = exports.serializeAws_restJson1GetSchemaCommand = exports.serializeAws_restJson1GetProtectedQueryCommand = exports.serializeAws_restJson1GetMembershipCommand = exports.serializeAws_restJson1GetConfiguredTableAssociationCommand = exports.serializeAws_restJson1GetConfiguredTableAnalysisRuleCommand = exports.serializeAws_restJson1GetConfiguredTableCommand = exports.serializeAws_restJson1GetCollaborationCommand = exports.serializeAws_restJson1DeleteMembershipCommand = exports.serializeAws_restJson1DeleteMemberCommand = exports.serializeAws_restJson1DeleteConfiguredTableAssociationCommand = exports.serializeAws_restJson1DeleteConfiguredTableAnalysisRuleCommand = exports.serializeAws_restJson1DeleteConfiguredTableCommand = exports.serializeAws_restJson1DeleteCollaborationCommand = exports.serializeAws_restJson1CreateMembershipCommand = exports.serializeAws_restJson1CreateConfiguredTableAssociationCommand = exports.serializeAws_restJson1CreateConfiguredTableAnalysisRuleCommand = exports.serializeAws_restJson1CreateConfiguredTableCommand = exports.serializeAws_restJson1CreateCollaborationCommand = exports.serializeAws_restJson1BatchGetSchemaCommand = void 0;
4
- exports.deserializeAws_restJson1UpdateProtectedQueryCommand = exports.deserializeAws_restJson1UpdateMembershipCommand = exports.deserializeAws_restJson1UpdateConfiguredTableAssociationCommand = exports.deserializeAws_restJson1UpdateConfiguredTableAnalysisRuleCommand = exports.deserializeAws_restJson1UpdateConfiguredTableCommand = exports.deserializeAws_restJson1UpdateCollaborationCommand = exports.deserializeAws_restJson1StartProtectedQueryCommand = exports.deserializeAws_restJson1ListSchemasCommand = exports.deserializeAws_restJson1ListProtectedQueriesCommand = exports.deserializeAws_restJson1ListMembershipsCommand = exports.deserializeAws_restJson1ListMembersCommand = exports.deserializeAws_restJson1ListConfiguredTablesCommand = exports.deserializeAws_restJson1ListConfiguredTableAssociationsCommand = exports.deserializeAws_restJson1ListCollaborationsCommand = exports.deserializeAws_restJson1GetSchemaAnalysisRuleCommand = exports.deserializeAws_restJson1GetSchemaCommand = exports.deserializeAws_restJson1GetProtectedQueryCommand = exports.deserializeAws_restJson1GetMembershipCommand = void 0;
3
+ exports.deserializeAws_restJson1GetCollaborationCommand = exports.deserializeAws_restJson1DeleteMembershipCommand = exports.deserializeAws_restJson1DeleteMemberCommand = exports.deserializeAws_restJson1DeleteConfiguredTableAssociationCommand = exports.deserializeAws_restJson1DeleteConfiguredTableAnalysisRuleCommand = exports.deserializeAws_restJson1DeleteConfiguredTableCommand = exports.deserializeAws_restJson1DeleteCollaborationCommand = exports.deserializeAws_restJson1CreateMembershipCommand = exports.deserializeAws_restJson1CreateConfiguredTableAssociationCommand = exports.deserializeAws_restJson1CreateConfiguredTableAnalysisRuleCommand = exports.deserializeAws_restJson1CreateConfiguredTableCommand = exports.deserializeAws_restJson1CreateCollaborationCommand = exports.deserializeAws_restJson1BatchGetSchemaCommand = exports.serializeAws_restJson1UpdateProtectedQueryCommand = exports.serializeAws_restJson1UpdateMembershipCommand = exports.serializeAws_restJson1UpdateConfiguredTableAssociationCommand = exports.serializeAws_restJson1UpdateConfiguredTableAnalysisRuleCommand = exports.serializeAws_restJson1UpdateConfiguredTableCommand = exports.serializeAws_restJson1UpdateCollaborationCommand = exports.serializeAws_restJson1UntagResourceCommand = exports.serializeAws_restJson1TagResourceCommand = exports.serializeAws_restJson1StartProtectedQueryCommand = exports.serializeAws_restJson1ListTagsForResourceCommand = exports.serializeAws_restJson1ListSchemasCommand = exports.serializeAws_restJson1ListProtectedQueriesCommand = exports.serializeAws_restJson1ListMembershipsCommand = exports.serializeAws_restJson1ListMembersCommand = exports.serializeAws_restJson1ListConfiguredTablesCommand = exports.serializeAws_restJson1ListConfiguredTableAssociationsCommand = exports.serializeAws_restJson1ListCollaborationsCommand = exports.serializeAws_restJson1GetSchemaAnalysisRuleCommand = exports.serializeAws_restJson1GetSchemaCommand = exports.serializeAws_restJson1GetProtectedQueryCommand = exports.serializeAws_restJson1GetMembershipCommand = exports.serializeAws_restJson1GetConfiguredTableAssociationCommand = exports.serializeAws_restJson1GetConfiguredTableAnalysisRuleCommand = exports.serializeAws_restJson1GetConfiguredTableCommand = exports.serializeAws_restJson1GetCollaborationCommand = exports.serializeAws_restJson1DeleteMembershipCommand = exports.serializeAws_restJson1DeleteMemberCommand = exports.serializeAws_restJson1DeleteConfiguredTableAssociationCommand = exports.serializeAws_restJson1DeleteConfiguredTableAnalysisRuleCommand = exports.serializeAws_restJson1DeleteConfiguredTableCommand = exports.serializeAws_restJson1DeleteCollaborationCommand = exports.serializeAws_restJson1CreateMembershipCommand = exports.serializeAws_restJson1CreateConfiguredTableAssociationCommand = exports.serializeAws_restJson1CreateConfiguredTableAnalysisRuleCommand = exports.serializeAws_restJson1CreateConfiguredTableCommand = exports.serializeAws_restJson1CreateCollaborationCommand = exports.serializeAws_restJson1BatchGetSchemaCommand = void 0;
4
+ exports.deserializeAws_restJson1UpdateProtectedQueryCommand = exports.deserializeAws_restJson1UpdateMembershipCommand = exports.deserializeAws_restJson1UpdateConfiguredTableAssociationCommand = exports.deserializeAws_restJson1UpdateConfiguredTableAnalysisRuleCommand = exports.deserializeAws_restJson1UpdateConfiguredTableCommand = exports.deserializeAws_restJson1UpdateCollaborationCommand = exports.deserializeAws_restJson1UntagResourceCommand = exports.deserializeAws_restJson1TagResourceCommand = exports.deserializeAws_restJson1StartProtectedQueryCommand = exports.deserializeAws_restJson1ListTagsForResourceCommand = exports.deserializeAws_restJson1ListSchemasCommand = exports.deserializeAws_restJson1ListProtectedQueriesCommand = exports.deserializeAws_restJson1ListMembershipsCommand = exports.deserializeAws_restJson1ListMembersCommand = exports.deserializeAws_restJson1ListConfiguredTablesCommand = exports.deserializeAws_restJson1ListConfiguredTableAssociationsCommand = exports.deserializeAws_restJson1ListCollaborationsCommand = exports.deserializeAws_restJson1GetSchemaAnalysisRuleCommand = exports.deserializeAws_restJson1GetSchemaCommand = exports.deserializeAws_restJson1GetProtectedQueryCommand = exports.deserializeAws_restJson1GetMembershipCommand = exports.deserializeAws_restJson1GetConfiguredTableAssociationCommand = exports.deserializeAws_restJson1GetConfiguredTableAnalysisRuleCommand = exports.deserializeAws_restJson1GetConfiguredTableCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const CleanRoomsServiceException_1 = require("../models/CleanRoomsServiceException");
@@ -48,6 +48,7 @@ const serializeAws_restJson1CreateCollaborationCommand = async (input, context)
48
48
  ...(input.members != null && { members: serializeAws_restJson1MemberList(input.members, context) }),
49
49
  ...(input.name != null && { name: input.name }),
50
50
  ...(input.queryLogStatus != null && { queryLogStatus: input.queryLogStatus }),
51
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
51
52
  });
52
53
  return new protocol_http_1.HttpRequest({
53
54
  protocol,
@@ -77,6 +78,7 @@ const serializeAws_restJson1CreateConfiguredTableCommand = async (input, context
77
78
  ...(input.tableReference != null && {
78
79
  tableReference: serializeAws_restJson1TableReference(input.tableReference, context),
79
80
  }),
81
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
80
82
  });
81
83
  return new protocol_http_1.HttpRequest({
82
84
  protocol,
@@ -129,6 +131,7 @@ const serializeAws_restJson1CreateConfiguredTableAssociationCommand = async (inp
129
131
  ...(input.description != null && { description: input.description }),
130
132
  ...(input.name != null && { name: input.name }),
131
133
  ...(input.roleArn != null && { roleArn: input.roleArn }),
134
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
132
135
  });
133
136
  return new protocol_http_1.HttpRequest({
134
137
  protocol,
@@ -151,6 +154,7 @@ const serializeAws_restJson1CreateMembershipCommand = async (input, context) =>
151
154
  body = JSON.stringify({
152
155
  ...(input.collaborationIdentifier != null && { collaborationIdentifier: input.collaborationIdentifier }),
153
156
  ...(input.queryLogStatus != null && { queryLogStatus: input.queryLogStatus }),
157
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
154
158
  });
155
159
  return new protocol_http_1.HttpRequest({
156
160
  protocol,
@@ -579,6 +583,23 @@ const serializeAws_restJson1ListSchemasCommand = async (input, context) => {
579
583
  });
580
584
  };
581
585
  exports.serializeAws_restJson1ListSchemasCommand = serializeAws_restJson1ListSchemasCommand;
586
+ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
587
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
588
+ const headers = {};
589
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
590
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
591
+ let body;
592
+ return new protocol_http_1.HttpRequest({
593
+ protocol,
594
+ hostname,
595
+ port,
596
+ method: "GET",
597
+ headers,
598
+ path: resolvedPath,
599
+ body,
600
+ });
601
+ };
602
+ exports.serializeAws_restJson1ListTagsForResourceCommand = serializeAws_restJson1ListTagsForResourceCommand;
582
603
  const serializeAws_restJson1StartProtectedQueryCommand = async (input, context) => {
583
604
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
584
605
  const headers = {
@@ -608,6 +629,52 @@ const serializeAws_restJson1StartProtectedQueryCommand = async (input, context)
608
629
  });
609
630
  };
610
631
  exports.serializeAws_restJson1StartProtectedQueryCommand = serializeAws_restJson1StartProtectedQueryCommand;
632
+ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
633
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
634
+ const headers = {
635
+ "content-type": "application/json",
636
+ };
637
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
638
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
639
+ let body;
640
+ body = JSON.stringify({
641
+ ...(input.tags != null && { tags: serializeAws_restJson1TagMap(input.tags, context) }),
642
+ });
643
+ return new protocol_http_1.HttpRequest({
644
+ protocol,
645
+ hostname,
646
+ port,
647
+ method: "POST",
648
+ headers,
649
+ path: resolvedPath,
650
+ body,
651
+ });
652
+ };
653
+ exports.serializeAws_restJson1TagResourceCommand = serializeAws_restJson1TagResourceCommand;
654
+ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
655
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
656
+ const headers = {};
657
+ let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{resourceArn}";
658
+ resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "resourceArn", () => input.resourceArn, "{resourceArn}", false);
659
+ const query = map({
660
+ tagKeys: [
661
+ (0, smithy_client_1.expectNonNull)(input.tagKeys, `tagKeys`) != null,
662
+ () => (input.tagKeys || []).map((_entry) => _entry),
663
+ ],
664
+ });
665
+ let body;
666
+ return new protocol_http_1.HttpRequest({
667
+ protocol,
668
+ hostname,
669
+ port,
670
+ method: "DELETE",
671
+ headers,
672
+ path: resolvedPath,
673
+ query,
674
+ body,
675
+ });
676
+ };
677
+ exports.serializeAws_restJson1UntagResourceCommand = serializeAws_restJson1UntagResourceCommand;
611
678
  const serializeAws_restJson1UpdateCollaborationCommand = async (input, context) => {
612
679
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
613
680
  const headers = {
@@ -1763,6 +1830,9 @@ const deserializeAws_restJson1ListConfiguredTableAssociationsCommandError = asyn
1763
1830
  case "InternalServerException":
1764
1831
  case "com.amazonaws.cleanrooms#InternalServerException":
1765
1832
  throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
1833
+ case "ResourceNotFoundException":
1834
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
1835
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1766
1836
  case "ThrottlingException":
1767
1837
  case "com.amazonaws.cleanrooms#ThrottlingException":
1768
1838
  throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
@@ -1950,6 +2020,9 @@ const deserializeAws_restJson1ListProtectedQueriesCommandError = async (output,
1950
2020
  case "InternalServerException":
1951
2021
  case "com.amazonaws.cleanrooms#InternalServerException":
1952
2022
  throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
2023
+ case "ResourceNotFoundException":
2024
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2025
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
1953
2026
  case "ThrottlingException":
1954
2027
  case "com.amazonaws.cleanrooms#ThrottlingException":
1955
2028
  throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
@@ -2015,6 +2088,43 @@ const deserializeAws_restJson1ListSchemasCommandError = async (output, context)
2015
2088
  });
2016
2089
  }
2017
2090
  };
2091
+ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
2092
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2093
+ return deserializeAws_restJson1ListTagsForResourceCommandError(output, context);
2094
+ }
2095
+ const contents = map({
2096
+ $metadata: deserializeMetadata(output),
2097
+ });
2098
+ const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
2099
+ if (data.tags != null) {
2100
+ contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
2101
+ }
2102
+ return contents;
2103
+ };
2104
+ exports.deserializeAws_restJson1ListTagsForResourceCommand = deserializeAws_restJson1ListTagsForResourceCommand;
2105
+ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, context) => {
2106
+ const parsedOutput = {
2107
+ ...output,
2108
+ body: await parseErrorBody(output.body, context),
2109
+ };
2110
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2111
+ switch (errorCode) {
2112
+ case "ResourceNotFoundException":
2113
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2114
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2115
+ case "ValidationException":
2116
+ case "com.amazonaws.cleanrooms#ValidationException":
2117
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2118
+ default:
2119
+ const parsedBody = parsedOutput.body;
2120
+ (0, smithy_client_1.throwDefaultError)({
2121
+ output,
2122
+ parsedBody,
2123
+ exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
2124
+ errorCode,
2125
+ });
2126
+ }
2127
+ };
2018
2128
  const deserializeAws_restJson1StartProtectedQueryCommand = async (output, context) => {
2019
2129
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2020
2130
  return deserializeAws_restJson1StartProtectedQueryCommandError(output, context);
@@ -2064,6 +2174,74 @@ const deserializeAws_restJson1StartProtectedQueryCommandError = async (output, c
2064
2174
  });
2065
2175
  }
2066
2176
  };
2177
+ const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
2178
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2179
+ return deserializeAws_restJson1TagResourceCommandError(output, context);
2180
+ }
2181
+ const contents = map({
2182
+ $metadata: deserializeMetadata(output),
2183
+ });
2184
+ await collectBody(output.body, context);
2185
+ return contents;
2186
+ };
2187
+ exports.deserializeAws_restJson1TagResourceCommand = deserializeAws_restJson1TagResourceCommand;
2188
+ const deserializeAws_restJson1TagResourceCommandError = async (output, context) => {
2189
+ const parsedOutput = {
2190
+ ...output,
2191
+ body: await parseErrorBody(output.body, context),
2192
+ };
2193
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2194
+ switch (errorCode) {
2195
+ case "ResourceNotFoundException":
2196
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2197
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2198
+ case "ValidationException":
2199
+ case "com.amazonaws.cleanrooms#ValidationException":
2200
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2201
+ default:
2202
+ const parsedBody = parsedOutput.body;
2203
+ (0, smithy_client_1.throwDefaultError)({
2204
+ output,
2205
+ parsedBody,
2206
+ exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
2207
+ errorCode,
2208
+ });
2209
+ }
2210
+ };
2211
+ const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
2212
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2213
+ return deserializeAws_restJson1UntagResourceCommandError(output, context);
2214
+ }
2215
+ const contents = map({
2216
+ $metadata: deserializeMetadata(output),
2217
+ });
2218
+ await collectBody(output.body, context);
2219
+ return contents;
2220
+ };
2221
+ exports.deserializeAws_restJson1UntagResourceCommand = deserializeAws_restJson1UntagResourceCommand;
2222
+ const deserializeAws_restJson1UntagResourceCommandError = async (output, context) => {
2223
+ const parsedOutput = {
2224
+ ...output,
2225
+ body: await parseErrorBody(output.body, context),
2226
+ };
2227
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2228
+ switch (errorCode) {
2229
+ case "ResourceNotFoundException":
2230
+ case "com.amazonaws.cleanrooms#ResourceNotFoundException":
2231
+ throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
2232
+ case "ValidationException":
2233
+ case "com.amazonaws.cleanrooms#ValidationException":
2234
+ throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
2235
+ default:
2236
+ const parsedBody = parsedOutput.body;
2237
+ (0, smithy_client_1.throwDefaultError)({
2238
+ output,
2239
+ parsedBody,
2240
+ exceptionCtor: CleanRoomsServiceException_1.CleanRoomsServiceException,
2241
+ errorCode,
2242
+ });
2243
+ }
2244
+ };
2067
2245
  const deserializeAws_restJson1UpdateCollaborationCommand = async (output, context) => {
2068
2246
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2069
2247
  return deserializeAws_restJson1UpdateCollaborationCommandError(output, context);
@@ -2644,6 +2822,15 @@ const serializeAws_restJson1TableReference = (input, context) => {
2644
2822
  _: (name, value) => ({ name: value }),
2645
2823
  });
2646
2824
  };
2825
+ const serializeAws_restJson1TagMap = (input, context) => {
2826
+ return Object.entries(input).reduce((acc, [key, value]) => {
2827
+ if (value === null) {
2828
+ return acc;
2829
+ }
2830
+ acc[key] = value;
2831
+ return acc;
2832
+ }, {});
2833
+ };
2647
2834
  const deserializeAws_restJson1AggregateColumn = (output, context) => {
2648
2835
  return {
2649
2836
  columnNames: output.columnNames != null
@@ -3259,6 +3446,15 @@ const deserializeAws_restJson1TableReference = (output, context) => {
3259
3446
  }
3260
3447
  return { $unknown: Object.entries(output)[0] };
3261
3448
  };
3449
+ const deserializeAws_restJson1TagMap = (output, context) => {
3450
+ return Object.entries(output).reduce((acc, [key, value]) => {
3451
+ if (value === null) {
3452
+ return acc;
3453
+ }
3454
+ acc[key] = (0, smithy_client_1.expectString)(value);
3455
+ return acc;
3456
+ }, {});
3457
+ };
3262
3458
  const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
3263
3459
  return {
3264
3460
  message: (0, smithy_client_1.expectString)(output.message),
@@ -26,7 +26,10 @@ import { ListMembersCommand } from "./commands/ListMembersCommand";
26
26
  import { ListMembershipsCommand, } from "./commands/ListMembershipsCommand";
27
27
  import { ListProtectedQueriesCommand, } from "./commands/ListProtectedQueriesCommand";
28
28
  import { ListSchemasCommand } from "./commands/ListSchemasCommand";
29
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
29
30
  import { StartProtectedQueryCommand, } from "./commands/StartProtectedQueryCommand";
31
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
32
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
30
33
  import { UpdateCollaborationCommand, } from "./commands/UpdateCollaborationCommand";
31
34
  import { UpdateConfiguredTableAnalysisRuleCommand, } from "./commands/UpdateConfiguredTableAnalysisRuleCommand";
32
35
  import { UpdateConfiguredTableAssociationCommand, } from "./commands/UpdateConfiguredTableAssociationCommand";
@@ -412,6 +415,20 @@ export class CleanRooms extends CleanRoomsClient {
412
415
  return this.send(command, optionsOrCb);
413
416
  }
414
417
  }
418
+ listTagsForResource(args, optionsOrCb, cb) {
419
+ const command = new ListTagsForResourceCommand(args);
420
+ if (typeof optionsOrCb === "function") {
421
+ this.send(command, optionsOrCb);
422
+ }
423
+ else if (typeof cb === "function") {
424
+ if (typeof optionsOrCb !== "object")
425
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
426
+ this.send(command, optionsOrCb || {}, cb);
427
+ }
428
+ else {
429
+ return this.send(command, optionsOrCb);
430
+ }
431
+ }
415
432
  startProtectedQuery(args, optionsOrCb, cb) {
416
433
  const command = new StartProtectedQueryCommand(args);
417
434
  if (typeof optionsOrCb === "function") {
@@ -426,6 +443,34 @@ export class CleanRooms extends CleanRoomsClient {
426
443
  return this.send(command, optionsOrCb);
427
444
  }
428
445
  }
446
+ tagResource(args, optionsOrCb, cb) {
447
+ const command = new TagResourceCommand(args);
448
+ if (typeof optionsOrCb === "function") {
449
+ this.send(command, optionsOrCb);
450
+ }
451
+ else if (typeof cb === "function") {
452
+ if (typeof optionsOrCb !== "object")
453
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
454
+ this.send(command, optionsOrCb || {}, cb);
455
+ }
456
+ else {
457
+ return this.send(command, optionsOrCb);
458
+ }
459
+ }
460
+ untagResource(args, optionsOrCb, cb) {
461
+ const command = new UntagResourceCommand(args);
462
+ if (typeof optionsOrCb === "function") {
463
+ this.send(command, optionsOrCb);
464
+ }
465
+ else if (typeof cb === "function") {
466
+ if (typeof optionsOrCb !== "object")
467
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
468
+ this.send(command, optionsOrCb || {}, cb);
469
+ }
470
+ else {
471
+ return this.send(command, optionsOrCb);
472
+ }
473
+ }
429
474
  updateCollaboration(args, optionsOrCb, cb) {
430
475
  const command = new UpdateCollaborationCommand(args);
431
476
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListTagsForResourceInputFilterSensitiveLog, ListTagsForResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
6
+ export class ListTagsForResourceCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "CleanRoomsClient";
25
+ const commandName = "ListTagsForResourceCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: ListTagsForResourceInputFilterSensitiveLog,
31
+ outputFilterSensitiveLog: ListTagsForResourceOutputFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1ListTagsForResourceCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { TagResourceInputFilterSensitiveLog, TagResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ export class TagResourceCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "CleanRoomsClient";
25
+ const commandName = "TagResourceCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: TagResourceInputFilterSensitiveLog,
31
+ outputFilterSensitiveLog: TagResourceOutputFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1TagResourceCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1TagResourceCommand(output, context);
41
+ }
42
+ }
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UntagResourceInputFilterSensitiveLog, UntagResourceOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
6
+ export class UntagResourceCommand extends $Command {
7
+ static getEndpointParameterInstructions() {
8
+ return {
9
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
10
+ Endpoint: { type: "builtInParams", name: "endpoint" },
11
+ Region: { type: "builtInParams", name: "region" },
12
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
13
+ };
14
+ }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "CleanRoomsClient";
25
+ const commandName = "UntagResourceCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: UntagResourceInputFilterSensitiveLog,
31
+ outputFilterSensitiveLog: UntagResourceOutputFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_restJson1UntagResourceCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_restJson1UntagResourceCommand(output, context);
41
+ }
42
+ }
@@ -25,7 +25,10 @@ export * from "./ListMembersCommand";
25
25
  export * from "./ListMembershipsCommand";
26
26
  export * from "./ListProtectedQueriesCommand";
27
27
  export * from "./ListSchemasCommand";
28
+ export * from "./ListTagsForResourceCommand";
28
29
  export * from "./StartProtectedQueryCommand";
30
+ export * from "./TagResourceCommand";
31
+ export * from "./UntagResourceCommand";
29
32
  export * from "./UpdateCollaborationCommand";
30
33
  export * from "./UpdateConfiguredTableAnalysisRuleCommand";
31
34
  export * from "./UpdateConfiguredTableAssociationCommand";
@@ -1,4 +1,4 @@
1
- const q = "fn", r = "argv", s = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://cleanrooms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ endpoint: { url: "https://cleanrooms-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://cleanrooms.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://cleanrooms.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
1
+ const q = "required", r = "fn", s = "argv", t = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
3
+ const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cleanrooms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cleanrooms-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cleanrooms.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://cleanrooms.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -129,6 +129,7 @@ export var ValidationExceptionReason;
129
129
  (function (ValidationExceptionReason) {
130
130
  ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
131
131
  ValidationExceptionReason["INVALID_CONFIGURATION"] = "INVALID_CONFIGURATION";
132
+ ValidationExceptionReason["INVALID_QUERY"] = "INVALID_QUERY";
132
133
  })(ValidationExceptionReason || (ValidationExceptionReason = {}));
133
134
  export class ValidationException extends __BaseException {
134
135
  constructor(opts) {
@@ -546,6 +547,12 @@ export const UpdateConfiguredTableAnalysisRuleOutputFilterSensitiveLog = (obj) =
546
547
  ...obj,
547
548
  ...(obj.analysisRule && { analysisRule: ConfiguredTableAnalysisRuleFilterSensitiveLog(obj.analysisRule) }),
548
549
  });
550
+ export const ListTagsForResourceInputFilterSensitiveLog = (obj) => ({
551
+ ...obj,
552
+ });
553
+ export const ListTagsForResourceOutputFilterSensitiveLog = (obj) => ({
554
+ ...obj,
555
+ });
549
556
  export const CreateMembershipInputFilterSensitiveLog = (obj) => ({
550
557
  ...obj,
551
558
  });
@@ -661,3 +668,15 @@ export const UpdateProtectedQueryOutputFilterSensitiveLog = (obj) => ({
661
668
  ...obj,
662
669
  ...(obj.protectedQuery && { protectedQuery: ProtectedQueryFilterSensitiveLog(obj.protectedQuery) }),
663
670
  });
671
+ export const TagResourceInputFilterSensitiveLog = (obj) => ({
672
+ ...obj,
673
+ });
674
+ export const TagResourceOutputFilterSensitiveLog = (obj) => ({
675
+ ...obj,
676
+ });
677
+ export const UntagResourceInputFilterSensitiveLog = (obj) => ({
678
+ ...obj,
679
+ });
680
+ export const UntagResourceOutputFilterSensitiveLog = (obj) => ({
681
+ ...obj,
682
+ });