@aws-sdk/client-cleanrooms 3.616.0 → 3.618.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 +104 -0
- package/dist-cjs/index.js +811 -8
- package/dist-es/CleanRooms.js +26 -0
- package/dist-es/commands/CreateIdMappingTableCommand.js +24 -0
- package/dist-es/commands/CreateIdNamespaceAssociationCommand.js +24 -0
- package/dist-es/commands/DeleteIdMappingTableCommand.js +24 -0
- package/dist-es/commands/DeleteIdNamespaceAssociationCommand.js +24 -0
- package/dist-es/commands/GetCollaborationIdNamespaceAssociationCommand.js +24 -0
- package/dist-es/commands/GetIdMappingTableCommand.js +24 -0
- package/dist-es/commands/GetIdNamespaceAssociationCommand.js +24 -0
- package/dist-es/commands/ListCollaborationIdNamespaceAssociationsCommand.js +24 -0
- package/dist-es/commands/ListIdMappingTablesCommand.js +24 -0
- package/dist-es/commands/ListIdNamespaceAssociationsCommand.js +24 -0
- package/dist-es/commands/PopulateIdMappingTableCommand.js +24 -0
- package/dist-es/commands/UpdateIdMappingTableCommand.js +24 -0
- package/dist-es/commands/UpdateIdNamespaceAssociationCommand.js +24 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +29 -0
- package/dist-es/pagination/ListCollaborationIdNamespaceAssociationsPaginator.js +4 -0
- package/dist-es/pagination/ListIdMappingTablesPaginator.js +4 -0
- package/dist-es/pagination/ListIdNamespaceAssociationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +483 -0
- package/dist-types/CleanRooms.d.ts +91 -0
- package/dist-types/CleanRoomsClient.d.ts +15 -2
- package/dist-types/commands/BatchGetSchemaAnalysisRuleCommand.d.ts +16 -3
- package/dist-types/commands/BatchGetSchemaCommand.d.ts +15 -5
- package/dist-types/commands/CreateIdMappingTableCommand.d.ts +115 -0
- package/dist-types/commands/CreateIdNamespaceAssociationCommand.d.ts +117 -0
- package/dist-types/commands/DeleteIdMappingTableCommand.d.ts +74 -0
- package/dist-types/commands/DeleteIdNamespaceAssociationCommand.d.ts +74 -0
- package/dist-types/commands/GetCollaborationIdNamespaceAssociationCommand.d.ts +99 -0
- package/dist-types/commands/GetIdMappingTableCommand.d.ts +100 -0
- package/dist-types/commands/GetIdNamespaceAssociationCommand.d.ts +100 -0
- package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +15 -2
- package/dist-types/commands/GetSchemaCommand.d.ts +15 -5
- package/dist-types/commands/ListCollaborationIdNamespaceAssociationsCommand.d.ts +97 -0
- package/dist-types/commands/ListIdMappingTablesCommand.d.ts +95 -0
- package/dist-types/commands/ListIdNamespaceAssociationsCommand.d.ts +98 -0
- package/dist-types/commands/ListSchemasCommand.d.ts +3 -3
- package/dist-types/commands/PopulateIdMappingTableCommand.d.ts +79 -0
- package/dist-types/commands/UpdateIdMappingTableCommand.d.ts +102 -0
- package/dist-types/commands/UpdateIdNamespaceAssociationCommand.d.ts +105 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +1334 -333
- package/dist-types/pagination/ListCollaborationIdNamespaceAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIdMappingTablesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIdNamespaceAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/CleanRooms.d.ts +233 -0
- package/dist-types/ts3.4/CleanRoomsClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/CreateIdMappingTableCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateIdNamespaceAssociationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteIdMappingTableCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteIdNamespaceAssociationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetCollaborationIdNamespaceAssociationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetIdMappingTableCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetIdNamespaceAssociationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListCollaborationIdNamespaceAssociationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListIdMappingTablesCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListIdNamespaceAssociationsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/PopulateIdMappingTableCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/UpdateIdMappingTableCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/UpdateIdNamespaceAssociationCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +302 -0
- package/dist-types/ts3.4/pagination/ListCollaborationIdNamespaceAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIdMappingTablesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIdNamespaceAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +1 -1
|
@@ -154,6 +154,42 @@ export const se_CreateConfiguredTableAssociationCommand = async (input, context)
|
|
|
154
154
|
b.m("POST").h(headers).b(body);
|
|
155
155
|
return b.build();
|
|
156
156
|
};
|
|
157
|
+
export const se_CreateIdMappingTableCommand = async (input, context) => {
|
|
158
|
+
const b = rb(input, context);
|
|
159
|
+
const headers = {
|
|
160
|
+
"content-type": "application/json",
|
|
161
|
+
};
|
|
162
|
+
b.bp("/memberships/{membershipIdentifier}/idmappingtables");
|
|
163
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
164
|
+
let body;
|
|
165
|
+
body = JSON.stringify(take(input, {
|
|
166
|
+
description: [],
|
|
167
|
+
inputReferenceConfig: (_) => _json(_),
|
|
168
|
+
kmsKeyArn: [],
|
|
169
|
+
name: [],
|
|
170
|
+
tags: (_) => _json(_),
|
|
171
|
+
}));
|
|
172
|
+
b.m("POST").h(headers).b(body);
|
|
173
|
+
return b.build();
|
|
174
|
+
};
|
|
175
|
+
export const se_CreateIdNamespaceAssociationCommand = async (input, context) => {
|
|
176
|
+
const b = rb(input, context);
|
|
177
|
+
const headers = {
|
|
178
|
+
"content-type": "application/json",
|
|
179
|
+
};
|
|
180
|
+
b.bp("/memberships/{membershipIdentifier}/idnamespaceassociations");
|
|
181
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
182
|
+
let body;
|
|
183
|
+
body = JSON.stringify(take(input, {
|
|
184
|
+
description: [],
|
|
185
|
+
idMappingConfig: (_) => _json(_),
|
|
186
|
+
inputReferenceConfig: (_) => _json(_),
|
|
187
|
+
name: [],
|
|
188
|
+
tags: (_) => _json(_),
|
|
189
|
+
}));
|
|
190
|
+
b.m("POST").h(headers).b(body);
|
|
191
|
+
return b.build();
|
|
192
|
+
};
|
|
157
193
|
export const se_CreateMembershipCommand = async (input, context) => {
|
|
158
194
|
const b = rb(input, context);
|
|
159
195
|
const headers = {
|
|
@@ -246,6 +282,26 @@ export const se_DeleteConfiguredTableAssociationCommand = async (input, context)
|
|
|
246
282
|
b.m("DELETE").h(headers).b(body);
|
|
247
283
|
return b.build();
|
|
248
284
|
};
|
|
285
|
+
export const se_DeleteIdMappingTableCommand = async (input, context) => {
|
|
286
|
+
const b = rb(input, context);
|
|
287
|
+
const headers = {};
|
|
288
|
+
b.bp("/memberships/{membershipIdentifier}/idmappingtables/{idMappingTableIdentifier}");
|
|
289
|
+
b.p("idMappingTableIdentifier", () => input.idMappingTableIdentifier, "{idMappingTableIdentifier}", false);
|
|
290
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
291
|
+
let body;
|
|
292
|
+
b.m("DELETE").h(headers).b(body);
|
|
293
|
+
return b.build();
|
|
294
|
+
};
|
|
295
|
+
export const se_DeleteIdNamespaceAssociationCommand = async (input, context) => {
|
|
296
|
+
const b = rb(input, context);
|
|
297
|
+
const headers = {};
|
|
298
|
+
b.bp("/memberships/{membershipIdentifier}/idnamespaceassociations/{idNamespaceAssociationIdentifier}");
|
|
299
|
+
b.p("idNamespaceAssociationIdentifier", () => input.idNamespaceAssociationIdentifier, "{idNamespaceAssociationIdentifier}", false);
|
|
300
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
301
|
+
let body;
|
|
302
|
+
b.m("DELETE").h(headers).b(body);
|
|
303
|
+
return b.build();
|
|
304
|
+
};
|
|
249
305
|
export const se_DeleteMemberCommand = async (input, context) => {
|
|
250
306
|
const b = rb(input, context);
|
|
251
307
|
const headers = {};
|
|
@@ -314,6 +370,16 @@ export const se_GetCollaborationConfiguredAudienceModelAssociationCommand = asyn
|
|
|
314
370
|
b.m("GET").h(headers).b(body);
|
|
315
371
|
return b.build();
|
|
316
372
|
};
|
|
373
|
+
export const se_GetCollaborationIdNamespaceAssociationCommand = async (input, context) => {
|
|
374
|
+
const b = rb(input, context);
|
|
375
|
+
const headers = {};
|
|
376
|
+
b.bp("/collaborations/{collaborationIdentifier}/idnamespaceassociations/{idNamespaceAssociationIdentifier}");
|
|
377
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
378
|
+
b.p("idNamespaceAssociationIdentifier", () => input.idNamespaceAssociationIdentifier, "{idNamespaceAssociationIdentifier}", false);
|
|
379
|
+
let body;
|
|
380
|
+
b.m("GET").h(headers).b(body);
|
|
381
|
+
return b.build();
|
|
382
|
+
};
|
|
317
383
|
export const se_GetCollaborationPrivacyBudgetTemplateCommand = async (input, context) => {
|
|
318
384
|
const b = rb(input, context);
|
|
319
385
|
const headers = {};
|
|
@@ -363,6 +429,26 @@ export const se_GetConfiguredTableAssociationCommand = async (input, context) =>
|
|
|
363
429
|
b.m("GET").h(headers).b(body);
|
|
364
430
|
return b.build();
|
|
365
431
|
};
|
|
432
|
+
export const se_GetIdMappingTableCommand = async (input, context) => {
|
|
433
|
+
const b = rb(input, context);
|
|
434
|
+
const headers = {};
|
|
435
|
+
b.bp("/memberships/{membershipIdentifier}/idmappingtables/{idMappingTableIdentifier}");
|
|
436
|
+
b.p("idMappingTableIdentifier", () => input.idMappingTableIdentifier, "{idMappingTableIdentifier}", false);
|
|
437
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
438
|
+
let body;
|
|
439
|
+
b.m("GET").h(headers).b(body);
|
|
440
|
+
return b.build();
|
|
441
|
+
};
|
|
442
|
+
export const se_GetIdNamespaceAssociationCommand = async (input, context) => {
|
|
443
|
+
const b = rb(input, context);
|
|
444
|
+
const headers = {};
|
|
445
|
+
b.bp("/memberships/{membershipIdentifier}/idnamespaceassociations/{idNamespaceAssociationIdentifier}");
|
|
446
|
+
b.p("idNamespaceAssociationIdentifier", () => input.idNamespaceAssociationIdentifier, "{idNamespaceAssociationIdentifier}", false);
|
|
447
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
448
|
+
let body;
|
|
449
|
+
b.m("GET").h(headers).b(body);
|
|
450
|
+
return b.build();
|
|
451
|
+
};
|
|
366
452
|
export const se_GetMembershipCommand = async (input, context) => {
|
|
367
453
|
const b = rb(input, context);
|
|
368
454
|
const headers = {};
|
|
@@ -452,6 +538,19 @@ export const se_ListCollaborationConfiguredAudienceModelAssociationsCommand = as
|
|
|
452
538
|
b.m("GET").h(headers).q(query).b(body);
|
|
453
539
|
return b.build();
|
|
454
540
|
};
|
|
541
|
+
export const se_ListCollaborationIdNamespaceAssociationsCommand = async (input, context) => {
|
|
542
|
+
const b = rb(input, context);
|
|
543
|
+
const headers = {};
|
|
544
|
+
b.bp("/collaborations/{collaborationIdentifier}/idnamespaceassociations");
|
|
545
|
+
b.p("collaborationIdentifier", () => input.collaborationIdentifier, "{collaborationIdentifier}", false);
|
|
546
|
+
const query = map({
|
|
547
|
+
[_nT]: [, input[_nT]],
|
|
548
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
549
|
+
});
|
|
550
|
+
let body;
|
|
551
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
552
|
+
return b.build();
|
|
553
|
+
};
|
|
455
554
|
export const se_ListCollaborationPrivacyBudgetsCommand = async (input, context) => {
|
|
456
555
|
const b = rb(input, context);
|
|
457
556
|
const headers = {};
|
|
@@ -530,6 +629,32 @@ export const se_ListConfiguredTablesCommand = async (input, context) => {
|
|
|
530
629
|
b.m("GET").h(headers).q(query).b(body);
|
|
531
630
|
return b.build();
|
|
532
631
|
};
|
|
632
|
+
export const se_ListIdMappingTablesCommand = async (input, context) => {
|
|
633
|
+
const b = rb(input, context);
|
|
634
|
+
const headers = {};
|
|
635
|
+
b.bp("/memberships/{membershipIdentifier}/idmappingtables");
|
|
636
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
637
|
+
const query = map({
|
|
638
|
+
[_nT]: [, input[_nT]],
|
|
639
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
640
|
+
});
|
|
641
|
+
let body;
|
|
642
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
643
|
+
return b.build();
|
|
644
|
+
};
|
|
645
|
+
export const se_ListIdNamespaceAssociationsCommand = async (input, context) => {
|
|
646
|
+
const b = rb(input, context);
|
|
647
|
+
const headers = {};
|
|
648
|
+
b.bp("/memberships/{membershipIdentifier}/idnamespaceassociations");
|
|
649
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
650
|
+
const query = map({
|
|
651
|
+
[_nT]: [, input[_nT]],
|
|
652
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
653
|
+
});
|
|
654
|
+
let body;
|
|
655
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
656
|
+
return b.build();
|
|
657
|
+
};
|
|
533
658
|
export const se_ListMembersCommand = async (input, context) => {
|
|
534
659
|
const b = rb(input, context);
|
|
535
660
|
const headers = {};
|
|
@@ -620,6 +745,16 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
|
620
745
|
b.m("GET").h(headers).b(body);
|
|
621
746
|
return b.build();
|
|
622
747
|
};
|
|
748
|
+
export const se_PopulateIdMappingTableCommand = async (input, context) => {
|
|
749
|
+
const b = rb(input, context);
|
|
750
|
+
const headers = {};
|
|
751
|
+
b.bp("/memberships/{membershipIdentifier}/idmappingtables/{idMappingTableIdentifier}/populate");
|
|
752
|
+
b.p("idMappingTableIdentifier", () => input.idMappingTableIdentifier, "{idMappingTableIdentifier}", false);
|
|
753
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
754
|
+
let body;
|
|
755
|
+
b.m("POST").h(headers).b(body);
|
|
756
|
+
return b.build();
|
|
757
|
+
};
|
|
623
758
|
export const se_PreviewPrivacyImpactCommand = async (input, context) => {
|
|
624
759
|
const b = rb(input, context);
|
|
625
760
|
const headers = {
|
|
@@ -771,6 +906,39 @@ export const se_UpdateConfiguredTableAssociationCommand = async (input, context)
|
|
|
771
906
|
b.m("PATCH").h(headers).b(body);
|
|
772
907
|
return b.build();
|
|
773
908
|
};
|
|
909
|
+
export const se_UpdateIdMappingTableCommand = async (input, context) => {
|
|
910
|
+
const b = rb(input, context);
|
|
911
|
+
const headers = {
|
|
912
|
+
"content-type": "application/json",
|
|
913
|
+
};
|
|
914
|
+
b.bp("/memberships/{membershipIdentifier}/idmappingtables/{idMappingTableIdentifier}");
|
|
915
|
+
b.p("idMappingTableIdentifier", () => input.idMappingTableIdentifier, "{idMappingTableIdentifier}", false);
|
|
916
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
917
|
+
let body;
|
|
918
|
+
body = JSON.stringify(take(input, {
|
|
919
|
+
description: [],
|
|
920
|
+
kmsKeyArn: [],
|
|
921
|
+
}));
|
|
922
|
+
b.m("PATCH").h(headers).b(body);
|
|
923
|
+
return b.build();
|
|
924
|
+
};
|
|
925
|
+
export const se_UpdateIdNamespaceAssociationCommand = async (input, context) => {
|
|
926
|
+
const b = rb(input, context);
|
|
927
|
+
const headers = {
|
|
928
|
+
"content-type": "application/json",
|
|
929
|
+
};
|
|
930
|
+
b.bp("/memberships/{membershipIdentifier}/idnamespaceassociations/{idNamespaceAssociationIdentifier}");
|
|
931
|
+
b.p("idNamespaceAssociationIdentifier", () => input.idNamespaceAssociationIdentifier, "{idNamespaceAssociationIdentifier}", false);
|
|
932
|
+
b.p("membershipIdentifier", () => input.membershipIdentifier, "{membershipIdentifier}", false);
|
|
933
|
+
let body;
|
|
934
|
+
body = JSON.stringify(take(input, {
|
|
935
|
+
description: [],
|
|
936
|
+
idMappingConfig: (_) => _json(_),
|
|
937
|
+
name: [],
|
|
938
|
+
}));
|
|
939
|
+
b.m("PATCH").h(headers).b(body);
|
|
940
|
+
return b.build();
|
|
941
|
+
};
|
|
774
942
|
export const se_UpdateMembershipCommand = async (input, context) => {
|
|
775
943
|
const b = rb(input, context);
|
|
776
944
|
const headers = {
|
|
@@ -946,6 +1114,34 @@ export const de_CreateConfiguredTableAssociationCommand = async (output, context
|
|
|
946
1114
|
Object.assign(contents, doc);
|
|
947
1115
|
return contents;
|
|
948
1116
|
};
|
|
1117
|
+
export const de_CreateIdMappingTableCommand = async (output, context) => {
|
|
1118
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1119
|
+
return de_CommandError(output, context);
|
|
1120
|
+
}
|
|
1121
|
+
const contents = map({
|
|
1122
|
+
$metadata: deserializeMetadata(output),
|
|
1123
|
+
});
|
|
1124
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1125
|
+
const doc = take(data, {
|
|
1126
|
+
idMappingTable: (_) => de_IdMappingTable(_, context),
|
|
1127
|
+
});
|
|
1128
|
+
Object.assign(contents, doc);
|
|
1129
|
+
return contents;
|
|
1130
|
+
};
|
|
1131
|
+
export const de_CreateIdNamespaceAssociationCommand = async (output, context) => {
|
|
1132
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1133
|
+
return de_CommandError(output, context);
|
|
1134
|
+
}
|
|
1135
|
+
const contents = map({
|
|
1136
|
+
$metadata: deserializeMetadata(output),
|
|
1137
|
+
});
|
|
1138
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1139
|
+
const doc = take(data, {
|
|
1140
|
+
idNamespaceAssociation: (_) => de_IdNamespaceAssociation(_, context),
|
|
1141
|
+
});
|
|
1142
|
+
Object.assign(contents, doc);
|
|
1143
|
+
return contents;
|
|
1144
|
+
};
|
|
949
1145
|
export const de_CreateMembershipCommand = async (output, context) => {
|
|
950
1146
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
951
1147
|
return de_CommandError(output, context);
|
|
@@ -1034,6 +1230,26 @@ export const de_DeleteConfiguredTableAssociationCommand = async (output, context
|
|
|
1034
1230
|
await collectBody(output.body, context);
|
|
1035
1231
|
return contents;
|
|
1036
1232
|
};
|
|
1233
|
+
export const de_DeleteIdMappingTableCommand = async (output, context) => {
|
|
1234
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1235
|
+
return de_CommandError(output, context);
|
|
1236
|
+
}
|
|
1237
|
+
const contents = map({
|
|
1238
|
+
$metadata: deserializeMetadata(output),
|
|
1239
|
+
});
|
|
1240
|
+
await collectBody(output.body, context);
|
|
1241
|
+
return contents;
|
|
1242
|
+
};
|
|
1243
|
+
export const de_DeleteIdNamespaceAssociationCommand = async (output, context) => {
|
|
1244
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1245
|
+
return de_CommandError(output, context);
|
|
1246
|
+
}
|
|
1247
|
+
const contents = map({
|
|
1248
|
+
$metadata: deserializeMetadata(output),
|
|
1249
|
+
});
|
|
1250
|
+
await collectBody(output.body, context);
|
|
1251
|
+
return contents;
|
|
1252
|
+
};
|
|
1037
1253
|
export const de_DeleteMemberCommand = async (output, context) => {
|
|
1038
1254
|
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1039
1255
|
return de_CommandError(output, context);
|
|
@@ -1120,6 +1336,20 @@ export const de_GetCollaborationConfiguredAudienceModelAssociationCommand = asyn
|
|
|
1120
1336
|
Object.assign(contents, doc);
|
|
1121
1337
|
return contents;
|
|
1122
1338
|
};
|
|
1339
|
+
export const de_GetCollaborationIdNamespaceAssociationCommand = async (output, context) => {
|
|
1340
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1341
|
+
return de_CommandError(output, context);
|
|
1342
|
+
}
|
|
1343
|
+
const contents = map({
|
|
1344
|
+
$metadata: deserializeMetadata(output),
|
|
1345
|
+
});
|
|
1346
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1347
|
+
const doc = take(data, {
|
|
1348
|
+
collaborationIdNamespaceAssociation: (_) => de_CollaborationIdNamespaceAssociation(_, context),
|
|
1349
|
+
});
|
|
1350
|
+
Object.assign(contents, doc);
|
|
1351
|
+
return contents;
|
|
1352
|
+
};
|
|
1123
1353
|
export const de_GetCollaborationPrivacyBudgetTemplateCommand = async (output, context) => {
|
|
1124
1354
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1125
1355
|
return de_CommandError(output, context);
|
|
@@ -1190,6 +1420,34 @@ export const de_GetConfiguredTableAssociationCommand = async (output, context) =
|
|
|
1190
1420
|
Object.assign(contents, doc);
|
|
1191
1421
|
return contents;
|
|
1192
1422
|
};
|
|
1423
|
+
export const de_GetIdMappingTableCommand = async (output, context) => {
|
|
1424
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1425
|
+
return de_CommandError(output, context);
|
|
1426
|
+
}
|
|
1427
|
+
const contents = map({
|
|
1428
|
+
$metadata: deserializeMetadata(output),
|
|
1429
|
+
});
|
|
1430
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1431
|
+
const doc = take(data, {
|
|
1432
|
+
idMappingTable: (_) => de_IdMappingTable(_, context),
|
|
1433
|
+
});
|
|
1434
|
+
Object.assign(contents, doc);
|
|
1435
|
+
return contents;
|
|
1436
|
+
};
|
|
1437
|
+
export const de_GetIdNamespaceAssociationCommand = async (output, context) => {
|
|
1438
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1439
|
+
return de_CommandError(output, context);
|
|
1440
|
+
}
|
|
1441
|
+
const contents = map({
|
|
1442
|
+
$metadata: deserializeMetadata(output),
|
|
1443
|
+
});
|
|
1444
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1445
|
+
const doc = take(data, {
|
|
1446
|
+
idNamespaceAssociation: (_) => de_IdNamespaceAssociation(_, context),
|
|
1447
|
+
});
|
|
1448
|
+
Object.assign(contents, doc);
|
|
1449
|
+
return contents;
|
|
1450
|
+
};
|
|
1193
1451
|
export const de_GetMembershipCommand = async (output, context) => {
|
|
1194
1452
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1195
1453
|
return de_CommandError(output, context);
|
|
@@ -1305,6 +1563,21 @@ export const de_ListCollaborationConfiguredAudienceModelAssociationsCommand = as
|
|
|
1305
1563
|
Object.assign(contents, doc);
|
|
1306
1564
|
return contents;
|
|
1307
1565
|
};
|
|
1566
|
+
export const de_ListCollaborationIdNamespaceAssociationsCommand = async (output, context) => {
|
|
1567
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1568
|
+
return de_CommandError(output, context);
|
|
1569
|
+
}
|
|
1570
|
+
const contents = map({
|
|
1571
|
+
$metadata: deserializeMetadata(output),
|
|
1572
|
+
});
|
|
1573
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1574
|
+
const doc = take(data, {
|
|
1575
|
+
collaborationIdNamespaceAssociationSummaries: (_) => de_CollaborationIdNamespaceAssociationSummaryList(_, context),
|
|
1576
|
+
nextToken: __expectString,
|
|
1577
|
+
});
|
|
1578
|
+
Object.assign(contents, doc);
|
|
1579
|
+
return contents;
|
|
1580
|
+
};
|
|
1308
1581
|
export const de_ListCollaborationPrivacyBudgetsCommand = async (output, context) => {
|
|
1309
1582
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1310
1583
|
return de_CommandError(output, context);
|
|
@@ -1395,6 +1668,36 @@ export const de_ListConfiguredTablesCommand = async (output, context) => {
|
|
|
1395
1668
|
Object.assign(contents, doc);
|
|
1396
1669
|
return contents;
|
|
1397
1670
|
};
|
|
1671
|
+
export const de_ListIdMappingTablesCommand = async (output, context) => {
|
|
1672
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1673
|
+
return de_CommandError(output, context);
|
|
1674
|
+
}
|
|
1675
|
+
const contents = map({
|
|
1676
|
+
$metadata: deserializeMetadata(output),
|
|
1677
|
+
});
|
|
1678
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1679
|
+
const doc = take(data, {
|
|
1680
|
+
idMappingTableSummaries: (_) => de_IdMappingTableSummaryList(_, context),
|
|
1681
|
+
nextToken: __expectString,
|
|
1682
|
+
});
|
|
1683
|
+
Object.assign(contents, doc);
|
|
1684
|
+
return contents;
|
|
1685
|
+
};
|
|
1686
|
+
export const de_ListIdNamespaceAssociationsCommand = async (output, context) => {
|
|
1687
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1688
|
+
return de_CommandError(output, context);
|
|
1689
|
+
}
|
|
1690
|
+
const contents = map({
|
|
1691
|
+
$metadata: deserializeMetadata(output),
|
|
1692
|
+
});
|
|
1693
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1694
|
+
const doc = take(data, {
|
|
1695
|
+
idNamespaceAssociationSummaries: (_) => de_IdNamespaceAssociationSummaryList(_, context),
|
|
1696
|
+
nextToken: __expectString,
|
|
1697
|
+
});
|
|
1698
|
+
Object.assign(contents, doc);
|
|
1699
|
+
return contents;
|
|
1700
|
+
};
|
|
1398
1701
|
export const de_ListMembersCommand = async (output, context) => {
|
|
1399
1702
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1400
1703
|
return de_CommandError(output, context);
|
|
@@ -1499,6 +1802,20 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
1499
1802
|
Object.assign(contents, doc);
|
|
1500
1803
|
return contents;
|
|
1501
1804
|
};
|
|
1805
|
+
export const de_PopulateIdMappingTableCommand = async (output, context) => {
|
|
1806
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1807
|
+
return de_CommandError(output, context);
|
|
1808
|
+
}
|
|
1809
|
+
const contents = map({
|
|
1810
|
+
$metadata: deserializeMetadata(output),
|
|
1811
|
+
});
|
|
1812
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1813
|
+
const doc = take(data, {
|
|
1814
|
+
idMappingJobId: __expectString,
|
|
1815
|
+
});
|
|
1816
|
+
Object.assign(contents, doc);
|
|
1817
|
+
return contents;
|
|
1818
|
+
};
|
|
1502
1819
|
export const de_PreviewPrivacyImpactCommand = async (output, context) => {
|
|
1503
1820
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1504
1821
|
return de_CommandError(output, context);
|
|
@@ -1631,6 +1948,34 @@ export const de_UpdateConfiguredTableAssociationCommand = async (output, context
|
|
|
1631
1948
|
Object.assign(contents, doc);
|
|
1632
1949
|
return contents;
|
|
1633
1950
|
};
|
|
1951
|
+
export const de_UpdateIdMappingTableCommand = async (output, context) => {
|
|
1952
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1953
|
+
return de_CommandError(output, context);
|
|
1954
|
+
}
|
|
1955
|
+
const contents = map({
|
|
1956
|
+
$metadata: deserializeMetadata(output),
|
|
1957
|
+
});
|
|
1958
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1959
|
+
const doc = take(data, {
|
|
1960
|
+
idMappingTable: (_) => de_IdMappingTable(_, context),
|
|
1961
|
+
});
|
|
1962
|
+
Object.assign(contents, doc);
|
|
1963
|
+
return contents;
|
|
1964
|
+
};
|
|
1965
|
+
export const de_UpdateIdNamespaceAssociationCommand = async (output, context) => {
|
|
1966
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1967
|
+
return de_CommandError(output, context);
|
|
1968
|
+
}
|
|
1969
|
+
const contents = map({
|
|
1970
|
+
$metadata: deserializeMetadata(output),
|
|
1971
|
+
});
|
|
1972
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1973
|
+
const doc = take(data, {
|
|
1974
|
+
idNamespaceAssociation: (_) => de_IdNamespaceAssociation(_, context),
|
|
1975
|
+
});
|
|
1976
|
+
Object.assign(contents, doc);
|
|
1977
|
+
return contents;
|
|
1978
|
+
};
|
|
1634
1979
|
export const de_UpdateMembershipCommand = async (output, context) => {
|
|
1635
1980
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1636
1981
|
return de_CommandError(output, context);
|
|
@@ -1962,6 +2307,45 @@ const de_CollaborationConfiguredAudienceModelAssociationSummaryList = (output, c
|
|
|
1962
2307
|
});
|
|
1963
2308
|
return retVal;
|
|
1964
2309
|
};
|
|
2310
|
+
const de_CollaborationIdNamespaceAssociation = (output, context) => {
|
|
2311
|
+
return take(output, {
|
|
2312
|
+
arn: __expectString,
|
|
2313
|
+
collaborationArn: __expectString,
|
|
2314
|
+
collaborationId: __expectString,
|
|
2315
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2316
|
+
creatorAccountId: __expectString,
|
|
2317
|
+
description: __expectString,
|
|
2318
|
+
id: __expectString,
|
|
2319
|
+
idMappingConfig: _json,
|
|
2320
|
+
inputReferenceConfig: _json,
|
|
2321
|
+
inputReferenceProperties: (_) => de_IdNamespaceAssociationInputReferenceProperties(_, context),
|
|
2322
|
+
name: __expectString,
|
|
2323
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2324
|
+
});
|
|
2325
|
+
};
|
|
2326
|
+
const de_CollaborationIdNamespaceAssociationSummary = (output, context) => {
|
|
2327
|
+
return take(output, {
|
|
2328
|
+
arn: __expectString,
|
|
2329
|
+
collaborationArn: __expectString,
|
|
2330
|
+
collaborationId: __expectString,
|
|
2331
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2332
|
+
creatorAccountId: __expectString,
|
|
2333
|
+
description: __expectString,
|
|
2334
|
+
id: __expectString,
|
|
2335
|
+
inputReferenceConfig: _json,
|
|
2336
|
+
inputReferenceProperties: _json,
|
|
2337
|
+
name: __expectString,
|
|
2338
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2339
|
+
});
|
|
2340
|
+
};
|
|
2341
|
+
const de_CollaborationIdNamespaceAssociationSummaryList = (output, context) => {
|
|
2342
|
+
const retVal = (output || [])
|
|
2343
|
+
.filter((e) => e != null)
|
|
2344
|
+
.map((entry) => {
|
|
2345
|
+
return de_CollaborationIdNamespaceAssociationSummary(entry, context);
|
|
2346
|
+
});
|
|
2347
|
+
return retVal;
|
|
2348
|
+
};
|
|
1965
2349
|
const de_CollaborationPrivacyBudgetSummary = (output, context) => {
|
|
1966
2350
|
return take(output, {
|
|
1967
2351
|
budget: (_) => _json(__expectUnion(_)),
|
|
@@ -2179,6 +2563,101 @@ const de_DifferentialPrivacySensitivityParametersList = (output, context) => {
|
|
|
2179
2563
|
});
|
|
2180
2564
|
return retVal;
|
|
2181
2565
|
};
|
|
2566
|
+
const de_IdMappingTable = (output, context) => {
|
|
2567
|
+
return take(output, {
|
|
2568
|
+
arn: __expectString,
|
|
2569
|
+
collaborationArn: __expectString,
|
|
2570
|
+
collaborationId: __expectString,
|
|
2571
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2572
|
+
description: __expectString,
|
|
2573
|
+
id: __expectString,
|
|
2574
|
+
inputReferenceConfig: _json,
|
|
2575
|
+
inputReferenceProperties: _json,
|
|
2576
|
+
kmsKeyArn: __expectString,
|
|
2577
|
+
membershipArn: __expectString,
|
|
2578
|
+
membershipId: __expectString,
|
|
2579
|
+
name: __expectString,
|
|
2580
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2581
|
+
});
|
|
2582
|
+
};
|
|
2583
|
+
const de_IdMappingTableSummary = (output, context) => {
|
|
2584
|
+
return take(output, {
|
|
2585
|
+
arn: __expectString,
|
|
2586
|
+
collaborationArn: __expectString,
|
|
2587
|
+
collaborationId: __expectString,
|
|
2588
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2589
|
+
description: __expectString,
|
|
2590
|
+
id: __expectString,
|
|
2591
|
+
inputReferenceConfig: _json,
|
|
2592
|
+
membershipArn: __expectString,
|
|
2593
|
+
membershipId: __expectString,
|
|
2594
|
+
name: __expectString,
|
|
2595
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2596
|
+
});
|
|
2597
|
+
};
|
|
2598
|
+
const de_IdMappingTableSummaryList = (output, context) => {
|
|
2599
|
+
const retVal = (output || [])
|
|
2600
|
+
.filter((e) => e != null)
|
|
2601
|
+
.map((entry) => {
|
|
2602
|
+
return de_IdMappingTableSummary(entry, context);
|
|
2603
|
+
});
|
|
2604
|
+
return retVal;
|
|
2605
|
+
};
|
|
2606
|
+
const de_IdMappingWorkflowsSupported = (output, context) => {
|
|
2607
|
+
const retVal = (output || [])
|
|
2608
|
+
.filter((e) => e != null)
|
|
2609
|
+
.map((entry) => {
|
|
2610
|
+
return de_Document(entry, context);
|
|
2611
|
+
});
|
|
2612
|
+
return retVal;
|
|
2613
|
+
};
|
|
2614
|
+
const de_IdNamespaceAssociation = (output, context) => {
|
|
2615
|
+
return take(output, {
|
|
2616
|
+
arn: __expectString,
|
|
2617
|
+
collaborationArn: __expectString,
|
|
2618
|
+
collaborationId: __expectString,
|
|
2619
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2620
|
+
description: __expectString,
|
|
2621
|
+
id: __expectString,
|
|
2622
|
+
idMappingConfig: _json,
|
|
2623
|
+
inputReferenceConfig: _json,
|
|
2624
|
+
inputReferenceProperties: (_) => de_IdNamespaceAssociationInputReferenceProperties(_, context),
|
|
2625
|
+
membershipArn: __expectString,
|
|
2626
|
+
membershipId: __expectString,
|
|
2627
|
+
name: __expectString,
|
|
2628
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2629
|
+
});
|
|
2630
|
+
};
|
|
2631
|
+
const de_IdNamespaceAssociationInputReferenceProperties = (output, context) => {
|
|
2632
|
+
return take(output, {
|
|
2633
|
+
idMappingWorkflowsSupported: (_) => de_IdMappingWorkflowsSupported(_, context),
|
|
2634
|
+
idNamespaceType: __expectString,
|
|
2635
|
+
});
|
|
2636
|
+
};
|
|
2637
|
+
const de_IdNamespaceAssociationSummary = (output, context) => {
|
|
2638
|
+
return take(output, {
|
|
2639
|
+
arn: __expectString,
|
|
2640
|
+
collaborationArn: __expectString,
|
|
2641
|
+
collaborationId: __expectString,
|
|
2642
|
+
createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2643
|
+
description: __expectString,
|
|
2644
|
+
id: __expectString,
|
|
2645
|
+
inputReferenceConfig: _json,
|
|
2646
|
+
inputReferenceProperties: _json,
|
|
2647
|
+
membershipArn: __expectString,
|
|
2648
|
+
membershipId: __expectString,
|
|
2649
|
+
name: __expectString,
|
|
2650
|
+
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2651
|
+
});
|
|
2652
|
+
};
|
|
2653
|
+
const de_IdNamespaceAssociationSummaryList = (output, context) => {
|
|
2654
|
+
const retVal = (output || [])
|
|
2655
|
+
.filter((e) => e != null)
|
|
2656
|
+
.map((entry) => {
|
|
2657
|
+
return de_IdNamespaceAssociationSummary(entry, context);
|
|
2658
|
+
});
|
|
2659
|
+
return retVal;
|
|
2660
|
+
};
|
|
2182
2661
|
const de_Membership = (output, context) => {
|
|
2183
2662
|
return take(output, {
|
|
2184
2663
|
arn: __expectString,
|
|
@@ -2346,6 +2825,7 @@ const de_Schema = (output, context) => {
|
|
|
2346
2825
|
name: __expectString,
|
|
2347
2826
|
partitionKeys: _json,
|
|
2348
2827
|
schemaStatusDetails: _json,
|
|
2828
|
+
schemaTypeProperties: (_) => _json(__expectUnion(_)),
|
|
2349
2829
|
type: __expectString,
|
|
2350
2830
|
updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2351
2831
|
});
|
|
@@ -2387,6 +2867,9 @@ const de_SchemaSummaryList = (output, context) => {
|
|
|
2387
2867
|
});
|
|
2388
2868
|
return retVal;
|
|
2389
2869
|
};
|
|
2870
|
+
const de_Document = (output, context) => {
|
|
2871
|
+
return output;
|
|
2872
|
+
};
|
|
2390
2873
|
const deserializeMetadata = (output) => ({
|
|
2391
2874
|
httpStatusCode: output.statusCode,
|
|
2392
2875
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|