@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
@@ -74,6 +74,7 @@ export const se_CreateCollaborationCommand = async (input, context) => {
74
74
  b.bp("/collaborations");
75
75
  let body;
76
76
  body = JSON.stringify(take(input, {
77
+ allowedResultRegions: (_) => _json(_),
77
78
  analyticsEngine: [],
78
79
  autoApprovedChangeRequestTypes: (_) => _json(_),
79
80
  creatorDisplayName: [],
@@ -655,6 +656,7 @@ export const se_ListCollaborationPrivacyBudgetsCommand = async (input, context)
655
656
  [_pBT]: [, __expectNonNull(input[_pBT], `privacyBudgetType`)],
656
657
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
657
658
  [_nT]: [, input[_nT]],
659
+ [_aBRA]: [, input[_aBRA]],
658
660
  });
659
661
  let body;
660
662
  b.m("GET").h(headers).q(query).b(body);
@@ -785,6 +787,7 @@ export const se_ListPrivacyBudgetsCommand = async (input, context) => {
785
787
  [_pBT]: [, __expectNonNull(input[_pBT], `privacyBudgetType`)],
786
788
  [_nT]: [, input[_nT]],
787
789
  [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
790
+ [_aBRA]: [, input[_aBRA]],
788
791
  });
789
792
  let body;
790
793
  b.m("GET").h(headers).q(query).b(body);
@@ -2476,6 +2479,31 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
2476
2479
  });
2477
2480
  return __decorateServiceException(exception, parsedOutput.body);
2478
2481
  };
