@aws-sdk/client-s3tables 3.940.0 → 3.946.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +104 -0
- package/dist-cjs/index.js +671 -304
- package/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-es/S3Tables.js +26 -0
- package/dist-es/S3TablesClient.js +2 -2
- package/dist-es/commands/DeleteTableBucketReplicationCommand.js +16 -0
- package/dist-es/commands/DeleteTableReplicationCommand.js +16 -0
- package/dist-es/commands/GetTableBucketReplicationCommand.js +16 -0
- package/dist-es/commands/GetTableBucketStorageClassCommand.js +16 -0
- package/dist-es/commands/GetTableRecordExpirationConfigurationCommand.js +16 -0
- package/dist-es/commands/GetTableRecordExpirationJobStatusCommand.js +16 -0
- package/dist-es/commands/GetTableReplicationCommand.js +16 -0
- package/dist-es/commands/GetTableReplicationStatusCommand.js +16 -0
- package/dist-es/commands/GetTableStorageClassCommand.js +16 -0
- package/dist-es/commands/PutTableBucketReplicationCommand.js +16 -0
- package/dist-es/commands/PutTableBucketStorageClassCommand.js +16 -0
- package/dist-es/commands/PutTableRecordExpirationConfigurationCommand.js +16 -0
- package/dist-es/commands/PutTableReplicationCommand.js +16 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/enums.js +19 -0
- package/dist-es/models/errors.js +12 -0
- package/dist-es/runtimeConfig.browser.js +2 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/schemas/schemas_0.js +455 -305
- package/dist-types/S3Tables.d.ts +92 -1
- package/dist-types/S3TablesClient.d.ts +25 -12
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
- package/dist-types/commands/CreateNamespaceCommand.d.ts +3 -3
- package/dist-types/commands/CreateTableBucketCommand.d.ts +7 -4
- package/dist-types/commands/CreateTableCommand.d.ts +10 -4
- package/dist-types/commands/DeleteNamespaceCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTableBucketCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTableBucketEncryptionCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTableBucketMetricsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTableBucketPolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTableBucketReplicationCommand.d.ts +94 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTablePolicyCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTableReplicationCommand.d.ts +94 -0
- package/dist-types/commands/GetNamespaceCommand.d.ts +3 -3
- package/dist-types/commands/GetTableBucketCommand.d.ts +3 -3
- package/dist-types/commands/GetTableBucketEncryptionCommand.d.ts +3 -3
- package/dist-types/commands/GetTableBucketMaintenanceConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetTableBucketMetricsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetTableBucketPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetTableBucketReplicationCommand.d.ts +107 -0
- package/dist-types/commands/GetTableBucketStorageClassCommand.d.ts +94 -0
- package/dist-types/commands/GetTableCommand.d.ts +8 -3
- package/dist-types/commands/GetTableEncryptionCommand.d.ts +3 -3
- package/dist-types/commands/GetTableMaintenanceConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/GetTableMaintenanceJobStatusCommand.d.ts +3 -3
- package/dist-types/commands/GetTableMetadataLocationCommand.d.ts +3 -3
- package/dist-types/commands/GetTablePolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetTableRecordExpirationConfigurationCommand.d.ts +97 -0
- package/dist-types/commands/GetTableRecordExpirationJobStatusCommand.d.ts +99 -0
- package/dist-types/commands/GetTableReplicationCommand.d.ts +107 -0
- package/dist-types/commands/GetTableReplicationStatusCommand.d.ts +104 -0
- package/dist-types/commands/GetTableStorageClassCommand.d.ts +96 -0
- package/dist-types/commands/ListNamespacesCommand.d.ts +3 -3
- package/dist-types/commands/ListTableBucketsCommand.d.ts +3 -3
- package/dist-types/commands/ListTablesCommand.d.ts +4 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
- package/dist-types/commands/PutTableBucketEncryptionCommand.d.ts +3 -3
- package/dist-types/commands/PutTableBucketMaintenanceConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutTableBucketMetricsConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutTableBucketPolicyCommand.d.ts +3 -3
- package/dist-types/commands/PutTableBucketReplicationCommand.d.ts +109 -0
- package/dist-types/commands/PutTableBucketStorageClassCommand.d.ts +93 -0
- package/dist-types/commands/PutTableMaintenanceConfigurationCommand.d.ts +3 -3
- package/dist-types/commands/PutTablePolicyCommand.d.ts +3 -3
- package/dist-types/commands/PutTableRecordExpirationConfigurationCommand.d.ts +96 -0
- package/dist-types/commands/PutTableReplicationCommand.d.ts +109 -0
- package/dist-types/commands/RenameTableCommand.d.ts +3 -3
- package/dist-types/commands/TagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
- package/dist-types/commands/UpdateTableMetadataLocationCommand.d.ts +3 -3
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
- package/dist-types/endpoint/endpointResolver.d.ts +5 -2
- package/dist-types/extensionConfiguration.d.ts +4 -4
- package/dist-types/models/S3TablesServiceException.d.ts +1 -1
- package/dist-types/models/enums.d.ts +51 -0
- package/dist-types/models/errors.d.ts +13 -1
- package/dist-types/models/models_0.d.ts +530 -2
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/ListNamespacesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTableBucketsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTablesPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/runtimeExtensions.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +55 -1
- package/dist-types/ts3.4/S3Tables.d.ts +239 -0
- package/dist-types/ts3.4/S3TablesClient.d.ts +81 -3
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteTableBucketReplicationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteTableReplicationCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetTableBucketReplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableBucketStorageClassCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableRecordExpirationConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableRecordExpirationJobStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableReplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableReplicationStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTableStorageClassCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutTableBucketReplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutTableBucketStorageClassCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/PutTableRecordExpirationConfigurationCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/PutTableReplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/S3TablesServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +26 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +142 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +54 -0
- package/package.json +13 -12
|
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
8
8
|
const config_resolver_1 = require("@smithy/config-resolver");
|
|
9
9
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
10
10
|
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
11
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
11
12
|
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
13
|
+
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
12
14
|
const util_retry_1 = require("@smithy/util-retry");
|
|
13
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
15
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
16
16
|
const getRuntimeConfig = (config) => {
|
|
17
17
|
const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
|
|
18
18
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
|
|
|
11
11
|
const middleware_retry_1 = require("@smithy/middleware-retry");
|
|
12
12
|
const node_config_provider_1 = require("@smithy/node-config-provider");
|
|
13
13
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
14
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
14
15
|
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
16
|
+
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
15
17
|
const util_retry_1 = require("@smithy/util-retry");
|
|
16
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
18
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
19
|
-
const smithy_client_2 = require("@smithy/smithy-client");
|
|
20
19
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
(0,
|
|
20
|
+
(0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
22
21
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
22
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
23
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
package/dist-es/S3Tables.js
CHANGED
|
@@ -7,20 +7,29 @@ import { DeleteTableBucketCommand, } from "./commands/DeleteTableBucketCommand";
|
|
|
7
7
|
import { DeleteTableBucketEncryptionCommand, } from "./commands/DeleteTableBucketEncryptionCommand";
|
|
8
8
|
import { DeleteTableBucketMetricsConfigurationCommand, } from "./commands/DeleteTableBucketMetricsConfigurationCommand";
|
|
9
9
|
import { DeleteTableBucketPolicyCommand, } from "./commands/DeleteTableBucketPolicyCommand";
|
|
10
|
+
import { DeleteTableBucketReplicationCommand, } from "./commands/DeleteTableBucketReplicationCommand";
|
|
10
11
|
import { DeleteTableCommand } from "./commands/DeleteTableCommand";
|
|
11
12
|
import { DeleteTablePolicyCommand, } from "./commands/DeleteTablePolicyCommand";
|
|
13
|
+
import { DeleteTableReplicationCommand, } from "./commands/DeleteTableReplicationCommand";
|
|
12
14
|
import { GetNamespaceCommand, } from "./commands/GetNamespaceCommand";
|
|
13
15
|
import { GetTableBucketCommand, } from "./commands/GetTableBucketCommand";
|
|
14
16
|
import { GetTableBucketEncryptionCommand, } from "./commands/GetTableBucketEncryptionCommand";
|
|
15
17
|
import { GetTableBucketMaintenanceConfigurationCommand, } from "./commands/GetTableBucketMaintenanceConfigurationCommand";
|
|
16
18
|
import { GetTableBucketMetricsConfigurationCommand, } from "./commands/GetTableBucketMetricsConfigurationCommand";
|
|
17
19
|
import { GetTableBucketPolicyCommand, } from "./commands/GetTableBucketPolicyCommand";
|
|
20
|
+
import { GetTableBucketReplicationCommand, } from "./commands/GetTableBucketReplicationCommand";
|
|
21
|
+
import { GetTableBucketStorageClassCommand, } from "./commands/GetTableBucketStorageClassCommand";
|
|
18
22
|
import { GetTableCommand } from "./commands/GetTableCommand";
|
|
19
23
|
import { GetTableEncryptionCommand, } from "./commands/GetTableEncryptionCommand";
|
|
20
24
|
import { GetTableMaintenanceConfigurationCommand, } from "./commands/GetTableMaintenanceConfigurationCommand";
|
|
21
25
|
import { GetTableMaintenanceJobStatusCommand, } from "./commands/GetTableMaintenanceJobStatusCommand";
|
|
22
26
|
import { GetTableMetadataLocationCommand, } from "./commands/GetTableMetadataLocationCommand";
|
|
23
27
|
import { GetTablePolicyCommand, } from "./commands/GetTablePolicyCommand";
|
|
28
|
+
import { GetTableRecordExpirationConfigurationCommand, } from "./commands/GetTableRecordExpirationConfigurationCommand";
|
|
29
|
+
import { GetTableRecordExpirationJobStatusCommand, } from "./commands/GetTableRecordExpirationJobStatusCommand";
|
|
30
|
+
import { GetTableReplicationCommand, } from "./commands/GetTableReplicationCommand";
|
|
31
|
+
import { GetTableReplicationStatusCommand, } from "./commands/GetTableReplicationStatusCommand";
|
|
32
|
+
import { GetTableStorageClassCommand, } from "./commands/GetTableStorageClassCommand";
|
|
24
33
|
import { ListNamespacesCommand, } from "./commands/ListNamespacesCommand";
|
|
25
34
|
import { ListTableBucketsCommand, } from "./commands/ListTableBucketsCommand";
|
|
26
35
|
import { ListTablesCommand } from "./commands/ListTablesCommand";
|
|
@@ -29,8 +38,12 @@ import { PutTableBucketEncryptionCommand, } from "./commands/PutTableBucketEncry
|
|
|
29
38
|
import { PutTableBucketMaintenanceConfigurationCommand, } from "./commands/PutTableBucketMaintenanceConfigurationCommand";
|
|
30
39
|
import { PutTableBucketMetricsConfigurationCommand, } from "./commands/PutTableBucketMetricsConfigurationCommand";
|
|
31
40
|
import { PutTableBucketPolicyCommand, } from "./commands/PutTableBucketPolicyCommand";
|
|
41
|
+
import { PutTableBucketReplicationCommand, } from "./commands/PutTableBucketReplicationCommand";
|
|
42
|
+
import { PutTableBucketStorageClassCommand, } from "./commands/PutTableBucketStorageClassCommand";
|
|
32
43
|
import { PutTableMaintenanceConfigurationCommand, } from "./commands/PutTableMaintenanceConfigurationCommand";
|
|
33
44
|
import { PutTablePolicyCommand, } from "./commands/PutTablePolicyCommand";
|
|
45
|
+
import { PutTableRecordExpirationConfigurationCommand, } from "./commands/PutTableRecordExpirationConfigurationCommand";
|
|
46
|
+
import { PutTableReplicationCommand, } from "./commands/PutTableReplicationCommand";
|
|
34
47
|
import { RenameTableCommand } from "./commands/RenameTableCommand";
|
|
35
48
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
36
49
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -46,7 +59,9 @@ const commands = {
|
|
|
46
59
|
DeleteTableBucketEncryptionCommand,
|
|
47
60
|
DeleteTableBucketMetricsConfigurationCommand,
|
|
48
61
|
DeleteTableBucketPolicyCommand,
|
|
62
|
+
DeleteTableBucketReplicationCommand,
|
|
49
63
|
DeleteTablePolicyCommand,
|
|
64
|
+
DeleteTableReplicationCommand,
|
|
50
65
|
GetNamespaceCommand,
|
|
51
66
|
GetTableCommand,
|
|
52
67
|
GetTableBucketCommand,
|
|
@@ -54,11 +69,18 @@ const commands = {
|
|
|
54
69
|
GetTableBucketMaintenanceConfigurationCommand,
|
|
55
70
|
GetTableBucketMetricsConfigurationCommand,
|
|
56
71
|
GetTableBucketPolicyCommand,
|
|
72
|
+
GetTableBucketReplicationCommand,
|
|
73
|
+
GetTableBucketStorageClassCommand,
|
|
57
74
|
GetTableEncryptionCommand,
|
|
58
75
|
GetTableMaintenanceConfigurationCommand,
|
|
59
76
|
GetTableMaintenanceJobStatusCommand,
|
|
60
77
|
GetTableMetadataLocationCommand,
|
|
61
78
|
GetTablePolicyCommand,
|
|
79
|
+
GetTableRecordExpirationConfigurationCommand,
|
|
80
|
+
GetTableRecordExpirationJobStatusCommand,
|
|
81
|
+
GetTableReplicationCommand,
|
|
82
|
+
GetTableReplicationStatusCommand,
|
|
83
|
+
GetTableStorageClassCommand,
|
|
62
84
|
ListNamespacesCommand,
|
|
63
85
|
ListTableBucketsCommand,
|
|
64
86
|
ListTablesCommand,
|
|
@@ -67,8 +89,12 @@ const commands = {
|
|
|
67
89
|
PutTableBucketMaintenanceConfigurationCommand,
|
|
68
90
|
PutTableBucketMetricsConfigurationCommand,
|
|
69
91
|
PutTableBucketPolicyCommand,
|
|
92
|
+
PutTableBucketReplicationCommand,
|
|
93
|
+
PutTableBucketStorageClassCommand,
|
|
70
94
|
PutTableMaintenanceConfigurationCommand,
|
|
71
95
|
PutTablePolicyCommand,
|
|
96
|
+
PutTableRecordExpirationConfigurationCommand,
|
|
97
|
+
PutTableReplicationCommand,
|
|
72
98
|
RenameTableCommand,
|
|
73
99
|
TagResourceCommand,
|
|
74
100
|
UntagResourceCommand,
|
|
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
7
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
8
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
9
|
-
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
10
|
-
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
9
|
+
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
10
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
11
11
|
import { Client as __Client, } from "@smithy/smithy-client";
|
|
12
12
|
import { defaultS3TablesHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
13
13
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteTableBucketReplication } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteTableBucketReplicationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("S3TableBuckets", "DeleteTableBucketReplication", {})
|
|
13
|
+
.n("S3TablesClient", "DeleteTableBucketReplicationCommand")
|
|
14
|
+
.sc(DeleteTableBucketReplication)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { DeleteTableReplication } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteTableReplicationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("S3TableBuckets", "DeleteTableReplication", {})
|
|
13
|
+
.n("S3TablesClient", "DeleteTableReplicationCommand")
|
|
14
|
+
.sc(DeleteTableReplication)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetTableBucketReplication } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetTableBucketReplicationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("S3TableBuckets", "GetTableBucketReplication", {})
|
|
13
|
+
.n("S3TablesClient", "GetTableBucketReplicationCommand")
|
|
14
|
+
.sc(GetTableBucketReplication)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetTableBucketStorageClass } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetTableBucketStorageClassCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("S3TableBuckets", "GetTableBucketStorageClass", {})
|
|
13
|
+
.n("S3TablesClient", "GetTableBucketStorageClassCommand")
|
|
14
|
+
.sc(GetTableBucketStorageClass)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetTableRecordExpirationConfiguration } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetTableRecordExpirationConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("S3TableBuckets", "GetTableRecordExpirationConfiguration", {})
|
|
13
|
+
.n("S3TablesClient", "GetTableRecordExpirationConfigurationCommand")
|
|
14
|
+
.sc(GetTableRecordExpirationConfiguration)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetTableRecordExpirationJobStatus } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetTableRecordExpirationJobStatusCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("S3TableBuckets", "GetTableRecordExpirationJobStatus", {})
|
|
13
|
+
.n("S3TablesClient", "GetTableRecordExpirationJobStatusCommand")
|
|
14
|
+
.sc(GetTableRecordExpirationJobStatus)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetTableReplication } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetTableReplicationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("S3TableBuckets", "GetTableReplication", {})
|
|
13
|
+
.n("S3TablesClient", "GetTableReplicationCommand")
|
|
14
|
+
.sc(GetTableReplication)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetTableReplicationStatus } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetTableReplicationStatusCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("S3TableBuckets", "GetTableReplicationStatus", {})
|
|
13
|
+
.n("S3TablesClient", "GetTableReplicationStatusCommand")
|
|
14
|
+
.sc(GetTableReplicationStatus)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { GetTableStorageClass } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class GetTableStorageClassCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("S3TableBuckets", "GetTableStorageClass", {})
|
|
13
|
+
.n("S3TablesClient", "GetTableStorageClassCommand")
|
|
14
|
+
.sc(GetTableStorageClass)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { PutTableBucketReplication } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class PutTableBucketReplicationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("S3TableBuckets", "PutTableBucketReplication", {})
|
|
13
|
+
.n("S3TablesClient", "PutTableBucketReplicationCommand")
|
|
14
|
+
.sc(PutTableBucketReplication)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { PutTableBucketStorageClass } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class PutTableBucketStorageClassCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("S3TableBuckets", "PutTableBucketStorageClass", {})
|
|
13
|
+
.n("S3TablesClient", "PutTableBucketStorageClassCommand")
|
|
14
|
+
.sc(PutTableBucketStorageClass)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { PutTableRecordExpirationConfiguration } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class PutTableRecordExpirationConfigurationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("S3TableBuckets", "PutTableRecordExpirationConfiguration", {})
|
|
13
|
+
.n("S3TablesClient", "PutTableRecordExpirationConfigurationCommand")
|
|
14
|
+
.sc(PutTableRecordExpirationConfiguration)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
|
+
import { PutTableReplication } from "../schemas/schemas_0";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class PutTableReplicationCommand extends $Command
|
|
7
|
+
.classBuilder()
|
|
8
|
+
.ep(commonParams)
|
|
9
|
+
.m(function (Command, cs, config, o) {
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
+
})
|
|
12
|
+
.s("S3TableBuckets", "PutTableReplication", {})
|
|
13
|
+
.n("S3TablesClient", "PutTableReplicationCommand")
|
|
14
|
+
.sc(PutTableReplication)
|
|
15
|
+
.build() {
|
|
16
|
+
}
|
|
@@ -6,20 +6,29 @@ export * from "./DeleteTableBucketCommand";
|
|
|
6
6
|
export * from "./DeleteTableBucketEncryptionCommand";
|
|
7
7
|
export * from "./DeleteTableBucketMetricsConfigurationCommand";
|
|
8
8
|
export * from "./DeleteTableBucketPolicyCommand";
|
|
9
|
+
export * from "./DeleteTableBucketReplicationCommand";
|
|
9
10
|
export * from "./DeleteTableCommand";
|
|
10
11
|
export * from "./DeleteTablePolicyCommand";
|
|
12
|
+
export * from "./DeleteTableReplicationCommand";
|
|
11
13
|
export * from "./GetNamespaceCommand";
|
|
12
14
|
export * from "./GetTableBucketCommand";
|
|
13
15
|
export * from "./GetTableBucketEncryptionCommand";
|
|
14
16
|
export * from "./GetTableBucketMaintenanceConfigurationCommand";
|
|
15
17
|
export * from "./GetTableBucketMetricsConfigurationCommand";
|
|
16
18
|
export * from "./GetTableBucketPolicyCommand";
|
|
19
|
+
export * from "./GetTableBucketReplicationCommand";
|
|
20
|
+
export * from "./GetTableBucketStorageClassCommand";
|
|
17
21
|
export * from "./GetTableCommand";
|
|
18
22
|
export * from "./GetTableEncryptionCommand";
|
|
19
23
|
export * from "./GetTableMaintenanceConfigurationCommand";
|
|
20
24
|
export * from "./GetTableMaintenanceJobStatusCommand";
|
|
21
25
|
export * from "./GetTableMetadataLocationCommand";
|
|
22
26
|
export * from "./GetTablePolicyCommand";
|
|
27
|
+
export * from "./GetTableRecordExpirationConfigurationCommand";
|
|
28
|
+
export * from "./GetTableRecordExpirationJobStatusCommand";
|
|
29
|
+
export * from "./GetTableReplicationCommand";
|
|
30
|
+
export * from "./GetTableReplicationStatusCommand";
|
|
31
|
+
export * from "./GetTableStorageClassCommand";
|
|
23
32
|
export * from "./ListNamespacesCommand";
|
|
24
33
|
export * from "./ListTableBucketsCommand";
|
|
25
34
|
export * from "./ListTablesCommand";
|
|
@@ -28,8 +37,12 @@ export * from "./PutTableBucketEncryptionCommand";
|
|
|
28
37
|
export * from "./PutTableBucketMaintenanceConfigurationCommand";
|
|
29
38
|
export * from "./PutTableBucketMetricsConfigurationCommand";
|
|
30
39
|
export * from "./PutTableBucketPolicyCommand";
|
|
40
|
+
export * from "./PutTableBucketReplicationCommand";
|
|
41
|
+
export * from "./PutTableBucketStorageClassCommand";
|
|
31
42
|
export * from "./PutTableMaintenanceConfigurationCommand";
|
|
32
43
|
export * from "./PutTablePolicyCommand";
|
|
44
|
+
export * from "./PutTableRecordExpirationConfigurationCommand";
|
|
45
|
+
export * from "./PutTableReplicationCommand";
|
|
33
46
|
export * from "./RenameTableCommand";
|
|
34
47
|
export * from "./TagResourceCommand";
|
|
35
48
|
export * from "./UntagResourceCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -5,6 +5,10 @@ export const SSEAlgorithm = {
|
|
|
5
5
|
export const OpenTableFormat = {
|
|
6
6
|
ICEBERG: "ICEBERG",
|
|
7
7
|
};
|
|
8
|
+
export const StorageClass = {
|
|
9
|
+
INTELLIGENT_TIERING: "INTELLIGENT_TIERING",
|
|
10
|
+
STANDARD: "STANDARD",
|
|
11
|
+
};
|
|
8
12
|
export const TableType = {
|
|
9
13
|
AWS: "aws",
|
|
10
14
|
CUSTOMER: "customer",
|
|
@@ -41,3 +45,18 @@ export const JobStatus = {
|
|
|
41
45
|
NOT_YET_RUN: "Not_Yet_Run",
|
|
42
46
|
SUCCESSFUL: "Successful",
|
|
43
47
|
};
|
|
48
|
+
export const TableRecordExpirationStatus = {
|
|
49
|
+
DISABLED: "disabled",
|
|
50
|
+
ENABLED: "enabled",
|
|
51
|
+
};
|
|
52
|
+
export const TableRecordExpirationJobStatus = {
|
|
53
|
+
DISABLED: "Disabled",
|
|
54
|
+
FAILED: "Failed",
|
|
55
|
+
NOT_YET_RUN: "NotYetRun",
|
|
56
|
+
SUCCESSFUL: "Successful",
|
|
57
|
+
};
|
|
58
|
+
export const ReplicationStatus = {
|
|
59
|
+
COMPLETED: "completed",
|
|
60
|
+
FAILED: "failed",
|
|
61
|
+
PENDING: "pending",
|
|
62
|
+
};
|
package/dist-es/models/errors.js
CHANGED
|
@@ -83,3 +83,15 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
83
83
|
Object.setPrototypeOf(this, TooManyRequestsException.prototype);
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
+
export class MethodNotAllowedException extends __BaseException {
|
|
87
|
+
name = "MethodNotAllowedException";
|
|
88
|
+
$fault = "client";
|
|
89
|
+
constructor(opts) {
|
|
90
|
+
super({
|
|
91
|
+
name: "MethodNotAllowedException",
|
|
92
|
+
$fault: "client",
|
|
93
|
+
...opts,
|
|
94
|
+
});
|
|
95
|
+
Object.setPrototypeOf(this, MethodNotAllowedException.prototype);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
|
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
|
|
5
5
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
|
|
6
6
|
import { invalidProvider } from "@smithy/invalid-dependency";
|
|
7
|
+
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
7
8
|
import { calculateBodyLength } from "@smithy/util-body-length-browser";
|
|
9
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
8
10
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
9
11
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
10
|
-
import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
11
|
-
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
|
|
12
12
|
export const getRuntimeConfig = (config) => {
|
|
13
13
|
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
14
14
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
|
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
|
|
8
8
|
import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
|
|
9
9
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
|
|
10
|
+
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
|
|
10
11
|
import { calculateBodyLength } from "@smithy/util-body-length-node";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
|
|
11
13
|
import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
|
|
12
14
|
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
15
|
export const getRuntimeConfig = (config) => {
|
|
17
16
|
emitWarningIfUnsupportedVersion(process.version);
|
|
18
17
|
const defaultsMode = resolveDefaultsModeConfig(config);
|