@aws-sdk/client-cleanrooms 3.896.0 → 3.901.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -21,6 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  // src/index.ts
22
22
  var index_exports = {};
23
23
  __export(index_exports, {
24
+ AccessBudgetType: () => AccessBudgetType,
24
25
  AccessDeniedException: () => AccessDeniedException,
25
26
  AccessDeniedExceptionReason: () => AccessDeniedExceptionReason,
26
27
  AdditionalAnalyses: () => AdditionalAnalyses,
@@ -41,6 +42,7 @@ __export(index_exports, {
41
42
  AnalysisType: () => AnalysisType,
42
43
  AnalyticsEngine: () => AnalyticsEngine,
43
44
  AutoApprovedChangeType: () => AutoApprovedChangeType,
45
+ AutoRefreshMode: () => AutoRefreshMode,
44
46
  BatchGetCollaborationAnalysisTemplateCommand: () => BatchGetCollaborationAnalysisTemplateCommand,
45
47
  BatchGetCollaborationAnalysisTemplateOutputFilterSensitiveLog: () => BatchGetCollaborationAnalysisTemplateOutputFilterSensitiveLog,
46
48
  BatchGetSchemaAnalysisRuleCommand: () => BatchGetSchemaAnalysisRuleCommand,
@@ -413,6 +415,16 @@ var CleanRoomsServiceException = class _CleanRoomsServiceException extends impor
413
415
  };
414
416
 
415
417
  // src/models/models_0.ts
418
+ var AutoRefreshMode = {
419
+ DISABLED: "DISABLED",
420
+ ENABLED: "ENABLED"
421
+ };
422
+ var AccessBudgetType = {
423
+ CALENDAR_DAY: "CALENDAR_DAY",
424
+ CALENDAR_MONTH: "CALENDAR_MONTH",
425
+ CALENDAR_WEEK: "CALENDAR_WEEK",
426
+ LIFETIME: "LIFETIME"
427
+ };
416
428
  var AccessDeniedExceptionReason = {
417
429
  INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS"
418
430
  };
@@ -895,10 +907,12 @@ var PrivacyBudgetTemplateParametersOutput;
895
907
  ((PrivacyBudgetTemplateParametersOutput2) => {
896
908
  PrivacyBudgetTemplateParametersOutput2.visit = /* @__PURE__ */ __name((value, visitor) => {
897
909
  if (value.differentialPrivacy !== void 0) return visitor.differentialPrivacy(value.differentialPrivacy);
910
+ if (value.accessBudget !== void 0) return visitor.accessBudget(value.accessBudget);
898
911
  return visitor._(value.$unknown[0], value.$unknown[1]);
899
912
  }, "visit");
900
913
  })(PrivacyBudgetTemplateParametersOutput || (PrivacyBudgetTemplateParametersOutput = {}));
901
914
  var PrivacyBudgetType = {
915
+ ACCESS_BUDGET: "ACCESS_BUDGET",
902
916
  DIFFERENTIAL_PRIVACY: "DIFFERENTIAL_PRIVACY"
903
917
  };
904
918
  var DifferentialPrivacyAggregationType = {
@@ -909,9 +923,10 @@ var DifferentialPrivacyAggregationType = {
909
923
  SUM: "SUM"
910
924
  };
911
925
  var PrivacyBudget;
912
- ((PrivacyBudget2) => {
913
- PrivacyBudget2.visit = /* @__PURE__ */ __name((value, visitor) => {
926
+ ((PrivacyBudget3) => {
927
+ PrivacyBudget3.visit = /* @__PURE__ */ __name((value, visitor) => {
914
928
  if (value.differentialPrivacy !== void 0) return visitor.differentialPrivacy(value.differentialPrivacy);
929
+ if (value.accessBudget !== void 0) return visitor.accessBudget(value.accessBudget);
915
930
  return visitor._(value.$unknown[0], value.$unknown[1]);
916
931
  }, "visit");
917
932
  })(PrivacyBudget || (PrivacyBudget = {}));
@@ -984,10 +999,6 @@ var MembershipProtectedQueryOutputConfiguration;
984
999
  return visitor._(value.$unknown[0], value.$unknown[1]);
985
1000
  }, "visit");
986
1001
  })(MembershipProtectedQueryOutputConfiguration || (MembershipProtectedQueryOutputConfiguration = {}));
987
- var MembershipJobLogStatus = {
988
- DISABLED: "DISABLED",
989
- ENABLED: "ENABLED"
990
- };
991
1002
  var AnalysisParameterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
992
1003
  ...obj
993
1004
  }), "AnalysisParameterFilterSensitiveLog");
@@ -1807,7 +1818,8 @@ var se_ListCollaborationPrivacyBudgetsCommand = /* @__PURE__ */ __name(async (in
1807
1818
  const query = (0, import_smithy_client.map)({
1808
1819
  [_pBT]: [, (0, import_smithy_client.expectNonNull)(input[_pBT], `privacyBudgetType`)],
1809
1820
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1810
- [_nT]: [, input[_nT]]
1821
+ [_nT]: [, input[_nT]],
1822
+ [_aBRA]: [, input[_aBRA]]
1811
1823
  });
1812
1824
  let body;
1813
1825
  b.m("GET").h(headers).q(query).b(body);
@@ -1937,7 +1949,8 @@ var se_ListPrivacyBudgetsCommand = /* @__PURE__ */ __name(async (input, context)
1937
1949
  const query = (0, import_smithy_client.map)({
1938
1950
  [_pBT]: [, (0, import_smithy_client.expectNonNull)(input[_pBT], `privacyBudgetType`)],
1939
1951
  [_nT]: [, input[_nT]],
1940
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
1952
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1953
+ [_aBRA]: [, input[_aBRA]]
1941
1954
  });
1942
1955
  let body;
1943
1956
  b.m("GET").h(headers).q(query).b(body);
@@ -3694,6 +3707,29 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
3694
3707
  });
3695
3708
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
3696
3709
  }, "de_ValidationExceptionRes");
