@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
@@ -0,0 +1,133 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsClient";
4
+ import { UpdateProtectedJobInput, UpdateProtectedJobOutput } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateProtectedJobCommand}.
14
+ */
15
+ export interface UpdateProtectedJobCommandInput extends UpdateProtectedJobInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateProtectedJobCommand}.
21
+ */
22
+ export interface UpdateProtectedJobCommandOutput extends UpdateProtectedJobOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateProtectedJobCommand_base: {
25
+ new (input: UpdateProtectedJobCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProtectedJobCommandInput, UpdateProtectedJobCommandOutput, CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateProtectedJobCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateProtectedJobCommandInput, UpdateProtectedJobCommandOutput, CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the processing of a currently running job.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CleanRoomsClient, UpdateProtectedJobCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import
35
+ * // const { CleanRoomsClient, UpdateProtectedJobCommand } = require("@aws-sdk/client-cleanrooms"); // CommonJS import
36
+ * const client = new CleanRoomsClient(config);
37
+ * const input = { // UpdateProtectedJobInput
38
+ * membershipIdentifier: "STRING_VALUE", // required
39
+ * protectedJobIdentifier: "STRING_VALUE", // required
40
+ * targetStatus: "CANCELLED", // required
41
+ * };
42
+ * const command = new UpdateProtectedJobCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // UpdateProtectedJobOutput
45
+ * // protectedJob: { // ProtectedJob
46
+ * // id: "STRING_VALUE", // required
47
+ * // membershipId: "STRING_VALUE", // required
48
+ * // membershipArn: "STRING_VALUE", // required
49
+ * // createTime: new Date("TIMESTAMP"), // required
50
+ * // jobParameters: { // ProtectedJobParameters
51
+ * // analysisTemplateArn: "STRING_VALUE",
52
+ * // },
53
+ * // status: "SUBMITTED" || "STARTED" || "CANCELLED" || "CANCELLING" || "FAILED" || "SUCCESS", // required
54
+ * // resultConfiguration: { // ProtectedJobResultConfigurationOutput
55
+ * // outputConfiguration: { // ProtectedJobOutputConfigurationOutput Union: only one key present
56
+ * // s3: { // ProtectedJobS3OutputConfigurationOutput
57
+ * // bucket: "STRING_VALUE", // required
58
+ * // keyPrefix: "STRING_VALUE",
59
+ * // },
60
+ * // member: { // ProtectedJobMemberOutputConfigurationOutput
61
+ * // accountId: "STRING_VALUE", // required
62
+ * // },
63
+ * // },
64
+ * // },
65
+ * // statistics: { // ProtectedJobStatistics
66
+ * // totalDurationInMillis: Number("long"),
67
+ * // billedResourceUtilization: { // BilledJobResourceUtilization
68
+ * // units: Number("double"), // required
69
+ * // },
70
+ * // },
71
+ * // result: { // ProtectedJobResult
72
+ * // output: { // ProtectedJobOutput Union: only one key present
73
+ * // s3: { // ProtectedJobS3Output
74
+ * // location: "STRING_VALUE", // required
75
+ * // },
76
+ * // memberList: [ // ProtectedJobMemberOutputList
77
+ * // { // ProtectedJobSingleMemberOutput
78
+ * // accountId: "STRING_VALUE", // required
79
+ * // },
80
+ * // ],
81
+ * // },
82
+ * // },
83
+ * // error: { // ProtectedJobError
84
+ * // message: "STRING_VALUE", // required
85
+ * // code: "STRING_VALUE", // required
86
+ * // },
87
+ * // },
88
+ * // };
89
+ *
90
+ * ```
91
+ *
92
+ * @param UpdateProtectedJobCommandInput - {@link UpdateProtectedJobCommandInput}
93
+ * @returns {@link UpdateProtectedJobCommandOutput}
94
+ * @see {@link UpdateProtectedJobCommandInput} for command's `input` shape.
95
+ * @see {@link UpdateProtectedJobCommandOutput} for command's `response` shape.
96
+ * @see {@link CleanRoomsClientResolvedConfig | config} for CleanRoomsClient's `config` shape.
97
+ *
98
+ * @throws {@link AccessDeniedException} (client fault)
99
+ * <p>Caller does not have sufficient access to perform this action.</p>
100
+ *
101
+ * @throws {@link ConflictException} (client fault)
102
+ * <p>Updating or deleting a resource can cause an inconsistent state.</p>
103
+ *
104
+ * @throws {@link InternalServerException} (server fault)
105
+ * <p>Unexpected error during processing of request.</p>
106
+ *
107
+ * @throws {@link ResourceNotFoundException} (client fault)
108
+ * <p>Request references a resource which does not exist.</p>
109
+ *
110
+ * @throws {@link ThrottlingException} (client fault)
111
+ * <p>Request was denied due to request throttling.</p>
112
+ *
113
+ * @throws {@link ValidationException} (client fault)
114
+ * <p>The input fails to satisfy the specified constraints.</p>
115
+ *
116
+ * @throws {@link CleanRoomsServiceException}
117
+ * <p>Base exception class for all service exceptions from CleanRooms service.</p>
118
+ *
119
+ * @public
120
+ */
121
+ export declare class UpdateProtectedJobCommand extends UpdateProtectedJobCommand_base {
122
+ /** @internal type navigation helper, not in runtime. */
123
+ protected static __types: {
124
+ api: {
125
+ input: UpdateProtectedJobInput;
126
+ output: UpdateProtectedJobOutput;
127
+ };
128
+ sdk: {
129
+ input: UpdateProtectedJobCommandInput;
130
+ output: UpdateProtectedJobCommandOutput;
131
+ };
132
+ };
133
+ }
@@ -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";
@@ -2,7 +2,7 @@
2
2
  * <p>Welcome to the <i>Clean Rooms API Reference</i>.</p>
3
3
  * <p>Clean Rooms is an Amazon Web Services service that helps multiple parties to join
4
4
  * their data together in a secure collaboration workspace. In the collaboration, members who
5
- * can query and receive results can get insights into the collective datasets without either
5
+ * can run queries and jobs and receive results can get insights into the collective datasets without either
6
6
  * party getting access to the other party's raw data.</p>
7
7
  * <p>To learn more about Clean Rooms concepts, procedures, and best practices, see the
8
8
  * <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">Clean Rooms User Guide</a>.</p>