@aws-sdk/client-cleanrooms 3.295.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 (38) 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 +23 -5
  19. package/dist-types/CleanRoomsClient.d.ts +7 -7
  20. package/dist-types/commands/ListConfiguredTableAssociationsCommand.d.ts +3 -0
  21. package/dist-types/commands/ListProtectedQueriesCommand.d.ts +3 -0
  22. package/dist-types/commands/ListTagsForResourceCommand.d.ts +50 -0
  23. package/dist-types/commands/TagResourceCommand.d.ts +50 -0
  24. package/dist-types/commands/UntagResourceCommand.d.ts +50 -0
  25. package/dist-types/commands/index.d.ts +3 -0
  26. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  27. package/dist-types/models/models_0.d.ts +92 -3
  28. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  29. package/dist-types/ts3.4/CleanRooms.d.ts +51 -0
  30. package/dist-types/ts3.4/CleanRoomsClient.d.ts +18 -0
  31. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
  32. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  33. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  34. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  35. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  36. package/dist-types/ts3.4/models/models_0.d.ts +39 -0
  37. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
  38. package/package.json +29 -29
@@ -267,7 +267,7 @@ export interface Schema {
267
267
  */
268
268
  columns: Column[] | undefined;
269
269
  /**
270
- * <p>The partition keys for the data set underlying this schema.</p>
270
+ * <p>The partition keys for the dataset underlying this schema.</p>
271
271
  */
272
272
  partitionKeys: Column[] | undefined;
273
273
  /**
@@ -386,7 +386,8 @@ export interface ValidationExceptionField {
386
386
  }
387
387
  export declare enum ValidationExceptionReason {
388
388
  FIELD_VALIDATION_FAILED = "FIELD_VALIDATION_FAILED",
389
- INVALID_CONFIGURATION = "INVALID_CONFIGURATION"
389
+ INVALID_CONFIGURATION = "INVALID_CONFIGURATION",
390
+ INVALID_QUERY = "INVALID_QUERY"
390
391
  }
391
392
  /**
392
393
  * <p>The input fails to satisfy the specified constraints.</p>
@@ -483,6 +484,13 @@ export interface CreateCollaborationInput {
483
484
  * collaboration.</p>
484
485
  */
485
486
  queryLogStatus: CollaborationQueryLogStatus | string | undefined;
487
+ /**
488
+ * <p>An optional label that you can assign to a resource when you create it. Each tag
489
+ * consists of a key and an optional value, both of which you define. When you use tagging,
490
+ * you can also use tag-based access control in IAM policies to control access to this
491
+ * resource.</p>
492
+ */
493
+ tags?: Record<string, string>;
486
494
  }
