@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
@@ -5,14 +5,14 @@ export interface ClientInputEndpointParameters {
5
5
  useFipsEndpoint?: boolean | Provider<boolean>;
6
6
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
7
  }
8
- export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
8
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
9
  defaultSigningName: string;
10
10
  };
11
11
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
12
12
  defaultSigningName: string;
13
13
  };
14
14
  export interface EndpointParameters extends __EndpointParameters {
15
- Region: string;
15
+ Region?: string;
16
16
  UseDualStack?: boolean;
17
17
  UseFIPS?: boolean;
18
18
  Endpoint?: string;
@@ -129,7 +129,7 @@ export interface AnalysisRuleList {
129
129
  /**
130
130
  * <p>Controls on the query specifications that can be run on configured table..</p>
131
131
  */
132
- export declare type AnalysisRulePolicyV1 = AnalysisRulePolicyV1.AggregationMember | AnalysisRulePolicyV1.ListMember | AnalysisRulePolicyV1.$UnknownMember;
132
+ export type AnalysisRulePolicyV1 = AnalysisRulePolicyV1.AggregationMember | AnalysisRulePolicyV1.ListMember | AnalysisRulePolicyV1.$UnknownMember;
133
133
  export declare namespace AnalysisRulePolicyV1 {
134
134
  /**
135
135
  * <p>Analysis rule type that enables only list queries on a configured table.</p>
@@ -162,7 +162,7 @@ export declare namespace AnalysisRulePolicyV1 {
162
162
  /**
163
163
  * <p>Controls on the query specifications that can be run on configured table..</p>
164
164
  */
165
- export declare type AnalysisRulePolicy = AnalysisRulePolicy.V1Member | AnalysisRulePolicy.$UnknownMember;
165
+ export type AnalysisRulePolicy = AnalysisRulePolicy.V1Member | AnalysisRulePolicy.$UnknownMember;
166
166
  export declare namespace AnalysisRulePolicy {
167
167
  /**
168
168
  * <p>Controls on the query specifications that can be run on configured table..</p>
@@ -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,10 +1125,10 @@ 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
- export declare type TableReference = TableReference.GlueMember | TableReference.$UnknownMember;
1131
+ export type TableReference = TableReference.GlueMember | TableReference.$UnknownMember;
1117
1132
  export declare namespace TableReference {
1118
1133
  /**
1119
1134
  * <p>If present, a reference to the AWS Glue table referred to by this table
@@ -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",
@@ -1214,7 +1236,7 @@ export interface CreateConfiguredTableOutput {
1214
1236
  /**
1215
1237
  * <p>Controls on the query specifications that can be run on a configured table.</p>
1216
1238
  */
1217
- export declare type ConfiguredTableAnalysisRulePolicyV1 = ConfiguredTableAnalysisRulePolicyV1.AggregationMember | ConfiguredTableAnalysisRulePolicyV1.ListMember | ConfiguredTableAnalysisRulePolicyV1.$UnknownMember;
1239
+ export type ConfiguredTableAnalysisRulePolicyV1 = ConfiguredTableAnalysisRulePolicyV1.AggregationMember | ConfiguredTableAnalysisRulePolicyV1.ListMember | ConfiguredTableAnalysisRulePolicyV1.$UnknownMember;
1218
1240
  export declare namespace ConfiguredTableAnalysisRulePolicyV1 {
1219
1241
  /**
1220
1242
  * <p>Analysis rule type that enables only list queries on a configured table.</p>
@@ -1247,7 +1269,7 @@ export declare namespace ConfiguredTableAnalysisRulePolicyV1 {
1247
1269
  /**
1248
1270
  * <p>Controls on the query specifications that can be run on a configured table.</p>
1249
1271
  */
1250
- export declare type ConfiguredTableAnalysisRulePolicy = ConfiguredTableAnalysisRulePolicy.V1Member | ConfiguredTableAnalysisRulePolicy.$UnknownMember;
1272
+ export type ConfiguredTableAnalysisRulePolicy = ConfiguredTableAnalysisRulePolicy.V1Member | ConfiguredTableAnalysisRulePolicy.$UnknownMember;
1251
1273
  export declare namespace ConfiguredTableAnalysisRulePolicy {
1252
1274
  /**
1253
1275
  * <p>Controls on the query specifications that can be run on a configured table.</p>
@@ -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",
@@ -1599,7 +1640,7 @@ export interface ProtectedQueryS3Output {
1599
1640
  /**
1600
1641
  * <p>Contains details about the protected query output.</p>
1601
1642
  */
1602
- export declare type ProtectedQueryOutput = ProtectedQueryOutput.S3Member | ProtectedQueryOutput.$UnknownMember;
1643
+ export type ProtectedQueryOutput = ProtectedQueryOutput.S3Member | ProtectedQueryOutput.$UnknownMember;
1603
1644
  export declare namespace ProtectedQueryOutput {
1604
1645
  /**
1605
1646
  * <p>If present, the output for a protected query with an `S3` output type.</p>
@@ -1651,7 +1692,7 @@ export interface ProtectedQueryS3OutputConfiguration {
1651
1692
  /**
1652
1693
  * <p>Contains configuration details for protected query output.</p>
1653
1694
  */
1654
- export declare type ProtectedQueryOutputConfiguration = ProtectedQueryOutputConfiguration.S3Member | ProtectedQueryOutputConfiguration.$UnknownMember;
1695
+ export type ProtectedQueryOutputConfiguration = ProtectedQueryOutputConfiguration.S3Member | ProtectedQueryOutputConfiguration.$UnknownMember;
1655
1696
  export declare namespace ProtectedQueryOutputConfiguration {
1656
1697
  /**
1657
1698
  * <p>Required configuration for a protected query with an `S3` output type.</p>
@@ -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,
@@ -185,7 +197,7 @@ import {
185
197
  ClientResolvedEndpointParameters,
186
198
  EndpointParameters,
187
199
  } from "./endpoint/EndpointParameters";
188
- export declare type ServiceInputTypes =
200
+ export type ServiceInputTypes =
189
201
  | BatchGetSchemaCommandInput
190
202
  | CreateCollaborationCommandInput
191
203
  | CreateConfiguredTableAnalysisRuleCommandInput
@@ -213,14 +225,17 @@ export declare 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
220
235
  | UpdateConfiguredTableCommandInput
221
236
  | UpdateMembershipCommandInput
222
237
  | UpdateProtectedQueryCommandInput;
223
- export declare type ServiceOutputTypes =
238
+ export type ServiceOutputTypes =
224
239
  | BatchGetSchemaCommandOutput
225
240
  | CreateCollaborationCommandOutput
226
241
  | CreateConfiguredTableAnalysisRuleCommandOutput
@@ -248,7 +263,10 @@ export declare 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
@@ -279,7 +297,7 @@ export interface ClientDefaults
279
297
  logger?: __Logger;
280
298
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
281
299
  }
282
- declare type CleanRoomsClientConfigType = Partial<
300
+ type CleanRoomsClientConfigType = Partial<
283
301
  __SmithyConfiguration<__HttpHandlerOptions>
284
302
  > &
285
303
  ClientDefaults &
@@ -291,7 +309,7 @@ declare type CleanRoomsClientConfigType = Partial<
291
309
  UserAgentInputConfig &
292
310
  ClientInputEndpointParameters;
293
311
  export interface CleanRoomsClientConfig extends CleanRoomsClientConfigType {}
294
- declare type CleanRoomsClientResolvedConfigType =
312
+ type CleanRoomsClientResolvedConfigType =
295
313
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
296
314
  Required<ClientDefaults> &
297
315
  RegionResolvedConfig &
@@ -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";
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export declare type ClientResolvedEndpointParameters =
20
- ClientInputEndpointParameters & {
21
- defaultSigningName: string;
22
- };
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
23
22
  export declare const resolveClientEndpointParameters: <T>(
24
23
  options: T & ClientInputEndpointParameters
25
24
  ) => T &
@@ -27,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
26
  defaultSigningName: string;
28
27
  };
29
28
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
29
+ Region?: string;
31
30
  UseDualStack?: boolean;
32
31
  UseFIPS?: boolean;
33
32
  Endpoint?: string;