@aws-sdk/client-cleanrooms 3.378.0 → 3.381.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 (83) hide show
  1. package/README.md +71 -7
  2. package/dist-cjs/CleanRooms.js +16 -0
  3. package/dist-cjs/commands/BatchGetCollaborationAnalysisTemplateCommand.js +47 -0
  4. package/dist-cjs/commands/CreateAnalysisTemplateCommand.js +47 -0
  5. package/dist-cjs/commands/DeleteAnalysisTemplateCommand.js +46 -0
  6. package/dist-cjs/commands/GetAnalysisTemplateCommand.js +47 -0
  7. package/dist-cjs/commands/GetCollaborationAnalysisTemplateCommand.js +47 -0
  8. package/dist-cjs/commands/ListAnalysisTemplatesCommand.js +46 -0
  9. package/dist-cjs/commands/ListCollaborationAnalysisTemplatesCommand.js +46 -0
  10. package/dist-cjs/commands/UpdateAnalysisTemplateCommand.js +47 -0
  11. package/dist-cjs/commands/index.js +8 -0
  12. package/dist-cjs/models/models_0.js +139 -45
  13. package/dist-cjs/pagination/ListAnalysisTemplatesPaginator.js +29 -0
  14. package/dist-cjs/pagination/ListCollaborationAnalysisTemplatesPaginator.js +29 -0
  15. package/dist-cjs/pagination/index.js +2 -0
  16. package/dist-cjs/protocols/Aws_restJson1.js +673 -36
  17. package/dist-es/CleanRooms.js +16 -0
  18. package/dist-es/commands/BatchGetCollaborationAnalysisTemplateCommand.js +43 -0
  19. package/dist-es/commands/CreateAnalysisTemplateCommand.js +43 -0
  20. package/dist-es/commands/DeleteAnalysisTemplateCommand.js +42 -0
  21. package/dist-es/commands/GetAnalysisTemplateCommand.js +43 -0
  22. package/dist-es/commands/GetCollaborationAnalysisTemplateCommand.js +43 -0
  23. package/dist-es/commands/ListAnalysisTemplatesCommand.js +42 -0
  24. package/dist-es/commands/ListCollaborationAnalysisTemplatesCommand.js +42 -0
  25. package/dist-es/commands/UpdateAnalysisTemplateCommand.js +43 -0
  26. package/dist-es/commands/index.js +8 -0
  27. package/dist-es/models/models_0.js +125 -42
  28. package/dist-es/pagination/ListAnalysisTemplatesPaginator.js +25 -0
  29. package/dist-es/pagination/ListCollaborationAnalysisTemplatesPaginator.js +25 -0
  30. package/dist-es/pagination/index.js +2 -0
  31. package/dist-es/protocols/Aws_restJson1.js +698 -77
  32. package/dist-types/CleanRooms.d.ts +56 -0
  33. package/dist-types/CleanRoomsClient.d.ts +10 -2
  34. package/dist-types/commands/BatchGetCollaborationAnalysisTemplateCommand.d.ts +126 -0
  35. package/dist-types/commands/BatchGetSchemaCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateAnalysisTemplateCommand.d.ts +137 -0
  37. package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +18 -2
  38. package/dist-types/commands/CreateConfiguredTableCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteAnalysisTemplateCommand.d.ts +87 -0
  40. package/dist-types/commands/DeleteConfiguredTableAnalysisRuleCommand.d.ts +1 -1
  41. package/dist-types/commands/GetAnalysisTemplateCommand.d.ts +116 -0
  42. package/dist-types/commands/GetCollaborationAnalysisTemplateCommand.d.ts +115 -0
  43. package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +10 -2
  44. package/dist-types/commands/GetConfiguredTableCommand.d.ts +1 -1
  45. package/dist-types/commands/GetProtectedQueryCommand.d.ts +4 -0
  46. package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +10 -2
  47. package/dist-types/commands/GetSchemaCommand.d.ts +1 -1
  48. package/dist-types/commands/ListAnalysisTemplatesCommand.d.ts +104 -0
  49. package/dist-types/commands/ListCollaborationAnalysisTemplatesCommand.d.ts +103 -0
  50. package/dist-types/commands/ListConfiguredTablesCommand.d.ts +1 -1
  51. package/dist-types/commands/ListSchemasCommand.d.ts +1 -1
  52. package/dist-types/commands/StartProtectedQueryCommand.d.ts +8 -0
  53. package/dist-types/commands/UpdateAnalysisTemplateCommand.d.ts +117 -0
  54. package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +18 -2
  55. package/dist-types/commands/UpdateConfiguredTableCommand.d.ts +1 -1
  56. package/dist-types/commands/UpdateProtectedQueryCommand.d.ts +4 -0
  57. package/dist-types/commands/index.d.ts +8 -0
  58. package/dist-types/endpoint/EndpointParameters.d.ts +3 -0
  59. package/dist-types/index.d.ts +1 -0
  60. package/dist-types/models/models_0.d.ts +793 -166
  61. package/dist-types/pagination/ListAnalysisTemplatesPaginator.d.ts +7 -0
  62. package/dist-types/pagination/ListCollaborationAnalysisTemplatesPaginator.d.ts +7 -0
  63. package/dist-types/pagination/index.d.ts +2 -0
  64. package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
  65. package/dist-types/runtimeConfig.browser.d.ts +3 -1
  66. package/dist-types/ts3.4/CleanRooms.d.ts +148 -0
  67. package/dist-types/ts3.4/CleanRoomsClient.d.ts +48 -0
  68. package/dist-types/ts3.4/commands/BatchGetCollaborationAnalysisTemplateCommand.d.ts +42 -0
  69. package/dist-types/ts3.4/commands/CreateAnalysisTemplateCommand.d.ts +42 -0
  70. package/dist-types/ts3.4/commands/DeleteAnalysisTemplateCommand.d.ts +42 -0
  71. package/dist-types/ts3.4/commands/GetAnalysisTemplateCommand.d.ts +39 -0
  72. package/dist-types/ts3.4/commands/GetCollaborationAnalysisTemplateCommand.d.ts +42 -0
  73. package/dist-types/ts3.4/commands/ListAnalysisTemplatesCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/ListCollaborationAnalysisTemplatesCommand.d.ts +42 -0
  75. package/dist-types/ts3.4/commands/UpdateAnalysisTemplateCommand.d.ts +42 -0
  76. package/dist-types/ts3.4/commands/index.d.ts +8 -0
  77. package/dist-types/ts3.4/index.d.ts +1 -0
  78. package/dist-types/ts3.4/models/models_0.d.ts +294 -58
  79. package/dist-types/ts3.4/pagination/ListAnalysisTemplatesPaginator.d.ts +11 -0
  80. package/dist-types/ts3.4/pagination/ListCollaborationAnalysisTemplatesPaginator.d.ts +11 -0
  81. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  82. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
  83. package/package.json +6 -6
