@aws-sdk/client-cleanrooms 3.750.0 → 3.770.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 (71) hide show
  1. package/README.md +33 -1
  2. package/dist-cjs/index.js +742 -392
  3. package/dist-es/CleanRooms.js +8 -0
  4. package/dist-es/commands/GetProtectedJobCommand.js +22 -0
  5. package/dist-es/commands/GetProtectedQueryCommand.js +1 -1
  6. package/dist-es/commands/ListProtectedJobsCommand.js +22 -0
  7. package/dist-es/commands/StartProtectedJobCommand.js +22 -0
  8. package/dist-es/commands/UpdateProtectedJobCommand.js +22 -0
  9. package/dist-es/commands/index.js +4 -0
  10. package/dist-es/models/models_0.js +90 -75
  11. package/dist-es/models/models_1.js +96 -1
  12. package/dist-es/pagination/ListProtectedJobsPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/protocols/Aws_restJson1.js +176 -0
  15. package/dist-types/CleanRooms.d.ts +29 -1
  16. package/dist-types/CleanRoomsClient.d.ts +7 -3
  17. package/dist-types/commands/BatchGetCollaborationAnalysisTemplateCommand.d.ts +30 -1
  18. package/dist-types/commands/BatchGetSchemaAnalysisRuleCommand.d.ts +98 -0
  19. package/dist-types/commands/BatchGetSchemaCommand.d.ts +4 -1
  20. package/dist-types/commands/CreateAnalysisTemplateCommand.d.ts +53 -2
  21. package/dist-types/commands/CreateCollaborationCommand.d.ts +10 -2
  22. package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +3 -0
  23. package/dist-types/commands/CreateConfiguredTableCommand.d.ts +8 -2
  24. package/dist-types/commands/CreateMembershipCommand.d.ts +29 -3
  25. package/dist-types/commands/GetAnalysisTemplateCommand.d.ts +30 -1
  26. package/dist-types/commands/GetCollaborationAnalysisTemplateCommand.d.ts +30 -1
  27. package/dist-types/commands/GetCollaborationCommand.d.ts +1 -0
  28. package/dist-types/commands/GetConfiguredTableCommand.d.ts +4 -1
  29. package/dist-types/commands/GetMembershipCommand.d.ts +15 -2
  30. package/dist-types/commands/GetProtectedJobCommand.d.ts +130 -0
  31. package/dist-types/commands/GetProtectedQueryCommand.d.ts +1 -1
  32. package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +98 -0
  33. package/dist-types/commands/GetSchemaCommand.d.ts +4 -1
  34. package/dist-types/commands/ListConfiguredTableAssociationsCommand.d.ts +3 -0
  35. package/dist-types/commands/ListConfiguredTablesCommand.d.ts +4 -1
  36. package/dist-types/commands/ListMembersCommand.d.ts +4 -1
  37. package/dist-types/commands/ListMembershipsCommand.d.ts +5 -2
  38. package/dist-types/commands/ListPrivacyBudgetsCommand.d.ts +1 -1
  39. package/dist-types/commands/ListProtectedJobsCommand.d.ts +110 -0
  40. package/dist-types/commands/ListProtectedQueriesCommand.d.ts +1 -2
  41. package/dist-types/commands/ListSchemasCommand.d.ts +4 -1
  42. package/dist-types/commands/StartProtectedJobCommand.d.ts +142 -0
  43. package/dist-types/commands/UpdateAnalysisTemplateCommand.d.ts +30 -1
  44. package/dist-types/commands/UpdateCollaborationCommand.d.ts +1 -0
  45. package/dist-types/commands/UpdateConfiguredTableCommand.d.ts +8 -1
  46. package/dist-types/commands/UpdateMembershipCommand.d.ts +26 -3
  47. package/dist-types/commands/UpdateProtectedJobCommand.d.ts +133 -0
  48. package/dist-types/commands/index.d.ts +4 -0
  49. package/dist-types/index.d.ts +1 -1
  50. package/dist-types/models/models_0.d.ts +3468 -3339
  51. package/dist-types/models/models_1.d.ts +1129 -1
  52. package/dist-types/pagination/ListProtectedJobsPaginator.d.ts +7 -0
  53. package/dist-types/pagination/index.d.ts +1 -0
  54. package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
  55. package/dist-types/ts3.4/CleanRooms.d.ts +68 -0
  56. package/dist-types/ts3.4/CleanRoomsClient.d.ts +24 -0
  57. package/dist-types/ts3.4/commands/GetProtectedJobCommand.d.ts +48 -0
  58. package/dist-types/ts3.4/commands/GetProtectedQueryCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/ListPrivacyBudgetsCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/ListProtectedJobsCommand.d.ts +50 -0
  62. package/dist-types/ts3.4/commands/ListProtectedQueriesCommand.d.ts +4 -2
  63. package/dist-types/ts3.4/commands/StartProtectedJobCommand.d.ts +50 -0
  64. package/dist-types/ts3.4/commands/UpdateProtectedJobCommand.d.ts +51 -0
  65. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  66. package/dist-types/ts3.4/models/models_0.d.ts +328 -272
  67. package/dist-types/ts3.4/models/models_1.d.ts +401 -6
  68. package/dist-types/ts3.4/pagination/ListProtectedJobsPaginator.d.ts +11 -0
  69. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  70. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
  71. package/package.json +12 -12
