@aws-sdk/client-cleanrooms 3.294.0 → 3.296.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 (106) hide show
  1. package/README.md +25 -4
  2. package/dist-cjs/CleanRooms.js +45 -0
  3. package/dist-cjs/commands/BatchGetSchemaCommand.js +4 -4
  4. package/dist-cjs/commands/CreateCollaborationCommand.js +4 -4
  5. package/dist-cjs/commands/CreateConfiguredTableAnalysisRuleCommand.js +4 -4
  6. package/dist-cjs/commands/CreateConfiguredTableAssociationCommand.js +4 -4
  7. package/dist-cjs/commands/CreateConfiguredTableCommand.js +4 -4
  8. package/dist-cjs/commands/CreateMembershipCommand.js +4 -4
  9. package/dist-cjs/commands/DeleteCollaborationCommand.js +4 -4
  10. package/dist-cjs/commands/DeleteConfiguredTableAnalysisRuleCommand.js +4 -4
  11. package/dist-cjs/commands/DeleteConfiguredTableAssociationCommand.js +4 -4
  12. package/dist-cjs/commands/DeleteConfiguredTableCommand.js +4 -4
  13. package/dist-cjs/commands/DeleteMemberCommand.js +4 -4
  14. package/dist-cjs/commands/DeleteMembershipCommand.js +4 -4
  15. package/dist-cjs/commands/GetCollaborationCommand.js +4 -4
  16. package/dist-cjs/commands/GetConfiguredTableAnalysisRuleCommand.js +4 -4
  17. package/dist-cjs/commands/GetConfiguredTableAssociationCommand.js +4 -4
  18. package/dist-cjs/commands/GetConfiguredTableCommand.js +4 -4
  19. package/dist-cjs/commands/GetMembershipCommand.js +4 -4
  20. package/dist-cjs/commands/GetProtectedQueryCommand.js +4 -4
  21. package/dist-cjs/commands/GetSchemaAnalysisRuleCommand.js +4 -4
  22. package/dist-cjs/commands/GetSchemaCommand.js +4 -4
  23. package/dist-cjs/commands/ListCollaborationsCommand.js +4 -4
  24. package/dist-cjs/commands/ListConfiguredTableAssociationsCommand.js +4 -4
  25. package/dist-cjs/commands/ListConfiguredTablesCommand.js +4 -4
  26. package/dist-cjs/commands/ListMembersCommand.js +4 -4
  27. package/dist-cjs/commands/ListMembershipsCommand.js +4 -4
  28. package/dist-cjs/commands/ListProtectedQueriesCommand.js +4 -4
  29. package/dist-cjs/commands/ListSchemasCommand.js +4 -4
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
  31. package/dist-cjs/commands/StartProtectedQueryCommand.js +4 -4
  32. package/dist-cjs/commands/TagResourceCommand.js +46 -0
  33. package/dist-cjs/commands/UntagResourceCommand.js +46 -0
  34. package/dist-cjs/commands/UpdateCollaborationCommand.js +4 -4
  35. package/dist-cjs/commands/UpdateConfiguredTableAnalysisRuleCommand.js +4 -4
  36. package/dist-cjs/commands/UpdateConfiguredTableAssociationCommand.js +4 -4
  37. package/dist-cjs/commands/UpdateConfiguredTableCommand.js +4 -4
  38. package/dist-cjs/commands/UpdateMembershipCommand.js +4 -4
  39. package/dist-cjs/commands/UpdateProtectedQueryCommand.js +4 -4
  40. package/dist-cjs/commands/index.js +3 -0
  41. package/dist-cjs/endpoint/ruleset.js +3 -3
  42. package/dist-cjs/models/models_0.js +26 -1
  43. package/dist-cjs/protocols/Aws_restJson1.js +198 -2
  44. package/dist-es/CleanRooms.js +45 -0
  45. package/dist-es/commands/BatchGetSchemaCommand.js +4 -4
  46. package/dist-es/commands/CreateCollaborationCommand.js +4 -4
  47. package/dist-es/commands/CreateConfiguredTableAnalysisRuleCommand.js +4 -4
  48. package/dist-es/commands/CreateConfiguredTableAssociationCommand.js +4 -4
  49. package/dist-es/commands/CreateConfiguredTableCommand.js +4 -4
  50. package/dist-es/commands/CreateMembershipCommand.js +4 -4
  51. package/dist-es/commands/DeleteCollaborationCommand.js +4 -4
  52. package/dist-es/commands/DeleteConfiguredTableAnalysisRuleCommand.js +4 -4
  53. package/dist-es/commands/DeleteConfiguredTableAssociationCommand.js +4 -4
  54. package/dist-es/commands/DeleteConfiguredTableCommand.js +4 -4
  55. package/dist-es/commands/DeleteMemberCommand.js +4 -4
  56. package/dist-es/commands/DeleteMembershipCommand.js +4 -4
  57. package/dist-es/commands/GetCollaborationCommand.js +4 -4
  58. package/dist-es/commands/GetConfiguredTableAnalysisRuleCommand.js +4 -4
  59. package/dist-es/commands/GetConfiguredTableAssociationCommand.js +4 -4
  60. package/dist-es/commands/GetConfiguredTableCommand.js +4 -4
  61. package/dist-es/commands/GetMembershipCommand.js +4 -4
  62. package/dist-es/commands/GetProtectedQueryCommand.js +4 -4
  63. package/dist-es/commands/GetSchemaAnalysisRuleCommand.js +4 -4
  64. package/dist-es/commands/GetSchemaCommand.js +4 -4
  65. package/dist-es/commands/ListCollaborationsCommand.js +4 -4
  66. package/dist-es/commands/ListConfiguredTableAssociationsCommand.js +4 -4
  67. package/dist-es/commands/ListConfiguredTablesCommand.js +4 -4
  68. package/dist-es/commands/ListMembersCommand.js +4 -4
  69. package/dist-es/commands/ListMembershipsCommand.js +4 -4
  70. package/dist-es/commands/ListProtectedQueriesCommand.js +4 -4
  71. package/dist-es/commands/ListSchemasCommand.js +4 -4
  72. package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
  73. package/dist-es/commands/StartProtectedQueryCommand.js +4 -4
  74. package/dist-es/commands/TagResourceCommand.js +42 -0
  75. package/dist-es/commands/UntagResourceCommand.js +42 -0
  76. package/dist-es/commands/UpdateCollaborationCommand.js +4 -4
  77. package/dist-es/commands/UpdateConfiguredTableAnalysisRuleCommand.js +4 -4
  78. package/dist-es/commands/UpdateConfiguredTableAssociationCommand.js +4 -4
  79. package/dist-es/commands/UpdateConfiguredTableCommand.js +4 -4
  80. package/dist-es/commands/UpdateMembershipCommand.js +4 -4
  81. package/dist-es/commands/UpdateProtectedQueryCommand.js +4 -4
  82. package/dist-es/commands/index.js +3 -0
  83. package/dist-es/endpoint/ruleset.js +3 -3
  84. package/dist-es/models/models_0.js +19 -0
  85. package/dist-es/protocols/Aws_restJson1.js +190 -0
  86. package/dist-types/CleanRooms.d.ts +23 -5
  87. package/dist-types/CleanRoomsClient.d.ts +9 -9
  88. package/dist-types/commands/ListConfiguredTableAssociationsCommand.d.ts +3 -0
  89. package/dist-types/commands/ListProtectedQueriesCommand.d.ts +3 -0
  90. package/dist-types/commands/ListTagsForResourceCommand.d.ts +50 -0
  91. package/dist-types/commands/TagResourceCommand.d.ts +50 -0
  92. package/dist-types/commands/UntagResourceCommand.d.ts +50 -0
  93. package/dist-types/commands/index.d.ts +3 -0
  94. package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
  95. package/dist-types/models/models_0.d.ts +99 -10
  96. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  97. package/dist-types/ts3.4/CleanRooms.d.ts +51 -0
  98. package/dist-types/ts3.4/CleanRoomsClient.d.ts +22 -4
  99. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  100. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  101. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  102. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  103. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -5
  104. package/dist-types/ts3.4/models/models_0.d.ts +46 -7
  105. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  106. package/package.json +36 -36
@@ -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") {
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { BatchGetSchemaInputFilterSensitiveLog, BatchGetSchemaOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1BatchGetSchemaCommand, serializeAws_restJson1BatchGetSchemaCommand, } from "../protocols/Aws_restJson1";
6
6
  export class BatchGetSchemaCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class BatchGetSchemaCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, BatchGetSchemaCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { CreateCollaborationInputFilterSensitiveLog, CreateCollaborationOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateCollaborationCommand, serializeAws_restJson1CreateCollaborationCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreateCollaborationCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class CreateCollaborationCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, CreateCollaborationCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { CreateConfiguredTableAnalysisRuleInputFilterSensitiveLog, CreateConfiguredTableAnalysisRuleOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateConfiguredTableAnalysisRuleCommand, serializeAws_restJson1CreateConfiguredTableAnalysisRuleCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreateConfiguredTableAnalysisRuleCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class CreateConfiguredTableAnalysisRuleCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, CreateConfiguredTableAnalysisRuleCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { CreateConfiguredTableAssociationInputFilterSensitiveLog, CreateConfiguredTableAssociationOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateConfiguredTableAssociationCommand, serializeAws_restJson1CreateConfiguredTableAssociationCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreateConfiguredTableAssociationCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class CreateConfiguredTableAssociationCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, CreateConfiguredTableAssociationCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { CreateConfiguredTableInputFilterSensitiveLog, CreateConfiguredTableOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateConfiguredTableCommand, serializeAws_restJson1CreateConfiguredTableCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreateConfiguredTableCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class CreateConfiguredTableCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, CreateConfiguredTableCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { CreateMembershipInputFilterSensitiveLog, CreateMembershipOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1CreateMembershipCommand, serializeAws_restJson1CreateMembershipCommand, } from "../protocols/Aws_restJson1";
6
6
  export class CreateMembershipCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class CreateMembershipCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, CreateMembershipCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DeleteCollaborationInputFilterSensitiveLog, DeleteCollaborationOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteCollaborationCommand, serializeAws_restJson1DeleteCollaborationCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DeleteCollaborationCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class DeleteCollaborationCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, DeleteCollaborationCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DeleteConfiguredTableAnalysisRuleInputFilterSensitiveLog, DeleteConfiguredTableAnalysisRuleOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteConfiguredTableAnalysisRuleCommand, serializeAws_restJson1DeleteConfiguredTableAnalysisRuleCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DeleteConfiguredTableAnalysisRuleCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class DeleteConfiguredTableAnalysisRuleCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, DeleteConfiguredTableAnalysisRuleCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DeleteConfiguredTableAssociationInputFilterSensitiveLog, DeleteConfiguredTableAssociationOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteConfiguredTableAssociationCommand, serializeAws_restJson1DeleteConfiguredTableAssociationCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DeleteConfiguredTableAssociationCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class DeleteConfiguredTableAssociationCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, DeleteConfiguredTableAssociationCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DeleteConfiguredTableInputFilterSensitiveLog, DeleteConfiguredTableOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteConfiguredTableCommand, serializeAws_restJson1DeleteConfiguredTableCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DeleteConfiguredTableCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class DeleteConfiguredTableCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, DeleteConfiguredTableCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DeleteMemberInputFilterSensitiveLog, DeleteMemberOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteMemberCommand, serializeAws_restJson1DeleteMemberCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DeleteMemberCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class DeleteMemberCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, DeleteMemberCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { DeleteMembershipInputFilterSensitiveLog, DeleteMembershipOutputFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1DeleteMembershipCommand, serializeAws_restJson1DeleteMembershipCommand, } from "../protocols/Aws_restJson1";
6
6
  export class DeleteMembershipCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class DeleteMembershipCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, DeleteMembershipCommand.getEndpointParameterInstructions()));