@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,5 +1,8 @@
1
1
  import { PaginationConfiguration } from "@aws-sdk/types";
2
2
  import { CleanRoomsClient } from "../CleanRoomsClient";
3
+ /**
4
+ * @public
5
+ */
3
6
  export interface CleanRoomsPaginationConfiguration extends PaginationConfiguration {
4
7
  client: CleanRoomsClient;
5
8
  }
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListCollaborationsCommandInput, ListCollaborationsCommandOutput } from "../commands/ListCollaborationsCommand";
3
3
  import { CleanRoomsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListCollaborations(config: CleanRoomsPaginationConfiguration, input: ListCollaborationsCommandInput, ...additionalArguments: any): Paginator<ListCollaborationsCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListConfiguredTableAssociationsCommandInput, ListConfiguredTableAssociationsCommandOutput } from "../commands/ListConfiguredTableAssociationsCommand";
3
3
  import { CleanRoomsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListConfiguredTableAssociations(config: CleanRoomsPaginationConfiguration, input: ListConfiguredTableAssociationsCommandInput, ...additionalArguments: any): Paginator<ListConfiguredTableAssociationsCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListConfiguredTablesCommandInput, ListConfiguredTablesCommandOutput } from "../commands/ListConfiguredTablesCommand";
3
3
  import { CleanRoomsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListConfiguredTables(config: CleanRoomsPaginationConfiguration, input: ListConfiguredTablesCommandInput, ...additionalArguments: any): Paginator<ListConfiguredTablesCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListMembersCommandInput, ListMembersCommandOutput } from "../commands/ListMembersCommand";
3
3
  import { CleanRoomsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListMembers(config: CleanRoomsPaginationConfiguration, input: ListMembersCommandInput, ...additionalArguments: any): Paginator<ListMembersCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListMembershipsCommandInput, ListMembershipsCommandOutput } from "../commands/ListMembershipsCommand";
3
3
  import { CleanRoomsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListMemberships(config: CleanRoomsPaginationConfiguration, input: ListMembershipsCommandInput, ...additionalArguments: any): Paginator<ListMembershipsCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListProtectedQueriesCommandInput, ListProtectedQueriesCommandOutput } from "../commands/ListProtectedQueriesCommand";