487
495
  export declare enum MemberStatus {
488
496
  ACTIVE = "ACTIVE",
@@ -922,6 +930,13 @@ export interface CreateConfiguredTableAssociationInput {
922
930
  * <p>The service will assume this role to access catalog metadata and query the table.</p>
923
931
  */
924
932
  roleArn: string | undefined;
933
+ /**
934
+ * <p>An optional label that you can assign to a resource when you create it. Each tag
935
+ * consists of a key and an optional value, both of which you define. When you use tagging,
936
+ * you can also use tag-based access control in IAM policies to control access to this
937
+ * resource.</p>
938
+ */
939
+ tags?: Record<string, string>;
925
940
  }
926
941
  /**
927
942
  * <p>A configured table association links a configured table to a collaboration.</p>
@@ -1110,7 +1125,7 @@ export interface GlueTableReference {
1110
1125
  databaseName: string | undefined;
1111
1126
  }
1112
1127
  /**
1113
- * <p>A pointer to the data set that underlies this table. Currently, this can only be an AWS
1128
+ * <p>A pointer to the dataset that underlies this table. Currently, this can only be an AWS
1114
1129
  * Glue table.</p>
1115
1130
  */
1116
1131
  export type TableReference = TableReference.GlueMember | TableReference.$UnknownMember;
@@ -1154,6 +1169,13 @@ export interface CreateConfiguredTableInput {
1154
1169
  * <p>The analysis method for the configured tables. The only valid value is currently `DIRECT_QUERY`.</p>
1155
1170
  */
1156
1171
  analysisMethod: AnalysisMethod | string | undefined;
1172
+ /**
1173
+ * <p>An optional label that you can assign to a resource when you create it. Each tag
1174
+ * consists of a key and an optional value, both of which you define. When you use tagging,
1175
+ * you can also use tag-based access control in IAM policies to control access to this
1176
+ * resource.</p>
1177
+ */
1178
+ tags?: Record<string, string>;
1157
1179
  }
1158
1180
  export declare enum ConfiguredTableAnalysisRuleType {
1159
1181
  AGGREGATION = "AGGREGATION",
@@ -1464,6 +1486,18 @@ export interface UpdateConfiguredTableAnalysisRuleOutput {
1464
1486
  */
1465
1487
  analysisRule: ConfiguredTableAnalysisRule | undefined;
1466
1488
  }
1489
+ export interface ListTagsForResourceInput {
1490
+ /**
1491
+ * <p>The Amazon Resource Name (ARN) associated with the resource you want to list tags on.</p>
1492
+ */
1493
+ resourceArn: string | undefined;
1494
+ }
1495
+ export interface ListTagsForResourceOutput {
1496
+ /**
1497
+ * <p>A map of objects specifying each key name and value.</p>
1498
+ */
1499
+ tags: Record<string, string> | undefined;
1500
+ }
1467
1501
  export declare enum MembershipQueryLogStatus {
1468
1502
  DISABLED = "DISABLED",
1469
1503
  ENABLED = "ENABLED"
@@ -1478,6 +1512,13 @@ export interface CreateMembershipInput {
1478
1512
  * collaboration.</p>
1479
1513
  */
1480
1514
  queryLogStatus: MembershipQueryLogStatus | string | undefined;
1515
+ /**
1516
+ * <p>An optional label that you can assign to a resource when you create it. Each tag
1517
+ * consists of a key and an optional value, both of which you define. When you use tagging,
1518
+ * you can also use tag-based access control in IAM policies to control access to this
1519
+ * resource.</p>
1520
+ */
1521
+ tags?: Record<string, string>;
1481
1522
  }
1482
1523
  export declare enum MembershipStatus {
1483
1524
  ACTIVE = "ACTIVE",
@@ -1952,6 +1993,30 @@ export interface UpdateProtectedQueryOutput {
1952
1993
  */
1953
1994
  protectedQuery: ProtectedQuery | undefined;
1954
1995
  }
1996
+ export interface TagResourceInput {
1997
+ /**
1998
+ * <p>The Amazon Resource Name (ARN) associated with the resource you want to tag.</p>
1999
+ */
2000
+ resourceArn: string | undefined;
2001
+ /**
2002
+ * <p>A map of objects specifying each key name and value.</p>
2003
+ */
2004
+ tags: Record<string, string> | undefined;
2005
+ }
2006
+ export interface TagResourceOutput {
2007
+ }
2008
+ export interface UntagResourceInput {
2009
+ /**
2010
+ * <p>The Amazon Resource Name (ARN) associated with the resource you want to remove the tag from.</p>
2011
+ */
2012
+ resourceArn: string | undefined;
2013
+ /**
2014
+ * <p>A list of key names of tags to be removed.</p>
2015
+ */
2016
+ tagKeys: string[] | undefined;
2017
+ }
2018
+ export interface UntagResourceOutput {
2019
+ }
1955
2020
  /**
1956
2021
  * @internal
1957
2022
  */
@@ -2256,6 +2321,14 @@ export declare const UpdateConfiguredTableAnalysisRuleInputFilterSensitiveLog: (
2256
2321
  * @internal
2257
2322
  */
2258
2323
  export declare const UpdateConfiguredTableAnalysisRuleOutputFilterSensitiveLog: (obj: UpdateConfiguredTableAnalysisRuleOutput) => any;
2324
+ /**
2325
+ * @internal
2326
+ */
2327
+ export declare const ListTagsForResourceInputFilterSensitiveLog: (obj: ListTagsForResourceInput) => any;
2328
+ /**
2329
+ * @internal
2330
+ */
2331
+ export declare const ListTagsForResourceOutputFilterSensitiveLog: (obj: ListTagsForResourceOutput) => any;
2259
2332
  /**
2260
2333
  * @internal
2261
2334
  */
@@ -2380,3 +2453,19 @@ export declare const UpdateProtectedQueryInputFilterSensitiveLog: (obj: UpdatePr
2380
2453
  * @internal
2381
2454
  */
2382
2455
  export declare const UpdateProtectedQueryOutputFilterSensitiveLog: (obj: UpdateProtectedQueryOutput) => any;
2456
+ /**
2457
+ * @internal
2458
+ */
2459
+ export declare const TagResourceInputFilterSensitiveLog: (obj: TagResourceInput) => any;
2460
+ /**
2461
+ * @internal
2462
+ */
2463
+ export declare const TagResourceOutputFilterSensitiveLog: (obj: TagResourceOutput) => any;
2464
+ /**
2465
+ * @internal
2466
+ */
2467
+ export declare const UntagResourceInputFilterSensitiveLog: (obj: UntagResourceInput) => any;
2468
+ /**
2469
+ * @internal
2470
+ */
2471
+ export declare const UntagResourceOutputFilterSensitiveLog: (obj: UntagResourceOutput) => any;
@@ -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