@@ -41,6 +41,7 @@ import { GetIdMappingTableCommand, } from "./commands/GetIdMappingTableCommand";
41
41
  import { GetIdNamespaceAssociationCommand, } from "./commands/GetIdNamespaceAssociationCommand";
42
42
  import { GetMembershipCommand, } from "./commands/GetMembershipCommand";
43
43
  import { GetPrivacyBudgetTemplateCommand, } from "./commands/GetPrivacyBudgetTemplateCommand";
44
+ import { GetProtectedJobCommand, } from "./commands/GetProtectedJobCommand";
44
45
  import { GetProtectedQueryCommand, } from "./commands/GetProtectedQueryCommand";
45
46
  import { GetSchemaAnalysisRuleCommand, } from "./commands/GetSchemaAnalysisRuleCommand";
46
47
  import { GetSchemaCommand } from "./commands/GetSchemaCommand";
@@ -60,11 +61,13 @@ import { ListMembersCommand } from "./commands/ListMembersCommand";
60
61
  import { ListMembershipsCommand, } from "./commands/ListMembershipsCommand";
61
62
  import { ListPrivacyBudgetsCommand, } from "./commands/ListPrivacyBudgetsCommand";
62
63
  import { ListPrivacyBudgetTemplatesCommand, } from "./commands/ListPrivacyBudgetTemplatesCommand";
64
+ import { ListProtectedJobsCommand, } from "./commands/ListProtectedJobsCommand";
63
65
  import { ListProtectedQueriesCommand, } from "./commands/ListProtectedQueriesCommand";
64
66
  import { ListSchemasCommand } from "./commands/ListSchemasCommand";
65
67
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
66
68
  import { PopulateIdMappingTableCommand, } from "./commands/PopulateIdMappingTableCommand";
67
69
  import { PreviewPrivacyImpactCommand, } from "./commands/PreviewPrivacyImpactCommand";
70
+ import { StartProtectedJobCommand, } from "./commands/StartProtectedJobCommand";
68
71
  import { StartProtectedQueryCommand, } from "./commands/StartProtectedQueryCommand";
69
72
  import { TagResourceCommand } from "./commands/TagResourceCommand";
70
73
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
@@ -79,6 +82,7 @@ import { UpdateIdMappingTableCommand, } from "./commands/UpdateIdMappingTableCom
79
82
  import { UpdateIdNamespaceAssociationCommand, } from "./commands/UpdateIdNamespaceAssociationCommand";
80
83
  import { UpdateMembershipCommand, } from "./commands/UpdateMembershipCommand";
81
84
  import { UpdatePrivacyBudgetTemplateCommand, } from "./commands/UpdatePrivacyBudgetTemplateCommand";
85
+ import { UpdateProtectedJobCommand, } from "./commands/UpdateProtectedJobCommand";
82
86
  import { UpdateProtectedQueryCommand, } from "./commands/UpdateProtectedQueryCommand";
