@aws-sdk/client-cleanrooms 3.618.0 → 3.620.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/README.md +32 -0
- package/dist-cjs/index.js +319 -30
- package/dist-es/CleanRooms.js +8 -0
- package/dist-es/commands/CreateConfiguredTableAssociationAnalysisRuleCommand.js +24 -0
- package/dist-es/commands/DeleteConfiguredTableAssociationAnalysisRuleCommand.js +24 -0
- package/dist-es/commands/GetConfiguredTableAssociationAnalysisRuleCommand.js +24 -0
- package/dist-es/commands/UpdateConfiguredTableAssociationAnalysisRuleCommand.js +24 -0
- package/dist-es/commands/UpdateProtectedQueryCommand.js +1 -1
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +50 -24
- package/dist-es/models/models_1.js +21 -0
- package/dist-es/protocols/Aws_restJson1.js +119 -0
- package/dist-types/CleanRooms.d.ts +28 -0
- package/dist-types/CleanRoomsClient.d.ts +6 -2
- package/dist-types/commands/BatchGetSchemaAnalysisRuleCommand.d.ts +7 -3
- package/dist-types/commands/BatchGetSchemaCommand.d.ts +3 -2
- package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +12 -0
- package/dist-types/commands/CreateConfiguredTableAssociationAnalysisRuleCommand.d.ts +143 -0
- package/dist-types/commands/CreateConfiguredTableAssociationCommand.d.ts +3 -0
- package/dist-types/commands/CreatePrivacyBudgetTemplateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteConfiguredTableAssociationAnalysisRuleCommand.d.ts +79 -0
- package/dist-types/commands/DeletePrivacyBudgetTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +6 -0
- package/dist-types/commands/GetConfiguredTableAssociationAnalysisRuleCommand.d.ts +114 -0
- package/dist-types/commands/GetConfiguredTableAssociationCommand.d.ts +3 -0
- package/dist-types/commands/GetPrivacyBudgetTemplateCommand.d.ts +1 -1
- package/dist-types/commands/GetProtectedQueryCommand.d.ts +3 -0
- package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +7 -3
- package/dist-types/commands/GetSchemaCommand.d.ts +3 -2
- package/dist-types/commands/ListPrivacyBudgetTemplatesCommand.d.ts +1 -1
- package/dist-types/commands/ListProtectedQueriesCommand.d.ts +12 -0
- package/dist-types/commands/StartProtectedQueryCommand.d.ts +6 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +12 -0
- package/dist-types/commands/UpdateConfiguredTableAssociationAnalysisRuleCommand.d.ts +145 -0
- package/dist-types/commands/UpdateConfiguredTableAssociationCommand.d.ts +3 -0
- package/dist-types/commands/UpdatePrivacyBudgetTemplateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProtectedQueryCommand.d.ts +5 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +614 -502
- package/dist-types/models/models_1.d.ts +430 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/CleanRooms.d.ts +92 -0
- package/dist-types/ts3.4/CleanRoomsClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateConfiguredTableAssociationAnalysisRuleCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreatePrivacyBudgetTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteConfiguredTableAssociationAnalysisRuleCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeletePrivacyBudgetTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetConfiguredTableAssociationAnalysisRuleCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetPrivacyBudgetTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPrivacyBudgetTemplatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConfiguredTableAssociationAnalysisRuleCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/UpdatePrivacyBudgetTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateProtectedQueryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +188 -138
- package/dist-types/ts3.4/models/models_1.d.ts +140 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +18 -18
|
@@ -14,6 +14,13 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
14
14
|
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
15
15
|
);
|
|
16
16
|
}
|
|
17
|
+
export declare const AdditionalAnalyses: {
|
|
18
|
+
readonly ALLOWED: "ALLOWED";
|
|
19
|
+
readonly NOT_ALLOWED: "NOT_ALLOWED";
|
|
20
|
+
readonly REQUIRED: "REQUIRED";
|
|
21
|
+
};
|
|
22
|
+
export type AdditionalAnalyses =
|
|
23
|
+
(typeof AdditionalAnalyses)[keyof typeof AdditionalAnalyses];
|
|
17
24
|
export declare const AggregateFunctionName: {
|
|
18
25
|
readonly AVG: "AVG";
|
|
19
26
|
readonly COUNT: "COUNT";
|
|
@@ -116,6 +123,7 @@ export interface AnalysisRuleAggregation {
|
|
|
116
123
|
dimensionColumns: string[] | undefined;
|
|
117
124
|
scalarFunctions: ScalarFunctions[] | undefined;
|
|
118
125
|
outputConstraints: AggregationConstraint[] | undefined;
|
|
126
|
+
additionalAnalyses?: AdditionalAnalyses;
|
|
119
127
|
}
|
|
120
128
|
export interface DifferentialPrivacyColumn {
|
|
121
129
|
name: string | undefined;
|
|
@@ -126,6 +134,8 @@ export interface DifferentialPrivacyConfiguration {
|
|
|
126
134
|
export interface AnalysisRuleCustom {
|
|
127
135
|
allowedAnalyses: string[] | undefined;
|
|
128
136
|
allowedAnalysisProviders?: string[];
|
|
137
|
+
additionalAnalyses?: AdditionalAnalyses;
|
|
138
|
+
disallowedOutputColumns?: string[];
|
|
129
139
|
differentialPrivacy?: DifferentialPrivacyConfiguration;
|
|
130
140
|
}
|
|
131
141
|
export interface QueryConstraintRequireOverlap {
|
|
@@ -158,6 +168,7 @@ export interface AnalysisRuleList {
|
|
|
158
168
|
joinColumns: string[] | undefined;
|
|
159
169
|
allowedJoinOperators?: JoinOperator[];
|
|
160
170
|
listColumns: string[] | undefined;
|
|
171
|
+
additionalAnalyses?: AdditionalAnalyses;
|
|
161
172
|
}
|
|
162
173
|
export type AnalysisRulePolicyV1 =
|
|
163
174
|
| AnalysisRulePolicyV1.AggregationMember
|
|
@@ -430,6 +441,11 @@ export interface UpdateAnalysisTemplateInput {
|
|
|
430
441
|
export interface UpdateAnalysisTemplateOutput {
|
|
431
442
|
analysisTemplate: AnalysisTemplate | undefined;
|
|
432
443
|
}
|
|
444
|
+
export declare const AnalysisType: {
|
|
445
|
+
readonly ADDITIONAL_ANALYSIS: "ADDITIONAL_ANALYSIS";
|
|
446
|
+
readonly DIRECT_ANALYSIS: "DIRECT_ANALYSIS";
|
|
447
|
+
};
|
|
448
|
+
export type AnalysisType = (typeof AnalysisType)[keyof typeof AnalysisType];
|
|
433
449
|
export interface BatchGetCollaborationAnalysisTemplateInput {
|
|
434
450
|
collaborationIdentifier: string | undefined;
|
|
435
451
|
analysisTemplateArns: string[] | undefined;
|
|
@@ -473,20 +489,22 @@ export interface Column {
|
|
|
473
489
|
type: string | undefined;
|
|
474
490
|
}
|
|
475
491
|
export declare const SchemaConfiguration: {
|
|
476
|
-
readonly CUSTOM_ANALYSIS_NOT_ALLOWED: "CUSTOM_ANALYSIS_NOT_ALLOWED";
|
|
477
492
|
readonly DIFFERENTIAL_PRIVACY: "DIFFERENTIAL_PRIVACY";
|
|
478
|
-
readonly DIFFERENTIAL_PRIVACY_BUDGET_NOT_CONFIGURED: "DIFFERENTIAL_PRIVACY_BUDGET_NOT_CONFIGURED";
|
|
479
|
-
readonly ID_MAPPING_TABLE_NOT_POPULATED: "ID_MAPPING_TABLE_NOT_POPULATED";
|
|
480
|
-
readonly NO_MEMBER_ACCOUNT_ALLOWED_TO_PROVIDE_ANALYSIS: "NO_MEMBER_ACCOUNT_ALLOWED_TO_PROVIDE_ANALYSIS";
|
|
481
493
|
};
|
|
482
494
|
export type SchemaConfiguration =
|
|
483
495
|
(typeof SchemaConfiguration)[keyof typeof SchemaConfiguration];
|
|
484
496
|
export declare const SchemaStatusReasonCode: {
|
|
497
|
+
readonly ADDITIONAL_ANALYSES_NOT_ALLOWED: "ADDITIONAL_ANALYSES_NOT_ALLOWED";
|
|
498
|
+
readonly ADDITIONAL_ANALYSES_NOT_CONFIGURED: "ADDITIONAL_ANALYSES_NOT_CONFIGURED";
|
|
485
499
|
readonly ANALYSIS_PROVIDERS_NOT_CONFIGURED: "ANALYSIS_PROVIDERS_NOT_CONFIGURED";
|
|
486
500
|
readonly ANALYSIS_RULE_MISSING: "ANALYSIS_RULE_MISSING";
|
|
501
|
+
readonly ANALYSIS_RULE_TYPES_NOT_COMPATIBLE: "ANALYSIS_RULE_TYPES_NOT_COMPATIBLE";
|
|
487
502
|
readonly ANALYSIS_TEMPLATES_NOT_CONFIGURED: "ANALYSIS_TEMPLATES_NOT_CONFIGURED";
|
|
503
|
+
readonly COLLABORATION_ANALYSIS_RULE_NOT_CONFIGURED: "COLLABORATION_ANALYSIS_RULE_NOT_CONFIGURED";
|
|
488
504
|
readonly DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED: "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED";
|
|
489
505
|
readonly ID_MAPPING_TABLE_NOT_POPULATED: "ID_MAPPING_TABLE_NOT_POPULATED";
|
|
506
|
+
readonly RESULT_RECEIVERS_NOT_ALLOWED: "RESULT_RECEIVERS_NOT_ALLOWED";
|
|
507
|
+
readonly RESULT_RECEIVERS_NOT_CONFIGURED: "RESULT_RECEIVERS_NOT_CONFIGURED";
|
|
490
508
|
};
|
|
491
509
|
export type SchemaStatusReasonCode =
|
|
492
510
|
(typeof SchemaStatusReasonCode)[keyof typeof SchemaStatusReasonCode];
|
|
@@ -504,6 +522,7 @@ export interface SchemaStatusDetail {
|
|
|
504
522
|
reasons?: SchemaStatusReason[];
|
|
505
523
|
analysisRuleType?: AnalysisRuleType;
|
|
506
524
|
configurations?: SchemaConfiguration[];
|
|
525
|
+
analysisType: AnalysisType | undefined;
|
|
507
526
|
}
|
|
508
527
|
export declare const IdNamespaceType: {
|
|
509
528
|
readonly SOURCE: "SOURCE";
|
|
@@ -1111,6 +1130,13 @@ export interface CreateConfiguredTableAssociationInput {
|
|
|
1111
1130
|
roleArn: string | undefined;
|
|
1112
1131
|
tags?: Record<string, string>;
|
|
1113
1132
|
}
|
|
1133
|
+
export declare const ConfiguredTableAssociationAnalysisRuleType: {
|
|
1134
|
+
readonly AGGREGATION: "AGGREGATION";
|
|
1135
|
+
readonly CUSTOM: "CUSTOM";
|
|
1136
|
+
readonly LIST: "LIST";
|
|
1137
|
+
};
|
|
1138
|
+
export type ConfiguredTableAssociationAnalysisRuleType =
|
|
1139
|
+
(typeof ConfiguredTableAssociationAnalysisRuleType)[keyof typeof ConfiguredTableAssociationAnalysisRuleType];
|
|
1114
1140
|
export interface ConfiguredTableAssociation {
|
|
1115
1141
|
arn: string | undefined;
|
|
1116
1142
|
id: string | undefined;
|
|
@@ -1121,17 +1147,118 @@ export interface ConfiguredTableAssociation {
|
|
|
1121
1147
|
roleArn: string | undefined;
|
|
1122
1148
|
name: string | undefined;
|
|
1123
1149
|
description?: string;
|
|
1150
|
+
analysisRuleTypes?: ConfiguredTableAssociationAnalysisRuleType[];
|
|
1124
1151
|
createTime: Date | undefined;
|
|
1125
1152
|
updateTime: Date | undefined;
|
|
1126
1153
|
}
|
|
1127
1154
|
export interface CreateConfiguredTableAssociationOutput {
|
|
1128
1155
|
configuredTableAssociation: ConfiguredTableAssociation | undefined;
|
|
1129
1156
|
}
|
|
1157
|
+
export interface ConfiguredTableAssociationAnalysisRuleAggregation {
|
|
1158
|
+
allowedResultReceivers?: string[];
|
|
1159
|
+
allowedAdditionalAnalyses?: string[];
|
|
1160
|
+
}
|
|
1161
|
+
export interface ConfiguredTableAssociationAnalysisRuleCustom {
|
|
1162
|
+
allowedResultReceivers?: string[];
|
|
1163
|
+
allowedAdditionalAnalyses?: string[];
|
|
1164
|
+
}
|
|
1165
|
+
export interface ConfiguredTableAssociationAnalysisRuleList {
|
|
1166
|
+
allowedResultReceivers?: string[];
|
|
1167
|
+
allowedAdditionalAnalyses?: string[];
|
|
1168
|
+
}
|
|
1169
|
+
export type ConfiguredTableAssociationAnalysisRulePolicyV1 =
|
|
1170
|
+
| ConfiguredTableAssociationAnalysisRulePolicyV1.AggregationMember
|
|
1171
|
+
| ConfiguredTableAssociationAnalysisRulePolicyV1.CustomMember
|
|
1172
|
+
| ConfiguredTableAssociationAnalysisRulePolicyV1.ListMember
|
|
1173
|
+
| ConfiguredTableAssociationAnalysisRulePolicyV1.$UnknownMember;
|
|
1174
|
+
export declare namespace ConfiguredTableAssociationAnalysisRulePolicyV1 {
|
|
1175
|
+
interface ListMember {
|
|
1176
|
+
list: ConfiguredTableAssociationAnalysisRuleList;
|
|
1177
|
+
aggregation?: never;
|
|
1178
|
+
custom?: never;
|
|
1179
|
+
$unknown?: never;
|
|
1180
|
+
}
|
|
1181
|
+
interface AggregationMember {
|
|
1182
|
+
list?: never;
|
|
1183
|
+
aggregation: ConfiguredTableAssociationAnalysisRuleAggregation;
|
|
1184
|
+
custom?: never;
|
|
1185
|
+
$unknown?: never;
|
|
1186
|
+
}
|
|
1187
|
+
interface CustomMember {
|
|
1188
|
+
list?: never;
|
|
1189
|
+
aggregation?: never;
|
|
1190
|
+
custom: ConfiguredTableAssociationAnalysisRuleCustom;
|
|
1191
|
+
$unknown?: never;
|
|
1192
|
+
}
|
|
1193
|
+
interface $UnknownMember {
|
|
1194
|
+
list?: never;
|
|
1195
|
+
aggregation?: never;
|
|
1196
|
+
custom?: never;
|
|
1197
|
+
$unknown: [string, any];
|
|
1198
|
+
}
|
|
1199
|
+
interface Visitor<T> {
|
|
1200
|
+
list: (value: ConfiguredTableAssociationAnalysisRuleList) => T;
|
|
1201
|
+
aggregation: (
|
|
1202
|
+
value: ConfiguredTableAssociationAnalysisRuleAggregation
|
|
1203
|
+
) => T;
|
|
1204
|
+
custom: (value: ConfiguredTableAssociationAnalysisRuleCustom) => T;
|
|
1205
|
+
_: (name: string, value: any) => T;
|
|
1206
|
+
}
|
|
1207
|
+
const visit: <T>(
|
|
1208
|
+
value: ConfiguredTableAssociationAnalysisRulePolicyV1,
|
|
1209
|
+
visitor: Visitor<T>
|
|
1210
|
+
) => T;
|
|
1211
|
+
}
|
|
1212
|
+
export type ConfiguredTableAssociationAnalysisRulePolicy =
|
|
1213
|
+
| ConfiguredTableAssociationAnalysisRulePolicy.V1Member
|
|
1214
|
+
| ConfiguredTableAssociationAnalysisRulePolicy.$UnknownMember;
|
|
1215
|
+
export declare namespace ConfiguredTableAssociationAnalysisRulePolicy {
|
|
1216
|
+
interface V1Member {
|
|
1217
|
+
v1: ConfiguredTableAssociationAnalysisRulePolicyV1;
|
|
1218
|
+
$unknown?: never;
|
|
1219
|
+
}
|
|
1220
|
+
interface $UnknownMember {
|
|
1221
|
+
v1?: never;
|
|
1222
|
+
$unknown: [string, any];
|
|
1223
|
+
}
|
|
1224
|
+
interface Visitor<T> {
|
|
1225
|
+
v1: (value: ConfiguredTableAssociationAnalysisRulePolicyV1) => T;
|
|
1226
|
+
_: (name: string, value: any) => T;
|
|
1227
|
+
}
|
|
1228
|
+
const visit: <T>(
|
|
1229
|
+
value: ConfiguredTableAssociationAnalysisRulePolicy,
|
|
1230
|
+
visitor: Visitor<T>
|
|
1231
|
+
) => T;
|
|
1232
|
+
}
|
|
1233
|
+
export interface CreateConfiguredTableAssociationAnalysisRuleInput {
|
|
1234
|
+
membershipIdentifier: string | undefined;
|
|
1235
|
+
configuredTableAssociationIdentifier: string | undefined;
|
|
1236
|
+
analysisRuleType: ConfiguredTableAssociationAnalysisRuleType | undefined;
|
|
1237
|
+
analysisRulePolicy: ConfiguredTableAssociationAnalysisRulePolicy | undefined;
|
|
1238
|
+
}
|
|
1239
|
+
export interface ConfiguredTableAssociationAnalysisRule {
|
|
1240
|
+
membershipIdentifier: string | undefined;
|
|
1241
|
+
configuredTableAssociationId: string | undefined;
|
|
1242
|
+
configuredTableAssociationArn: string | undefined;
|
|
1243
|
+
policy: ConfiguredTableAssociationAnalysisRulePolicy | undefined;
|
|
1244
|
+
type: ConfiguredTableAssociationAnalysisRuleType | undefined;
|
|
1245
|
+
createTime: Date | undefined;
|
|
1246
|
+
updateTime: Date | undefined;
|
|
1247
|
+
}
|
|
1248
|
+
export interface CreateConfiguredTableAssociationAnalysisRuleOutput {
|
|
1249
|
+
analysisRule: ConfiguredTableAssociationAnalysisRule | undefined;
|
|
1250
|
+
}
|
|
1130
1251
|
export interface DeleteConfiguredTableAssociationInput {
|
|
1131
1252
|
configuredTableAssociationIdentifier: string | undefined;
|
|
1132
1253
|
membershipIdentifier: string | undefined;
|
|
1133
1254
|
}
|
|
1134
1255
|
export interface DeleteConfiguredTableAssociationOutput {}
|
|
1256
|
+
export interface DeleteConfiguredTableAssociationAnalysisRuleInput {
|
|
1257
|
+
membershipIdentifier: string | undefined;
|
|
1258
|
+
configuredTableAssociationIdentifier: string | undefined;
|
|
1259
|
+
analysisRuleType: ConfiguredTableAssociationAnalysisRuleType | undefined;
|
|
1260
|
+
}
|
|
1261
|
+
export interface DeleteConfiguredTableAssociationAnalysisRuleOutput {}
|
|
1135
1262
|
export interface GetConfiguredTableAssociationInput {
|
|
1136
1263
|
configuredTableAssociationIdentifier: string | undefined;
|
|
1137
1264
|
membershipIdentifier: string | undefined;
|
|
@@ -1139,6 +1266,14 @@ export interface GetConfiguredTableAssociationInput {
|
|
|
1139
1266
|
export interface GetConfiguredTableAssociationOutput {
|
|
1140
1267
|
configuredTableAssociation: ConfiguredTableAssociation | undefined;
|
|
1141
1268
|
}
|
|
1269
|
+
export interface GetConfiguredTableAssociationAnalysisRuleInput {
|
|
1270
|
+
membershipIdentifier: string | undefined;
|
|
1271
|
+
configuredTableAssociationIdentifier: string | undefined;
|
|
1272
|
+
analysisRuleType: ConfiguredTableAssociationAnalysisRuleType | undefined;
|
|
1273
|
+
}
|
|
1274
|
+
export interface GetConfiguredTableAssociationAnalysisRuleOutput {
|
|
1275
|
+
analysisRule: ConfiguredTableAssociationAnalysisRule | undefined;
|
|
1276
|
+
}
|
|
1142
1277
|
export interface ListConfiguredTableAssociationsInput {
|
|
1143
1278
|
membershipIdentifier: string | undefined;
|
|
1144
1279
|
nextToken?: string;
|
|
@@ -1169,6 +1304,15 @@ export interface UpdateConfiguredTableAssociationInput {
|
|
|
1169
1304
|
export interface UpdateConfiguredTableAssociationOutput {
|
|
1170
1305
|
configuredTableAssociation: ConfiguredTableAssociation | undefined;
|
|
1171
1306
|
}
|
|
1307
|
+
export interface UpdateConfiguredTableAssociationAnalysisRuleInput {
|
|
1308
|
+
membershipIdentifier: string | undefined;
|
|
1309
|
+
configuredTableAssociationIdentifier: string | undefined;
|
|
1310
|
+
analysisRuleType: ConfiguredTableAssociationAnalysisRuleType | undefined;
|
|
1311
|
+
analysisRulePolicy: ConfiguredTableAssociationAnalysisRulePolicy | undefined;
|
|
1312
|
+
}
|
|
1313
|
+
export interface UpdateConfiguredTableAssociationAnalysisRuleOutput {
|
|
1314
|
+
analysisRule: ConfiguredTableAssociationAnalysisRule | undefined;
|
|
1315
|
+
}
|
|
1172
1316
|
export interface GlueTableReference {
|
|
1173
1317
|
tableName: string | undefined;
|
|
1174
1318
|
databaseName: string | undefined;
|
|
@@ -1662,20 +1806,32 @@ export declare namespace ProtectedQueryOutput {
|
|
|
1662
1806
|
export interface ProtectedQueryResult {
|
|
1663
1807
|
output: ProtectedQueryOutput | undefined;
|
|
1664
1808
|
}
|
|
1809
|
+
export interface ProtectedQueryMemberOutputConfiguration {
|
|
1810
|
+
accountId: string | undefined;
|
|
1811
|
+
}
|
|
1665
1812
|
export type ProtectedQueryOutputConfiguration =
|
|
1813
|
+
| ProtectedQueryOutputConfiguration.MemberMember
|
|
1666
1814
|
| ProtectedQueryOutputConfiguration.S3Member
|
|
1667
1815
|
| ProtectedQueryOutputConfiguration.$UnknownMember;
|
|
1668
1816
|
export declare namespace ProtectedQueryOutputConfiguration {
|
|
1669
1817
|
interface S3Member {
|
|
1670
1818
|
s3: ProtectedQueryS3OutputConfiguration;
|
|
1819
|
+
member?: never;
|
|
1820
|
+
$unknown?: never;
|
|
1821
|
+
}
|
|
1822
|
+
interface MemberMember {
|
|
1823
|
+
s3?: never;
|
|
1824
|
+
member: ProtectedQueryMemberOutputConfiguration;
|
|
1671
1825
|
$unknown?: never;
|
|
1672
1826
|
}
|
|
1673
1827
|
interface $UnknownMember {
|
|
1674
1828
|
s3?: never;
|
|
1829
|
+
member?: never;
|
|
1675
1830
|
$unknown: [string, any];
|
|
1676
1831
|
}
|
|
1677
1832
|
interface Visitor<T> {
|
|
1678
1833
|
s3: (value: ProtectedQueryS3OutputConfiguration) => T;
|
|
1834
|
+
member: (value: ProtectedQueryMemberOutputConfiguration) => T;
|
|
1679
1835
|
_: (name: string, value: any) => T;
|
|
1680
1836
|
}
|
|
1681
1837
|
const visit: <T>(
|
|
@@ -1773,12 +1929,40 @@ export interface ListProtectedQueriesInput {
|
|
|
1773
1929
|
nextToken?: string;
|
|
1774
1930
|
maxResults?: number;
|
|
1775
1931
|
}
|
|
1932
|
+
export interface DirectAnalysisConfigurationDetails {
|
|
1933
|
+
receiverAccountIds?: string[];
|
|
1934
|
+
}
|
|
1935
|
+
export type ConfigurationDetails =
|
|
1936
|
+
| ConfigurationDetails.DirectAnalysisConfigurationDetailsMember
|
|
1937
|
+
| ConfigurationDetails.$UnknownMember;
|
|
1938
|
+
export declare namespace ConfigurationDetails {
|
|
1939
|
+
interface DirectAnalysisConfigurationDetailsMember {
|
|
1940
|
+
directAnalysisConfigurationDetails: DirectAnalysisConfigurationDetails;
|
|
1941
|
+
$unknown?: never;
|
|
1942
|
+
}
|
|
1943
|
+
interface $UnknownMember {
|
|
1944
|
+
directAnalysisConfigurationDetails?: never;
|
|
1945
|
+
$unknown: [string, any];
|
|
1946
|
+
}
|
|
1947
|
+
interface Visitor<T> {
|
|
1948
|
+
directAnalysisConfigurationDetails: (
|
|
1949
|
+
value: DirectAnalysisConfigurationDetails
|
|
1950
|
+
) => T;
|
|
1951
|
+
_: (name: string, value: any) => T;
|
|
1952
|
+
}
|
|
1953
|
+
const visit: <T>(value: ConfigurationDetails, visitor: Visitor<T>) => T;
|
|
1954
|
+
}
|
|
1955
|
+
export interface ReceiverConfiguration {
|
|
1956
|
+
analysisType: AnalysisType | undefined;
|
|
1957
|
+
configurationDetails?: ConfigurationDetails;
|
|
1958
|
+
}
|
|
1776
1959
|
export interface ProtectedQuerySummary {
|
|
1777
1960
|
id: string | undefined;
|
|
1778
1961
|
membershipId: string | undefined;
|
|
1779
1962
|
membershipArn: string | undefined;
|
|
1780
1963
|
createTime: Date | undefined;
|
|
1781
1964
|
status: ProtectedQueryStatus | undefined;
|
|
1965
|
+
receiverConfigurations: ReceiverConfiguration[] | undefined;
|
|
1782
1966
|
}
|
|
1783
1967
|
export interface ListProtectedQueriesOutput {
|
|
1784
1968
|
nextToken?: string;
|
|
@@ -1875,137 +2059,6 @@ export interface UpdateProtectedQueryInput {
|
|
|
1875
2059
|
protectedQueryIdentifier: string | undefined;
|
|
1876
2060
|
targetStatus: TargetProtectedQueryStatus | undefined;
|
|
1877
2061
|
}
|
|
1878
|
-
export interface UpdateProtectedQueryOutput {
|
|
1879
|
-
protectedQuery: ProtectedQuery | undefined;
|
|
1880
|
-
}
|
|
1881
|
-
export interface DifferentialPrivacyTemplateParametersInput {
|
|
1882
|
-
epsilon: number | undefined;
|
|
1883
|
-
usersNoisePerQuery: number | undefined;
|
|
1884
|
-
}
|
|
1885
|
-
export type PrivacyBudgetTemplateParametersInput =
|
|
1886
|
-
| PrivacyBudgetTemplateParametersInput.DifferentialPrivacyMember
|
|
1887
|
-
| PrivacyBudgetTemplateParametersInput.$UnknownMember;
|
|
1888
|
-
export declare namespace PrivacyBudgetTemplateParametersInput {
|
|
1889
|
-
interface DifferentialPrivacyMember {
|
|
1890
|
-
differentialPrivacy: DifferentialPrivacyTemplateParametersInput;
|
|
1891
|
-
$unknown?: never;
|
|
1892
|
-
}
|
|
1893
|
-
interface $UnknownMember {
|
|
1894
|
-
differentialPrivacy?: never;
|
|
1895
|
-
$unknown: [string, any];
|
|
1896
|
-
}
|
|
1897
|
-
interface Visitor<T> {
|
|
1898
|
-
differentialPrivacy: (
|
|
1899
|
-
value: DifferentialPrivacyTemplateParametersInput
|
|
1900
|
-
) => T;
|
|
1901
|
-
_: (name: string, value: any) => T;
|
|
1902
|
-
}
|
|
1903
|
-
const visit: <T>(
|
|
1904
|
-
value: PrivacyBudgetTemplateParametersInput,
|
|
1905
|
-
visitor: Visitor<T>
|
|
1906
|
-
) => T;
|
|
1907
|
-
}
|
|
1908
|
-
export interface CreatePrivacyBudgetTemplateInput {
|
|
1909
|
-
membershipIdentifier: string | undefined;
|
|
1910
|
-
autoRefresh: PrivacyBudgetTemplateAutoRefresh | undefined;
|
|
1911
|
-
privacyBudgetType: PrivacyBudgetType | undefined;
|
|
1912
|
-
parameters: PrivacyBudgetTemplateParametersInput | undefined;
|
|
1913
|
-
tags?: Record<string, string>;
|
|
1914
|
-
}
|
|
1915
|
-
export interface PrivacyBudgetTemplate {
|
|
1916
|
-
id: string | undefined;
|
|
1917
|
-
arn: string | undefined;
|
|
1918
|
-
membershipId: string | undefined;
|
|
1919
|
-
membershipArn: string | undefined;
|
|
1920
|
-
collaborationId: string | undefined;
|
|
1921
|
-
collaborationArn: string | undefined;
|
|
1922
|
-
createTime: Date | undefined;
|
|
1923
|
-
updateTime: Date | undefined;
|
|
1924
|
-
privacyBudgetType: PrivacyBudgetType | undefined;
|
|
1925
|
-
autoRefresh: PrivacyBudgetTemplateAutoRefresh | undefined;
|
|
1926
|
-
parameters: PrivacyBudgetTemplateParametersOutput | undefined;
|
|
1927
|
-
}
|
|
1928
|
-
export interface CreatePrivacyBudgetTemplateOutput {
|
|
1929
|
-
privacyBudgetTemplate: PrivacyBudgetTemplate | undefined;
|
|
1930
|
-
}
|
|
1931
|
-
export interface DeletePrivacyBudgetTemplateInput {
|
|
1932
|
-
membershipIdentifier: string | undefined;
|
|
1933
|
-
privacyBudgetTemplateIdentifier: string | undefined;
|
|
1934
|
-
}
|
|
1935
|
-
export interface DeletePrivacyBudgetTemplateOutput {}
|
|
1936
|
-
export interface GetPrivacyBudgetTemplateInput {
|
|
1937
|
-
membershipIdentifier: string | undefined;
|
|
1938
|
-
privacyBudgetTemplateIdentifier: string | undefined;
|
|
1939
|
-
}
|
|
1940
|
-
export interface GetPrivacyBudgetTemplateOutput {
|
|
1941
|
-
privacyBudgetTemplate: PrivacyBudgetTemplate | undefined;
|
|
1942
|
-
}
|
|
1943
|
-
export interface ListPrivacyBudgetTemplatesInput {
|
|
1944
|
-
membershipIdentifier: string | undefined;
|
|
1945
|
-
nextToken?: string;
|
|
1946
|
-
maxResults?: number;
|
|
1947
|
-
}
|
|
1948
|
-
export interface PrivacyBudgetTemplateSummary {
|
|
1949
|
-
id: string | undefined;
|
|
1950
|
-
arn: string | undefined;
|
|
1951
|
-
membershipId: string | undefined;
|
|
1952
|
-
membershipArn: string | undefined;
|
|
1953
|
-
collaborationId: string | undefined;
|
|
1954
|
-
collaborationArn: string | undefined;
|
|
1955
|
-
privacyBudgetType: PrivacyBudgetType | undefined;
|
|
1956
|
-
createTime: Date | undefined;
|
|
1957
|
-
updateTime: Date | undefined;
|
|
1958
|
-
}
|
|
1959
|
-
export interface ListPrivacyBudgetTemplatesOutput {
|
|
1960
|
-
nextToken?: string;
|
|
1961
|
-
privacyBudgetTemplateSummaries: PrivacyBudgetTemplateSummary[] | undefined;
|
|
1962
|
-
}
|
|
1963
|
-
export interface DifferentialPrivacyTemplateUpdateParameters {
|
|
1964
|
-
epsilon?: number;
|
|
1965
|
-
usersNoisePerQuery?: number;
|
|
1966
|
-
}
|
|
1967
|
-
export type PrivacyBudgetTemplateUpdateParameters =
|
|
1968
|
-
| PrivacyBudgetTemplateUpdateParameters.DifferentialPrivacyMember
|
|
1969
|
-
| PrivacyBudgetTemplateUpdateParameters.$UnknownMember;
|
|
1970
|
-
export declare namespace PrivacyBudgetTemplateUpdateParameters {
|
|
1971
|
-
interface DifferentialPrivacyMember {
|
|
1972
|
-
differentialPrivacy: DifferentialPrivacyTemplateUpdateParameters;
|
|
1973
|
-
$unknown?: never;
|
|
1974
|
-
}
|
|
1975
|
-
interface $UnknownMember {
|
|
1976
|
-
differentialPrivacy?: never;
|
|
1977
|
-
$unknown: [string, any];
|
|
1978
|
-
}
|
|
1979
|
-
interface Visitor<T> {
|
|
1980
|
-
differentialPrivacy: (
|
|
1981
|
-
value: DifferentialPrivacyTemplateUpdateParameters
|
|
1982
|
-
) => T;
|
|
1983
|
-
_: (name: string, value: any) => T;
|
|
1984
|
-
}
|
|
1985
|
-
const visit: <T>(
|
|
1986
|
-
value: PrivacyBudgetTemplateUpdateParameters,
|
|
1987
|
-
visitor: Visitor<T>
|
|
1988
|
-
) => T;
|
|
1989
|
-
}
|
|
1990
|
-
export interface UpdatePrivacyBudgetTemplateInput {
|
|
1991
|
-
membershipIdentifier: string | undefined;
|
|
1992
|
-
privacyBudgetTemplateIdentifier: string | undefined;
|
|
1993
|
-
privacyBudgetType: PrivacyBudgetType | undefined;
|
|
1994
|
-
parameters?: PrivacyBudgetTemplateUpdateParameters;
|
|
1995
|
-
}
|
|
1996
|
-
export interface UpdatePrivacyBudgetTemplateOutput {
|
|
1997
|
-
privacyBudgetTemplate: PrivacyBudgetTemplate | undefined;
|
|
1998
|
-
}
|
|
1999
|
-
export interface TagResourceInput {
|
|
2000
|
-
resourceArn: string | undefined;
|
|
2001
|
-
tags: Record<string, string> | undefined;
|
|
2002
|
-
}
|
|
2003
|
-
export interface TagResourceOutput {}
|
|
2004
|
-
export interface UntagResourceInput {
|
|
2005
|
-
resourceArn: string | undefined;
|
|
2006
|
-
tagKeys: string[] | undefined;
|
|
2007
|
-
}
|
|
2008
|
-
export interface UntagResourceOutput {}
|
|
2009
2062
|
export declare const AnalysisParameterFilterSensitiveLog: (
|
|
2010
2063
|
obj: AnalysisParameter
|
|
2011
2064
|
) => any;
|
|
@@ -2051,6 +2104,3 @@ export declare const StartProtectedQueryInputFilterSensitiveLog: (
|
|
|
2051
2104
|
export declare const StartProtectedQueryOutputFilterSensitiveLog: (
|
|
2052
2105
|
obj: StartProtectedQueryOutput
|
|
2053
2106
|
) => any;
|
|
2054
|
-
export declare const UpdateProtectedQueryOutputFilterSensitiveLog: (
|
|
2055
|
-
obj: UpdateProtectedQueryOutput
|
|
2056
|
-
) => any;
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import {
|
|
2
|
+
PrivacyBudgetTemplateAutoRefresh,
|
|
3
|
+
PrivacyBudgetTemplateParametersOutput,
|
|
4
|
+
PrivacyBudgetType,
|
|
5
|
+
ProtectedQuery,
|
|
6
|
+
} from "./models_0";
|
|
7
|
+
export interface UpdateProtectedQueryOutput {
|
|
8
|
+
protectedQuery: ProtectedQuery | undefined;
|
|
9
|
+
}
|
|
10
|
+
export interface DifferentialPrivacyTemplateParametersInput {
|
|
11
|
+
epsilon: number | undefined;
|
|
12
|
+
usersNoisePerQuery: number | undefined;
|
|
13
|
+
}
|
|
14
|
+
export type PrivacyBudgetTemplateParametersInput =
|
|
15
|
+
| PrivacyBudgetTemplateParametersInput.DifferentialPrivacyMember
|
|
16
|
+
| PrivacyBudgetTemplateParametersInput.$UnknownMember;
|
|
17
|
+
export declare namespace PrivacyBudgetTemplateParametersInput {
|
|
18
|
+
interface DifferentialPrivacyMember {
|
|
19
|
+
differentialPrivacy: DifferentialPrivacyTemplateParametersInput;
|
|
20
|
+
$unknown?: never;
|
|
21
|
+
}
|
|
22
|
+
interface $UnknownMember {
|
|
23
|
+
differentialPrivacy?: never;
|
|
24
|
+
$unknown: [string, any];
|
|
25
|
+
}
|
|
26
|
+
interface Visitor<T> {
|
|
27
|
+
differentialPrivacy: (
|
|
28
|
+
value: DifferentialPrivacyTemplateParametersInput
|
|
29
|
+
) => T;
|
|
30
|
+
_: (name: string, value: any) => T;
|
|
31
|
+
}
|
|
32
|
+
const visit: <T>(
|
|
33
|
+
value: PrivacyBudgetTemplateParametersInput,
|
|
34
|
+
visitor: Visitor<T>
|
|
35
|
+
) => T;
|
|
36
|
+
}
|
|
37
|
+
export interface CreatePrivacyBudgetTemplateInput {
|
|
38
|
+
membershipIdentifier: string | undefined;
|
|
39
|
+
autoRefresh: PrivacyBudgetTemplateAutoRefresh | undefined;
|
|
40
|
+
privacyBudgetType: PrivacyBudgetType | undefined;
|
|
41
|
+
parameters: PrivacyBudgetTemplateParametersInput | undefined;
|
|
42
|
+
tags?: Record<string, string>;
|
|
43
|
+
}
|
|
44
|
+
export interface PrivacyBudgetTemplate {
|
|
45
|
+
id: string | undefined;
|
|
46
|
+
arn: string | undefined;
|
|
47
|
+
membershipId: string | undefined;
|
|
48
|
+
membershipArn: string | undefined;
|
|
49
|
+
collaborationId: string | undefined;
|
|
50
|
+
collaborationArn: string | undefined;
|
|
51
|
+
createTime: Date | undefined;
|
|
52
|
+
updateTime: Date | undefined;
|
|
53
|
+
privacyBudgetType: PrivacyBudgetType | undefined;
|
|
54
|
+
autoRefresh: PrivacyBudgetTemplateAutoRefresh | undefined;
|
|
55
|
+
parameters: PrivacyBudgetTemplateParametersOutput | undefined;
|
|
56
|
+
}
|
|
57
|
+
export interface CreatePrivacyBudgetTemplateOutput {
|
|
58
|
+
privacyBudgetTemplate: PrivacyBudgetTemplate | undefined;
|
|
59
|
+
}
|
|
60
|
+
export interface DeletePrivacyBudgetTemplateInput {
|
|
61
|
+
membershipIdentifier: string | undefined;
|
|
62
|
+
privacyBudgetTemplateIdentifier: string | undefined;
|
|
63
|
+
}
|
|
64
|
+
export interface DeletePrivacyBudgetTemplateOutput {}
|
|
65
|
+
export interface GetPrivacyBudgetTemplateInput {
|
|
66
|
+
membershipIdentifier: string | undefined;
|
|
67
|
+
privacyBudgetTemplateIdentifier: string | undefined;
|
|
68
|
+
}
|
|
69
|
+
export interface GetPrivacyBudgetTemplateOutput {
|
|
70
|
+
privacyBudgetTemplate: PrivacyBudgetTemplate | undefined;
|
|
71
|
+
}
|
|
72
|
+
export interface ListPrivacyBudgetTemplatesInput {
|
|
73
|
+
membershipIdentifier: string | undefined;
|
|
74
|
+
nextToken?: string;
|
|
75
|
+
maxResults?: number;
|
|
76
|
+
}
|
|
77
|
+
export interface PrivacyBudgetTemplateSummary {
|
|
78
|
+
id: string | undefined;
|
|
79
|
+
arn: string | undefined;
|
|
80
|
+
membershipId: string | undefined;
|
|
81
|
+
membershipArn: string | undefined;
|
|
82
|
+
collaborationId: string | undefined;
|
|
83
|
+
collaborationArn: string | undefined;
|
|
84
|
+
privacyBudgetType: PrivacyBudgetType | undefined;
|
|
85
|
+
createTime: Date | undefined;
|
|
86
|
+
updateTime: Date | undefined;
|
|
87
|
+
}
|
|
88
|
+
export interface ListPrivacyBudgetTemplatesOutput {
|
|
89
|
+
nextToken?: string;
|
|
90
|
+
privacyBudgetTemplateSummaries: PrivacyBudgetTemplateSummary[] | undefined;
|
|
91
|
+
}
|
|
92
|
+
export interface DifferentialPrivacyTemplateUpdateParameters {
|
|
93
|
+
epsilon?: number;
|
|
94
|
+
usersNoisePerQuery?: number;
|
|
95
|
+
}
|
|
96
|
+
export type PrivacyBudgetTemplateUpdateParameters =
|
|
97
|
+
| PrivacyBudgetTemplateUpdateParameters.DifferentialPrivacyMember
|
|
98
|
+
| PrivacyBudgetTemplateUpdateParameters.$UnknownMember;
|
|
99
|
+
export declare namespace PrivacyBudgetTemplateUpdateParameters {
|
|
100
|
+
interface DifferentialPrivacyMember {
|
|
101
|
+
differentialPrivacy: DifferentialPrivacyTemplateUpdateParameters;
|
|
102
|
+
$unknown?: never;
|
|
103
|
+
}
|
|
104
|
+
interface $UnknownMember {
|
|
105
|
+
differentialPrivacy?: never;
|
|
106
|
+
$unknown: [string, any];
|
|
107
|
+
}
|
|
108
|
+
interface Visitor<T> {
|
|
109
|
+
differentialPrivacy: (
|
|
110
|
+
value: DifferentialPrivacyTemplateUpdateParameters
|
|
111
|
+
) => T;
|
|
112
|
+
_: (name: string, value: any) => T;
|
|
113
|
+
}
|
|
114
|
+
const visit: <T>(
|
|
115
|
+
value: PrivacyBudgetTemplateUpdateParameters,
|
|
116
|
+
visitor: Visitor<T>
|
|
117
|
+
) => T;
|
|
118
|
+
}
|
|
119
|
+
export interface UpdatePrivacyBudgetTemplateInput {
|
|
120
|
+
membershipIdentifier: string | undefined;
|
|
121
|
+
privacyBudgetTemplateIdentifier: string | undefined;
|
|
122
|
+
privacyBudgetType: PrivacyBudgetType | undefined;
|
|
123
|
+
parameters?: PrivacyBudgetTemplateUpdateParameters;
|
|
124
|
+
}
|
|
125
|
+
export interface UpdatePrivacyBudgetTemplateOutput {
|
|
126
|
+
privacyBudgetTemplate: PrivacyBudgetTemplate | undefined;
|
|
127
|
+
}
|
|
128
|
+
export interface TagResourceInput {
|
|
129
|
+
resourceArn: string | undefined;
|
|
130
|
+
tags: Record<string, string> | undefined;
|
|
131
|
+
}
|
|
132
|
+
export interface TagResourceOutput {}
|
|
133
|
+
export interface UntagResourceInput {
|
|
134
|
+
resourceArn: string | undefined;
|
|
135
|
+
tagKeys: string[] | undefined;
|
|
136
|
+
}
|
|
137
|
+
export interface UntagResourceOutput {}
|
|
138
|
+
export declare const UpdateProtectedQueryOutputFilterSensitiveLog: (
|
|
139
|
+
obj: UpdateProtectedQueryOutput
|
|
140
|
+
) => any;
|