@aws-sdk/client-cleanrooms 3.540.0 → 3.552.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 +8 -0
- package/dist-cjs/index.js +88 -0
- package/dist-es/CleanRooms.js +2 -0
- package/dist-es/commands/BatchGetSchemaAnalysisRuleCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +24 -0
- package/dist-es/protocols/Aws_restJson1.js +38 -0
- package/dist-types/CleanRooms.d.ts +7 -0
- package/dist-types/CleanRoomsClient.d.ts +3 -2
- package/dist-types/commands/BatchGetSchemaAnalysisRuleCommand.d.ts +156 -0
- package/dist-types/commands/BatchGetSchemaCommand.d.ts +15 -0
- package/dist-types/commands/GetSchemaCommand.d.ts +15 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +172 -3
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/CleanRooms.d.ts +17 -0
- package/dist-types/ts3.4/CleanRoomsClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/BatchGetSchemaAnalysisRuleCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +58 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -226,6 +226,14 @@ BatchGetSchema
|
|
|
226
226
|
|
|
227
227
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cleanrooms/command/BatchGetSchemaCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/BatchGetSchemaCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/BatchGetSchemaCommandOutput/)
|
|
228
228
|
|
|
229
|
+
</details>
|
|
230
|
+
<details>
|
|
231
|
+
<summary>
|
|
232
|
+
BatchGetSchemaAnalysisRule
|
|
233
|
+
</summary>
|
|
234
|
+
|
|
235
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cleanrooms/command/BatchGetSchemaAnalysisRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/BatchGetSchemaAnalysisRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cleanrooms/Interface/BatchGetSchemaAnalysisRuleCommandOutput/)
|
|
236
|
+
|
|
229
237
|
</details>
|
|
230
238
|
<details>
|
|
231
239
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -36,6 +36,7 @@ __export(src_exports, {
|
|
|
36
36
|
AnalysisTemplateFilterSensitiveLog: () => AnalysisTemplateFilterSensitiveLog,
|
|
37
37
|
BatchGetCollaborationAnalysisTemplateCommand: () => BatchGetCollaborationAnalysisTemplateCommand,
|
|
38
38
|
BatchGetCollaborationAnalysisTemplateOutputFilterSensitiveLog: () => BatchGetCollaborationAnalysisTemplateOutputFilterSensitiveLog,
|
|
39
|
+
BatchGetSchemaAnalysisRuleCommand: () => BatchGetSchemaAnalysisRuleCommand,
|
|
39
40
|
BatchGetSchemaCommand: () => BatchGetSchemaCommand,
|
|
40
41
|
CleanRooms: () => CleanRooms,
|
|
41
42
|
CleanRoomsClient: () => CleanRoomsClient,
|
|
@@ -129,6 +130,9 @@ __export(src_exports, {
|
|
|
129
130
|
ResourceType: () => ResourceType,
|
|
130
131
|
ResultFormat: () => ResultFormat,
|
|
131
132
|
ScalarFunctions: () => ScalarFunctions,
|
|
133
|
+
SchemaConfiguration: () => SchemaConfiguration,
|
|
134
|
+
SchemaStatus: () => SchemaStatus,
|
|
135
|
+
SchemaStatusReasonCode: () => SchemaStatusReasonCode,
|
|
132
136
|
SchemaType: () => SchemaType,
|
|
133
137
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
134
138
|
StartProtectedQueryCommand: () => StartProtectedQueryCommand,
|
|
@@ -407,13 +411,24 @@ var ScalarFunctions = {
|
|
|
407
411
|
CAST: "CAST",
|
|
408
412
|
CEILING: "CEILING",
|
|
409
413
|
COALESCE: "COALESCE",
|
|
414
|
+
CONVERT: "CONVERT",
|
|
415
|
+
CURRENT_DATE: "CURRENT_DATE",
|
|
416
|
+
DATEADD: "DATEADD",
|
|
417
|
+
EXTRACT: "EXTRACT",
|
|
410
418
|
FLOOR: "FLOOR",
|
|
419
|
+
GETDATE: "GETDATE",
|
|
411
420
|
LN: "LN",
|
|
412
421
|
LOG: "LOG",
|
|
413
422
|
LOWER: "LOWER",
|
|
414
423
|
ROUND: "ROUND",
|
|
415
424
|
RTRIM: "RTRIM",
|
|
416
425
|
SQRT: "SQRT",
|
|
426
|
+
SUBSTRING: "SUBSTRING",
|
|
427
|
+
TO_CHAR: "TO_CHAR",
|
|
428
|
+
TO_DATE: "TO_DATE",
|
|
429
|
+
TO_NUMBER: "TO_NUMBER",
|
|
430
|
+
TO_TIMESTAMP: "TO_TIMESTAMP",
|
|
431
|
+
TRIM: "TRIM",
|
|
417
432
|
TRUNC: "TRUNC",
|
|
418
433
|
UPPER: "UPPER"
|
|
419
434
|
};
|
|
@@ -578,6 +593,19 @@ var _ValidationException = class _ValidationException extends CleanRoomsServiceE
|
|
|
578
593
|
};
|
|
579
594
|
__name(_ValidationException, "ValidationException");
|
|
580
595
|
var ValidationException = _ValidationException;
|
|
596
|
+
var SchemaConfiguration = {
|
|
597
|
+
DIFFERENTIAL_PRIVACY: "DIFFERENTIAL_PRIVACY"
|
|
598
|
+
};
|
|
599
|
+
var SchemaStatusReasonCode = {
|
|
600
|
+
ANALYSIS_PROVIDERS_NOT_CONFIGURED: "ANALYSIS_PROVIDERS_NOT_CONFIGURED",
|
|
601
|
+
ANALYSIS_RULE_MISSING: "ANALYSIS_RULE_MISSING",
|
|
602
|
+
ANALYSIS_TEMPLATES_NOT_CONFIGURED: "ANALYSIS_TEMPLATES_NOT_CONFIGURED",
|
|
603
|
+
DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED: "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED"
|
|
604
|
+
};
|
|
605
|
+
var SchemaStatus = {
|
|
606
|
+
NOT_READY: "NOT_READY",
|
|
607
|
+
READY: "READY"
|
|
608
|
+
};
|
|
581
609
|
var SchemaType = {
|
|
582
610
|
TABLE: "TABLE"
|
|
583
611
|
};
|
|
@@ -861,6 +889,22 @@ var se_BatchGetSchemaCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
861
889
|
b.m("POST").h(headers).b(body);
|
|
862
890
|
return b.build();
|
|
863
891
|
}, "se_BatchGetSchemaCommand");
|
|
892
|
+
var se_BatchGetSchemaAnalysisRuleCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
893
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
894
|
+
const headers = {
|
|
895
|
+
"content-type": "application/json"
|
|
896
|
+
};
|
|
897
|
+
b.bp("/collaborations/{collaborationIdentifier}/batch-schema-analysis-rule");
|
|
898
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
899
|
+
let body;
|
|
900
|
+
body = JSON.stringify(
|
|
901
|
+
(0, import_smithy_client.take)(input, {
|
|
902
|
+
schemaAnalysisRuleRequests: (_) => (0, import_smithy_client._json)(_)
|
|
903
|
+
})
|
|
904
|
+
);
|
|
905
|
+
b.m("POST").h(headers).b(body);
|
|
906
|
+
return b.build();
|
|
907
|
+
}, "se_BatchGetSchemaAnalysisRuleCommand");
|
|
864
908
|
var se_CreateAnalysisTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
865
909
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
866
910
|
const headers = {
|
|
@@ -1766,6 +1810,21 @@ var de_BatchGetSchemaCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
1766
1810
|
Object.assign(contents, doc);
|
|
1767
1811
|
return contents;
|
|
1768
1812
|
}, "de_BatchGetSchemaCommand");
|
|
1813
|
+
var de_BatchGetSchemaAnalysisRuleCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1814
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1815
|
+
return de_CommandError(output, context);
|
|
1816
|
+
}
|
|
1817
|
+
const contents = (0, import_smithy_client.map)({
|
|
1818
|
+
$metadata: deserializeMetadata(output)
|
|
1819
|
+
});
|
|
1820
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1821
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1822
|
+
analysisRules: (_) => de_SchemaAnalysisRuleList(_, context),
|
|
1823
|
+
errors: import_smithy_client._json
|
|
1824
|
+
});
|
|
1825
|
+
Object.assign(contents, doc);
|
|
1826
|
+
return contents;
|
|
1827
|
+
}, "de_BatchGetSchemaAnalysisRuleCommand");
|
|
1769
1828
|
var de_CreateAnalysisTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1770
1829
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1771
1830
|
return de_CommandError(output, context);
|
|
@@ -3215,10 +3274,17 @@ var de_Schema = /* @__PURE__ */ __name((output, context) => {
|
|
|
3215
3274
|
description: import_smithy_client.expectString,
|
|
3216
3275
|
name: import_smithy_client.expectString,
|
|
3217
3276
|
partitionKeys: import_smithy_client._json,
|
|
3277
|
+
schemaStatusDetails: import_smithy_client._json,
|
|
3218
3278
|
type: import_smithy_client.expectString,
|
|
3219
3279
|
updateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3220
3280
|
});
|
|
3221
3281
|
}, "de_Schema");
|
|
3282
|
+
var de_SchemaAnalysisRuleList = /* @__PURE__ */ __name((output, context) => {
|
|
3283
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3284
|
+
return de_AnalysisRule(entry, context);
|
|
3285
|
+
});
|
|
3286
|
+
return retVal;
|
|
3287
|
+
}, "de_SchemaAnalysisRuleList");
|
|
3222
3288
|
var de_SchemaList = /* @__PURE__ */ __name((output, context) => {
|
|
3223
3289
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3224
3290
|
return de_Schema(entry, context);
|
|
@@ -3271,6 +3337,23 @@ var _BatchGetCollaborationAnalysisTemplateCommand = class _BatchGetCollaboration
|
|
|
3271
3337
|
__name(_BatchGetCollaborationAnalysisTemplateCommand, "BatchGetCollaborationAnalysisTemplateCommand");
|
|
3272
3338
|
var BatchGetCollaborationAnalysisTemplateCommand = _BatchGetCollaborationAnalysisTemplateCommand;
|
|
3273
3339
|
|
|
3340
|
+
// src/commands/BatchGetSchemaAnalysisRuleCommand.ts
|
|
3341
|
+
|
|
3342
|
+
|
|
3343
|
+
|
|
3344
|
+
|
|
3345
|
+
var _BatchGetSchemaAnalysisRuleCommand = class _BatchGetSchemaAnalysisRuleCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
3346
|
+
...commonParams
|
|
3347
|
+
}).m(function(Command, cs, config, o) {
|
|
3348
|
+
return [
|
|
3349
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3350
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3351
|
+
];
|
|
3352
|
+
}).s("AWSBastionControlPlaneServiceLambda", "BatchGetSchemaAnalysisRule", {}).n("CleanRoomsClient", "BatchGetSchemaAnalysisRuleCommand").f(void 0, void 0).ser(se_BatchGetSchemaAnalysisRuleCommand).de(de_BatchGetSchemaAnalysisRuleCommand).build() {
|
|
3353
|
+
};
|
|
3354
|
+
__name(_BatchGetSchemaAnalysisRuleCommand, "BatchGetSchemaAnalysisRuleCommand");
|
|
3355
|
+
var BatchGetSchemaAnalysisRuleCommand = _BatchGetSchemaAnalysisRuleCommand;
|
|
3356
|
+
|
|
3274
3357
|
// src/commands/BatchGetSchemaCommand.ts
|
|
3275
3358
|
|
|
3276
3359
|
|
|
@@ -4312,6 +4395,7 @@ var UpdateProtectedQueryCommand = _UpdateProtectedQueryCommand;
|
|
|
4312
4395
|
var commands = {
|
|
4313
4396
|
BatchGetCollaborationAnalysisTemplateCommand,
|
|
4314
4397
|
BatchGetSchemaCommand,
|
|
4398
|
+
BatchGetSchemaAnalysisRuleCommand,
|
|
4315
4399
|
CreateAnalysisTemplateCommand,
|
|
4316
4400
|
CreateCollaborationCommand,
|
|
4317
4401
|
CreateConfiguredAudienceModelAssociationCommand,
|
|
@@ -4453,6 +4537,7 @@ var paginateListSchemas = (0, import_core.createPaginator)(CleanRoomsClient, Lis
|
|
|
4453
4537
|
CleanRooms,
|
|
4454
4538
|
$Command,
|
|
4455
4539
|
BatchGetCollaborationAnalysisTemplateCommand,
|
|
4540
|
+
BatchGetSchemaAnalysisRuleCommand,
|
|
4456
4541
|
BatchGetSchemaCommand,
|
|
4457
4542
|
CreateAnalysisTemplateCommand,
|
|
4458
4543
|
CreateCollaborationCommand,
|
|
@@ -4552,6 +4637,9 @@ var paginateListSchemas = (0, import_core.createPaginator)(CleanRoomsClient, Lis
|
|
|
4552
4637
|
ThrottlingException,
|
|
4553
4638
|
ValidationExceptionReason,
|
|
4554
4639
|
ValidationException,
|
|
4640
|
+
SchemaConfiguration,
|
|
4641
|
+
SchemaStatusReasonCode,
|
|
4642
|
+
SchemaStatus,
|
|
4555
4643
|
SchemaType,
|
|
4556
4644
|
MemberAbility,
|
|
4557
4645
|
CollaborationQueryLogStatus,
|
package/dist-es/CleanRooms.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { CleanRoomsClient } from "./CleanRoomsClient";
|
|
3
3
|
import { BatchGetCollaborationAnalysisTemplateCommand, } from "./commands/BatchGetCollaborationAnalysisTemplateCommand";
|
|
4
|
+
import { BatchGetSchemaAnalysisRuleCommand, } from "./commands/BatchGetSchemaAnalysisRuleCommand";
|
|
4
5
|
import { BatchGetSchemaCommand, } from "./commands/BatchGetSchemaCommand";
|
|
5
6
|
import { CreateAnalysisTemplateCommand, } from "./commands/CreateAnalysisTemplateCommand";
|
|
6
7
|
import { CreateCollaborationCommand, } from "./commands/CreateCollaborationCommand";
|
|
@@ -65,6 +66,7 @@ import { UpdateProtectedQueryCommand, } from "./commands/UpdateProtectedQueryCom
|
|
|
65
66
|
const commands = {
|
|
66
67
|
BatchGetCollaborationAnalysisTemplateCommand,
|
|
67
68
|
BatchGetSchemaCommand,
|
|
69
|
+
BatchGetSchemaAnalysisRuleCommand,
|
|
68
70
|
CreateAnalysisTemplateCommand,
|
|
69
71
|
CreateCollaborationCommand,
|
|
70
72
|
CreateConfiguredAudienceModelAssociationCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_BatchGetSchemaAnalysisRuleCommand, se_BatchGetSchemaAnalysisRuleCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class BatchGetSchemaAnalysisRuleCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("AWSBastionControlPlaneServiceLambda", "BatchGetSchemaAnalysisRule", {})
|
|
19
|
+
.n("CleanRoomsClient", "BatchGetSchemaAnalysisRuleCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_BatchGetSchemaAnalysisRuleCommand)
|
|
22
|
+
.de(de_BatchGetSchemaAnalysisRuleCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -61,13 +61,24 @@ export const ScalarFunctions = {
|
|
|
61
61
|
CAST: "CAST",
|
|
62
62
|
CEILING: "CEILING",
|
|
63
63
|
COALESCE: "COALESCE",
|
|
64
|
+
CONVERT: "CONVERT",
|
|
65
|
+
CURRENT_DATE: "CURRENT_DATE",
|
|
66
|
+
DATEADD: "DATEADD",
|
|
67
|
+
EXTRACT: "EXTRACT",
|
|
64
68
|
FLOOR: "FLOOR",
|
|
69
|
+
GETDATE: "GETDATE",
|
|
65
70
|
LN: "LN",
|
|
66
71
|
LOG: "LOG",
|
|
67
72
|
LOWER: "LOWER",
|
|
68
73
|
ROUND: "ROUND",
|
|
69
74
|
RTRIM: "RTRIM",
|
|
70
75
|
SQRT: "SQRT",
|
|
76
|
+
SUBSTRING: "SUBSTRING",
|
|
77
|
+
TO_CHAR: "TO_CHAR",
|
|
78
|
+
TO_DATE: "TO_DATE",
|
|
79
|
+
TO_NUMBER: "TO_NUMBER",
|
|
80
|
+
TO_TIMESTAMP: "TO_TIMESTAMP",
|
|
81
|
+
TRIM: "TRIM",
|
|
71
82
|
TRUNC: "TRUNC",
|
|
72
83
|
UPPER: "UPPER",
|
|
73
84
|
};
|
|
@@ -202,6 +213,19 @@ export class ValidationException extends __BaseException {
|
|
|
202
213
|
this.fieldList = opts.fieldList;
|
|
203
214
|
}
|
|
204
215
|
}
|
|
216
|
+
export const SchemaConfiguration = {
|
|
217
|
+
DIFFERENTIAL_PRIVACY: "DIFFERENTIAL_PRIVACY",
|
|
218
|
+
};
|
|
219
|
+
export const SchemaStatusReasonCode = {
|
|
220
|
+
ANALYSIS_PROVIDERS_NOT_CONFIGURED: "ANALYSIS_PROVIDERS_NOT_CONFIGURED",
|
|
221
|
+
ANALYSIS_RULE_MISSING: "ANALYSIS_RULE_MISSING",
|
|
222
|
+
ANALYSIS_TEMPLATES_NOT_CONFIGURED: "ANALYSIS_TEMPLATES_NOT_CONFIGURED",
|
|
223
|
+
DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED: "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED",
|
|
224
|
+
};
|
|
225
|
+
export const SchemaStatus = {
|
|
226
|
+
NOT_READY: "NOT_READY",
|
|
227
|
+
READY: "READY",
|
|
228
|
+
};
|
|
205
229
|
export const SchemaType = {
|
|
206
230
|
TABLE: "TABLE",
|
|
207
231
|
};
|
|
@@ -31,6 +31,20 @@ export const se_BatchGetSchemaCommand = async (input, context) => {
|
|
|
31
31
|
b.m("POST").h(headers).b(body);
|
|
32
32
|
return b.build();
|
|
33
33
|
};
|
|
34
|
+
export const se_BatchGetSchemaAnalysisRuleCommand = async (input, context) => {
|
|
35
|
+
const b = rb(input, context);
|
|
36
|
+
const headers = {
|
|
37
|
+
"content-type": "application/json",
|
|
38
|
+
};
|
|
39
|
+
b.bp("/collaborations/{collaborationIdentifier}/batch-schema-analysis-rule");
|
|
40
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
41
|
+
let body;
|
|
42
|
+
body = JSON.stringify(take(input, {
|
|
43
|
+
schemaAnalysisRuleRequests: (_) => _json(_),
|
|
44
|
+
}));
|
|
45
|
+
b.m("POST").h(headers).b(body);
|
|
46
|
+
return b.build();
|
|
47
|
+
};
|
|
34
48
|
export const se_CreateAnalysisTemplateCommand = async (input, context) => {
|
|
35
49
|
const b = rb(input, context);
|
|
36
50
|
const headers = {
|
|
@@ -833,6 +847,21 @@ export const de_BatchGetSchemaCommand = async (output, context) => {
|
|
|
833
847
|
Object.assign(contents, doc);
|
|
834
848
|
return contents;
|
|
835
849
|
};
|
|
850
|
+
export const de_BatchGetSchemaAnalysisRuleCommand = async (output, context) => {
|
|
851
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
852
|
+
return de_CommandError(output, context);
|
|
853
|
+
}
|
|
854
|
+
const contents = map({
|
|
855
|
+
$metadata: deserializeMetadata(output),
|
|
856
|
+
});
|
|
857
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
858
|
+
const doc = take(data, {
|
|
859
|
+
analysisRules: (_) => de_SchemaAnalysisRuleList(_, context),
|
|
860
|
+
errors: _json,
|
|
861
|
+
});
|
|
862
|
+
Object.assign(contents, doc);
|
|
863
|
+
return contents;
|
|
864
|
+
};
|
|
836
865
|
export const de_CreateAnalysisTemplateCommand = async (output, context) => {
|
|
837
866
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
838
867
|
return de_CommandError(output, context);
|
|
@@ -2314,10 +2343,19 @@ const de_Schema = (output, context) => {
|
|
|
2314
2343
|
description: __expectString,
|
|
2315
2344
|
name: __expectString,
|
|
2316
2345
|
partitionKeys: _json,
|
|
2346
|
+
schemaStatusDetails: _json,
|
|
2317
2347
|
type: __expectString,
|
|
2318
2348
|
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2319
2349
|
});
|
|
2320
2350
|
};
|
|
2351
|
+
const de_SchemaAnalysisRuleList = (output, context) => {
|
|
2352
|
+
const retVal = (output || [])
|
|
2353
|
+
.filter((e) => e != null)
|
|
2354
|
+
.map((entry) => {
|
|
2355
|
+
return de_AnalysisRule(entry, context);
|
|
2356
|
+
});
|
|
2357
|
+
return retVal;
|
|
2358
|
+
};
|
|
2321
2359
|
const de_SchemaList = (output, context) => {
|
|
2322
2360
|
const retVal = (output || [])
|
|
2323
2361
|
.filter((e) => e != null)
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
2
|
import { CleanRoomsClient } from "./CleanRoomsClient";
|
|
3
3
|
import { BatchGetCollaborationAnalysisTemplateCommandInput, BatchGetCollaborationAnalysisTemplateCommandOutput } from "./commands/BatchGetCollaborationAnalysisTemplateCommand";
|
|
4
|
+
import { BatchGetSchemaAnalysisRuleCommandInput, BatchGetSchemaAnalysisRuleCommandOutput } from "./commands/BatchGetSchemaAnalysisRuleCommand";
|
|
4
5
|
import { BatchGetSchemaCommandInput, BatchGetSchemaCommandOutput } from "./commands/BatchGetSchemaCommand";
|
|
5
6
|
import { CreateAnalysisTemplateCommandInput, CreateAnalysisTemplateCommandOutput } from "./commands/CreateAnalysisTemplateCommand";
|
|
6
7
|
import { CreateCollaborationCommandInput, CreateCollaborationCommandOutput } from "./commands/CreateCollaborationCommand";
|
|
@@ -75,6 +76,12 @@ export interface CleanRooms {
|
|
|
75
76
|
batchGetSchema(args: BatchGetSchemaCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetSchemaCommandOutput>;
|
|
76
77
|
batchGetSchema(args: BatchGetSchemaCommandInput, cb: (err: any, data?: BatchGetSchemaCommandOutput) => void): void;
|
|
77
78
|
batchGetSchema(args: BatchGetSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetSchemaCommandOutput) => void): void;
|
|
79
|
+
/**
|
|
80
|
+
* @see {@link BatchGetSchemaAnalysisRuleCommand}
|
|
81
|
+
*/
|
|
82
|
+
batchGetSchemaAnalysisRule(args: BatchGetSchemaAnalysisRuleCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetSchemaAnalysisRuleCommandOutput>;
|
|
83
|
+
batchGetSchemaAnalysisRule(args: BatchGetSchemaAnalysisRuleCommandInput, cb: (err: any, data?: BatchGetSchemaAnalysisRuleCommandOutput) => void): void;
|
|
84
|
+
batchGetSchemaAnalysisRule(args: BatchGetSchemaAnalysisRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetSchemaAnalysisRuleCommandOutput) => void): void;
|
|
78
85
|
/**
|
|
79
86
|
* @see {@link CreateAnalysisTemplateCommand}
|
|
80
87
|
*/
|
|
@@ -8,6 +8,7 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
|
|
|
8
8
|
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { BatchGetCollaborationAnalysisTemplateCommandInput, BatchGetCollaborationAnalysisTemplateCommandOutput } from "./commands/BatchGetCollaborationAnalysisTemplateCommand";
|
|
11
|
+
import { BatchGetSchemaAnalysisRuleCommandInput, BatchGetSchemaAnalysisRuleCommandOutput } from "./commands/BatchGetSchemaAnalysisRuleCommand";
|
|
11
12
|
import { BatchGetSchemaCommandInput, BatchGetSchemaCommandOutput } from "./commands/BatchGetSchemaCommand";
|
|
12
13
|
import { CreateAnalysisTemplateCommandInput, CreateAnalysisTemplateCommandOutput } from "./commands/CreateAnalysisTemplateCommand";
|
|
13
14
|
import { CreateCollaborationCommandInput, CreateCollaborationCommandOutput } from "./commands/CreateCollaborationCommand";
|
|
@@ -75,11 +76,11 @@ export { __Client };
|
|
|
75
76
|
/**
|
|
76
77
|
* @public
|
|
77
78
|
*/
|
|
78
|
-
export type ServiceInputTypes = BatchGetCollaborationAnalysisTemplateCommandInput | BatchGetSchemaCommandInput | CreateAnalysisTemplateCommandInput | CreateCollaborationCommandInput | CreateConfiguredAudienceModelAssociationCommandInput | CreateConfiguredTableAnalysisRuleCommandInput | CreateConfiguredTableAssociationCommandInput | CreateConfiguredTableCommandInput | CreateMembershipCommandInput | CreatePrivacyBudgetTemplateCommandInput | DeleteAnalysisTemplateCommandInput | DeleteCollaborationCommandInput | DeleteConfiguredAudienceModelAssociationCommandInput | DeleteConfiguredTableAnalysisRuleCommandInput | DeleteConfiguredTableAssociationCommandInput | DeleteConfiguredTableCommandInput | DeleteMemberCommandInput | DeleteMembershipCommandInput | DeletePrivacyBudgetTemplateCommandInput | GetAnalysisTemplateCommandInput | GetCollaborationAnalysisTemplateCommandInput | GetCollaborationCommandInput | GetCollaborationConfiguredAudienceModelAssociationCommandInput | GetCollaborationPrivacyBudgetTemplateCommandInput | GetConfiguredAudienceModelAssociationCommandInput | GetConfiguredTableAnalysisRuleCommandInput | GetConfiguredTableAssociationCommandInput | GetConfiguredTableCommandInput | GetMembershipCommandInput | GetPrivacyBudgetTemplateCommandInput | GetProtectedQueryCommandInput | GetSchemaAnalysisRuleCommandInput | GetSchemaCommandInput | ListAnalysisTemplatesCommandInput | ListCollaborationAnalysisTemplatesCommandInput | ListCollaborationConfiguredAudienceModelAssociationsCommandInput | ListCollaborationPrivacyBudgetTemplatesCommandInput | ListCollaborationPrivacyBudgetsCommandInput | ListCollaborationsCommandInput | ListConfiguredAudienceModelAssociationsCommandInput | ListConfiguredTableAssociationsCommandInput | ListConfiguredTablesCommandInput | ListMembersCommandInput | ListMembershipsCommandInput | ListPrivacyBudgetTemplatesCommandInput | ListPrivacyBudgetsCommandInput | ListProtectedQueriesCommandInput | ListSchemasCommandInput | ListTagsForResourceCommandInput | PreviewPrivacyImpactCommandInput | StartProtectedQueryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnalysisTemplateCommandInput | UpdateCollaborationCommandInput | UpdateConfiguredAudienceModelAssociationCommandInput | UpdateConfiguredTableAnalysisRuleCommandInput | UpdateConfiguredTableAssociationCommandInput | UpdateConfiguredTableCommandInput | UpdateMembershipCommandInput | UpdatePrivacyBudgetTemplateCommandInput | UpdateProtectedQueryCommandInput;
|
|
79
|
+
export type ServiceInputTypes = BatchGetCollaborationAnalysisTemplateCommandInput | BatchGetSchemaAnalysisRuleCommandInput | BatchGetSchemaCommandInput | CreateAnalysisTemplateCommandInput | CreateCollaborationCommandInput | CreateConfiguredAudienceModelAssociationCommandInput | CreateConfiguredTableAnalysisRuleCommandInput | CreateConfiguredTableAssociationCommandInput | CreateConfiguredTableCommandInput | CreateMembershipCommandInput | CreatePrivacyBudgetTemplateCommandInput | DeleteAnalysisTemplateCommandInput | DeleteCollaborationCommandInput | DeleteConfiguredAudienceModelAssociationCommandInput | DeleteConfiguredTableAnalysisRuleCommandInput | DeleteConfiguredTableAssociationCommandInput | DeleteConfiguredTableCommandInput | DeleteMemberCommandInput | DeleteMembershipCommandInput | DeletePrivacyBudgetTemplateCommandInput | GetAnalysisTemplateCommandInput | GetCollaborationAnalysisTemplateCommandInput | GetCollaborationCommandInput | GetCollaborationConfiguredAudienceModelAssociationCommandInput | GetCollaborationPrivacyBudgetTemplateCommandInput | GetConfiguredAudienceModelAssociationCommandInput | GetConfiguredTableAnalysisRuleCommandInput | GetConfiguredTableAssociationCommandInput | GetConfiguredTableCommandInput | GetMembershipCommandInput | GetPrivacyBudgetTemplateCommandInput | GetProtectedQueryCommandInput | GetSchemaAnalysisRuleCommandInput | GetSchemaCommandInput | ListAnalysisTemplatesCommandInput | ListCollaborationAnalysisTemplatesCommandInput | ListCollaborationConfiguredAudienceModelAssociationsCommandInput | ListCollaborationPrivacyBudgetTemplatesCommandInput | ListCollaborationPrivacyBudgetsCommandInput | ListCollaborationsCommandInput | ListConfiguredAudienceModelAssociationsCommandInput | ListConfiguredTableAssociationsCommandInput | ListConfiguredTablesCommandInput | ListMembersCommandInput | ListMembershipsCommandInput | ListPrivacyBudgetTemplatesCommandInput | ListPrivacyBudgetsCommandInput | ListProtectedQueriesCommandInput | ListSchemasCommandInput | ListTagsForResourceCommandInput | PreviewPrivacyImpactCommandInput | StartProtectedQueryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnalysisTemplateCommandInput | UpdateCollaborationCommandInput | UpdateConfiguredAudienceModelAssociationCommandInput | UpdateConfiguredTableAnalysisRuleCommandInput | UpdateConfiguredTableAssociationCommandInput | UpdateConfiguredTableCommandInput | UpdateMembershipCommandInput | UpdatePrivacyBudgetTemplateCommandInput | UpdateProtectedQueryCommandInput;
|
|
79
80
|
/**
|
|
80
81
|
* @public
|
|
81
82
|
*/
|
|
82
|
-
export type ServiceOutputTypes = BatchGetCollaborationAnalysisTemplateCommandOutput | BatchGetSchemaCommandOutput | CreateAnalysisTemplateCommandOutput | CreateCollaborationCommandOutput | CreateConfiguredAudienceModelAssociationCommandOutput | CreateConfiguredTableAnalysisRuleCommandOutput | CreateConfiguredTableAssociationCommandOutput | CreateConfiguredTableCommandOutput | CreateMembershipCommandOutput | CreatePrivacyBudgetTemplateCommandOutput | DeleteAnalysisTemplateCommandOutput | DeleteCollaborationCommandOutput | DeleteConfiguredAudienceModelAssociationCommandOutput | DeleteConfiguredTableAnalysisRuleCommandOutput | DeleteConfiguredTableAssociationCommandOutput | DeleteConfiguredTableCommandOutput | DeleteMemberCommandOutput | DeleteMembershipCommandOutput | DeletePrivacyBudgetTemplateCommandOutput | GetAnalysisTemplateCommandOutput | GetCollaborationAnalysisTemplateCommandOutput | GetCollaborationCommandOutput | GetCollaborationConfiguredAudienceModelAssociationCommandOutput | GetCollaborationPrivacyBudgetTemplateCommandOutput | GetConfiguredAudienceModelAssociationCommandOutput | GetConfiguredTableAnalysisRuleCommandOutput | GetConfiguredTableAssociationCommandOutput | GetConfiguredTableCommandOutput | GetMembershipCommandOutput | GetPrivacyBudgetTemplateCommandOutput | GetProtectedQueryCommandOutput | GetSchemaAnalysisRuleCommandOutput | GetSchemaCommandOutput | ListAnalysisTemplatesCommandOutput | ListCollaborationAnalysisTemplatesCommandOutput | ListCollaborationConfiguredAudienceModelAssociationsCommandOutput | ListCollaborationPrivacyBudgetTemplatesCommandOutput | ListCollaborationPrivacyBudgetsCommandOutput | ListCollaborationsCommandOutput | ListConfiguredAudienceModelAssociationsCommandOutput | ListConfiguredTableAssociationsCommandOutput | ListConfiguredTablesCommandOutput | ListMembersCommandOutput | ListMembershipsCommandOutput | ListPrivacyBudgetTemplatesCommandOutput | ListPrivacyBudgetsCommandOutput | ListProtectedQueriesCommandOutput | ListSchemasCommandOutput | ListTagsForResourceCommandOutput | PreviewPrivacyImpactCommandOutput | StartProtectedQueryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnalysisTemplateCommandOutput | UpdateCollaborationCommandOutput | UpdateConfiguredAudienceModelAssociationCommandOutput | UpdateConfiguredTableAnalysisRuleCommandOutput | UpdateConfiguredTableAssociationCommandOutput | UpdateConfiguredTableCommandOutput | UpdateMembershipCommandOutput | UpdatePrivacyBudgetTemplateCommandOutput | UpdateProtectedQueryCommandOutput;
|
|
83
|
+
export type ServiceOutputTypes = BatchGetCollaborationAnalysisTemplateCommandOutput | BatchGetSchemaAnalysisRuleCommandOutput | BatchGetSchemaCommandOutput | CreateAnalysisTemplateCommandOutput | CreateCollaborationCommandOutput | CreateConfiguredAudienceModelAssociationCommandOutput | CreateConfiguredTableAnalysisRuleCommandOutput | CreateConfiguredTableAssociationCommandOutput | CreateConfiguredTableCommandOutput | CreateMembershipCommandOutput | CreatePrivacyBudgetTemplateCommandOutput | DeleteAnalysisTemplateCommandOutput | DeleteCollaborationCommandOutput | DeleteConfiguredAudienceModelAssociationCommandOutput | DeleteConfiguredTableAnalysisRuleCommandOutput | DeleteConfiguredTableAssociationCommandOutput | DeleteConfiguredTableCommandOutput | DeleteMemberCommandOutput | DeleteMembershipCommandOutput | DeletePrivacyBudgetTemplateCommandOutput | GetAnalysisTemplateCommandOutput | GetCollaborationAnalysisTemplateCommandOutput | GetCollaborationCommandOutput | GetCollaborationConfiguredAudienceModelAssociationCommandOutput | GetCollaborationPrivacyBudgetTemplateCommandOutput | GetConfiguredAudienceModelAssociationCommandOutput | GetConfiguredTableAnalysisRuleCommandOutput | GetConfiguredTableAssociationCommandOutput | GetConfiguredTableCommandOutput | GetMembershipCommandOutput | GetPrivacyBudgetTemplateCommandOutput | GetProtectedQueryCommandOutput | GetSchemaAnalysisRuleCommandOutput | GetSchemaCommandOutput | ListAnalysisTemplatesCommandOutput | ListCollaborationAnalysisTemplatesCommandOutput | ListCollaborationConfiguredAudienceModelAssociationsCommandOutput | ListCollaborationPrivacyBudgetTemplatesCommandOutput | ListCollaborationPrivacyBudgetsCommandOutput | ListCollaborationsCommandOutput | ListConfiguredAudienceModelAssociationsCommandOutput | ListConfiguredTableAssociationsCommandOutput | ListConfiguredTablesCommandOutput | ListMembersCommandOutput | ListMembershipsCommandOutput | ListPrivacyBudgetTemplatesCommandOutput | ListPrivacyBudgetsCommandOutput | ListProtectedQueriesCommandOutput | ListSchemasCommandOutput | ListTagsForResourceCommandOutput | PreviewPrivacyImpactCommandOutput | StartProtectedQueryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnalysisTemplateCommandOutput | UpdateCollaborationCommandOutput | UpdateConfiguredAudienceModelAssociationCommandOutput | UpdateConfiguredTableAnalysisRuleCommandOutput | UpdateConfiguredTableAssociationCommandOutput | UpdateConfiguredTableCommandOutput | UpdateMembershipCommandOutput | UpdatePrivacyBudgetTemplateCommandOutput | UpdateProtectedQueryCommandOutput;
|
|
83
84
|
/**
|
|
84
85
|
* @public
|
|
85
86
|
*/
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsClient";
|
|
4
|
+
import { BatchGetSchemaAnalysisRuleInput, BatchGetSchemaAnalysisRuleOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export { __MetadataBearer, $Command };
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*
|
|
12
|
+
* The input for {@link BatchGetSchemaAnalysisRuleCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface BatchGetSchemaAnalysisRuleCommandInput extends BatchGetSchemaAnalysisRuleInput {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*
|
|
19
|
+
* The output of {@link BatchGetSchemaAnalysisRuleCommand}.
|
|
20
|
+
*/
|
|
21
|
+
export interface BatchGetSchemaAnalysisRuleCommandOutput extends BatchGetSchemaAnalysisRuleOutput, __MetadataBearer {
|
|
22
|
+
}
|
|
23
|
+
declare const BatchGetSchemaAnalysisRuleCommand_base: {
|
|
24
|
+
new (input: BatchGetSchemaAnalysisRuleCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetSchemaAnalysisRuleCommandInput, BatchGetSchemaAnalysisRuleCommandOutput, CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: BatchGetSchemaAnalysisRuleCommandInput): import("@smithy/smithy-client").CommandImpl<BatchGetSchemaAnalysisRuleCommandInput, BatchGetSchemaAnalysisRuleCommandOutput, CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* <p>Retrieves multiple analysis rule schemas.</p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { CleanRoomsClient, BatchGetSchemaAnalysisRuleCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import
|
|
34
|
+
* // const { CleanRoomsClient, BatchGetSchemaAnalysisRuleCommand } = require("@aws-sdk/client-cleanrooms"); // CommonJS import
|
|
35
|
+
* const client = new CleanRoomsClient(config);
|
|
36
|
+
* const input = { // BatchGetSchemaAnalysisRuleInput
|
|
37
|
+
* collaborationIdentifier: "STRING_VALUE", // required
|
|
38
|
+
* schemaAnalysisRuleRequests: [ // SchemaAnalysisRuleRequestList // required
|
|
39
|
+
* { // SchemaAnalysisRuleRequest
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* type: "AGGREGATION" || "LIST" || "CUSTOM", // required
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* };
|
|
45
|
+
* const command = new BatchGetSchemaAnalysisRuleCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // BatchGetSchemaAnalysisRuleOutput
|
|
48
|
+
* // analysisRules: [ // SchemaAnalysisRuleList // required
|
|
49
|
+
* // { // AnalysisRule
|
|
50
|
+
* // collaborationId: "STRING_VALUE", // required
|
|
51
|
+
* // type: "AGGREGATION" || "LIST" || "CUSTOM", // required
|
|
52
|
+
* // name: "STRING_VALUE", // required
|
|
53
|
+
* // createTime: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // updateTime: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // policy: { // AnalysisRulePolicy Union: only one key present
|
|
56
|
+
* // v1: { // AnalysisRulePolicyV1 Union: only one key present
|
|
57
|
+
* // list: { // AnalysisRuleList
|
|
58
|
+
* // joinColumns: [ // AnalysisRuleColumnList // required
|
|
59
|
+
* // "STRING_VALUE",
|
|
60
|
+
* // ],
|
|
61
|
+
* // allowedJoinOperators: [ // JoinOperatorsList
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // listColumns: [ // required
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // },
|
|
68
|
+
* // aggregation: { // AnalysisRuleAggregation
|
|
69
|
+
* // aggregateColumns: [ // AggregateColumnList // required
|
|
70
|
+
* // { // AggregateColumn
|
|
71
|
+
* // columnNames: [ // AnalysisRuleColumnNameList // required
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // function: "STRING_VALUE", // required
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // joinColumns: [ // required
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
80
|
+
* // joinRequired: "STRING_VALUE",
|
|
81
|
+
* // allowedJoinOperators: [
|
|
82
|
+
* // "STRING_VALUE",
|
|
83
|
+
* // ],
|
|
84
|
+
* // dimensionColumns: [ // required
|
|
85
|
+
* // "STRING_VALUE",
|
|
86
|
+
* // ],
|
|
87
|
+
* // scalarFunctions: [ // ScalarFunctionsList // required
|
|
88
|
+
* // "STRING_VALUE",
|
|
89
|
+
* // ],
|
|
90
|
+
* // outputConstraints: [ // AggregationConstraints // required
|
|
91
|
+
* // { // AggregationConstraint
|
|
92
|
+
* // columnName: "STRING_VALUE", // required
|
|
93
|
+
* // minimum: Number("int"), // required
|
|
94
|
+
* // type: "STRING_VALUE", // required
|
|
95
|
+
* // },
|
|
96
|
+
* // ],
|
|
97
|
+
* // },
|
|
98
|
+
* // custom: { // AnalysisRuleCustom
|
|
99
|
+
* // allowedAnalyses: [ // AllowedAnalysesList // required
|
|
100
|
+
* // "STRING_VALUE",
|
|
101
|
+
* // ],
|
|
102
|
+
* // allowedAnalysisProviders: [ // AllowedAnalysisProviderList
|
|
103
|
+
* // "STRING_VALUE",
|
|
104
|
+
* // ],
|
|
105
|
+
* // differentialPrivacy: { // DifferentialPrivacyConfiguration
|
|
106
|
+
* // columns: [ // DifferentialPrivacyColumnList // required
|
|
107
|
+
* // { // DifferentialPrivacyColumn
|
|
108
|
+
* // name: "STRING_VALUE", // required
|
|
109
|
+
* // },
|
|
110
|
+
* // ],
|
|
111
|
+
* // },
|
|
112
|
+
* // },
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // },
|
|
116
|
+
* // ],
|
|
117
|
+
* // errors: [ // BatchGetSchemaAnalysisRuleErrorList // required
|
|
118
|
+
* // { // BatchGetSchemaAnalysisRuleError
|
|
119
|
+
* // name: "STRING_VALUE", // required
|
|
120
|
+
* // type: "AGGREGATION" || "LIST" || "CUSTOM", // required
|
|
121
|
+
* // code: "STRING_VALUE", // required
|
|
122
|
+
* // message: "STRING_VALUE", // required
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
125
|
+
* // };
|
|
126
|
+
*
|
|
127
|
+
* ```
|
|
128
|
+
*
|
|
129
|
+
* @param BatchGetSchemaAnalysisRuleCommandInput - {@link BatchGetSchemaAnalysisRuleCommandInput}
|
|
130
|
+
* @returns {@link BatchGetSchemaAnalysisRuleCommandOutput}
|
|
131
|
+
* @see {@link BatchGetSchemaAnalysisRuleCommandInput} for command's `input` shape.
|
|
132
|
+
* @see {@link BatchGetSchemaAnalysisRuleCommandOutput} for command's `response` shape.
|
|
133
|
+
* @see {@link CleanRoomsClientResolvedConfig | config} for CleanRoomsClient's `config` shape.
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
136
|
+
* <p>Caller does not have sufficient access to perform this action.</p>
|
|
137
|
+
*
|
|
138
|
+
* @throws {@link InternalServerException} (server fault)
|
|
139
|
+
* <p>Unexpected error during processing of request.</p>
|
|
140
|
+
*
|
|
141
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
142
|
+
* <p>Request references a resource which does not exist.</p>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
145
|
+
* <p>Request was denied due to request throttling.</p>
|
|
146
|
+
*
|
|
147
|
+
* @throws {@link ValidationException} (client fault)
|
|
148
|
+
* <p>The input fails to satisfy the specified constraints.</p>
|
|
149
|
+
*
|
|
150
|
+
* @throws {@link CleanRoomsServiceException}
|
|
151
|
+
* <p>Base exception class for all service exceptions from CleanRooms service.</p>
|
|
152
|
+
*
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export declare class BatchGetSchemaAnalysisRuleCommand extends BatchGetSchemaAnalysisRuleCommand_base {
|
|
156
|
+
}
|
|
@@ -68,6 +68,21 @@ declare const BatchGetSchemaCommand_base: {
|
|
|
68
68
|
* // createTime: new Date("TIMESTAMP"), // required
|
|
69
69
|
* // updateTime: new Date("TIMESTAMP"), // required
|
|
70
70
|
* // type: "TABLE", // required
|
|
71
|
+
* // schemaStatusDetails: [ // SchemaStatusDetailList // required
|
|
72
|
+
* // { // SchemaStatusDetail
|
|
73
|
+
* // status: "READY" || "NOT_READY", // required
|
|
74
|
+
* // reasons: [ // SchemaStatusReasonList
|
|
75
|
+
* // { // SchemaStatusReason
|
|
76
|
+
* // code: "ANALYSIS_RULE_MISSING" || "ANALYSIS_TEMPLATES_NOT_CONFIGURED" || "ANALYSIS_PROVIDERS_NOT_CONFIGURED" || "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED", // required
|
|
77
|
+
* // message: "STRING_VALUE", // required
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // analysisRuleType: "AGGREGATION" || "LIST" || "CUSTOM",
|
|
81
|
+
* // configurations: [ // SchemaConfigurationList
|
|
82
|
+
* // "DIFFERENTIAL_PRIVACY",
|
|
83
|
+
* // ],
|
|
84
|
+
* // },
|
|
85
|
+
* // ],
|
|
71
86
|
* // },
|
|
72
87
|
* // ],
|
|
73
88
|
* // errors: [ // BatchGetSchemaErrorList // required
|
|
@@ -65,6 +65,21 @@ declare const GetSchemaCommand_base: {
|
|
|
65
65
|
* // createTime: new Date("TIMESTAMP"), // required
|
|
66
66
|
* // updateTime: new Date("TIMESTAMP"), // required
|
|
67
67
|
* // type: "TABLE", // required
|
|
68
|
+
* // schemaStatusDetails: [ // SchemaStatusDetailList // required
|
|
69
|
+
* // { // SchemaStatusDetail
|
|
70
|
+
* // status: "READY" || "NOT_READY", // required
|
|
71
|
+
* // reasons: [ // SchemaStatusReasonList
|
|
72
|
+
* // { // SchemaStatusReason
|
|
73
|
+
* // code: "ANALYSIS_RULE_MISSING" || "ANALYSIS_TEMPLATES_NOT_CONFIGURED" || "ANALYSIS_PROVIDERS_NOT_CONFIGURED" || "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED", // required
|
|
74
|
+
* // message: "STRING_VALUE", // required
|
|
75
|
+
* // },
|
|
76
|
+
* // ],
|
|
77
|
+
* // analysisRuleType: "AGGREGATION" || "LIST" || "CUSTOM",
|
|
78
|
+
* // configurations: [ // SchemaConfigurationList
|
|
79
|
+
* // "DIFFERENTIAL_PRIVACY",
|
|
80
|
+
* // ],
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
68
83
|
* // },
|
|
69
84
|
* // };
|
|
70
85
|
*
|
|
@@ -199,13 +199,24 @@ export declare const ScalarFunctions: {
|
|
|
199
199
|
readonly CAST: "CAST";
|
|
200
200
|
readonly CEILING: "CEILING";
|
|
201
201
|
readonly COALESCE: "COALESCE";
|
|
202
|
+
readonly CONVERT: "CONVERT";
|
|
203
|
+
readonly CURRENT_DATE: "CURRENT_DATE";
|
|
204
|
+
readonly DATEADD: "DATEADD";
|
|
205
|
+
readonly EXTRACT: "EXTRACT";
|
|
202
206
|
readonly FLOOR: "FLOOR";
|
|
207
|
+
readonly GETDATE: "GETDATE";
|
|
203
208
|
readonly LN: "LN";
|
|
204
209
|
readonly LOG: "LOG";
|
|
205
210
|
readonly LOWER: "LOWER";
|
|
206
211
|
readonly ROUND: "ROUND";
|
|
207
212
|
readonly RTRIM: "RTRIM";
|
|
208
213
|
readonly SQRT: "SQRT";
|
|
214
|
+
readonly SUBSTRING: "SUBSTRING";
|
|
215
|
+
readonly TO_CHAR: "TO_CHAR";
|
|
216
|
+
readonly TO_DATE: "TO_DATE";
|
|
217
|
+
readonly TO_NUMBER: "TO_NUMBER";
|
|
218
|
+
readonly TO_TIMESTAMP: "TO_TIMESTAMP";
|
|
219
|
+
readonly TRIM: "TRIM";
|
|
209
220
|
readonly TRUNC: "TRUNC";
|
|
210
221
|
readonly UPPER: "UPPER";
|
|
211
222
|
};
|
|
@@ -289,12 +300,12 @@ export interface DifferentialPrivacyConfiguration {
|
|
|
289
300
|
*/
|
|
290
301
|
export interface AnalysisRuleCustom {
|
|
291
302
|
/**
|
|
292
|
-
* <p>The analysis templates that are allowed by the custom analysis rule.</p>
|
|
303
|
+
* <p>The ARN of the analysis templates that are allowed by the custom analysis rule.</p>
|
|
293
304
|
* @public
|
|
294
305
|
*/
|
|
295
306
|
allowedAnalyses: string[] | undefined;
|
|
296
307
|
/**
|
|
297
|
-
* <p>The Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
|
|
308
|
+
* <p>The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
|
|
298
309
|
* <code>allowedAnalyses</code> is <code>ANY_QUERY</code>.</p>
|
|
299
310
|
* @public
|
|
300
311
|
*/
|
|
@@ -1117,7 +1128,8 @@ export interface BatchGetSchemaInput {
|
|
|
1117
1128
|
*/
|
|
1118
1129
|
collaborationIdentifier: string | undefined;
|
|
1119
1130
|
/**
|
|
1120
|
-
* <p>The names for the schema objects to
|
|
1131
|
+
* <p>The names for the schema objects to
|
|
1132
|
+
* retrieve.</p>
|
|
1121
1133
|
* @public
|
|
1122
1134
|
*/
|
|
1123
1135
|
names: string[] | undefined;
|
|
@@ -1160,6 +1172,86 @@ export interface Column {
|
|
|
1160
1172
|
*/
|
|
1161
1173
|
type: string | undefined;
|
|
1162
1174
|
}
|
|
1175
|
+
/**
|
|
1176
|
+
* @public
|
|
1177
|
+
* @enum
|
|
1178
|
+
*/
|
|
1179
|
+
export declare const SchemaConfiguration: {
|
|
1180
|
+
readonly DIFFERENTIAL_PRIVACY: "DIFFERENTIAL_PRIVACY";
|
|
1181
|
+
};
|
|
1182
|
+
/**
|
|
1183
|
+
* @public
|
|
1184
|
+
*/
|
|
1185
|
+
export type SchemaConfiguration = (typeof SchemaConfiguration)[keyof typeof SchemaConfiguration];
|
|
1186
|
+
/**
|
|
1187
|
+
* @public
|
|
1188
|
+
* @enum
|
|
1189
|
+
*/
|
|
1190
|
+
export declare const SchemaStatusReasonCode: {
|
|
1191
|
+
readonly ANALYSIS_PROVIDERS_NOT_CONFIGURED: "ANALYSIS_PROVIDERS_NOT_CONFIGURED";
|
|
1192
|
+
readonly ANALYSIS_RULE_MISSING: "ANALYSIS_RULE_MISSING";
|
|
1193
|
+
readonly ANALYSIS_TEMPLATES_NOT_CONFIGURED: "ANALYSIS_TEMPLATES_NOT_CONFIGURED";
|
|
1194
|
+
readonly DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED: "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED";
|
|
1195
|
+
};
|
|
1196
|
+
/**
|
|
1197
|
+
* @public
|
|
1198
|
+
*/
|
|
1199
|
+
export type SchemaStatusReasonCode = (typeof SchemaStatusReasonCode)[keyof typeof SchemaStatusReasonCode];
|
|
1200
|
+
/**
|
|
1201
|
+
* <p>A reason why the schema status is set to its current value.</p>
|
|
1202
|
+
* @public
|
|
1203
|
+
*/
|
|
1204
|
+
export interface SchemaStatusReason {
|
|
1205
|
+
/**
|
|
1206
|
+
* <p>The schema status reason code.</p>
|
|
1207
|
+
* @public
|
|
1208
|
+
*/
|
|
1209
|
+
code: SchemaStatusReasonCode | undefined;
|
|
1210
|
+
/**
|
|
1211
|
+
* <p>An explanation of the schema status reason code.</p>
|
|
1212
|
+
* @public
|
|
1213
|
+
*/
|
|
1214
|
+
message: string | undefined;
|
|
1215
|
+
}
|
|
1216
|
+
/**
|
|
1217
|
+
* @public
|
|
1218
|
+
* @enum
|
|
1219
|
+
*/
|
|
1220
|
+
export declare const SchemaStatus: {
|
|
1221
|
+
readonly NOT_READY: "NOT_READY";
|
|
1222
|
+
readonly READY: "READY";
|
|
1223
|
+
};
|
|
1224
|
+
/**
|
|
1225
|
+
* @public
|
|
1226
|
+
*/
|
|
1227
|
+
export type SchemaStatus = (typeof SchemaStatus)[keyof typeof SchemaStatus];
|
|
1228
|
+
/**
|
|
1229
|
+
* <p>Information about the schema status.</p>
|
|
1230
|
+
* <p>A status of <code>READY</code> means that based on the schema analysis rule, queries of the given analysis rule type are properly configured to run queries on this schema.</p>
|
|
1231
|
+
* @public
|
|
1232
|
+
*/
|
|
1233
|
+
export interface SchemaStatusDetail {
|
|
1234
|
+
/**
|
|
1235
|
+
* <p>The status of the schema.</p>
|
|
1236
|
+
* @public
|
|
1237
|
+
*/
|
|
1238
|
+
status: SchemaStatus | undefined;
|
|
1239
|
+
/**
|
|
1240
|
+
* <p>The reasons why the schema status is set to its current state.</p>
|
|
1241
|
+
* @public
|
|
1242
|
+
*/
|
|
1243
|
+
reasons?: SchemaStatusReason[];
|
|
1244
|
+
/**
|
|
1245
|
+
* <p>The analysis rule type for which the schema status has been evaluated.</p>
|
|
1246
|
+
* @public
|
|
1247
|
+
*/
|
|
1248
|
+
analysisRuleType?: AnalysisRuleType;
|
|
1249
|
+
/**
|
|
1250
|
+
* <p>The configuration details of the schema analysis rule for the given type.</p>
|
|
1251
|
+
* @public
|
|
1252
|
+
*/
|
|
1253
|
+
configurations?: SchemaConfiguration[];
|
|
1254
|
+
}
|
|
1163
1255
|
/**
|
|
1164
1256
|
* @public
|
|
1165
1257
|
* @enum
|
|
@@ -1239,6 +1331,11 @@ export interface Schema {
|
|
|
1239
1331
|
* @public
|
|
1240
1332
|
*/
|
|
1241
1333
|
type: SchemaType | undefined;
|
|
1334
|
+
/**
|
|
1335
|
+
* <p>Details about the status of the schema. Currently, only one entry is present.</p>
|
|
1336
|
+
* @public
|
|
1337
|
+
*/
|
|
1338
|
+
schemaStatusDetails: SchemaStatusDetail[] | undefined;
|
|
1242
1339
|
}
|
|
1243
1340
|
/**
|
|
1244
1341
|
* @public
|
|
@@ -1256,6 +1353,78 @@ export interface BatchGetSchemaOutput {
|
|
|
1256
1353
|
*/
|
|
1257
1354
|
errors: BatchGetSchemaError[] | undefined;
|
|
1258
1355
|
}
|
|
1356
|
+
/**
|
|
1357
|
+
* <p>Defines the information that's necessary to retrieve an analysis rule schema. Schema analysis rules are uniquely identified by a combination of the schema name and the analysis rule type for a given collaboration.</p>
|
|
1358
|
+
* @public
|
|
1359
|
+
*/
|
|
1360
|
+
export interface SchemaAnalysisRuleRequest {
|
|
1361
|
+
/**
|
|
1362
|
+
* <p>The name of the analysis rule schema that you are requesting.</p>
|
|
1363
|
+
* @public
|
|
1364
|
+
*/
|
|
1365
|
+
name: string | undefined;
|
|
1366
|
+
/**
|
|
1367
|
+
* <p>The type of analysis rule schema that you are requesting.</p>
|
|
1368
|
+
* @public
|
|
1369
|
+
*/
|
|
1370
|
+
type: AnalysisRuleType | undefined;
|
|
1371
|
+
}
|
|
1372
|
+
/**
|
|
1373
|
+
* @public
|
|
1374
|
+
*/
|
|
1375
|
+
export interface BatchGetSchemaAnalysisRuleInput {
|
|
1376
|
+
/**
|
|
1377
|
+
* <p>The unique identifier of the collaboration that contains the schema analysis rule.</p>
|
|
1378
|
+
* @public
|
|
1379
|
+
*/
|
|
1380
|
+
collaborationIdentifier: string | undefined;
|
|
1381
|
+
/**
|
|
1382
|
+
* <p>The information that's necessary to retrieve a schema analysis rule.</p>
|
|
1383
|
+
* @public
|
|
1384
|
+
*/
|
|
1385
|
+
schemaAnalysisRuleRequests: SchemaAnalysisRuleRequest[] | undefined;
|
|
1386
|
+
}
|
|
1387
|
+
/**
|
|
1388
|
+
* <p>An error that describes why a schema could not be fetched.</p>
|
|
1389
|
+
* @public
|
|
1390
|
+
*/
|
|
1391
|
+
export interface BatchGetSchemaAnalysisRuleError {
|
|
1392
|
+
/**
|
|
1393
|
+
* <p>An error name for the error.</p>
|
|
1394
|
+
* @public
|
|
1395
|
+
*/
|
|
1396
|
+
name: string | undefined;
|
|
1397
|
+
/**
|
|
1398
|
+
* <p>The analysis rule type.</p>
|
|
1399
|
+
* @public
|
|
1400
|
+
*/
|
|
1401
|
+
type: AnalysisRuleType | undefined;
|
|
1402
|
+
/**
|
|
1403
|
+
* <p>An error code for the error.</p>
|
|
1404
|
+
* @public
|
|
1405
|
+
*/
|
|
1406
|
+
code: string | undefined;
|
|
1407
|
+
/**
|
|
1408
|
+
* <p>A description of why the call failed.</p>
|
|
1409
|
+
* @public
|
|
1410
|
+
*/
|
|
1411
|
+
message: string | undefined;
|
|
1412
|
+
}
|
|
1413
|
+
/**
|
|
1414
|
+
* @public
|
|
1415
|
+
*/
|
|
1416
|
+
export interface BatchGetSchemaAnalysisRuleOutput {
|
|
1417
|
+
/**
|
|
1418
|
+
* <p>The retrieved list of analysis rules.</p>
|
|
1419
|
+
* @public
|
|
1420
|
+
*/
|
|
1421
|
+
analysisRules: AnalysisRule[] | undefined;
|
|
1422
|
+
/**
|
|
1423
|
+
* <p>Error reasons for schemas that could not be retrieved. One error is returned for every schema that could not be retrieved.</p>
|
|
1424
|
+
* @public
|
|
1425
|
+
*/
|
|
1426
|
+
errors: BatchGetSchemaAnalysisRuleError[] | undefined;
|
|
1427
|
+
}
|
|
1259
1428
|
/**
|
|
1260
1429
|
* @public
|
|
1261
1430
|
* @enum
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { BatchGetCollaborationAnalysisTemplateCommandInput, BatchGetCollaborationAnalysisTemplateCommandOutput } from "../commands/BatchGetCollaborationAnalysisTemplateCommand";
|
|
4
|
+
import { BatchGetSchemaAnalysisRuleCommandInput, BatchGetSchemaAnalysisRuleCommandOutput } from "../commands/BatchGetSchemaAnalysisRuleCommand";
|
|
4
5
|
import { BatchGetSchemaCommandInput, BatchGetSchemaCommandOutput } from "../commands/BatchGetSchemaCommand";
|
|
5
6
|
import { CreateAnalysisTemplateCommandInput, CreateAnalysisTemplateCommandOutput } from "../commands/CreateAnalysisTemplateCommand";
|
|
6
7
|
import { CreateCollaborationCommandInput, CreateCollaborationCommandOutput } from "../commands/CreateCollaborationCommand";
|
|
@@ -70,6 +71,10 @@ export declare const se_BatchGetCollaborationAnalysisTemplateCommand: (input: Ba
|
|
|
70
71
|
* serializeAws_restJson1BatchGetSchemaCommand
|
|
71
72
|
*/
|
|
72
73
|
export declare const se_BatchGetSchemaCommand: (input: BatchGetSchemaCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
74
|
+
/**
|
|
75
|
+
* serializeAws_restJson1BatchGetSchemaAnalysisRuleCommand
|
|
76
|
+
*/
|
|
77
|
+
export declare const se_BatchGetSchemaAnalysisRuleCommand: (input: BatchGetSchemaAnalysisRuleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
73
78
|
/**
|
|
74
79
|
* serializeAws_restJson1CreateAnalysisTemplateCommand
|
|
75
80
|
*/
|
|
@@ -318,6 +323,10 @@ export declare const de_BatchGetCollaborationAnalysisTemplateCommand: (output: _
|
|
|
318
323
|
* deserializeAws_restJson1BatchGetSchemaCommand
|
|
319
324
|
*/
|
|
320
325
|
export declare const de_BatchGetSchemaCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetSchemaCommandOutput>;
|
|
326
|
+
/**
|
|
327
|
+
* deserializeAws_restJson1BatchGetSchemaAnalysisRuleCommand
|
|
328
|
+
*/
|
|
329
|
+
export declare const de_BatchGetSchemaAnalysisRuleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetSchemaAnalysisRuleCommandOutput>;
|
|
321
330
|
/**
|
|
322
331
|
* deserializeAws_restJson1CreateAnalysisTemplateCommand
|
|
323
332
|
*/
|
|
@@ -4,6 +4,10 @@ import {
|
|
|
4
4
|
BatchGetCollaborationAnalysisTemplateCommandInput,
|
|
5
5
|
BatchGetCollaborationAnalysisTemplateCommandOutput,
|
|
6
6
|
} from "./commands/BatchGetCollaborationAnalysisTemplateCommand";
|
|
7
|
+
import {
|
|
8
|
+
BatchGetSchemaAnalysisRuleCommandInput,
|
|
9
|
+
BatchGetSchemaAnalysisRuleCommandOutput,
|
|
10
|
+
} from "./commands/BatchGetSchemaAnalysisRuleCommand";
|
|
7
11
|
import {
|
|
8
12
|
BatchGetSchemaCommandInput,
|
|
9
13
|
BatchGetSchemaCommandOutput,
|
|
@@ -281,6 +285,19 @@ export interface CleanRooms {
|
|
|
281
285
|
options: __HttpHandlerOptions,
|
|
282
286
|
cb: (err: any, data?: BatchGetSchemaCommandOutput) => void
|
|
283
287
|
): void;
|
|
288
|
+
batchGetSchemaAnalysisRule(
|
|
289
|
+
args: BatchGetSchemaAnalysisRuleCommandInput,
|
|
290
|
+
options?: __HttpHandlerOptions
|
|
291
|
+
): Promise<BatchGetSchemaAnalysisRuleCommandOutput>;
|
|
292
|
+
batchGetSchemaAnalysisRule(
|
|
293
|
+
args: BatchGetSchemaAnalysisRuleCommandInput,
|
|
294
|
+
cb: (err: any, data?: BatchGetSchemaAnalysisRuleCommandOutput) => void
|
|
295
|
+
): void;
|
|
296
|
+
batchGetSchemaAnalysisRule(
|
|
297
|
+
args: BatchGetSchemaAnalysisRuleCommandInput,
|
|
298
|
+
options: __HttpHandlerOptions,
|
|
299
|
+
cb: (err: any, data?: BatchGetSchemaAnalysisRuleCommandOutput) => void
|
|
300
|
+
): void;
|
|
284
301
|
createAnalysisTemplate(
|
|
285
302
|
args: CreateAnalysisTemplateCommandInput,
|
|
286
303
|
options?: __HttpHandlerOptions
|
|
@@ -49,6 +49,10 @@ import {
|
|
|
49
49
|
BatchGetCollaborationAnalysisTemplateCommandInput,
|
|
50
50
|
BatchGetCollaborationAnalysisTemplateCommandOutput,
|
|
51
51
|
} from "./commands/BatchGetCollaborationAnalysisTemplateCommand";
|
|
52
|
+
import {
|
|
53
|
+
BatchGetSchemaAnalysisRuleCommandInput,
|
|
54
|
+
BatchGetSchemaAnalysisRuleCommandOutput,
|
|
55
|
+
} from "./commands/BatchGetSchemaAnalysisRuleCommand";
|
|
52
56
|
import {
|
|
53
57
|
BatchGetSchemaCommandInput,
|
|
54
58
|
BatchGetSchemaCommandOutput,
|
|
@@ -302,6 +306,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
|
302
306
|
export { __Client };
|
|
303
307
|
export type ServiceInputTypes =
|
|
304
308
|
| BatchGetCollaborationAnalysisTemplateCommandInput
|
|
309
|
+
| BatchGetSchemaAnalysisRuleCommandInput
|
|
305
310
|
| BatchGetSchemaCommandInput
|
|
306
311
|
| CreateAnalysisTemplateCommandInput
|
|
307
312
|
| CreateCollaborationCommandInput
|
|
@@ -365,6 +370,7 @@ export type ServiceInputTypes =
|
|
|
365
370
|
| UpdateProtectedQueryCommandInput;
|
|
366
371
|
export type ServiceOutputTypes =
|
|
367
372
|
| BatchGetCollaborationAnalysisTemplateCommandOutput
|
|
373
|
+
| BatchGetSchemaAnalysisRuleCommandOutput
|
|
368
374
|
| BatchGetSchemaCommandOutput
|
|
369
375
|
| CreateAnalysisTemplateCommandOutput
|
|
370
376
|
| CreateCollaborationCommandOutput
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
CleanRoomsClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../CleanRoomsClient";
|
|
8
|
+
import {
|
|
9
|
+
BatchGetSchemaAnalysisRuleInput,
|
|
10
|
+
BatchGetSchemaAnalysisRuleOutput,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer, $Command };
|
|
13
|
+
export interface BatchGetSchemaAnalysisRuleCommandInput
|
|
14
|
+
extends BatchGetSchemaAnalysisRuleInput {}
|
|
15
|
+
export interface BatchGetSchemaAnalysisRuleCommandOutput
|
|
16
|
+
extends BatchGetSchemaAnalysisRuleOutput,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const BatchGetSchemaAnalysisRuleCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: BatchGetSchemaAnalysisRuleCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
BatchGetSchemaAnalysisRuleCommandInput,
|
|
23
|
+
BatchGetSchemaAnalysisRuleCommandOutput,
|
|
24
|
+
CleanRoomsClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: BatchGetSchemaAnalysisRuleCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
BatchGetSchemaAnalysisRuleCommandInput,
|
|
32
|
+
BatchGetSchemaAnalysisRuleCommandOutput,
|
|
33
|
+
CleanRoomsClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class BatchGetSchemaAnalysisRuleCommand extends BatchGetSchemaAnalysisRuleCommand_base {}
|
|
@@ -84,13 +84,24 @@ export declare const ScalarFunctions: {
|
|
|
84
84
|
readonly CAST: "CAST";
|
|
85
85
|
readonly CEILING: "CEILING";
|
|
86
86
|
readonly COALESCE: "COALESCE";
|
|
87
|
+
readonly CONVERT: "CONVERT";
|
|
88
|
+
readonly CURRENT_DATE: "CURRENT_DATE";
|
|
89
|
+
readonly DATEADD: "DATEADD";
|
|
90
|
+
readonly EXTRACT: "EXTRACT";
|
|
87
91
|
readonly FLOOR: "FLOOR";
|
|
92
|
+
readonly GETDATE: "GETDATE";
|
|
88
93
|
readonly LN: "LN";
|
|
89
94
|
readonly LOG: "LOG";
|
|
90
95
|
readonly LOWER: "LOWER";
|
|
91
96
|
readonly ROUND: "ROUND";
|
|
92
97
|
readonly RTRIM: "RTRIM";
|
|
93
98
|
readonly SQRT: "SQRT";
|
|
99
|
+
readonly SUBSTRING: "SUBSTRING";
|
|
100
|
+
readonly TO_CHAR: "TO_CHAR";
|
|
101
|
+
readonly TO_DATE: "TO_DATE";
|
|
102
|
+
readonly TO_NUMBER: "TO_NUMBER";
|
|
103
|
+
readonly TO_TIMESTAMP: "TO_TIMESTAMP";
|
|
104
|
+
readonly TRIM: "TRIM";
|
|
94
105
|
readonly TRUNC: "TRUNC";
|
|
95
106
|
readonly UPPER: "UPPER";
|
|
96
107
|
};
|
|
@@ -398,6 +409,34 @@ export interface Column {
|
|
|
398
409
|
name: string | undefined;
|
|
399
410
|
type: string | undefined;
|
|
400
411
|
}
|
|
412
|
+
export declare const SchemaConfiguration: {
|
|
413
|
+
readonly DIFFERENTIAL_PRIVACY: "DIFFERENTIAL_PRIVACY";
|
|
414
|
+
};
|
|
415
|
+
export type SchemaConfiguration =
|
|
416
|
+
(typeof SchemaConfiguration)[keyof typeof SchemaConfiguration];
|
|
417
|
+
export declare const SchemaStatusReasonCode: {
|
|
418
|
+
readonly ANALYSIS_PROVIDERS_NOT_CONFIGURED: "ANALYSIS_PROVIDERS_NOT_CONFIGURED";
|
|
419
|
+
readonly ANALYSIS_RULE_MISSING: "ANALYSIS_RULE_MISSING";
|
|
420
|
+
readonly ANALYSIS_TEMPLATES_NOT_CONFIGURED: "ANALYSIS_TEMPLATES_NOT_CONFIGURED";
|
|
421
|
+
readonly DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED: "DIFFERENTIAL_PRIVACY_POLICY_NOT_CONFIGURED";
|
|
422
|
+
};
|
|
423
|
+
export type SchemaStatusReasonCode =
|
|
424
|
+
(typeof SchemaStatusReasonCode)[keyof typeof SchemaStatusReasonCode];
|
|
425
|
+
export interface SchemaStatusReason {
|
|
426
|
+
code: SchemaStatusReasonCode | undefined;
|
|
427
|
+
message: string | undefined;
|
|
428
|
+
}
|
|
429
|
+
export declare const SchemaStatus: {
|
|
430
|
+
readonly NOT_READY: "NOT_READY";
|
|
431
|
+
readonly READY: "READY";
|
|
432
|
+
};
|
|
433
|
+
export type SchemaStatus = (typeof SchemaStatus)[keyof typeof SchemaStatus];
|
|
434
|
+
export interface SchemaStatusDetail {
|
|
435
|
+
status: SchemaStatus | undefined;
|
|
436
|
+
reasons?: SchemaStatusReason[];
|
|
437
|
+
analysisRuleType?: AnalysisRuleType;
|
|
438
|
+
configurations?: SchemaConfiguration[];
|
|
439
|
+
}
|
|
401
440
|
export declare const SchemaType: {
|
|
402
441
|
readonly TABLE: "TABLE";
|
|
403
442
|
};
|
|
@@ -415,11 +454,30 @@ export interface Schema {
|
|
|
415
454
|
createTime: Date | undefined;
|
|
416
455
|
updateTime: Date | undefined;
|
|
417
456
|
type: SchemaType | undefined;
|
|
457
|
+
schemaStatusDetails: SchemaStatusDetail[] | undefined;
|
|
418
458
|
}
|
|
419
459
|
export interface BatchGetSchemaOutput {
|
|
420
460
|
schemas: Schema[] | undefined;
|
|
421
461
|
errors: BatchGetSchemaError[] | undefined;
|
|
422
462
|
}
|
|
463
|
+
export interface SchemaAnalysisRuleRequest {
|
|
464
|
+
name: string | undefined;
|
|
465
|
+
type: AnalysisRuleType | undefined;
|
|
466
|
+
}
|
|
467
|
+
export interface BatchGetSchemaAnalysisRuleInput {
|
|
468
|
+
collaborationIdentifier: string | undefined;
|
|
469
|
+
schemaAnalysisRuleRequests: SchemaAnalysisRuleRequest[] | undefined;
|
|
470
|
+
}
|
|
471
|
+
export interface BatchGetSchemaAnalysisRuleError {
|
|
472
|
+
name: string | undefined;
|
|
473
|
+
type: AnalysisRuleType | undefined;
|
|
474
|
+
code: string | undefined;
|
|
475
|
+
message: string | undefined;
|
|
476
|
+
}
|
|
477
|
+
export interface BatchGetSchemaAnalysisRuleOutput {
|
|
478
|
+
analysisRules: AnalysisRule[] | undefined;
|
|
479
|
+
errors: BatchGetSchemaAnalysisRuleError[] | undefined;
|
|
480
|
+
}
|
|
423
481
|
export declare const MemberAbility: {
|
|
424
482
|
readonly CAN_QUERY: "CAN_QUERY";
|
|
425
483
|
readonly CAN_RECEIVE_RESULTS: "CAN_RECEIVE_RESULTS";
|
|
@@ -7,6 +7,10 @@ import {
|
|
|
7
7
|
BatchGetCollaborationAnalysisTemplateCommandInput,
|
|
8
8
|
BatchGetCollaborationAnalysisTemplateCommandOutput,
|
|
9
9
|
} from "../commands/BatchGetCollaborationAnalysisTemplateCommand";
|
|
10
|
+
import {
|
|
11
|
+
BatchGetSchemaAnalysisRuleCommandInput,
|
|
12
|
+
BatchGetSchemaAnalysisRuleCommandOutput,
|
|
13
|
+
} from "../commands/BatchGetSchemaAnalysisRuleCommand";
|
|
10
14
|
import {
|
|
11
15
|
BatchGetSchemaCommandInput,
|
|
12
16
|
BatchGetSchemaCommandOutput,
|
|
@@ -259,6 +263,10 @@ export declare const se_BatchGetSchemaCommand: (
|
|
|
259
263
|
input: BatchGetSchemaCommandInput,
|
|
260
264
|
context: __SerdeContext
|
|
261
265
|
) => Promise<__HttpRequest>;
|
|
266
|
+
export declare const se_BatchGetSchemaAnalysisRuleCommand: (
|
|
267
|
+
input: BatchGetSchemaAnalysisRuleCommandInput,
|
|
268
|
+
context: __SerdeContext
|
|
269
|
+
) => Promise<__HttpRequest>;
|
|
262
270
|
export declare const se_CreateAnalysisTemplateCommand: (
|
|
263
271
|
input: CreateAnalysisTemplateCommandInput,
|
|
264
272
|
context: __SerdeContext
|
|
@@ -507,6 +515,10 @@ export declare const de_BatchGetSchemaCommand: (
|
|
|
507
515
|
output: __HttpResponse,
|
|
508
516
|
context: __SerdeContext
|
|
509
517
|
) => Promise<BatchGetSchemaCommandOutput>;
|
|
518
|
+
export declare const de_BatchGetSchemaAnalysisRuleCommand: (
|
|
519
|
+
output: __HttpResponse,
|
|
520
|
+
context: __SerdeContext
|
|
521
|
+
) => Promise<BatchGetSchemaAnalysisRuleCommandOutput>;
|
|
510
522
|
export declare const de_CreateAnalysisTemplateCommand: (
|
|
511
523
|
output: __HttpResponse,
|
|
512
524
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cleanrooms",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cleanrooms Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.552.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,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.552.0",
|
|
24
|
+
"@aws-sdk/core": "3.552.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.552.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
@@ -33,26 +33,26 @@
|
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
35
|
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
-
"@smithy/core": "^1.4.
|
|
36
|
+
"@smithy/core": "^1.4.2",
|
|
37
37
|
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
38
|
"@smithy/hash-node": "^2.2.0",
|
|
39
39
|
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
40
|
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.5.
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.5.1",
|
|
42
|
+
"@smithy/middleware-retry": "^2.3.1",
|
|
43
43
|
"@smithy/middleware-serde": "^2.3.0",
|
|
44
44
|
"@smithy/middleware-stack": "^2.2.0",
|
|
45
45
|
"@smithy/node-config-provider": "^2.3.0",
|
|
46
46
|
"@smithy/node-http-handler": "^2.5.0",
|
|
47
47
|
"@smithy/protocol-http": "^3.3.0",
|
|
48
|
-
"@smithy/smithy-client": "^2.5.
|
|
48
|
+
"@smithy/smithy-client": "^2.5.1",
|
|
49
49
|
"@smithy/types": "^2.12.0",
|
|
50
50
|
"@smithy/url-parser": "^2.2.0",
|
|
51
51
|
"@smithy/util-base64": "^2.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^2.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^2.3.0",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.2.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.3.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.2.1",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.3.1",
|
|
56
56
|
"@smithy/util-endpoints": "^1.2.0",
|
|
57
57
|
"@smithy/util-middleware": "^2.2.0",
|
|
58
58
|
"@smithy/util-retry": "^2.2.0",
|