@aws-sdk/client-s3tables 3.705.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 +413 -0
- package/dist-cjs/S3Tables.js +63 -0
- package/dist-cjs/S3TablesClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateNamespaceCommand.js +26 -0
- package/dist-cjs/commands/CreateTableBucketCommand.js +26 -0
- package/dist-cjs/commands/CreateTableCommand.js +26 -0
- package/dist-cjs/commands/DeleteNamespaceCommand.js +26 -0
- package/dist-cjs/commands/DeleteTableBucketCommand.js +26 -0
- package/dist-cjs/commands/DeleteTableBucketPolicyCommand.js +26 -0
- package/dist-cjs/commands/DeleteTableCommand.js +26 -0
- package/dist-cjs/commands/DeleteTablePolicyCommand.js +26 -0
- package/dist-cjs/commands/GetNamespaceCommand.js +26 -0
- package/dist-cjs/commands/GetTableBucketCommand.js +26 -0
- package/dist-cjs/commands/GetTableBucketMaintenanceConfigurationCommand.js +26 -0
- package/dist-cjs/commands/GetTableBucketPolicyCommand.js +26 -0
- package/dist-cjs/commands/GetTableCommand.js +26 -0
- package/dist-cjs/commands/GetTableMaintenanceConfigurationCommand.js +26 -0
- package/dist-cjs/commands/GetTableMaintenanceJobStatusCommand.js +26 -0
- package/dist-cjs/commands/GetTableMetadataLocationCommand.js +26 -0
- package/dist-cjs/commands/GetTablePolicyCommand.js +26 -0
- package/dist-cjs/commands/ListNamespacesCommand.js +26 -0
- package/dist-cjs/commands/ListTableBucketsCommand.js +26 -0
- package/dist-cjs/commands/ListTablesCommand.js +26 -0
- package/dist-cjs/commands/PutTableBucketMaintenanceConfigurationCommand.js +26 -0
- package/dist-cjs/commands/PutTableBucketPolicyCommand.js +26 -0
- package/dist-cjs/commands/PutTableMaintenanceConfigurationCommand.js +26 -0
- package/dist-cjs/commands/PutTablePolicyCommand.js +26 -0
- package/dist-cjs/commands/RenameTableCommand.js +26 -0
- package/dist-cjs/commands/UpdateTableMetadataLocationCommand.js +26 -0
- package/dist-cjs/commands/index.js +29 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/S3TablesServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +142 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListNamespacesPaginator.js +7 -0
- package/dist-cjs/pagination/ListTableBucketsPaginator.js +7 -0
- package/dist-cjs/pagination/ListTablesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_restJson1.js +954 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/S3Tables.js +59 -0
- package/dist-es/S3TablesClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateNamespaceCommand.js +22 -0
- package/dist-es/commands/CreateTableBucketCommand.js +22 -0
- package/dist-es/commands/CreateTableCommand.js +22 -0
- package/dist-es/commands/DeleteNamespaceCommand.js +22 -0
- package/dist-es/commands/DeleteTableBucketCommand.js +22 -0
- package/dist-es/commands/DeleteTableBucketPolicyCommand.js +22 -0
- package/dist-es/commands/DeleteTableCommand.js +22 -0
- package/dist-es/commands/DeleteTablePolicyCommand.js +22 -0
- package/dist-es/commands/GetNamespaceCommand.js +22 -0
- package/dist-es/commands/GetTableBucketCommand.js +22 -0
- package/dist-es/commands/GetTableBucketMaintenanceConfigurationCommand.js +22 -0
- package/dist-es/commands/GetTableBucketPolicyCommand.js +22 -0
- package/dist-es/commands/GetTableCommand.js +22 -0
- package/dist-es/commands/GetTableMaintenanceConfigurationCommand.js +22 -0
- package/dist-es/commands/GetTableMaintenanceJobStatusCommand.js +22 -0
- package/dist-es/commands/GetTableMetadataLocationCommand.js +22 -0
- package/dist-es/commands/GetTablePolicyCommand.js +22 -0
- package/dist-es/commands/ListNamespacesCommand.js +22 -0
- package/dist-es/commands/ListTableBucketsCommand.js +22 -0
- package/dist-es/commands/ListTablesCommand.js +22 -0
- package/dist-es/commands/PutTableBucketMaintenanceConfigurationCommand.js +22 -0
- package/dist-es/commands/PutTableBucketPolicyCommand.js +22 -0
- package/dist-es/commands/PutTableMaintenanceConfigurationCommand.js +22 -0
- package/dist-es/commands/PutTablePolicyCommand.js +22 -0
- package/dist-es/commands/RenameTableCommand.js +22 -0
- package/dist-es/commands/UpdateTableMetadataLocationCommand.js +22 -0
- package/dist-es/commands/index.js +26 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/S3TablesServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +132 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListNamespacesPaginator.js +4 -0
- package/dist-es/pagination/ListTableBucketsPaginator.js +4 -0
- package/dist-es/pagination/ListTablesPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +898 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/S3Tables.d.ts +193 -0
- package/dist-types/S3TablesClient.d.ts +195 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateNamespaceCommand.d.ts +96 -0
- package/dist-types/commands/CreateTableBucketCommand.d.ts +90 -0
- package/dist-types/commands/CreateTableCommand.d.ts +94 -0
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +89 -0
- package/dist-types/commands/DeleteTableBucketCommand.d.ts +88 -0
- package/dist-types/commands/DeleteTableBucketPolicyCommand.d.ts +88 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +91 -0
- package/dist-types/commands/DeleteTablePolicyCommand.d.ts +90 -0
- package/dist-types/commands/GetNamespaceCommand.d.ts +99 -0
- package/dist-types/commands/GetTableBucketCommand.d.ts +96 -0
- package/dist-types/commands/GetTableBucketMaintenanceConfigurationCommand.d.ts +101 -0
- package/dist-types/commands/GetTableBucketPolicyCommand.d.ts +90 -0
- package/dist-types/commands/GetTableCommand.d.ts +110 -0
- package/dist-types/commands/GetTableMaintenanceConfigurationCommand.d.ts +106 -0
- package/dist-types/commands/GetTableMaintenanceJobStatusCommand.d.ts +99 -0
- package/dist-types/commands/GetTableMetadataLocationCommand.d.ts +94 -0
- package/dist-types/commands/GetTablePolicyCommand.d.ts +92 -0
- package/dist-types/commands/ListNamespacesCommand.d.ts +106 -0
- package/dist-types/commands/ListTableBucketsCommand.d.ts +103 -0
- package/dist-types/commands/ListTablesCommand.d.ts +106 -0
- package/dist-types/commands/PutTableBucketMaintenanceConfigurationCommand.d.ts +99 -0
- package/dist-types/commands/PutTableBucketPolicyCommand.d.ts +90 -0
- package/dist-types/commands/PutTableMaintenanceConfigurationCommand.d.ts +104 -0
- package/dist-types/commands/PutTablePolicyCommand.d.ts +92 -0
- package/dist-types/commands/RenameTableCommand.d.ts +93 -0
- package/dist-types/commands/UpdateTableMetadataLocationCommand.d.ts +100 -0
- package/dist-types/commands/index.d.ts +26 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/S3TablesServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1280 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListNamespacesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTableBucketsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTablesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +236 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/S3Tables.d.ts +460 -0
- package/dist-types/ts3.4/S3TablesClient.d.ts +274 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateNamespaceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateTableBucketCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteNamespaceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeleteTableBucketCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteTableBucketPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeleteTablePolicyCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetNamespaceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetTableBucketCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetTableBucketMaintenanceConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableBucketPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetTableMaintenanceConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableMaintenanceJobStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableMetadataLocationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTablePolicyCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListNamespacesCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTableBucketsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/PutTableBucketMaintenanceConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/PutTableBucketPolicyCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/PutTableMaintenanceConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/PutTablePolicyCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/RenameTableCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateTableMetadataLocationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -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/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/S3TablesServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +399 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListNamespacesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTableBucketsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +317 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +87 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +101 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
|
+
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
8
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
|
+
export const getRuntimeConfig = (config) => {
|
|
13
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
15
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
16
|
+
return {
|
|
17
|
+
...clientSharedValues,
|
|
18
|
+
...config,
|
|
19
|
+
runtime: "browser",
|
|
20
|
+
defaultsMode,
|
|
21
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
22
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
23
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
24
|
+
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
25
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
26
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
27
|
+
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
28
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
29
|
+
sha256: config?.sha256 ?? Sha256,
|
|
30
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
31
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
32
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
33
|
+
};
|
|
34
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
|
+
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
|
+
import { NODE_APP_ID_CONFIG_OPTIONS, createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-node";
|
|
5
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
|
+
import { Hash } from "@smithy/hash-node";
|
|
7
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
|
+
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
11
|
+
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
|
|
16
|
+
export const getRuntimeConfig = (config) => {
|
|
17
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
18
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
19
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
|
+
awsCheckVersion(process.version);
|
|
22
|
+
return {
|
|
23
|
+
...clientSharedValues,
|
|
24
|
+
...config,
|
|
25
|
+
runtime: "node",
|
|
26
|
+
defaultsMode,
|
|
27
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
|
+
createDefaultUserAgentProvider({ 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: RequestHandler.create(config?.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
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -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,30 @@
|
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
|
+
import { parseUrl } from "@smithy/url-parser";
|
|
4
|
+
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
5
|
+
import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
|
|
6
|
+
import { defaultS3TablesHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
|
|
7
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
8
|
+
export const getRuntimeConfig = (config) => {
|
|
9
|
+
return {
|
|
10
|
+
apiVersion: "2018-05-10",
|
|
11
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
12
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
13
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
14
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
15
|
+
extensions: config?.extensions ?? [],
|
|
16
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultS3TablesHttpAuthSchemeProvider,
|
|
17
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
18
|
+
{
|
|
19
|
+
schemeId: "aws.auth#sigv4",
|
|
20
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
21
|
+
signer: new AwsSdkSigV4Signer(),
|
|
22
|
+
},
|
|
23
|
+
],
|
|
24
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
25
|
+
serviceId: config?.serviceId ?? "S3Tables",
|
|
26
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
27
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
28
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, } from "@aws-sdk/region-config-resolver";
|
|
2
|
+
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
|
|
3
|
+
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
|
|
4
|
+
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
5
|
+
const asPartial = (t) => t;
|
|
6
|
+
export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
7
|
+
const extensionConfiguration = {
|
|
8
|
+
...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
|
|
9
|
+
...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
|
|
10
|
+
...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
|
|
11
|
+
...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
|
|
12
|
+
};
|
|
13
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
14
|
+
return {
|
|
15
|
+
...runtimeConfig,
|
|
16
|
+
...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
|
|
17
|
+
...resolveDefaultRuntimeConfig(extensionConfiguration),
|
|
18
|
+
...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
|
|
19
|
+
...resolveHttpAuthRuntimeConfig(extensionConfiguration),
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { CreateNamespaceCommandInput, CreateNamespaceCommandOutput } from "./commands/CreateNamespaceCommand";
|
|
3
|
+
import { CreateTableBucketCommandInput, CreateTableBucketCommandOutput } from "./commands/CreateTableBucketCommand";
|
|
4
|
+
import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
5
|
+
import { DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput } from "./commands/DeleteNamespaceCommand";
|
|
6
|
+
import { DeleteTableBucketCommandInput, DeleteTableBucketCommandOutput } from "./commands/DeleteTableBucketCommand";
|
|
7
|
+
import { DeleteTableBucketPolicyCommandInput, DeleteTableBucketPolicyCommandOutput } from "./commands/DeleteTableBucketPolicyCommand";
|
|
8
|
+
import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
|
|
9
|
+
import { DeleteTablePolicyCommandInput, DeleteTablePolicyCommandOutput } from "./commands/DeleteTablePolicyCommand";
|
|
10
|
+
import { GetNamespaceCommandInput, GetNamespaceCommandOutput } from "./commands/GetNamespaceCommand";
|
|
11
|
+
import { GetTableBucketCommandInput, GetTableBucketCommandOutput } from "./commands/GetTableBucketCommand";
|
|
12
|
+
import { GetTableBucketMaintenanceConfigurationCommandInput, GetTableBucketMaintenanceConfigurationCommandOutput } from "./commands/GetTableBucketMaintenanceConfigurationCommand";
|
|
13
|
+
import { GetTableBucketPolicyCommandInput, GetTableBucketPolicyCommandOutput } from "./commands/GetTableBucketPolicyCommand";
|
|
14
|
+
import { GetTableCommandInput, GetTableCommandOutput } from "./commands/GetTableCommand";
|
|
15
|
+
import { GetTableMaintenanceConfigurationCommandInput, GetTableMaintenanceConfigurationCommandOutput } from "./commands/GetTableMaintenanceConfigurationCommand";
|
|
16
|
+
import { GetTableMaintenanceJobStatusCommandInput, GetTableMaintenanceJobStatusCommandOutput } from "./commands/GetTableMaintenanceJobStatusCommand";
|
|
17
|
+
import { GetTableMetadataLocationCommandInput, GetTableMetadataLocationCommandOutput } from "./commands/GetTableMetadataLocationCommand";
|
|
18
|
+
import { GetTablePolicyCommandInput, GetTablePolicyCommandOutput } from "./commands/GetTablePolicyCommand";
|
|
19
|
+
import { ListNamespacesCommandInput, ListNamespacesCommandOutput } from "./commands/ListNamespacesCommand";
|
|
20
|
+
import { ListTableBucketsCommandInput, ListTableBucketsCommandOutput } from "./commands/ListTableBucketsCommand";
|
|
21
|
+
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
22
|
+
import { PutTableBucketMaintenanceConfigurationCommandInput, PutTableBucketMaintenanceConfigurationCommandOutput } from "./commands/PutTableBucketMaintenanceConfigurationCommand";
|
|
23
|
+
import { PutTableBucketPolicyCommandInput, PutTableBucketPolicyCommandOutput } from "./commands/PutTableBucketPolicyCommand";
|
|
24
|
+
import { PutTableMaintenanceConfigurationCommandInput, PutTableMaintenanceConfigurationCommandOutput } from "./commands/PutTableMaintenanceConfigurationCommand";
|
|
25
|
+
import { PutTablePolicyCommandInput, PutTablePolicyCommandOutput } from "./commands/PutTablePolicyCommand";
|
|
26
|
+
import { RenameTableCommandInput, RenameTableCommandOutput } from "./commands/RenameTableCommand";
|
|
27
|
+
import { UpdateTableMetadataLocationCommandInput, UpdateTableMetadataLocationCommandOutput } from "./commands/UpdateTableMetadataLocationCommand";
|
|
28
|
+
import { S3TablesClient } from "./S3TablesClient";
|
|
29
|
+
export interface S3Tables {
|
|
30
|
+
/**
|
|
31
|
+
* @see {@link CreateNamespaceCommand}
|
|
32
|
+
*/
|
|
33
|
+
createNamespace(args: CreateNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateNamespaceCommandOutput>;
|
|
34
|
+
createNamespace(args: CreateNamespaceCommandInput, cb: (err: any, data?: CreateNamespaceCommandOutput) => void): void;
|
|
35
|
+
createNamespace(args: CreateNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateNamespaceCommandOutput) => void): void;
|
|
36
|
+
/**
|
|
37
|
+
* @see {@link CreateTableCommand}
|
|
38
|
+
*/
|
|
39
|
+
createTable(args: CreateTableCommandInput, options?: __HttpHandlerOptions): Promise<CreateTableCommandOutput>;
|
|
40
|
+
createTable(args: CreateTableCommandInput, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
|
|
41
|
+
createTable(args: CreateTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
|
|
42
|
+
/**
|
|
43
|
+
* @see {@link CreateTableBucketCommand}
|
|
44
|
+
*/
|
|
45
|
+
createTableBucket(args: CreateTableBucketCommandInput, options?: __HttpHandlerOptions): Promise<CreateTableBucketCommandOutput>;
|
|
46
|
+
createTableBucket(args: CreateTableBucketCommandInput, cb: (err: any, data?: CreateTableBucketCommandOutput) => void): void;
|
|
47
|
+
createTableBucket(args: CreateTableBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTableBucketCommandOutput) => void): void;
|
|
48
|
+
/**
|
|
49
|
+
* @see {@link DeleteNamespaceCommand}
|
|
50
|
+
*/
|
|
51
|
+
deleteNamespace(args: DeleteNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNamespaceCommandOutput>;
|
|
52
|
+
deleteNamespace(args: DeleteNamespaceCommandInput, cb: (err: any, data?: DeleteNamespaceCommandOutput) => void): void;
|
|
53
|
+
deleteNamespace(args: DeleteNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNamespaceCommandOutput) => void): void;
|
|
54
|
+
/**
|
|
55
|
+
* @see {@link DeleteTableCommand}
|
|
56
|
+
*/
|
|
57
|
+
deleteTable(args: DeleteTableCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTableCommandOutput>;
|
|
58
|
+
deleteTable(args: DeleteTableCommandInput, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
|
|
59
|
+
deleteTable(args: DeleteTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
|
|
60
|
+
/**
|
|
61
|
+
* @see {@link DeleteTableBucketCommand}
|
|
62
|
+
*/
|
|
63
|
+
deleteTableBucket(args: DeleteTableBucketCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTableBucketCommandOutput>;
|
|
64
|
+
deleteTableBucket(args: DeleteTableBucketCommandInput, cb: (err: any, data?: DeleteTableBucketCommandOutput) => void): void;
|
|
65
|
+
deleteTableBucket(args: DeleteTableBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTableBucketCommandOutput) => void): void;
|
|
66
|
+
/**
|
|
67
|
+
* @see {@link DeleteTableBucketPolicyCommand}
|
|
68
|
+
*/
|
|
69
|
+
deleteTableBucketPolicy(args: DeleteTableBucketPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTableBucketPolicyCommandOutput>;
|
|
70
|
+
deleteTableBucketPolicy(args: DeleteTableBucketPolicyCommandInput, cb: (err: any, data?: DeleteTableBucketPolicyCommandOutput) => void): void;
|
|
71
|
+
deleteTableBucketPolicy(args: DeleteTableBucketPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTableBucketPolicyCommandOutput) => void): void;
|
|
72
|
+
/**
|
|
73
|
+
* @see {@link DeleteTablePolicyCommand}
|
|
74
|
+
*/
|
|
75
|
+
deleteTablePolicy(args: DeleteTablePolicyCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTablePolicyCommandOutput>;
|
|
76
|
+
deleteTablePolicy(args: DeleteTablePolicyCommandInput, cb: (err: any, data?: DeleteTablePolicyCommandOutput) => void): void;
|
|
77
|
+
deleteTablePolicy(args: DeleteTablePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTablePolicyCommandOutput) => void): void;
|
|
78
|
+
/**
|
|
79
|
+
* @see {@link GetNamespaceCommand}
|
|
80
|
+
*/
|
|
81
|
+
getNamespace(args: GetNamespaceCommandInput, options?: __HttpHandlerOptions): Promise<GetNamespaceCommandOutput>;
|
|
82
|
+
getNamespace(args: GetNamespaceCommandInput, cb: (err: any, data?: GetNamespaceCommandOutput) => void): void;
|
|
83
|
+
getNamespace(args: GetNamespaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetNamespaceCommandOutput) => void): void;
|
|
84
|
+
/**
|
|
85
|
+
* @see {@link GetTableCommand}
|
|
86
|
+
*/
|
|
87
|
+
getTable(args: GetTableCommandInput, options?: __HttpHandlerOptions): Promise<GetTableCommandOutput>;
|
|
88
|
+
getTable(args: GetTableCommandInput, cb: (err: any, data?: GetTableCommandOutput) => void): void;
|
|
89
|
+
getTable(args: GetTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableCommandOutput) => void): void;
|
|
90
|
+
/**
|
|
91
|
+
* @see {@link GetTableBucketCommand}
|
|
92
|
+
*/
|
|
93
|
+
getTableBucket(args: GetTableBucketCommandInput, options?: __HttpHandlerOptions): Promise<GetTableBucketCommandOutput>;
|
|
94
|
+
getTableBucket(args: GetTableBucketCommandInput, cb: (err: any, data?: GetTableBucketCommandOutput) => void): void;
|
|
95
|
+
getTableBucket(args: GetTableBucketCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableBucketCommandOutput) => void): void;
|
|
96
|
+
/**
|
|
97
|
+
* @see {@link GetTableBucketMaintenanceConfigurationCommand}
|
|
98
|
+
*/
|
|
99
|
+
getTableBucketMaintenanceConfiguration(args: GetTableBucketMaintenanceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetTableBucketMaintenanceConfigurationCommandOutput>;
|
|
100
|
+
getTableBucketMaintenanceConfiguration(args: GetTableBucketMaintenanceConfigurationCommandInput, cb: (err: any, data?: GetTableBucketMaintenanceConfigurationCommandOutput) => void): void;
|
|
101
|
+
getTableBucketMaintenanceConfiguration(args: GetTableBucketMaintenanceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableBucketMaintenanceConfigurationCommandOutput) => void): void;
|
|
102
|
+
/**
|
|
103
|
+
* @see {@link GetTableBucketPolicyCommand}
|
|
104
|
+
*/
|
|
105
|
+
getTableBucketPolicy(args: GetTableBucketPolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetTableBucketPolicyCommandOutput>;
|
|
106
|
+
getTableBucketPolicy(args: GetTableBucketPolicyCommandInput, cb: (err: any, data?: GetTableBucketPolicyCommandOutput) => void): void;
|
|
107
|
+
getTableBucketPolicy(args: GetTableBucketPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableBucketPolicyCommandOutput) => void): void;
|
|
108
|
+
/**
|
|
109
|
+
* @see {@link GetTableMaintenanceConfigurationCommand}
|
|
110
|
+
*/
|
|
111
|
+
getTableMaintenanceConfiguration(args: GetTableMaintenanceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetTableMaintenanceConfigurationCommandOutput>;
|
|
112
|
+
getTableMaintenanceConfiguration(args: GetTableMaintenanceConfigurationCommandInput, cb: (err: any, data?: GetTableMaintenanceConfigurationCommandOutput) => void): void;
|
|
113
|
+
getTableMaintenanceConfiguration(args: GetTableMaintenanceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableMaintenanceConfigurationCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* @see {@link GetTableMaintenanceJobStatusCommand}
|
|
116
|
+
*/
|
|
117
|
+
getTableMaintenanceJobStatus(args: GetTableMaintenanceJobStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetTableMaintenanceJobStatusCommandOutput>;
|
|
118
|
+
getTableMaintenanceJobStatus(args: GetTableMaintenanceJobStatusCommandInput, cb: (err: any, data?: GetTableMaintenanceJobStatusCommandOutput) => void): void;
|
|
119
|
+
getTableMaintenanceJobStatus(args: GetTableMaintenanceJobStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableMaintenanceJobStatusCommandOutput) => void): void;
|
|
120
|
+
/**
|
|
121
|
+
* @see {@link GetTableMetadataLocationCommand}
|
|
122
|
+
*/
|
|
123
|
+
getTableMetadataLocation(args: GetTableMetadataLocationCommandInput, options?: __HttpHandlerOptions): Promise<GetTableMetadataLocationCommandOutput>;
|
|
124
|
+
getTableMetadataLocation(args: GetTableMetadataLocationCommandInput, cb: (err: any, data?: GetTableMetadataLocationCommandOutput) => void): void;
|
|
125
|
+
getTableMetadataLocation(args: GetTableMetadataLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableMetadataLocationCommandOutput) => void): void;
|
|
126
|
+
/**
|
|
127
|
+
* @see {@link GetTablePolicyCommand}
|
|
128
|
+
*/
|
|
129
|
+
getTablePolicy(args: GetTablePolicyCommandInput, options?: __HttpHandlerOptions): Promise<GetTablePolicyCommandOutput>;
|
|
130
|
+
getTablePolicy(args: GetTablePolicyCommandInput, cb: (err: any, data?: GetTablePolicyCommandOutput) => void): void;
|
|
131
|
+
getTablePolicy(args: GetTablePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTablePolicyCommandOutput) => void): void;
|
|
132
|
+
/**
|
|
133
|
+
* @see {@link ListNamespacesCommand}
|
|
134
|
+
*/
|
|
135
|
+
listNamespaces(args: ListNamespacesCommandInput, options?: __HttpHandlerOptions): Promise<ListNamespacesCommandOutput>;
|
|
136
|
+
listNamespaces(args: ListNamespacesCommandInput, cb: (err: any, data?: ListNamespacesCommandOutput) => void): void;
|
|
137
|
+
listNamespaces(args: ListNamespacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNamespacesCommandOutput) => void): void;
|
|
138
|
+
/**
|
|
139
|
+
* @see {@link ListTableBucketsCommand}
|
|
140
|
+
*/
|
|
141
|
+
listTableBuckets(): Promise<ListTableBucketsCommandOutput>;
|
|
142
|
+
listTableBuckets(args: ListTableBucketsCommandInput, options?: __HttpHandlerOptions): Promise<ListTableBucketsCommandOutput>;
|
|
143
|
+
listTableBuckets(args: ListTableBucketsCommandInput, cb: (err: any, data?: ListTableBucketsCommandOutput) => void): void;
|
|
144
|
+
listTableBuckets(args: ListTableBucketsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTableBucketsCommandOutput) => void): void;
|
|
145
|
+
/**
|
|
146
|
+
* @see {@link ListTablesCommand}
|
|
147
|
+
*/
|
|
148
|
+
listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
|
|
149
|
+
listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
|
|
150
|
+
listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
|
|
151
|
+
/**
|
|
152
|
+
* @see {@link PutTableBucketMaintenanceConfigurationCommand}
|
|
153
|
+
*/
|
|
154
|
+
putTableBucketMaintenanceConfiguration(args: PutTableBucketMaintenanceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutTableBucketMaintenanceConfigurationCommandOutput>;
|
|
155
|
+
putTableBucketMaintenanceConfiguration(args: PutTableBucketMaintenanceConfigurationCommandInput, cb: (err: any, data?: PutTableBucketMaintenanceConfigurationCommandOutput) => void): void;
|
|
156
|
+
putTableBucketMaintenanceConfiguration(args: PutTableBucketMaintenanceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutTableBucketMaintenanceConfigurationCommandOutput) => void): void;
|
|
157
|
+
/**
|
|
158
|
+
* @see {@link PutTableBucketPolicyCommand}
|
|
159
|
+
*/
|
|
160
|
+
putTableBucketPolicy(args: PutTableBucketPolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutTableBucketPolicyCommandOutput>;
|
|
161
|
+
putTableBucketPolicy(args: PutTableBucketPolicyCommandInput, cb: (err: any, data?: PutTableBucketPolicyCommandOutput) => void): void;
|
|
162
|
+
putTableBucketPolicy(args: PutTableBucketPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutTableBucketPolicyCommandOutput) => void): void;
|
|
163
|
+
/**
|
|
164
|
+
* @see {@link PutTableMaintenanceConfigurationCommand}
|
|
165
|
+
*/
|
|
166
|
+
putTableMaintenanceConfiguration(args: PutTableMaintenanceConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutTableMaintenanceConfigurationCommandOutput>;
|
|
167
|
+
putTableMaintenanceConfiguration(args: PutTableMaintenanceConfigurationCommandInput, cb: (err: any, data?: PutTableMaintenanceConfigurationCommandOutput) => void): void;
|
|
168
|
+
putTableMaintenanceConfiguration(args: PutTableMaintenanceConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutTableMaintenanceConfigurationCommandOutput) => void): void;
|
|
169
|
+
/**
|
|
170
|
+
* @see {@link PutTablePolicyCommand}
|
|
171
|
+
*/
|
|
172
|
+
putTablePolicy(args: PutTablePolicyCommandInput, options?: __HttpHandlerOptions): Promise<PutTablePolicyCommandOutput>;
|
|
173
|
+
putTablePolicy(args: PutTablePolicyCommandInput, cb: (err: any, data?: PutTablePolicyCommandOutput) => void): void;
|
|
174
|
+
putTablePolicy(args: PutTablePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutTablePolicyCommandOutput) => void): void;
|
|
175
|
+
/**
|
|
176
|
+
* @see {@link RenameTableCommand}
|
|
177
|
+
*/
|
|
178
|
+
renameTable(args: RenameTableCommandInput, options?: __HttpHandlerOptions): Promise<RenameTableCommandOutput>;
|
|
179
|
+
renameTable(args: RenameTableCommandInput, cb: (err: any, data?: RenameTableCommandOutput) => void): void;
|
|
180
|
+
renameTable(args: RenameTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RenameTableCommandOutput) => void): void;
|
|
181
|
+
/**
|
|
182
|
+
* @see {@link UpdateTableMetadataLocationCommand}
|
|
183
|
+
*/
|
|
184
|
+
updateTableMetadataLocation(args: UpdateTableMetadataLocationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTableMetadataLocationCommandOutput>;
|
|
185
|
+
updateTableMetadataLocation(args: UpdateTableMetadataLocationCommandInput, cb: (err: any, data?: UpdateTableMetadataLocationCommandOutput) => void): void;
|
|
186
|
+
updateTableMetadataLocation(args: UpdateTableMetadataLocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTableMetadataLocationCommandOutput) => void): void;
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* <p>An Amazon S3 table represents a structured dataset consisting of tabular data in <a href="https://parquet.apache.org/docs/">Apache Parquet</a> format and related metadata. This data is stored inside an S3 table as a subresource. All tables in a table bucket are stored in the <a href="https://iceberg.apache.org/docs/latest/">Apache Iceberg</a> table format. Through integration with the <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/glue/latest/dg/catalog-and-crawler.html">AWS Glue Data Catalog</a> you can interact with your tables using AWS analytics services, such as <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/athena/">Amazon Athena</a> and <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/redshift/">Amazon Redshift</a>. Amazon S3 manages maintenance of your tables through automatic file compaction and snapshot management. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets.html">Amazon S3 table buckets</a>.</p>
|
|
190
|
+
* @public
|
|
191
|
+
*/
|
|
192
|
+
export declare class S3Tables extends S3TablesClient implements S3Tables {
|
|
193
|
+
}
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, 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 "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { CreateNamespaceCommandInput, CreateNamespaceCommandOutput } from "./commands/CreateNamespaceCommand";
|
|
11
|
+
import { CreateTableBucketCommandInput, CreateTableBucketCommandOutput } from "./commands/CreateTableBucketCommand";
|
|
12
|
+
import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
13
|
+
import { DeleteNamespaceCommandInput, DeleteNamespaceCommandOutput } from "./commands/DeleteNamespaceCommand";
|
|
14
|
+
import { DeleteTableBucketCommandInput, DeleteTableBucketCommandOutput } from "./commands/DeleteTableBucketCommand";
|
|
15
|
+
import { DeleteTableBucketPolicyCommandInput, DeleteTableBucketPolicyCommandOutput } from "./commands/DeleteTableBucketPolicyCommand";
|
|
16
|
+
import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
|
|
17
|
+
import { DeleteTablePolicyCommandInput, DeleteTablePolicyCommandOutput } from "./commands/DeleteTablePolicyCommand";
|
|
18
|
+
import { GetNamespaceCommandInput, GetNamespaceCommandOutput } from "./commands/GetNamespaceCommand";
|
|
19
|
+
import { GetTableBucketCommandInput, GetTableBucketCommandOutput } from "./commands/GetTableBucketCommand";
|
|
20
|
+
import { GetTableBucketMaintenanceConfigurationCommandInput, GetTableBucketMaintenanceConfigurationCommandOutput } from "./commands/GetTableBucketMaintenanceConfigurationCommand";
|
|
21
|
+
import { GetTableBucketPolicyCommandInput, GetTableBucketPolicyCommandOutput } from "./commands/GetTableBucketPolicyCommand";
|
|
22
|
+
import { GetTableCommandInput, GetTableCommandOutput } from "./commands/GetTableCommand";
|
|
23
|
+
import { GetTableMaintenanceConfigurationCommandInput, GetTableMaintenanceConfigurationCommandOutput } from "./commands/GetTableMaintenanceConfigurationCommand";
|
|
24
|
+
import { GetTableMaintenanceJobStatusCommandInput, GetTableMaintenanceJobStatusCommandOutput } from "./commands/GetTableMaintenanceJobStatusCommand";
|
|
25
|
+
import { GetTableMetadataLocationCommandInput, GetTableMetadataLocationCommandOutput } from "./commands/GetTableMetadataLocationCommand";
|
|
26
|
+
import { GetTablePolicyCommandInput, GetTablePolicyCommandOutput } from "./commands/GetTablePolicyCommand";
|
|
27
|
+
import { ListNamespacesCommandInput, ListNamespacesCommandOutput } from "./commands/ListNamespacesCommand";
|
|
28
|
+
import { ListTableBucketsCommandInput, ListTableBucketsCommandOutput } from "./commands/ListTableBucketsCommand";
|
|
29
|
+
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
30
|
+
import { PutTableBucketMaintenanceConfigurationCommandInput, PutTableBucketMaintenanceConfigurationCommandOutput } from "./commands/PutTableBucketMaintenanceConfigurationCommand";
|
|
31
|
+
import { PutTableBucketPolicyCommandInput, PutTableBucketPolicyCommandOutput } from "./commands/PutTableBucketPolicyCommand";
|
|
32
|
+
import { PutTableMaintenanceConfigurationCommandInput, PutTableMaintenanceConfigurationCommandOutput } from "./commands/PutTableMaintenanceConfigurationCommand";
|
|
33
|
+
import { PutTablePolicyCommandInput, PutTablePolicyCommandOutput } from "./commands/PutTablePolicyCommand";
|
|
34
|
+
import { RenameTableCommandInput, RenameTableCommandOutput } from "./commands/RenameTableCommand";
|
|
35
|
+
import { UpdateTableMetadataLocationCommandInput, UpdateTableMetadataLocationCommandOutput } from "./commands/UpdateTableMetadataLocationCommand";
|
|
36
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
37
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
38
|
+
export { __Client };
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export type ServiceInputTypes = CreateNamespaceCommandInput | CreateTableBucketCommandInput | CreateTableCommandInput | DeleteNamespaceCommandInput | DeleteTableBucketCommandInput | DeleteTableBucketPolicyCommandInput | DeleteTableCommandInput | DeleteTablePolicyCommandInput | GetNamespaceCommandInput | GetTableBucketCommandInput | GetTableBucketMaintenanceConfigurationCommandInput | GetTableBucketPolicyCommandInput | GetTableCommandInput | GetTableMaintenanceConfigurationCommandInput | GetTableMaintenanceJobStatusCommandInput | GetTableMetadataLocationCommandInput | GetTablePolicyCommandInput | ListNamespacesCommandInput | ListTableBucketsCommandInput | ListTablesCommandInput | PutTableBucketMaintenanceConfigurationCommandInput | PutTableBucketPolicyCommandInput | PutTableMaintenanceConfigurationCommandInput | PutTablePolicyCommandInput | RenameTableCommandInput | UpdateTableMetadataLocationCommandInput;
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export type ServiceOutputTypes = CreateNamespaceCommandOutput | CreateTableBucketCommandOutput | CreateTableCommandOutput | DeleteNamespaceCommandOutput | DeleteTableBucketCommandOutput | DeleteTableBucketPolicyCommandOutput | DeleteTableCommandOutput | DeleteTablePolicyCommandOutput | GetNamespaceCommandOutput | GetTableBucketCommandOutput | GetTableBucketMaintenanceConfigurationCommandOutput | GetTableBucketPolicyCommandOutput | GetTableCommandOutput | GetTableMaintenanceConfigurationCommandOutput | GetTableMaintenanceJobStatusCommandOutput | GetTableMetadataLocationCommandOutput | GetTablePolicyCommandOutput | ListNamespacesCommandOutput | ListTableBucketsCommandOutput | ListTablesCommandOutput | PutTableBucketMaintenanceConfigurationCommandOutput | PutTableBucketPolicyCommandOutput | PutTableMaintenanceConfigurationCommandOutput | PutTablePolicyCommandOutput | RenameTableCommandOutput | UpdateTableMetadataLocationCommandOutput;
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
51
|
+
/**
|
|
52
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
53
|
+
*/
|
|
54
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
55
|
+
/**
|
|
56
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
57
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
61
|
+
/**
|
|
62
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
urlParser?: __UrlParser;
|
|
66
|
+
/**
|
|
67
|
+
* A function that can calculate the length of a request body.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
71
|
+
/**
|
|
72
|
+
* A function that converts a stream into an array of bytes.
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
streamCollector?: __StreamCollector;
|
|
76
|
+
/**
|
|
77
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
base64Decoder?: __Decoder;
|
|
81
|
+
/**
|
|
82
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
base64Encoder?: __Encoder;
|
|
86
|
+
/**
|
|
87
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
utf8Decoder?: __Decoder;
|
|
91
|
+
/**
|
|
92
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
utf8Encoder?: __Encoder;
|
|
96
|
+
/**
|
|
97
|
+
* The runtime environment.
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
runtime?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
103
|
+
* trait of an operation.
|
|
104
|
+
*/
|
|
105
|
+
disableHostPrefix?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Unique service identifier.
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
serviceId?: string;
|
|
111
|
+
/**
|
|
112
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
113
|
+
*/
|
|
114
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* Enables FIPS compatible endpoints.
|
|
117
|
+
*/
|
|
118
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
119
|
+
/**
|
|
120
|
+
* The AWS region to which this client will send requests
|
|
121
|
+
*/
|
|
122
|
+
region?: string | __Provider<string>;
|
|
123
|
+
/**
|
|
124
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
125
|
+
* @internal
|
|
126
|
+
*/
|
|
127
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
128
|
+
/**
|
|
129
|
+
* Default credentials provider; Not available in browser runtime.
|
|
130
|
+
* @deprecated
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
134
|
+
/**
|
|
135
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
136
|
+
*/
|
|
137
|
+
maxAttempts?: number | __Provider<number>;
|
|
138
|
+
/**
|
|
139
|
+
* Specifies which retry algorithm to use.
|
|
140
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
141
|
+
*
|
|
142
|
+
*/
|
|
143
|
+
retryMode?: string | __Provider<string>;
|
|
144
|
+
/**
|
|
145
|
+
* Optional logger for logging debug/info/warn/error.
|
|
146
|
+
*/
|
|
147
|
+
logger?: __Logger;
|
|
148
|
+
/**
|
|
149
|
+
* Optional extensions
|
|
150
|
+
*/
|
|
151
|
+
extensions?: RuntimeExtension[];
|
|
152
|
+
/**
|
|
153
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
154
|
+
*/
|
|
155
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export type S3TablesClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
161
|
+
/**
|
|
162
|
+
* @public
|
|
163
|
+
*
|
|
164
|
+
* The configuration interface of S3TablesClient class constructor that set the region, credentials and other options.
|
|
165
|
+
*/
|
|
166
|
+
export interface S3TablesClientConfig extends S3TablesClientConfigType {
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* @public
|
|
170
|
+
*/
|
|
171
|
+
export type S3TablesClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
172
|
+
/**
|
|
173
|
+
* @public
|
|
174
|
+
*
|
|
175
|
+
* The resolved configuration interface of S3TablesClient class. This is resolved and normalized from the {@link S3TablesClientConfig | constructor configuration interface}.
|
|
176
|
+
*/
|
|
177
|
+
export interface S3TablesClientResolvedConfig extends S3TablesClientResolvedConfigType {
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* <p>An Amazon S3 table represents a structured dataset consisting of tabular data in <a href="https://parquet.apache.org/docs/">Apache Parquet</a> format and related metadata. This data is stored inside an S3 table as a subresource. All tables in a table bucket are stored in the <a href="https://iceberg.apache.org/docs/latest/">Apache Iceberg</a> table format. Through integration with the <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/glue/latest/dg/catalog-and-crawler.html">AWS Glue Data Catalog</a> you can interact with your tables using AWS analytics services, such as <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/athena/">Amazon Athena</a> and <a href="https://docs.aws.amazon.com/https:/docs.aws.amazon.com/redshift/">Amazon Redshift</a>. Amazon S3 manages maintenance of your tables through automatic file compaction and snapshot management. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables-buckets.html">Amazon S3 table buckets</a>.</p>
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
export declare class S3TablesClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, S3TablesClientResolvedConfig> {
|
|
184
|
+
/**
|
|
185
|
+
* The resolved configuration of S3TablesClient class. This is resolved and normalized from the {@link S3TablesClientConfig | constructor configuration interface}.
|
|
186
|
+
*/
|
|
187
|
+
readonly config: S3TablesClientResolvedConfig;
|
|
188
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<S3TablesClientConfig>);
|
|
189
|
+
/**
|
|
190
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
191
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
192
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
193
|
+
*/
|
|
194
|
+
destroy(): void;
|
|
195
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { S3TablesHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: S3TablesHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): S3TablesHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: S3TablesHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
|
+
import { S3TablesClientResolvedConfig } from "../S3TablesClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface S3TablesHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface S3TablesHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<S3TablesClientResolvedConfig, HandlerExecutionContext, S3TablesHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultS3TablesHttpAuthSchemeParametersProvider: (config: S3TablesClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<S3TablesHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface S3TablesHttpAuthSchemeProvider extends HttpAuthSchemeProvider<S3TablesHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultS3TablesHttpAuthSchemeProvider: S3TablesHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
/**
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemeProvider?: S3TablesHttpAuthSchemeProvider;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
|
+
/**
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
|
+
/**
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
readonly httpAuthSchemeProvider: S3TablesHttpAuthSchemeProvider;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|