@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,106 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
|
|
4
|
+
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListTablesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTablesCommandInput extends ListTablesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTablesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTablesCommand_base: {
|
|
25
|
+
new (input: ListTablesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTablesCommandInput, ListTablesCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListTablesCommandInput): import("@smithy/smithy-client").CommandImpl<ListTablesCommandInput, ListTablesCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>List tables in the given table bucket.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3TablesClient, ListTablesCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, ListTablesCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* const client = new S3TablesClient(config);
|
|
37
|
+
* const input = { // ListTablesRequest
|
|
38
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
39
|
+
* namespace: "STRING_VALUE",
|
|
40
|
+
* prefix: "STRING_VALUE",
|
|
41
|
+
* continuationToken: "STRING_VALUE",
|
|
42
|
+
* maxTables: Number("int"),
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListTablesCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListTablesResponse
|
|
47
|
+
* // tables: [ // TableSummaryList // required
|
|
48
|
+
* // { // TableSummary
|
|
49
|
+
* // namespace: [ // NamespaceList // required
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // name: "STRING_VALUE", // required
|
|
53
|
+
* // type: "customer" || "aws", // required
|
|
54
|
+
* // tableARN: "STRING_VALUE", // required
|
|
55
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // modifiedAt: new Date("TIMESTAMP"), // required
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // continuationToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListTablesCommandInput - {@link ListTablesCommandInput}
|
|
65
|
+
* @returns {@link ListTablesCommandOutput}
|
|
66
|
+
* @see {@link ListTablesCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListTablesCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link BadRequestException} (client fault)
|
|
71
|
+
* <p>The request is invalid or malformed.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ConflictException} (client fault)
|
|
74
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the
|
|
75
|
+
* request.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
78
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
81
|
+
* <p>The request failed due to an internal server error.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link NotFoundException} (client fault)
|
|
84
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
87
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link S3TablesServiceException}
|
|
90
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
91
|
+
*
|
|
92
|
+
* @public
|
|
93
|
+
*/
|
|
94
|
+
export declare class ListTablesCommand extends ListTablesCommand_base {
|
|
95
|
+
/** @internal type navigation helper, not in runtime. */
|
|
96
|
+
protected static __types: {
|
|
97
|
+
api: {
|
|
98
|
+
input: ListTablesRequest;
|
|
99
|
+
output: ListTablesResponse;
|
|
100
|
+
};
|
|
101
|
+
sdk: {
|
|
102
|
+
input: ListTablesCommandInput;
|
|
103
|
+
output: ListTablesCommandOutput;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { PutTableBucketMaintenanceConfigurationRequest } from "../models/models_0";
|
|
4
|
+
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutTableBucketMaintenanceConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutTableBucketMaintenanceConfigurationCommandInput extends PutTableBucketMaintenanceConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutTableBucketMaintenanceConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutTableBucketMaintenanceConfigurationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutTableBucketMaintenanceConfigurationCommand_base: {
|
|
25
|
+
new (input: PutTableBucketMaintenanceConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableBucketMaintenanceConfigurationCommandInput, PutTableBucketMaintenanceConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutTableBucketMaintenanceConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableBucketMaintenanceConfigurationCommandInput, PutTableBucketMaintenanceConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new maintenance configuration or replaces an existing maintenance configuration
|
|
31
|
+
* for a table bucket.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { S3TablesClient, PutTableBucketMaintenanceConfigurationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
36
|
+
* // const { S3TablesClient, PutTableBucketMaintenanceConfigurationCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
37
|
+
* const client = new S3TablesClient(config);
|
|
38
|
+
* const input = { // PutTableBucketMaintenanceConfigurationRequest
|
|
39
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
40
|
+
* type: "icebergUnreferencedFileRemoval", // required
|
|
41
|
+
* value: { // TableBucketMaintenanceConfigurationValue
|
|
42
|
+
* status: "enabled" || "disabled",
|
|
43
|
+
* settings: { // TableBucketMaintenanceSettings Union: only one key present
|
|
44
|
+
* icebergUnreferencedFileRemoval: { // IcebergUnreferencedFileRemovalSettings
|
|
45
|
+
* unreferencedDays: Number("int"),
|
|
46
|
+
* nonCurrentDays: Number("int"),
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
51
|
+
* const command = new PutTableBucketMaintenanceConfigurationCommand(input);
|
|
52
|
+
* const response = await client.send(command);
|
|
53
|
+
* // {};
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param PutTableBucketMaintenanceConfigurationCommandInput - {@link PutTableBucketMaintenanceConfigurationCommandInput}
|
|
58
|
+
* @returns {@link PutTableBucketMaintenanceConfigurationCommandOutput}
|
|
59
|
+
* @see {@link PutTableBucketMaintenanceConfigurationCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link PutTableBucketMaintenanceConfigurationCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link BadRequestException} (client fault)
|
|
64
|
+
* <p>The request is invalid or malformed.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ConflictException} (client fault)
|
|
67
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the
|
|
68
|
+
* request.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
71
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
74
|
+
* <p>The request failed due to an internal server error.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link NotFoundException} (client fault)
|
|
77
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
80
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link S3TablesServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare class PutTableBucketMaintenanceConfigurationCommand extends PutTableBucketMaintenanceConfigurationCommand_base {
|
|
88
|
+
/** @internal type navigation helper, not in runtime. */
|
|
89
|
+
protected static __types: {
|
|
90
|
+
api: {
|
|
91
|
+
input: PutTableBucketMaintenanceConfigurationRequest;
|
|
92
|
+
output: {};
|
|
93
|
+
};
|
|
94
|
+
sdk: {
|
|
95
|
+
input: PutTableBucketMaintenanceConfigurationCommandInput;
|
|
96
|
+
output: PutTableBucketMaintenanceConfigurationCommandOutput;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { PutTableBucketPolicyRequest } from "../models/models_0";
|
|
4
|
+
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutTableBucketPolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutTableBucketPolicyCommandInput extends PutTableBucketPolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutTableBucketPolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutTableBucketPolicyCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutTableBucketPolicyCommand_base: {
|
|
25
|
+
new (input: PutTableBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableBucketPolicyCommandInput, PutTableBucketPolicyCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutTableBucketPolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableBucketPolicyCommandInput, PutTableBucketPolicyCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new maintenance configuration or replaces an existing table bucket policy for a
|
|
31
|
+
* table bucket. </p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { S3TablesClient, PutTableBucketPolicyCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
36
|
+
* // const { S3TablesClient, PutTableBucketPolicyCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
37
|
+
* const client = new S3TablesClient(config);
|
|
38
|
+
* const input = { // PutTableBucketPolicyRequest
|
|
39
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
40
|
+
* resourcePolicy: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new PutTableBucketPolicyCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param PutTableBucketPolicyCommandInput - {@link PutTableBucketPolicyCommandInput}
|
|
49
|
+
* @returns {@link PutTableBucketPolicyCommandOutput}
|
|
50
|
+
* @see {@link PutTableBucketPolicyCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link PutTableBucketPolicyCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link BadRequestException} (client fault)
|
|
55
|
+
* <p>The request is invalid or malformed.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ConflictException} (client fault)
|
|
58
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the
|
|
59
|
+
* request.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
62
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
65
|
+
* <p>The request failed due to an internal server error.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link NotFoundException} (client fault)
|
|
68
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
71
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link S3TablesServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class PutTableBucketPolicyCommand extends PutTableBucketPolicyCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: PutTableBucketPolicyRequest;
|
|
83
|
+
output: {};
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: PutTableBucketPolicyCommandInput;
|
|
87
|
+
output: PutTableBucketPolicyCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { PutTableMaintenanceConfigurationRequest } from "../models/models_0";
|
|
4
|
+
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutTableMaintenanceConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutTableMaintenanceConfigurationCommandInput extends PutTableMaintenanceConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutTableMaintenanceConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutTableMaintenanceConfigurationCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutTableMaintenanceConfigurationCommand_base: {
|
|
25
|
+
new (input: PutTableMaintenanceConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableMaintenanceConfigurationCommandInput, PutTableMaintenanceConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutTableMaintenanceConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutTableMaintenanceConfigurationCommandInput, PutTableMaintenanceConfigurationCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new maintenance configuration or replaces an existing maintenance configuration
|
|
31
|
+
* for a table.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { S3TablesClient, PutTableMaintenanceConfigurationCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
36
|
+
* // const { S3TablesClient, PutTableMaintenanceConfigurationCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
37
|
+
* const client = new S3TablesClient(config);
|
|
38
|
+
* const input = { // PutTableMaintenanceConfigurationRequest
|
|
39
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
40
|
+
* namespace: "STRING_VALUE", // required
|
|
41
|
+
* name: "STRING_VALUE", // required
|
|
42
|
+
* type: "icebergCompaction" || "icebergSnapshotManagement", // required
|
|
43
|
+
* value: { // TableMaintenanceConfigurationValue
|
|
44
|
+
* status: "enabled" || "disabled",
|
|
45
|
+
* settings: { // TableMaintenanceSettings Union: only one key present
|
|
46
|
+
* icebergCompaction: { // IcebergCompactionSettings
|
|
47
|
+
* targetFileSizeMB: Number("int"),
|
|
48
|
+
* },
|
|
49
|
+
* icebergSnapshotManagement: { // IcebergSnapshotManagementSettings
|
|
50
|
+
* minSnapshotsToKeep: Number("int"),
|
|
51
|
+
* maxSnapshotAgeHours: Number("int"),
|
|
52
|
+
* },
|
|
53
|
+
* },
|
|
54
|
+
* },
|
|
55
|
+
* };
|
|
56
|
+
* const command = new PutTableMaintenanceConfigurationCommand(input);
|
|
57
|
+
* const response = await client.send(command);
|
|
58
|
+
* // {};
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param PutTableMaintenanceConfigurationCommandInput - {@link PutTableMaintenanceConfigurationCommandInput}
|
|
63
|
+
* @returns {@link PutTableMaintenanceConfigurationCommandOutput}
|
|
64
|
+
* @see {@link PutTableMaintenanceConfigurationCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link PutTableMaintenanceConfigurationCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link BadRequestException} (client fault)
|
|
69
|
+
* <p>The request is invalid or malformed.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ConflictException} (client fault)
|
|
72
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the
|
|
73
|
+
* request.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
76
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
79
|
+
* <p>The request failed due to an internal server error.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link NotFoundException} (client fault)
|
|
82
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
85
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link S3TablesServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class PutTableMaintenanceConfigurationCommand extends PutTableMaintenanceConfigurationCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: PutTableMaintenanceConfigurationRequest;
|
|
97
|
+
output: {};
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: PutTableMaintenanceConfigurationCommandInput;
|
|
101
|
+
output: PutTableMaintenanceConfigurationCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { PutTablePolicyRequest } from "../models/models_0";
|
|
4
|
+
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutTablePolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutTablePolicyCommandInput extends PutTablePolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutTablePolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutTablePolicyCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutTablePolicyCommand_base: {
|
|
25
|
+
new (input: PutTablePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutTablePolicyCommandInput, PutTablePolicyCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutTablePolicyCommandInput): import("@smithy/smithy-client").CommandImpl<PutTablePolicyCommandInput, PutTablePolicyCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new maintenance configuration or replaces an existing table policy for a table.
|
|
31
|
+
* </p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { S3TablesClient, PutTablePolicyCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
36
|
+
* // const { S3TablesClient, PutTablePolicyCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
37
|
+
* const client = new S3TablesClient(config);
|
|
38
|
+
* const input = { // PutTablePolicyRequest
|
|
39
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
40
|
+
* namespace: "STRING_VALUE", // required
|
|
41
|
+
* name: "STRING_VALUE", // required
|
|
42
|
+
* resourcePolicy: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new PutTablePolicyCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param PutTablePolicyCommandInput - {@link PutTablePolicyCommandInput}
|
|
51
|
+
* @returns {@link PutTablePolicyCommandOutput}
|
|
52
|
+
* @see {@link PutTablePolicyCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link PutTablePolicyCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link BadRequestException} (client fault)
|
|
57
|
+
* <p>The request is invalid or malformed.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ConflictException} (client fault)
|
|
60
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the
|
|
61
|
+
* request.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
64
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
67
|
+
* <p>The request failed due to an internal server error.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link NotFoundException} (client fault)
|
|
70
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
73
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link S3TablesServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @public
|
|
79
|
+
*/
|
|
80
|
+
export declare class PutTablePolicyCommand extends PutTablePolicyCommand_base {
|
|
81
|
+
/** @internal type navigation helper, not in runtime. */
|
|
82
|
+
protected static __types: {
|
|
83
|
+
api: {
|
|
84
|
+
input: PutTablePolicyRequest;
|
|
85
|
+
output: {};
|
|
86
|
+
};
|
|
87
|
+
sdk: {
|
|
88
|
+
input: PutTablePolicyCommandInput;
|
|
89
|
+
output: PutTablePolicyCommandOutput;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { RenameTableRequest } from "../models/models_0";
|
|
4
|
+
import { S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3TablesClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RenameTableCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RenameTableCommandInput extends RenameTableRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RenameTableCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RenameTableCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RenameTableCommand_base: {
|
|
25
|
+
new (input: RenameTableCommandInput): import("@smithy/smithy-client").CommandImpl<RenameTableCommandInput, RenameTableCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: RenameTableCommandInput): import("@smithy/smithy-client").CommandImpl<RenameTableCommandInput, RenameTableCommandOutput, S3TablesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Renames a table or a namespace.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { S3TablesClient, RenameTableCommand } from "@aws-sdk/client-s3tables"; // ES Modules import
|
|
35
|
+
* // const { S3TablesClient, RenameTableCommand } = require("@aws-sdk/client-s3tables"); // CommonJS import
|
|
36
|
+
* const client = new S3TablesClient(config);
|
|
37
|
+
* const input = { // RenameTableRequest
|
|
38
|
+
* tableBucketARN: "STRING_VALUE", // required
|
|
39
|
+
* namespace: "STRING_VALUE", // required
|
|
40
|
+
* name: "STRING_VALUE", // required
|
|
41
|
+
* newNamespaceName: "STRING_VALUE",
|
|
42
|
+
* newName: "STRING_VALUE",
|
|
43
|
+
* versionToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new RenameTableCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param RenameTableCommandInput - {@link RenameTableCommandInput}
|
|
52
|
+
* @returns {@link RenameTableCommandOutput}
|
|
53
|
+
* @see {@link RenameTableCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link RenameTableCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link S3TablesClientResolvedConfig | config} for S3TablesClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link BadRequestException} (client fault)
|
|
58
|
+
* <p>The request is invalid or malformed.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>The request failed because there is a conflict with a previous write. You can retry the
|
|
62
|
+
* request.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ForbiddenException} (client fault)
|
|
65
|
+
* <p>The caller isn't authorized to make the request.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link InternalServerErrorException} (server fault)
|
|
68
|
+
* <p>The request failed due to an internal server error.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link NotFoundException} (client fault)
|
|
71
|
+
* <p>The request was rejected because the specified resource could not be found.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
74
|
+
* <p>The limit on the number of requests per second was exceeded.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link S3TablesServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from S3Tables service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class RenameTableCommand extends RenameTableCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: RenameTableRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: RenameTableCommandInput;
|
|
90
|
+
output: RenameTableCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|