@aws-sdk/client-cleanrooms 3.699.0 → 3.709.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.
package/dist-cjs/index.js CHANGED
@@ -163,6 +163,7 @@ __export(src_exports, {
163
163
  SchemaType: () => SchemaType,
164
164
  SchemaTypeProperties: () => SchemaTypeProperties,
165
165
  ServiceQuotaExceededException: () => ServiceQuotaExceededException,
166
+ SnowflakeTableSchema: () => SnowflakeTableSchema,
166
167
  StartProtectedQueryCommand: () => StartProtectedQueryCommand,
167
168
  StartProtectedQueryInputFilterSensitiveLog: () => StartProtectedQueryInputFilterSensitiveLog,
168
169
  StartProtectedQueryOutputFilterSensitiveLog: () => StartProtectedQueryOutputFilterSensitiveLog,
@@ -779,11 +780,23 @@ var ConfiguredTableAssociationAnalysisRulePolicy;
779
780
  return visitor._(value.$unknown[0], value.$unknown[1]);
780
781
  }, "visit");
781
782
  })(ConfiguredTableAssociationAnalysisRulePolicy || (ConfiguredTableAssociationAnalysisRulePolicy = {}));
783
+ var SnowflakeTableSchema;
784
+ ((SnowflakeTableSchema3) => {
785
+ SnowflakeTableSchema3.visit = /* @__PURE__ */ __name((value, visitor) => {
786
+ if (value.v1 !== void 0)
787
+ return visitor.v1(value.v1);
788
+ return visitor._(value.$unknown[0], value.$unknown[1]);
789
+ }, "visit");
790
+ })(SnowflakeTableSchema || (SnowflakeTableSchema = {}));
782
791
  var TableReference;
783
792
  ((TableReference3) => {
784
793
  TableReference3.visit = /* @__PURE__ */ __name((value, visitor) => {
785
794
  if (value.glue !== void 0)
786
795
  return visitor.glue(value.glue);
796
+ if (value.snowflake !== void 0)
797
+ return visitor.snowflake(value.snowflake);
798
+ if (value.athena !== void 0)
799
+ return visitor.athena(value.athena);
787
800
  return visitor._(value.$unknown[0], value.$unknown[1]);
788
801
  }, "visit");
789
802
  })(TableReference || (TableReference = {}));
@@ -875,8 +888,8 @@ var ProtectedQueryStatus = {
875
888
  TIMED_OUT: "TIMED_OUT"
876
889
  };
877
890
  var ConfigurationDetails;