3
3
  import { CleanRoomsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListProtectedQueries(config: CleanRoomsPaginationConfiguration, input: ListProtectedQueriesCommandInput, ...additionalArguments: any): Paginator<ListProtectedQueriesCommandOutput>;
@@ -1,4 +1,7 @@
1
1
  import { Paginator } from "@aws-sdk/types";
2
2
  import { ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/ListSchemasCommand";
3
3
  import { CleanRoomsPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
4
7
  export declare function paginateListSchemas(config: CleanRoomsPaginationConfiguration, input: ListSchemasCommandInput, ...additionalArguments: any): Paginator<ListSchemasCommandOutput>;
@@ -27,7 +27,10 @@ import { ListMembersCommandInput, ListMembersCommandOutput } from "../commands/L
27
27
  import { ListMembershipsCommandInput, ListMembershipsCommandOutput } from "../commands/ListMembershipsCommand";
28
28
  import { ListProtectedQueriesCommandInput, ListProtectedQueriesCommandOutput } from "../commands/ListProtectedQueriesCommand";
29
29
  import { ListSchemasCommandInput, ListSchemasCommandOutput } from "../commands/ListSchemasCommand";
30
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
30
31
  import { StartProtectedQueryCommandInput, StartProtectedQueryCommandOutput } from "../commands/StartProtectedQueryCommand";
32
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
33
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
31
34
  import { UpdateCollaborationCommandInput, UpdateCollaborationCommandOutput } from "../commands/UpdateCollaborationCommand";
32
35
  import { UpdateConfiguredTableAnalysisRuleCommandInput, UpdateConfiguredTableAnalysisRuleCommandOutput } from "../commands/UpdateConfiguredTableAnalysisRuleCommand";
33
36
  import { UpdateConfiguredTableAssociationCommandInput, UpdateConfiguredTableAssociationCommandOutput } from "../commands/UpdateConfiguredTableAssociationCommand";
@@ -61,7 +64,10 @@ export declare const serializeAws_restJson1ListMembersCommand: (input: ListMembe
61
64
  export declare const serializeAws_restJson1ListMembershipsCommand: (input: ListMembershipsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
62
65
  export declare const serializeAws_restJson1ListProtectedQueriesCommand: (input: ListProtectedQueriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
63
66
  export declare const serializeAws_restJson1ListSchemasCommand: (input: ListSchemasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
+ export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
64
68
  export declare const serializeAws_restJson1StartProtectedQueryCommand: (input: StartProtectedQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
69
+ export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
70
+ export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
65
71
  export declare const serializeAws_restJson1UpdateCollaborationCommand: (input: UpdateCollaborationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
66
72
  export declare const serializeAws_restJson1UpdateConfiguredTableCommand: (input: UpdateConfiguredTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
67
73
  export declare const serializeAws_restJson1UpdateConfiguredTableAnalysisRuleCommand: (input: UpdateConfiguredTableAnalysisRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -95,7 +101,10 @@ export declare const deserializeAws_restJson1ListMembersCommand: (output: __Http
95
101
  export declare const deserializeAws_restJson1ListMembershipsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMembershipsCommandOutput>;
96
102
  export declare const deserializeAws_restJson1ListProtectedQueriesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListProtectedQueriesCommandOutput>;
97
103
  export declare const deserializeAws_restJson1ListSchemasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSchemasCommandOutput>;
104
+ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
98
105
  export declare const deserializeAws_restJson1StartProtectedQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartProtectedQueryCommandOutput>;
106
+ export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
107
+ export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
99
108
  export declare const deserializeAws_restJson1UpdateCollaborationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateCollaborationCommandOutput>;
100
109
  export declare const deserializeAws_restJson1UpdateConfiguredTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateConfiguredTableCommandOutput>;
101
110
  export declare const deserializeAws_restJson1UpdateConfiguredTableAnalysisRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateConfiguredTableAnalysisRuleCommandOutput>;
@@ -108,10 +108,22 @@ import {
108
108
  ListSchemasCommandInput,
109
109
  ListSchemasCommandOutput,
110
110
  } from "./commands/ListSchemasCommand";
111
+ import {
112
+ ListTagsForResourceCommandInput,
113
+ ListTagsForResourceCommandOutput,
114
+ } from "./commands/ListTagsForResourceCommand";
111
115
  import {
112
116
  StartProtectedQueryCommandInput,
113
117
  StartProtectedQueryCommandOutput,
114
118
  } from "./commands/StartProtectedQueryCommand";
119
+ import {
120
+ TagResourceCommandInput,
121
+ TagResourceCommandOutput,
122
+ } from "./commands/TagResourceCommand";
123
+ import {
124
+ UntagResourceCommandInput,
125
+ UntagResourceCommandOutput,
126
+ } from "./commands/UntagResourceCommand";
115
127
  import {
116
128
  UpdateCollaborationCommandInput,
117
129
  UpdateCollaborationCommandOutput,
@@ -500,6 +512,19 @@ export declare class CleanRooms extends CleanRoomsClient {
500
512
  options: __HttpHandlerOptions,
501
513
  cb: (err: any, data?: ListSchemasCommandOutput) => void
502
514
  ): void;
515
+ listTagsForResource(
516
+ args: ListTagsForResourceCommandInput,
517
+ options?: __HttpHandlerOptions
518
+ ): Promise<ListTagsForResourceCommandOutput>;
519
+ listTagsForResource(
520
+ args: ListTagsForResourceCommandInput,
521
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
522
+ ): void;
523
+ listTagsForResource(
524
+ args: ListTagsForResourceCommandInput,
525
+ options: __HttpHandlerOptions,
526
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
527
+ ): void;
503
528
  startProtectedQuery(
504
529
  args: StartProtectedQueryCommandInput,
505
530
  options?: __HttpHandlerOptions
@@ -513,6 +538,32 @@ export declare class CleanRooms extends CleanRoomsClient {
513
538
  options: __HttpHandlerOptions,
514
539
  cb: (err: any, data?: StartProtectedQueryCommandOutput) => void
515
540
  ): void;
541
+ tagResource(
542
+ args: TagResourceCommandInput,
543
+ options?: __HttpHandlerOptions
544
+ ): Promise<TagResourceCommandOutput>;
545
+ tagResource(
546
+ args: TagResourceCommandInput,
547
+ cb: (err: any, data?: TagResourceCommandOutput) => void
548
+ ): void;
549
+ tagResource(
550
+ args: TagResourceCommandInput,
551
+ options: __HttpHandlerOptions,
552
+ cb: (err: any, data?: TagResourceCommandOutput) => void
553
+ ): void;
554
+ untagResource(
555
+ args: UntagResourceCommandInput,
556
+ options?: __HttpHandlerOptions
557
+ ): Promise<UntagResourceCommandOutput>;
558
+ untagResource(
559
+ args: UntagResourceCommandInput,
560
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
561
+ ): void;
562
+ untagResource(
563
+ args: UntagResourceCommandInput,
564
+ options: __HttpHandlerOptions,
565
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
566
+ ): void;
516
567
  updateCollaboration(
517
568
  args: UpdateCollaborationCommandInput,
518
569
  options?: __HttpHandlerOptions
@@ -152,10 +152,22 @@ import {
152
152
  ListSchemasCommandInput,
153
153
  ListSchemasCommandOutput,
154
154
  } from "./commands/ListSchemasCommand";
155
+ import {
156
+ ListTagsForResourceCommandInput,
157
+ ListTagsForResourceCommandOutput,
158
+ } from "./commands/ListTagsForResourceCommand";
155
159
  import {
156
160
  StartProtectedQueryCommandInput,
157
161
  StartProtectedQueryCommandOutput,
158
162
  } from "./commands/StartProtectedQueryCommand";
163
+ import {
164
+ TagResourceCommandInput,
165
+ TagResourceCommandOutput,
166
+ } from "./commands/TagResourceCommand";
167
+ import {
168
+ UntagResourceCommandInput,
169
+ UntagResourceCommandOutput,
170
+ } from "./commands/UntagResourceCommand";
159
171
  import {
160
172
  UpdateCollaborationCommandInput,
161
173
  UpdateCollaborationCommandOutput,
@@ -213,7 +225,10 @@ export type ServiceInputTypes =
213
225
  | ListMembershipsCommandInput
214
226
  | ListProtectedQueriesCommandInput
215
227
  | ListSchemasCommandInput
228
+ | ListTagsForResourceCommandInput
216
229
  | StartProtectedQueryCommandInput
230
+ | TagResourceCommandInput
231
+ | UntagResourceCommandInput
217
232
  | UpdateCollaborationCommandInput
218
233
  | UpdateConfiguredTableAnalysisRuleCommandInput
219
234
  | UpdateConfiguredTableAssociationCommandInput
@@ -248,7 +263,10 @@ export type ServiceOutputTypes =
248
263
  | ListMembershipsCommandOutput
249
264
  | ListProtectedQueriesCommandOutput
250
265
  | ListSchemasCommandOutput
266
+ | ListTagsForResourceCommandOutput
251
267
  | StartProtectedQueryCommandOutput
268
+ | TagResourceCommandOutput
269
+ | UntagResourceCommandOutput
252
270
  | UpdateCollaborationCommandOutput
253
271
  | UpdateConfiguredTableAnalysisRuleCommandOutput
254
272
  | UpdateConfiguredTableAssociationCommandOutput
@@ -0,0 +1,38 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CleanRoomsClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CleanRoomsClient";
14
+ import {
15
+ ListTagsForResourceInput,
16
+ ListTagsForResourceOutput,
17
+ } from "../models/models_0";
18
+ export interface ListTagsForResourceCommandInput
19
+ extends ListTagsForResourceInput {}
20
+ export interface ListTagsForResourceCommandOutput
21
+ extends ListTagsForResourceOutput,
22
+ __MetadataBearer {}
23
+ export declare class ListTagsForResourceCommand extends $Command<
24
+ ListTagsForResourceCommandInput,
25
+ ListTagsForResourceCommandOutput,
26
+ CleanRoomsClientResolvedConfig
27
+ > {
28
+ readonly input: ListTagsForResourceCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: ListTagsForResourceCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: CleanRoomsClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
36
+ private serialize;
37
+ private deserialize;
38
+ }
@@ -0,0 +1,34 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CleanRoomsClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CleanRoomsClient";
14
+ import { TagResourceInput, TagResourceOutput } from "../models/models_0";
15
+ export interface TagResourceCommandInput extends TagResourceInput {}
16
+ export interface TagResourceCommandOutput
17
+ extends TagResourceOutput,
18
+ __MetadataBearer {}
19
+ export declare class TagResourceCommand extends $Command<
20
+ TagResourceCommandInput,
21
+ TagResourceCommandOutput,
22
+ CleanRoomsClientResolvedConfig
23
+ > {
24
+ readonly input: TagResourceCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
+ constructor(input: TagResourceCommandInput);
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: CleanRoomsClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }
@@ -0,0 +1,34 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ CleanRoomsClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../CleanRoomsClient";
14
+ import { UntagResourceInput, UntagResourceOutput } from "../models/models_0";
15
+ export interface UntagResourceCommandInput extends UntagResourceInput {}
16
+ export interface UntagResourceCommandOutput
17
+ extends UntagResourceOutput,
18
+ __MetadataBearer {}
19
+ export declare class UntagResourceCommand extends $Command<
20
+ UntagResourceCommandInput,
21
+ UntagResourceCommandOutput,
22
+ CleanRoomsClientResolvedConfig
23
+ > {
24
+ readonly input: UntagResourceCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
26
+ constructor(input: UntagResourceCommandInput);
27
+ resolveMiddleware(
28
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
29
+ configuration: CleanRoomsClientResolvedConfig,
30
+ options?: __HttpHandlerOptions
31
+ ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
32
+ private serialize;
33
+ private deserialize;
34
+ }
@@ -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";
@@ -26,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
26
26
  defaultSigningName: string;
27
27
  };
28
28
  export interface EndpointParameters extends __EndpointParameters {
29
- Region: string;
29
+ Region?: string;
30
30
  UseDualStack?: boolean;
31
31
  UseFIPS?: boolean;
32
32
  Endpoint?: string;
@@ -190,6 +190,7 @@ export interface ValidationExceptionField {
190
190
  export declare enum ValidationExceptionReason {
191
191
  FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
192
192
  INVALID_CONFIGURATION = "INVALID_CONFIGURATION",
193
+ INVALID_QUERY = "INVALID_QUERY",
193
194
  }
194
195
  export declare class ValidationException extends __BaseException {
195
196
  readonly name: "ValidationException";
@@ -227,6 +228,7 @@ export interface CreateCollaborationInput {
227
228
  creatorDisplayName: string | undefined;
228
229
  dataEncryptionMetadata?: DataEncryptionMetadata;
229
230
  queryLogStatus: CollaborationQueryLogStatus | string | undefined;
231
+ tags?: Record<string, string>;
230
232
  }
231
233
  export declare enum MemberStatus {
232
234
  ACTIVE = "ACTIVE",
@@ -383,6 +385,7 @@ export interface CreateConfiguredTableAssociationInput {
383
385
  membershipIdentifier: string | undefined;
384
386
  configuredTableIdentifier: string | undefined;
385
387
  roleArn: string | undefined;
388
+ tags?: Record<string, string>;
386
389
  }
387
390
  export interface ConfiguredTableAssociation {
388
391
  arn: string | undefined;
@@ -470,6 +473,7 @@ export interface CreateConfiguredTableInput {
470
473
  tableReference: TableReference | undefined;
471
474
  allowedColumns: string[] | undefined;
472
475
  analysisMethod: AnalysisMethod | string | undefined;
476
+ tags?: Record<string, string>;
473
477
  }
474
478
  export declare enum ConfiguredTableAnalysisRuleType {
475
479
  AGGREGATION = "AGGREGATION",
@@ -612,6 +616,12 @@ export interface UpdateConfiguredTableAnalysisRuleInput {
612
616
  export interface UpdateConfiguredTableAnalysisRuleOutput {
613
617
  analysisRule: ConfiguredTableAnalysisRule | undefined;
614
618
  }
619
+ export interface ListTagsForResourceInput {
620
+ resourceArn: string | undefined;
621
+ }
622
+ export interface ListTagsForResourceOutput {
623
+ tags: Record<string, string> | undefined;
624
+ }
615
625
  export declare enum MembershipQueryLogStatus {
616
626
  DISABLED = "DISABLED",
617
627
  ENABLED = "ENABLED",
@@ -619,6 +629,7 @@ export declare enum MembershipQueryLogStatus {
619
629
  export interface CreateMembershipInput {
620
630
  collaborationIdentifier: string | undefined;
621
631
  queryLogStatus: MembershipQueryLogStatus | string | undefined;
632
+ tags?: Record<string, string>;
622
633
  }
623
634
  export declare enum MembershipStatus {
624
635
  ACTIVE = "ACTIVE",
@@ -816,6 +827,16 @@ export interface UpdateProtectedQueryInput {
816
827
  export interface UpdateProtectedQueryOutput {
817
828
  protectedQuery: ProtectedQuery | undefined;
818
829
  }
830
+ export interface TagResourceInput {
831
+ resourceArn: string | undefined;
832
+ tags: Record<string, string> | undefined;
833
+ }
834
+ export interface TagResourceOutput {}
835
+ export interface UntagResourceInput {
836
+ resourceArn: string | undefined;
837
+ tagKeys: string[] | undefined;
838
+ }
839
+ export interface UntagResourceOutput {}
819
840
  export declare const AggregateColumnFilterSensitiveLog: (
820
841
  obj: AggregateColumn
821
842
  ) => any;
@@ -1038,6 +1059,12 @@ export declare const UpdateConfiguredTableAnalysisRuleInputFilterSensitiveLog: (
1038
1059
  export declare const UpdateConfiguredTableAnalysisRuleOutputFilterSensitiveLog: (
1039
1060
  obj: UpdateConfiguredTableAnalysisRuleOutput
1040
1061
  ) => any;
1062
+ export declare const ListTagsForResourceInputFilterSensitiveLog: (
1063
+ obj: ListTagsForResourceInput
1064
+ ) => any;
1065
+ export declare const ListTagsForResourceOutputFilterSensitiveLog: (
1066
+ obj: ListTagsForResourceOutput
1067
+ ) => any;
1041
1068
  export declare const CreateMembershipInputFilterSensitiveLog: (
1042
1069
  obj: CreateMembershipInput
1043
1070
  ) => any;
@@ -1129,3 +1156,15 @@ export declare const UpdateProtectedQueryInputFilterSensitiveLog: (
1129
1156
  export declare const UpdateProtectedQueryOutputFilterSensitiveLog: (
1130
1157
  obj: UpdateProtectedQueryOutput
1131
1158
  ) => any;
1159
+ export declare const TagResourceInputFilterSensitiveLog: (
1160
+ obj: TagResourceInput
1161
+ ) => any;
1162
+ export declare const TagResourceOutputFilterSensitiveLog: (
1163
+ obj: TagResourceOutput
1164
+ ) => any;
1165
+ export declare const UntagResourceInputFilterSensitiveLog: (
1166
+ obj: UntagResourceInput
1167
+ ) => any;
1168
+ export declare const UntagResourceOutputFilterSensitiveLog: (
1169
+ obj: UntagResourceOutput
1170
+ ) => any;
@@ -111,10 +111,22 @@ import {
111
111
  ListSchemasCommandInput,
112
112
  ListSchemasCommandOutput,
113
113
  } from "../commands/ListSchemasCommand";
114
+ import {
115
+ ListTagsForResourceCommandInput,
116
+ ListTagsForResourceCommandOutput,
117
+ } from "../commands/ListTagsForResourceCommand";
114
118
  import {
115
119
  StartProtectedQueryCommandInput,
116
120
  StartProtectedQueryCommandOutput,
117
121
  } from "../commands/StartProtectedQueryCommand";
122
+ import {
123
+ TagResourceCommandInput,
124
+ TagResourceCommandOutput,
125
+ } from "../commands/TagResourceCommand";
126
+ import {
127
+ UntagResourceCommandInput,
128
+ UntagResourceCommandOutput,
129
+ } from "../commands/UntagResourceCommand";
118
130
  import {
119
131
  UpdateCollaborationCommandInput,
120
132
  UpdateCollaborationCommandOutput,
@@ -247,10 +259,22 @@ export declare const serializeAws_restJson1ListSchemasCommand: (
247
259
  input: ListSchemasCommandInput,
248
260
  context: __SerdeContext
249
261
  ) => Promise<__HttpRequest>;
262
+ export declare const serializeAws_restJson1ListTagsForResourceCommand: (
263
+ input: ListTagsForResourceCommandInput,
264
+ context: __SerdeContext
265
+ ) => Promise<__HttpRequest>;
250
266
  export declare const serializeAws_restJson1StartProtectedQueryCommand: (
251
267
  input: StartProtectedQueryCommandInput,
252
268
  context: __SerdeContext
253
269
  ) => Promise<__HttpRequest>;
270
+ export declare const serializeAws_restJson1TagResourceCommand: (
271
+ input: TagResourceCommandInput,
272
+ context: __SerdeContext
273
+ ) => Promise<__HttpRequest>;
274
+ export declare const serializeAws_restJson1UntagResourceCommand: (
275
+ input: UntagResourceCommandInput,
276
+ context: __SerdeContext
277
+ ) => Promise<__HttpRequest>;
254
278
  export declare const serializeAws_restJson1UpdateCollaborationCommand: (
255
279
  input: UpdateCollaborationCommandInput,
256
280
  context: __SerdeContext
@@ -383,10 +407,22 @@ export declare const deserializeAws_restJson1ListSchemasCommand: (
383
407
  output: __HttpResponse,
384
408
  context: __SerdeContext
385
409
  ) => Promise<ListSchemasCommandOutput>;
410
+ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (
411
+ output: __HttpResponse,
412
+ context: __SerdeContext
413
+ ) => Promise<ListTagsForResourceCommandOutput>;
386
414
  export declare const deserializeAws_restJson1StartProtectedQueryCommand: (
387
415
  output: __HttpResponse,
388
416
  context: __SerdeContext
389
417
  ) => Promise<StartProtectedQueryCommandOutput>;
418
+ export declare const deserializeAws_restJson1TagResourceCommand: (
419
+ output: __HttpResponse,
420
+ context: __SerdeContext
421
+ ) => Promise<TagResourceCommandOutput>;
422
+ export declare const deserializeAws_restJson1UntagResourceCommand: (
423
+ output: __HttpResponse,
424
+ context: __SerdeContext
425
+ ) => Promise<UntagResourceCommandOutput>;
390
426
  export declare const deserializeAws_restJson1UpdateCollaborationCommand: (
391
427
  output: __HttpResponse,
392
428
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cleanrooms",
3
3
  "description": "AWS SDK for JavaScript Cleanrooms Client for Node.js, Browser and React Native",
4
- "version": "3.295.0",
4
+ "version": "3.297.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,37 +20,37 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.295.0",
24
- "@aws-sdk/config-resolver": "3.295.0",
25
- "@aws-sdk/credential-provider-node": "3.295.0",
26
- "@aws-sdk/fetch-http-handler": "3.295.0",
27
- "@aws-sdk/hash-node": "3.295.0",
28
- "@aws-sdk/invalid-dependency": "3.295.0",
29
- "@aws-sdk/middleware-content-length": "3.295.0",
30
- "@aws-sdk/middleware-endpoint": "3.295.0",
31
- "@aws-sdk/middleware-host-header": "3.295.0",
32
- "@aws-sdk/middleware-logger": "3.295.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.295.0",
34
- "@aws-sdk/middleware-retry": "3.295.0",
35
- "@aws-sdk/middleware-serde": "3.295.0",
36
- "@aws-sdk/middleware-signing": "3.295.0",
37
- "@aws-sdk/middleware-stack": "3.295.0",
38
- "@aws-sdk/middleware-user-agent": "3.295.0",
39
- "@aws-sdk/node-config-provider": "3.295.0",
40
- "@aws-sdk/node-http-handler": "3.295.0",
41
- "@aws-sdk/protocol-http": "3.295.0",
42
- "@aws-sdk/smithy-client": "3.295.0",
43
- "@aws-sdk/types": "3.295.0",
44
- "@aws-sdk/url-parser": "3.295.0",
23
+ "@aws-sdk/client-sts": "3.297.0",
24
+ "@aws-sdk/config-resolver": "3.296.0",
25
+ "@aws-sdk/credential-provider-node": "3.297.0",
26
+ "@aws-sdk/fetch-http-handler": "3.296.0",
27
+ "@aws-sdk/hash-node": "3.296.0",
28
+ "@aws-sdk/invalid-dependency": "3.296.0",
29
+ "@aws-sdk/middleware-content-length": "3.296.0",
30
+ "@aws-sdk/middleware-endpoint": "3.296.0",
31
+ "@aws-sdk/middleware-host-header": "3.296.0",
32
+ "@aws-sdk/middleware-logger": "3.296.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.296.0",
34
+ "@aws-sdk/middleware-retry": "3.296.0",
35
+ "@aws-sdk/middleware-serde": "3.296.0",
36
+ "@aws-sdk/middleware-signing": "3.296.0",
37
+ "@aws-sdk/middleware-stack": "3.296.0",
38
+ "@aws-sdk/middleware-user-agent": "3.296.0",
39
+ "@aws-sdk/node-config-provider": "3.296.0",
40
+ "@aws-sdk/node-http-handler": "3.296.0",
41
+ "@aws-sdk/protocol-http": "3.296.0",
42
+ "@aws-sdk/smithy-client": "3.296.0",
43
+ "@aws-sdk/types": "3.296.0",
44
+ "@aws-sdk/url-parser": "3.296.0",
45
45
  "@aws-sdk/util-base64": "3.295.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.295.0",
47
47
  "@aws-sdk/util-body-length-node": "3.295.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.295.0",
50
- "@aws-sdk/util-endpoints": "3.295.0",
51
- "@aws-sdk/util-retry": "3.295.0",
52
- "@aws-sdk/util-user-agent-browser": "3.295.0",
53
- "@aws-sdk/util-user-agent-node": "3.295.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.296.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.296.0",
50
+ "@aws-sdk/util-endpoints": "3.296.0",
51
+ "@aws-sdk/util-retry": "3.296.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.296.0",
53
+ "@aws-sdk/util-user-agent-node": "3.296.0",
54
54
  "@aws-sdk/util-utf8": "3.295.0",
55
55
  "tslib": "^2.5.0"
56
56
  },