83
87
  const commands = {
84
88
  BatchGetCollaborationAnalysisTemplateCommand,
@@ -122,6 +126,7 @@ const commands = {
122
126
  GetIdNamespaceAssociationCommand,
123
127
  GetMembershipCommand,
124
128
  GetPrivacyBudgetTemplateCommand,
129
+ GetProtectedJobCommand,
125
130
  GetProtectedQueryCommand,
126
131
  GetSchemaCommand,
127
132
  GetSchemaAnalysisRuleCommand,
@@ -141,11 +146,13 @@ const commands = {
141
146
  ListMembershipsCommand,
142
147
  ListPrivacyBudgetsCommand,
143
148
  ListPrivacyBudgetTemplatesCommand,
149
+ ListProtectedJobsCommand,
144
150
  ListProtectedQueriesCommand,
145
151
  ListSchemasCommand,
146
152
  ListTagsForResourceCommand,
147
153
  PopulateIdMappingTableCommand,
148
154
  PreviewPrivacyImpactCommand,
155
+ StartProtectedJobCommand,
149
156
  StartProtectedQueryCommand,
150
157
  TagResourceCommand,
151
158
  UntagResourceCommand,
@@ -160,6 +167,7 @@ const commands = {
160
167
  UpdateIdNamespaceAssociationCommand,
161
168
  UpdateMembershipCommand,
162
169
  UpdatePrivacyBudgetTemplateCommand,
170
+ UpdateProtectedJobCommand,
163
171
  UpdateProtectedQueryCommand,
164
172
  };
165
173
  export class CleanRooms extends CleanRoomsClient {
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetProtectedJobCommand, se_GetProtectedJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class GetProtectedJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBastionControlPlaneServiceLambda", "GetProtectedJob", {})
17
+ .n("CleanRoomsClient", "GetProtectedJobCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetProtectedJobCommand)
20
+ .de(de_GetProtectedJobCommand)
21
+ .build() {
22
+ }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetProtectedQueryOutputFilterSensitiveLog, } from "../models/models_0";
5
+ import { GetProtectedQueryOutputFilterSensitiveLog, } from "../models/models_1";
6
6
  import { de_GetProtectedQueryCommand, se_GetProtectedQueryCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
8
  export class GetProtectedQueryCommand extends $Command
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListProtectedJobsCommand, se_ListProtectedJobsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class ListProtectedJobsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBastionControlPlaneServiceLambda", "ListProtectedJobs", {})
17
+ .n("CleanRoomsClient", "ListProtectedJobsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListProtectedJobsCommand)
20
+ .de(de_ListProtectedJobsCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_StartProtectedJobCommand, se_StartProtectedJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class StartProtectedJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBastionControlPlaneServiceLambda", "StartProtectedJob", {})
17
+ .n("CleanRoomsClient", "StartProtectedJobCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StartProtectedJobCommand)
20
+ .de(de_StartProtectedJobCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateProtectedJobCommand, se_UpdateProtectedJobCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class UpdateProtectedJobCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSBastionControlPlaneServiceLambda", "UpdateProtectedJob", {})
17
+ .n("CleanRoomsClient", "UpdateProtectedJobCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateProtectedJobCommand)
20
+ .de(de_UpdateProtectedJobCommand)
21
+ .build() {
22
+ }
@@ -39,6 +39,7 @@ export * from "./GetIdMappingTableCommand";
39
39
  export * from "./GetIdNamespaceAssociationCommand";
40
40
  export * from "./GetMembershipCommand";
41
41
  export * from "./GetPrivacyBudgetTemplateCommand";
42
+ export * from "./GetProtectedJobCommand";
42
43
  export * from "./GetProtectedQueryCommand";
43
44
  export * from "./GetSchemaAnalysisRuleCommand";
44
45
  export * from "./GetSchemaCommand";
@@ -58,11 +59,13 @@ export * from "./ListMembersCommand";
58
59
  export * from "./ListMembershipsCommand";
59
60
  export * from "./ListPrivacyBudgetTemplatesCommand";
60
61
  export * from "./ListPrivacyBudgetsCommand";
62
+ export * from "./ListProtectedJobsCommand";
61
63
  export * from "./ListProtectedQueriesCommand";
62
64
  export * from "./ListSchemasCommand";
63
65
  export * from "./ListTagsForResourceCommand";
64
66
  export * from "./PopulateIdMappingTableCommand";
65
67
  export * from "./PreviewPrivacyImpactCommand";
68
+ export * from "./StartProtectedJobCommand";
66
69
  export * from "./StartProtectedQueryCommand";
67
70
  export * from "./TagResourceCommand";
68
71
  export * from "./UntagResourceCommand";
@@ -77,4 +80,5 @@ export * from "./UpdateIdMappingTableCommand";
77
80
  export * from "./UpdateIdNamespaceAssociationCommand";
78
81
  export * from "./UpdateMembershipCommand";
79
82
  export * from "./UpdatePrivacyBudgetTemplateCommand";
83
+ export * from "./UpdateProtectedJobCommand";
80
84
  export * from "./UpdateProtectedQueryCommand";
@@ -33,10 +33,13 @@ export const AggregationType = {
33
33
  COUNT_DISTINCT: "COUNT_DISTINCT",
34
34
  };
35
35
  export const AnalysisFormat = {
36
+ PYSPARK_1_0: "PYSPARK_1_0",
36
37
  SQL: "SQL",
37
38
  };
38
39
  export const AnalysisMethod = {
40
+ DIRECT_JOB: "DIRECT_JOB",
39
41
  DIRECT_QUERY: "DIRECT_QUERY",
42
+ MULTIPLE: "MULTIPLE",
40
43
  };
41
44
  export const ParameterType = {
42
45
  BIGINT: "BIGINT",
@@ -68,6 +71,26 @@ export const ParameterType = {
68
71
  VARBYTE: "VARBYTE",
69
72
  VARCHAR: "VARCHAR",
70
73
  };
74
+ export var ConfiguredTableAssociationAnalysisRulePolicyV1;
75
+ (function (ConfiguredTableAssociationAnalysisRulePolicyV1) {
76
+ ConfiguredTableAssociationAnalysisRulePolicyV1.visit = (value, visitor) => {
77
+ if (value.list !== undefined)
78
+ return visitor.list(value.list);
79
+ if (value.aggregation !== undefined)
80
+ return visitor.aggregation(value.aggregation);
81
+ if (value.custom !== undefined)
82
+ return visitor.custom(value.custom);
83
+ return visitor._(value.$unknown[0], value.$unknown[1]);
84
+ };
85
+ })(ConfiguredTableAssociationAnalysisRulePolicyV1 || (ConfiguredTableAssociationAnalysisRulePolicyV1 = {}));
86
+ export var ConfiguredTableAssociationAnalysisRulePolicy;
87
+ (function (ConfiguredTableAssociationAnalysisRulePolicy) {
88
+ ConfiguredTableAssociationAnalysisRulePolicy.visit = (value, visitor) => {
89
+ if (value.v1 !== undefined)
90
+ return visitor.v1(value.v1);
91
+ return visitor._(value.$unknown[0], value.$unknown[1]);
92
+ };
93
+ })(ConfiguredTableAssociationAnalysisRulePolicy || (ConfiguredTableAssociationAnalysisRulePolicy = {}));
71
94
  export const JoinOperator = {
72
95
  AND: "AND",
73
96
  OR: "OR",
@@ -101,6 +124,26 @@ export const ScalarFunctions = {
101
124
  TRUNC: "TRUNC",
102
125
  UPPER: "UPPER",
103
126
  };
127
+ export var ConsolidatedPolicyV1;
128
+ (function (ConsolidatedPolicyV1) {
129
+ ConsolidatedPolicyV1.visit = (value, visitor) => {
130
+ if (value.list !== undefined)
131
+ return visitor.list(value.list);
132
+ if (value.aggregation !== undefined)
133
+ return visitor.aggregation(value.aggregation);
134
+ if (value.custom !== undefined)
135
+ return visitor.custom(value.custom);
136
+ return visitor._(value.$unknown[0], value.$unknown[1]);
137
+ };
138
+ })(ConsolidatedPolicyV1 || (ConsolidatedPolicyV1 = {}));
139
+ export var ConsolidatedPolicy;
140
+ (function (ConsolidatedPolicy) {
141
+ ConsolidatedPolicy.visit = (value, visitor) => {
142
+ if (value.v1 !== undefined)
143
+ return visitor.v1(value.v1);
144
+ return visitor._(value.$unknown[0], value.$unknown[1]);
145
+ };
146
+ })(ConsolidatedPolicy || (ConsolidatedPolicy = {}));
104
147
  export var QueryConstraint;
105
148
  (function (QueryConstraint) {
106
149
  QueryConstraint.visit = (value, visitor) => {
@@ -142,9 +185,19 @@ export var AnalysisSource;
142
185
  AnalysisSource.visit = (value, visitor) => {
143
186
  if (value.text !== undefined)
144
187
  return visitor.text(value.text);
188
+ if (value.artifacts !== undefined)
189
+ return visitor.artifacts(value.artifacts);
145
190
  return visitor._(value.$unknown[0], value.$unknown[1]);
146
191
  };
147
192
  })(AnalysisSource || (AnalysisSource = {}));
193
+ export var AnalysisSourceMetadata;
194
+ (function (AnalysisSourceMetadata) {
195
+ AnalysisSourceMetadata.visit = (value, visitor) => {
196
+ if (value.artifacts !== undefined)
197
+ return visitor.artifacts(value.artifacts);
198
+ return visitor._(value.$unknown[0], value.$unknown[1]);
199
+ };
200
+ })(AnalysisSourceMetadata || (AnalysisSourceMetadata = {}));
148
201
  export const AnalysisTemplateValidationStatus = {
149
202
  INVALID: "INVALID",
150
203
  UNABLE_TO_VALIDATE: "UNABLE_TO_VALIDATE",
@@ -300,6 +353,10 @@ export var SchemaTypeProperties;
300
353
  return visitor._(value.$unknown[0], value.$unknown[1]);
301
354
  };
302
355
  })(SchemaTypeProperties || (SchemaTypeProperties = {}));
356
+ export const SelectedAnalysisMethod = {
357
+ DIRECT_JOB: "DIRECT_JOB",
358
+ DIRECT_QUERY: "DIRECT_QUERY",
359
+ };
303
360
  export const SchemaType = {
304
361
  ID_MAPPING_TABLE: "ID_MAPPING_TABLE",
305
362
  TABLE: "TABLE",
@@ -307,11 +364,16 @@ export const SchemaType = {
307
364
  export const MemberAbility = {
308
365
  CAN_QUERY: "CAN_QUERY",
309
366
  CAN_RECEIVE_RESULTS: "CAN_RECEIVE_RESULTS",
367
+ CAN_RUN_JOB: "CAN_RUN_JOB",
310
368
  };
311
369
  export const CustomMLMemberAbility = {
312
370
  CAN_RECEIVE_INFERENCE_OUTPUT: "CAN_RECEIVE_INFERENCE_OUTPUT",
313
371
  CAN_RECEIVE_MODEL_OUTPUT: "CAN_RECEIVE_MODEL_OUTPUT",
314
372
  };
373
+ export const CollaborationJobLogStatus = {
374
+ DISABLED: "DISABLED",
375
+ ENABLED: "ENABLED",
376
+ };
315
377
  export const CollaborationQueryLogStatus = {
316
378
  DISABLED: "DISABLED",
317
379
  ENABLED: "ENABLED",
@@ -361,26 +423,6 @@ export const ConfiguredTableAssociationAnalysisRuleType = {
361
423
  CUSTOM: "CUSTOM",
362
424
  LIST: "LIST",
363
425
  };
364
- export var ConfiguredTableAssociationAnalysisRulePolicyV1;
365
- (function (ConfiguredTableAssociationAnalysisRulePolicyV1) {
366
- ConfiguredTableAssociationAnalysisRulePolicyV1.visit = (value, visitor) => {
367
- if (value.list !== undefined)
368
- return visitor.list(value.list);
369
- if (value.aggregation !== undefined)
370
- return visitor.aggregation(value.aggregation);
371
- if (value.custom !== undefined)
372
- return visitor.custom(value.custom);
373
- return visitor._(value.$unknown[0], value.$unknown[1]);
374
- };
375
- })(ConfiguredTableAssociationAnalysisRulePolicyV1 || (ConfiguredTableAssociationAnalysisRulePolicyV1 = {}));
376
- export var ConfiguredTableAssociationAnalysisRulePolicy;
377
- (function (ConfiguredTableAssociationAnalysisRulePolicy) {
378
- ConfiguredTableAssociationAnalysisRulePolicy.visit = (value, visitor) => {
379
- if (value.v1 !== undefined)
380
- return visitor.v1(value.v1);
381
- return visitor._(value.$unknown[0], value.$unknown[1]);
382
- };
383
- })(ConfiguredTableAssociationAnalysisRulePolicy || (ConfiguredTableAssociationAnalysisRulePolicy = {}));
384
426
  export var SnowflakeTableSchema;
385
427
  (function (SnowflakeTableSchema) {
386
428
  SnowflakeTableSchema.visit = (value, visitor) => {
@@ -426,6 +468,14 @@ export var ConfiguredTableAnalysisRulePolicy;
426
468
  return visitor._(value.$unknown[0], value.$unknown[1]);
427
469
  };
428
470
  })(ConfiguredTableAnalysisRulePolicy || (ConfiguredTableAnalysisRulePolicy = {}));
471
+ export var MembershipProtectedJobOutputConfiguration;
472
+ (function (MembershipProtectedJobOutputConfiguration) {
473
+ MembershipProtectedJobOutputConfiguration.visit = (value, visitor) => {
474
+ if (value.s3 !== undefined)
475
+ return visitor.s3(value.s3);
476
+ return visitor._(value.$unknown[0], value.$unknown[1]);
477
+ };
478
+ })(MembershipProtectedJobOutputConfiguration || (MembershipProtectedJobOutputConfiguration = {}));
429
479
  export const ResultFormat = {
430
480
  CSV: "CSV",
431
481
  PARQUET: "PARQUET",
@@ -438,6 +488,10 @@ export var MembershipProtectedQueryOutputConfiguration;
438
488
  return visitor._(value.$unknown[0], value.$unknown[1]);
439
489
  };
440
490
  })(MembershipProtectedQueryOutputConfiguration || (MembershipProtectedQueryOutputConfiguration = {}));
491
+ export const MembershipJobLogStatus = {
492
+ DISABLED: "DISABLED",
493
+ ENABLED: "ENABLED",
494
+ };
441
495
  export const MembershipQueryLogStatus = {
442
496
  DISABLED: "DISABLED",
443
497
  ENABLED: "ENABLED",
@@ -447,72 +501,46 @@ export const MembershipStatus = {
447
501
  COLLABORATION_DELETED: "COLLABORATION_DELETED",
448
502
  REMOVED: "REMOVED",
449
503
  };
450
- export const WorkerComputeType = {
451
- CR1X: "CR.1X",
452
- CR4X: "CR.4X",
453
- };
454
- export var ComputeConfiguration;
455
- (function (ComputeConfiguration) {
456
- ComputeConfiguration.visit = (value, visitor) => {
457
- if (value.worker !== undefined)
458
- return visitor.worker(value.worker);
459
- return visitor._(value.$unknown[0], value.$unknown[1]);
460
- };
461
- })(ComputeConfiguration || (ComputeConfiguration = {}));
462
- export var ProtectedQueryOutput;
463
- (function (ProtectedQueryOutput) {
464
- ProtectedQueryOutput.visit = (value, visitor) => {
504
+ export var ProtectedJobOutput;
505
+ (function (ProtectedJobOutput) {
506
+ ProtectedJobOutput.visit = (value, visitor) => {
465
507
  if (value.s3 !== undefined)
466
508
  return visitor.s3(value.s3);
467
509
  if (value.memberList !== undefined)
468
510
  return visitor.memberList(value.memberList);
469
511
  return visitor._(value.$unknown[0], value.$unknown[1]);
470
512
  };
471
- })(ProtectedQueryOutput || (ProtectedQueryOutput = {}));
472
- export var ProtectedQueryOutputConfiguration;
473
- (function (ProtectedQueryOutputConfiguration) {
474
- ProtectedQueryOutputConfiguration.visit = (value, visitor) => {
513
+ })(ProtectedJobOutput || (ProtectedJobOutput = {}));
514
+ export var ProtectedJobOutputConfigurationOutput;
515
+ (function (ProtectedJobOutputConfigurationOutput) {
516
+ ProtectedJobOutputConfigurationOutput.visit = (value, visitor) => {
475
517
  if (value.s3 !== undefined)
476
518
  return visitor.s3(value.s3);
477
519
  if (value.member !== undefined)
478
520
  return visitor.member(value.member);
479
521
  return visitor._(value.$unknown[0], value.$unknown[1]);
480
522
  };
481
- })(ProtectedQueryOutputConfiguration || (ProtectedQueryOutputConfiguration = {}));
482
- export const ProtectedQueryStatus = {
483
- CANCELLED: "CANCELLED",
484
- CANCELLING: "CANCELLING",
485
- FAILED: "FAILED",
486
- STARTED: "STARTED",
487
- SUBMITTED: "SUBMITTED",
488
- SUCCESS: "SUCCESS",
489
- TIMED_OUT: "TIMED_OUT",
490
- };
491
- export var ConfigurationDetails;
492
- (function (ConfigurationDetails) {
493
- ConfigurationDetails.visit = (value, visitor) => {
494
- if (value.directAnalysisConfigurationDetails !== undefined)
495
- return visitor.directAnalysisConfigurationDetails(value.directAnalysisConfigurationDetails);
496
- return visitor._(value.$unknown[0], value.$unknown[1]);
497
- };
498
- })(ConfigurationDetails || (ConfigurationDetails = {}));
523
+ })(ProtectedJobOutputConfigurationOutput || (ProtectedJobOutputConfigurationOutput = {}));
499
524
  export const AnalysisParameterFilterSensitiveLog = (obj) => ({
500
525
  ...obj,
501
526
  });
502
527
  export const AnalysisSourceFilterSensitiveLog = (obj) => {
503
528
  if (obj.text !== undefined)
504
- return { text: obj.text };
529
+ return { text: SENSITIVE_STRING };
530
+ if (obj.artifacts !== undefined)
531
+ return { artifacts: obj.artifacts };
505
532
  if (obj.$unknown !== undefined)
506
533
  return { [obj.$unknown[0]]: "UNKNOWN" };
507
534
  };
508
535
  export const AnalysisTemplateFilterSensitiveLog = (obj) => ({
509
536
  ...obj,
510
- ...(obj.source && { source: SENSITIVE_STRING }),
537
+ ...(obj.source && { source: AnalysisSourceFilterSensitiveLog(obj.source) }),
538
+ ...(obj.sourceMetadata && { sourceMetadata: obj.sourceMetadata }),
511
539
  ...(obj.analysisParameters && { analysisParameters: SENSITIVE_STRING }),
512
540
  });
513
541
  export const CreateAnalysisTemplateInputFilterSensitiveLog = (obj) => ({
514
542
  ...obj,
515
- ...(obj.source && { source: SENSITIVE_STRING }),
543
+ ...(obj.source && { source: AnalysisSourceFilterSensitiveLog(obj.source) }),
516
544
  ...(obj.analysisParameters && { analysisParameters: SENSITIVE_STRING }),
517
545
  });
518
546
  export const CreateAnalysisTemplateOutputFilterSensitiveLog = (obj) => ({
@@ -529,7 +557,8 @@ export const UpdateAnalysisTemplateOutputFilterSensitiveLog = (obj) => ({
529
557
  });
530
558
  export const CollaborationAnalysisTemplateFilterSensitiveLog = (obj) => ({
531
559
  ...obj,
532
- ...(obj.source && { source: SENSITIVE_STRING }),
560
+ ...(obj.source && { source: AnalysisSourceFilterSensitiveLog(obj.source) }),
561
+ ...(obj.sourceMetadata && { sourceMetadata: obj.sourceMetadata }),
533
562
  ...(obj.analysisParameters && { analysisParameters: SENSITIVE_STRING }),
534
563
  });
535
564
  export const BatchGetCollaborationAnalysisTemplateOutputFilterSensitiveLog = (obj) => ({
@@ -544,17 +573,3 @@ export const GetCollaborationAnalysisTemplateOutputFilterSensitiveLog = (obj) =>
544
573
  collaborationAnalysisTemplate: CollaborationAnalysisTemplateFilterSensitiveLog(obj.collaborationAnalysisTemplate),
545
574
  }),
546
575
  });
547
- export const ProtectedQuerySQLParametersFilterSensitiveLog = (obj) => ({
548
- ...obj,
549
- });
550
- export const ProtectedQueryFilterSensitiveLog = (obj) => ({
551
- ...obj,
552
- ...(obj.sqlParameters && { sqlParameters: SENSITIVE_STRING }),
553
- ...(obj.resultConfiguration && { resultConfiguration: obj.resultConfiguration }),
554
- ...(obj.result && { result: obj.result }),
555
- ...(obj.computeConfiguration && { computeConfiguration: obj.computeConfiguration }),
556
- });
557
- export const GetProtectedQueryOutputFilterSensitiveLog = (obj) => ({
558
- ...obj,
559
- ...(obj.protectedQuery && { protectedQuery: ProtectedQueryFilterSensitiveLog(obj.protectedQuery) }),
560
- });
@@ -1,5 +1,72 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { ProtectedQueryFilterSensitiveLog, } from "./models_0";
2
+ export const ProtectedJobStatus = {
3
+ CANCELLED: "CANCELLED",
4
+ CANCELLING: "CANCELLING",
5
+ FAILED: "FAILED",
6
+ STARTED: "STARTED",
7
+ SUBMITTED: "SUBMITTED",
8
+ SUCCESS: "SUCCESS",
9
+ };
10
+ export const WorkerComputeType = {
11
+ CR1X: "CR.1X",
12
+ CR4X: "CR.4X",
13
+ };
14
+ export var ComputeConfiguration;
15
+ (function (ComputeConfiguration) {
16
+ ComputeConfiguration.visit = (value, visitor) => {
17
+ if (value.worker !== undefined)
18
+ return visitor.worker(value.worker);
19
+ return visitor._(value.$unknown[0], value.$unknown[1]);
20
+ };
21
+ })(ComputeConfiguration || (ComputeConfiguration = {}));
22
+ export var ProtectedQueryOutput;
23
+ (function (ProtectedQueryOutput) {
24
+ ProtectedQueryOutput.visit = (value, visitor) => {
25
+ if (value.s3 !== undefined)
26
+ return visitor.s3(value.s3);
27
+ if (value.memberList !== undefined)
28
+ return visitor.memberList(value.memberList);
29
+ return visitor._(value.$unknown[0], value.$unknown[1]);
30
+ };
31
+ })(ProtectedQueryOutput || (ProtectedQueryOutput = {}));
32
+ export var ProtectedQueryOutputConfiguration;
33
+ (function (ProtectedQueryOutputConfiguration) {
34
+ ProtectedQueryOutputConfiguration.visit = (value, visitor) => {
35
+ if (value.s3 !== undefined)
36
+ return visitor.s3(value.s3);
37
+ if (value.member !== undefined)
38
+ return visitor.member(value.member);
39
+ return visitor._(value.$unknown[0], value.$unknown[1]);
40
+ };
41
+ })(ProtectedQueryOutputConfiguration || (ProtectedQueryOutputConfiguration = {}));
42
+ export const ProtectedQueryStatus = {
43
+ CANCELLED: "CANCELLED",
44
+ CANCELLING: "CANCELLING",
45
+ FAILED: "FAILED",
46
+ STARTED: "STARTED",
47
+ SUBMITTED: "SUBMITTED",
48
+ SUCCESS: "SUCCESS",
49
+ TIMED_OUT: "TIMED_OUT",
50
+ };
51
+ export const ProtectedJobAnalysisType = {
52
+ DIRECT_ANALYSIS: "DIRECT_ANALYSIS",
53
+ };
54
+ export var ProtectedJobConfigurationDetails;
55
+ (function (ProtectedJobConfigurationDetails) {
56
+ ProtectedJobConfigurationDetails.visit = (value, visitor) => {
57
+ if (value.directAnalysisConfigurationDetails !== undefined)
58
+ return visitor.directAnalysisConfigurationDetails(value.directAnalysisConfigurationDetails);
59
+ return visitor._(value.$unknown[0], value.$unknown[1]);
60
+ };
61
+ })(ProtectedJobConfigurationDetails || (ProtectedJobConfigurationDetails = {}));
62
+ export var ConfigurationDetails;
63
+ (function (ConfigurationDetails) {
64
+ ConfigurationDetails.visit = (value, visitor) => {
65
+ if (value.directAnalysisConfigurationDetails !== undefined)
66
+ return visitor.directAnalysisConfigurationDetails(value.directAnalysisConfigurationDetails);
67
+ return visitor._(value.$unknown[0], value.$unknown[1]);
68
+ };
69
+ })(ConfigurationDetails || (ConfigurationDetails = {}));
3
70
  export var PreviewPrivacyImpactParametersInput;
4
71
  (function (PreviewPrivacyImpactParametersInput) {
5
72
  PreviewPrivacyImpactParametersInput.visit = (value, visitor) => {
@@ -16,9 +83,23 @@ export var PrivacyImpact;
16
83
  return visitor._(value.$unknown[0], value.$unknown[1]);
17
84
  };
18
85
  })(PrivacyImpact || (PrivacyImpact = {}));
86
+ export var ProtectedJobOutputConfigurationInput;
87
+ (function (ProtectedJobOutputConfigurationInput) {
88
+ ProtectedJobOutputConfigurationInput.visit = (value, visitor) => {
89
+ if (value.member !== undefined)
90
+ return visitor.member(value.member);
91
+ return visitor._(value.$unknown[0], value.$unknown[1]);
92
+ };
93
+ })(ProtectedJobOutputConfigurationInput || (ProtectedJobOutputConfigurationInput = {}));
94
+ export const ProtectedJobType = {
95
+ PYSPARK: "PYSPARK",
96
+ };
19
97
  export const ProtectedQueryType = {
20
98
  SQL: "SQL",
21
99
  };
100
+ export const TargetProtectedJobStatus = {
101
+ CANCELLED: "CANCELLED",
102
+ };
22
103
  export const TargetProtectedQueryStatus = {
23
104
  CANCELLED: "CANCELLED",
24
105
  };
@@ -38,6 +119,20 @@ export var PrivacyBudgetTemplateUpdateParameters;
38
119
  return visitor._(value.$unknown[0], value.$unknown[1]);
39
120
  };
40
121
  })(PrivacyBudgetTemplateUpdateParameters || (PrivacyBudgetTemplateUpdateParameters = {}));
122
+ export const ProtectedQuerySQLParametersFilterSensitiveLog = (obj) => ({
123
+ ...obj,
124
+ });
125
+ export const ProtectedQueryFilterSensitiveLog = (obj) => ({
126
+ ...obj,
127
+ ...(obj.sqlParameters && { sqlParameters: SENSITIVE_STRING }),
128
+ ...(obj.resultConfiguration && { resultConfiguration: obj.resultConfiguration }),
129
+ ...(obj.result && { result: obj.result }),
130
+ ...(obj.computeConfiguration && { computeConfiguration: obj.computeConfiguration }),
131
+ });
132
+ export const GetProtectedQueryOutputFilterSensitiveLog = (obj) => ({
133
+ ...obj,
134
+ ...(obj.protectedQuery && { protectedQuery: ProtectedQueryFilterSensitiveLog(obj.protectedQuery) }),
135
+ });
41
136
  export const StartProtectedQueryInputFilterSensitiveLog = (obj) => ({
42
137
  ...obj,
43
138
  ...(obj.sqlParameters && { sqlParameters: SENSITIVE_STRING }),
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CleanRoomsClient } from "../CleanRoomsClient";
3
+ import { ListProtectedJobsCommand, } from "../commands/ListProtectedJobsCommand";
4
+ export const paginateListProtectedJobs = createPaginator(CleanRoomsClient, ListProtectedJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -15,5 +15,6 @@ export * from "./ListMembersPaginator";
15
15
  export * from "./ListMembershipsPaginator";
16
16
  export * from "./ListPrivacyBudgetTemplatesPaginator";
17
17
  export * from "./ListPrivacyBudgetsPaginator";
18
+ export * from "./ListProtectedJobsPaginator";
18
19
  export * from "./ListProtectedQueriesPaginator";
19
20
  export * from "./ListSchemasPaginator";