3710
+ var de_AccessBudget = /* @__PURE__ */ __name((output, context) => {
3711
+ return (0, import_smithy_client.take)(output, {
3712
+ aggregateRemainingBudget: import_smithy_client.expectInt32,
3713
+ details: /* @__PURE__ */ __name((_) => de_AccessBudgetDetailsList(_, context), "details"),
3714
+ resourceArn: import_smithy_client.expectString
3715
+ });
3716
+ }, "de_AccessBudget");
3717
+ var de_AccessBudgetDetails = /* @__PURE__ */ __name((output, context) => {
3718
+ return (0, import_smithy_client.take)(output, {
3719
+ autoRefresh: import_smithy_client.expectString,
3720
+ budget: import_smithy_client.expectInt32,
3721
+ budgetType: import_smithy_client.expectString,
3722
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
3723
+ remainingBudget: import_smithy_client.expectInt32,
3724
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime")
3725
+ });
3726
+ }, "de_AccessBudgetDetails");
3727
+ var de_AccessBudgetDetailsList = /* @__PURE__ */ __name((output, context) => {
3728
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3729
+ return de_AccessBudgetDetails(entry, context);
3730
+ });
3731
+ return retVal;
3732
+ }, "de_AccessBudgetDetailsList");
3697
3733
  var de_AnalysisRule = /* @__PURE__ */ __name((output, context) => {
3698
3734
  return (0, import_smithy_client.take)(output, {
3699
3735
  collaborationId: import_smithy_client.expectString,
@@ -3922,7 +3958,7 @@ var de_CollaborationIdNamespaceAssociationSummaryList = /* @__PURE__ */ __name((
3922
3958
  }, "de_CollaborationIdNamespaceAssociationSummaryList");
3923
3959
  var de_CollaborationPrivacyBudgetSummary = /* @__PURE__ */ __name((output, context) => {
3924
3960
  return (0, import_smithy_client.take)(output, {
3925
- budget: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "budget"),
3961
+ budget: /* @__PURE__ */ __name((_) => de_PrivacyBudget((0, import_core2.awsExpectUnion)(_), context), "budget"),
3926
3962
  collaborationArn: import_smithy_client.expectString,
3927
3963
  collaborationId: import_smithy_client.expectString,
3928
3964
  createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createTime"),
@@ -4292,9 +4328,22 @@ var de_MemberSummaryList = /* @__PURE__ */ __name((output, context) => {
4292
4328
  });
4293
4329
  return retVal;
4294
4330
  }, "de_MemberSummaryList");
4331
+ var de_PrivacyBudget = /* @__PURE__ */ __name((output, context) => {
4332
+ if (output.accessBudget != null) {
4333
+ return {
4334
+ accessBudget: de_AccessBudget(output.accessBudget, context)
4335
+ };
4336
+ }
4337
+ if (output.differentialPrivacy != null) {
4338
+ return {
4339
+ differentialPrivacy: (0, import_smithy_client._json)(output.differentialPrivacy)
4340
+ };
4341
+ }
4342
+ return { $unknown: Object.entries(output)[0] };
4343
+ }, "de_PrivacyBudget");
4295
4344
  var de_PrivacyBudgetSummary = /* @__PURE__ */ __name((output, context) => {
4296
4345
  return (0, import_smithy_client.take)(output, {
4297
- budget: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "budget"),
4346
+ budget: /* @__PURE__ */ __name((_) => de_PrivacyBudget((0, import_core2.awsExpectUnion)(_), context), "budget"),
4298
4347
  collaborationArn: import_smithy_client.expectString,
4299
4348
  collaborationId: import_smithy_client.expectString,
4300
4349
  createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createTime"),
@@ -4434,6 +4483,7 @@ var de_Schema = /* @__PURE__ */ __name((output, context) => {
4434
4483
  description: import_smithy_client.expectString,
4435
4484
  name: import_smithy_client.expectString,
4436
4485
  partitionKeys: import_smithy_client._json,
4486
+ resourceArn: import_smithy_client.expectString,
4437
4487
  schemaStatusDetails: import_smithy_client._json,
4438
4488
  schemaTypeProperties: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "schemaTypeProperties"),
4439
4489
  selectedAnalysisMethods: import_smithy_client._json,
@@ -4462,6 +4512,7 @@ var de_SchemaSummary = /* @__PURE__ */ __name((output, context) => {
4462
4512
  createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createTime"),
4463
4513
  creatorAccountId: import_smithy_client.expectString,
4464
4514
  name: import_smithy_client.expectString,
4515
+ resourceArn: import_smithy_client.expectString,
4465
4516
  selectedAnalysisMethods: import_smithy_client._json,
4466
4517
  type: import_smithy_client.expectString,
4467
4518
  updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "updateTime")
@@ -4482,6 +4533,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
4482
4533
  extendedRequestId: output.headers["x-amz-id-2"],
4483
4534
  cfId: output.headers["x-amz-cf-id"]
4484
4535
  }), "deserializeMetadata");
4536
+ var _aBRA = "accessBudgetResourceArn";
4485
4537
  var _mR = "maxResults";
4486
4538
  var _mS = "memberStatus";
4487
4539
  var _nT = "nextToken";
@@ -5154,6 +5206,10 @@ var GetProtectedJobCommand = class extends import_smithy_client.Command.classBui
5154
5206
 
5155
5207
  // src/models/models_1.ts
5156
5208
 
5209
+ var MembershipJobLogStatus = {
5210
+ DISABLED: "DISABLED",
5211
+ ENABLED: "ENABLED"
5212
+ };
5157
5213
  var MembershipQueryLogStatus = {
5158
5214
  DISABLED: "DISABLED",
5159
5215
  ENABLED: "ENABLED"
@@ -5300,6 +5356,7 @@ var PrivacyBudgetTemplateParametersInput;
5300
5356
  ((PrivacyBudgetTemplateParametersInput2) => {
5301
5357
  PrivacyBudgetTemplateParametersInput2.visit = /* @__PURE__ */ __name((value, visitor) => {
5302
5358
  if (value.differentialPrivacy !== void 0) return visitor.differentialPrivacy(value.differentialPrivacy);
5359
+ if (value.accessBudget !== void 0) return visitor.accessBudget(value.accessBudget);
5303
5360
  return visitor._(value.$unknown[0], value.$unknown[1]);
5304
5361
  }, "visit");
5305
5362
  })(PrivacyBudgetTemplateParametersInput || (PrivacyBudgetTemplateParametersInput = {}));
@@ -5307,6 +5364,7 @@ var PrivacyBudgetTemplateUpdateParameters;
5307
5364
  ((PrivacyBudgetTemplateUpdateParameters2) => {
5308
5365
  PrivacyBudgetTemplateUpdateParameters2.visit = /* @__PURE__ */ __name((value, visitor) => {
5309
5366
  if (value.differentialPrivacy !== void 0) return visitor.differentialPrivacy(value.differentialPrivacy);
5367
+ if (value.accessBudget !== void 0) return visitor.accessBudget(value.accessBudget);
5310
5368
  return visitor._(value.$unknown[0], value.$unknown[1]);
5311
5369
  }, "visit");
5312
5370
  })(PrivacyBudgetTemplateUpdateParameters || (PrivacyBudgetTemplateUpdateParameters = {}));
@@ -6278,6 +6336,8 @@ var paginateListSchemas = (0, import_core.createPaginator)(CleanRoomsClient, Lis
6278
6336
  paginateListProtectedJobs,
6279
6337
  paginateListProtectedQueries,
6280
6338
  paginateListSchemas,
6339
+ AutoRefreshMode,
6340
+ AccessBudgetType,
6281
6341
  AccessDeniedExceptionReason,
6282
6342
  AccessDeniedException,
6283
6343
  AdditionalAnalyses,
@@ -6346,7 +6406,6 @@ var paginateListSchemas = (0, import_core.createPaginator)(CleanRoomsClient, Lis
6346
6406
  MembershipProtectedJobOutputConfiguration,
6347
6407
  ResultFormat,
6348
6408
  MembershipProtectedQueryOutputConfiguration,
6349
- MembershipJobLogStatus,
6350
6409
  AnalysisParameterFilterSensitiveLog,
6351
6410
  AnalysisSourceFilterSensitiveLog,
6352
6411
  AnalysisTemplateFilterSensitiveLog,
@@ -6357,6 +6416,7 @@ var paginateListSchemas = (0, import_core.createPaginator)(CleanRoomsClient, Lis
6357
6416
  CollaborationAnalysisTemplateFilterSensitiveLog,
6358
6417
  BatchGetCollaborationAnalysisTemplateOutputFilterSensitiveLog,
6359
6418
  GetCollaborationAnalysisTemplateOutputFilterSensitiveLog,
6419
+ MembershipJobLogStatus,
6360
6420
  MembershipQueryLogStatus,
6361
6421
  MembershipStatus,
6362
6422
  ProtectedJobWorkerComputeType,
@@ -1,5 +1,15 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { CleanRoomsServiceException as __BaseException } from "./CleanRoomsServiceException";
3
+ export const AutoRefreshMode = {
4
+ DISABLED: "DISABLED",
5
+ ENABLED: "ENABLED",
6
+ };
7
+ export const AccessBudgetType = {
8
+ CALENDAR_DAY: "CALENDAR_DAY",
9
+ CALENDAR_MONTH: "CALENDAR_MONTH",
10
+ CALENDAR_WEEK: "CALENDAR_WEEK",
11
+ LIFETIME: "LIFETIME",
12
+ };
3
13
  export const AccessDeniedExceptionReason = {
4
14
  INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS",
5
15
  };
@@ -420,10 +430,13 @@ export var PrivacyBudgetTemplateParametersOutput;
420
430
  PrivacyBudgetTemplateParametersOutput.visit = (value, visitor) => {
421
431
  if (value.differentialPrivacy !== undefined)
422
432
  return visitor.differentialPrivacy(value.differentialPrivacy);
433
+ if (value.accessBudget !== undefined)
434
+ return visitor.accessBudget(value.accessBudget);
423
435
  return visitor._(value.$unknown[0], value.$unknown[1]);
424
436
  };
425
437
  })(PrivacyBudgetTemplateParametersOutput || (PrivacyBudgetTemplateParametersOutput = {}));
426
438
  export const PrivacyBudgetType = {
439
+ ACCESS_BUDGET: "ACCESS_BUDGET",
427
440
  DIFFERENTIAL_PRIVACY: "DIFFERENTIAL_PRIVACY",
428
441
  };
429
442
  export const DifferentialPrivacyAggregationType = {
@@ -438,6 +451,8 @@ export var PrivacyBudget;
438
451
  PrivacyBudget.visit = (value, visitor) => {
439
452
  if (value.differentialPrivacy !== undefined)
440
453
  return visitor.differentialPrivacy(value.differentialPrivacy);
454
+ if (value.accessBudget !== undefined)
455
+ return visitor.accessBudget(value.accessBudget);
441
456
  return visitor._(value.$unknown[0], value.$unknown[1]);
442
457
  };
443
458
  })(PrivacyBudget || (PrivacyBudget = {}));
@@ -520,10 +535,6 @@ export var MembershipProtectedQueryOutputConfiguration;
520
535
  return visitor._(value.$unknown[0], value.$unknown[1]);
521
536
  };
522
537
  })(MembershipProtectedQueryOutputConfiguration || (MembershipProtectedQueryOutputConfiguration = {}));
523
- export const MembershipJobLogStatus = {
524
- DISABLED: "DISABLED",
525
- ENABLED: "ENABLED",
526
- };
527
538
  export const AnalysisParameterFilterSensitiveLog = (obj) => ({
528
539
  ...obj,
529
540
  });
@@ -1,4 +1,8 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ export const MembershipJobLogStatus = {
3
+ DISABLED: "DISABLED",
4
+ ENABLED: "ENABLED",
5
+ };
2
6
  export const MembershipQueryLogStatus = {
3
7
  DISABLED: "DISABLED",
4
8
  ENABLED: "ENABLED",
@@ -163,6 +167,8 @@ export var PrivacyBudgetTemplateParametersInput;
163
167
  PrivacyBudgetTemplateParametersInput.visit = (value, visitor) => {
164
168
  if (value.differentialPrivacy !== undefined)
165
169
  return visitor.differentialPrivacy(value.differentialPrivacy);
170
+ if (value.accessBudget !== undefined)
171
+ return visitor.accessBudget(value.accessBudget);
166
172
  return visitor._(value.$unknown[0], value.$unknown[1]);
167
173
  };
168
174
  })(PrivacyBudgetTemplateParametersInput || (PrivacyBudgetTemplateParametersInput = {}));
@@ -171,6 +177,8 @@ export var PrivacyBudgetTemplateUpdateParameters;
171
177
  PrivacyBudgetTemplateUpdateParameters.visit = (value, visitor) => {
172
178
  if (value.differentialPrivacy !== undefined)
173
179
  return visitor.differentialPrivacy(value.differentialPrivacy);
180
+ if (value.accessBudget !== undefined)
181
+ return visitor.accessBudget(value.accessBudget);
174
182
  return visitor._(value.$unknown[0], value.$unknown[1]);
175
183
  };
176
184
  })(PrivacyBudgetTemplateUpdateParameters || (PrivacyBudgetTemplateUpdateParameters = {}));
@@ -655,6 +655,7 @@ export const se_ListCollaborationPrivacyBudgetsCommand = async (input, context)
655
655
  [_pBT]: [, __expectNonNull(input[_pBT], `privacyBudgetType`)],
656
656
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
657
657
  [_nT]: [, input[_nT]],
658
+ [_aBRA]: [, input[_aBRA]],
658
659
  });
