@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.
- package/README.md +71 -7
- package/dist-cjs/CleanRooms.js +16 -0
- package/dist-cjs/commands/BatchGetCollaborationAnalysisTemplateCommand.js +47 -0
- package/dist-cjs/commands/CreateAnalysisTemplateCommand.js +47 -0
- package/dist-cjs/commands/DeleteAnalysisTemplateCommand.js +46 -0
- package/dist-cjs/commands/GetAnalysisTemplateCommand.js +47 -0
- package/dist-cjs/commands/GetCollaborationAnalysisTemplateCommand.js +47 -0
- package/dist-cjs/commands/ListAnalysisTemplatesCommand.js +46 -0
- package/dist-cjs/commands/ListCollaborationAnalysisTemplatesCommand.js +46 -0
- package/dist-cjs/commands/UpdateAnalysisTemplateCommand.js +47 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/models/models_0.js +139 -45
- package/dist-cjs/pagination/ListAnalysisTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/ListCollaborationAnalysisTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +673 -36
- package/dist-es/CleanRooms.js +16 -0
- package/dist-es/commands/BatchGetCollaborationAnalysisTemplateCommand.js +43 -0
- package/dist-es/commands/CreateAnalysisTemplateCommand.js +43 -0
- package/dist-es/commands/DeleteAnalysisTemplateCommand.js +42 -0
- package/dist-es/commands/GetAnalysisTemplateCommand.js +43 -0
- package/dist-es/commands/GetCollaborationAnalysisTemplateCommand.js +43 -0
- package/dist-es/commands/ListAnalysisTemplatesCommand.js +42 -0
- package/dist-es/commands/ListCollaborationAnalysisTemplatesCommand.js +42 -0
- package/dist-es/commands/UpdateAnalysisTemplateCommand.js +43 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/models/models_0.js +125 -42
- package/dist-es/pagination/ListAnalysisTemplatesPaginator.js +25 -0
- package/dist-es/pagination/ListCollaborationAnalysisTemplatesPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +698 -77
- package/dist-types/CleanRooms.d.ts +56 -0
- package/dist-types/CleanRoomsClient.d.ts +10 -2
- package/dist-types/commands/BatchGetCollaborationAnalysisTemplateCommand.d.ts +126 -0
- package/dist-types/commands/BatchGetSchemaCommand.d.ts +1 -1
- package/dist-types/commands/CreateAnalysisTemplateCommand.d.ts +137 -0
- package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +18 -2
- package/dist-types/commands/CreateConfiguredTableCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAnalysisTemplateCommand.d.ts +87 -0
- package/dist-types/commands/DeleteConfiguredTableAnalysisRuleCommand.d.ts +1 -1
- package/dist-types/commands/GetAnalysisTemplateCommand.d.ts +116 -0
- package/dist-types/commands/GetCollaborationAnalysisTemplateCommand.d.ts +115 -0
- package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +10 -2
- package/dist-types/commands/GetConfiguredTableCommand.d.ts +1 -1
- package/dist-types/commands/GetProtectedQueryCommand.d.ts +4 -0
- package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +10 -2
- package/dist-types/commands/GetSchemaCommand.d.ts +1 -1
- package/dist-types/commands/ListAnalysisTemplatesCommand.d.ts +104 -0
- package/dist-types/commands/ListCollaborationAnalysisTemplatesCommand.d.ts +103 -0
- package/dist-types/commands/ListConfiguredTablesCommand.d.ts +1 -1
- package/dist-types/commands/ListSchemasCommand.d.ts +1 -1
- package/dist-types/commands/StartProtectedQueryCommand.d.ts +8 -0
- package/dist-types/commands/UpdateAnalysisTemplateCommand.d.ts +117 -0
- package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +18 -2
- package/dist-types/commands/UpdateConfiguredTableCommand.d.ts +1 -1
- package/dist-types/commands/UpdateProtectedQueryCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +3 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +793 -166
- package/dist-types/pagination/ListAnalysisTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCollaborationAnalysisTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +72 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -1
- package/dist-types/ts3.4/CleanRooms.d.ts +148 -0
- package/dist-types/ts3.4/CleanRoomsClient.d.ts +48 -0
- package/dist-types/ts3.4/commands/BatchGetCollaborationAnalysisTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAnalysisTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAnalysisTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAnalysisTemplateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetCollaborationAnalysisTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAnalysisTemplatesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCollaborationAnalysisTemplatesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateAnalysisTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +294 -58
- package/dist-types/ts3.4/pagination/ListAnalysisTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCollaborationAnalysisTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +96 -0
- 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>;
|
package/dist-types/index.d.ts
CHANGED