2482
+ const de_AccessBudget = (output, context) => {
2483
+ return take(output, {
2484
+ aggregateRemainingBudget: __expectInt32,
2485
+ details: (_) => de_AccessBudgetDetailsList(_, context),
2486
+ resourceArn: __expectString,
2487
+ });
2488
+ };
2489
+ const de_AccessBudgetDetails = (output, context) => {
2490
+ return take(output, {
2491
+ autoRefresh: __expectString,
2492
+ budget: __expectInt32,
2493
+ budgetType: __expectString,
2494
+ endTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2495
+ remainingBudget: __expectInt32,
2496
+ startTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
2497
+ });
2498
+ };
2499
+ const de_AccessBudgetDetailsList = (output, context) => {
2500
+ const retVal = (output || [])
2501
+ .filter((e) => e != null)
2502
+ .map((entry) => {
2503
+ return de_AccessBudgetDetails(entry, context);
2504
+ });
2505
+ return retVal;
2506
+ };
2479
2507
  const de_AnalysisRule = (output, context) => {
2480
2508
  return take(output, {
2481
2509
  collaborationId: __expectString,
@@ -2543,6 +2571,7 @@ const de_BilledResourceUtilization = (output, context) => {
2543
2571
  };
2544
2572
  const de_Collaboration = (output, context) => {
2545
2573
  return take(output, {
2574
+ allowedResultRegions: _json,
2546
2575
  analyticsEngine: __expectString,
2547
2576
  arn: __expectString,
2548
2577
  autoApprovedChangeTypes: _json,
@@ -2716,7 +2745,7 @@ const de_CollaborationIdNamespaceAssociationSummaryList = (output, context) => {
2716
2745
  };
2717
2746
  const de_CollaborationPrivacyBudgetSummary = (output, context) => {
2718
2747
  return take(output, {
2719
- budget: (_) => _json(__expectUnion(_)),
2748
+ budget: (_) => de_PrivacyBudget(__expectUnion(_), context),
2720
2749
  collaborationArn: __expectString,
2721
2750
  collaborationId: __expectString,
2722
2751
  createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -3110,9 +3139,22 @@ const de_MemberSummaryList = (output, context) => {
3110
3139
  });
3111
3140
  return retVal;
3112
3141
  };
3142
+ const de_PrivacyBudget = (output, context) => {
3143
+ if (output.accessBudget != null) {
3144
+ return {
3145
+ accessBudget: de_AccessBudget(output.accessBudget, context),
3146
+ };
3147
+ }
3148
+ if (output.differentialPrivacy != null) {
3149
+ return {
3150
+ differentialPrivacy: _json(output.differentialPrivacy),
3151
+ };
3152
+ }
3153
+ return { $unknown: Object.entries(output)[0] };
3154
+ };
3113
3155
  const de_PrivacyBudgetSummary = (output, context) => {
3114
3156
  return take(output, {
3115
- budget: (_) => _json(__expectUnion(_)),
3157
+ budget: (_) => de_PrivacyBudget(__expectUnion(_), context),
3116
3158
  collaborationArn: __expectString,
3117
3159
  collaborationId: __expectString,
3118
3160
  createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -3260,6 +3302,7 @@ const de_Schema = (output, context) => {
3260
3302
  description: __expectString,
3261
3303
  name: __expectString,
3262
3304
  partitionKeys: _json,
3305
+ resourceArn: __expectString,
3263
3306
  schemaStatusDetails: _json,
3264
3307
  schemaTypeProperties: (_) => _json(__expectUnion(_)),
3265
3308
  selectedAnalysisMethods: _json,
@@ -3292,6 +3335,7 @@ const de_SchemaSummary = (output, context) => {
3292
3335
  createTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
3293
3336
  creatorAccountId: __expectString,
3294
3337
  name: __expectString,
3338
+ resourceArn: __expectString,
3295
3339
  selectedAnalysisMethods: _json,
3296
3340
  type: __expectString,
3297
3341
  updateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -3315,6 +3359,7 @@ const deserializeMetadata = (output) => ({
3315
3359
  cfId: output.headers["x-amz-cf-id"],
3316
3360
  });
3317
3361
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
3362
+ const _aBRA = "accessBudgetResourceArn";
3318
3363
  const _mR = "maxResults";
3319
3364
  const _mS = "memberStatus";
3320
3365
  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
@@ -109,6 +109,9 @@ declare const CreateCollaborationCommand_base: {
109
109
  * autoApprovedChangeRequestTypes: [ // AutoApprovedChangeTypeList
110
110
  * "ADD_MEMBER",
111
111
  * ],
112
+ * allowedResultRegions: [ // AllowedResultRegions
113
+ * "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-east-2" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1",
114
+ * ],
112
115
  * };
113
116
  * const command = new CreateCollaborationCommand(input);
114
117
  * const response = await client.send(command);
@@ -137,6 +140,9 @@ declare const CreateCollaborationCommand_base: {
137
140
  * // autoApprovedChangeTypes: [ // AutoApprovedChangeTypeList
138
141
  * // "ADD_MEMBER",
139
142
  * // ],
143
+ * // allowedResultRegions: [ // AllowedResultRegions
144
+ * // "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-east-2" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1",
145
+ * // ],
140
146
  * // },
141
147
  * // };
142
148
  *
@@ -41,6 +41,7 @@ declare const CreateConfiguredTableCommand_base: {
41
41
  * description: "STRING_VALUE",
42
42
  * tableReference: { // TableReference Union: only one key present
43
43
  * glue: { // GlueTableReference
44
+ * region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
44
45
  * tableName: "STRING_VALUE", // required
45
46
  * databaseName: "STRING_VALUE", // required
46
47
  * },
@@ -60,6 +61,7 @@ declare const CreateConfiguredTableCommand_base: {
60
61
  * },
61
62
  * },
62
63
  * athena: { // AthenaTableReference
64
+ * region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
63
65
  * workGroup: "STRING_VALUE", // required
64
66
  * outputLocation: "STRING_VALUE",
65
67
  * databaseName: "STRING_VALUE", // required
@@ -87,6 +89,7 @@ declare const CreateConfiguredTableCommand_base: {
87
89
  * // description: "STRING_VALUE",
88
90
  * // tableReference: { // TableReference Union: only one key present
89
91
  * // glue: { // GlueTableReference
92
+ * // region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
90
93
  * // tableName: "STRING_VALUE", // required
91
94
  * // databaseName: "STRING_VALUE", // required
92
95
  * // },
@@ -106,6 +109,7 @@ declare const CreateConfiguredTableCommand_base: {
106
109
  * // },
107
110
  * // },
108
111
  * // athena: { // AthenaTableReference
112
+ * // region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
109
113
  * // workGroup: "STRING_VALUE", // required
110
114
  * // outputLocation: "STRING_VALUE",
111
115
  * // databaseName: "STRING_VALUE", // 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
  * // };
@@ -66,6 +66,9 @@ declare const GetCollaborationCommand_base: {
66
66
  * // autoApprovedChangeTypes: [ // AutoApprovedChangeTypeList
67
67
  * // "ADD_MEMBER",
68
68
  * // ],
69
+ * // allowedResultRegions: [ // AllowedResultRegions
70
+ * // "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-east-2" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1",
71
+ * // ],
69
72
  * // },
70
73
  * // };
71
74
  *
@@ -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
  * // };
@@ -49,6 +49,7 @@ declare const GetConfiguredTableCommand_base: {
49
49
  * // description: "STRING_VALUE",
50
50
  * // tableReference: { // TableReference Union: only one key present
51
51
  * // glue: { // GlueTableReference
52
+ * // region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
52
53
  * // tableName: "STRING_VALUE", // required
53
54
  * // databaseName: "STRING_VALUE", // required
54
55
  * // },
@@ -68,6 +69,7 @@ declare const GetConfiguredTableCommand_base: {
68
69
  * // },
69
70
  * // },
70
71
  * // athena: { // AthenaTableReference
72
+ * // region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
71
73
  * // workGroup: "STRING_VALUE", // required
72
74
  * // outputLocation: "STRING_VALUE",
73
75
  * // databaseName: "STRING_VALUE", // required
@@ -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
  * // ],
@@ -69,6 +69,9 @@ declare const UpdateCollaborationCommand_base: {
69
69
  * // autoApprovedChangeTypes: [ // AutoApprovedChangeTypeList
70
70
  * // "ADD_MEMBER",
71
71
  * // ],
72
+ * // allowedResultRegions: [ // AllowedResultRegions
73
+ * // "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-east-2" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1",
74
+ * // ],
72
75
  * // },
73
76
  * // };
74
77
  *
@@ -42,6 +42,7 @@ declare const UpdateConfiguredTableCommand_base: {
42
42
  * description: "STRING_VALUE",
43
43
  * tableReference: { // TableReference Union: only one key present
44
44
  * glue: { // GlueTableReference
45
+ * region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
45
46
  * tableName: "STRING_VALUE", // required
46
47
  * databaseName: "STRING_VALUE", // required
47
48
  * },
@@ -61,6 +62,7 @@ declare const UpdateConfiguredTableCommand_base: {
61
62
  * },
62
63
  * },
63
64
  * athena: { // AthenaTableReference
65
+ * region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
64
66
  * workGroup: "STRING_VALUE", // required
65
67
  * outputLocation: "STRING_VALUE",
66
68
  * databaseName: "STRING_VALUE", // required
@@ -85,6 +87,7 @@ declare const UpdateConfiguredTableCommand_base: {
85
87
  * // description: "STRING_VALUE",
86
88
  * // tableReference: { // TableReference Union: only one key present
87
89
  * // glue: { // GlueTableReference
90
+ * // region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
88
91
  * // tableName: "STRING_VALUE", // required
89
92
  * // databaseName: "STRING_VALUE", // required
90
93
  * // },
@@ -104,6 +107,7 @@ declare const UpdateConfiguredTableCommand_base: {
104
107
  * // },
105
108
  * // },
106
109
  * // athena: { // AthenaTableReference
110
+ * // region: "us-west-1" || "us-west-2" || "us-east-1" || "us-east-2" || "af-south-1" || "ap-east-1" || "ap-south-2" || "ap-southeast-1" || "ap-southeast-2" || "ap-southeast-3" || "ap-southeast-5" || "ap-southeast-4" || "ap-southeast-7" || "ap-south-1" || "ap-northeast-3" || "ap-northeast-1" || "ap-northeast-2" || "ca-central-1" || "ca-west-1" || "eu-south-1" || "eu-west-3" || "eu-south-2" || "eu-central-2" || "eu-central-1" || "eu-north-1" || "eu-west-1" || "eu-west-2" || "me-south-1" || "me-central-1" || "il-central-1" || "sa-east-1" || "mx-central-1" || "ap-east-2",
107
111
  * // workGroup: "STRING_VALUE", // required
108
112
  * // outputLocation: "STRING_VALUE",
109
113
  * // databaseName: "STRING_VALUE", // required
@@ -39,12 +39,21 @@ declare const UpdatePrivacyBudgetTemplateCommand_base: {
39
39
  * const input = { // UpdatePrivacyBudgetTemplateInput
40
40
  * membershipIdentifier: "STRING_VALUE", // required
41
41
  * privacyBudgetTemplateIdentifier: "STRING_VALUE", // required
42
- * privacyBudgetType: "DIFFERENTIAL_PRIVACY", // required
42
+ * privacyBudgetType: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required
43
43
  * parameters: { // PrivacyBudgetTemplateUpdateParameters Union: only one key present
44
44
  * differentialPrivacy: { // DifferentialPrivacyTemplateUpdateParameters
45
45
  * epsilon: Number("int"),
46
46
  * usersNoisePerQuery: Number("int"),
47
47
  * },
48
+ * accessBudget: { // AccessBudgetsPrivacyTemplateUpdateParameters
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
+ * },
48
57
  * },
49
58
  * };
50
59
  * const command = new UpdatePrivacyBudgetTemplateCommand(input);
@@ -59,13 +68,23 @@ declare const UpdatePrivacyBudgetTemplateCommand_base: {
59
68
  * // collaborationArn: "STRING_VALUE", // required
60
69
  * // createTime: new Date("TIMESTAMP"), // required
61
70
  * // updateTime: new Date("TIMESTAMP"), // required
62
- * // privacyBudgetType: "DIFFERENTIAL_PRIVACY", // required
71
+ * // privacyBudgetType: "DIFFERENTIAL_PRIVACY" || "ACCESS_BUDGET", // required
63
72
  * // autoRefresh: "CALENDAR_MONTH" || "NONE", // required
64
73
  * // parameters: { // PrivacyBudgetTemplateParametersOutput Union: only one key present
65
74
  * // differentialPrivacy: { // DifferentialPrivacyTemplateParametersOutput
66
75
  * // epsilon: Number("int"), // required
67
76
  * // usersNoisePerQuery: Number("int"), // required
68
77
  * // },
78
+ * // accessBudget: { // AccessBudgetsPrivacyTemplateParametersOutput
79
+ * // budgetParameters: [ // BudgetParameters // required
80
+ * // { // BudgetParameter
81
+ * // type: "CALENDAR_DAY" || "CALENDAR_MONTH" || "CALENDAR_WEEK" || "LIFETIME", // required
82
+ * // budget: Number("int"), // required
83
+ * // autoRefresh: "ENABLED" || "DISABLED",
84
+ * // },
85
+ * // ],
86
+ * // resourceArn: "STRING_VALUE", // required
87
+ * // },
69
88
  * // },
70
89
  * // },
71
90
  * // };