@aws-sdk/client-cleanrooms 3.250.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/LICENSE +201 -0
- package/README.md +215 -0
- package/dist-cjs/CleanRooms.js +517 -0
- package/dist-cjs/CleanRoomsClient.js +40 -0
- package/dist-cjs/commands/BatchGetSchemaCommand.js +46 -0
- package/dist-cjs/commands/CreateCollaborationCommand.js +46 -0
- package/dist-cjs/commands/CreateConfiguredTableAnalysisRuleCommand.js +46 -0
- package/dist-cjs/commands/CreateConfiguredTableAssociationCommand.js +46 -0
- package/dist-cjs/commands/CreateConfiguredTableCommand.js +46 -0
- package/dist-cjs/commands/CreateMembershipCommand.js +46 -0
- package/dist-cjs/commands/DeleteCollaborationCommand.js +46 -0
- package/dist-cjs/commands/DeleteConfiguredTableAnalysisRuleCommand.js +46 -0
- package/dist-cjs/commands/DeleteConfiguredTableAssociationCommand.js +46 -0
- package/dist-cjs/commands/DeleteConfiguredTableCommand.js +46 -0
- package/dist-cjs/commands/DeleteMemberCommand.js +46 -0
- package/dist-cjs/commands/DeleteMembershipCommand.js +46 -0
- package/dist-cjs/commands/GetCollaborationCommand.js +46 -0
- package/dist-cjs/commands/GetConfiguredTableAnalysisRuleCommand.js +46 -0
- package/dist-cjs/commands/GetConfiguredTableAssociationCommand.js +46 -0
- package/dist-cjs/commands/GetConfiguredTableCommand.js +46 -0
- package/dist-cjs/commands/GetMembershipCommand.js +46 -0
- package/dist-cjs/commands/GetProtectedQueryCommand.js +46 -0
- package/dist-cjs/commands/GetSchemaAnalysisRuleCommand.js +46 -0
- package/dist-cjs/commands/GetSchemaCommand.js +46 -0
- package/dist-cjs/commands/ListCollaborationsCommand.js +46 -0
- package/dist-cjs/commands/ListConfiguredTableAssociationsCommand.js +46 -0
- package/dist-cjs/commands/ListConfiguredTablesCommand.js +46 -0
- package/dist-cjs/commands/ListMembersCommand.js +46 -0
- package/dist-cjs/commands/ListMembershipsCommand.js +46 -0
- package/dist-cjs/commands/ListProtectedQueriesCommand.js +46 -0
- package/dist-cjs/commands/ListSchemasCommand.js +46 -0
- package/dist-cjs/commands/StartProtectedQueryCommand.js +46 -0
- package/dist-cjs/commands/UpdateCollaborationCommand.js +46 -0
- package/dist-cjs/commands/UpdateConfiguredTableAnalysisRuleCommand.js +46 -0
- package/dist-cjs/commands/UpdateConfiguredTableAssociationCommand.js +46 -0
- package/dist-cjs/commands/UpdateConfiguredTableCommand.js +46 -0
- package/dist-cjs/commands/UpdateMembershipCommand.js +46 -0
- package/dist-cjs/commands/UpdateProtectedQueryCommand.js +46 -0
- package/dist-cjs/commands/index.js +37 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/CleanRoomsServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +782 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListCollaborationsPaginator.js +36 -0
- package/dist-cjs/pagination/ListConfiguredTableAssociationsPaginator.js +36 -0
- package/dist-cjs/pagination/ListConfiguredTablesPaginator.js +36 -0
- package/dist-cjs/pagination/ListMembersPaginator.js +36 -0
- package/dist-cjs/pagination/ListMembershipsPaginator.js +36 -0
- package/dist-cjs/pagination/ListProtectedQueriesPaginator.js +36 -0
- package/dist-cjs/pagination/ListSchemasPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3336 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +51 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/CleanRooms.js +513 -0
- package/dist-es/CleanRoomsClient.js +36 -0
- package/dist-es/commands/BatchGetSchemaCommand.js +42 -0
- package/dist-es/commands/CreateCollaborationCommand.js +42 -0
- package/dist-es/commands/CreateConfiguredTableAnalysisRuleCommand.js +42 -0
- package/dist-es/commands/CreateConfiguredTableAssociationCommand.js +42 -0
- package/dist-es/commands/CreateConfiguredTableCommand.js +42 -0
- package/dist-es/commands/CreateMembershipCommand.js +42 -0
- package/dist-es/commands/DeleteCollaborationCommand.js +42 -0
- package/dist-es/commands/DeleteConfiguredTableAnalysisRuleCommand.js +42 -0
- package/dist-es/commands/DeleteConfiguredTableAssociationCommand.js +42 -0
- package/dist-es/commands/DeleteConfiguredTableCommand.js +42 -0
- package/dist-es/commands/DeleteMemberCommand.js +42 -0
- package/dist-es/commands/DeleteMembershipCommand.js +42 -0
- package/dist-es/commands/GetCollaborationCommand.js +42 -0
- package/dist-es/commands/GetConfiguredTableAnalysisRuleCommand.js +42 -0
- package/dist-es/commands/GetConfiguredTableAssociationCommand.js +42 -0
- package/dist-es/commands/GetConfiguredTableCommand.js +42 -0
- package/dist-es/commands/GetMembershipCommand.js +42 -0
- package/dist-es/commands/GetProtectedQueryCommand.js +42 -0
- package/dist-es/commands/GetSchemaAnalysisRuleCommand.js +42 -0
- package/dist-es/commands/GetSchemaCommand.js +42 -0
- package/dist-es/commands/ListCollaborationsCommand.js +42 -0
- package/dist-es/commands/ListConfiguredTableAssociationsCommand.js +42 -0
- package/dist-es/commands/ListConfiguredTablesCommand.js +42 -0
- package/dist-es/commands/ListMembersCommand.js +42 -0
- package/dist-es/commands/ListMembershipsCommand.js +42 -0
- package/dist-es/commands/ListProtectedQueriesCommand.js +42 -0
- package/dist-es/commands/ListSchemasCommand.js +42 -0
- package/dist-es/commands/StartProtectedQueryCommand.js +42 -0
- package/dist-es/commands/UpdateCollaborationCommand.js +42 -0
- package/dist-es/commands/UpdateConfiguredTableAnalysisRuleCommand.js +42 -0
- package/dist-es/commands/UpdateConfiguredTableAssociationCommand.js +42 -0
- package/dist-es/commands/UpdateConfiguredTableCommand.js +42 -0
- package/dist-es/commands/UpdateMembershipCommand.js +42 -0
- package/dist-es/commands/UpdateProtectedQueryCommand.js +42 -0
- package/dist-es/commands/index.js +34 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/CleanRoomsServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +663 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListCollaborationsPaginator.js +32 -0
- package/dist-es/pagination/ListConfiguredTableAssociationsPaginator.js +32 -0
- package/dist-es/pagination/ListConfiguredTablesPaginator.js +32 -0
- package/dist-es/pagination/ListMembersPaginator.js +32 -0
- package/dist-es/pagination/ListMembershipsPaginator.js +32 -0
- package/dist-es/pagination/ListProtectedQueriesPaginator.js +32 -0
- package/dist-es/pagination/ListSchemasPaginator.js +32 -0
- package/dist-es/pagination/index.js +8 -0
- package/dist-es/protocols/Aws_restJson1.js +3264 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +46 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/CleanRooms.d.ts +260 -0
- package/dist-types/CleanRoomsClient.d.ts +185 -0
- package/dist-types/commands/BatchGetSchemaCommand.d.ts +37 -0
- package/dist-types/commands/CreateCollaborationCommand.d.ts +37 -0
- package/dist-types/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +38 -0
- package/dist-types/commands/CreateConfiguredTableAssociationCommand.d.ts +38 -0
- package/dist-types/commands/CreateConfiguredTableCommand.d.ts +37 -0
- package/dist-types/commands/CreateMembershipCommand.d.ts +38 -0
- package/dist-types/commands/DeleteCollaborationCommand.d.ts +37 -0
- package/dist-types/commands/DeleteConfiguredTableAnalysisRuleCommand.d.ts +37 -0
- package/dist-types/commands/DeleteConfiguredTableAssociationCommand.d.ts +37 -0
- package/dist-types/commands/DeleteConfiguredTableCommand.d.ts +37 -0
- package/dist-types/commands/DeleteMemberCommand.d.ts +39 -0
- package/dist-types/commands/DeleteMembershipCommand.d.ts +37 -0
- package/dist-types/commands/GetCollaborationCommand.d.ts +37 -0
- package/dist-types/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +37 -0
- package/dist-types/commands/GetConfiguredTableAssociationCommand.d.ts +37 -0
- package/dist-types/commands/GetConfiguredTableCommand.d.ts +37 -0
- package/dist-types/commands/GetMembershipCommand.d.ts +37 -0
- package/dist-types/commands/GetProtectedQueryCommand.d.ts +37 -0
- package/dist-types/commands/GetSchemaAnalysisRuleCommand.d.ts +37 -0
- package/dist-types/commands/GetSchemaCommand.d.ts +37 -0
- package/dist-types/commands/ListCollaborationsCommand.d.ts +37 -0
- package/dist-types/commands/ListConfiguredTableAssociationsCommand.d.ts +37 -0
- package/dist-types/commands/ListConfiguredTablesCommand.d.ts +37 -0
- package/dist-types/commands/ListMembersCommand.d.ts +37 -0
- package/dist-types/commands/ListMembershipsCommand.d.ts +37 -0
- package/dist-types/commands/ListProtectedQueriesCommand.d.ts +37 -0
- package/dist-types/commands/ListSchemasCommand.d.ts +37 -0
- package/dist-types/commands/StartProtectedQueryCommand.d.ts +37 -0
- package/dist-types/commands/UpdateCollaborationCommand.d.ts +37 -0
- package/dist-types/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +37 -0
- package/dist-types/commands/UpdateConfiguredTableAssociationCommand.d.ts +37 -0
- package/dist-types/commands/UpdateConfiguredTableCommand.d.ts +37 -0
- package/dist-types/commands/UpdateMembershipCommand.d.ts +37 -0
- package/dist-types/commands/UpdateProtectedQueryCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +34 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/CleanRoomsServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2382 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListCollaborationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListConfiguredTableAssociationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListConfiguredTablesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMembersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListMembershipsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListProtectedQueriesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSchemasPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +8 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +104 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/CleanRooms.d.ts +600 -0
- package/dist-types/ts3.4/CleanRoomsClient.d.ts +315 -0
- package/dist-types/ts3.4/commands/BatchGetSchemaCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/CreateCollaborationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateConfiguredTableAnalysisRuleCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateConfiguredTableAssociationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateConfiguredTableCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteCollaborationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteConfiguredTableAnalysisRuleCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteConfiguredTableAssociationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteConfiguredTableCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteMemberCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetCollaborationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetConfiguredTableAnalysisRuleCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetConfiguredTableAssociationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetConfiguredTableCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetMembershipCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetProtectedQueryCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetSchemaAnalysisRuleCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetSchemaCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListCollaborationsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListConfiguredTableAssociationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListConfiguredTablesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListProtectedQueriesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListSchemasCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/StartProtectedQueryCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateCollaborationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateConfiguredTableAnalysisRuleCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateConfiguredTableAssociationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateConfiguredTableCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateMembershipCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/UpdateProtectedQueryCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/CleanRoomsServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1131 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListCollaborationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfiguredTableAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfiguredTablesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMembershipsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProtectedQueriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSchemasPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +8 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +413 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
- package/package.json +103 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateConfiguredTableAssociationInputFilterSensitiveLog, UpdateConfiguredTableAssociationOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateConfiguredTableAssociationCommand, serializeAws_restJson1UpdateConfiguredTableAssociationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateConfiguredTableAssociationCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateConfiguredTableAssociationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "CleanRoomsClient";
|
|
25
|
+
const commandName = "UpdateConfiguredTableAssociationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateConfiguredTableAssociationInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateConfiguredTableAssociationOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateConfiguredTableAssociationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateConfiguredTableAssociationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateConfiguredTableInputFilterSensitiveLog, UpdateConfiguredTableOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateConfiguredTableCommand, serializeAws_restJson1UpdateConfiguredTableCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateConfiguredTableCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateConfiguredTableCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "CleanRoomsClient";
|
|
25
|
+
const commandName = "UpdateConfiguredTableCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateConfiguredTableInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateConfiguredTableOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateConfiguredTableCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateConfiguredTableCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateMembershipInputFilterSensitiveLog, UpdateMembershipOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateMembershipCommand, serializeAws_restJson1UpdateMembershipCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateMembershipCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateMembershipCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "CleanRoomsClient";
|
|
25
|
+
const commandName = "UpdateMembershipCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateMembershipInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateMembershipOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateMembershipCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateMembershipCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateProtectedQueryInputFilterSensitiveLog, UpdateProtectedQueryOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateProtectedQueryCommand, serializeAws_restJson1UpdateProtectedQueryCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateProtectedQueryCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateProtectedQueryCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "CleanRoomsClient";
|
|
25
|
+
const commandName = "UpdateProtectedQueryCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateProtectedQueryInputFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateProtectedQueryOutputFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateProtectedQueryCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateProtectedQueryCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export * from "./BatchGetSchemaCommand";
|
|
2
|
+
export * from "./CreateCollaborationCommand";
|
|
3
|
+
export * from "./CreateConfiguredTableAnalysisRuleCommand";
|
|
4
|
+
export * from "./CreateConfiguredTableAssociationCommand";
|
|
5
|
+
export * from "./CreateConfiguredTableCommand";
|
|
6
|
+
export * from "./CreateMembershipCommand";
|
|
7
|
+
export * from "./DeleteCollaborationCommand";
|
|
8
|
+
export * from "./DeleteConfiguredTableAnalysisRuleCommand";
|
|
9
|
+
export * from "./DeleteConfiguredTableAssociationCommand";
|
|
10
|
+
export * from "./DeleteConfiguredTableCommand";
|
|
11
|
+
export * from "./DeleteMemberCommand";
|
|
12
|
+
export * from "./DeleteMembershipCommand";
|
|
13
|
+
export * from "./GetCollaborationCommand";
|
|
14
|
+
export * from "./GetConfiguredTableAnalysisRuleCommand";
|
|
15
|
+
export * from "./GetConfiguredTableAssociationCommand";
|
|
16
|
+
export * from "./GetConfiguredTableCommand";
|
|
17
|
+
export * from "./GetMembershipCommand";
|
|
18
|
+
export * from "./GetProtectedQueryCommand";
|
|
19
|
+
export * from "./GetSchemaAnalysisRuleCommand";
|
|
20
|
+
export * from "./GetSchemaCommand";
|
|
21
|
+
export * from "./ListCollaborationsCommand";
|
|
22
|
+
export * from "./ListConfiguredTableAssociationsCommand";
|
|
23
|
+
export * from "./ListConfiguredTablesCommand";
|
|
24
|
+
export * from "./ListMembersCommand";
|
|
25
|
+
export * from "./ListMembershipsCommand";
|
|
26
|
+
export * from "./ListProtectedQueriesCommand";
|
|
27
|
+
export * from "./ListSchemasCommand";
|
|
28
|
+
export * from "./StartProtectedQueryCommand";
|
|
29
|
+
export * from "./UpdateCollaborationCommand";
|
|
30
|
+
export * from "./UpdateConfiguredTableAnalysisRuleCommand";
|
|
31
|
+
export * from "./UpdateConfiguredTableAssociationCommand";
|
|
32
|
+
export * from "./UpdateConfiguredTableCommand";
|
|
33
|
+
export * from "./UpdateMembershipCommand";
|
|
34
|
+
export * from "./UpdateProtectedQueryCommand";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const q = "fn", r = "argv", s = "ref";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = { "required": true, "default": false, "type": "Boolean" }, i = { [s]: "Endpoint" }, j = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, k = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, l = {}, m = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsFIPS"] }] }, n = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: d }, "supportsDualStack"] }] }, o = [j], p = [k];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: h, UseFIPS: h, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: d }], type: e, rules: [{ conditions: [{ [q]: "isSet", [r]: [i] }], type: e, rules: [{ conditions: o, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: p, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: i, properties: l, headers: l }, type: g }] }] }, { conditions: [j, k], type: e, rules: [{ conditions: [m, n], type: e, rules: [{ endpoint: { url: "https://cleanrooms-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: o, type: e, rules: [{ conditions: [m], type: e, rules: [{ endpoint: { url: "https://cleanrooms-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: p, type: e, rules: [{ conditions: [n], type: e, rules: [{ endpoint: { url: "https://cleanrooms.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { endpoint: { url: "https://cleanrooms.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: g }] }] };
|
|
4
|
+
export const ruleSet = _data;
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
|
|
2
|
+
export class CleanRoomsServiceException extends __ServiceException {
|
|
3
|
+
constructor(options) {
|
|
4
|
+
super(options);
|
|
5
|
+
Object.setPrototypeOf(this, CleanRoomsServiceException.prototype);
|
|
6
|
+
}
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|