878
- ((ConfigurationDetails2) => {
879
- ConfigurationDetails2.visit = /* @__PURE__ */ __name((value, visitor) => {
891
+ ((ConfigurationDetails3) => {
892
+ ConfigurationDetails3.visit = /* @__PURE__ */ __name((value, visitor) => {
880
893
  if (value.directAnalysisConfigurationDetails !== void 0)
881
894
  return visitor.directAnalysisConfigurationDetails(value.directAnalysisConfigurationDetails);
882
895
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -5585,6 +5598,7 @@ var paginateListSchemas = (0, import_core.createPaginator)(CleanRoomsClient, Lis
5585
5598
  ConfiguredTableAssociationAnalysisRuleType,
5586
5599
  ConfiguredTableAssociationAnalysisRulePolicyV1,
5587
5600
  ConfiguredTableAssociationAnalysisRulePolicy,
5601
+ SnowflakeTableSchema,
5588
5602
  TableReference,
5589
5603
  ConfiguredTableAnalysisRuleType,
5590
5604
  ConfiguredTableAnalysisRulePolicyV1,
@@ -371,11 +371,23 @@ export var ConfiguredTableAssociationAnalysisRulePolicy;
371
371
  return visitor._(value.$unknown[0], value.$unknown[1]);
372
372
  };
373
373
  })(ConfiguredTableAssociationAnalysisRulePolicy || (ConfiguredTableAssociationAnalysisRulePolicy = {}));
374
+ export var SnowflakeTableSchema;
375
+ (function (SnowflakeTableSchema) {
376
+ SnowflakeTableSchema.visit = (value, visitor) => {
377
+ if (value.v1 !== undefined)
378
+ return visitor.v1(value.v1);
379
+ return visitor._(value.$unknown[0], value.$unknown[1]);
380
+ };
381
+ })(SnowflakeTableSchema || (SnowflakeTableSchema = {}));
374
382
  export var TableReference;
375
383
  (function (TableReference) {
376
384
  TableReference.visit = (value, visitor) => {
377
385
  if (value.glue !== undefined)
378
386
  return visitor.glue(value.glue);
387
+ if (value.snowflake !== undefined)
388
+ return visitor.snowflake(value.snowflake);
389
+ if (value.athena !== undefined)
390
+ return visitor.athena(value.athena);
379
391
  return visitor._(value.$unknown[0], value.$unknown[1]);
380
392
  };
381
393
  })(TableReference || (TableReference = {}));
@@ -42,6 +42,27 @@ declare const CreateConfiguredTableCommand_base: {
42
42
  * tableName: "STRING_VALUE", // required
43
43
  * databaseName: "STRING_VALUE", // required
44
44
  * },
45
+ * snowflake: { // SnowflakeTableReference
46
+ * secretArn: "STRING_VALUE", // required
47
+ * accountIdentifier: "STRING_VALUE", // required
48
+ * databaseName: "STRING_VALUE", // required
49
+ * tableName: "STRING_VALUE", // required
50
+ * schemaName: "STRING_VALUE", // required
51
+ * tableSchema: { // SnowflakeTableSchema Union: only one key present
52
+ * v1: [ // SnowflakeTableSchemaList
53
+ * { // SnowflakeTableSchemaV1
54
+ * columnName: "STRING_VALUE", // required
55
+ * columnType: "STRING_VALUE", // required
56
+ * },
57
+ * ],
58
+ * },
59
+ * },
60
+ * athena: { // AthenaTableReference
61
+ * workGroup: "STRING_VALUE", // required
62
+ * outputLocation: "STRING_VALUE",
63
+ * databaseName: "STRING_VALUE", // required
64
+ * tableName: "STRING_VALUE", // required
65
+ * },
45
66
  * },
46
67
  * allowedColumns: [ // AllowedColumnList // required
47
68
  * "STRING_VALUE",
@@ -64,6 +85,27 @@ declare const CreateConfiguredTableCommand_base: {
64
85
  * // tableName: "STRING_VALUE", // required
65
86
  * // databaseName: "STRING_VALUE", // required
66
87
  * // },
88
+ * // snowflake: { // SnowflakeTableReference
89
+ * // secretArn: "STRING_VALUE", // required
90
+ * // accountIdentifier: "STRING_VALUE", // required
91
+ * // databaseName: "STRING_VALUE", // required
92
+ * // tableName: "STRING_VALUE", // required
93
+ * // schemaName: "STRING_VALUE", // required
94
+ * // tableSchema: { // SnowflakeTableSchema Union: only one key present
95
+ * // v1: [ // SnowflakeTableSchemaList
96
+ * // { // SnowflakeTableSchemaV1
97
+ * // columnName: "STRING_VALUE", // required
98
+ * // columnType: "STRING_VALUE", // required
99
+ * // },
100
+ * // ],
101
+ * // },
102
+ * // },
103
+ * // athena: { // AthenaTableReference
104
+ * // workGroup: "STRING_VALUE", // required
105
+ * // outputLocation: "STRING_VALUE",
106
+ * // databaseName: "STRING_VALUE", // required
107
+ * // tableName: "STRING_VALUE", // required
108
+ * // },
67
109
  * // },
68
110
  * // createTime: new Date("TIMESTAMP"), // required
69
111
  * // updateTime: new Date("TIMESTAMP"), // required
@@ -50,6 +50,27 @@ declare const GetConfiguredTableCommand_base: {
50
50
  * // tableName: "STRING_VALUE", // required
51
51
  * // databaseName: "STRING_VALUE", // required
52
52
  * // },
53
+ * // snowflake: { // SnowflakeTableReference
54
+ * // secretArn: "STRING_VALUE", // required
55
+ * // accountIdentifier: "STRING_VALUE", // required
56
+ * // databaseName: "STRING_VALUE", // required
57
+ * // tableName: "STRING_VALUE", // required
58
+ * // schemaName: "STRING_VALUE", // required
59
+ * // tableSchema: { // SnowflakeTableSchema Union: only one key present
60
+ * // v1: [ // SnowflakeTableSchemaList
61
+ * // { // SnowflakeTableSchemaV1
62
+ * // columnName: "STRING_VALUE", // required
63
+ * // columnType: "STRING_VALUE", // required
64
+ * // },
65
+ * // ],
66
+ * // },
67
+ * // },
68
+ * // athena: { // AthenaTableReference
69
+ * // workGroup: "STRING_VALUE", // required
70
+ * // outputLocation: "STRING_VALUE",
71
+ * // databaseName: "STRING_VALUE", // required
72
+ * // tableName: "STRING_VALUE", // required
73
+ * // },
53
74
  * // },
54
75
  * // createTime: new Date("TIMESTAMP"), // required
55
76
  * // updateTime: new Date("TIMESTAMP"), // required
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsClient";
4
- import { ListProtectedQueriesInput, ListProtectedQueriesOutput } from "../models/models_0";
4
+ import { ListProtectedQueriesInput } from "../models/models_0";
5
+ import { ListProtectedQueriesOutput } from "../models/models_1";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -52,6 +52,27 @@ declare const UpdateConfiguredTableCommand_base: {
52
52
  * // tableName: "STRING_VALUE", // required
53
53
  * // databaseName: "STRING_VALUE", // required
54
54
  * // },
55
+ * // snowflake: { // SnowflakeTableReference
56
+ * // secretArn: "STRING_VALUE", // required
57
+ * // accountIdentifier: "STRING_VALUE", // required
58
+ * // databaseName: "STRING_VALUE", // required
59
+ * // tableName: "STRING_VALUE", // required
60
+ * // schemaName: "STRING_VALUE", // required
61
+ * // tableSchema: { // SnowflakeTableSchema Union: only one key present
62
+ * // v1: [ // SnowflakeTableSchemaList
63
+ * // { // SnowflakeTableSchemaV1
64
+ * // columnName: "STRING_VALUE", // required
65
+ * // columnType: "STRING_VALUE", // required
66
+ * // },
67
+ * // ],
68
+ * // },
69
+ * // },
70
+ * // athena: { // AthenaTableReference
71
+ * // workGroup: "STRING_VALUE", // required
72
+ * // outputLocation: "STRING_VALUE",
73
+ * // databaseName: "STRING_VALUE", // required
74
+ * // tableName: "STRING_VALUE", // required
75
+ * // },
55
76
  * // },
56
77
  * // createTime: new Date("TIMESTAMP"), // required
57
78
  * // updateTime: new Date("TIMESTAMP"), // required
@@ -1202,6 +1202,32 @@ export declare const AnalyticsEngine: {
1202
1202
  * @public
1203
1203
  */
1204
1204
  export type AnalyticsEngine = (typeof AnalyticsEngine)[keyof typeof AnalyticsEngine];
1205
+ /**
1206
+ * <p> A reference to a table within Athena.</p>
1207
+ * @public
1208
+ */
1209
+ export interface AthenaTableReference {
1210
+ /**
1211
+ * <p> The workgroup of the Athena table reference.</p>
1212
+ * @public
1213
+ */
1214
+ workGroup: string | undefined;
1215
+ /**
1216
+ * <p> The output location for the Athena table.</p>
1217
+ * @public
1218
+ */
1219
+ outputLocation?: string | undefined;
1220
+ /**
1221
+ * <p> The database name.</p>
1222
+ * @public
1223
+ */
1224
+ databaseName: string | undefined;
1225
+ /**
1226
+ * <p> The table reference.</p>
1227
+ * @public
1228
+ */
1229
+ tableName: string | undefined;
1230
+ }
1205
1231
  /**
1206
1232
  * @public
1207
1233
  */
@@ -1374,7 +1400,7 @@ export interface BatchGetSchemaError {
1374
1400
  message: string | undefined;
1375
1401
  }
1376
1402
  /**
1377
- * <p>A column within a schema relation, derived from the underlying Glue
1403
+ * <p>A column within a schema relation, derived from the underlying
1378
1404
  * table.</p>
1379
1405
  * @public
1380
1406
  */
@@ -4440,11 +4466,99 @@ export interface GlueTableReference {
4440
4466
  databaseName: string | undefined;
4441
4467
  }
4442
4468
  /**
4443
- * <p>A pointer to the dataset that underlies this table. Currently, this can only be an Glue
4444
- * table.</p>
4469
+ * <p> The Snowflake table schema.</p>
4470
+ * @public
4471
+ */
4472
+ export interface SnowflakeTableSchemaV1 {
4473
+ /**
4474
+ * <p> The column name.</p>
4475
+ * @public
4476
+ */
4477
+ columnName: string | undefined;
4478
+ /**
4479
+ * <p> The column's data type. Supported data types: <code>ARRAY</code>, <code>BIGINT</code>,
4480
+ * <code>BOOLEAN</code>, <code>CHAR</code>, <code>DATE</code>,
4481
+ * <code>DECIMAL</code>, <code>DOUBLE</code>, <code>DOUBLE PRECISION</code>,
4482
+ * <code>FLOAT</code>, <code>FLOAT4</code>, <code>INT</code>, <code>INTEGER</code>,
4483
+ * <code>MAP</code>, <code>NUMERIC</code>, <code>NUMBER</code>, <code>REAL</code>,
4484
+ * <code>SMALLINT</code>, <code>STRING</code>, <code>TIMESTAMP</code>,
4485
+ * <code>TIMESTAMP_LTZ</code>, <code>TIMESTAMP_NTZ</code>, <code>DATETIME</code>,
4486
+ * <code>TINYINT</code>, <code>VARCHAR</code>, <code>TEXT</code>, <code>CHARACTER</code>.</p>
4487
+ * @public
4488
+ */
4489
+ columnType: string | undefined;
4490
+ }
4491
+ /**
4492
+ * <p> The schema of a Snowflake table.</p>
4493
+ * @public
4494
+ */
4495
+ export type SnowflakeTableSchema = SnowflakeTableSchema.V1Member | SnowflakeTableSchema.$UnknownMember;
4496
+ /**
4497
+ * @public
4498
+ */
4499
+ export declare namespace SnowflakeTableSchema {
4500
+ /**
4501
+ * <p> The schema of a Snowflake table.</p>
4502
+ * @public
4503
+ */
4504
+ interface V1Member {
4505
+ v1: SnowflakeTableSchemaV1[];
4506
+ $unknown?: never;
4507
+ }
4508
+ /**
4509
+ * @public
4510
+ */
4511
+ interface $UnknownMember {
4512
+ v1?: never;
4513
+ $unknown: [string, any];
4514
+ }
4515
+ interface Visitor<T> {
4516
+ v1: (value: SnowflakeTableSchemaV1[]) => T;
4517
+ _: (name: string, value: any) => T;
4518
+ }
4519
+ const visit: <T>(value: SnowflakeTableSchema, visitor: Visitor<T>) => T;
4520
+ }
4521
+ /**
4522
+ * <p> A reference to a table within Snowflake.</p>
4523
+ * @public
4524
+ */
4525
+ export interface SnowflakeTableReference {
4526
+ /**
4527
+ * <p> The secret ARN of the Snowflake table reference.</p>
4528
+ * @public
4529
+ */
4530
+ secretArn: string | undefined;
4531
+ /**
4532
+ * <p> The account identifier for the Snowflake table reference.</p>
4533
+ * @public
4534
+ */
4535
+ accountIdentifier: string | undefined;
4536
+ /**
4537
+ * <p> The name of the database the Snowflake table belongs to.</p>
4538
+ * @public
4539
+ */
4540
+ databaseName: string | undefined;
4541
+ /**
4542
+ * <p> The name of the Snowflake table.</p>
4543
+ * @public
4544
+ */
4545
+ tableName: string | undefined;
4546
+ /**
4547
+ * <p> The schema name of the Snowflake table reference.</p>
4548
+ * @public
4549
+ */
4550
+ schemaName: string | undefined;
4551
+ /**
4552
+ * <p> The schema of the Snowflake table.</p>
4553
+ * @public
4554
+ */
4555
+ tableSchema: SnowflakeTableSchema | undefined;
4556
+ }
4557
+ /**
4558
+ * <p>A pointer to the dataset that underlies this table.</p>
4445
4559
  * @public
4446
4560
  */
4447
- export type TableReference = TableReference.GlueMember | TableReference.$UnknownMember;
4561
+ export type TableReference = TableReference.AthenaMember | TableReference.GlueMember | TableReference.SnowflakeMember | TableReference.$UnknownMember;
4448
4562
  /**
4449
4563
  * @public
4450
4564
  */
@@ -4456,6 +4570,28 @@ export declare namespace TableReference {
4456
4570
  */
4457
4571
  interface GlueMember {
4458
4572
  glue: GlueTableReference;
4573
+ snowflake?: never;
4574
+ athena?: never;
4575
+ $unknown?: never;
4576
+ }
4577
+ /**
4578
+ * <p> If present, a reference to the Snowflake table referred to by this table reference.</p>
4579
+ * @public
4580
+ */
4581
+ interface SnowflakeMember {
4582
+ glue?: never;
4583
+ snowflake: SnowflakeTableReference;
4584
+ athena?: never;
4585
+ $unknown?: never;
4586
+ }
4587
+ /**
4588
+ * <p> If present, a reference to the Athena table referred to by this table reference.</p>
4589
+ * @public
4590
+ */
4591
+ interface AthenaMember {
4592
+ glue?: never;
4593
+ snowflake?: never;
4594
+ athena: AthenaTableReference;
4459
4595
  $unknown?: never;
4460
4596
  }
4461
4597
  /**
@@ -4463,10 +4599,14 @@ export declare namespace TableReference {
4463
4599
  */
4464
4600
  interface $UnknownMember {
4465
4601
  glue?: never;
4602
+ snowflake?: never;
4603
+ athena?: never;
4466
4604
  $unknown: [string, any];
4467
4605
  }
4468
4606
  interface Visitor<T> {
4469
4607
  glue: (value: GlueTableReference) => T;
4608
+ snowflake: (value: SnowflakeTableReference) => T;
4609
+ athena: (value: AthenaTableReference) => T;
4470
4610
  _: (name: string, value: any) => T;
4471
4611
  }
4472
4612
  const visit: <T>(value: TableReference, visitor: Visitor<T>) => T;
@@ -4486,7 +4626,9 @@ export interface CreateConfiguredTableInput {
4486
4626
  */
4487
4627
  description?: string | undefined;
4488
4628
  /**
4489
- * <p>A reference to the Glue table being configured.</p>
4629
+ * <p>A reference to the
4630
+ * table
4631
+ * being configured.</p>
4490
4632
  * @public
4491
4633
  */
4492
4634
  tableReference: TableReference | undefined;
@@ -4550,7 +4692,9 @@ export interface ConfiguredTable {
4550
4692
  */
4551
4693
  description?: string | undefined;
4552
4694
  /**
4553
- * <p>The Glue table that this configured table represents.</p>
4695
+ * <p>The
4696
+ * table
4697
+ * that this configured table represents.</p>
4554
4698
  * @public
4555
4699
  */
4556
4700
  tableReference: TableReference | undefined;
@@ -6733,89 +6877,6 @@ export declare namespace ConfigurationDetails {
6733
6877
  }
6734
6878
  const visit: <T>(value: ConfigurationDetails, visitor: Visitor<T>) => T;
6735
6879
  }
6736
- /**
6737
- * <p> The receiver configuration for a protected query.</p>
6738
- * @public
6739
- */
6740
- export interface ReceiverConfiguration {
6741
- /**
6742
- * <p> The type of analysis for the protected query. The results of the query can be analyzed directly (<code>DIRECT_ANALYSIS</code>) or used as input into additional analyses (<code>ADDITIONAL_ANALYSIS</code>), such as a query that is a seed for a lookalike ML model.</p>
6743
- * @public
6744
- */
6745
- analysisType: AnalysisType | undefined;
6746
- /**
6747
- * <p> The configuration details of the receiver configuration.</p>
6748
- * @public
6749
- */
6750
- configurationDetails?: ConfigurationDetails | undefined;
6751
- }
6752
- /**
6753
- * <p>The protected query summary for the objects listed by the request.</p>
6754
- * @public
6755
- */
6756
- export interface ProtectedQuerySummary {
6757
- /**
6758
- * <p>The unique ID of the protected query.</p>
6759
- * @public
6760
- */
6761
- id: string | undefined;
6762
- /**
6763
- * <p>The unique ID for the membership that initiated the protected query.</p>
6764
- * @public
6765
- */
6766
- membershipId: string | undefined;
6767
- /**
6768
- * <p>The unique ARN for the membership that initiated the protected query.</p>
6769
- * @public
6770
- */
6771
- membershipArn: string | undefined;
6772
- /**
6773
- * <p>The time the protected query was created.</p>
6774
- * @public
6775
- */
6776
- createTime: Date | undefined;
6777
- /**
6778
- * <p>The status of the protected query.</p>
6779
- * @public
6780
- */
6781
- status: ProtectedQueryStatus | undefined;
6782
- /**
6783
- * <p> The receiver configuration.</p>
6784
- * @public
6785
- */
6786
- receiverConfigurations: ReceiverConfiguration[] | undefined;
6787
- }
6788
- /**
6789
- * @public
6790
- */
6791
- export interface ListProtectedQueriesOutput {
6792
- /**
6793
- * <p>The pagination token that's used to fetch the next set of results.</p>
6794
- * @public
6795
- */
6796
- nextToken?: string | undefined;
6797
- /**
6798
- * <p>A list of protected queries.</p>
6799
- * @public
6800
- */
6801
- protectedQueries: ProtectedQuerySummary[] | undefined;
6802
- }
6803
- /**
6804
- * <p>The epsilon and noise parameters that you want to preview.</p>
6805
- * @public
6806
- */
6807
- export interface DifferentialPrivacyPreviewParametersInput {
6808
- /**
6809
- * <p>The epsilon value that you want to preview.</p>
6810
- * @public
6811
- */
6812
- epsilon: number | undefined;
6813
- /**
6814
- * <p>Noise added per query is measured in terms of the number of users whose contributions you want to obscure. This value governs the rate at which the privacy budget is depleted.</p>
6815
- * @public
6816
- */
6817
- usersNoisePerQuery: number | undefined;
6818
- }
6819
6880
  /**
6820
6881
  * @internal
6821
6882
  */
@@ -1,4 +1,87 @@
1
- import { ComputeConfiguration, DifferentialPrivacyAggregationType, DifferentialPrivacyPreviewParametersInput, Membership, MembershipProtectedQueryResultConfiguration, MembershipQueryLogStatus, PrivacyBudgetTemplateAutoRefresh, PrivacyBudgetTemplateParametersOutput, PrivacyBudgetType, ProtectedQuery, ProtectedQueryResultConfiguration, ProtectedQuerySQLParameters } from "./models_0";
1
+ import { AnalysisType, ComputeConfiguration, ConfigurationDetails, DifferentialPrivacyAggregationType, Membership, MembershipProtectedQueryResultConfiguration, MembershipQueryLogStatus, PrivacyBudgetTemplateAutoRefresh, PrivacyBudgetTemplateParametersOutput, PrivacyBudgetType, ProtectedQuery, ProtectedQueryResultConfiguration, ProtectedQuerySQLParameters, ProtectedQueryStatus } from "./models_0";
2
+ /**
3
+ * <p> The receiver configuration for a protected query.</p>
4
+ * @public
5
+ */
6
+ export interface ReceiverConfiguration {
7
+ /**
8
+ * <p> The type of analysis for the protected query. The results of the query can be analyzed directly (<code>DIRECT_ANALYSIS</code>) or used as input into additional analyses (<code>ADDITIONAL_ANALYSIS</code>), such as a query that is a seed for a lookalike ML model.</p>
9
+ * @public
10
+ */
11
+ analysisType: AnalysisType | undefined;
12
+ /**
13
+ * <p> The configuration details of the receiver configuration.</p>
14
+ * @public
15
+ */
16
+ configurationDetails?: ConfigurationDetails | undefined;
17
+ }
18
+ /**
19
+ * <p>The protected query summary for the objects listed by the request.</p>
20
+ * @public
21
+ */
22
+ export interface ProtectedQuerySummary {
23
+ /**
24
+ * <p>The unique ID of the protected query.</p>
25
+ * @public
26
+ */
27
+ id: string | undefined;
28
+ /**
29
+ * <p>The unique ID for the membership that initiated the protected query.</p>
30
+ * @public
31
+ */
32
+ membershipId: string | undefined;
33
+ /**
34
+ * <p>The unique ARN for the membership that initiated the protected query.</p>
35
+ * @public
36
+ */
37
+ membershipArn: string | undefined;
38
+ /**
39
+ * <p>The time the protected query was created.</p>
40
+ * @public
41
+ */
42
+ createTime: Date | undefined;
43
+ /**
44
+ * <p>The status of the protected query.</p>
45
+ * @public
46
+ */
47
+ status: ProtectedQueryStatus | undefined;
48
+ /**
49
+ * <p> The receiver configuration.</p>
50
+ * @public
51
+ */
52
+ receiverConfigurations: ReceiverConfiguration[] | undefined;
53
+ }
54
+ /**
55
+ * @public
56
+ */
57
+ export interface ListProtectedQueriesOutput {
58
+ /**
59
+ * <p>The pagination token that's used to fetch the next set of results.</p>
60
+ * @public
61
+ */
62
+ nextToken?: string | undefined;
63
+ /**
64
+ * <p>A list of protected queries.</p>
65
+ * @public
66
+ */
67
+ protectedQueries: ProtectedQuerySummary[] | undefined;
68
+ }
69
+ /**
70
+ * <p>The epsilon and noise parameters that you want to preview.</p>
71
+ * @public
72
+ */
73
+ export interface DifferentialPrivacyPreviewParametersInput {
74
+ /**
75
+ * <p>The epsilon value that you want to preview.</p>
76
+ * @public
77
+ */
78
+ epsilon: number | undefined;
79
+ /**
80
+ * <p>Noise added per query is measured in terms of the number of users whose contributions you want to obscure. This value governs the rate at which the privacy budget is depleted.</p>
81
+ * @public
82
+ */
83
+ usersNoisePerQuery: number | undefined;
84
+ }
2
85
  /**
3
86
  * <p>Specifies the updated epsilon and noise parameters to preview. The preview allows you to see how the maximum number of each type of aggregation function would change with the new parameters.</p>
4
87
  * @public
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../CleanRoomsClient";
8
- import {
9
- ListProtectedQueriesInput,
10
- ListProtectedQueriesOutput,
11
- } from "../models/models_0";
8
+ import { ListProtectedQueriesInput } from "../models/models_0";
9
+ import { ListProtectedQueriesOutput } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface ListProtectedQueriesCommandInput
@@ -465,6 +465,12 @@ export declare const AnalyticsEngine: {
465
465
  };
466
466
  export type AnalyticsEngine =
467
467
  (typeof AnalyticsEngine)[keyof typeof AnalyticsEngine];
468
+ export interface AthenaTableReference {
469
+ workGroup: string | undefined;
470
+ outputLocation?: string | undefined;
471
+ databaseName: string | undefined;
472
+ tableName: string | undefined;
473
+ }
468
474
  export interface BatchGetCollaborationAnalysisTemplateInput {
469
475
  collaborationIdentifier: string | undefined;
470
476
  analysisTemplateArns: string[] | undefined;
@@ -1362,20 +1368,70 @@ export interface GlueTableReference {
1362
1368
  tableName: string | undefined;
1363
1369
  databaseName: string | undefined;
1364
1370
  }
1371
+ export interface SnowflakeTableSchemaV1 {
1372
+ columnName: string | undefined;
1373
+ columnType: string | undefined;
1374
+ }
1375
+ export type SnowflakeTableSchema =
1376
+ | SnowflakeTableSchema.V1Member
1377
+ | SnowflakeTableSchema.$UnknownMember;
1378
+ export declare namespace SnowflakeTableSchema {
1379
+ interface V1Member {
1380
+ v1: SnowflakeTableSchemaV1[];
1381
+ $unknown?: never;
1382
+ }
1383
+ interface $UnknownMember {
1384
+ v1?: never;
1385
+ $unknown: [string, any];
1386
+ }
1387
+ interface Visitor<T> {
1388
+ v1: (value: SnowflakeTableSchemaV1[]) => T;
1389
+ _: (name: string, value: any) => T;
1390
+ }
1391
+ const visit: <T>(value: SnowflakeTableSchema, visitor: Visitor<T>) => T;
1392
+ }
1393
+ export interface SnowflakeTableReference {
1394
+ secretArn: string | undefined;
1395
+ accountIdentifier: string | undefined;
1396
+ databaseName: string | undefined;
1397
+ tableName: string | undefined;
1398
+ schemaName: string | undefined;
1399
+ tableSchema: SnowflakeTableSchema | undefined;
1400
+ }
1365
1401
  export type TableReference =
1402
+ | TableReference.AthenaMember
1366
1403
  | TableReference.GlueMember
1404
+ | TableReference.SnowflakeMember
1367
1405
  | TableReference.$UnknownMember;
1368
1406
  export declare namespace TableReference {
1369
1407
  interface GlueMember {
1370
1408
  glue: GlueTableReference;
1409
+ snowflake?: never;
1410
+ athena?: never;
1411
+ $unknown?: never;
1412
+ }
1413
+ interface SnowflakeMember {
1414
+ glue?: never;
1415
+ snowflake: SnowflakeTableReference;
1416
+ athena?: never;
1417
+ $unknown?: never;
1418
+ }
1419
+ interface AthenaMember {
1420
+ glue?: never;
1421
+ snowflake?: never;
1422
+ athena: AthenaTableReference;
1371
1423
  $unknown?: never;
1372
1424
  }
1373
1425
  interface $UnknownMember {
1374
1426
  glue?: never;
1427
+ snowflake?: never;
1428
+ athena?: never;
1375
1429
  $unknown: [string, any];
1376
1430
  }
1377
1431
  interface Visitor<T> {
1378
1432
  glue: (value: GlueTableReference) => T;
1433
+ snowflake: (value: SnowflakeTableReference) => T;
1434
+ athena: (value: AthenaTableReference) => T;
1379
1435
  _: (name: string, value: any) => T;
1380
1436
  }
1381
1437
  const visit: <T>(value: TableReference, visitor: Visitor<T>) => T;
@@ -2048,26 +2104,6 @@ export declare namespace ConfigurationDetails {
2048
2104
  }
2049
2105
  const visit: <T>(value: ConfigurationDetails, visitor: Visitor<T>) => T;
2050
2106
  }
2051
- export interface ReceiverConfiguration {
2052
- analysisType: AnalysisType | undefined;
2053
- configurationDetails?: ConfigurationDetails | undefined;
2054
- }
2055
- export interface ProtectedQuerySummary {
2056
- id: string | undefined;
2057
- membershipId: string | undefined;
2058
- membershipArn: string | undefined;
2059
- createTime: Date | undefined;
2060
- status: ProtectedQueryStatus | undefined;
2061
- receiverConfigurations: ReceiverConfiguration[] | undefined;
2062
- }
2063
- export interface ListProtectedQueriesOutput {
2064
- nextToken?: string | undefined;
2065
- protectedQueries: ProtectedQuerySummary[] | undefined;
2066
- }
2067
- export interface DifferentialPrivacyPreviewParametersInput {
2068
- epsilon: number | undefined;
2069
- usersNoisePerQuery: number | undefined;
2070
- }
2071
2107
  export declare const AnalysisParameterFilterSensitiveLog: (
2072
2108
  obj: AnalysisParameter
2073
2109
  ) => any;
@@ -1,7 +1,8 @@
1
1
  import {
2
+ AnalysisType,
2
3
  ComputeConfiguration,
4
+ ConfigurationDetails,
3
5
  DifferentialPrivacyAggregationType,
4
- DifferentialPrivacyPreviewParametersInput,
5
6
  Membership,
6
7
  MembershipProtectedQueryResultConfiguration,
7
8
  MembershipQueryLogStatus,
@@ -11,7 +12,28 @@ import {
11
12
  ProtectedQuery,
12
13
  ProtectedQueryResultConfiguration,
13
14
  ProtectedQuerySQLParameters,
15
+ ProtectedQueryStatus,
14
16
  } from "./models_0";
17
+ export interface ReceiverConfiguration {
18
+ analysisType: AnalysisType | undefined;
19
+ configurationDetails?: ConfigurationDetails | undefined;
20
+ }
21
+ export interface ProtectedQuerySummary {
22
+ id: string | undefined;
23
+ membershipId: string | undefined;
24
+ membershipArn: string | undefined;
25
+ createTime: Date | undefined;
26
+ status: ProtectedQueryStatus | undefined;
27
+ receiverConfigurations: ReceiverConfiguration[] | undefined;
28
+ }
29
+ export interface ListProtectedQueriesOutput {
30
+ nextToken?: string | undefined;
31
+ protectedQueries: ProtectedQuerySummary[] | undefined;
32
+ }
33
+ export interface DifferentialPrivacyPreviewParametersInput {
34
+ epsilon: number | undefined;
35
+ usersNoisePerQuery: number | undefined;
36
+ }
15
37
  export type PreviewPrivacyImpactParametersInput =
16
38
  | PreviewPrivacyImpactParametersInput.DifferentialPrivacyMember
17
39
  | PreviewPrivacyImpactParametersInput.$UnknownMember;
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.699.0",
4
+ "version": "3.709.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-cleanrooms",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.699.0",
24
- "@aws-sdk/client-sts": "3.699.0",
25
- "@aws-sdk/core": "3.696.0",
26
- "@aws-sdk/credential-provider-node": "3.699.0",
27
- "@aws-sdk/middleware-host-header": "3.696.0",
28
- "@aws-sdk/middleware-logger": "3.696.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.696.0",
30
- "@aws-sdk/middleware-user-agent": "3.696.0",
31
- "@aws-sdk/region-config-resolver": "3.696.0",
32
- "@aws-sdk/types": "3.696.0",
33
- "@aws-sdk/util-endpoints": "3.696.0",
34
- "@aws-sdk/util-user-agent-browser": "3.696.0",
35
- "@aws-sdk/util-user-agent-node": "3.696.0",
36
- "@smithy/config-resolver": "^3.0.12",
37
- "@smithy/core": "^2.5.3",
38
- "@smithy/fetch-http-handler": "^4.1.1",
39
- "@smithy/hash-node": "^3.0.10",
40
- "@smithy/invalid-dependency": "^3.0.10",
41
- "@smithy/middleware-content-length": "^3.0.12",
42
- "@smithy/middleware-endpoint": "^3.2.3",
43
- "@smithy/middleware-retry": "^3.0.27",
44
- "@smithy/middleware-serde": "^3.0.10",
45
- "@smithy/middleware-stack": "^3.0.10",
46
- "@smithy/node-config-provider": "^3.1.11",
47
- "@smithy/node-http-handler": "^3.3.1",
48
- "@smithy/protocol-http": "^4.1.7",
49
- "@smithy/smithy-client": "^3.4.4",
50
- "@smithy/types": "^3.7.1",
51
- "@smithy/url-parser": "^3.0.10",
23
+ "@aws-sdk/client-sso-oidc": "3.709.0",
24
+ "@aws-sdk/client-sts": "3.709.0",
25
+ "@aws-sdk/core": "3.709.0",
26
+ "@aws-sdk/credential-provider-node": "3.709.0",
27
+ "@aws-sdk/middleware-host-header": "3.709.0",
28
+ "@aws-sdk/middleware-logger": "3.709.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.709.0",
30
+ "@aws-sdk/middleware-user-agent": "3.709.0",
31
+ "@aws-sdk/region-config-resolver": "3.709.0",
32
+ "@aws-sdk/types": "3.709.0",
33
+ "@aws-sdk/util-endpoints": "3.709.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.709.0",
35
+ "@aws-sdk/util-user-agent-node": "3.709.0",
36
+ "@smithy/config-resolver": "^3.0.13",
37
+ "@smithy/core": "^2.5.5",
38
+ "@smithy/fetch-http-handler": "^4.1.2",
39
+ "@smithy/hash-node": "^3.0.11",
40
+ "@smithy/invalid-dependency": "^3.0.11",
41
+ "@smithy/middleware-content-length": "^3.0.13",
42
+ "@smithy/middleware-endpoint": "^3.2.5",
43
+ "@smithy/middleware-retry": "^3.0.30",
44
+ "@smithy/middleware-serde": "^3.0.11",
45
+ "@smithy/middleware-stack": "^3.0.11",
46
+ "@smithy/node-config-provider": "^3.1.12",
47
+ "@smithy/node-http-handler": "^3.3.2",
48
+ "@smithy/protocol-http": "^4.1.8",
49
+ "@smithy/smithy-client": "^3.5.0",
50
+ "@smithy/types": "^3.7.2",
51
+ "@smithy/url-parser": "^3.0.11",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.27",
56
- "@smithy/util-defaults-mode-node": "^3.0.27",
57
- "@smithy/util-endpoints": "^2.1.6",
58
- "@smithy/util-middleware": "^3.0.10",
59
- "@smithy/util-retry": "^3.0.10",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.30",
56
+ "@smithy/util-defaults-mode-node": "^3.0.30",
57
+ "@smithy/util-endpoints": "^2.1.7",
58
+ "@smithy/util-middleware": "^3.0.11",
59
+ "@smithy/util-retry": "^3.0.11",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },