@aws-sdk/client-cleanrooms 3.899.0 → 3.903.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.
Files changed (28) hide show
  1. package/dist-cjs/endpoint/ruleset.js +1 -1
  2. package/dist-cjs/index.js +155 -19
  3. package/dist-es/endpoint/ruleset.js +1 -1
  4. package/dist-es/models/models_0.js +85 -12
  5. package/dist-es/models/models_1.js +16 -0
  6. package/dist-es/protocols/Aws_restJson1.js +47 -2
  7. package/dist-types/commands/BatchGetSchemaCommand.d.ts +1 -0
  8. package/dist-types/commands/CreateCollaborationCommand.d.ts +6 -0
  9. package/dist-types/commands/CreateConfiguredTableCommand.d.ts +4 -0
  10. package/dist-types/commands/CreatePrivacyBudgetTemplateCommand.d.ts +23 -3
  11. package/dist-types/commands/GetCollaborationCommand.d.ts +3 -0
  12. package/dist-types/commands/GetCollaborationPrivacyBudgetTemplateCommand.d.ts +11 -1
  13. package/dist-types/commands/GetConfiguredTableCommand.d.ts +2 -0
  14. package/dist-types/commands/GetPrivacyBudgetTemplateCommand.d.ts +11 -1
  15. package/dist-types/commands/GetSchemaCommand.d.ts +1 -0
  16. package/dist-types/commands/ListCollaborationPrivacyBudgetTemplatesCommand.d.ts +1 -1
  17. package/dist-types/commands/ListCollaborationPrivacyBudgetsCommand.d.ts +17 -2
  18. package/dist-types/commands/ListPrivacyBudgetTemplatesCommand.d.ts +1 -1
  19. package/dist-types/commands/ListPrivacyBudgetsCommand.d.ts +17 -2
  20. package/dist-types/commands/ListSchemasCommand.d.ts +1 -0
  21. package/dist-types/commands/UpdateCollaborationCommand.d.ts +3 -0
  22. package/dist-types/commands/UpdateConfiguredTableCommand.d.ts +4 -0
  23. package/dist-types/commands/UpdatePrivacyBudgetTemplateCommand.d.ts +21 -2
  24. package/dist-types/models/models_0.d.ts +295 -167
  25. package/dist-types/models/models_1.d.ts +198 -4
  26. package/dist-types/ts3.4/models/models_0.d.ts +143 -58
  27. package/dist-types/ts3.4/models/models_1.d.ts +81 -5
  28. package/package.json +37 -37
@@ -2,6 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const s = "required", t = "fn", u = "argv", v = "ref";
5
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
5
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
6
6
  const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://cleanrooms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://cleanrooms-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://cleanrooms.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://cleanrooms.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
7
7
  exports.ruleSet = _data;
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,
@@ -55,6 +57,7 @@ __export(index_exports, {
55
57
  CollaborationAnalysisTemplateFilterSensitiveLog: () => CollaborationAnalysisTemplateFilterSensitiveLog,
56
58
  CollaborationJobLogStatus: () => CollaborationJobLogStatus,
57
59
  CollaborationQueryLogStatus: () => CollaborationQueryLogStatus,
60
+ CommercialRegion: () => CommercialRegion,
58
61
  ComputeConfiguration: () => ComputeConfiguration,
59
62
  ConfigurationDetails: () => ConfigurationDetails,
60
63
  ConfiguredTableAnalysisRulePolicy: () => ConfiguredTableAnalysisRulePolicy,
@@ -197,6 +200,7 @@ __export(index_exports, {
197
200
  StartProtectedQueryCommand: () => StartProtectedQueryCommand,
198
201
  StartProtectedQueryInputFilterSensitiveLog: () => StartProtectedQueryInputFilterSensitiveLog,
199
202
  StartProtectedQueryOutputFilterSensitiveLog: () => StartProtectedQueryOutputFilterSensitiveLog,
203
+ SupportedS3Region: () => SupportedS3Region,
200
204
  TableReference: () => TableReference,
201
205
  TagResourceCommand: () => TagResourceCommand,
202
206
  TargetProtectedJobStatus: () => TargetProtectedJobStatus,
@@ -413,6 +417,16 @@ var CleanRoomsServiceException = class _CleanRoomsServiceException extends impor
413
417
  };
414
418
 
415
419
  // src/models/models_0.ts
420
+ var AutoRefreshMode = {
421
+ DISABLED: "DISABLED",
422
+ ENABLED: "ENABLED"
423
+ };
424
+ var AccessBudgetType = {
425
+ CALENDAR_DAY: "CALENDAR_DAY",
426
+ CALENDAR_MONTH: "CALENDAR_MONTH",
427
+ CALENDAR_WEEK: "CALENDAR_WEEK",
428
+ LIFETIME: "LIFETIME"
429
+ };
416
430
  var AccessDeniedExceptionReason = {
417
431
  INSUFFICIENT_PERMISSIONS: "INSUFFICIENT_PERMISSIONS"
418
432
  };
@@ -455,6 +469,41 @@ var AggregateFunctionName = {
455
469
  var AggregationType = {
456
470
  COUNT_DISTINCT: "COUNT_DISTINCT"
457
471
  };
472
+ var SupportedS3Region = {
473
+ AF_SOUTH_1: "af-south-1",
474
+ AP_EAST_1: "ap-east-1",
475
+ AP_EAST_2: "ap-east-2",
476
+ AP_NORTHEAST_1: "ap-northeast-1",
477
+ AP_NORTHEAST_2: "ap-northeast-2",
478
+ AP_NORTHEAST_3: "ap-northeast-3",
479
+ AP_SOUTHEAST_1: "ap-southeast-1",
480
+ AP_SOUTHEAST_2: "ap-southeast-2",
481
+ AP_SOUTHEAST_3: "ap-southeast-3",
482
+ AP_SOUTHEAST_4: "ap-southeast-4",
483
+ AP_SOUTHEAST_5: "ap-southeast-5",
484
+ AP_SOUTHEAST_7: "ap-southeast-7",
485
+ AP_SOUTH_1: "ap-south-1",
486
+ AP_SOUTH_2: "ap-south-2",
487
+ CA_CENTRAL_1: "ca-central-1",
488
+ CA_WEST_1: "ca-west-1",
489
+ EU_CENTRAL_1: "eu-central-1",
490
+ EU_CENTRAL_2: "eu-central-2",
491
+ EU_NORTH_1: "eu-north-1",
492
+ EU_SOUTH_1: "eu-south-1",
493
+ EU_SOUTH_2: "eu-south-2",
494
+ EU_WEST_1: "eu-west-1",
495
+ EU_WEST_2: "eu-west-2",
496
+ EU_WEST_3: "eu-west-3",
497
+ IL_CENTRAL_1: "il-central-1",
498
+ ME_CENTRAL_1: "me-central-1",
499
+ ME_SOUTH_1: "me-south-1",
500
+ MX_CENTRAL_1: "mx-central-1",
501
+ SA_EAST_1: "sa-east-1",
502
+ US_EAST_1: "us-east-1",
503
+ US_EAST_2: "us-east-2",
504
+ US_WEST_1: "us-west-1",
505
+ US_WEST_2: "us-west-2"
506
+ };
458
507
  var AnalysisFormat = {
459
508
  PYSPARK_1_0: "PYSPARK_1_0",
460
509
  SQL: "SQL"
@@ -802,6 +851,41 @@ var AnalyticsEngine = {
802
851
  CLEAN_ROOMS_SQL: "CLEAN_ROOMS_SQL",
803
852
  SPARK: "SPARK"
804
853
  };
854
+ var CommercialRegion = {
855
+ AF_SOUTH_1: "af-south-1",
856
+ AP_EAST_1: "ap-east-1",
857
+ AP_EAST_2: "ap-east-2",
858
+ AP_NORTHEAST_1: "ap-northeast-1",
859
+ AP_NORTHEAST_2: "ap-northeast-2",
860
+ AP_NORTHEAST_3: "ap-northeast-3",
861
+ AP_SOUTHEAST_1: "ap-southeast-1",
862
+ AP_SOUTHEAST_2: "ap-southeast-2",
863
+ AP_SOUTHEAST_3: "ap-southeast-3",
864
+ AP_SOUTHEAST_4: "ap-southeast-4",
865
+ AP_SOUTHEAST_5: "ap-southeast-5",
866
+ AP_SOUTHEAST_7: "ap-southeast-7",
867
+ AP_SOUTH_1: "ap-south-1",
868
+ AP_SOUTH_2: "ap-south-2",
869
+ CA_CENTRAL_1: "ca-central-1",
870
+ CA_WEST_1: "ca-west-1",
871
+ EU_CENTRAL_1: "eu-central-1",
872
+ EU_CENTRAL_2: "eu-central-2",
873
+ EU_NORTH_1: "eu-north-1",
874
+ EU_SOUTH_1: "eu-south-1",
875
+ EU_SOUTH_2: "eu-south-2",
876
+ EU_WEST_1: "eu-west-1",
877
+ EU_WEST_2: "eu-west-2",
878
+ EU_WEST_3: "eu-west-3",
879
+ IL_CENTRAL_1: "il-central-1",
880
+ ME_CENTRAL_1: "me-central-1",
881
+ ME_SOUTH_1: "me-south-1",
882
+ MX_CENTRAL_1: "mx-central-1",
883
+ SA_EAST_1: "sa-east-1",
884
+ US_EAST_1: "us-east-1",
885
+ US_EAST_2: "us-east-2",
886
+ US_WEST_1: "us-west-1",
887
+ US_WEST_2: "us-west-2"
888
+ };
805
889
  var AutoApprovedChangeType = {
806
890
  ADD_MEMBER: "ADD_MEMBER"
807
891
  };
@@ -895,10 +979,12 @@ var PrivacyBudgetTemplateParametersOutput;
895
979
  ((PrivacyBudgetTemplateParametersOutput2) => {
896
980
  PrivacyBudgetTemplateParametersOutput2.visit = /* @__PURE__ */ __name((value, visitor) => {
897
981
  if (value.differentialPrivacy !== void 0) return visitor.differentialPrivacy(value.differentialPrivacy);
982
+ if (value.accessBudget !== void 0) return visitor.accessBudget(value.accessBudget);
898
983
  return visitor._(value.$unknown[0], value.$unknown[1]);
899
984
  }, "visit");
900
985
  })(PrivacyBudgetTemplateParametersOutput || (PrivacyBudgetTemplateParametersOutput = {}));
901
986
  var PrivacyBudgetType = {
987
+ ACCESS_BUDGET: "ACCESS_BUDGET",
902
988
  DIFFERENTIAL_PRIVACY: "DIFFERENTIAL_PRIVACY"
903
989
  };
904
990
  var DifferentialPrivacyAggregationType = {
@@ -909,9 +995,10 @@ var DifferentialPrivacyAggregationType = {
909
995
  SUM: "SUM"
910
996
  };
911
997
  var PrivacyBudget;
912
- ((PrivacyBudget2) => {
913
- PrivacyBudget2.visit = /* @__PURE__ */ __name((value, visitor) => {
998
+ ((PrivacyBudget3) => {
999
+ PrivacyBudget3.visit = /* @__PURE__ */ __name((value, visitor) => {
914
1000
  if (value.differentialPrivacy !== void 0) return visitor.differentialPrivacy(value.differentialPrivacy);
1001
+ if (value.accessBudget !== void 0) return visitor.accessBudget(value.accessBudget);
915
1002
  return visitor._(value.$unknown[0], value.$unknown[1]);
916
1003
  }, "visit");
917
1004
  })(PrivacyBudget || (PrivacyBudget = {}));
@@ -977,17 +1064,6 @@ var ResultFormat = {
977
1064
  CSV: "CSV",
978
1065
  PARQUET: "PARQUET"
979
1066
  };
980
- var MembershipProtectedQueryOutputConfiguration;
981
- ((MembershipProtectedQueryOutputConfiguration3) => {
982
- MembershipProtectedQueryOutputConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
983
- if (value.s3 !== void 0) return visitor.s3(value.s3);
984
- return visitor._(value.$unknown[0], value.$unknown[1]);
985
- }, "visit");
986
- })(MembershipProtectedQueryOutputConfiguration || (MembershipProtectedQueryOutputConfiguration = {}));
987
- var MembershipJobLogStatus = {
988
- DISABLED: "DISABLED",
989
- ENABLED: "ENABLED"
990
- };
991
1067
  var AnalysisParameterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
992
1068
  ...obj
993
1069
  }), "AnalysisParameterFilterSensitiveLog");
@@ -1124,6 +1200,7 @@ var se_CreateCollaborationCommand = /* @__PURE__ */ __name(async (input, context
1124
1200
  let body;
1125
1201
  body = JSON.stringify(
1126
1202
  (0, import_smithy_client.take)(input, {
1203
+ allowedResultRegions: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "allowedResultRegions"),
1127
1204
  analyticsEngine: [],
1128
1205
  autoApprovedChangeRequestTypes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "autoApprovedChangeRequestTypes"),
1129
1206
  creatorDisplayName: [],
@@ -1807,7 +1884,8 @@ var se_ListCollaborationPrivacyBudgetsCommand = /* @__PURE__ */ __name(async (in
1807
1884
  const query = (0, import_smithy_client.map)({
1808
1885
  [_pBT]: [, (0, import_smithy_client.expectNonNull)(input[_pBT], `privacyBudgetType`)],
1809
1886
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1810
- [_nT]: [, input[_nT]]
1887
+ [_nT]: [, input[_nT]],
1888
+ [_aBRA]: [, input[_aBRA]]
1811
1889
  });
1812
1890
  let body;
1813
1891
  b.m("GET").h(headers).q(query).b(body);
@@ -1937,7 +2015,8 @@ var se_ListPrivacyBudgetsCommand = /* @__PURE__ */ __name(async (input, context)
1937
2015
  const query = (0, import_smithy_client.map)({
1938
2016
  [_pBT]: [, (0, import_smithy_client.expectNonNull)(input[_pBT], `privacyBudgetType`)],
1939
2017
  [_nT]: [, input[_nT]],
1940
- [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
2018
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
2019
+ [_aBRA]: [, input[_aBRA]]
1941
2020
  });
1942
2021
  let body;
1943
2022
  b.m("GET").h(headers).q(query).b(body);
@@ -3694,6 +3773,29 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
3694
3773
  });
3695
3774
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
3696
3775
  }, "de_ValidationExceptionRes");
3776
+ var de_AccessBudget = /* @__PURE__ */ __name((output, context) => {
3777
+ return (0, import_smithy_client.take)(output, {
3778
+ aggregateRemainingBudget: import_smithy_client.expectInt32,
3779
+ details: /* @__PURE__ */ __name((_) => de_AccessBudgetDetailsList(_, context), "details"),
3780
+ resourceArn: import_smithy_client.expectString
3781
+ });
3782
+ }, "de_AccessBudget");
3783
+ var de_AccessBudgetDetails = /* @__PURE__ */ __name((output, context) => {
3784
+ return (0, import_smithy_client.take)(output, {
3785
+ autoRefresh: import_smithy_client.expectString,
3786
+ budget: import_smithy_client.expectInt32,
3787
+ budgetType: import_smithy_client.expectString,
3788
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "endTime"),
3789
+ remainingBudget: import_smithy_client.expectInt32,
3790
+ startTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "startTime")
3791
+ });
3792
+ }, "de_AccessBudgetDetails");
3793
+ var de_AccessBudgetDetailsList = /* @__PURE__ */ __name((output, context) => {
3794
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3795
+ return de_AccessBudgetDetails(entry, context);
3796
+ });
3797
+ return retVal;
3798
+ }, "de_AccessBudgetDetailsList");
3697
3799
  var de_AnalysisRule = /* @__PURE__ */ __name((output, context) => {
3698
3800
  return (0, import_smithy_client.take)(output, {
3699
3801
  collaborationId: import_smithy_client.expectString,
@@ -3759,6 +3861,7 @@ var de_BilledResourceUtilization = /* @__PURE__ */ __name((output, context) => {
3759
3861
  }, "de_BilledResourceUtilization");
3760
3862
  var de_Collaboration = /* @__PURE__ */ __name((output, context) => {
3761
3863
  return (0, import_smithy_client.take)(output, {
3864
+ allowedResultRegions: import_smithy_client._json,
3762
3865
  analyticsEngine: import_smithy_client.expectString,
3763
3866
  arn: import_smithy_client.expectString,
3764
3867
  autoApprovedChangeTypes: import_smithy_client._json,
@@ -3922,7 +4025,7 @@ var de_CollaborationIdNamespaceAssociationSummaryList = /* @__PURE__ */ __name((
3922
4025
  }, "de_CollaborationIdNamespaceAssociationSummaryList");
3923
4026
  var de_CollaborationPrivacyBudgetSummary = /* @__PURE__ */ __name((output, context) => {
3924
4027
  return (0, import_smithy_client.take)(output, {
3925
- budget: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "budget"),
4028
+ budget: /* @__PURE__ */ __name((_) => de_PrivacyBudget((0, import_core2.awsExpectUnion)(_), context), "budget"),
3926
4029
  collaborationArn: import_smithy_client.expectString,
3927
4030
  collaborationId: import_smithy_client.expectString,
3928
4031
  createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createTime"),
@@ -4292,9 +4395,22 @@ var de_MemberSummaryList = /* @__PURE__ */ __name((output, context) => {
4292
4395
  });
4293
4396
  return retVal;
4294
4397
  }, "de_MemberSummaryList");
4398
+ var de_PrivacyBudget = /* @__PURE__ */ __name((output, context) => {
4399
+ if (output.accessBudget != null) {
4400
+ return {
4401
+ accessBudget: de_AccessBudget(output.accessBudget, context)
4402
+ };
4403
+ }
4404
+ if (output.differentialPrivacy != null) {
4405
+ return {
4406
+ differentialPrivacy: (0, import_smithy_client._json)(output.differentialPrivacy)
4407
+ };
4408
+ }
4409
+ return { $unknown: Object.entries(output)[0] };
4410
+ }, "de_PrivacyBudget");
4295
4411
  var de_PrivacyBudgetSummary = /* @__PURE__ */ __name((output, context) => {
4296
4412
  return (0, import_smithy_client.take)(output, {
4297
- budget: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "budget"),
4413
+ budget: /* @__PURE__ */ __name((_) => de_PrivacyBudget((0, import_core2.awsExpectUnion)(_), context), "budget"),
4298
4414
  collaborationArn: import_smithy_client.expectString,
4299
4415
  collaborationId: import_smithy_client.expectString,
4300
4416
  createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createTime"),
@@ -4434,6 +4550,7 @@ var de_Schema = /* @__PURE__ */ __name((output, context) => {
4434
4550
  description: import_smithy_client.expectString,
4435
4551
  name: import_smithy_client.expectString,
4436
4552
  partitionKeys: import_smithy_client._json,
4553
+ resourceArn: import_smithy_client.expectString,
4437
4554
  schemaStatusDetails: import_smithy_client._json,
4438
4555
  schemaTypeProperties: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "schemaTypeProperties"),
4439
4556
  selectedAnalysisMethods: import_smithy_client._json,
@@ -4462,6 +4579,7 @@ var de_SchemaSummary = /* @__PURE__ */ __name((output, context) => {
4462
4579
  createTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "createTime"),
4463
4580
  creatorAccountId: import_smithy_client.expectString,
4464
4581
  name: import_smithy_client.expectString,
4582
+ resourceArn: import_smithy_client.expectString,
4465
4583
  selectedAnalysisMethods: import_smithy_client._json,
4466
4584
  type: import_smithy_client.expectString,
4467
4585
  updateTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "updateTime")
@@ -4482,6 +4600,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
4482
4600
  extendedRequestId: output.headers["x-amz-id-2"],
4483
4601
  cfId: output.headers["x-amz-cf-id"]
4484
4602
  }), "deserializeMetadata");
4603
+ var _aBRA = "accessBudgetResourceArn";
4485
4604
  var _mR = "maxResults";
4486
4605
  var _mS = "memberStatus";
4487
4606
  var _nT = "nextToken";
@@ -5154,6 +5273,17 @@ var GetProtectedJobCommand = class extends import_smithy_client.Command.classBui
5154
5273
 
5155
5274
  // src/models/models_1.ts
5156
5275
 
5276
+ var MembershipProtectedQueryOutputConfiguration;
5277
+ ((MembershipProtectedQueryOutputConfiguration2) => {
5278
+ MembershipProtectedQueryOutputConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
5279
+ if (value.s3 !== void 0) return visitor.s3(value.s3);
5280
+ return visitor._(value.$unknown[0], value.$unknown[1]);
5281
+ }, "visit");
5282
+ })(MembershipProtectedQueryOutputConfiguration || (MembershipProtectedQueryOutputConfiguration = {}));
5283
+ var MembershipJobLogStatus = {
5284
+ DISABLED: "DISABLED",
5285
+ ENABLED: "ENABLED"
5286
+ };
5157
5287
  var MembershipQueryLogStatus = {
5158
5288
  DISABLED: "DISABLED",
5159
5289
  ENABLED: "ENABLED"
@@ -5300,6 +5430,7 @@ var PrivacyBudgetTemplateParametersInput;
5300
5430
  ((PrivacyBudgetTemplateParametersInput2) => {
5301
5431
  PrivacyBudgetTemplateParametersInput2.visit = /* @__PURE__ */ __name((value, visitor) => {
5302
5432
  if (value.differentialPrivacy !== void 0) return visitor.differentialPrivacy(value.differentialPrivacy);
5433
+ if (value.accessBudget !== void 0) return visitor.accessBudget(value.accessBudget);
5303
5434
  return visitor._(value.$unknown[0], value.$unknown[1]);
5304
5435
  }, "visit");
5305
5436
  })(PrivacyBudgetTemplateParametersInput || (PrivacyBudgetTemplateParametersInput = {}));
@@ -5307,6 +5438,7 @@ var PrivacyBudgetTemplateUpdateParameters;
5307
5438
  ((PrivacyBudgetTemplateUpdateParameters2) => {
5308
5439
  PrivacyBudgetTemplateUpdateParameters2.visit = /* @__PURE__ */ __name((value, visitor) => {
5309
5440
  if (value.differentialPrivacy !== void 0) return visitor.differentialPrivacy(value.differentialPrivacy);
5441
+ if (value.accessBudget !== void 0) return visitor.accessBudget(value.accessBudget);
5310
5442
  return visitor._(value.$unknown[0], value.$unknown[1]);
5311
5443
  }, "visit");
5312
5444
  })(PrivacyBudgetTemplateUpdateParameters || (PrivacyBudgetTemplateUpdateParameters = {}));
@@ -6278,11 +6410,14 @@ var paginateListSchemas = (0, import_core.createPaginator)(CleanRoomsClient, Lis
6278
6410
  paginateListProtectedJobs,
6279
6411
  paginateListProtectedQueries,
6280
6412
  paginateListSchemas,
6413
+ AutoRefreshMode,
6414
+ AccessBudgetType,
6281
6415
  AccessDeniedExceptionReason,
6282
6416
  AccessDeniedException,
6283
6417
  AdditionalAnalyses,
6284
6418
  AggregateFunctionName,
6285
6419
  AggregationType,
6420
+ SupportedS3Region,
6286
6421
  AnalysisFormat,
6287
6422
  AnalysisMethod,
6288
6423
  ParameterType,
@@ -6313,6 +6448,7 @@ var paginateListSchemas = (0, import_core.createPaginator)(CleanRoomsClient, Lis
6313
6448
  ValidationException,
6314
6449
  AnalysisType,
6315
6450
  AnalyticsEngine,
6451
+ CommercialRegion,
6316
6452
  AutoApprovedChangeType,
6317
6453
  SchemaConfiguration,
6318
6454
  SchemaStatusReasonCode,
@@ -6345,8 +6481,6 @@ var paginateListSchemas = (0, import_core.createPaginator)(CleanRoomsClient, Lis
6345
6481
  JobType,
6346
6482
  MembershipProtectedJobOutputConfiguration,
6347
6483
  ResultFormat,
6348
- MembershipProtectedQueryOutputConfiguration,
6349
- MembershipJobLogStatus,
6350
6484
  AnalysisParameterFilterSensitiveLog,
6351
6485
  AnalysisSourceFilterSensitiveLog,
6352
6486
  AnalysisTemplateFilterSensitiveLog,
@@ -6357,6 +6491,8 @@ var paginateListSchemas = (0, import_core.createPaginator)(CleanRoomsClient, Lis
6357
6491
  CollaborationAnalysisTemplateFilterSensitiveLog,
6358
6492
  BatchGetCollaborationAnalysisTemplateOutputFilterSensitiveLog,
6359
6493
  GetCollaborationAnalysisTemplateOutputFilterSensitiveLog,
6494
+ MembershipProtectedQueryOutputConfiguration,
6495
+ MembershipJobLogStatus,
6360
6496
  MembershipQueryLogStatus,
6361
6497
  MembershipStatus,
6362
6498
  ProtectedJobWorkerComputeType,
@@ -1,4 +1,4 @@
1
1
  const s = "required", t = "fn", u = "argv", v = "ref";
2
- const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
2
+ const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
3
3
  const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://cleanrooms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://cleanrooms-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://cleanrooms.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://cleanrooms.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
4
4
  export const ruleSet = _data;
@@ -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
  };
@@ -32,6 +42,41 @@ export const AggregateFunctionName = {
32
42
  export const AggregationType = {
33
43
  COUNT_DISTINCT: "COUNT_DISTINCT",
34
44
  };
45
+ export const SupportedS3Region = {
46
+ AF_SOUTH_1: "af-south-1",
47
+ AP_EAST_1: "ap-east-1",
48
+ AP_EAST_2: "ap-east-2",
49
+ AP_NORTHEAST_1: "ap-northeast-1",
50
+ AP_NORTHEAST_2: "ap-northeast-2",
51
+ AP_NORTHEAST_3: "ap-northeast-3",
52
+ AP_SOUTHEAST_1: "ap-southeast-1",
53
+ AP_SOUTHEAST_2: "ap-southeast-2",
54
+ AP_SOUTHEAST_3: "ap-southeast-3",
55
+ AP_SOUTHEAST_4: "ap-southeast-4",
56
+ AP_SOUTHEAST_5: "ap-southeast-5",
57
+ AP_SOUTHEAST_7: "ap-southeast-7",
58
+ AP_SOUTH_1: "ap-south-1",
59
+ AP_SOUTH_2: "ap-south-2",
60
+ CA_CENTRAL_1: "ca-central-1",
61
+ CA_WEST_1: "ca-west-1",
62
+ EU_CENTRAL_1: "eu-central-1",
63
+ EU_CENTRAL_2: "eu-central-2",
64
+ EU_NORTH_1: "eu-north-1",
65
+ EU_SOUTH_1: "eu-south-1",
66
+ EU_SOUTH_2: "eu-south-2",
67
+ EU_WEST_1: "eu-west-1",
68
+ EU_WEST_2: "eu-west-2",
69
+ EU_WEST_3: "eu-west-3",
70
+ IL_CENTRAL_1: "il-central-1",
71
+ ME_CENTRAL_1: "me-central-1",
72
+ ME_SOUTH_1: "me-south-1",
73
+ MX_CENTRAL_1: "mx-central-1",
74
+ SA_EAST_1: "sa-east-1",
75
+ US_EAST_1: "us-east-1",
76
+ US_EAST_2: "us-east-2",
77
+ US_WEST_1: "us-west-1",
78
+ US_WEST_2: "us-west-2",
79
+ };
35
80
  export const AnalysisFormat = {
36
81
  PYSPARK_1_0: "PYSPARK_1_0",
37
82
  SQL: "SQL",
@@ -324,6 +369,41 @@ export const AnalyticsEngine = {
324
369
  CLEAN_ROOMS_SQL: "CLEAN_ROOMS_SQL",
325
370
  SPARK: "SPARK",
326
371
  };
372
+ export const CommercialRegion = {
373
+ AF_SOUTH_1: "af-south-1",
374
+ AP_EAST_1: "ap-east-1",
375
+ AP_EAST_2: "ap-east-2",
376
+ AP_NORTHEAST_1: "ap-northeast-1",
377
+ AP_NORTHEAST_2: "ap-northeast-2",
378
+ AP_NORTHEAST_3: "ap-northeast-3",
379
+ AP_SOUTHEAST_1: "ap-southeast-1",
380
+ AP_SOUTHEAST_2: "ap-southeast-2",
381
+ AP_SOUTHEAST_3: "ap-southeast-3",
382
+ AP_SOUTHEAST_4: "ap-southeast-4",
383
+ AP_SOUTHEAST_5: "ap-southeast-5",
384
+ AP_SOUTHEAST_7: "ap-southeast-7",
385
+ AP_SOUTH_1: "ap-south-1",
386
+ AP_SOUTH_2: "ap-south-2",
387
+ CA_CENTRAL_1: "ca-central-1",
388
+ CA_WEST_1: "ca-west-1",
389
+ EU_CENTRAL_1: "eu-central-1",
390
+ EU_CENTRAL_2: "eu-central-2",
391
+ EU_NORTH_1: "eu-north-1",
392
+ EU_SOUTH_1: "eu-south-1",
393
+ EU_SOUTH_2: "eu-south-2",
394
+ EU_WEST_1: "eu-west-1",
395
+ EU_WEST_2: "eu-west-2",
396
+ EU_WEST_3: "eu-west-3",
397
+ IL_CENTRAL_1: "il-central-1",
398
+ ME_CENTRAL_1: "me-central-1",
399
+ ME_SOUTH_1: "me-south-1",
400
+ MX_CENTRAL_1: "mx-central-1",
401
+ SA_EAST_1: "sa-east-1",
402
+ US_EAST_1: "us-east-1",
403
+ US_EAST_2: "us-east-2",
404
+ US_WEST_1: "us-west-1",
405
+ US_WEST_2: "us-west-2",
406
+ };
327
407
  export const AutoApprovedChangeType = {
328
408
  ADD_MEMBER: "ADD_MEMBER",
329
409
  };
@@ -420,10 +500,13 @@ export var PrivacyBudgetTemplateParametersOutput;
420
500
  PrivacyBudgetTemplateParametersOutput.visit = (value, visitor) => {
421
501
  if (value.differentialPrivacy !== undefined)
422
502
  return visitor.differentialPrivacy(value.differentialPrivacy);
503
+ if (value.accessBudget !== undefined)
504
+ return visitor.accessBudget(value.accessBudget);
423
505
  return visitor._(value.$unknown[0], value.$unknown[1]);
424
506
  };
425
507
  })(PrivacyBudgetTemplateParametersOutput || (PrivacyBudgetTemplateParametersOutput = {}));
426
508
  export const PrivacyBudgetType = {
509
+ ACCESS_BUDGET: "ACCESS_BUDGET",
427
510
  DIFFERENTIAL_PRIVACY: "DIFFERENTIAL_PRIVACY",
428
511
  };
429
512
  export const DifferentialPrivacyAggregationType = {
@@ -438,6 +521,8 @@ export var PrivacyBudget;
438
521
  PrivacyBudget.visit = (value, visitor) => {
439
522
  if (value.differentialPrivacy !== undefined)
440
523
  return visitor.differentialPrivacy(value.differentialPrivacy);
524
+ if (value.accessBudget !== undefined)
525
+ return visitor.accessBudget(value.accessBudget);
441
526
  return visitor._(value.$unknown[0], value.$unknown[1]);
442
527
  };
443
528
  })(PrivacyBudget || (PrivacyBudget = {}));
@@ -512,18 +597,6 @@ export const ResultFormat = {
512
597
  CSV: "CSV",
513
598
  PARQUET: "PARQUET",
514
599
  };
515
- export var MembershipProtectedQueryOutputConfiguration;
516
- (function (MembershipProtectedQueryOutputConfiguration) {
517
- MembershipProtectedQueryOutputConfiguration.visit = (value, visitor) => {
518
- if (value.s3 !== undefined)
519
- return visitor.s3(value.s3);
520
- return visitor._(value.$unknown[0], value.$unknown[1]);
521
- };
522
- })(MembershipProtectedQueryOutputConfiguration || (MembershipProtectedQueryOutputConfiguration = {}));
523
- export const MembershipJobLogStatus = {
524
- DISABLED: "DISABLED",
525
- ENABLED: "ENABLED",
526
- };
527
600
  export const AnalysisParameterFilterSensitiveLog = (obj) => ({
528
601
  ...obj,
529
602
  });
@@ -1,4 +1,16 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ export var MembershipProtectedQueryOutputConfiguration;
3
+ (function (MembershipProtectedQueryOutputConfiguration) {
4
+ MembershipProtectedQueryOutputConfiguration.visit = (value, visitor) => {
5
+ if (value.s3 !== undefined)
6
+ return visitor.s3(value.s3);
7
+ return visitor._(value.$unknown[0], value.$unknown[1]);
8
+ };
9
+ })(MembershipProtectedQueryOutputConfiguration || (MembershipProtectedQueryOutputConfiguration = {}));
10
+ export const MembershipJobLogStatus = {
11
+ DISABLED: "DISABLED",
12
+ ENABLED: "ENABLED",
13
+ };
2
14
  export const MembershipQueryLogStatus = {
3
15
  DISABLED: "DISABLED",
4
16
  ENABLED: "ENABLED",
@@ -163,6 +175,8 @@ export var PrivacyBudgetTemplateParametersInput;
163
175
  PrivacyBudgetTemplateParametersInput.visit = (value, visitor) => {
164
176
  if (value.differentialPrivacy !== undefined)
165
177
  return visitor.differentialPrivacy(value.differentialPrivacy);
178
+ if (value.accessBudget !== undefined)
179
+ return visitor.accessBudget(value.accessBudget);
166
180
  return visitor._(value.$unknown[0], value.$unknown[1]);
167
181
  };
168
182
  })(PrivacyBudgetTemplateParametersInput || (PrivacyBudgetTemplateParametersInput = {}));
@@ -171,6 +185,8 @@ export var PrivacyBudgetTemplateUpdateParameters;
171
185
  PrivacyBudgetTemplateUpdateParameters.visit = (value, visitor) => {
172
186
  if (value.differentialPrivacy !== undefined)
173
187
  return visitor.differentialPrivacy(value.differentialPrivacy);
188
+ if (value.accessBudget !== undefined)
189
+ return visitor.accessBudget(value.accessBudget);
174
190
  return visitor._(value.$unknown[0], value.$unknown[1]);
175
191
  };
176
192
  })(PrivacyBudgetTemplateUpdateParameters || (PrivacyBudgetTemplateUpdateParameters = {}));