@@ -0,0 +1,117 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsClient";
5
+ import { UpdateAnalysisTemplateInput, UpdateAnalysisTemplateOutput } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateAnalysisTemplateCommand}.
14
+ */
15
+ export interface UpdateAnalysisTemplateCommandInput extends UpdateAnalysisTemplateInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateAnalysisTemplateCommand}.
21
+ */
22
+ export interface UpdateAnalysisTemplateCommandOutput extends UpdateAnalysisTemplateOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates the analysis template metadata.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { CleanRoomsClient, UpdateAnalysisTemplateCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import
31
+ * // const { CleanRoomsClient, UpdateAnalysisTemplateCommand } = require("@aws-sdk/client-cleanrooms"); // CommonJS import
32
+ * const client = new CleanRoomsClient(config);
33
+ * const input = { // UpdateAnalysisTemplateInput
34
+ * membershipIdentifier: "STRING_VALUE", // required
35
+ * analysisTemplateIdentifier: "STRING_VALUE", // required
36
+ * description: "STRING_VALUE",
37
+ * };
38
+ * const command = new UpdateAnalysisTemplateCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // UpdateAnalysisTemplateOutput
41
+ * // analysisTemplate: { // AnalysisTemplate
42
+ * // id: "STRING_VALUE", // required
43
+ * // arn: "STRING_VALUE", // required
44
+ * // collaborationId: "STRING_VALUE", // required
45
+ * // collaborationArn: "STRING_VALUE", // required
46
+ * // membershipId: "STRING_VALUE", // required
47
+ * // membershipArn: "STRING_VALUE", // required
48
+ * // description: "STRING_VALUE",
49
+ * // name: "STRING_VALUE", // required
50
+ * // createTime: new Date("TIMESTAMP"), // required
51
+ * // updateTime: new Date("TIMESTAMP"), // required
52
+ * // schema: { // AnalysisSchema
53
+ * // referencedTables: [ // QueryTables
54
+ * // "STRING_VALUE",
55
+ * // ],
56
+ * // },
57
+ * // format: "STRING_VALUE", // required
58
+ * // source: { // AnalysisSource Union: only one key present
59
+ * // text: "STRING_VALUE",
60
+ * // },
61
+ * // analysisParameters: [ // AnalysisParameterList
62
+ * // { // AnalysisParameter
63
+ * // name: "STRING_VALUE", // required
64
+ * // type: "SMALLINT" || "INTEGER" || "BIGINT" || "DECIMAL" || "REAL" || "DOUBLE_PRECISION" || "BOOLEAN" || "CHAR" || "VARCHAR" || "DATE" || "TIMESTAMP" || "TIMESTAMPTZ" || "TIME" || "TIMETZ" || "VARBYTE", // required
65
+ * // defaultValue: "STRING_VALUE",
66
+ * // },
67
+ * // ],
68
+ * // },
69
+ * // };
70
+ *
71
+ * ```
72
+ *
73
+ * @param UpdateAnalysisTemplateCommandInput - {@link UpdateAnalysisTemplateCommandInput}
74
+ * @returns {@link UpdateAnalysisTemplateCommandOutput}
75
+ * @see {@link UpdateAnalysisTemplateCommandInput} for command's `input` shape.
76
+ * @see {@link UpdateAnalysisTemplateCommandOutput} for command's `response` shape.
77
+ * @see {@link CleanRoomsClientResolvedConfig | config} for CleanRoomsClient's `config` shape.
78
+ *
79
+ * @throws {@link AccessDeniedException} (client fault)
80
+ * <p>Caller does not have sufficient access to perform this action.</p>
81
+ *
82
+ * @throws {@link InternalServerException} (server fault)
83
+ * <p>Unexpected error during processing of request.</p>
84
+ *
85
+ * @throws {@link ResourceNotFoundException} (client fault)
86
+ * <p>Request references a resource which does not exist.</p>
87
+ *
88
+ * @throws {@link ThrottlingException} (client fault)
89
+ * <p>Request was denied due to request throttling.</p>
90
+ *
91
+ * @throws {@link ValidationException} (client fault)
92
+ * <p>The input fails to satisfy the specified constraints.</p>
93
+ *
94
+ * @throws {@link CleanRoomsServiceException}
95
+ * <p>Base exception class for all service exceptions from CleanRooms service.</p>
96
+ *
97
+ */
98
+ export declare class UpdateAnalysisTemplateCommand extends $Command<UpdateAnalysisTemplateCommandInput, UpdateAnalysisTemplateCommandOutput, CleanRoomsClientResolvedConfig> {
99
+ readonly input: UpdateAnalysisTemplateCommandInput;
100
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
101
+ /**
102
+ * @public
103
+ */
104
+ constructor(input: UpdateAnalysisTemplateCommandInput);
105
+ /**
106
+ * @internal
107
+ */
108
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateAnalysisTemplateCommandInput, UpdateAnalysisTemplateCommandOutput>;
109
+ /**
110
+ * @internal
111
+ */
112
+ private serialize;
113
+ /**
114
+ * @internal
115
+ */
116
+ private deserialize;
117
+ }
@@ -32,7 +32,7 @@ export interface UpdateConfiguredTableAnalysisRuleCommandOutput extends UpdateCo
32
32
  * const client = new CleanRoomsClient(config);
33
33
  * const input = { // UpdateConfiguredTableAnalysisRuleInput
34
34
  * configuredTableIdentifier: "STRING_VALUE", // required
35
- * analysisRuleType: "AGGREGATION" || "LIST", // required
35
+ * analysisRuleType: "AGGREGATION" || "LIST" || "CUSTOM", // required
36
36
  * analysisRulePolicy: { // ConfiguredTableAnalysisRulePolicy Union: only one key present
37
37
  * v1: { // ConfiguredTableAnalysisRulePolicyV1 Union: only one key present
38
38
  * list: { // AnalysisRuleList
@@ -76,6 +76,14 @@ export interface UpdateConfiguredTableAnalysisRuleCommandOutput extends UpdateCo
76
76
  * },
77
77
  * ],
78
78
  * },
79
+ * custom: { // AnalysisRuleCustom
80
+ * allowedAnalyses: [ // AllowedAnalysesList // required
81
+ * "STRING_VALUE",
82
+ * ],
83
+ * allowedAnalysisProviders: [ // AllowedAnalysisProviderList
84
+ * "STRING_VALUE",
85
+ * ],
86
+ * },
79
87
  * },
80
88
  * },
81
89
  * };
@@ -128,9 +136,17 @@ export interface UpdateConfiguredTableAnalysisRuleCommandOutput extends UpdateCo
128
136
  * // },
129
137
  * // ],
130
138
  * // },
139
+ * // custom: { // AnalysisRuleCustom
140
+ * // allowedAnalyses: [ // AllowedAnalysesList // required
141
+ * // "STRING_VALUE",
142
+ * // ],
143
+ * // allowedAnalysisProviders: [ // AllowedAnalysisProviderList
144
+ * // "STRING_VALUE",
145
+ * // ],
146
+ * // },
131
147
  * // },
132
148
  * // },
133
- * // type: "AGGREGATION" || "LIST", // required
149
+ * // type: "AGGREGATION" || "LIST" || "CUSTOM", // required
134
150
  * // createTime: new Date("TIMESTAMP"), // required
135
151
  * // updateTime: new Date("TIMESTAMP"), // required
136
152
  * // },
@@ -52,7 +52,7 @@ export interface UpdateConfiguredTableCommandOutput extends UpdateConfiguredTabl
52
52
  * // createTime: new Date("TIMESTAMP"), // required
53
53
  * // updateTime: new Date("TIMESTAMP"), // required
54
54
  * // analysisRuleTypes: [ // ConfiguredTableAnalysisRuleTypeList // required
55
- * // "AGGREGATION" || "LIST",
55
+ * // "AGGREGATION" || "LIST" || "CUSTOM",
56
56
  * // ],
57
57
  * // analysisMethod: "STRING_VALUE", // required
58
58
  * // allowedColumns: [ // AllowedColumnList // required
@@ -45,6 +45,10 @@ export interface UpdateProtectedQueryCommandOutput extends UpdateProtectedQueryO
45
45
  * // createTime: new Date("TIMESTAMP"), // required
46
46
  * // sqlParameters: { // ProtectedQuerySQLParameters
47
47
  * // queryString: "STRING_VALUE",
48
+ * // analysisTemplateArn: "STRING_VALUE",
49
+ * // parameters: { // ParameterMap
50
+ * // "<keys>": "STRING_VALUE",
51
+ * // },
48
52
  * // },
49
53
  * // status: "STRING_VALUE", // required
50
54
  * // resultConfiguration: { // ProtectedQueryResultConfiguration
@@ -1,15 +1,20 @@
1
+ export * from "./BatchGetCollaborationAnalysisTemplateCommand";
1
2
  export * from "./BatchGetSchemaCommand";
3
+ export * from "./CreateAnalysisTemplateCommand";
2
4
  export * from "./CreateCollaborationCommand";
3
5
  export * from "./CreateConfiguredTableAnalysisRuleCommand";
4
6
  export * from "./CreateConfiguredTableAssociationCommand";
5
7
  export * from "./CreateConfiguredTableCommand";
6
8
  export * from "./CreateMembershipCommand";
9
+ export * from "./DeleteAnalysisTemplateCommand";
7
10
  export * from "./DeleteCollaborationCommand";
8
11
  export * from "./DeleteConfiguredTableAnalysisRuleCommand";
9
12
  export * from "./DeleteConfiguredTableAssociationCommand";
10
13
  export * from "./DeleteConfiguredTableCommand";
11
14
  export * from "./DeleteMemberCommand";
12
15
  export * from "./DeleteMembershipCommand";
16
+ export * from "./GetAnalysisTemplateCommand";
17
+ export * from "./GetCollaborationAnalysisTemplateCommand";
13
18
  export * from "./GetCollaborationCommand";
14
19
  export * from "./GetConfiguredTableAnalysisRuleCommand";
15
20
  export * from "./GetConfiguredTableAssociationCommand";
@@ -18,6 +23,8 @@ export * from "./GetMembershipCommand";
18
23
  export * from "./GetProtectedQueryCommand";
19
24
  export * from "./GetSchemaAnalysisRuleCommand";
20
25
  export * from "./GetSchemaCommand";
26
+ export * from "./ListAnalysisTemplatesCommand";
27
+ export * from "./ListCollaborationAnalysisTemplatesCommand";
21
28
  export * from "./ListCollaborationsCommand";
22
29
  export * from "./ListConfiguredTableAssociationsCommand";
23
30
  export * from "./ListConfiguredTablesCommand";
@@ -29,6 +36,7 @@ export * from "./ListTagsForResourceCommand";
29
36
  export * from "./StartProtectedQueryCommand";
30
37
  export * from "./TagResourceCommand";
31
38
  export * from "./UntagResourceCommand";
39
+ export * from "./UpdateAnalysisTemplateCommand";
32
40
  export * from "./UpdateCollaborationCommand";
33
41
  export * from "./UpdateConfiguredTableAnalysisRuleCommand";
34
42
  export * from "./UpdateConfiguredTableAssociationCommand";
@@ -1,4 +1,7 @@
1
1
  import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface ClientInputEndpointParameters {
3
6
  region?: string | Provider<string>;
4
7
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -11,6 +11,7 @@
11
11
  */
12
12
  export * from "./CleanRoomsClient";
13
13
  export * from "./CleanRooms";
14
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
14
15
  export * from "./commands";
15
16
  export * from "./pagination";
16
17
  export * from "./models";