@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,37 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
|
+
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
|
+
export const getRuntimeConfig = (config) => {
|
|
14
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
15
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
16
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
17
|
+
return {
|
|
18
|
+
...clientSharedValues,
|
|
19
|
+
...config,
|
|
20
|
+
runtime: "browser",
|
|
21
|
+
defaultsMode,
|
|
22
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
23
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
24
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
25
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
26
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
27
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
28
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
29
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
30
|
+
sha256: config?.sha256 ?? Sha256,
|
|
31
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
32
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
33
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
34
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
35
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
+
import { Hash } from "@aws-sdk/hash-node";
|
|
6
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
|
+
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
11
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
12
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
13
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
15
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
|
+
export const getRuntimeConfig = (config) => {
|
|
18
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
19
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
21
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
22
|
+
return {
|
|
23
|
+
...clientSharedValues,
|
|
24
|
+
...config,
|
|
25
|
+
runtime: "node",
|
|
26
|
+
defaultsMode,
|
|
27
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
29
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
34
|
+
retryMode: config?.retryMode ??
|
|
35
|
+
loadNodeConfig({
|
|
36
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
37
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
38
|
+
}),
|
|
39
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
40
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
44
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
+
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
4
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
5
|
+
export const getRuntimeConfig = (config) => ({
|
|
6
|
+
apiVersion: "2022-02-17",
|
|
7
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
8
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
9
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
10
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
11
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
12
|
+
serviceId: config?.serviceId ?? "CleanRooms",
|
|
13
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
14
|
+
});
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { CleanRoomsClient } from "./CleanRoomsClient";
|
|
3
|
+
import { BatchGetSchemaCommandInput, BatchGetSchemaCommandOutput } from "./commands/BatchGetSchemaCommand";
|
|
4
|
+
import { CreateCollaborationCommandInput, CreateCollaborationCommandOutput } from "./commands/CreateCollaborationCommand";
|
|
5
|
+
import { CreateConfiguredTableAnalysisRuleCommandInput, CreateConfiguredTableAnalysisRuleCommandOutput } from "./commands/CreateConfiguredTableAnalysisRuleCommand";
|
|
6
|
+
import { CreateConfiguredTableAssociationCommandInput, CreateConfiguredTableAssociationCommandOutput } from "./commands/CreateConfiguredTableAssociationCommand";
|
|
7
|
+
import { CreateConfiguredTableCommandInput, CreateConfiguredTableCommandOutput } from "./commands/CreateConfiguredTableCommand";
|
|
8
|
+
import { CreateMembershipCommandInput, CreateMembershipCommandOutput } from "./commands/CreateMembershipCommand";
|
|
9
|
+
import { DeleteCollaborationCommandInput, DeleteCollaborationCommandOutput } from "./commands/DeleteCollaborationCommand";
|
|
10
|
+
import { DeleteConfiguredTableAnalysisRuleCommandInput, DeleteConfiguredTableAnalysisRuleCommandOutput } from "./commands/DeleteConfiguredTableAnalysisRuleCommand";
|
|
11
|
+
import { DeleteConfiguredTableAssociationCommandInput, DeleteConfiguredTableAssociationCommandOutput } from "./commands/DeleteConfiguredTableAssociationCommand";
|
|
12
|
+
import { DeleteConfiguredTableCommandInput, DeleteConfiguredTableCommandOutput } from "./commands/DeleteConfiguredTableCommand";
|
|
13
|
+
import { DeleteMemberCommandInput, DeleteMemberCommandOutput } from "./commands/DeleteMemberCommand";
|
|
14
|
+
import { DeleteMembershipCommandInput, DeleteMembershipCommandOutput } from "./commands/DeleteMembershipCommand";
|
|
15
|
+
import { GetCollaborationCommandInput, GetCollaborationCommandOutput } from "./commands/GetCollaborationCommand";
|
|
16
|
+
import { GetConfiguredTableAnalysisRuleCommandInput, GetConfiguredTableAnalysisRuleCommandOutput } from "./commands/GetConfiguredTableAnalysisRuleCommand";
|
|
17
|
+
import { GetConfiguredTableAssociationCommandInput, GetConfiguredTableAssociationCommandOutput } from "./commands/GetConfiguredTableAssociationCommand";
|
|
18
|
+
import { GetConfiguredTableCommandInput, GetConfiguredTableCommandOutput } from "./commands/GetConfiguredTableCommand";
|
|
19
|
+
import { GetMembershipCommandInput, GetMembershipCommandOutput } from "./commands/GetMembershipCommand";
|
|
20
|
+
import { GetProtectedQueryCommandInput, GetProtectedQueryCommandOutput } from "./commands/GetProtectedQueryCommand";
|
|
21
|
+
import { GetSchemaAnalysisRuleCommandInput, GetSchemaAnalysisRuleCommandOutput } from "./commands/GetSchemaAnalysisRuleCommand";
|
|
22
|
+
import { GetSchemaCommandInput, GetSchemaCommandOutput } from "./commands/GetSchemaCommand";
|
|
23
|
+
import { ListCollaborationsCommandInput, ListCollaborationsCommandOutput } from "./commands/ListCollaborationsCommand";
|
|
24
|
+
import { ListConfiguredTableAssociationsCommandInput, ListConfiguredTableAssociationsCommandOutput } from "./commands/ListConfiguredTableAssociationsCommand";
|
|
25
|
+
import { ListConfiguredTablesCommandInput, ListConfiguredTablesCommandOutput } from "./commands/ListConfiguredTablesCommand";
|
|
26
|
+
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
27
|
+
import { ListMembershipsCommandInput, ListMembershipsCommandOutput } from "./commands/ListMembershipsCommand";
|
|
28
|
+
import { ListProtectedQueriesCommandInput, ListProtectedQueriesCommandOutput } from "./commands/ListProtectedQueriesCommand";
|
|
29
|
+
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
30
|
+
import { StartProtectedQueryCommandInput, StartProtectedQueryCommandOutput } from "./commands/StartProtectedQueryCommand";
|
|
31
|
+
import { UpdateCollaborationCommandInput, UpdateCollaborationCommandOutput } from "./commands/UpdateCollaborationCommand";
|
|
32
|
+
import { UpdateConfiguredTableAnalysisRuleCommandInput, UpdateConfiguredTableAnalysisRuleCommandOutput } from "./commands/UpdateConfiguredTableAnalysisRuleCommand";
|
|
33
|
+
import { UpdateConfiguredTableAssociationCommandInput, UpdateConfiguredTableAssociationCommandOutput } from "./commands/UpdateConfiguredTableAssociationCommand";
|
|
34
|
+
import { UpdateConfiguredTableCommandInput, UpdateConfiguredTableCommandOutput } from "./commands/UpdateConfiguredTableCommand";
|
|
35
|
+
import { UpdateMembershipCommandInput, UpdateMembershipCommandOutput } from "./commands/UpdateMembershipCommand";
|
|
36
|
+
import { UpdateProtectedQueryCommandInput, UpdateProtectedQueryCommandOutput } from "./commands/UpdateProtectedQueryCommand";
|
|
37
|
+
/**
|
|
38
|
+
* <note>
|
|
39
|
+
* <p>AWS Clean Rooms is in preview release and is subject to change.</p>
|
|
40
|
+
* </note>
|
|
41
|
+
* <p>Welcome to the <i>AWS Clean Rooms API Reference</i>.</p>
|
|
42
|
+
* <p>AWS Clean Rooms is an AWS service that helps multiple parties to join their data
|
|
43
|
+
* together in a secure collaboration workspace. In the collaboration, members who can query
|
|
44
|
+
* and receive results can get insights into the combined data without either party getting
|
|
45
|
+
* access to the other party's raw data.</p>
|
|
46
|
+
* <p>To learn more about AWS Clean Rooms concepts, procedures, and best practices, see the
|
|
47
|
+
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">AWS Clean
|
|
48
|
+
* Rooms User Guide</a>.</p>
|
|
49
|
+
*/
|
|
50
|
+
export declare class CleanRooms extends CleanRoomsClient {
|
|
51
|
+
/**
|
|
52
|
+
* <p>Retrieves multiple schemas by their identifiers.</p>
|
|
53
|
+
*/
|
|
54
|
+
batchGetSchema(args: BatchGetSchemaCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetSchemaCommandOutput>;
|
|
55
|
+
batchGetSchema(args: BatchGetSchemaCommandInput, cb: (err: any, data?: BatchGetSchemaCommandOutput) => void): void;
|
|
56
|
+
batchGetSchema(args: BatchGetSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetSchemaCommandOutput) => void): void;
|
|
57
|
+
/**
|
|
58
|
+
* <p>Creates a new collaboration.</p>
|
|
59
|
+
*/
|
|
60
|
+
createCollaboration(args: CreateCollaborationCommandInput, options?: __HttpHandlerOptions): Promise<CreateCollaborationCommandOutput>;
|
|
61
|
+
createCollaboration(args: CreateCollaborationCommandInput, cb: (err: any, data?: CreateCollaborationCommandOutput) => void): void;
|
|
62
|
+
createCollaboration(args: CreateCollaborationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCollaborationCommandOutput) => void): void;
|
|
63
|
+
/**
|
|
64
|
+
* <p>Creates a new configured table resource.</p>
|
|
65
|
+
*/
|
|
66
|
+
createConfiguredTable(args: CreateConfiguredTableCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfiguredTableCommandOutput>;
|
|
67
|
+
createConfiguredTable(args: CreateConfiguredTableCommandInput, cb: (err: any, data?: CreateConfiguredTableCommandOutput) => void): void;
|
|
68
|
+
createConfiguredTable(args: CreateConfiguredTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfiguredTableCommandOutput) => void): void;
|
|
69
|
+
/**
|
|
70
|
+
* <p>Creates a new analysis rule for a configured table. Currently, only one analysis rule
|
|
71
|
+
* can be created for a given configured table.</p>
|
|
72
|
+
*/
|
|
73
|
+
createConfiguredTableAnalysisRule(args: CreateConfiguredTableAnalysisRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfiguredTableAnalysisRuleCommandOutput>;
|
|
74
|
+
createConfiguredTableAnalysisRule(args: CreateConfiguredTableAnalysisRuleCommandInput, cb: (err: any, data?: CreateConfiguredTableAnalysisRuleCommandOutput) => void): void;
|
|
75
|
+
createConfiguredTableAnalysisRule(args: CreateConfiguredTableAnalysisRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfiguredTableAnalysisRuleCommandOutput) => void): void;
|
|
76
|
+
/**
|
|
77
|
+
* <p>Creates a configured table association. A configured table association links a
|
|
78
|
+
* configured table with a collaboration.</p>
|
|
79
|
+
*/
|
|
80
|
+
createConfiguredTableAssociation(args: CreateConfiguredTableAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreateConfiguredTableAssociationCommandOutput>;
|
|
81
|
+
createConfiguredTableAssociation(args: CreateConfiguredTableAssociationCommandInput, cb: (err: any, data?: CreateConfiguredTableAssociationCommandOutput) => void): void;
|
|
82
|
+
createConfiguredTableAssociation(args: CreateConfiguredTableAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConfiguredTableAssociationCommandOutput) => void): void;
|
|
83
|
+
/**
|
|
84
|
+
* <p>Creates a membership for a specific collaboration identifier and joins the
|
|
85
|
+
* collaboration.</p>
|
|
86
|
+
*/
|
|
87
|
+
createMembership(args: CreateMembershipCommandInput, options?: __HttpHandlerOptions): Promise<CreateMembershipCommandOutput>;
|
|
88
|
+
createMembership(args: CreateMembershipCommandInput, cb: (err: any, data?: CreateMembershipCommandOutput) => void): void;
|
|
89
|
+
createMembership(args: CreateMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMembershipCommandOutput) => void): void;
|
|
90
|
+
/**
|
|
91
|
+
* <p>Deletes a collaboration. It can only be called by the collaboration owner.</p>
|
|
92
|
+
*/
|
|
93
|
+
deleteCollaboration(args: DeleteCollaborationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCollaborationCommandOutput>;
|
|
94
|
+
deleteCollaboration(args: DeleteCollaborationCommandInput, cb: (err: any, data?: DeleteCollaborationCommandOutput) => void): void;
|
|
95
|
+
deleteCollaboration(args: DeleteCollaborationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCollaborationCommandOutput) => void): void;
|
|
96
|
+
/**
|
|
97
|
+
* <p>Deletes a configured table.</p>
|
|
98
|
+
*/
|
|
99
|
+
deleteConfiguredTable(args: DeleteConfiguredTableCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfiguredTableCommandOutput>;
|
|
100
|
+
deleteConfiguredTable(args: DeleteConfiguredTableCommandInput, cb: (err: any, data?: DeleteConfiguredTableCommandOutput) => void): void;
|
|
101
|
+
deleteConfiguredTable(args: DeleteConfiguredTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfiguredTableCommandOutput) => void): void;
|
|
102
|
+
/**
|
|
103
|
+
* <p>Deletes a configured table analysis rule.</p>
|
|
104
|
+
*/
|
|
105
|
+
deleteConfiguredTableAnalysisRule(args: DeleteConfiguredTableAnalysisRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfiguredTableAnalysisRuleCommandOutput>;
|
|
106
|
+
deleteConfiguredTableAnalysisRule(args: DeleteConfiguredTableAnalysisRuleCommandInput, cb: (err: any, data?: DeleteConfiguredTableAnalysisRuleCommandOutput) => void): void;
|
|
107
|
+
deleteConfiguredTableAnalysisRule(args: DeleteConfiguredTableAnalysisRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfiguredTableAnalysisRuleCommandOutput) => void): void;
|
|
108
|
+
/**
|
|
109
|
+
* <p>Deletes a configured table association.</p>
|
|
110
|
+
*/
|
|
111
|
+
deleteConfiguredTableAssociation(args: DeleteConfiguredTableAssociationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConfiguredTableAssociationCommandOutput>;
|
|
112
|
+
deleteConfiguredTableAssociation(args: DeleteConfiguredTableAssociationCommandInput, cb: (err: any, data?: DeleteConfiguredTableAssociationCommandOutput) => void): void;
|
|
113
|
+
deleteConfiguredTableAssociation(args: DeleteConfiguredTableAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConfiguredTableAssociationCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* <p>Removes the specified member from a collaboration. The removed member is placed in the
|
|
116
|
+
* Removed status and can't interact with the collaboration. The removed member's data is
|
|
117
|
+
* inaccessible to active members of the collaboration.</p>
|
|
118
|
+
*/
|
|
119
|
+
deleteMember(args: DeleteMemberCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMemberCommandOutput>;
|
|
120
|
+
deleteMember(args: DeleteMemberCommandInput, cb: (err: any, data?: DeleteMemberCommandOutput) => void): void;
|
|
121
|
+
deleteMember(args: DeleteMemberCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMemberCommandOutput) => void): void;
|
|
122
|
+
/**
|
|
123
|
+
* <p>Deletes a specified membership. All resources under a membership must be deleted.</p>
|
|
124
|
+
*/
|
|
125
|
+
deleteMembership(args: DeleteMembershipCommandInput, options?: __HttpHandlerOptions): Promise<DeleteMembershipCommandOutput>;
|
|
126
|
+
deleteMembership(args: DeleteMembershipCommandInput, cb: (err: any, data?: DeleteMembershipCommandOutput) => void): void;
|
|
127
|
+
deleteMembership(args: DeleteMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMembershipCommandOutput) => void): void;
|
|
128
|
+
/**
|
|
129
|
+
* <p>Returns metadata about a collaboration.</p>
|
|
130
|
+
*/
|
|
131
|
+
getCollaboration(args: GetCollaborationCommandInput, options?: __HttpHandlerOptions): Promise<GetCollaborationCommandOutput>;
|
|
132
|
+
getCollaboration(args: GetCollaborationCommandInput, cb: (err: any, data?: GetCollaborationCommandOutput) => void): void;
|
|
133
|
+
getCollaboration(args: GetCollaborationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCollaborationCommandOutput) => void): void;
|
|
134
|
+
/**
|
|
135
|
+
* <p>Retrieves a configured table.</p>
|
|
136
|
+
*/
|
|
137
|
+
getConfiguredTable(args: GetConfiguredTableCommandInput, options?: __HttpHandlerOptions): Promise<GetConfiguredTableCommandOutput>;
|
|
138
|
+
getConfiguredTable(args: GetConfiguredTableCommandInput, cb: (err: any, data?: GetConfiguredTableCommandOutput) => void): void;
|
|
139
|
+
getConfiguredTable(args: GetConfiguredTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfiguredTableCommandOutput) => void): void;
|
|
140
|
+
/**
|
|
141
|
+
* <p>Retrieves a configured table analysis rule.</p>
|
|
142
|
+
*/
|
|
143
|
+
getConfiguredTableAnalysisRule(args: GetConfiguredTableAnalysisRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetConfiguredTableAnalysisRuleCommandOutput>;
|
|
144
|
+
getConfiguredTableAnalysisRule(args: GetConfiguredTableAnalysisRuleCommandInput, cb: (err: any, data?: GetConfiguredTableAnalysisRuleCommandOutput) => void): void;
|
|
145
|
+
getConfiguredTableAnalysisRule(args: GetConfiguredTableAnalysisRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfiguredTableAnalysisRuleCommandOutput) => void): void;
|
|
146
|
+
/**
|
|
147
|
+
* <p>Retrieves a configured table association.</p>
|
|
148
|
+
*/
|
|
149
|
+
getConfiguredTableAssociation(args: GetConfiguredTableAssociationCommandInput, options?: __HttpHandlerOptions): Promise<GetConfiguredTableAssociationCommandOutput>;
|
|
150
|
+
getConfiguredTableAssociation(args: GetConfiguredTableAssociationCommandInput, cb: (err: any, data?: GetConfiguredTableAssociationCommandOutput) => void): void;
|
|
151
|
+
getConfiguredTableAssociation(args: GetConfiguredTableAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConfiguredTableAssociationCommandOutput) => void): void;
|
|
152
|
+
/**
|
|
153
|
+
* <p>Retrieves a specified membership for an identifier.</p>
|
|
154
|
+
*/
|
|
155
|
+
getMembership(args: GetMembershipCommandInput, options?: __HttpHandlerOptions): Promise<GetMembershipCommandOutput>;
|
|
156
|
+
getMembership(args: GetMembershipCommandInput, cb: (err: any, data?: GetMembershipCommandOutput) => void): void;
|
|
157
|
+
getMembership(args: GetMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMembershipCommandOutput) => void): void;
|
|
158
|
+
/**
|
|
159
|
+
* <p>Returns query processing metadata.</p>
|
|
160
|
+
*/
|
|
161
|
+
getProtectedQuery(args: GetProtectedQueryCommandInput, options?: __HttpHandlerOptions): Promise<GetProtectedQueryCommandOutput>;
|
|
162
|
+
getProtectedQuery(args: GetProtectedQueryCommandInput, cb: (err: any, data?: GetProtectedQueryCommandOutput) => void): void;
|
|
163
|
+
getProtectedQuery(args: GetProtectedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProtectedQueryCommandOutput) => void): void;
|
|
164
|
+
/**
|
|
165
|
+
* <p>Retrieves the schema for a relation within a collaboration.</p>
|
|
166
|
+
*/
|
|
167
|
+
getSchema(args: GetSchemaCommandInput, options?: __HttpHandlerOptions): Promise<GetSchemaCommandOutput>;
|
|
168
|
+
getSchema(args: GetSchemaCommandInput, cb: (err: any, data?: GetSchemaCommandOutput) => void): void;
|
|
169
|
+
getSchema(args: GetSchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSchemaCommandOutput) => void): void;
|
|
170
|
+
/**
|
|
171
|
+
* <p>Retrieves a schema analysis rule.</p>
|
|
172
|
+
*/
|
|
173
|
+
getSchemaAnalysisRule(args: GetSchemaAnalysisRuleCommandInput, options?: __HttpHandlerOptions): Promise<GetSchemaAnalysisRuleCommandOutput>;
|
|
174
|
+
getSchemaAnalysisRule(args: GetSchemaAnalysisRuleCommandInput, cb: (err: any, data?: GetSchemaAnalysisRuleCommandOutput) => void): void;
|
|
175
|
+
getSchemaAnalysisRule(args: GetSchemaAnalysisRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSchemaAnalysisRuleCommandOutput) => void): void;
|
|
176
|
+
/**
|
|
177
|
+
* <p>Lists collaborations the caller owns, is active in, or has been invited to.</p>
|
|
178
|
+
*/
|
|
179
|
+
listCollaborations(args: ListCollaborationsCommandInput, options?: __HttpHandlerOptions): Promise<ListCollaborationsCommandOutput>;
|
|
180
|
+
listCollaborations(args: ListCollaborationsCommandInput, cb: (err: any, data?: ListCollaborationsCommandOutput) => void): void;
|
|
181
|
+
listCollaborations(args: ListCollaborationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCollaborationsCommandOutput) => void): void;
|
|
182
|
+
/**
|
|
183
|
+
* <p>Lists configured table associations for a membership.</p>
|
|
184
|
+
*/
|
|
185
|
+
listConfiguredTableAssociations(args: ListConfiguredTableAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListConfiguredTableAssociationsCommandOutput>;
|
|
186
|
+
listConfiguredTableAssociations(args: ListConfiguredTableAssociationsCommandInput, cb: (err: any, data?: ListConfiguredTableAssociationsCommandOutput) => void): void;
|
|
187
|
+
listConfiguredTableAssociations(args: ListConfiguredTableAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfiguredTableAssociationsCommandOutput) => void): void;
|
|
188
|
+
/**
|
|
189
|
+
* <p>Lists configured tables.</p>
|
|
190
|
+
*/
|
|
191
|
+
listConfiguredTables(args: ListConfiguredTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListConfiguredTablesCommandOutput>;
|
|
192
|
+
listConfiguredTables(args: ListConfiguredTablesCommandInput, cb: (err: any, data?: ListConfiguredTablesCommandOutput) => void): void;
|
|
193
|
+
listConfiguredTables(args: ListConfiguredTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfiguredTablesCommandOutput) => void): void;
|
|
194
|
+
/**
|
|
195
|
+
* <p>Lists all members within a collaboration.</p>
|
|
196
|
+
*/
|
|
197
|
+
listMembers(args: ListMembersCommandInput, options?: __HttpHandlerOptions): Promise<ListMembersCommandOutput>;
|
|
198
|
+
listMembers(args: ListMembersCommandInput, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
|
|
199
|
+
listMembers(args: ListMembersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMembersCommandOutput) => void): void;
|
|
200
|
+
/**
|
|
201
|
+
* <p>Lists all memberships resources within the caller's account.</p>
|
|
202
|
+
*/
|
|
203
|
+
listMemberships(args: ListMembershipsCommandInput, options?: __HttpHandlerOptions): Promise<ListMembershipsCommandOutput>;
|
|
204
|
+
listMemberships(args: ListMembershipsCommandInput, cb: (err: any, data?: ListMembershipsCommandOutput) => void): void;
|
|
205
|
+
listMemberships(args: ListMembershipsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListMembershipsCommandOutput) => void): void;
|
|
206
|
+
/**
|
|
207
|
+
* <p>Lists protected queries, sorted by the most recent query.</p>
|
|
208
|
+
*/
|
|
209
|
+
listProtectedQueries(args: ListProtectedQueriesCommandInput, options?: __HttpHandlerOptions): Promise<ListProtectedQueriesCommandOutput>;
|
|
210
|
+
listProtectedQueries(args: ListProtectedQueriesCommandInput, cb: (err: any, data?: ListProtectedQueriesCommandOutput) => void): void;
|
|
211
|
+
listProtectedQueries(args: ListProtectedQueriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProtectedQueriesCommandOutput) => void): void;
|
|
212
|
+
/**
|
|
213
|
+
* <p>Lists the schemas for relations within a collaboration.</p>
|
|
214
|
+
*/
|
|
215
|
+
listSchemas(args: ListSchemasCommandInput, options?: __HttpHandlerOptions): Promise<ListSchemasCommandOutput>;
|
|
216
|
+
listSchemas(args: ListSchemasCommandInput, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
|
|
217
|
+
listSchemas(args: ListSchemasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSchemasCommandOutput) => void): void;
|
|
218
|
+
/**
|
|
219
|
+
* <p>Creates a protected query that is started by AWS Clean Rooms.</p>
|
|
220
|
+
*/
|
|
221
|
+
startProtectedQuery(args: StartProtectedQueryCommandInput, options?: __HttpHandlerOptions): Promise<StartProtectedQueryCommandOutput>;
|
|
222
|
+
startProtectedQuery(args: StartProtectedQueryCommandInput, cb: (err: any, data?: StartProtectedQueryCommandOutput) => void): void;
|
|
223
|
+
startProtectedQuery(args: StartProtectedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartProtectedQueryCommandOutput) => void): void;
|
|
224
|
+
/**
|
|
225
|
+
* <p>Updates collaboration metadata and can only be called by the collaboration owner.</p>
|
|
226
|
+
*/
|
|
227
|
+
updateCollaboration(args: UpdateCollaborationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCollaborationCommandOutput>;
|
|
228
|
+
updateCollaboration(args: UpdateCollaborationCommandInput, cb: (err: any, data?: UpdateCollaborationCommandOutput) => void): void;
|
|
229
|
+
updateCollaboration(args: UpdateCollaborationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCollaborationCommandOutput) => void): void;
|
|
230
|
+
/**
|
|
231
|
+
* <p>Updates a configured table.</p>
|
|
232
|
+
*/
|
|
233
|
+
updateConfiguredTable(args: UpdateConfiguredTableCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfiguredTableCommandOutput>;
|
|
234
|
+
updateConfiguredTable(args: UpdateConfiguredTableCommandInput, cb: (err: any, data?: UpdateConfiguredTableCommandOutput) => void): void;
|
|
235
|
+
updateConfiguredTable(args: UpdateConfiguredTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfiguredTableCommandOutput) => void): void;
|
|
236
|
+
/**
|
|
237
|
+
* <p>Updates a configured table analysis rule.</p>
|
|
238
|
+
*/
|
|
239
|
+
updateConfiguredTableAnalysisRule(args: UpdateConfiguredTableAnalysisRuleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfiguredTableAnalysisRuleCommandOutput>;
|
|
240
|
+
updateConfiguredTableAnalysisRule(args: UpdateConfiguredTableAnalysisRuleCommandInput, cb: (err: any, data?: UpdateConfiguredTableAnalysisRuleCommandOutput) => void): void;
|
|
241
|
+
updateConfiguredTableAnalysisRule(args: UpdateConfiguredTableAnalysisRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfiguredTableAnalysisRuleCommandOutput) => void): void;
|
|
242
|
+
/**
|
|
243
|
+
* <p>Updates a configured table association.</p>
|
|
244
|
+
*/
|
|
245
|
+
updateConfiguredTableAssociation(args: UpdateConfiguredTableAssociationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfiguredTableAssociationCommandOutput>;
|
|
246
|
+
updateConfiguredTableAssociation(args: UpdateConfiguredTableAssociationCommandInput, cb: (err: any, data?: UpdateConfiguredTableAssociationCommandOutput) => void): void;
|
|
247
|
+
updateConfiguredTableAssociation(args: UpdateConfiguredTableAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfiguredTableAssociationCommandOutput) => void): void;
|
|
248
|
+
/**
|
|
249
|
+
* <p>Updates a membership.</p>
|
|
250
|
+
*/
|
|
251
|
+
updateMembership(args: UpdateMembershipCommandInput, options?: __HttpHandlerOptions): Promise<UpdateMembershipCommandOutput>;
|
|
252
|
+
updateMembership(args: UpdateMembershipCommandInput, cb: (err: any, data?: UpdateMembershipCommandOutput) => void): void;
|
|
253
|
+
updateMembership(args: UpdateMembershipCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMembershipCommandOutput) => void): void;
|
|
254
|
+
/**
|
|
255
|
+
* <p>Updates the processing of a currently running query.</p>
|
|
256
|
+
*/
|
|
257
|
+
updateProtectedQuery(args: UpdateProtectedQueryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProtectedQueryCommandOutput>;
|
|
258
|
+
updateProtectedQuery(args: UpdateProtectedQueryCommandInput, cb: (err: any, data?: UpdateProtectedQueryCommandOutput) => void): void;
|
|
259
|
+
updateProtectedQuery(args: UpdateProtectedQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProtectedQueryCommandOutput) => void): void;
|
|
260
|
+
}
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
4
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
|
+
import { BatchGetSchemaCommandInput, BatchGetSchemaCommandOutput } from "./commands/BatchGetSchemaCommand";
|
|
11
|
+
import { CreateCollaborationCommandInput, CreateCollaborationCommandOutput } from "./commands/CreateCollaborationCommand";
|
|
12
|
+
import { CreateConfiguredTableAnalysisRuleCommandInput, CreateConfiguredTableAnalysisRuleCommandOutput } from "./commands/CreateConfiguredTableAnalysisRuleCommand";
|
|
13
|
+
import { CreateConfiguredTableAssociationCommandInput, CreateConfiguredTableAssociationCommandOutput } from "./commands/CreateConfiguredTableAssociationCommand";
|
|
14
|
+
import { CreateConfiguredTableCommandInput, CreateConfiguredTableCommandOutput } from "./commands/CreateConfiguredTableCommand";
|
|
15
|
+
import { CreateMembershipCommandInput, CreateMembershipCommandOutput } from "./commands/CreateMembershipCommand";
|
|
16
|
+
import { DeleteCollaborationCommandInput, DeleteCollaborationCommandOutput } from "./commands/DeleteCollaborationCommand";
|
|
17
|
+
import { DeleteConfiguredTableAnalysisRuleCommandInput, DeleteConfiguredTableAnalysisRuleCommandOutput } from "./commands/DeleteConfiguredTableAnalysisRuleCommand";
|
|
18
|
+
import { DeleteConfiguredTableAssociationCommandInput, DeleteConfiguredTableAssociationCommandOutput } from "./commands/DeleteConfiguredTableAssociationCommand";
|
|
19
|
+
import { DeleteConfiguredTableCommandInput, DeleteConfiguredTableCommandOutput } from "./commands/DeleteConfiguredTableCommand";
|
|
20
|
+
import { DeleteMemberCommandInput, DeleteMemberCommandOutput } from "./commands/DeleteMemberCommand";
|
|
21
|
+
import { DeleteMembershipCommandInput, DeleteMembershipCommandOutput } from "./commands/DeleteMembershipCommand";
|
|
22
|
+
import { GetCollaborationCommandInput, GetCollaborationCommandOutput } from "./commands/GetCollaborationCommand";
|
|
23
|
+
import { GetConfiguredTableAnalysisRuleCommandInput, GetConfiguredTableAnalysisRuleCommandOutput } from "./commands/GetConfiguredTableAnalysisRuleCommand";
|
|
24
|
+
import { GetConfiguredTableAssociationCommandInput, GetConfiguredTableAssociationCommandOutput } from "./commands/GetConfiguredTableAssociationCommand";
|
|
25
|
+
import { GetConfiguredTableCommandInput, GetConfiguredTableCommandOutput } from "./commands/GetConfiguredTableCommand";
|
|
26
|
+
import { GetMembershipCommandInput, GetMembershipCommandOutput } from "./commands/GetMembershipCommand";
|
|
27
|
+
import { GetProtectedQueryCommandInput, GetProtectedQueryCommandOutput } from "./commands/GetProtectedQueryCommand";
|
|
28
|
+
import { GetSchemaAnalysisRuleCommandInput, GetSchemaAnalysisRuleCommandOutput } from "./commands/GetSchemaAnalysisRuleCommand";
|
|
29
|
+
import { GetSchemaCommandInput, GetSchemaCommandOutput } from "./commands/GetSchemaCommand";
|
|
30
|
+
import { ListCollaborationsCommandInput, ListCollaborationsCommandOutput } from "./commands/ListCollaborationsCommand";
|
|
31
|
+
import { ListConfiguredTableAssociationsCommandInput, ListConfiguredTableAssociationsCommandOutput } from "./commands/ListConfiguredTableAssociationsCommand";
|
|
32
|
+
import { ListConfiguredTablesCommandInput, ListConfiguredTablesCommandOutput } from "./commands/ListConfiguredTablesCommand";
|
|
33
|
+
import { ListMembersCommandInput, ListMembersCommandOutput } from "./commands/ListMembersCommand";
|
|
34
|
+
import { ListMembershipsCommandInput, ListMembershipsCommandOutput } from "./commands/ListMembershipsCommand";
|
|
35
|
+
import { ListProtectedQueriesCommandInput, ListProtectedQueriesCommandOutput } from "./commands/ListProtectedQueriesCommand";
|
|
36
|
+
import { ListSchemasCommandInput, ListSchemasCommandOutput } from "./commands/ListSchemasCommand";
|
|
37
|
+
import { StartProtectedQueryCommandInput, StartProtectedQueryCommandOutput } from "./commands/StartProtectedQueryCommand";
|
|
38
|
+
import { UpdateCollaborationCommandInput, UpdateCollaborationCommandOutput } from "./commands/UpdateCollaborationCommand";
|
|
39
|
+
import { UpdateConfiguredTableAnalysisRuleCommandInput, UpdateConfiguredTableAnalysisRuleCommandOutput } from "./commands/UpdateConfiguredTableAnalysisRuleCommand";
|
|
40
|
+
import { UpdateConfiguredTableAssociationCommandInput, UpdateConfiguredTableAssociationCommandOutput } from "./commands/UpdateConfiguredTableAssociationCommand";
|
|
41
|
+
import { UpdateConfiguredTableCommandInput, UpdateConfiguredTableCommandOutput } from "./commands/UpdateConfiguredTableCommand";
|
|
42
|
+
import { UpdateMembershipCommandInput, UpdateMembershipCommandOutput } from "./commands/UpdateMembershipCommand";
|
|
43
|
+
import { UpdateProtectedQueryCommandInput, UpdateProtectedQueryCommandOutput } from "./commands/UpdateProtectedQueryCommand";
|
|
44
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
45
|
+
export declare type ServiceInputTypes = BatchGetSchemaCommandInput | CreateCollaborationCommandInput | CreateConfiguredTableAnalysisRuleCommandInput | CreateConfiguredTableAssociationCommandInput | CreateConfiguredTableCommandInput | CreateMembershipCommandInput | DeleteCollaborationCommandInput | DeleteConfiguredTableAnalysisRuleCommandInput | DeleteConfiguredTableAssociationCommandInput | DeleteConfiguredTableCommandInput | DeleteMemberCommandInput | DeleteMembershipCommandInput | GetCollaborationCommandInput | GetConfiguredTableAnalysisRuleCommandInput | GetConfiguredTableAssociationCommandInput | GetConfiguredTableCommandInput | GetMembershipCommandInput | GetProtectedQueryCommandInput | GetSchemaAnalysisRuleCommandInput | GetSchemaCommandInput | ListCollaborationsCommandInput | ListConfiguredTableAssociationsCommandInput | ListConfiguredTablesCommandInput | ListMembersCommandInput | ListMembershipsCommandInput | ListProtectedQueriesCommandInput | ListSchemasCommandInput | StartProtectedQueryCommandInput | UpdateCollaborationCommandInput | UpdateConfiguredTableAnalysisRuleCommandInput | UpdateConfiguredTableAssociationCommandInput | UpdateConfiguredTableCommandInput | UpdateMembershipCommandInput | UpdateProtectedQueryCommandInput;
|
|
46
|
+
export declare type ServiceOutputTypes = BatchGetSchemaCommandOutput | CreateCollaborationCommandOutput | CreateConfiguredTableAnalysisRuleCommandOutput | CreateConfiguredTableAssociationCommandOutput | CreateConfiguredTableCommandOutput | CreateMembershipCommandOutput | DeleteCollaborationCommandOutput | DeleteConfiguredTableAnalysisRuleCommandOutput | DeleteConfiguredTableAssociationCommandOutput | DeleteConfiguredTableCommandOutput | DeleteMemberCommandOutput | DeleteMembershipCommandOutput | GetCollaborationCommandOutput | GetConfiguredTableAnalysisRuleCommandOutput | GetConfiguredTableAssociationCommandOutput | GetConfiguredTableCommandOutput | GetMembershipCommandOutput | GetProtectedQueryCommandOutput | GetSchemaAnalysisRuleCommandOutput | GetSchemaCommandOutput | ListCollaborationsCommandOutput | ListConfiguredTableAssociationsCommandOutput | ListConfiguredTablesCommandOutput | ListMembersCommandOutput | ListMembershipsCommandOutput | ListProtectedQueriesCommandOutput | ListSchemasCommandOutput | StartProtectedQueryCommandOutput | UpdateCollaborationCommandOutput | UpdateConfiguredTableAnalysisRuleCommandOutput | UpdateConfiguredTableAssociationCommandOutput | UpdateConfiguredTableCommandOutput | UpdateMembershipCommandOutput | UpdateProtectedQueryCommandOutput;
|
|
47
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
48
|
+
/**
|
|
49
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
50
|
+
*/
|
|
51
|
+
requestHandler?: __HttpHandler;
|
|
52
|
+
/**
|
|
53
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
54
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
sha256?: __HashConstructor;
|
|
58
|
+
/**
|
|
59
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
urlParser?: __UrlParser;
|
|
63
|
+
/**
|
|
64
|
+
* A function that can calculate the length of a request body.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
68
|
+
/**
|
|
69
|
+
* A function that converts a stream into an array of bytes.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
streamCollector?: __StreamCollector;
|
|
73
|
+
/**
|
|
74
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
base64Decoder?: __Decoder;
|
|
78
|
+
/**
|
|
79
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
base64Encoder?: __Encoder;
|
|
83
|
+
/**
|
|
84
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
utf8Decoder?: __Decoder;
|
|
88
|
+
/**
|
|
89
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
utf8Encoder?: __Encoder;
|
|
93
|
+
/**
|
|
94
|
+
* The runtime environment.
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
runtime?: string;
|
|
98
|
+
/**
|
|
99
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
100
|
+
* trait of an operation.
|
|
101
|
+
*/
|
|
102
|
+
disableHostPrefix?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
105
|
+
*/
|
|
106
|
+
maxAttempts?: number | __Provider<number>;
|
|
107
|
+
/**
|
|
108
|
+
* Specifies which retry algorithm to use.
|
|
109
|
+
*/
|
|
110
|
+
retryMode?: string | __Provider<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Optional logger for logging debug/info/warn/error.
|
|
113
|
+
*/
|
|
114
|
+
logger?: __Logger;
|
|
115
|
+
/**
|
|
116
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
117
|
+
*/
|
|
118
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
119
|
+
/**
|
|
120
|
+
* Enables FIPS compatible endpoints.
|
|
121
|
+
*/
|
|
122
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
123
|
+
/**
|
|
124
|
+
* Unique service identifier.
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
serviceId?: string;
|
|
128
|
+
/**
|
|
129
|
+
* The AWS region to which this client will send requests
|
|
130
|
+
*/
|
|
131
|
+
region?: string | __Provider<string>;
|
|
132
|
+
/**
|
|
133
|
+
* Default credentials provider; Not available in browser runtime.
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
137
|
+
/**
|
|
138
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
139
|
+
* @internal
|
|
140
|
+
*/
|
|
141
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
142
|
+
/**
|
|
143
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
144
|
+
*/
|
|
145
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
146
|
+
}
|
|
147
|
+
declare type CleanRoomsClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
148
|
+
/**
|
|
149
|
+
* The configuration interface of CleanRoomsClient class constructor that set the region, credentials and other options.
|
|
150
|
+
*/
|
|
151
|
+
export interface CleanRoomsClientConfig extends CleanRoomsClientConfigType {
|
|
152
|
+
}
|
|
153
|
+
declare type CleanRoomsClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
154
|
+
/**
|
|
155
|
+
* The resolved configuration interface of CleanRoomsClient class. This is resolved and normalized from the {@link CleanRoomsClientConfig | constructor configuration interface}.
|
|
156
|
+
*/
|
|
157
|
+
export interface CleanRoomsClientResolvedConfig extends CleanRoomsClientResolvedConfigType {
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* <note>
|
|
161
|
+
* <p>AWS Clean Rooms is in preview release and is subject to change.</p>
|
|
162
|
+
* </note>
|
|
163
|
+
* <p>Welcome to the <i>AWS Clean Rooms API Reference</i>.</p>
|
|
164
|
+
* <p>AWS Clean Rooms is an AWS service that helps multiple parties to join their data
|
|
165
|
+
* together in a secure collaboration workspace. In the collaboration, members who can query
|
|
166
|
+
* and receive results can get insights into the combined data without either party getting
|
|
167
|
+
* access to the other party's raw data.</p>
|
|
168
|
+
* <p>To learn more about AWS Clean Rooms concepts, procedures, and best practices, see the
|
|
169
|
+
* <a href="https://docs.aws.amazon.com/clean-rooms/latest/userguide/what-is.html">AWS Clean
|
|
170
|
+
* Rooms User Guide</a>.</p>
|
|
171
|
+
*/
|
|
172
|
+
export declare class CleanRoomsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CleanRoomsClientResolvedConfig> {
|
|
173
|
+
/**
|
|
174
|
+
* The resolved configuration of CleanRoomsClient class. This is resolved and normalized from the {@link CleanRoomsClientConfig | constructor configuration interface}.
|
|
175
|
+
*/
|
|
176
|
+
readonly config: CleanRoomsClientResolvedConfig;
|
|
177
|
+
constructor(configuration: CleanRoomsClientConfig);
|
|
178
|
+
/**
|
|
179
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
180
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
181
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
182
|
+
*/
|
|
183
|
+
destroy(): void;
|
|
184
|
+
}
|
|
185
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CleanRoomsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CleanRoomsClient";
|
|
5
|
+
import { BatchGetSchemaInput, BatchGetSchemaOutput } from "../models/models_0";
|
|
6
|
+
export interface BatchGetSchemaCommandInput extends BatchGetSchemaInput {
|
|
7
|
+
}
|
|
8
|
+
export interface BatchGetSchemaCommandOutput extends BatchGetSchemaOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Retrieves multiple schemas by their identifiers.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { CleanRoomsClient, BatchGetSchemaCommand } from "@aws-sdk/client-cleanrooms"; // ES Modules import
|
|
16
|
+
* // const { CleanRoomsClient, BatchGetSchemaCommand } = require("@aws-sdk/client-cleanrooms"); // CommonJS import
|
|
17
|
+
* const client = new CleanRoomsClient(config);
|
|
18
|
+
* const command = new BatchGetSchemaCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link BatchGetSchemaCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link BatchGetSchemaCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link CleanRoomsClientResolvedConfig | config} for CleanRoomsClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class BatchGetSchemaCommand extends $Command<BatchGetSchemaCommandInput, BatchGetSchemaCommandOutput, CleanRoomsClientResolvedConfig> {
|
|
28
|
+
readonly input: BatchGetSchemaCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: BatchGetSchemaCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CleanRoomsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetSchemaCommandInput, BatchGetSchemaCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|