659
660
  let body;
660
661
  b.m("GET").h(headers).q(query).b(body);
@@ -785,6 +786,7 @@ export const se_ListPrivacyBudgetsCommand = async (input, context) => {
785
786
  [_pBT]: [, __expectNonNull(input[_pBT], `privacyBudgetType`)],
786
787
  [_nT]: [, input[_nT]],
787
788
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
789
+ [_aBRA]: [, input[_aBRA]],
788
790
  });
789
791
  let body;
790
792
  b.m("GET").h(headers).q(query).b(body);
@@ -2476,6 +2478,31 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2476
2478
  });
2477
2479
  return __decorateServiceException(exception, parsedOutput.body);
2478
2480
  };
2481
+ const de_AccessBudget = (output, context) => {
2482
+ return take(output, {
2483
+ aggregateRemainingBudget: __expectInt32,
2484
+ details: (_) => de_AccessBudgetDetailsList(_, context),
2485
+ resourceArn: __expectString,
2486
+ });
2487
+ };
2488
+ const de_AccessBudgetDetails = (output, context) => {
2489
+ return take(output, {
2490
+ autoRefresh: __expectString,
2491
+ budget: __expectInt32,
2492
+ budgetType: __expectString,
2493
+ endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2494
+ remainingBudget: __expectInt32,
2495
+ startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2496
+ });
2497
+ };
2498
+ const de_AccessBudgetDetailsList = (output, context) => {
2499
+ const retVal = (output || [])
2500
+ .filter((e) => e != null)
2501
+ .map((entry) => {
2502
+ return de_AccessBudgetDetails(entry, context);
2503
+ });
2504
+ return retVal;
2505
+ };
2479
2506
  const de_AnalysisRule = (output, context) => {
2480
2507
  return take(output, {
2481
2508
  collaborationId: __expectString,
@@ -2716,7 +2743,7 @@ const de_CollaborationIdNamespaceAssociationSummaryList = (output, context) => {
2716
2743
  };
2717
2744
  const de_CollaborationPrivacyBudgetSummary = (output, context) => {
2718
2745
  return take(output, {
2719
- budget: (_) => _json(__expectUnion(_)),
2746
+ budget: (_) => de_PrivacyBudget(__expectUnion(_), context),
2720
2747
  collaborationArn: __expectString,
2721
2748
  collaborationId: __expectString,
2722
2749
  createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -3110,9 +3137,22 @@ const de_MemberSummaryList = (output, context) => {
3110
3137
  });
3111
3138
  return retVal;
3112
3139
  };
3140
+ const de_PrivacyBudget = (output, context) => {
3141
+ if (output.accessBudget != null) {
3142
+ return {
3143
+ accessBudget: de_AccessBudget(output.accessBudget, context),
3144
+ };
3145
+ }
3146
+ if (output.differentialPrivacy != null) {
3147
+ return {
3148
+ differentialPrivacy: _json(output.differentialPrivacy),
3149
+ };
3150
+ }
3151
+ return { $unknown: Object.entries(output)[0] };
3152
+ };
3113
3153
  const de_PrivacyBudgetSummary = (output, context) => {
3114
3154
  return take(output, {
3115
- budget: (_) => _json(__expectUnion(_)),
3155
+ budget: (_) => de_PrivacyBudget(__expectUnion(_), context),
3116
3156
  collaborationArn: __expectString,
3117
3157
  collaborationId: __expectString,
3118
3158
  createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -3260,6 +3300,7 @@ const de_Schema = (output, context) => {
3260
3300
  description: __expectString,
3261
3301
  name: __expectString,
3262
3302
  partitionKeys: _json,
3303
+ resourceArn: __expectString,
3263
3304
  schemaStatusDetails: _json,
3264
3305
  schemaTypeProperties: (_) => _json(__expectUnion(_)),
3265
3306
  selectedAnalysisMethods: _json,
@@ -3292,6 +3333,7 @@ const de_SchemaSummary = (output, context) => {
3292
3333
  createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3293
3334
  creatorAccountId: __expectString,
3294
3335
  name: __expectString,
3336
+ resourceArn: __expectString,
3295
3337
  selectedAnalysisMethods: _json,
3296
3338
  type: __expectString,
3297
3339
  updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -3315,6 +3357,7 @@ const deserializeMetadata = (output) => ({
3315
3357
  cfId: output.headers["x-amz-cf-id"],
3316
3358
  });
3317
3359
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
3360
+ const _aBRA = "accessBudgetResourceArn";
3318
3361
  const _mR = "maxResults";
3319
3362
  const _mS = "memberStatus";
3320
3363
  const _nT = "nextToken";
@@ -90,6 +90,7 @@ declare const BatchGetSchemaCommand_base: {
90
90
  * // analysisType: "DIRECT_ANALYSIS" || "ADDITIONAL_ANALYSIS", // required
91
91
  * // },
92
92
  * // ],
93
+ * // resourceArn: "STRING_VALUE",
93
94
  * // schemaTypeProperties: { // SchemaTypeProperties Union: only one key present
94
95
  * // idMappingTable: { // IdMappingTableSchemaTypeProperties
95
96
  * // idMappingTableInputSource: [ // IdMappingTableInputSourceList // required
@@ -38,13 +38,23 @@ declare const CreatePrivacyBudgetTemplateCommand_base: {
38
38
  * const client = new CleanRoomsClient(config);
39
39
  * const input = { // CreatePrivacyBudgetTemplateInput
40
40
  * membershipIdentifier: "STRING_VALUE", // required
41
- * autoRefresh: "CALENDAR_MONTH" || "NONE", // required
42
- * privacyBudgetType: "DIFFERENTIAL_PRIVACY", // required
41
+ * autoRefresh: "CALENDAR_MONTH" || "NONE",
42
+ * privacyBudgetType: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required
43
43
  * parameters: { // PrivacyBudgetTemplateParametersInput Union: only one key present
44
44
  * differentialPrivacy: { // DifferentialPrivacyTemplateParametersInput
45
45
  * epsilon: Number("int"), // required
46
46
  * usersNoisePerQuery: Number("int"), // required
47
47
  * },
48
+ * accessBudget: { // AccessBudgetsPrivacyTemplateParametersInput
49
+ * budgetParameters: [ // BudgetParameters // required
50
+ * { // BudgetParameter
51
+ * type: "CALENDAR_DAY" || "CALENDAR_MONTH" || "CALENDAR_WEEK" || "LIFETIME", // required
52
+ * budget: Number("int"), // required
53
+ * autoRefresh: "ENABLED" || "DISABLED",
54
+ * },
55
+ * ],
56
+ * resourceArn: "STRING_VALUE", // required
57
+ * },
48
58
  * },
49
59
  * tags: { // TagMap
50
60
  * "<keys>": "STRING_VALUE",
@@ -62,13 +72,23 @@ declare const CreatePrivacyBudgetTemplateCommand_base: {
62
72
  * // collaborationArn: "STRING_VALUE", // required
63
73
  * // createTime: new Date("TIMESTAMP"), // required
64
74
  * // updateTime: new Date("TIMESTAMP"), // required
65
- * // privacyBudgetType: "DIFFERENTIAL_PRIVACY", // required
75
+ * // privacyBudgetType: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required
66
76
  * // autoRefresh: "CALENDAR_MONTH" || "NONE", // required
67
77
  * // parameters: { // PrivacyBudgetTemplateParametersOutput Union: only one key present
68
78
  * // differentialPrivacy: { // DifferentialPrivacyTemplateParametersOutput
69
79
  * // epsilon: Number("int"), // required
70
80
  * // usersNoisePerQuery: Number("int"), // required
71
81
  * // },
82
+ * // accessBudget: { // AccessBudgetsPrivacyTemplateParametersOutput
83
+ * // budgetParameters: [ // BudgetParameters // required
84
+ * // { // BudgetParameter
85
+ * // type: "CALENDAR_DAY" || "CALENDAR_MONTH" || "CALENDAR_WEEK" || "LIFETIME", // required
86
+ * // budget: Number("int"), // required
87
+ * // autoRefresh: "ENABLED" || "DISABLED",
88
+ * // },
89
+ * // ],
90
+ * // resourceArn: "STRING_VALUE", // required
91
+ * // },
72
92
  * // },
73
93
  * // },
74
94
  * // };
@@ -51,13 +51,23 @@ declare const GetCollaborationPrivacyBudgetTemplateCommand_base: {
51
51
  * // creatorAccountId: "STRING_VALUE", // required
52
52
  * // createTime: new Date("TIMESTAMP"), // required
53
53
  * // updateTime: new Date("TIMESTAMP"), // required
54
- * // privacyBudgetType: "DIFFERENTIAL_PRIVACY", // required
54
+ * // privacyBudgetType: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required
55
55
  * // autoRefresh: "CALENDAR_MONTH" || "NONE", // required
56
56
  * // parameters: { // PrivacyBudgetTemplateParametersOutput Union: only one key present
57
57
  * // differentialPrivacy: { // DifferentialPrivacyTemplateParametersOutput
58
58
  * // epsilon: Number("int"), // required
59
59
  * // usersNoisePerQuery: Number("int"), // required
60
60
  * // },
61
+ * // accessBudget: { // AccessBudgetsPrivacyTemplateParametersOutput
62
+ * // budgetParameters: [ // BudgetParameters // required
63
+ * // { // BudgetParameter
64
+ * // type: "CALENDAR_DAY" || "CALENDAR_MONTH" || "CALENDAR_WEEK" || "LIFETIME", // required
65
+ * // budget: Number("int"), // required
66
+ * // autoRefresh: "ENABLED" || "DISABLED",
67
+ * // },
68
+ * // ],
69
+ * // resourceArn: "STRING_VALUE", // required
70
+ * // },
61
71
  * // },
62
72
  * // },
63
73
  * // };
@@ -52,13 +52,23 @@ declare const GetPrivacyBudgetTemplateCommand_base: {
52
52
  * // collaborationArn: "STRING_VALUE", // required
53
53
  * // createTime: new Date("TIMESTAMP"), // required
54
54
  * // updateTime: new Date("TIMESTAMP"), // required
55
- * // privacyBudgetType: "DIFFERENTIAL_PRIVACY", // required
55
+ * // privacyBudgetType: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required
56
56
  * // autoRefresh: "CALENDAR_MONTH" || "NONE", // required
57
57
  * // parameters: { // PrivacyBudgetTemplateParametersOutput Union: only one key present
58
58
  * // differentialPrivacy: { // DifferentialPrivacyTemplateParametersOutput
59
59
  * // epsilon: Number("int"), // required
60
60
  * // usersNoisePerQuery: Number("int"), // required
61
61
  * // },
62
+ * // accessBudget: { // AccessBudgetsPrivacyTemplateParametersOutput
63
+ * // budgetParameters: [ // BudgetParameters // required
64
+ * // { // BudgetParameter
65
+ * // type: "CALENDAR_DAY" || "CALENDAR_MONTH" || "CALENDAR_WEEK" || "LIFETIME", // required
66
+ * // budget: Number("int"), // required
67
+ * // autoRefresh: "ENABLED" || "DISABLED",
68
+ * // },
69
+ * // ],
70
+ * // resourceArn: "STRING_VALUE", // required
71
+ * // },
62
72
  * // },
63
73
  * // },
64
74
  * // };
@@ -87,6 +87,7 @@ declare const GetSchemaCommand_base: {
87
87
  * // analysisType: "DIRECT_ANALYSIS" || "ADDITIONAL_ANALYSIS", // required
88
88
  * // },
89
89
  * // ],
90
+ * // resourceArn: "STRING_VALUE",
90
91
  * // schemaTypeProperties: { // SchemaTypeProperties Union: only one key present
91
92
  * // idMappingTable: { // IdMappingTableSchemaTypeProperties
92
93
  * // idMappingTableInputSource: [ // IdMappingTableInputSourceList // required
@@ -52,7 +52,7 @@ declare const ListCollaborationPrivacyBudgetTemplatesCommand_base: {
52
52
  * // collaborationId: "STRING_VALUE", // required
53
53
  * // collaborationArn: "STRING_VALUE", // required
54
54
  * // creatorAccountId: "STRING_VALUE", // required
55
- * // privacyBudgetType: "DIFFERENTIAL_PRIVACY", // required
55
+ * // privacyBudgetType: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required
56
56
  * // createTime: new Date("TIMESTAMP"), // required
57
57
  * // updateTime: new Date("TIMESTAMP"), // required
58
58
  * // },
@@ -38,9 +38,10 @@ declare const ListCollaborationPrivacyBudgetsCommand_base: {
38
38
  * const client = new CleanRoomsClient(config);
39
39
  * const input = { // ListCollaborationPrivacyBudgetsInput
40
40
  * collaborationIdentifier: "STRING_VALUE", // required
41
- * privacyBudgetType: "DIFFERENTIAL_PRIVACY", // required
41
+ * privacyBudgetType: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required
42
42
  * maxResults: Number("int"),
43
43
  * nextToken: "STRING_VALUE",
44
+ * accessBudgetResourceArn: "STRING_VALUE",
44
45
  * };
45
46
  * const command = new ListCollaborationPrivacyBudgetsCommand(input);
46
47
  * const response = await client.send(command);
@@ -53,7 +54,7 @@ declare const ListCollaborationPrivacyBudgetsCommand_base: {
53
54
  * // collaborationId: "STRING_VALUE", // required
54
55
  * // collaborationArn: "STRING_VALUE", // required
55
56
  * // creatorAccountId: "STRING_VALUE", // required
56
- * // type: "DIFFERENTIAL_PRIVACY", // required
57
+ * // type: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required
57
58
  * // createTime: new Date("TIMESTAMP"), // required
58
59
  * // updateTime: new Date("TIMESTAMP"), // required
59
60
  * // budget: { // PrivacyBudget Union: only one key present
@@ -67,6 +68,20 @@ declare const ListCollaborationPrivacyBudgetsCommand_base: {
67
68
  * // ],
68
69
  * // epsilon: Number("int"), // required
69
70
  * // },
71
+ * // accessBudget: { // AccessBudget
72
+ * // resourceArn: "STRING_VALUE", // required
73
+ * // details: [ // AccessBudgetDetailsList // required
74
+ * // { // AccessBudgetDetails
75
+ * // startTime: new Date("TIMESTAMP"), // required
76
+ * // endTime: new Date("TIMESTAMP"),
77
+ * // remainingBudget: Number("int"), // required
78
+ * // budget: Number("int"), // required
79
+ * // budgetType: "CALENDAR_DAY" || "CALENDAR_MONTH" || "CALENDAR_WEEK" || "LIFETIME", // required
80
+ * // autoRefresh: "ENABLED" || "DISABLED",
81
+ * // },
82
+ * // ],
83
+ * // aggregateRemainingBudget: Number("int"), // required
84
+ * // },
70
85
  * // },
71
86
  * // },
72
87
  * // ],
@@ -53,7 +53,7 @@ declare const ListPrivacyBudgetTemplatesCommand_base: {
53
53
  * // membershipArn: "STRING_VALUE", // required
54
54
  * // collaborationId: "STRING_VALUE", // required
55
55
  * // collaborationArn: "STRING_VALUE", // required
56
- * // privacyBudgetType: "DIFFERENTIAL_PRIVACY", // required
56
+ * // privacyBudgetType: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required
57
57
  * // createTime: new Date("TIMESTAMP"), // required
58
58
  * // updateTime: new Date("TIMESTAMP"), // required
59
59
  * // },
@@ -38,9 +38,10 @@ declare const ListPrivacyBudgetsCommand_base: {
38
38
  * const client = new CleanRoomsClient(config);
39
39
  * const input = { // ListPrivacyBudgetsInput
40
40
  * membershipIdentifier: "STRING_VALUE", // required
41
- * privacyBudgetType: "DIFFERENTIAL_PRIVACY", // required
41
+ * privacyBudgetType: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required
42
42
  * nextToken: "STRING_VALUE",
43
43
  * maxResults: Number("int"),
44
+ * accessBudgetResourceArn: "STRING_VALUE",
44
45
  * };
45
46
  * const command = new ListPrivacyBudgetsCommand(input);
46
47
  * const response = await client.send(command);
@@ -54,7 +55,7 @@ declare const ListPrivacyBudgetsCommand_base: {
54
55
  * // membershipArn: "STRING_VALUE", // required
55
56
  * // collaborationId: "STRING_VALUE", // required
56
57
  * // collaborationArn: "STRING_VALUE", // required
57
- * // type: "DIFFERENTIAL_PRIVACY", // required
58
+ * // type: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required
58
59
  * // createTime: new Date("TIMESTAMP"), // required
59
60
  * // updateTime: new Date("TIMESTAMP"), // required
60
61
  * // budget: { // PrivacyBudget Union: only one key present
@@ -68,6 +69,20 @@ declare const ListPrivacyBudgetsCommand_base: {
68
69
  * // ],
69
70
  * // epsilon: Number("int"), // required
70
71
  * // },
72
+ * // accessBudget: { // AccessBudget
73
+ * // resourceArn: "STRING_VALUE", // required
74
+ * // details: [ // AccessBudgetDetailsList // required
75
+ * // { // AccessBudgetDetails
76
+ * // startTime: new Date("TIMESTAMP"), // required
77
+ * // endTime: new Date("TIMESTAMP"),
78
+ * // remainingBudget: Number("int"), // required
79
+ * // budget: Number("int"), // required
80
+ * // budgetType: "CALENDAR_DAY" || "CALENDAR_MONTH" || "CALENDAR_WEEK" || "LIFETIME", // required
81
+ * // autoRefresh: "ENABLED" || "DISABLED",
82
+ * // },
83
+ * // ],
84
+ * // aggregateRemainingBudget: Number("int"), // required
85
+ * // },
71
86
  * // },
72
87
  * // },
73
88
  * // ],
@@ -58,6 +58,7 @@ declare const ListSchemasCommand_base: {
58
58
  * // "AGGREGATION" || "LIST" || "CUSTOM" || "ID_MAPPING_TABLE",
59
59
  * // ],
60
60
  * // analysisMethod: "DIRECT_QUERY" || "DIRECT_JOB" || "MULTIPLE",
61
+ * // resourceArn: "STRING_VALUE",
61
62
  * // selectedAnalysisMethods: [ // SelectedAnalysisMethods
62
63
  * // "DIRECT_QUERY" || "DIRECT_JOB",
63
64
  * // ],