@aws-sdk/client-cleanrooms 3.879.0 → 3.882.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 +24 -0
- package/dist-cjs/index.js +238 -15
- package/dist-es/CleanRooms.js +6 -0
- package/dist-es/commands/CreateCollaborationChangeRequestCommand.js +22 -0
- package/dist-es/commands/GetCollaborationChangeRequestCommand.js +22 -0
- package/dist-es/commands/ListCollaborationChangeRequestsCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +24 -15
- package/dist-es/models/models_1.js +27 -0
- package/dist-es/pagination/ListCollaborationChangeRequestsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +115 -0
- package/dist-types/CleanRooms.d.ts +21 -0
- package/dist-types/CleanRoomsClient.d.ts +5 -2
- package/dist-types/commands/CreateCollaborationChangeRequestCommand.d.ts +131 -0
- package/dist-types/commands/CreateCollaborationCommand.d.ts +6 -0
- package/dist-types/commands/CreateMembershipCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMembershipCommand.d.ts +1 -1
- package/dist-types/commands/GetCollaborationChangeRequestCommand.d.ts +112 -0
- package/dist-types/commands/GetCollaborationCommand.d.ts +3 -0
- package/dist-types/commands/GetMembershipCommand.d.ts +1 -1
- package/dist-types/commands/GetProtectedJobCommand.d.ts +7 -2
- package/dist-types/commands/ListCollaborationChangeRequestsCommand.d.ts +117 -0
- package/dist-types/commands/StartProtectedJobCommand.d.ts +12 -0
- package/dist-types/commands/UpdateCollaborationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateProtectedJobCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +318 -317
- package/dist-types/models/models_1.d.ts +387 -2
- package/dist-types/pagination/ListCollaborationChangeRequestsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +27 -0
- package/dist-types/ts3.4/CleanRooms.d.ts +51 -0
- package/dist-types/ts3.4/CleanRoomsClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateCollaborationChangeRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCollaborationChangeRequestCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetMembershipCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetProtectedJobCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListCollaborationChangeRequestsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +101 -106
- package/dist-types/ts3.4/models/models_1.d.ts +139 -6
- package/dist-types/ts3.4/pagination/ListCollaborationChangeRequestsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +36 -0
- package/package.json +11 -11
|
@@ -0,0 +1,22 @@
|
|
|
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_ListCollaborationChangeRequestsCommand, se_ListCollaborationChangeRequestsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListCollaborationChangeRequestsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AWSBastionControlPlaneServiceLambda", "ListCollaborationChangeRequests", {})
|
|
17
|
+
.n("CleanRoomsClient", "ListCollaborationChangeRequestsCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListCollaborationChangeRequestsCommand)
|
|
20
|
+
.de(de_ListCollaborationChangeRequestsCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./BatchGetCollaborationAnalysisTemplateCommand";
|
|
|
2
2
|
export * from "./BatchGetSchemaAnalysisRuleCommand";
|
|
3
3
|
export * from "./BatchGetSchemaCommand";
|
|
4
4
|
export * from "./CreateAnalysisTemplateCommand";
|
|
5
|
+
export * from "./CreateCollaborationChangeRequestCommand";
|
|
5
6
|
export * from "./CreateCollaborationCommand";
|
|
6
7
|
export * from "./CreateConfiguredAudienceModelAssociationCommand";
|
|
7
8
|
export * from "./CreateConfiguredTableAnalysisRuleCommand";
|
|
@@ -26,6 +27,7 @@ export * from "./DeleteMembershipCommand";
|
|
|
26
27
|
export * from "./DeletePrivacyBudgetTemplateCommand";
|
|
27
28
|
export * from "./GetAnalysisTemplateCommand";
|
|
28
29
|
export * from "./GetCollaborationAnalysisTemplateCommand";
|
|
30
|
+
export * from "./GetCollaborationChangeRequestCommand";
|
|
29
31
|
export * from "./GetCollaborationCommand";
|
|
30
32
|
export * from "./GetCollaborationConfiguredAudienceModelAssociationCommand";
|
|
31
33
|
export * from "./GetCollaborationIdNamespaceAssociationCommand";
|
|
@@ -45,6 +47,7 @@ export * from "./GetSchemaAnalysisRuleCommand";
|
|
|
45
47
|
export * from "./GetSchemaCommand";
|
|
46
48
|
export * from "./ListAnalysisTemplatesCommand";
|
|
47
49
|
export * from "./ListCollaborationAnalysisTemplatesCommand";
|
|
50
|
+
export * from "./ListCollaborationChangeRequestsCommand";
|
|
48
51
|
export * from "./ListCollaborationConfiguredAudienceModelAssociationsCommand";
|
|
49
52
|
export * from "./ListCollaborationIdNamespaceAssociationsCommand";
|
|
50
53
|
export * from "./ListCollaborationPrivacyBudgetTemplatesCommand";
|
|
@@ -324,6 +324,9 @@ export const AnalyticsEngine = {
|
|
|
324
324
|
CLEAN_ROOMS_SQL: "CLEAN_ROOMS_SQL",
|
|
325
325
|
SPARK: "SPARK",
|
|
326
326
|
};
|
|
327
|
+
export const AutoApprovedChangeType = {
|
|
328
|
+
ADD_MEMBER: "ADD_MEMBER",
|
|
329
|
+
};
|
|
327
330
|
export const SchemaConfiguration = {
|
|
328
331
|
DIFFERENTIAL_PRIVACY: "DIFFERENTIAL_PRIVACY",
|
|
329
332
|
};
|
|
@@ -387,6 +390,27 @@ export const MemberStatus = {
|
|
|
387
390
|
LEFT: "LEFT",
|
|
388
391
|
REMOVED: "REMOVED",
|
|
389
392
|
};
|
|
393
|
+
export var ChangeSpecification;
|
|
394
|
+
(function (ChangeSpecification) {
|
|
395
|
+
ChangeSpecification.visit = (value, visitor) => {
|
|
396
|
+
if (value.member !== undefined)
|
|
397
|
+
return visitor.member(value.member);
|
|
398
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
399
|
+
};
|
|
400
|
+
})(ChangeSpecification || (ChangeSpecification = {}));
|
|
401
|
+
export const ChangeSpecificationType = {
|
|
402
|
+
MEMBER: "MEMBER",
|
|
403
|
+
};
|
|
404
|
+
export const ChangeType = {
|
|
405
|
+
ADD_MEMBER: "ADD_MEMBER",
|
|
406
|
+
};
|
|
407
|
+
export const ChangeRequestStatus = {
|
|
408
|
+
APPROVED: "APPROVED",
|
|
409
|
+
CANCELLED: "CANCELLED",
|
|
410
|
+
COMMITTED: "COMMITTED",
|
|
411
|
+
DENIED: "DENIED",
|
|
412
|
+
PENDING: "PENDING",
|
|
413
|
+
};
|
|
390
414
|
export const PrivacyBudgetTemplateAutoRefresh = {
|
|
391
415
|
CALENDAR_MONTH: "CALENDAR_MONTH",
|
|
392
416
|
NONE: "NONE",
|
|
@@ -499,21 +523,6 @@ export const MembershipQueryLogStatus = {
|
|
|
499
523
|
DISABLED: "DISABLED",
|
|
500
524
|
ENABLED: "ENABLED",
|
|
501
525
|
};
|
|
502
|
-
export const MembershipStatus = {
|
|
503
|
-
ACTIVE: "ACTIVE",
|
|
504
|
-
COLLABORATION_DELETED: "COLLABORATION_DELETED",
|
|
505
|
-
REMOVED: "REMOVED",
|
|
506
|
-
};
|
|
507
|
-
export var ProtectedJobOutput;
|
|
508
|
-
(function (ProtectedJobOutput) {
|
|
509
|
-
ProtectedJobOutput.visit = (value, visitor) => {
|
|
510
|
-
if (value.s3 !== undefined)
|
|
511
|
-
return visitor.s3(value.s3);
|
|
512
|
-
if (value.memberList !== undefined)
|
|
513
|
-
return visitor.memberList(value.memberList);
|
|
514
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
515
|
-
};
|
|
516
|
-
})(ProtectedJobOutput || (ProtectedJobOutput = {}));
|
|
517
526
|
export const AnalysisParameterFilterSensitiveLog = (obj) => ({
|
|
518
527
|
...obj,
|
|
519
528
|
});
|
|
@@ -1,4 +1,31 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
|
+
export const MembershipStatus = {
|
|
3
|
+
ACTIVE: "ACTIVE",
|
|
4
|
+
COLLABORATION_DELETED: "COLLABORATION_DELETED",
|
|
5
|
+
REMOVED: "REMOVED",
|
|
6
|
+
};
|
|
7
|
+
export const ProtectedJobWorkerComputeType = {
|
|
8
|
+
CR1X: "CR.1X",
|
|
9
|
+
CR4X: "CR.4X",
|
|
10
|
+
};
|
|
11
|
+
export var ProtectedJobComputeConfiguration;
|
|
12
|
+
(function (ProtectedJobComputeConfiguration) {
|
|
13
|
+
ProtectedJobComputeConfiguration.visit = (value, visitor) => {
|
|
14
|
+
if (value.worker !== undefined)
|
|
15
|
+
return visitor.worker(value.worker);
|
|
16
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
17
|
+
};
|
|
18
|
+
})(ProtectedJobComputeConfiguration || (ProtectedJobComputeConfiguration = {}));
|
|
19
|
+
export var ProtectedJobOutput;
|
|
20
|
+
(function (ProtectedJobOutput) {
|
|
21
|
+
ProtectedJobOutput.visit = (value, visitor) => {
|
|
22
|
+
if (value.s3 !== undefined)
|
|
23
|
+
return visitor.s3(value.s3);
|
|
24
|
+
if (value.memberList !== undefined)
|
|
25
|
+
return visitor.memberList(value.memberList);
|
|
26
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
27
|
+
};
|
|
28
|
+
})(ProtectedJobOutput || (ProtectedJobOutput = {}));
|
|
2
29
|
export var ProtectedJobOutputConfigurationOutput;
|
|
3
30
|
(function (ProtectedJobOutputConfigurationOutput) {
|
|
4
31
|
ProtectedJobOutputConfigurationOutput.visit = (value, visitor) => {
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CleanRoomsClient } from "../CleanRoomsClient";
|
|
3
|
+
import { ListCollaborationChangeRequestsCommand, } from "../commands/ListCollaborationChangeRequestsCommand";
|
|
4
|
+
export const paginateListCollaborationChangeRequests = createPaginator(CleanRoomsClient, ListCollaborationChangeRequestsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAnalysisTemplatesPaginator";
|
|
3
3
|
export * from "./ListCollaborationAnalysisTemplatesPaginator";
|
|
4
|
+
export * from "./ListCollaborationChangeRequestsPaginator";
|
|
4
5
|
export * from "./ListCollaborationConfiguredAudienceModelAssociationsPaginator";
|
|
5
6
|
export * from "./ListCollaborationIdNamespaceAssociationsPaginator";
|
|
6
7
|
export * from "./ListCollaborationPrivacyBudgetTemplatesPaginator";
|
|
@@ -75,6 +75,7 @@ export const se_CreateCollaborationCommand = async (input, context) => {
|
|
|
75
75
|
let body;
|
|
76
76
|
body = JSON.stringify(take(input, {
|
|
77
77
|
analyticsEngine: [],
|
|
78
|
+
autoApprovedChangeRequestTypes: (_) => _json(_),
|
|
78
79
|
creatorDisplayName: [],
|
|
79
80
|
creatorMLMemberAbilities: (_) => _json(_),
|
|
80
81
|
creatorMemberAbilities: (_) => _json(_),
|
|
@@ -90,6 +91,20 @@ export const se_CreateCollaborationCommand = async (input, context) => {
|
|
|
90
91
|
b.m("POST").h(headers).b(body);
|
|
91
92
|
return b.build();
|
|
92
93
|
};
|
|
94
|
+
export const se_CreateCollaborationChangeRequestCommand = async (input, context) => {
|
|
95
|
+
const b = rb(input, context);
|
|
96
|
+
const headers = {
|
|
97
|
+
"content-type": "application/json",
|
|
98
|
+
};
|
|
99
|
+
b.bp("/collaborations/{collaborationIdentifier}/changeRequests");
|
|
100
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
101
|
+
let body;
|
|
102
|
+
body = JSON.stringify(take(input, {
|
|
103
|
+
changes: (_) => _json(_),
|
|
104
|
+
}));
|
|
105
|
+
b.m("POST").h(headers).b(body);
|
|
106
|
+
return b.build();
|
|
107
|
+
};
|
|
93
108
|
export const se_CreateConfiguredAudienceModelAssociationCommand = async (input, context) => {
|
|
94
109
|
const b = rb(input, context);
|
|
95
110
|
const headers = {
|
|
@@ -395,6 +410,16 @@ export const se_GetCollaborationAnalysisTemplateCommand = async (input, context)
|
|
|
395
410
|
b.m("GET").h(headers).b(body);
|
|
396
411
|
return b.build();
|
|
397
412
|
};
|
|
413
|
+
export const se_GetCollaborationChangeRequestCommand = async (input, context) => {
|
|
414
|
+
const b = rb(input, context);
|
|
415
|
+
const headers = {};
|
|
416
|
+
b.bp("/collaborations/{collaborationIdentifier}/changeRequests/{changeRequestIdentifier}");
|
|
417
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
418
|
+
b.p("changeRequestIdentifier", () => input.changeRequestIdentifier, "{changeRequestIdentifier}", false);
|
|
419
|
+
let body;
|
|
420
|
+
b.m("GET").h(headers).b(body);
|
|
421
|
+
return b.build();
|
|
422
|
+
};
|
|
398
423
|
export const se_GetCollaborationConfiguredAudienceModelAssociationCommand = async (input, context) => {
|
|
399
424
|
const b = rb(input, context);
|
|
400
425
|
const headers = {};
|
|
@@ -581,6 +606,20 @@ export const se_ListCollaborationAnalysisTemplatesCommand = async (input, contex
|
|
|
581
606
|
b.m("GET").h(headers).q(query).b(body);
|
|
582
607
|
return b.build();
|
|
583
608
|
};
|
|
609
|
+
export const se_ListCollaborationChangeRequestsCommand = async (input, context) => {
|
|
610
|
+
const b = rb(input, context);
|
|
611
|
+
const headers = {};
|
|
612
|
+
b.bp("/collaborations/{collaborationIdentifier}/changeRequests");
|
|
613
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
614
|
+
const query = map({
|
|
615
|
+
[_s]: [, input[_s]],
|
|
616
|
+
[_nT]: [, input[_nT]],
|
|
617
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
618
|
+
});
|
|
619
|
+
let body;
|
|
620
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
621
|
+
return b.build();
|
|
622
|
+
};
|
|
584
623
|
export const se_ListCollaborationConfiguredAudienceModelAssociationsCommand = async (input, context) => {
|
|
585
624
|
const b = rb(input, context);
|
|
586
625
|
const headers = {};
|
|
@@ -848,6 +887,7 @@ export const se_StartProtectedJobCommand = async (input, context) => {
|
|
|
848
887
|
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
849
888
|
let body;
|
|
850
889
|
body = JSON.stringify(take(input, {
|
|
890
|
+
computeConfiguration: (_) => _json(_),
|
|
851
891
|
jobParameters: (_) => _json(_),
|
|
852
892
|
resultConfiguration: (_) => _json(_),
|
|
853
893
|
type: [],
|
|
@@ -1180,6 +1220,20 @@ export const de_CreateCollaborationCommand = async (output, context) => {
|
|
|
1180
1220
|
Object.assign(contents, doc);
|
|
1181
1221
|
return contents;
|
|
1182
1222
|
};
|
|
1223
|
+
export const de_CreateCollaborationChangeRequestCommand = async (output, context) => {
|
|
1224
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1225
|
+
return de_CommandError(output, context);
|
|
1226
|
+
}
|
|
1227
|
+
const contents = map({
|
|
1228
|
+
$metadata: deserializeMetadata(output),
|
|
1229
|
+
});
|
|
1230
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1231
|
+
const doc = take(data, {
|
|
1232
|
+
collaborationChangeRequest: (_) => de_CollaborationChangeRequest(_, context),
|
|
1233
|
+
});
|
|
1234
|
+
Object.assign(contents, doc);
|
|
1235
|
+
return contents;
|
|
1236
|
+
};
|
|
1183
1237
|
export const de_CreateConfiguredAudienceModelAssociationCommand = async (output, context) => {
|
|
1184
1238
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1185
1239
|
return de_CommandError(output, context);
|
|
@@ -1468,6 +1522,20 @@ export const de_GetCollaborationAnalysisTemplateCommand = async (output, context
|
|
|
1468
1522
|
Object.assign(contents, doc);
|
|
1469
1523
|
return contents;
|
|
1470
1524
|
};
|
|
1525
|
+
export const de_GetCollaborationChangeRequestCommand = async (output, context) => {
|
|
1526
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1527
|
+
return de_CommandError(output, context);
|
|
1528
|
+
}
|
|
1529
|
+
const contents = map({
|
|
1530
|
+
$metadata: deserializeMetadata(output),
|
|
1531
|
+
});
|
|
1532
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1533
|
+
const doc = take(data, {
|
|
1534
|
+
collaborationChangeRequest: (_) => de_CollaborationChangeRequest(_, context),
|
|
1535
|
+
});
|
|
1536
|
+
Object.assign(contents, doc);
|
|
1537
|
+
return contents;
|
|
1538
|
+
};
|
|
1471
1539
|
export const de_GetCollaborationConfiguredAudienceModelAssociationCommand = async (output, context) => {
|
|
1472
1540
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1473
1541
|
return de_CommandError(output, context);
|
|
@@ -1722,6 +1790,21 @@ export const de_ListCollaborationAnalysisTemplatesCommand = async (output, conte
|
|
|
1722
1790
|
Object.assign(contents, doc);
|
|
1723
1791
|
return contents;
|
|
1724
1792
|
};
|
|
1793
|
+
export const de_ListCollaborationChangeRequestsCommand = async (output, context) => {
|
|
1794
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1795
|
+
return de_CommandError(output, context);
|
|
1796
|
+
}
|
|
1797
|
+
const contents = map({
|
|
1798
|
+
$metadata: deserializeMetadata(output),
|
|
1799
|
+
});
|
|
1800
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1801
|
+
const doc = take(data, {
|
|
1802
|
+
collaborationChangeRequestSummaries: (_) => de_CollaborationChangeRequestSummaryList(_, context),
|
|
1803
|
+
nextToken: __expectString,
|
|
1804
|
+
});
|
|
1805
|
+
Object.assign(contents, doc);
|
|
1806
|
+
return contents;
|
|
1807
|
+
};
|
|
1725
1808
|
export const de_ListCollaborationConfiguredAudienceModelAssociationsCommand = async (output, context) => {
|
|
1726
1809
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1727
1810
|
return de_CommandError(output, context);
|
|
@@ -2457,6 +2540,7 @@ const de_Collaboration = (output, context) => {
|
|
|
2457
2540
|
return take(output, {
|
|
2458
2541
|
analyticsEngine: __expectString,
|
|
2459
2542
|
arn: __expectString,
|
|
2543
|
+
autoApprovedChangeTypes: _json,
|
|
2460
2544
|
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2461
2545
|
creatorAccountId: __expectString,
|
|
2462
2546
|
creatorDisplayName: __expectString,
|
|
@@ -2521,6 +2605,36 @@ const de_CollaborationAnalysisTemplateSummaryList = (output, context) => {
|
|
|
2521
2605
|
});
|
|
2522
2606
|
return retVal;
|
|
2523
2607
|
};
|
|
2608
|
+
const de_CollaborationChangeRequest = (output, context) => {
|
|
2609
|
+
return take(output, {
|
|
2610
|
+
changes: _json,
|
|
2611
|
+
collaborationId: __expectString,
|
|
2612
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2613
|
+
id: __expectString,
|
|
2614
|
+
isAutoApproved: __expectBoolean,
|
|
2615
|
+
status: __expectString,
|
|
2616
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2617
|
+
});
|
|
2618
|
+
};
|
|
2619
|
+
const de_CollaborationChangeRequestSummary = (output, context) => {
|
|
2620
|
+
return take(output, {
|
|
2621
|
+
changes: _json,
|
|
2622
|
+
collaborationId: __expectString,
|
|
2623
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2624
|
+
id: __expectString,
|
|
2625
|
+
isAutoApproved: __expectBoolean,
|
|
2626
|
+
status: __expectString,
|
|
2627
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2628
|
+
});
|
|
2629
|
+
};
|
|
2630
|
+
const de_CollaborationChangeRequestSummaryList = (output, context) => {
|
|
2631
|
+
const retVal = (output || [])
|
|
2632
|
+
.filter((e) => e != null)
|
|
2633
|
+
.map((entry) => {
|
|
2634
|
+
return de_CollaborationChangeRequestSummary(entry, context);
|
|
2635
|
+
});
|
|
2636
|
+
return retVal;
|
|
2637
|
+
};
|
|
2524
2638
|
const de_CollaborationConfiguredAudienceModelAssociation = (output, context) => {
|
|
2525
2639
|
return take(output, {
|
|
2526
2640
|
arn: __expectString,
|
|
@@ -3052,6 +3166,7 @@ const de_PrivacyBudgetTemplateSummaryList = (output, context) => {
|
|
|
3052
3166
|
};
|
|
3053
3167
|
const de_ProtectedJob = (output, context) => {
|
|
3054
3168
|
return take(output, {
|
|
3169
|
+
computeConfiguration: (_) => _json(__expectUnion(_)),
|
|
3055
3170
|
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3056
3171
|
error: _json,
|
|
3057
3172
|
id: __expectString,
|
|
@@ -4,6 +4,7 @@ import { BatchGetCollaborationAnalysisTemplateCommandInput, BatchGetCollaboratio
|
|
|
4
4
|
import { BatchGetSchemaAnalysisRuleCommandInput, BatchGetSchemaAnalysisRuleCommandOutput } from "./commands/BatchGetSchemaAnalysisRuleCommand";
|
|
5
5
|
import { BatchGetSchemaCommandInput, BatchGetSchemaCommandOutput } from "./commands/BatchGetSchemaCommand";
|
|
6
6
|
import { CreateAnalysisTemplateCommandInput, CreateAnalysisTemplateCommandOutput } from "./commands/CreateAnalysisTemplateCommand";
|
|
7
|
+
import { CreateCollaborationChangeRequestCommandInput, CreateCollaborationChangeRequestCommandOutput } from "./commands/CreateCollaborationChangeRequestCommand";
|
|
7
8
|
import { CreateCollaborationCommandInput, CreateCollaborationCommandOutput } from "./commands/CreateCollaborationCommand";
|
|
8
9
|
import { CreateConfiguredAudienceModelAssociationCommandInput, CreateConfiguredAudienceModelAssociationCommandOutput } from "./commands/CreateConfiguredAudienceModelAssociationCommand";
|
|
9
10
|
import { CreateConfiguredTableAnalysisRuleCommandInput, CreateConfiguredTableAnalysisRuleCommandOutput } from "./commands/CreateConfiguredTableAnalysisRuleCommand";
|
|
@@ -28,6 +29,7 @@ import { DeleteMembershipCommandInput, DeleteMembershipCommandOutput } from "./c
|
|
|
28
29
|
import { DeletePrivacyBudgetTemplateCommandInput, DeletePrivacyBudgetTemplateCommandOutput } from "./commands/DeletePrivacyBudgetTemplateCommand";
|
|
29
30
|
import { GetAnalysisTemplateCommandInput, GetAnalysisTemplateCommandOutput } from "./commands/GetAnalysisTemplateCommand";
|
|
30
31
|
import { GetCollaborationAnalysisTemplateCommandInput, GetCollaborationAnalysisTemplateCommandOutput } from "./commands/GetCollaborationAnalysisTemplateCommand";
|
|
32
|
+
import { GetCollaborationChangeRequestCommandInput, GetCollaborationChangeRequestCommandOutput } from "./commands/GetCollaborationChangeRequestCommand";
|
|
31
33
|
import { GetCollaborationCommandInput, GetCollaborationCommandOutput } from "./commands/GetCollaborationCommand";
|
|
32
34
|
import { GetCollaborationConfiguredAudienceModelAssociationCommandInput, GetCollaborationConfiguredAudienceModelAssociationCommandOutput } from "./commands/GetCollaborationConfiguredAudienceModelAssociationCommand";
|
|
33
35
|
import { GetCollaborationIdNamespaceAssociationCommandInput, GetCollaborationIdNamespaceAssociationCommandOutput } from "./commands/GetCollaborationIdNamespaceAssociationCommand";
|
|
@@ -47,6 +49,7 @@ import { GetSchemaAnalysisRuleCommandInput, GetSchemaAnalysisRuleCommandOutput }
|
|
|
47
49
|
import { GetSchemaCommandInput, GetSchemaCommandOutput } from "./commands/GetSchemaCommand";
|
|
48
50
|
import { ListAnalysisTemplatesCommandInput, ListAnalysisTemplatesCommandOutput } from "./commands/ListAnalysisTemplatesCommand";
|
|
49
51
|
import { ListCollaborationAnalysisTemplatesCommandInput, ListCollaborationAnalysisTemplatesCommandOutput } from "./commands/ListCollaborationAnalysisTemplatesCommand";
|
|
52
|
+
import { ListCollaborationChangeRequestsCommandInput, ListCollaborationChangeRequestsCommandOutput } from "./commands/ListCollaborationChangeRequestsCommand";
|
|
50
53
|
import { ListCollaborationConfiguredAudienceModelAssociationsCommandInput, ListCollaborationConfiguredAudienceModelAssociationsCommandOutput } from "./commands/ListCollaborationConfiguredAudienceModelAssociationsCommand";
|
|
51
54
|
import { ListCollaborationIdNamespaceAssociationsCommandInput, ListCollaborationIdNamespaceAssociationsCommandOutput } from "./commands/ListCollaborationIdNamespaceAssociationsCommand";
|
|
52
55
|
import { ListCollaborationPrivacyBudgetsCommandInput, ListCollaborationPrivacyBudgetsCommandOutput } from "./commands/ListCollaborationPrivacyBudgetsCommand";
|
|
@@ -115,6 +118,12 @@ export interface CleanRooms {
|
|
|
115
118
|
createCollaboration(args: CreateCollaborationCommandInput, options?: __HttpHandlerOptions): Promise<CreateCollaborationCommandOutput>;
|
|
116
119
|
createCollaboration(args: CreateCollaborationCommandInput, cb: (err: any, data?: CreateCollaborationCommandOutput) => void): void;
|
|
117
120
|
createCollaboration(args: CreateCollaborationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCollaborationCommandOutput) => void): void;
|
|
121
|
+
/**
|
|
122
|
+
* @see {@link CreateCollaborationChangeRequestCommand}
|
|
123
|
+
*/
|
|
124
|
+
createCollaborationChangeRequest(args: CreateCollaborationChangeRequestCommandInput, options?: __HttpHandlerOptions): Promise<CreateCollaborationChangeRequestCommandOutput>;
|
|
125
|
+
createCollaborationChangeRequest(args: CreateCollaborationChangeRequestCommandInput, cb: (err: any, data?: CreateCollaborationChangeRequestCommandOutput) => void): void;
|
|
126
|
+
createCollaborationChangeRequest(args: CreateCollaborationChangeRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCollaborationChangeRequestCommandOutput) => void): void;
|
|
118
127
|
/**
|
|
119
128
|
* @see {@link CreateConfiguredAudienceModelAssociationCommand}
|
|
120
129
|
*/
|
|
@@ -259,6 +268,12 @@ export interface CleanRooms {
|
|
|
259
268
|
getCollaborationAnalysisTemplate(args: GetCollaborationAnalysisTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetCollaborationAnalysisTemplateCommandOutput>;
|
|
260
269
|
getCollaborationAnalysisTemplate(args: GetCollaborationAnalysisTemplateCommandInput, cb: (err: any, data?: GetCollaborationAnalysisTemplateCommandOutput) => void): void;
|
|
261
270
|
getCollaborationAnalysisTemplate(args: GetCollaborationAnalysisTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCollaborationAnalysisTemplateCommandOutput) => void): void;
|
|
271
|
+
/**
|
|
272
|
+
* @see {@link GetCollaborationChangeRequestCommand}
|
|
273
|
+
*/
|
|
274
|
+
getCollaborationChangeRequest(args: GetCollaborationChangeRequestCommandInput, options?: __HttpHandlerOptions): Promise<GetCollaborationChangeRequestCommandOutput>;
|
|
275
|
+
getCollaborationChangeRequest(args: GetCollaborationChangeRequestCommandInput, cb: (err: any, data?: GetCollaborationChangeRequestCommandOutput) => void): void;
|
|
276
|
+
getCollaborationChangeRequest(args: GetCollaborationChangeRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCollaborationChangeRequestCommandOutput) => void): void;
|
|
262
277
|
/**
|
|
263
278
|
* @see {@link GetCollaborationConfiguredAudienceModelAssociationCommand}
|
|
264
279
|
*/
|
|
@@ -367,6 +382,12 @@ export interface CleanRooms {
|
|
|
367
382
|
listCollaborationAnalysisTemplates(args: ListCollaborationAnalysisTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListCollaborationAnalysisTemplatesCommandOutput>;
|
|
368
383
|
listCollaborationAnalysisTemplates(args: ListCollaborationAnalysisTemplatesCommandInput, cb: (err: any, data?: ListCollaborationAnalysisTemplatesCommandOutput) => void): void;
|
|
369
384
|
listCollaborationAnalysisTemplates(args: ListCollaborationAnalysisTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCollaborationAnalysisTemplatesCommandOutput) => void): void;
|
|
385
|
+
/**
|
|
386
|
+
* @see {@link ListCollaborationChangeRequestsCommand}
|
|
387
|
+
*/
|
|
388
|
+
listCollaborationChangeRequests(args: ListCollaborationChangeRequestsCommandInput, options?: __HttpHandlerOptions): Promise<ListCollaborationChangeRequestsCommandOutput>;
|
|
389
|
+
listCollaborationChangeRequests(args: ListCollaborationChangeRequestsCommandInput, cb: (err: any, data?: ListCollaborationChangeRequestsCommandOutput) => void): void;
|
|
390
|
+
listCollaborationChangeRequests(args: ListCollaborationChangeRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCollaborationChangeRequestsCommandOutput) => void): void;
|
|
370
391
|
/**
|
|
371
392
|
* @see {@link ListCollaborationConfiguredAudienceModelAssociationsCommand}
|
|
372
393
|
*/
|
|
@@ -11,6 +11,7 @@ import { BatchGetCollaborationAnalysisTemplateCommandInput, BatchGetCollaboratio
|
|
|
11
11
|
import { BatchGetSchemaAnalysisRuleCommandInput, BatchGetSchemaAnalysisRuleCommandOutput } from "./commands/BatchGetSchemaAnalysisRuleCommand";
|
|
12
12
|
import { BatchGetSchemaCommandInput, BatchGetSchemaCommandOutput } from "./commands/BatchGetSchemaCommand";
|
|
13
13
|
import { CreateAnalysisTemplateCommandInput, CreateAnalysisTemplateCommandOutput } from "./commands/CreateAnalysisTemplateCommand";
|
|
14
|
+
import { CreateCollaborationChangeRequestCommandInput, CreateCollaborationChangeRequestCommandOutput } from "./commands/CreateCollaborationChangeRequestCommand";
|
|
14
15
|
import { CreateCollaborationCommandInput, CreateCollaborationCommandOutput } from "./commands/CreateCollaborationCommand";
|
|
15
16
|
import { CreateConfiguredAudienceModelAssociationCommandInput, CreateConfiguredAudienceModelAssociationCommandOutput } from "./commands/CreateConfiguredAudienceModelAssociationCommand";
|
|
16
17
|
import { CreateConfiguredTableAnalysisRuleCommandInput, CreateConfiguredTableAnalysisRuleCommandOutput } from "./commands/CreateConfiguredTableAnalysisRuleCommand";
|
|
@@ -35,6 +36,7 @@ import { DeleteMembershipCommandInput, DeleteMembershipCommandOutput } from "./c
|
|
|
35
36
|
import { DeletePrivacyBudgetTemplateCommandInput, DeletePrivacyBudgetTemplateCommandOutput } from "./commands/DeletePrivacyBudgetTemplateCommand";
|
|
36
37
|
import { GetAnalysisTemplateCommandInput, GetAnalysisTemplateCommandOutput } from "./commands/GetAnalysisTemplateCommand";
|
|
37
38
|
import { GetCollaborationAnalysisTemplateCommandInput, GetCollaborationAnalysisTemplateCommandOutput } from "./commands/GetCollaborationAnalysisTemplateCommand";
|
|
39
|
+
import { GetCollaborationChangeRequestCommandInput, GetCollaborationChangeRequestCommandOutput } from "./commands/GetCollaborationChangeRequestCommand";
|
|
38
40
|
import { GetCollaborationCommandInput, GetCollaborationCommandOutput } from "./commands/GetCollaborationCommand";
|
|
39
41
|
import { GetCollaborationConfiguredAudienceModelAssociationCommandInput, GetCollaborationConfiguredAudienceModelAssociationCommandOutput } from "./commands/GetCollaborationConfiguredAudienceModelAssociationCommand";
|
|
40
42
|
import { GetCollaborationIdNamespaceAssociationCommandInput, GetCollaborationIdNamespaceAssociationCommandOutput } from "./commands/GetCollaborationIdNamespaceAssociationCommand";
|
|
@@ -54,6 +56,7 @@ import { GetSchemaAnalysisRuleCommandInput, GetSchemaAnalysisRuleCommandOutput }
|
|
|
54
56
|
import { GetSchemaCommandInput, GetSchemaCommandOutput } from "./commands/GetSchemaCommand";
|
|
55
57
|
import { ListAnalysisTemplatesCommandInput, ListAnalysisTemplatesCommandOutput } from "./commands/ListAnalysisTemplatesCommand";
|
|
56
58
|
import { ListCollaborationAnalysisTemplatesCommandInput, ListCollaborationAnalysisTemplatesCommandOutput } from "./commands/ListCollaborationAnalysisTemplatesCommand";
|
|
59
|
+
import { ListCollaborationChangeRequestsCommandInput, ListCollaborationChangeRequestsCommandOutput } from "./commands/ListCollaborationChangeRequestsCommand";
|
|
57
60
|
import { ListCollaborationConfiguredAudienceModelAssociationsCommandInput, ListCollaborationConfiguredAudienceModelAssociationsCommandOutput } from "./commands/ListCollaborationConfiguredAudienceModelAssociationsCommand";
|
|
58
61
|
import { ListCollaborationIdNamespaceAssociationsCommandInput, ListCollaborationIdNamespaceAssociationsCommandOutput } from "./commands/ListCollaborationIdNamespaceAssociationsCommand";
|
|
59
62
|
import { ListCollaborationPrivacyBudgetsCommandInput, ListCollaborationPrivacyBudgetsCommandOutput } from "./commands/ListCollaborationPrivacyBudgetsCommand";
|
|
@@ -97,11 +100,11 @@ export { __Client };
|
|
|
97
100
|
/**
|
|
98
101
|
* @public
|
|
99
102
|
*/
|
|
100
|
-
export type ServiceInputTypes = BatchGetCollaborationAnalysisTemplateCommandInput | BatchGetSchemaAnalysisRuleCommandInput | BatchGetSchemaCommandInput | CreateAnalysisTemplateCommandInput | CreateCollaborationCommandInput | CreateConfiguredAudienceModelAssociationCommandInput | CreateConfiguredTableAnalysisRuleCommandInput | CreateConfiguredTableAssociationAnalysisRuleCommandInput | CreateConfiguredTableAssociationCommandInput | CreateConfiguredTableCommandInput | CreateIdMappingTableCommandInput | CreateIdNamespaceAssociationCommandInput | CreateMembershipCommandInput | CreatePrivacyBudgetTemplateCommandInput | DeleteAnalysisTemplateCommandInput | DeleteCollaborationCommandInput | DeleteConfiguredAudienceModelAssociationCommandInput | DeleteConfiguredTableAnalysisRuleCommandInput | DeleteConfiguredTableAssociationAnalysisRuleCommandInput | DeleteConfiguredTableAssociationCommandInput | DeleteConfiguredTableCommandInput | DeleteIdMappingTableCommandInput | DeleteIdNamespaceAssociationCommandInput | DeleteMemberCommandInput | DeleteMembershipCommandInput | DeletePrivacyBudgetTemplateCommandInput | GetAnalysisTemplateCommandInput | GetCollaborationAnalysisTemplateCommandInput | GetCollaborationCommandInput | GetCollaborationConfiguredAudienceModelAssociationCommandInput | GetCollaborationIdNamespaceAssociationCommandInput | GetCollaborationPrivacyBudgetTemplateCommandInput | GetConfiguredAudienceModelAssociationCommandInput | GetConfiguredTableAnalysisRuleCommandInput | GetConfiguredTableAssociationAnalysisRuleCommandInput | GetConfiguredTableAssociationCommandInput | GetConfiguredTableCommandInput | GetIdMappingTableCommandInput | GetIdNamespaceAssociationCommandInput | GetMembershipCommandInput | GetPrivacyBudgetTemplateCommandInput | GetProtectedJobCommandInput | GetProtectedQueryCommandInput | GetSchemaAnalysisRuleCommandInput | GetSchemaCommandInput | ListAnalysisTemplatesCommandInput | ListCollaborationAnalysisTemplatesCommandInput | ListCollaborationConfiguredAudienceModelAssociationsCommandInput | ListCollaborationIdNamespaceAssociationsCommandInput | ListCollaborationPrivacyBudgetTemplatesCommandInput | ListCollaborationPrivacyBudgetsCommandInput | ListCollaborationsCommandInput | ListConfiguredAudienceModelAssociationsCommandInput | ListConfiguredTableAssociationsCommandInput | ListConfiguredTablesCommandInput | ListIdMappingTablesCommandInput | ListIdNamespaceAssociationsCommandInput | ListMembersCommandInput | ListMembershipsCommandInput | ListPrivacyBudgetTemplatesCommandInput | ListPrivacyBudgetsCommandInput | ListProtectedJobsCommandInput | ListProtectedQueriesCommandInput | ListSchemasCommandInput | ListTagsForResourceCommandInput | PopulateIdMappingTableCommandInput | PreviewPrivacyImpactCommandInput | StartProtectedJobCommandInput | StartProtectedQueryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnalysisTemplateCommandInput | UpdateCollaborationCommandInput | UpdateConfiguredAudienceModelAssociationCommandInput | UpdateConfiguredTableAnalysisRuleCommandInput | UpdateConfiguredTableAssociationAnalysisRuleCommandInput | UpdateConfiguredTableAssociationCommandInput | UpdateConfiguredTableCommandInput | UpdateIdMappingTableCommandInput | UpdateIdNamespaceAssociationCommandInput | UpdateMembershipCommandInput | UpdatePrivacyBudgetTemplateCommandInput | UpdateProtectedJobCommandInput | UpdateProtectedQueryCommandInput;
|
|
103
|
+
export type ServiceInputTypes = BatchGetCollaborationAnalysisTemplateCommandInput | BatchGetSchemaAnalysisRuleCommandInput | BatchGetSchemaCommandInput | CreateAnalysisTemplateCommandInput | CreateCollaborationChangeRequestCommandInput | CreateCollaborationCommandInput | CreateConfiguredAudienceModelAssociationCommandInput | CreateConfiguredTableAnalysisRuleCommandInput | CreateConfiguredTableAssociationAnalysisRuleCommandInput | CreateConfiguredTableAssociationCommandInput | CreateConfiguredTableCommandInput | CreateIdMappingTableCommandInput | CreateIdNamespaceAssociationCommandInput | CreateMembershipCommandInput | CreatePrivacyBudgetTemplateCommandInput | DeleteAnalysisTemplateCommandInput | DeleteCollaborationCommandInput | DeleteConfiguredAudienceModelAssociationCommandInput | DeleteConfiguredTableAnalysisRuleCommandInput | DeleteConfiguredTableAssociationAnalysisRuleCommandInput | DeleteConfiguredTableAssociationCommandInput | DeleteConfiguredTableCommandInput | DeleteIdMappingTableCommandInput | DeleteIdNamespaceAssociationCommandInput | DeleteMemberCommandInput | DeleteMembershipCommandInput | DeletePrivacyBudgetTemplateCommandInput | GetAnalysisTemplateCommandInput | GetCollaborationAnalysisTemplateCommandInput | GetCollaborationChangeRequestCommandInput | GetCollaborationCommandInput | GetCollaborationConfiguredAudienceModelAssociationCommandInput | GetCollaborationIdNamespaceAssociationCommandInput | GetCollaborationPrivacyBudgetTemplateCommandInput | GetConfiguredAudienceModelAssociationCommandInput | GetConfiguredTableAnalysisRuleCommandInput | GetConfiguredTableAssociationAnalysisRuleCommandInput | GetConfiguredTableAssociationCommandInput | GetConfiguredTableCommandInput | GetIdMappingTableCommandInput | GetIdNamespaceAssociationCommandInput | GetMembershipCommandInput | GetPrivacyBudgetTemplateCommandInput | GetProtectedJobCommandInput | GetProtectedQueryCommandInput | GetSchemaAnalysisRuleCommandInput | GetSchemaCommandInput | ListAnalysisTemplatesCommandInput | ListCollaborationAnalysisTemplatesCommandInput | ListCollaborationChangeRequestsCommandInput | ListCollaborationConfiguredAudienceModelAssociationsCommandInput | ListCollaborationIdNamespaceAssociationsCommandInput | ListCollaborationPrivacyBudgetTemplatesCommandInput | ListCollaborationPrivacyBudgetsCommandInput | ListCollaborationsCommandInput | ListConfiguredAudienceModelAssociationsCommandInput | ListConfiguredTableAssociationsCommandInput | ListConfiguredTablesCommandInput | ListIdMappingTablesCommandInput | ListIdNamespaceAssociationsCommandInput | ListMembersCommandInput | ListMembershipsCommandInput | ListPrivacyBudgetTemplatesCommandInput | ListPrivacyBudgetsCommandInput | ListProtectedJobsCommandInput | ListProtectedQueriesCommandInput | ListSchemasCommandInput | ListTagsForResourceCommandInput | PopulateIdMappingTableCommandInput | PreviewPrivacyImpactCommandInput | StartProtectedJobCommandInput | StartProtectedQueryCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnalysisTemplateCommandInput | UpdateCollaborationCommandInput | UpdateConfiguredAudienceModelAssociationCommandInput | UpdateConfiguredTableAnalysisRuleCommandInput | UpdateConfiguredTableAssociationAnalysisRuleCommandInput | UpdateConfiguredTableAssociationCommandInput | UpdateConfiguredTableCommandInput | UpdateIdMappingTableCommandInput | UpdateIdNamespaceAssociationCommandInput | UpdateMembershipCommandInput | UpdatePrivacyBudgetTemplateCommandInput | UpdateProtectedJobCommandInput | UpdateProtectedQueryCommandInput;
|
|
101
104
|
/**
|
|
102
105
|
* @public
|
|
103
106
|
*/
|
|
104
|
-
export type ServiceOutputTypes = BatchGetCollaborationAnalysisTemplateCommandOutput | BatchGetSchemaAnalysisRuleCommandOutput | BatchGetSchemaCommandOutput | CreateAnalysisTemplateCommandOutput | CreateCollaborationCommandOutput | CreateConfiguredAudienceModelAssociationCommandOutput | CreateConfiguredTableAnalysisRuleCommandOutput | CreateConfiguredTableAssociationAnalysisRuleCommandOutput | CreateConfiguredTableAssociationCommandOutput | CreateConfiguredTableCommandOutput | CreateIdMappingTableCommandOutput | CreateIdNamespaceAssociationCommandOutput | CreateMembershipCommandOutput | CreatePrivacyBudgetTemplateCommandOutput | DeleteAnalysisTemplateCommandOutput | DeleteCollaborationCommandOutput | DeleteConfiguredAudienceModelAssociationCommandOutput | DeleteConfiguredTableAnalysisRuleCommandOutput | DeleteConfiguredTableAssociationAnalysisRuleCommandOutput | DeleteConfiguredTableAssociationCommandOutput | DeleteConfiguredTableCommandOutput | DeleteIdMappingTableCommandOutput | DeleteIdNamespaceAssociationCommandOutput | DeleteMemberCommandOutput | DeleteMembershipCommandOutput | DeletePrivacyBudgetTemplateCommandOutput | GetAnalysisTemplateCommandOutput | GetCollaborationAnalysisTemplateCommandOutput | GetCollaborationCommandOutput | GetCollaborationConfiguredAudienceModelAssociationCommandOutput | GetCollaborationIdNamespaceAssociationCommandOutput | GetCollaborationPrivacyBudgetTemplateCommandOutput | GetConfiguredAudienceModelAssociationCommandOutput | GetConfiguredTableAnalysisRuleCommandOutput | GetConfiguredTableAssociationAnalysisRuleCommandOutput | GetConfiguredTableAssociationCommandOutput | GetConfiguredTableCommandOutput | GetIdMappingTableCommandOutput | GetIdNamespaceAssociationCommandOutput | GetMembershipCommandOutput | GetPrivacyBudgetTemplateCommandOutput | GetProtectedJobCommandOutput | GetProtectedQueryCommandOutput | GetSchemaAnalysisRuleCommandOutput | GetSchemaCommandOutput | ListAnalysisTemplatesCommandOutput | ListCollaborationAnalysisTemplatesCommandOutput | ListCollaborationConfiguredAudienceModelAssociationsCommandOutput | ListCollaborationIdNamespaceAssociationsCommandOutput | ListCollaborationPrivacyBudgetTemplatesCommandOutput | ListCollaborationPrivacyBudgetsCommandOutput | ListCollaborationsCommandOutput | ListConfiguredAudienceModelAssociationsCommandOutput | ListConfiguredTableAssociationsCommandOutput | ListConfiguredTablesCommandOutput | ListIdMappingTablesCommandOutput | ListIdNamespaceAssociationsCommandOutput | ListMembersCommandOutput | ListMembershipsCommandOutput | ListPrivacyBudgetTemplatesCommandOutput | ListPrivacyBudgetsCommandOutput | ListProtectedJobsCommandOutput | ListProtectedQueriesCommandOutput | ListSchemasCommandOutput | ListTagsForResourceCommandOutput | PopulateIdMappingTableCommandOutput | PreviewPrivacyImpactCommandOutput | StartProtectedJobCommandOutput | StartProtectedQueryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnalysisTemplateCommandOutput | UpdateCollaborationCommandOutput | UpdateConfiguredAudienceModelAssociationCommandOutput | UpdateConfiguredTableAnalysisRuleCommandOutput | UpdateConfiguredTableAssociationAnalysisRuleCommandOutput | UpdateConfiguredTableAssociationCommandOutput | UpdateConfiguredTableCommandOutput | UpdateIdMappingTableCommandOutput | UpdateIdNamespaceAssociationCommandOutput | UpdateMembershipCommandOutput | UpdatePrivacyBudgetTemplateCommandOutput | UpdateProtectedJobCommandOutput | UpdateProtectedQueryCommandOutput;
|
|
107
|
+
export type ServiceOutputTypes = BatchGetCollaborationAnalysisTemplateCommandOutput | BatchGetSchemaAnalysisRuleCommandOutput | BatchGetSchemaCommandOutput | CreateAnalysisTemplateCommandOutput | CreateCollaborationChangeRequestCommandOutput | CreateCollaborationCommandOutput | CreateConfiguredAudienceModelAssociationCommandOutput | CreateConfiguredTableAnalysisRuleCommandOutput | CreateConfiguredTableAssociationAnalysisRuleCommandOutput | CreateConfiguredTableAssociationCommandOutput | CreateConfiguredTableCommandOutput | CreateIdMappingTableCommandOutput | CreateIdNamespaceAssociationCommandOutput | CreateMembershipCommandOutput | CreatePrivacyBudgetTemplateCommandOutput | DeleteAnalysisTemplateCommandOutput | DeleteCollaborationCommandOutput | DeleteConfiguredAudienceModelAssociationCommandOutput | DeleteConfiguredTableAnalysisRuleCommandOutput | DeleteConfiguredTableAssociationAnalysisRuleCommandOutput | DeleteConfiguredTableAssociationCommandOutput | DeleteConfiguredTableCommandOutput | DeleteIdMappingTableCommandOutput | DeleteIdNamespaceAssociationCommandOutput | DeleteMemberCommandOutput | DeleteMembershipCommandOutput | DeletePrivacyBudgetTemplateCommandOutput | GetAnalysisTemplateCommandOutput | GetCollaborationAnalysisTemplateCommandOutput | GetCollaborationChangeRequestCommandOutput | GetCollaborationCommandOutput | GetCollaborationConfiguredAudienceModelAssociationCommandOutput | GetCollaborationIdNamespaceAssociationCommandOutput | GetCollaborationPrivacyBudgetTemplateCommandOutput | GetConfiguredAudienceModelAssociationCommandOutput | GetConfiguredTableAnalysisRuleCommandOutput | GetConfiguredTableAssociationAnalysisRuleCommandOutput | GetConfiguredTableAssociationCommandOutput | GetConfiguredTableCommandOutput | GetIdMappingTableCommandOutput | GetIdNamespaceAssociationCommandOutput | GetMembershipCommandOutput | GetPrivacyBudgetTemplateCommandOutput | GetProtectedJobCommandOutput | GetProtectedQueryCommandOutput | GetSchemaAnalysisRuleCommandOutput | GetSchemaCommandOutput | ListAnalysisTemplatesCommandOutput | ListCollaborationAnalysisTemplatesCommandOutput | ListCollaborationChangeRequestsCommandOutput | ListCollaborationConfiguredAudienceModelAssociationsCommandOutput | ListCollaborationIdNamespaceAssociationsCommandOutput | ListCollaborationPrivacyBudgetTemplatesCommandOutput | ListCollaborationPrivacyBudgetsCommandOutput | ListCollaborationsCommandOutput | ListConfiguredAudienceModelAssociationsCommandOutput | ListConfiguredTableAssociationsCommandOutput | ListConfiguredTablesCommandOutput | ListIdMappingTablesCommandOutput | ListIdNamespaceAssociationsCommandOutput | ListMembersCommandOutput | ListMembershipsCommandOutput | ListPrivacyBudgetTemplatesCommandOutput | ListPrivacyBudgetsCommandOutput | ListProtectedJobsCommandOutput | ListProtectedQueriesCommandOutput | ListSchemasCommandOutput | ListTagsForResourceCommandOutput | PopulateIdMappingTableCommandOutput | PreviewPrivacyImpactCommandOutput | StartProtectedJobCommandOutput | StartProtectedQueryCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnalysisTemplateCommandOutput | UpdateCollaborationCommandOutput | UpdateConfiguredAudienceModelAssociationCommandOutput | UpdateConfiguredTableAnalysisRuleCommandOutput | UpdateConfiguredTableAssociationAnalysisRuleCommandOutput | UpdateConfiguredTableAssociationCommandOutput | UpdateConfiguredTableCommandOutput | UpdateIdMappingTableCommandOutput | UpdateIdNamespaceAssociationCommandOutput | UpdateMembershipCommandOutput | UpdatePrivacyBudgetTemplateCommandOutput | UpdateProtectedJobCommandOutput | UpdateProtectedQueryCommandOutput;
|
|
105
108
|
/**
|
|
106
109
|
* @public
|
|
107
110
|
*/
|
|
@@ -0,0 +1,131 @@
|
|
|
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 { CreateCollaborationChangeRequestInput, CreateCollaborationChangeRequestOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateCollaborationChangeRequestCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateCollaborationChangeRequestCommandInput extends CreateCollaborationChangeRequestInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateCollaborationChangeRequestCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateCollaborationChangeRequestCommandOutput extends CreateCollaborationChangeRequestOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateCollaborationChangeRequestCommand_base: {
|
|
25
|
+
new (input: CreateCollaborationChangeRequestCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCollaborationChangeRequestCommandInput, CreateCollaborationChangeRequestCommandOutput, CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateCollaborationChangeRequestCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCollaborationChangeRequestCommandInput, CreateCollaborationChangeRequestCommandOutput, CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new change request to modify an existing collaboration. This enables post-creation modifications to collaborations through a structured API-driven approach.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CleanRoomsClient, CreateCollaborationChangeRequestCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import
|
|
35
|
+
* // const { CleanRoomsClient, CreateCollaborationChangeRequestCommand } = require("@aws-sdk/client-cleanrooms"); // CommonJS import
|
|
36
|
+
* const client = new CleanRoomsClient(config);
|
|
37
|
+
* const input = { // CreateCollaborationChangeRequestInput
|
|
38
|
+
* collaborationIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* changes: [ // ChangeInputList // required
|
|
40
|
+
* { // ChangeInput
|
|
41
|
+
* specificationType: "MEMBER", // required
|
|
42
|
+
* specification: { // ChangeSpecification Union: only one key present
|
|
43
|
+
* member: { // MemberChangeSpecification
|
|
44
|
+
* accountId: "STRING_VALUE", // required
|
|
45
|
+
* memberAbilities: [ // MemberAbilities // required
|
|
46
|
+
* "CAN_QUERY" || "CAN_RECEIVE_RESULTS" || "CAN_RUN_JOB",
|
|
47
|
+
* ],
|
|
48
|
+
* displayName: "STRING_VALUE",
|
|
49
|
+
* },
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* ],
|
|
53
|
+
* };
|
|
54
|
+
* const command = new CreateCollaborationChangeRequestCommand(input);
|
|
55
|
+
* const response = await client.send(command);
|
|
56
|
+
* // { // CreateCollaborationChangeRequestOutput
|
|
57
|
+
* // collaborationChangeRequest: { // CollaborationChangeRequest
|
|
58
|
+
* // id: "STRING_VALUE", // required
|
|
59
|
+
* // collaborationId: "STRING_VALUE", // required
|
|
60
|
+
* // createTime: new Date("TIMESTAMP"), // required
|
|
61
|
+
* // updateTime: new Date("TIMESTAMP"), // required
|
|
62
|
+
* // status: "PENDING" || "APPROVED" || "CANCELLED" || "DENIED" || "COMMITTED", // required
|
|
63
|
+
* // isAutoApproved: true || false, // required
|
|
64
|
+
* // changes: [ // ChangeList // required
|
|
65
|
+
* // { // Change
|
|
66
|
+
* // specificationType: "MEMBER", // required
|
|
67
|
+
* // specification: { // ChangeSpecification Union: only one key present
|
|
68
|
+
* // member: { // MemberChangeSpecification
|
|
69
|
+
* // accountId: "STRING_VALUE", // required
|
|
70
|
+
* // memberAbilities: [ // MemberAbilities // required
|
|
71
|
+
* // "CAN_QUERY" || "CAN_RECEIVE_RESULTS" || "CAN_RUN_JOB",
|
|
72
|
+
* // ],
|
|
73
|
+
* // displayName: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // },
|
|
76
|
+
* // types: [ // ChangeTypeList // required
|
|
77
|
+
* // "ADD_MEMBER",
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // },
|
|
82
|
+
* // };
|
|
83
|
+
*
|
|
84
|
+
* ```
|
|
85
|
+
*
|
|
86
|
+
* @param CreateCollaborationChangeRequestCommandInput - {@link CreateCollaborationChangeRequestCommandInput}
|
|
87
|
+
* @returns {@link CreateCollaborationChangeRequestCommandOutput}
|
|
88
|
+
* @see {@link CreateCollaborationChangeRequestCommandInput} for command's `input` shape.
|
|
89
|
+
* @see {@link CreateCollaborationChangeRequestCommandOutput} for command's `response` shape.
|
|
90
|
+
* @see {@link CleanRoomsClientResolvedConfig | config} for CleanRoomsClient's `config` shape.
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
93
|
+
* <p>Caller does not have sufficient access to perform this action.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ConflictException} (client fault)
|
|
96
|
+
* <p>Updating or deleting a resource can cause an inconsistent state.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InternalServerException} (server fault)
|
|
99
|
+
* <p>Unexpected error during processing of request.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
102
|
+
* <p>Request references a resource which does not exist.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
105
|
+
* <p>Request denied because service quota has been exceeded.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
108
|
+
* <p>Request was denied due to request throttling.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ValidationException} (client fault)
|
|
111
|
+
* <p>The input fails to satisfy the specified constraints.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link CleanRoomsServiceException}
|
|
114
|
+
* <p>Base exception class for all service exceptions from CleanRooms service.</p>
|
|
115
|
+
*
|
|
116
|
+
*
|
|
117
|
+
* @public
|
|
118
|
+
*/
|
|
119
|
+
export declare class CreateCollaborationChangeRequestCommand extends CreateCollaborationChangeRequestCommand_base {
|
|
120
|
+
/** @internal type navigation helper, not in runtime. */
|
|
121
|
+
protected static __types: {
|
|
122
|
+
api: {
|
|
123
|
+
input: CreateCollaborationChangeRequestInput;
|
|
124
|
+
output: CreateCollaborationChangeRequestOutput;
|
|
125
|
+
};
|
|
126
|
+
sdk: {
|
|
127
|
+
input: CreateCollaborationChangeRequestCommandInput;
|
|
128
|
+
output: CreateCollaborationChangeRequestCommandOutput;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
}
|
|
@@ -104,6 +104,9 @@ declare const CreateCollaborationCommand_base: {
|
|
|
104
104
|
* },
|
|
105
105
|
* },
|
|
106
106
|
* analyticsEngine: "SPARK" || "CLEAN_ROOMS_SQL",
|
|
107
|
+
* autoApprovedChangeRequestTypes: [ // AutoApprovedChangeTypeList
|
|
108
|
+
* "ADD_MEMBER",
|
|
109
|
+
* ],
|
|
107
110
|
* };
|
|
108
111
|
* const command = new CreateCollaborationCommand(input);
|
|
109
112
|
* const response = await client.send(command);
|
|
@@ -129,6 +132,9 @@ declare const CreateCollaborationCommand_base: {
|
|
|
129
132
|
* // queryLogStatus: "ENABLED" || "DISABLED", // required
|
|
130
133
|
* // jobLogStatus: "ENABLED" || "DISABLED",
|
|
131
134
|
* // analyticsEngine: "SPARK" || "CLEAN_ROOMS_SQL",
|
|
135
|
+
* // autoApprovedChangeTypes: [ // AutoApprovedChangeTypeList
|
|
136
|
+
* // "ADD_MEMBER",
|
|
137
|
+
* // ],
|
|
132
138
|
* // },
|
|
133
139
|
* // };
|
|
134
140
|
*
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsClient";
|
|
4
|
-
import { CreateMembershipInput, CreateMembershipOutput } from "../models/
|
|
4
|
+
import { CreateMembershipInput, CreateMembershipOutput } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsClient";
|
|
4
|
-
import { DeleteMembershipInput, DeleteMembershipOutput } from "../models/
|
|
4
|
+
import { DeleteMembershipInput, DeleteMembershipOutput } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|